@berachain/graphql 0.1.0-alpha.14 → 0.1.0-alpha.16
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/README.md +1 -0
- package/dist/bend/whisk.codegen.d.mts +15 -15
- package/dist/bend/whisk.codegen.d.ts +15 -15
- package/dist/chain/chain.codegen.d.mts +2 -2
- package/dist/chain/chain.codegen.d.ts +2 -2
- package/dist/dex/api.codegen.d.mts +27 -18
- package/dist/dex/api.codegen.d.ts +27 -18
- package/dist/dex/api.codegen.js +2 -2
- package/dist/dex/api.codegen.mjs +2 -2
- package/dist/dex/subgraph.codegen.d.mts +9 -9
- package/dist/dex/subgraph.codegen.d.ts +9 -9
- package/dist/governance/governance.codegen.d.mts +9 -9
- package/dist/governance/governance.codegen.d.ts +9 -9
- package/dist/honey/honey.codegen.d.mts +10 -10
- package/dist/honey/honey.codegen.d.ts +10 -10
- package/dist/pol/api.codegen.d.mts +31 -22
- package/dist/pol/api.codegen.d.ts +31 -22
- package/dist/pol/api.codegen.js +2 -2
- package/dist/pol/api.codegen.mjs +2 -2
- package/dist/pol/subgraph.codegen.d.mts +20 -20
- package/dist/pol/subgraph.codegen.d.ts +20 -20
- package/package.json +6 -2
package/README.md
CHANGED
|
@@ -11,6 +11,7 @@ Don't use this package unless you're from the Berachain team. API is unstable an
|
|
|
11
11
|
The package is published as `@berachain/graphql`, however you'll find the package name locally as `@berachain/graphql-local`. This is because `pnpm` always prefers local packages if they match the version required by consumers, however we don't want this package to build on every dapp build. In order to publish the package with the public name, `prepublishOnly` and `postpublish` scripts take care of publishing the package without the `-local` suffix.
|
|
12
12
|
|
|
13
13
|
If you want to test locally (and without publishing) how changes to this package affect dapps, you can:
|
|
14
|
+
|
|
14
15
|
- rename the package without the `-local` suffix
|
|
15
16
|
- run `pnpm i` and build the package
|
|
16
17
|
- test your changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as graphql from 'graphql';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -1750,14 +1750,14 @@ type GetAccountIsOfacSanctionedQuery = {
|
|
|
1750
1750
|
isOfacSanctioned: boolean;
|
|
1751
1751
|
} | null;
|
|
1752
1752
|
};
|
|
1753
|
-
declare const ChainInfoFragment:
|
|
1754
|
-
declare const TokenInfoFragment:
|
|
1755
|
-
declare const CuratorInfoFragment:
|
|
1756
|
-
declare const ApyFragment:
|
|
1757
|
-
declare const VaultSummaryFragment:
|
|
1758
|
-
declare const MarketSummaryFragment:
|
|
1759
|
-
declare const VaultSummaries:
|
|
1760
|
-
declare const MarketSummaries:
|
|
1753
|
+
declare const ChainInfoFragment: graphql.DocumentNode;
|
|
1754
|
+
declare const TokenInfoFragment: graphql.DocumentNode;
|
|
1755
|
+
declare const CuratorInfoFragment: graphql.DocumentNode;
|
|
1756
|
+
declare const ApyFragment: graphql.DocumentNode;
|
|
1757
|
+
declare const VaultSummaryFragment: graphql.DocumentNode;
|
|
1758
|
+
declare const MarketSummaryFragment: graphql.DocumentNode;
|
|
1759
|
+
declare const VaultSummaries: graphql.DocumentNode;
|
|
1760
|
+
declare const MarketSummaries: graphql.DocumentNode;
|
|
1761
1761
|
/** Vault */
|
|
1762
1762
|
type Vault = {
|
|
1763
1763
|
__typename?: 'Vault';
|
|
@@ -1782,12 +1782,12 @@ type Vault = {
|
|
|
1782
1782
|
/** Address of the vault */
|
|
1783
1783
|
vaultAddress: Scalars['Address']['output'];
|
|
1784
1784
|
};
|
|
1785
|
-
declare const Vault:
|
|
1786
|
-
declare const Market:
|
|
1787
|
-
declare const VaultPositions:
|
|
1788
|
-
declare const MarketPositions:
|
|
1789
|
-
declare const SupportedMarketIds:
|
|
1790
|
-
declare const GetAccountIsOfacSanctioned:
|
|
1785
|
+
declare const Vault: graphql.DocumentNode;
|
|
1786
|
+
declare const Market: graphql.DocumentNode;
|
|
1787
|
+
declare const VaultPositions: graphql.DocumentNode;
|
|
1788
|
+
declare const MarketPositions: graphql.DocumentNode;
|
|
1789
|
+
declare const SupportedMarketIds: graphql.DocumentNode;
|
|
1790
|
+
declare const GetAccountIsOfacSanctioned: graphql.DocumentNode;
|
|
1791
1791
|
interface PossibleTypesResultData {
|
|
1792
1792
|
possibleTypes: {
|
|
1793
1793
|
[key: string]: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as graphql from 'graphql';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -1750,14 +1750,14 @@ type GetAccountIsOfacSanctionedQuery = {
|
|
|
1750
1750
|
isOfacSanctioned: boolean;
|
|
1751
1751
|
} | null;
|
|
1752
1752
|
};
|
|
1753
|
-
declare const ChainInfoFragment:
|
|
1754
|
-
declare const TokenInfoFragment:
|
|
1755
|
-
declare const CuratorInfoFragment:
|
|
1756
|
-
declare const ApyFragment:
|
|
1757
|
-
declare const VaultSummaryFragment:
|
|
1758
|
-
declare const MarketSummaryFragment:
|
|
1759
|
-
declare const VaultSummaries:
|
|
1760
|
-
declare const MarketSummaries:
|
|
1753
|
+
declare const ChainInfoFragment: graphql.DocumentNode;
|
|
1754
|
+
declare const TokenInfoFragment: graphql.DocumentNode;
|
|
1755
|
+
declare const CuratorInfoFragment: graphql.DocumentNode;
|
|
1756
|
+
declare const ApyFragment: graphql.DocumentNode;
|
|
1757
|
+
declare const VaultSummaryFragment: graphql.DocumentNode;
|
|
1758
|
+
declare const MarketSummaryFragment: graphql.DocumentNode;
|
|
1759
|
+
declare const VaultSummaries: graphql.DocumentNode;
|
|
1760
|
+
declare const MarketSummaries: graphql.DocumentNode;
|
|
1761
1761
|
/** Vault */
|
|
1762
1762
|
type Vault = {
|
|
1763
1763
|
__typename?: 'Vault';
|
|
@@ -1782,12 +1782,12 @@ type Vault = {
|
|
|
1782
1782
|
/** Address of the vault */
|
|
1783
1783
|
vaultAddress: Scalars['Address']['output'];
|
|
1784
1784
|
};
|
|
1785
|
-
declare const Vault:
|
|
1786
|
-
declare const Market:
|
|
1787
|
-
declare const VaultPositions:
|
|
1788
|
-
declare const MarketPositions:
|
|
1789
|
-
declare const SupportedMarketIds:
|
|
1790
|
-
declare const GetAccountIsOfacSanctioned:
|
|
1785
|
+
declare const Vault: graphql.DocumentNode;
|
|
1786
|
+
declare const Market: graphql.DocumentNode;
|
|
1787
|
+
declare const VaultPositions: graphql.DocumentNode;
|
|
1788
|
+
declare const MarketPositions: graphql.DocumentNode;
|
|
1789
|
+
declare const SupportedMarketIds: graphql.DocumentNode;
|
|
1790
|
+
declare const GetAccountIsOfacSanctioned: graphql.DocumentNode;
|
|
1791
1791
|
interface PossibleTypesResultData {
|
|
1792
1792
|
possibleTypes: {
|
|
1793
1793
|
[key: string]: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as graphql from 'graphql';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -365,7 +365,7 @@ type GetBlocksTimeStampQuery = {
|
|
|
365
365
|
number: any;
|
|
366
366
|
}>;
|
|
367
367
|
};
|
|
368
|
-
declare const GetBlocksTimeStamp:
|
|
368
|
+
declare const GetBlocksTimeStamp: graphql.DocumentNode;
|
|
369
369
|
interface PossibleTypesResultData {
|
|
370
370
|
possibleTypes: {
|
|
371
371
|
[key: string]: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as graphql from 'graphql';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -365,7 +365,7 @@ type GetBlocksTimeStampQuery = {
|
|
|
365
365
|
number: any;
|
|
366
366
|
}>;
|
|
367
367
|
};
|
|
368
|
-
declare const GetBlocksTimeStamp:
|
|
368
|
+
declare const GetBlocksTimeStamp: graphql.DocumentNode;
|
|
369
369
|
interface PossibleTypesResultData {
|
|
370
370
|
possibleTypes: {
|
|
371
371
|
[key: string]: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as graphql from 'graphql';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -1655,6 +1655,11 @@ declare enum GqlSorSwapType {
|
|
|
1655
1655
|
ExactIn = "EXACT_IN",
|
|
1656
1656
|
ExactOut = "EXACT_OUT"
|
|
1657
1657
|
}
|
|
1658
|
+
type GqlStakeBeraVaultEarnings = {
|
|
1659
|
+
__typename?: 'GqlStakeBeraVaultEarnings';
|
|
1660
|
+
earnings: Scalars['String']['output'];
|
|
1661
|
+
owner: Scalars['String']['output'];
|
|
1662
|
+
};
|
|
1658
1663
|
type GqlStakeBeraVaultEvent = {
|
|
1659
1664
|
__typename?: 'GqlStakeBeraVaultEvent';
|
|
1660
1665
|
_from: Scalars['String']['output'];
|
|
@@ -2192,6 +2197,7 @@ type Query = {
|
|
|
2192
2197
|
polGetRewardVaults: PaginatedRewardVaultsResponse;
|
|
2193
2198
|
polGetSWberaVaultMetadata: GqlSWberaVaultMetadata;
|
|
2194
2199
|
polGetSWberaVaultSnapshots: Array<GqlSWberaVaultSnapshot>;
|
|
2200
|
+
polGetStakeBeraVaultEarningsByOwner: GqlStakeBeraVaultEarnings;
|
|
2195
2201
|
polGetStakeBeraVaultEventsByOwner: Array<GqlStakeBeraVaultEvent>;
|
|
2196
2202
|
polGetTopVaultDeposits: Array<GqlUserVaultDepositMinimal>;
|
|
2197
2203
|
polGetUserVaultDeposits: PaginatedUserVaultDepositsResponse;
|
|
@@ -2340,6 +2346,9 @@ type QueryPolGetSWberaVaultSnapshotsArgs = {
|
|
|
2340
2346
|
chain: GqlChain;
|
|
2341
2347
|
range?: InputMaybe<GqlVaultSnapshotDataRange>;
|
|
2342
2348
|
};
|
|
2349
|
+
type QueryPolGetStakeBeraVaultEarningsByOwnerArgs = {
|
|
2350
|
+
owner: Scalars['String']['input'];
|
|
2351
|
+
};
|
|
2343
2352
|
type QueryPolGetStakeBeraVaultEventsByOwnerArgs = {
|
|
2344
2353
|
owner: Scalars['String']['input'];
|
|
2345
2354
|
};
|
|
@@ -3710,12 +3719,12 @@ type GetGlobalLiquidityAndSwapVolumeQuery = {
|
|
|
3710
3719
|
totalLiquidity: any;
|
|
3711
3720
|
};
|
|
3712
3721
|
};
|
|
3713
|
-
declare const DynamicData:
|
|
3714
|
-
declare const UserBalance:
|
|
3715
|
-
declare const RewardVault:
|
|
3716
|
-
declare const MinimalPoolInList:
|
|
3717
|
-
declare const MinimalPool:
|
|
3718
|
-
declare const PoolHistoricalData:
|
|
3722
|
+
declare const DynamicData: graphql.DocumentNode;
|
|
3723
|
+
declare const UserBalance: graphql.DocumentNode;
|
|
3724
|
+
declare const RewardVault: graphql.DocumentNode;
|
|
3725
|
+
declare const MinimalPoolInList: graphql.DocumentNode;
|
|
3726
|
+
declare const MinimalPool: graphql.DocumentNode;
|
|
3727
|
+
declare const PoolHistoricalData: graphql.DocumentNode;
|
|
3719
3728
|
/** Represents an event that occurs when a swap is made in a pool using the CowAmm protocol. */
|
|
3720
3729
|
type GqlPoolSwapEventCowAmm = GqlPoolEvent & {
|
|
3721
3730
|
__typename?: 'GqlPoolSwapEventCowAmm';
|
|
@@ -3752,7 +3761,7 @@ type GqlPoolSwapEventCowAmm = GqlPoolEvent & {
|
|
|
3752
3761
|
/** The value of the event in USD. */
|
|
3753
3762
|
valueUSD: Scalars['Float']['output'];
|
|
3754
3763
|
};
|
|
3755
|
-
declare const GqlPoolSwapEventCowAmm:
|
|
3764
|
+
declare const GqlPoolSwapEventCowAmm: graphql.DocumentNode;
|
|
3756
3765
|
/** Represents an event that occurs when a swap is made in a pool. */
|
|
3757
3766
|
type GqlPoolSwapEventV3 = GqlPoolEvent & {
|
|
3758
3767
|
__typename?: 'GqlPoolSwapEventV3';
|
|
@@ -3787,7 +3796,7 @@ type GqlPoolSwapEventV3 = GqlPoolEvent & {
|
|
|
3787
3796
|
/** The value of the event in USD. */
|
|
3788
3797
|
valueUSD: Scalars['Float']['output'];
|
|
3789
3798
|
};
|
|
3790
|
-
declare const GqlPoolSwapEventV3:
|
|
3799
|
+
declare const GqlPoolSwapEventV3: graphql.DocumentNode;
|
|
3791
3800
|
/** Represents an event that occurs when liquidity is added or removed from a pool. */
|
|
3792
3801
|
type GqlPoolAddRemoveEventV3 = GqlPoolEvent & {
|
|
3793
3802
|
__typename?: 'GqlPoolAddRemoveEventV3';
|
|
@@ -3818,14 +3827,14 @@ type GqlPoolAddRemoveEventV3 = GqlPoolEvent & {
|
|
|
3818
3827
|
/** The value of the event in USD. */
|
|
3819
3828
|
valueUSD: Scalars['Float']['output'];
|
|
3820
3829
|
};
|
|
3821
|
-
declare const GqlPoolAddRemoveEventV3:
|
|
3822
|
-
declare const PoolEvent:
|
|
3823
|
-
declare const GetPools:
|
|
3824
|
-
declare const GetPool:
|
|
3825
|
-
declare const GetPoolHistoricalData:
|
|
3826
|
-
declare const GetPoolEvents:
|
|
3827
|
-
declare const GetTokenCurrentPrices:
|
|
3828
|
-
declare const GetGlobalLiquidityAndSwapVolume:
|
|
3830
|
+
declare const GqlPoolAddRemoveEventV3: graphql.DocumentNode;
|
|
3831
|
+
declare const PoolEvent: graphql.DocumentNode;
|
|
3832
|
+
declare const GetPools: graphql.DocumentNode;
|
|
3833
|
+
declare const GetPool: graphql.DocumentNode;
|
|
3834
|
+
declare const GetPoolHistoricalData: graphql.DocumentNode;
|
|
3835
|
+
declare const GetPoolEvents: graphql.DocumentNode;
|
|
3836
|
+
declare const GetTokenCurrentPrices: graphql.DocumentNode;
|
|
3837
|
+
declare const GetGlobalLiquidityAndSwapVolume: graphql.DocumentNode;
|
|
3829
3838
|
interface PossibleTypesResultData {
|
|
3830
3839
|
possibleTypes: {
|
|
3831
3840
|
[key: string]: string[];
|
|
@@ -3833,4 +3842,4 @@ interface PossibleTypesResultData {
|
|
|
3833
3842
|
}
|
|
3834
3843
|
declare const result: PossibleTypesResultData;
|
|
3835
3844
|
|
|
3836
|
-
export { DynamicData, type DynamicDataFragment, type Exact, GetGlobalLiquidityAndSwapVolume, type GetGlobalLiquidityAndSwapVolumeQuery, type GetGlobalLiquidityAndSwapVolumeQueryVariables, GetPool, GetPoolEvents, type GetPoolEventsQuery, type GetPoolEventsQueryVariables, GetPoolHistoricalData, type GetPoolHistoricalDataQuery, type GetPoolHistoricalDataQueryVariables, type GetPoolQuery, type GetPoolQueryVariables, GetPools, type GetPoolsQuery, type GetPoolsQueryVariables, GetTokenCurrentPrices, type GetTokenCurrentPricesQuery, type GetTokenCurrentPricesQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlContentNewsItem, GqlContentNewsItemSource, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlFeaturePoolGroupItemExternalLink, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, GqlPoolAddRemoveEventV3, type GqlPoolAddRemoveEventV3Fragment, type GqlPoolAggregator, type GqlPoolApr, type GqlPoolAprItem, GqlPoolAprItemType, type GqlPoolAprRange, type GqlPoolAprTotal, type GqlPoolAprValue, type GqlPoolBase, type GqlPoolBatchSwap, type GqlPoolBatchSwapPool, type GqlPoolBatchSwapSwap, type GqlPoolComposableStable, type GqlPoolComposableStableNested, type GqlPoolDynamicData, type GqlPoolElement, type GqlPoolEvent, type GqlPoolEventAmount, GqlPoolEventType, GqlPoolEventsDataRange, type GqlPoolEventsFilter, type GqlPoolFeaturedPool, type GqlPoolFeaturedPoolGroup, type GqlPoolFeaturedPoolGroupItem, type GqlPoolFilter, GqlPoolFilterCategory, type GqlPoolFx, type GqlPoolGyro, type GqlPoolInvestConfig, type GqlPoolInvestOption, type GqlPoolJoinExit, type GqlPoolJoinExitAmount, type GqlPoolJoinExitFilter, GqlPoolJoinExitType, type GqlPoolLiquidityBootstrapping, type GqlPoolMetaStable, type GqlPoolMinimal, type GqlPoolMutationResult, type GqlPoolNestedUnion, GqlPoolNestingType, GqlPoolOrderBy, GqlPoolOrderDirection, type GqlPoolSnapshot, GqlPoolSnapshotDataRange, type GqlPoolStable, type GqlPoolStableComposablePoolData, type GqlPoolSwap, GqlPoolSwapEventCowAmm, type GqlPoolSwapEventCowAmmFragment, GqlPoolSwapEventV3, type GqlPoolSwapEventV3Fragment, type GqlPoolSwapFilter, type GqlPoolTimePeriod, type GqlPoolToken, type GqlPoolTokenBase, type GqlPoolTokenComposableStable, type GqlPoolTokenComposableStableNestedUnion, type GqlPoolTokenDetail, type GqlPoolTokenDisplay, type GqlPoolTokenExpanded, type GqlPoolTokenUnion, GqlPoolType, type GqlPoolUnion, type GqlPoolUserBalance, type GqlPoolUserSwapVolume, type GqlPoolWeighted, type GqlPoolWithdrawConfig, type GqlPoolWithdrawOption, type GqlPriceImpact, type GqlPriceRateProviderData, type GqlPriceRateProviderUpgradeableComponent, type GqlProtocolMetricsAggregated, type GqlProtocolMetricsChain, type GqlRelicSnapshot, type GqlRewardVault, type GqlRewardVaultDynamicData, type GqlRewardVaultFilter, type GqlRewardVaultIncentive, GqlRewardVaultIncentiveOrderBy, GqlRewardVaultIncentiveOrderDirection, type GqlRewardVaultMetadata, GqlRewardVaultOrderBy, GqlRewardVaultOrderDirection, type GqlRewardVaultSnapshot, GqlRewardVaultSnapshotDataRange, GqlRewardVaultSnapshotResolution, type GqlRewardVaultWhitelistedToken, type GqlSWberaVaultMetadata, GqlSWberaVaultMetadataResolution, type GqlSWberaVaultSnapshot, type GqlSorCallData, type GqlSorGetSwapPaths, type GqlSorGetSwapsResponse, type GqlSorPath, type GqlSorSwap, type GqlSorSwapOptionsInput, type GqlSorSwapRoute, type GqlSorSwapRouteHop, GqlSorSwapType, type GqlStakeBeraVaultEvent, GqlStakeBeraVaultEventType, type GqlSwapCallDataInput, type GqlToken, type GqlTokenAmountHumanReadable, type GqlTokenCandlestickChartDataItem, GqlTokenChartDataRange, type GqlTokenData, type GqlTokenDynamicData, type GqlTokenMutationResult, type GqlTokenPrice, type GqlTokenPriceChartDataItem, GqlTokenType, type GqlUserBgtBalance, type GqlUserPoolBalance, type GqlUserSwapVolumeFilter, type GqlUserVaultDeposit, type GqlUserVaultDepositMinimal, GqlUserVaultDepositOrderBy, GqlUserVaultDepositOrderDirection, type GqlValidator, type GqlValidatorBlockUptime, GqlValidatorBlockUptimeStatus, type GqlValidatorBoost, type GqlValidatorBoostDelay, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type GqlValidatorCommissionDelay, type GqlValidatorCommissionHistory, type GqlValidatorDynamicData, type GqlValidatorFilter, type GqlValidatorMetadata, GqlValidatorOrderBy, GqlValidatorOrderDirection, type GqlValidatorRewardAllocationWeight, type GqlValidatorStats, type GqlVaultDurations, GqlVaultSnapshotDataRange, type Hook, type HookData, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, MinimalPool, type MinimalPoolFragment, MinimalPoolInList, type MinimalPoolInListFragment, type Mutation, type MutationPoolDeletePoolArgs, type MutationPoolInitializeSnapshotsForPoolArgs, type MutationPoolLoadSnapshotsForPoolsArgs, type MutationPoolReloadAllPoolAprsArgs, type MutationPoolReloadPoolsArgs, type MutationPoolSyncAllCowSnapshotsArgs, type MutationPoolSyncLatestSnapshotsForAllPoolsArgs, type MutationPoolSyncPoolArgs, type MutationPoolUpdateAprsArgs, type MutationTokenDeleteTokenTypeArgs, type MutationTokenReloadErc4626TokensArgs, type MutationTokenReloadTokenPricesArgs, type MutationTokenSyncLatestFxPricesArgs, type MutationUserInitWalletBalancesForPoolArgs, type MutationUserSyncBalanceArgs, type PaginatedRewardVaultIncentivesResponse, type PaginatedRewardVaultsResponse, type PaginatedUserVaultDepositsResponse, type PaginatedValidatorBlockUptimesResponse, type PaginatedValidatorBoostsResponse, type PaginatedValidatorsResponse, PoolEvent, type PoolEventFragment, PoolHistoricalData, type PoolHistoricalDataFragment, type PossibleTypesResultData, type Query, type QueryContentGetNewsItemsArgs, type QueryHooksArgs, type QueryPolGetActiveIncentivesArgs, type QueryPolGetDefaultRewardAllocationsArgs, type QueryPolGetGlobalInfoArgs, type QueryPolGetRewardVaultArgs, type QueryPolGetRewardVaultSnapshotsArgs, type QueryPolGetRewardVaultsArgs, type QueryPolGetSWberaVaultMetadataArgs, type QueryPolGetSWberaVaultSnapshotsArgs, type QueryPolGetStakeBeraVaultEventsByOwnerArgs, type QueryPolGetTopVaultDepositsArgs, type QueryPolGetUserVaultDepositsArgs, type QueryPolGetValidatorArgs, type QueryPolGetValidatorBlockUptimesArgs, type QueryPolGetValidatorBoostsArgs, type QueryPolGetValidatorsArgs, type QueryPoolEventsArgs, type QueryPoolGetAggregatorPoolsArgs, type QueryPoolGetBatchSwapsArgs, type QueryPoolGetEventsArgs, type QueryPoolGetFeaturedPoolGroupsArgs, type QueryPoolGetFeaturedPoolsArgs, type QueryPoolGetJoinExitsArgs, type QueryPoolGetPoolArgs, type QueryPoolGetPoolsArgs, type QueryPoolGetPoolsCountArgs, type QueryPoolGetSnapshotsArgs, type QueryPoolGetSwapsArgs, type QueryPoolGetUserBalancesArgs, type QueryProtocolMetricsAggregatedArgs, type QueryProtocolMetricsChainArgs, type QuerySorGetSwapPathsArgs, type QuerySorGetSwapsArgs, type QueryTokenGetCandlestickChartDataArgs, type QueryTokenGetCurrentPriceArgs, type QueryTokenGetCurrentPricesArgs, type QueryTokenGetHistoricalPricesArgs, type QueryTokenGetPriceChartDataArgs, type QueryTokenGetProtocolTokenPriceArgs, type QueryTokenGetRelativePriceChartDataArgs, type QueryTokenGetTokenArgs, type QueryTokenGetTokenDataArgs, type QueryTokenGetTokenDynamicDataArgs, type QueryTokenGetTokensArgs, type QueryTokenGetTokensDataArgs, type QueryTokenGetTokensDynamicDataArgs, type QueryUserGetPoolBalancesArgs, type QueryUserGetPoolJoinExitsArgs, type QueryUserGetSwapsArgs, type QueryUserGetTopBgtBalanceArgs, RewardVault, type RewardVaultFragment, type Scalars, type Token, UserBalance, type UserBalanceFragment, result as default };
|
|
3845
|
+
export { DynamicData, type DynamicDataFragment, type Exact, GetGlobalLiquidityAndSwapVolume, type GetGlobalLiquidityAndSwapVolumeQuery, type GetGlobalLiquidityAndSwapVolumeQueryVariables, GetPool, GetPoolEvents, type GetPoolEventsQuery, type GetPoolEventsQueryVariables, GetPoolHistoricalData, type GetPoolHistoricalDataQuery, type GetPoolHistoricalDataQueryVariables, type GetPoolQuery, type GetPoolQueryVariables, GetPools, type GetPoolsQuery, type GetPoolsQueryVariables, GetTokenCurrentPrices, type GetTokenCurrentPricesQuery, type GetTokenCurrentPricesQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlContentNewsItem, GqlContentNewsItemSource, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlFeaturePoolGroupItemExternalLink, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, GqlPoolAddRemoveEventV3, type GqlPoolAddRemoveEventV3Fragment, type GqlPoolAggregator, type GqlPoolApr, type GqlPoolAprItem, GqlPoolAprItemType, type GqlPoolAprRange, type GqlPoolAprTotal, type GqlPoolAprValue, type GqlPoolBase, type GqlPoolBatchSwap, type GqlPoolBatchSwapPool, type GqlPoolBatchSwapSwap, type GqlPoolComposableStable, type GqlPoolComposableStableNested, type GqlPoolDynamicData, type GqlPoolElement, type GqlPoolEvent, type GqlPoolEventAmount, GqlPoolEventType, GqlPoolEventsDataRange, type GqlPoolEventsFilter, type GqlPoolFeaturedPool, type GqlPoolFeaturedPoolGroup, type GqlPoolFeaturedPoolGroupItem, type GqlPoolFilter, GqlPoolFilterCategory, type GqlPoolFx, type GqlPoolGyro, type GqlPoolInvestConfig, type GqlPoolInvestOption, type GqlPoolJoinExit, type GqlPoolJoinExitAmount, type GqlPoolJoinExitFilter, GqlPoolJoinExitType, type GqlPoolLiquidityBootstrapping, type GqlPoolMetaStable, type GqlPoolMinimal, type GqlPoolMutationResult, type GqlPoolNestedUnion, GqlPoolNestingType, GqlPoolOrderBy, GqlPoolOrderDirection, type GqlPoolSnapshot, GqlPoolSnapshotDataRange, type GqlPoolStable, type GqlPoolStableComposablePoolData, type GqlPoolSwap, GqlPoolSwapEventCowAmm, type GqlPoolSwapEventCowAmmFragment, GqlPoolSwapEventV3, type GqlPoolSwapEventV3Fragment, type GqlPoolSwapFilter, type GqlPoolTimePeriod, type GqlPoolToken, type GqlPoolTokenBase, type GqlPoolTokenComposableStable, type GqlPoolTokenComposableStableNestedUnion, type GqlPoolTokenDetail, type GqlPoolTokenDisplay, type GqlPoolTokenExpanded, type GqlPoolTokenUnion, GqlPoolType, type GqlPoolUnion, type GqlPoolUserBalance, type GqlPoolUserSwapVolume, type GqlPoolWeighted, type GqlPoolWithdrawConfig, type GqlPoolWithdrawOption, type GqlPriceImpact, type GqlPriceRateProviderData, type GqlPriceRateProviderUpgradeableComponent, type GqlProtocolMetricsAggregated, type GqlProtocolMetricsChain, type GqlRelicSnapshot, type GqlRewardVault, type GqlRewardVaultDynamicData, type GqlRewardVaultFilter, type GqlRewardVaultIncentive, GqlRewardVaultIncentiveOrderBy, GqlRewardVaultIncentiveOrderDirection, type GqlRewardVaultMetadata, GqlRewardVaultOrderBy, GqlRewardVaultOrderDirection, type GqlRewardVaultSnapshot, GqlRewardVaultSnapshotDataRange, GqlRewardVaultSnapshotResolution, type GqlRewardVaultWhitelistedToken, type GqlSWberaVaultMetadata, GqlSWberaVaultMetadataResolution, type GqlSWberaVaultSnapshot, type GqlSorCallData, type GqlSorGetSwapPaths, type GqlSorGetSwapsResponse, type GqlSorPath, type GqlSorSwap, type GqlSorSwapOptionsInput, type GqlSorSwapRoute, type GqlSorSwapRouteHop, GqlSorSwapType, type GqlStakeBeraVaultEarnings, type GqlStakeBeraVaultEvent, GqlStakeBeraVaultEventType, type GqlSwapCallDataInput, type GqlToken, type GqlTokenAmountHumanReadable, type GqlTokenCandlestickChartDataItem, GqlTokenChartDataRange, type GqlTokenData, type GqlTokenDynamicData, type GqlTokenMutationResult, type GqlTokenPrice, type GqlTokenPriceChartDataItem, GqlTokenType, type GqlUserBgtBalance, type GqlUserPoolBalance, type GqlUserSwapVolumeFilter, type GqlUserVaultDeposit, type GqlUserVaultDepositMinimal, GqlUserVaultDepositOrderBy, GqlUserVaultDepositOrderDirection, type GqlValidator, type GqlValidatorBlockUptime, GqlValidatorBlockUptimeStatus, type GqlValidatorBoost, type GqlValidatorBoostDelay, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type GqlValidatorCommissionDelay, type GqlValidatorCommissionHistory, type GqlValidatorDynamicData, type GqlValidatorFilter, type GqlValidatorMetadata, GqlValidatorOrderBy, GqlValidatorOrderDirection, type GqlValidatorRewardAllocationWeight, type GqlValidatorStats, type GqlVaultDurations, GqlVaultSnapshotDataRange, type Hook, type HookData, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, MinimalPool, type MinimalPoolFragment, MinimalPoolInList, type MinimalPoolInListFragment, type Mutation, type MutationPoolDeletePoolArgs, type MutationPoolInitializeSnapshotsForPoolArgs, type MutationPoolLoadSnapshotsForPoolsArgs, type MutationPoolReloadAllPoolAprsArgs, type MutationPoolReloadPoolsArgs, type MutationPoolSyncAllCowSnapshotsArgs, type MutationPoolSyncLatestSnapshotsForAllPoolsArgs, type MutationPoolSyncPoolArgs, type MutationPoolUpdateAprsArgs, type MutationTokenDeleteTokenTypeArgs, type MutationTokenReloadErc4626TokensArgs, type MutationTokenReloadTokenPricesArgs, type MutationTokenSyncLatestFxPricesArgs, type MutationUserInitWalletBalancesForPoolArgs, type MutationUserSyncBalanceArgs, type PaginatedRewardVaultIncentivesResponse, type PaginatedRewardVaultsResponse, type PaginatedUserVaultDepositsResponse, type PaginatedValidatorBlockUptimesResponse, type PaginatedValidatorBoostsResponse, type PaginatedValidatorsResponse, PoolEvent, type PoolEventFragment, PoolHistoricalData, type PoolHistoricalDataFragment, type PossibleTypesResultData, type Query, type QueryContentGetNewsItemsArgs, type QueryHooksArgs, type QueryPolGetActiveIncentivesArgs, type QueryPolGetDefaultRewardAllocationsArgs, type QueryPolGetGlobalInfoArgs, type QueryPolGetRewardVaultArgs, type QueryPolGetRewardVaultSnapshotsArgs, type QueryPolGetRewardVaultsArgs, type QueryPolGetSWberaVaultMetadataArgs, type QueryPolGetSWberaVaultSnapshotsArgs, type QueryPolGetStakeBeraVaultEarningsByOwnerArgs, type QueryPolGetStakeBeraVaultEventsByOwnerArgs, type QueryPolGetTopVaultDepositsArgs, type QueryPolGetUserVaultDepositsArgs, type QueryPolGetValidatorArgs, type QueryPolGetValidatorBlockUptimesArgs, type QueryPolGetValidatorBoostsArgs, type QueryPolGetValidatorsArgs, type QueryPoolEventsArgs, type QueryPoolGetAggregatorPoolsArgs, type QueryPoolGetBatchSwapsArgs, type QueryPoolGetEventsArgs, type QueryPoolGetFeaturedPoolGroupsArgs, type QueryPoolGetFeaturedPoolsArgs, type QueryPoolGetJoinExitsArgs, type QueryPoolGetPoolArgs, type QueryPoolGetPoolsArgs, type QueryPoolGetPoolsCountArgs, type QueryPoolGetSnapshotsArgs, type QueryPoolGetSwapsArgs, type QueryPoolGetUserBalancesArgs, type QueryProtocolMetricsAggregatedArgs, type QueryProtocolMetricsChainArgs, type QuerySorGetSwapPathsArgs, type QuerySorGetSwapsArgs, type QueryTokenGetCandlestickChartDataArgs, type QueryTokenGetCurrentPriceArgs, type QueryTokenGetCurrentPricesArgs, type QueryTokenGetHistoricalPricesArgs, type QueryTokenGetPriceChartDataArgs, type QueryTokenGetProtocolTokenPriceArgs, type QueryTokenGetRelativePriceChartDataArgs, type QueryTokenGetTokenArgs, type QueryTokenGetTokenDataArgs, type QueryTokenGetTokenDynamicDataArgs, type QueryTokenGetTokensArgs, type QueryTokenGetTokensDataArgs, type QueryTokenGetTokensDynamicDataArgs, type QueryUserGetPoolBalancesArgs, type QueryUserGetPoolJoinExitsArgs, type QueryUserGetSwapsArgs, type QueryUserGetTopBgtBalanceArgs, RewardVault, type RewardVaultFragment, type Scalars, type Token, UserBalance, type UserBalanceFragment, result as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as graphql from 'graphql';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -1655,6 +1655,11 @@ declare enum GqlSorSwapType {
|
|
|
1655
1655
|
ExactIn = "EXACT_IN",
|
|
1656
1656
|
ExactOut = "EXACT_OUT"
|
|
1657
1657
|
}
|
|
1658
|
+
type GqlStakeBeraVaultEarnings = {
|
|
1659
|
+
__typename?: 'GqlStakeBeraVaultEarnings';
|
|
1660
|
+
earnings: Scalars['String']['output'];
|
|
1661
|
+
owner: Scalars['String']['output'];
|
|
1662
|
+
};
|
|
1658
1663
|
type GqlStakeBeraVaultEvent = {
|
|
1659
1664
|
__typename?: 'GqlStakeBeraVaultEvent';
|
|
1660
1665
|
_from: Scalars['String']['output'];
|
|
@@ -2192,6 +2197,7 @@ type Query = {
|
|
|
2192
2197
|
polGetRewardVaults: PaginatedRewardVaultsResponse;
|
|
2193
2198
|
polGetSWberaVaultMetadata: GqlSWberaVaultMetadata;
|
|
2194
2199
|
polGetSWberaVaultSnapshots: Array<GqlSWberaVaultSnapshot>;
|
|
2200
|
+
polGetStakeBeraVaultEarningsByOwner: GqlStakeBeraVaultEarnings;
|
|
2195
2201
|
polGetStakeBeraVaultEventsByOwner: Array<GqlStakeBeraVaultEvent>;
|
|
2196
2202
|
polGetTopVaultDeposits: Array<GqlUserVaultDepositMinimal>;
|
|
2197
2203
|
polGetUserVaultDeposits: PaginatedUserVaultDepositsResponse;
|
|
@@ -2340,6 +2346,9 @@ type QueryPolGetSWberaVaultSnapshotsArgs = {
|
|
|
2340
2346
|
chain: GqlChain;
|
|
2341
2347
|
range?: InputMaybe<GqlVaultSnapshotDataRange>;
|
|
2342
2348
|
};
|
|
2349
|
+
type QueryPolGetStakeBeraVaultEarningsByOwnerArgs = {
|
|
2350
|
+
owner: Scalars['String']['input'];
|
|
2351
|
+
};
|
|
2343
2352
|
type QueryPolGetStakeBeraVaultEventsByOwnerArgs = {
|
|
2344
2353
|
owner: Scalars['String']['input'];
|
|
2345
2354
|
};
|
|
@@ -3710,12 +3719,12 @@ type GetGlobalLiquidityAndSwapVolumeQuery = {
|
|
|
3710
3719
|
totalLiquidity: any;
|
|
3711
3720
|
};
|
|
3712
3721
|
};
|
|
3713
|
-
declare const DynamicData:
|
|
3714
|
-
declare const UserBalance:
|
|
3715
|
-
declare const RewardVault:
|
|
3716
|
-
declare const MinimalPoolInList:
|
|
3717
|
-
declare const MinimalPool:
|
|
3718
|
-
declare const PoolHistoricalData:
|
|
3722
|
+
declare const DynamicData: graphql.DocumentNode;
|
|
3723
|
+
declare const UserBalance: graphql.DocumentNode;
|
|
3724
|
+
declare const RewardVault: graphql.DocumentNode;
|
|
3725
|
+
declare const MinimalPoolInList: graphql.DocumentNode;
|
|
3726
|
+
declare const MinimalPool: graphql.DocumentNode;
|
|
3727
|
+
declare const PoolHistoricalData: graphql.DocumentNode;
|
|
3719
3728
|
/** Represents an event that occurs when a swap is made in a pool using the CowAmm protocol. */
|
|
3720
3729
|
type GqlPoolSwapEventCowAmm = GqlPoolEvent & {
|
|
3721
3730
|
__typename?: 'GqlPoolSwapEventCowAmm';
|
|
@@ -3752,7 +3761,7 @@ type GqlPoolSwapEventCowAmm = GqlPoolEvent & {
|
|
|
3752
3761
|
/** The value of the event in USD. */
|
|
3753
3762
|
valueUSD: Scalars['Float']['output'];
|
|
3754
3763
|
};
|
|
3755
|
-
declare const GqlPoolSwapEventCowAmm:
|
|
3764
|
+
declare const GqlPoolSwapEventCowAmm: graphql.DocumentNode;
|
|
3756
3765
|
/** Represents an event that occurs when a swap is made in a pool. */
|
|
3757
3766
|
type GqlPoolSwapEventV3 = GqlPoolEvent & {
|
|
3758
3767
|
__typename?: 'GqlPoolSwapEventV3';
|
|
@@ -3787,7 +3796,7 @@ type GqlPoolSwapEventV3 = GqlPoolEvent & {
|
|
|
3787
3796
|
/** The value of the event in USD. */
|
|
3788
3797
|
valueUSD: Scalars['Float']['output'];
|
|
3789
3798
|
};
|
|
3790
|
-
declare const GqlPoolSwapEventV3:
|
|
3799
|
+
declare const GqlPoolSwapEventV3: graphql.DocumentNode;
|
|
3791
3800
|
/** Represents an event that occurs when liquidity is added or removed from a pool. */
|
|
3792
3801
|
type GqlPoolAddRemoveEventV3 = GqlPoolEvent & {
|
|
3793
3802
|
__typename?: 'GqlPoolAddRemoveEventV3';
|
|
@@ -3818,14 +3827,14 @@ type GqlPoolAddRemoveEventV3 = GqlPoolEvent & {
|
|
|
3818
3827
|
/** The value of the event in USD. */
|
|
3819
3828
|
valueUSD: Scalars['Float']['output'];
|
|
3820
3829
|
};
|
|
3821
|
-
declare const GqlPoolAddRemoveEventV3:
|
|
3822
|
-
declare const PoolEvent:
|
|
3823
|
-
declare const GetPools:
|
|
3824
|
-
declare const GetPool:
|
|
3825
|
-
declare const GetPoolHistoricalData:
|
|
3826
|
-
declare const GetPoolEvents:
|
|
3827
|
-
declare const GetTokenCurrentPrices:
|
|
3828
|
-
declare const GetGlobalLiquidityAndSwapVolume:
|
|
3830
|
+
declare const GqlPoolAddRemoveEventV3: graphql.DocumentNode;
|
|
3831
|
+
declare const PoolEvent: graphql.DocumentNode;
|
|
3832
|
+
declare const GetPools: graphql.DocumentNode;
|
|
3833
|
+
declare const GetPool: graphql.DocumentNode;
|
|
3834
|
+
declare const GetPoolHistoricalData: graphql.DocumentNode;
|
|
3835
|
+
declare const GetPoolEvents: graphql.DocumentNode;
|
|
3836
|
+
declare const GetTokenCurrentPrices: graphql.DocumentNode;
|
|
3837
|
+
declare const GetGlobalLiquidityAndSwapVolume: graphql.DocumentNode;
|
|
3829
3838
|
interface PossibleTypesResultData {
|
|
3830
3839
|
possibleTypes: {
|
|
3831
3840
|
[key: string]: string[];
|
|
@@ -3833,4 +3842,4 @@ interface PossibleTypesResultData {
|
|
|
3833
3842
|
}
|
|
3834
3843
|
declare const result: PossibleTypesResultData;
|
|
3835
3844
|
|
|
3836
|
-
export { DynamicData, type DynamicDataFragment, type Exact, GetGlobalLiquidityAndSwapVolume, type GetGlobalLiquidityAndSwapVolumeQuery, type GetGlobalLiquidityAndSwapVolumeQueryVariables, GetPool, GetPoolEvents, type GetPoolEventsQuery, type GetPoolEventsQueryVariables, GetPoolHistoricalData, type GetPoolHistoricalDataQuery, type GetPoolHistoricalDataQueryVariables, type GetPoolQuery, type GetPoolQueryVariables, GetPools, type GetPoolsQuery, type GetPoolsQueryVariables, GetTokenCurrentPrices, type GetTokenCurrentPricesQuery, type GetTokenCurrentPricesQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlContentNewsItem, GqlContentNewsItemSource, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlFeaturePoolGroupItemExternalLink, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, GqlPoolAddRemoveEventV3, type GqlPoolAddRemoveEventV3Fragment, type GqlPoolAggregator, type GqlPoolApr, type GqlPoolAprItem, GqlPoolAprItemType, type GqlPoolAprRange, type GqlPoolAprTotal, type GqlPoolAprValue, type GqlPoolBase, type GqlPoolBatchSwap, type GqlPoolBatchSwapPool, type GqlPoolBatchSwapSwap, type GqlPoolComposableStable, type GqlPoolComposableStableNested, type GqlPoolDynamicData, type GqlPoolElement, type GqlPoolEvent, type GqlPoolEventAmount, GqlPoolEventType, GqlPoolEventsDataRange, type GqlPoolEventsFilter, type GqlPoolFeaturedPool, type GqlPoolFeaturedPoolGroup, type GqlPoolFeaturedPoolGroupItem, type GqlPoolFilter, GqlPoolFilterCategory, type GqlPoolFx, type GqlPoolGyro, type GqlPoolInvestConfig, type GqlPoolInvestOption, type GqlPoolJoinExit, type GqlPoolJoinExitAmount, type GqlPoolJoinExitFilter, GqlPoolJoinExitType, type GqlPoolLiquidityBootstrapping, type GqlPoolMetaStable, type GqlPoolMinimal, type GqlPoolMutationResult, type GqlPoolNestedUnion, GqlPoolNestingType, GqlPoolOrderBy, GqlPoolOrderDirection, type GqlPoolSnapshot, GqlPoolSnapshotDataRange, type GqlPoolStable, type GqlPoolStableComposablePoolData, type GqlPoolSwap, GqlPoolSwapEventCowAmm, type GqlPoolSwapEventCowAmmFragment, GqlPoolSwapEventV3, type GqlPoolSwapEventV3Fragment, type GqlPoolSwapFilter, type GqlPoolTimePeriod, type GqlPoolToken, type GqlPoolTokenBase, type GqlPoolTokenComposableStable, type GqlPoolTokenComposableStableNestedUnion, type GqlPoolTokenDetail, type GqlPoolTokenDisplay, type GqlPoolTokenExpanded, type GqlPoolTokenUnion, GqlPoolType, type GqlPoolUnion, type GqlPoolUserBalance, type GqlPoolUserSwapVolume, type GqlPoolWeighted, type GqlPoolWithdrawConfig, type GqlPoolWithdrawOption, type GqlPriceImpact, type GqlPriceRateProviderData, type GqlPriceRateProviderUpgradeableComponent, type GqlProtocolMetricsAggregated, type GqlProtocolMetricsChain, type GqlRelicSnapshot, type GqlRewardVault, type GqlRewardVaultDynamicData, type GqlRewardVaultFilter, type GqlRewardVaultIncentive, GqlRewardVaultIncentiveOrderBy, GqlRewardVaultIncentiveOrderDirection, type GqlRewardVaultMetadata, GqlRewardVaultOrderBy, GqlRewardVaultOrderDirection, type GqlRewardVaultSnapshot, GqlRewardVaultSnapshotDataRange, GqlRewardVaultSnapshotResolution, type GqlRewardVaultWhitelistedToken, type GqlSWberaVaultMetadata, GqlSWberaVaultMetadataResolution, type GqlSWberaVaultSnapshot, type GqlSorCallData, type GqlSorGetSwapPaths, type GqlSorGetSwapsResponse, type GqlSorPath, type GqlSorSwap, type GqlSorSwapOptionsInput, type GqlSorSwapRoute, type GqlSorSwapRouteHop, GqlSorSwapType, type GqlStakeBeraVaultEvent, GqlStakeBeraVaultEventType, type GqlSwapCallDataInput, type GqlToken, type GqlTokenAmountHumanReadable, type GqlTokenCandlestickChartDataItem, GqlTokenChartDataRange, type GqlTokenData, type GqlTokenDynamicData, type GqlTokenMutationResult, type GqlTokenPrice, type GqlTokenPriceChartDataItem, GqlTokenType, type GqlUserBgtBalance, type GqlUserPoolBalance, type GqlUserSwapVolumeFilter, type GqlUserVaultDeposit, type GqlUserVaultDepositMinimal, GqlUserVaultDepositOrderBy, GqlUserVaultDepositOrderDirection, type GqlValidator, type GqlValidatorBlockUptime, GqlValidatorBlockUptimeStatus, type GqlValidatorBoost, type GqlValidatorBoostDelay, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type GqlValidatorCommissionDelay, type GqlValidatorCommissionHistory, type GqlValidatorDynamicData, type GqlValidatorFilter, type GqlValidatorMetadata, GqlValidatorOrderBy, GqlValidatorOrderDirection, type GqlValidatorRewardAllocationWeight, type GqlValidatorStats, type GqlVaultDurations, GqlVaultSnapshotDataRange, type Hook, type HookData, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, MinimalPool, type MinimalPoolFragment, MinimalPoolInList, type MinimalPoolInListFragment, type Mutation, type MutationPoolDeletePoolArgs, type MutationPoolInitializeSnapshotsForPoolArgs, type MutationPoolLoadSnapshotsForPoolsArgs, type MutationPoolReloadAllPoolAprsArgs, type MutationPoolReloadPoolsArgs, type MutationPoolSyncAllCowSnapshotsArgs, type MutationPoolSyncLatestSnapshotsForAllPoolsArgs, type MutationPoolSyncPoolArgs, type MutationPoolUpdateAprsArgs, type MutationTokenDeleteTokenTypeArgs, type MutationTokenReloadErc4626TokensArgs, type MutationTokenReloadTokenPricesArgs, type MutationTokenSyncLatestFxPricesArgs, type MutationUserInitWalletBalancesForPoolArgs, type MutationUserSyncBalanceArgs, type PaginatedRewardVaultIncentivesResponse, type PaginatedRewardVaultsResponse, type PaginatedUserVaultDepositsResponse, type PaginatedValidatorBlockUptimesResponse, type PaginatedValidatorBoostsResponse, type PaginatedValidatorsResponse, PoolEvent, type PoolEventFragment, PoolHistoricalData, type PoolHistoricalDataFragment, type PossibleTypesResultData, type Query, type QueryContentGetNewsItemsArgs, type QueryHooksArgs, type QueryPolGetActiveIncentivesArgs, type QueryPolGetDefaultRewardAllocationsArgs, type QueryPolGetGlobalInfoArgs, type QueryPolGetRewardVaultArgs, type QueryPolGetRewardVaultSnapshotsArgs, type QueryPolGetRewardVaultsArgs, type QueryPolGetSWberaVaultMetadataArgs, type QueryPolGetSWberaVaultSnapshotsArgs, type QueryPolGetStakeBeraVaultEventsByOwnerArgs, type QueryPolGetTopVaultDepositsArgs, type QueryPolGetUserVaultDepositsArgs, type QueryPolGetValidatorArgs, type QueryPolGetValidatorBlockUptimesArgs, type QueryPolGetValidatorBoostsArgs, type QueryPolGetValidatorsArgs, type QueryPoolEventsArgs, type QueryPoolGetAggregatorPoolsArgs, type QueryPoolGetBatchSwapsArgs, type QueryPoolGetEventsArgs, type QueryPoolGetFeaturedPoolGroupsArgs, type QueryPoolGetFeaturedPoolsArgs, type QueryPoolGetJoinExitsArgs, type QueryPoolGetPoolArgs, type QueryPoolGetPoolsArgs, type QueryPoolGetPoolsCountArgs, type QueryPoolGetSnapshotsArgs, type QueryPoolGetSwapsArgs, type QueryPoolGetUserBalancesArgs, type QueryProtocolMetricsAggregatedArgs, type QueryProtocolMetricsChainArgs, type QuerySorGetSwapPathsArgs, type QuerySorGetSwapsArgs, type QueryTokenGetCandlestickChartDataArgs, type QueryTokenGetCurrentPriceArgs, type QueryTokenGetCurrentPricesArgs, type QueryTokenGetHistoricalPricesArgs, type QueryTokenGetPriceChartDataArgs, type QueryTokenGetProtocolTokenPriceArgs, type QueryTokenGetRelativePriceChartDataArgs, type QueryTokenGetTokenArgs, type QueryTokenGetTokenDataArgs, type QueryTokenGetTokenDynamicDataArgs, type QueryTokenGetTokensArgs, type QueryTokenGetTokensDataArgs, type QueryTokenGetTokensDynamicDataArgs, type QueryUserGetPoolBalancesArgs, type QueryUserGetPoolJoinExitsArgs, type QueryUserGetSwapsArgs, type QueryUserGetTopBgtBalanceArgs, RewardVault, type RewardVaultFragment, type Scalars, type Token, UserBalance, type UserBalanceFragment, result as default };
|
|
3845
|
+
export { DynamicData, type DynamicDataFragment, type Exact, GetGlobalLiquidityAndSwapVolume, type GetGlobalLiquidityAndSwapVolumeQuery, type GetGlobalLiquidityAndSwapVolumeQueryVariables, GetPool, GetPoolEvents, type GetPoolEventsQuery, type GetPoolEventsQueryVariables, GetPoolHistoricalData, type GetPoolHistoricalDataQuery, type GetPoolHistoricalDataQueryVariables, type GetPoolQuery, type GetPoolQueryVariables, GetPools, type GetPoolsQuery, type GetPoolsQueryVariables, GetTokenCurrentPrices, type GetTokenCurrentPricesQuery, type GetTokenCurrentPricesQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlContentNewsItem, GqlContentNewsItemSource, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlFeaturePoolGroupItemExternalLink, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, GqlPoolAddRemoveEventV3, type GqlPoolAddRemoveEventV3Fragment, type GqlPoolAggregator, type GqlPoolApr, type GqlPoolAprItem, GqlPoolAprItemType, type GqlPoolAprRange, type GqlPoolAprTotal, type GqlPoolAprValue, type GqlPoolBase, type GqlPoolBatchSwap, type GqlPoolBatchSwapPool, type GqlPoolBatchSwapSwap, type GqlPoolComposableStable, type GqlPoolComposableStableNested, type GqlPoolDynamicData, type GqlPoolElement, type GqlPoolEvent, type GqlPoolEventAmount, GqlPoolEventType, GqlPoolEventsDataRange, type GqlPoolEventsFilter, type GqlPoolFeaturedPool, type GqlPoolFeaturedPoolGroup, type GqlPoolFeaturedPoolGroupItem, type GqlPoolFilter, GqlPoolFilterCategory, type GqlPoolFx, type GqlPoolGyro, type GqlPoolInvestConfig, type GqlPoolInvestOption, type GqlPoolJoinExit, type GqlPoolJoinExitAmount, type GqlPoolJoinExitFilter, GqlPoolJoinExitType, type GqlPoolLiquidityBootstrapping, type GqlPoolMetaStable, type GqlPoolMinimal, type GqlPoolMutationResult, type GqlPoolNestedUnion, GqlPoolNestingType, GqlPoolOrderBy, GqlPoolOrderDirection, type GqlPoolSnapshot, GqlPoolSnapshotDataRange, type GqlPoolStable, type GqlPoolStableComposablePoolData, type GqlPoolSwap, GqlPoolSwapEventCowAmm, type GqlPoolSwapEventCowAmmFragment, GqlPoolSwapEventV3, type GqlPoolSwapEventV3Fragment, type GqlPoolSwapFilter, type GqlPoolTimePeriod, type GqlPoolToken, type GqlPoolTokenBase, type GqlPoolTokenComposableStable, type GqlPoolTokenComposableStableNestedUnion, type GqlPoolTokenDetail, type GqlPoolTokenDisplay, type GqlPoolTokenExpanded, type GqlPoolTokenUnion, GqlPoolType, type GqlPoolUnion, type GqlPoolUserBalance, type GqlPoolUserSwapVolume, type GqlPoolWeighted, type GqlPoolWithdrawConfig, type GqlPoolWithdrawOption, type GqlPriceImpact, type GqlPriceRateProviderData, type GqlPriceRateProviderUpgradeableComponent, type GqlProtocolMetricsAggregated, type GqlProtocolMetricsChain, type GqlRelicSnapshot, type GqlRewardVault, type GqlRewardVaultDynamicData, type GqlRewardVaultFilter, type GqlRewardVaultIncentive, GqlRewardVaultIncentiveOrderBy, GqlRewardVaultIncentiveOrderDirection, type GqlRewardVaultMetadata, GqlRewardVaultOrderBy, GqlRewardVaultOrderDirection, type GqlRewardVaultSnapshot, GqlRewardVaultSnapshotDataRange, GqlRewardVaultSnapshotResolution, type GqlRewardVaultWhitelistedToken, type GqlSWberaVaultMetadata, GqlSWberaVaultMetadataResolution, type GqlSWberaVaultSnapshot, type GqlSorCallData, type GqlSorGetSwapPaths, type GqlSorGetSwapsResponse, type GqlSorPath, type GqlSorSwap, type GqlSorSwapOptionsInput, type GqlSorSwapRoute, type GqlSorSwapRouteHop, GqlSorSwapType, type GqlStakeBeraVaultEarnings, type GqlStakeBeraVaultEvent, GqlStakeBeraVaultEventType, type GqlSwapCallDataInput, type GqlToken, type GqlTokenAmountHumanReadable, type GqlTokenCandlestickChartDataItem, GqlTokenChartDataRange, type GqlTokenData, type GqlTokenDynamicData, type GqlTokenMutationResult, type GqlTokenPrice, type GqlTokenPriceChartDataItem, GqlTokenType, type GqlUserBgtBalance, type GqlUserPoolBalance, type GqlUserSwapVolumeFilter, type GqlUserVaultDeposit, type GqlUserVaultDepositMinimal, GqlUserVaultDepositOrderBy, GqlUserVaultDepositOrderDirection, type GqlValidator, type GqlValidatorBlockUptime, GqlValidatorBlockUptimeStatus, type GqlValidatorBoost, type GqlValidatorBoostDelay, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type GqlValidatorCommissionDelay, type GqlValidatorCommissionHistory, type GqlValidatorDynamicData, type GqlValidatorFilter, type GqlValidatorMetadata, GqlValidatorOrderBy, GqlValidatorOrderDirection, type GqlValidatorRewardAllocationWeight, type GqlValidatorStats, type GqlVaultDurations, GqlVaultSnapshotDataRange, type Hook, type HookData, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, MinimalPool, type MinimalPoolFragment, MinimalPoolInList, type MinimalPoolInListFragment, type Mutation, type MutationPoolDeletePoolArgs, type MutationPoolInitializeSnapshotsForPoolArgs, type MutationPoolLoadSnapshotsForPoolsArgs, type MutationPoolReloadAllPoolAprsArgs, type MutationPoolReloadPoolsArgs, type MutationPoolSyncAllCowSnapshotsArgs, type MutationPoolSyncLatestSnapshotsForAllPoolsArgs, type MutationPoolSyncPoolArgs, type MutationPoolUpdateAprsArgs, type MutationTokenDeleteTokenTypeArgs, type MutationTokenReloadErc4626TokensArgs, type MutationTokenReloadTokenPricesArgs, type MutationTokenSyncLatestFxPricesArgs, type MutationUserInitWalletBalancesForPoolArgs, type MutationUserSyncBalanceArgs, type PaginatedRewardVaultIncentivesResponse, type PaginatedRewardVaultsResponse, type PaginatedUserVaultDepositsResponse, type PaginatedValidatorBlockUptimesResponse, type PaginatedValidatorBoostsResponse, type PaginatedValidatorsResponse, PoolEvent, type PoolEventFragment, PoolHistoricalData, type PoolHistoricalDataFragment, type PossibleTypesResultData, type Query, type QueryContentGetNewsItemsArgs, type QueryHooksArgs, type QueryPolGetActiveIncentivesArgs, type QueryPolGetDefaultRewardAllocationsArgs, type QueryPolGetGlobalInfoArgs, type QueryPolGetRewardVaultArgs, type QueryPolGetRewardVaultSnapshotsArgs, type QueryPolGetRewardVaultsArgs, type QueryPolGetSWberaVaultMetadataArgs, type QueryPolGetSWberaVaultSnapshotsArgs, type QueryPolGetStakeBeraVaultEarningsByOwnerArgs, type QueryPolGetStakeBeraVaultEventsByOwnerArgs, type QueryPolGetTopVaultDepositsArgs, type QueryPolGetUserVaultDepositsArgs, type QueryPolGetValidatorArgs, type QueryPolGetValidatorBlockUptimesArgs, type QueryPolGetValidatorBoostsArgs, type QueryPolGetValidatorsArgs, type QueryPoolEventsArgs, type QueryPoolGetAggregatorPoolsArgs, type QueryPoolGetBatchSwapsArgs, type QueryPoolGetEventsArgs, type QueryPoolGetFeaturedPoolGroupsArgs, type QueryPoolGetFeaturedPoolsArgs, type QueryPoolGetJoinExitsArgs, type QueryPoolGetPoolArgs, type QueryPoolGetPoolsArgs, type QueryPoolGetPoolsCountArgs, type QueryPoolGetSnapshotsArgs, type QueryPoolGetSwapsArgs, type QueryPoolGetUserBalancesArgs, type QueryProtocolMetricsAggregatedArgs, type QueryProtocolMetricsChainArgs, type QuerySorGetSwapPathsArgs, type QuerySorGetSwapsArgs, type QueryTokenGetCandlestickChartDataArgs, type QueryTokenGetCurrentPriceArgs, type QueryTokenGetCurrentPricesArgs, type QueryTokenGetHistoricalPricesArgs, type QueryTokenGetPriceChartDataArgs, type QueryTokenGetProtocolTokenPriceArgs, type QueryTokenGetRelativePriceChartDataArgs, type QueryTokenGetTokenArgs, type QueryTokenGetTokenDataArgs, type QueryTokenGetTokenDynamicDataArgs, type QueryTokenGetTokensArgs, type QueryTokenGetTokensDataArgs, type QueryTokenGetTokensDynamicDataArgs, type QueryUserGetPoolBalancesArgs, type QueryUserGetPoolJoinExitsArgs, type QueryUserGetSwapsArgs, type QueryUserGetTopBgtBalanceArgs, RewardVault, type RewardVaultFragment, type Scalars, type Token, UserBalance, type UserBalanceFragment, result as default };
|
package/dist/dex/api.codegen.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _client = require('@apollo/client');var m=(a=>(a.Bartio="BARTIO",a.Berachain="BERACHAIN",a.Cartio="CARTIO",a))(m||{}),d= exports.GqlContentNewsItemSource =(a=>(a.Discord="discord",a.Medium="medium",a.Twitter="twitter",a))(d||{}),g= exports.GqlPoolAprItemType =(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))(g||{}),G= exports.GqlPoolEventType =(a=>(a.Add="ADD",a.Remove="REMOVE",a.Swap="SWAP",a))(G||{}),
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _client = require('@apollo/client');var m=(a=>(a.Bartio="BARTIO",a.Berachain="BERACHAIN",a.Cartio="CARTIO",a))(m||{}),d= exports.GqlContentNewsItemSource =(a=>(a.Discord="discord",a.Medium="medium",a.Twitter="twitter",a))(d||{}),g= exports.GqlPoolAprItemType =(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))(g||{}),G= exports.GqlPoolEventType =(a=>(a.Add="ADD",a.Remove="REMOVE",a.Swap="SWAP",a))(G||{}),P= exports.GqlPoolEventsDataRange =(a=>(a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(P||{}),b= exports.GqlPoolFilterCategory =(u=>(u.BlackListed="BLACK_LISTED",u.Incentivized="INCENTIVIZED",u.Lrt="LRT",u.Points="POINTS",u.PointsEigenlayer="POINTS_EIGENLAYER",u.PointsGyro="POINTS_GYRO",u.PointsKelp="POINTS_KELP",u.PointsRenzo="POINTS_RENZO",u.PointsSwell="POINTS_SWELL",u.Superfest="SUPERFEST",u))(b||{}),q= exports.GqlPoolJoinExitType =(t=>(t.Exit="Exit",t.Join="Join",t))(q||{}),A= exports.GqlPoolNestingType =(a=>(a.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",a.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",a.NoNesting="NO_NESTING",a))(A||{}),I= exports.GqlPoolOrderBy =(p=>(p.Apr="apr",p.BgtApr="bgtApr",p.Fees24h="fees24h",p.TotalLiquidity="totalLiquidity",p.TotalShares="totalShares",p.UserbalanceUsd="userbalanceUsd",p.Volume24h="volume24h",p))(I||{}),h= exports.GqlPoolOrderDirection =(t=>(t.Asc="asc",t.Desc="desc",t))(h||{}),_= exports.GqlPoolSnapshotDataRange =(e=>(e.AllTime="ALL_TIME",e.NinetyDays="NINETY_DAYS",e.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",e.OneYear="ONE_YEAR",e.ThirtyDays="THIRTY_DAYS",e))(_||{}),D= exports.GqlPoolType =(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))(D||{}),T= exports.GqlRewardVaultIncentiveOrderBy =(a=>(a.AmountRemaining="amountRemaining",a.AmountRemainingUsd="amountRemainingUsd",a.IncentiveRate="incentiveRate",a))(T||{}),k= exports.GqlRewardVaultIncentiveOrderDirection =(t=>(t.Asc="asc",t.Desc="desc",t))(k||{}),M= exports.GqlRewardVaultOrderBy =(i=>(i.ActiveIncentivesRateUsd="activeIncentivesRateUsd",i.ActiveIncentivesValueUsd="activeIncentivesValueUsd",i.AllTimeBgtReceived="allTimeBGTReceived",i.Apr="apr",i.Apy="apy",i.BgtCapturePercentage="bgtCapturePercentage",i.Last24hBgtReceived="last24hBGTReceived",i.ProjectedApr="projectedApr",i))(M||{}),B= exports.GqlRewardVaultOrderDirection =(t=>(t.Asc="asc",t.Desc="desc",t))(B||{}),v= exports.GqlRewardVaultSnapshotDataRange =(n=>(n.NinetyDays="NINETY_DAYS",n.SevenDays="SEVEN_DAYS",n.SixtyDays="SIXTY_DAYS",n.ThirtyDays="THIRTY_DAYS",n))(v||{}),w= exports.GqlRewardVaultSnapshotResolution =(t=>(t.Day="DAY",t.Hour="HOUR",t))(w||{}),x= exports.GqlSWberaVaultMetadataResolution =(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(x||{}),V= exports.GqlSorSwapType =(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(V||{}),C= exports.GqlStakeBeraVaultEventType =(t=>(t.Deposit="DEPOSIT",t.WithdrawalCompleted="WITHDRAWAL_COMPLETED",t))(C||{}),R= exports.GqlTokenChartDataRange =(e=>(e.NinetyDay="NINETY_DAY",e.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",e.OneYear="ONE_YEAR",e.SevenDay="SEVEN_DAY",e.ThirtyDay="THIRTY_DAY",e))(R||{}),E= exports.GqlTokenType =(a=>(a.Bpt="BPT",a.PhantomBpt="PHANTOM_BPT",a.WhiteListed="WHITE_LISTED",a))(E||{}),F= exports.GqlUserVaultDepositOrderBy =(S=>(S.Amount="amount",S))(F||{}),f= exports.GqlUserVaultDepositOrderDirection =(t=>(t.Asc="asc",t.Desc="desc",t))(f||{}),U= exports.GqlValidatorBlockUptimeStatus =(n=>(n.Inactive="INACTIVE",n.Offline="OFFLINE",n.Proposed="PROPOSED",n.Signed="SIGNED",n))(U||{}),N= exports.GqlValidatorBoostOrderBy =(e=>(e.ActiveBoostAmount="activeBoostAmount",e.LatestBlock="latestBlock",e.LatestBlockTime="latestBlockTime",e.QueuedBoostAmount="queuedBoostAmount",e.QueuedDropBoostAmount="queuedDropBoostAmount",e))(N||{}),L= exports.GqlValidatorBoostOrderDirection =(t=>(t.Asc="asc",t.Desc="desc",t))(L||{}),H= exports.GqlValidatorOrderBy =(r=>(r.ActiveBoostAmount="activeBoostAmount",r.AllTimeDistributedBgtAmount="allTimeDistributedBGTAmount",r.AllTimeEarnedBgtAmount="allTimeEarnedBGTAmount",r.Apy="apy",r.BgtCapturePercentage="bgtCapturePercentage",r.BoostApr="boostApr",r.CommissionOnIncentives="commissionOnIncentives",r.LastDayDistributedBgtAmount="lastDayDistributedBGTAmount",r.LastDayEarnedBgtAmount="lastDayEarnedBGTAmount",r.QueuedBoostAmount="queuedBoostAmount",r.QueuedDropBoostAmount="queuedDropBoostAmount",r.RewardRate="rewardRate",r.StakedBeraAmount="stakedBeraAmount",r.UsersActiveBoostCount="usersActiveBoostCount",r.UsersQueuedBoostCount="usersQueuedBoostCount",r))(H||{}),W= exports.GqlValidatorOrderDirection =(t=>(t.Asc="asc",t.Desc="desc",t))(W||{}),O= exports.GqlVaultSnapshotDataRange =(n=>(n.NinetyDays="NINETY_DAYS",n.SevenDays="SEVEN_DAYS",n.SixtyDays="SIXTY_DAYS",n.ThirtyDays="THIRTY_DAYS",n))(O||{}),c= exports.DynamicData =_client.gql`
|
|
2
2
|
fragment DynamicData on GqlPoolDynamicData {
|
|
3
3
|
totalShares
|
|
4
4
|
fees24h
|
|
@@ -196,4 +196,4 @@ ${X}`,at= exports.GetPools =_client.gql`
|
|
|
196
196
|
totalLiquidity
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
`,Z={possibleTypes:{GqlPoolAprValue:["GqlPoolAprRange","GqlPoolAprTotal"],GqlPoolBase:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"],GqlPoolEvent:["GqlPoolAddRemoveEventV3","GqlPoolSwapEventCowAmm","GqlPoolSwapEventV3"],GqlPoolFeaturedPoolGroupItem:["GqlFeaturePoolGroupItemExternalLink","GqlPoolMinimal"],GqlPoolNestedUnion:["GqlPoolComposableStableNested"],GqlPoolTokenBase:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolTokenComposableStableNestedUnion:["GqlPoolToken"],GqlPoolTokenUnion:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolUnion:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"]}},st= exports.default =Z;exports.DynamicData = c; exports.GetGlobalLiquidityAndSwapVolume = lt; exports.GetPool = et; exports.GetPoolEvents = rt; exports.GetPoolHistoricalData = ot; exports.GetPools = at; exports.GetTokenCurrentPrices = nt; exports.GqlChain = m; exports.GqlContentNewsItemSource = d; exports.GqlPoolAddRemoveEventV3 = X; exports.GqlPoolAprItemType = g; exports.GqlPoolEventType = G; exports.GqlPoolEventsDataRange =
|
|
199
|
+
`,Z={possibleTypes:{GqlPoolAprValue:["GqlPoolAprRange","GqlPoolAprTotal"],GqlPoolBase:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"],GqlPoolEvent:["GqlPoolAddRemoveEventV3","GqlPoolSwapEventCowAmm","GqlPoolSwapEventV3"],GqlPoolFeaturedPoolGroupItem:["GqlFeaturePoolGroupItemExternalLink","GqlPoolMinimal"],GqlPoolNestedUnion:["GqlPoolComposableStableNested"],GqlPoolTokenBase:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolTokenComposableStableNestedUnion:["GqlPoolToken"],GqlPoolTokenUnion:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolUnion:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"]}},st= exports.default =Z;exports.DynamicData = c; exports.GetGlobalLiquidityAndSwapVolume = lt; exports.GetPool = et; exports.GetPoolEvents = rt; exports.GetPoolHistoricalData = ot; exports.GetPools = at; exports.GetTokenCurrentPrices = nt; exports.GqlChain = m; exports.GqlContentNewsItemSource = d; exports.GqlPoolAddRemoveEventV3 = X; exports.GqlPoolAprItemType = g; exports.GqlPoolEventType = G; exports.GqlPoolEventsDataRange = P; exports.GqlPoolFilterCategory = b; exports.GqlPoolJoinExitType = q; exports.GqlPoolNestingType = A; exports.GqlPoolOrderBy = I; exports.GqlPoolOrderDirection = h; exports.GqlPoolSnapshotDataRange = _; exports.GqlPoolSwapEventCowAmm = J; exports.GqlPoolSwapEventV3 = z; exports.GqlPoolType = D; exports.GqlRewardVaultIncentiveOrderBy = T; exports.GqlRewardVaultIncentiveOrderDirection = k; exports.GqlRewardVaultOrderBy = M; exports.GqlRewardVaultOrderDirection = B; exports.GqlRewardVaultSnapshotDataRange = v; exports.GqlRewardVaultSnapshotResolution = w; exports.GqlSWberaVaultMetadataResolution = x; exports.GqlSorSwapType = V; exports.GqlStakeBeraVaultEventType = C; exports.GqlTokenChartDataRange = R; exports.GqlTokenType = E; exports.GqlUserVaultDepositOrderBy = F; exports.GqlUserVaultDepositOrderDirection = f; exports.GqlValidatorBlockUptimeStatus = U; exports.GqlValidatorBoostOrderBy = N; exports.GqlValidatorBoostOrderDirection = L; exports.GqlValidatorOrderBy = H; exports.GqlValidatorOrderDirection = W; exports.GqlVaultSnapshotDataRange = O; exports.MinimalPool = $; exports.MinimalPoolInList = Y; exports.PoolEvent = j; exports.PoolHistoricalData = K; exports.RewardVault = y; exports.UserBalance = Q; exports.default = st;
|
package/dist/dex/api.codegen.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{gql as o}from"@apollo/client";var m=(a=>(a.Bartio="BARTIO",a.Berachain="BERACHAIN",a.Cartio="CARTIO",a))(m||{}),d=(a=>(a.Discord="discord",a.Medium="medium",a.Twitter="twitter",a))(d||{}),g=(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))(g||{}),G=(a=>(a.Add="ADD",a.Remove="REMOVE",a.Swap="SWAP",a))(G||{}),
|
|
1
|
+
import{gql as o}from"@apollo/client";var m=(a=>(a.Bartio="BARTIO",a.Berachain="BERACHAIN",a.Cartio="CARTIO",a))(m||{}),d=(a=>(a.Discord="discord",a.Medium="medium",a.Twitter="twitter",a))(d||{}),g=(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))(g||{}),G=(a=>(a.Add="ADD",a.Remove="REMOVE",a.Swap="SWAP",a))(G||{}),P=(a=>(a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(P||{}),b=(u=>(u.BlackListed="BLACK_LISTED",u.Incentivized="INCENTIVIZED",u.Lrt="LRT",u.Points="POINTS",u.PointsEigenlayer="POINTS_EIGENLAYER",u.PointsGyro="POINTS_GYRO",u.PointsKelp="POINTS_KELP",u.PointsRenzo="POINTS_RENZO",u.PointsSwell="POINTS_SWELL",u.Superfest="SUPERFEST",u))(b||{}),q=(t=>(t.Exit="Exit",t.Join="Join",t))(q||{}),A=(a=>(a.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",a.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",a.NoNesting="NO_NESTING",a))(A||{}),I=(p=>(p.Apr="apr",p.BgtApr="bgtApr",p.Fees24h="fees24h",p.TotalLiquidity="totalLiquidity",p.TotalShares="totalShares",p.UserbalanceUsd="userbalanceUsd",p.Volume24h="volume24h",p))(I||{}),h=(t=>(t.Asc="asc",t.Desc="desc",t))(h||{}),_=(e=>(e.AllTime="ALL_TIME",e.NinetyDays="NINETY_DAYS",e.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",e.OneYear="ONE_YEAR",e.ThirtyDays="THIRTY_DAYS",e))(_||{}),D=(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))(D||{}),T=(a=>(a.AmountRemaining="amountRemaining",a.AmountRemainingUsd="amountRemainingUsd",a.IncentiveRate="incentiveRate",a))(T||{}),k=(t=>(t.Asc="asc",t.Desc="desc",t))(k||{}),M=(i=>(i.ActiveIncentivesRateUsd="activeIncentivesRateUsd",i.ActiveIncentivesValueUsd="activeIncentivesValueUsd",i.AllTimeBgtReceived="allTimeBGTReceived",i.Apr="apr",i.Apy="apy",i.BgtCapturePercentage="bgtCapturePercentage",i.Last24hBgtReceived="last24hBGTReceived",i.ProjectedApr="projectedApr",i))(M||{}),B=(t=>(t.Asc="asc",t.Desc="desc",t))(B||{}),v=(n=>(n.NinetyDays="NINETY_DAYS",n.SevenDays="SEVEN_DAYS",n.SixtyDays="SIXTY_DAYS",n.ThirtyDays="THIRTY_DAYS",n))(v||{}),w=(t=>(t.Day="DAY",t.Hour="HOUR",t))(w||{}),x=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(x||{}),V=(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(V||{}),C=(t=>(t.Deposit="DEPOSIT",t.WithdrawalCompleted="WITHDRAWAL_COMPLETED",t))(C||{}),R=(e=>(e.NinetyDay="NINETY_DAY",e.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",e.OneYear="ONE_YEAR",e.SevenDay="SEVEN_DAY",e.ThirtyDay="THIRTY_DAY",e))(R||{}),E=(a=>(a.Bpt="BPT",a.PhantomBpt="PHANTOM_BPT",a.WhiteListed="WHITE_LISTED",a))(E||{}),F=(S=>(S.Amount="amount",S))(F||{}),f=(t=>(t.Asc="asc",t.Desc="desc",t))(f||{}),U=(n=>(n.Inactive="INACTIVE",n.Offline="OFFLINE",n.Proposed="PROPOSED",n.Signed="SIGNED",n))(U||{}),N=(e=>(e.ActiveBoostAmount="activeBoostAmount",e.LatestBlock="latestBlock",e.LatestBlockTime="latestBlockTime",e.QueuedBoostAmount="queuedBoostAmount",e.QueuedDropBoostAmount="queuedDropBoostAmount",e))(N||{}),L=(t=>(t.Asc="asc",t.Desc="desc",t))(L||{}),H=(r=>(r.ActiveBoostAmount="activeBoostAmount",r.AllTimeDistributedBgtAmount="allTimeDistributedBGTAmount",r.AllTimeEarnedBgtAmount="allTimeEarnedBGTAmount",r.Apy="apy",r.BgtCapturePercentage="bgtCapturePercentage",r.BoostApr="boostApr",r.CommissionOnIncentives="commissionOnIncentives",r.LastDayDistributedBgtAmount="lastDayDistributedBGTAmount",r.LastDayEarnedBgtAmount="lastDayEarnedBGTAmount",r.QueuedBoostAmount="queuedBoostAmount",r.QueuedDropBoostAmount="queuedDropBoostAmount",r.RewardRate="rewardRate",r.StakedBeraAmount="stakedBeraAmount",r.UsersActiveBoostCount="usersActiveBoostCount",r.UsersQueuedBoostCount="usersQueuedBoostCount",r))(H||{}),W=(t=>(t.Asc="asc",t.Desc="desc",t))(W||{}),O=(n=>(n.NinetyDays="NINETY_DAYS",n.SevenDays="SEVEN_DAYS",n.SixtyDays="SIXTY_DAYS",n.ThirtyDays="THIRTY_DAYS",n))(O||{}),c=o`
|
|
2
2
|
fragment DynamicData on GqlPoolDynamicData {
|
|
3
3
|
totalShares
|
|
4
4
|
fees24h
|
|
@@ -196,4 +196,4 @@ ${X}`,at=o`
|
|
|
196
196
|
totalLiquidity
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
`,Z={possibleTypes:{GqlPoolAprValue:["GqlPoolAprRange","GqlPoolAprTotal"],GqlPoolBase:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"],GqlPoolEvent:["GqlPoolAddRemoveEventV3","GqlPoolSwapEventCowAmm","GqlPoolSwapEventV3"],GqlPoolFeaturedPoolGroupItem:["GqlFeaturePoolGroupItemExternalLink","GqlPoolMinimal"],GqlPoolNestedUnion:["GqlPoolComposableStableNested"],GqlPoolTokenBase:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolTokenComposableStableNestedUnion:["GqlPoolToken"],GqlPoolTokenUnion:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolUnion:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"]}},st=Z;export{c as DynamicData,lt as GetGlobalLiquidityAndSwapVolume,et as GetPool,rt as GetPoolEvents,ot as GetPoolHistoricalData,at as GetPools,nt as GetTokenCurrentPrices,m as GqlChain,d as GqlContentNewsItemSource,X as GqlPoolAddRemoveEventV3,g as GqlPoolAprItemType,G as GqlPoolEventType,
|
|
199
|
+
`,Z={possibleTypes:{GqlPoolAprValue:["GqlPoolAprRange","GqlPoolAprTotal"],GqlPoolBase:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"],GqlPoolEvent:["GqlPoolAddRemoveEventV3","GqlPoolSwapEventCowAmm","GqlPoolSwapEventV3"],GqlPoolFeaturedPoolGroupItem:["GqlFeaturePoolGroupItemExternalLink","GqlPoolMinimal"],GqlPoolNestedUnion:["GqlPoolComposableStableNested"],GqlPoolTokenBase:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolTokenComposableStableNestedUnion:["GqlPoolToken"],GqlPoolTokenUnion:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolUnion:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"]}},st=Z;export{c as DynamicData,lt as GetGlobalLiquidityAndSwapVolume,et as GetPool,rt as GetPoolEvents,ot as GetPoolHistoricalData,at as GetPools,nt as GetTokenCurrentPrices,m as GqlChain,d as GqlContentNewsItemSource,X as GqlPoolAddRemoveEventV3,g as GqlPoolAprItemType,G as GqlPoolEventType,P as GqlPoolEventsDataRange,b as GqlPoolFilterCategory,q as GqlPoolJoinExitType,A as GqlPoolNestingType,I as GqlPoolOrderBy,h as GqlPoolOrderDirection,_ as GqlPoolSnapshotDataRange,J as GqlPoolSwapEventCowAmm,z as GqlPoolSwapEventV3,D as GqlPoolType,T as GqlRewardVaultIncentiveOrderBy,k as GqlRewardVaultIncentiveOrderDirection,M as GqlRewardVaultOrderBy,B as GqlRewardVaultOrderDirection,v as GqlRewardVaultSnapshotDataRange,w as GqlRewardVaultSnapshotResolution,x as GqlSWberaVaultMetadataResolution,V as GqlSorSwapType,C as GqlStakeBeraVaultEventType,R as GqlTokenChartDataRange,E as GqlTokenType,F as GqlUserVaultDepositOrderBy,f as GqlUserVaultDepositOrderDirection,U as GqlValidatorBlockUptimeStatus,N as GqlValidatorBoostOrderBy,L as GqlValidatorBoostOrderDirection,H as GqlValidatorOrderBy,W as GqlValidatorOrderDirection,O as GqlVaultSnapshotDataRange,$ as MinimalPool,Y as MinimalPoolInList,j as PoolEvent,K as PoolHistoricalData,y as RewardVault,Q as UserBalance,st as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as graphql from 'graphql';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -5869,14 +5869,14 @@ type GetExploitedTokensQuery = {
|
|
|
5869
5869
|
} | null;
|
|
5870
5870
|
}>;
|
|
5871
5871
|
};
|
|
5872
|
-
declare const SubgraphPool:
|
|
5873
|
-
declare const SubgraphToken:
|
|
5874
|
-
declare const GetSubgraphPool:
|
|
5875
|
-
declare const GetToken:
|
|
5876
|
-
declare const GetTokens:
|
|
5877
|
-
declare const GetDedupedSubgraphPools:
|
|
5878
|
-
declare const GetTokenInformation:
|
|
5879
|
-
declare const GetExploitedTokens:
|
|
5872
|
+
declare const SubgraphPool: graphql.DocumentNode;
|
|
5873
|
+
declare const SubgraphToken: graphql.DocumentNode;
|
|
5874
|
+
declare const GetSubgraphPool: graphql.DocumentNode;
|
|
5875
|
+
declare const GetToken: graphql.DocumentNode;
|
|
5876
|
+
declare const GetTokens: graphql.DocumentNode;
|
|
5877
|
+
declare const GetDedupedSubgraphPools: graphql.DocumentNode;
|
|
5878
|
+
declare const GetTokenInformation: graphql.DocumentNode;
|
|
5879
|
+
declare const GetExploitedTokens: graphql.DocumentNode;
|
|
5880
5880
|
interface PossibleTypesResultData {
|
|
5881
5881
|
possibleTypes: {
|
|
5882
5882
|
[key: string]: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as graphql from 'graphql';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -5869,14 +5869,14 @@ type GetExploitedTokensQuery = {
|
|
|
5869
5869
|
} | null;
|
|
5870
5870
|
}>;
|
|
5871
5871
|
};
|
|
5872
|
-
declare const SubgraphPool:
|
|
5873
|
-
declare const SubgraphToken:
|
|
5874
|
-
declare const GetSubgraphPool:
|
|
5875
|
-
declare const GetToken:
|
|
5876
|
-
declare const GetTokens:
|
|
5877
|
-
declare const GetDedupedSubgraphPools:
|
|
5878
|
-
declare const GetTokenInformation:
|
|
5879
|
-
declare const GetExploitedTokens:
|
|
5872
|
+
declare const SubgraphPool: graphql.DocumentNode;
|
|
5873
|
+
declare const SubgraphToken: graphql.DocumentNode;
|
|
5874
|
+
declare const GetSubgraphPool: graphql.DocumentNode;
|
|
5875
|
+
declare const GetToken: graphql.DocumentNode;
|
|
5876
|
+
declare const GetTokens: graphql.DocumentNode;
|
|
5877
|
+
declare const GetDedupedSubgraphPools: graphql.DocumentNode;
|
|
5878
|
+
declare const GetTokenInformation: graphql.DocumentNode;
|
|
5879
|
+
declare const GetExploitedTokens: graphql.DocumentNode;
|
|
5880
5880
|
interface PossibleTypesResultData {
|
|
5881
5881
|
possibleTypes: {
|
|
5882
5882
|
[key: string]: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as graphql from 'graphql';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -1604,14 +1604,14 @@ type GetProposalQuery = {
|
|
|
1604
1604
|
};
|
|
1605
1605
|
} | null;
|
|
1606
1606
|
};
|
|
1607
|
-
declare const ProposalSelection:
|
|
1608
|
-
declare const ExecutableCallSubset:
|
|
1609
|
-
declare const ProposalVote:
|
|
1610
|
-
declare const ProposalWithVotes:
|
|
1611
|
-
declare const GetProposalVotes:
|
|
1612
|
-
declare const GetProposals:
|
|
1613
|
-
declare const SearchProposals:
|
|
1614
|
-
declare const GetProposal:
|
|
1607
|
+
declare const ProposalSelection: graphql.DocumentNode;
|
|
1608
|
+
declare const ExecutableCallSubset: graphql.DocumentNode;
|
|
1609
|
+
declare const ProposalVote: graphql.DocumentNode;
|
|
1610
|
+
declare const ProposalWithVotes: graphql.DocumentNode;
|
|
1611
|
+
declare const GetProposalVotes: graphql.DocumentNode;
|
|
1612
|
+
declare const GetProposals: graphql.DocumentNode;
|
|
1613
|
+
declare const SearchProposals: graphql.DocumentNode;
|
|
1614
|
+
declare const GetProposal: graphql.DocumentNode;
|
|
1615
1615
|
interface PossibleTypesResultData {
|
|
1616
1616
|
possibleTypes: {
|
|
1617
1617
|
[key: string]: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as graphql from 'graphql';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -1604,14 +1604,14 @@ type GetProposalQuery = {
|
|
|
1604
1604
|
};
|
|
1605
1605
|
} | null;
|
|
1606
1606
|
};
|
|
1607
|
-
declare const ProposalSelection:
|
|
1608
|
-
declare const ExecutableCallSubset:
|
|
1609
|
-
declare const ProposalVote:
|
|
1610
|
-
declare const ProposalWithVotes:
|
|
1611
|
-
declare const GetProposalVotes:
|
|
1612
|
-
declare const GetProposals:
|
|
1613
|
-
declare const SearchProposals:
|
|
1614
|
-
declare const GetProposal:
|
|
1607
|
+
declare const ProposalSelection: graphql.DocumentNode;
|
|
1608
|
+
declare const ExecutableCallSubset: graphql.DocumentNode;
|
|
1609
|
+
declare const ProposalVote: graphql.DocumentNode;
|
|
1610
|
+
declare const ProposalWithVotes: graphql.DocumentNode;
|
|
1611
|
+
declare const GetProposalVotes: graphql.DocumentNode;
|
|
1612
|
+
declare const GetProposals: graphql.DocumentNode;
|
|
1613
|
+
declare const SearchProposals: graphql.DocumentNode;
|
|
1614
|
+
declare const GetProposal: graphql.DocumentNode;
|
|
1615
1615
|
interface PossibleTypesResultData {
|
|
1616
1616
|
possibleTypes: {
|
|
1617
1617
|
[key: string]: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as graphql from 'graphql';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -917,15 +917,15 @@ type GetFirstHoneyTxnDateQuery = {
|
|
|
917
917
|
timestamp: any;
|
|
918
918
|
}>;
|
|
919
919
|
};
|
|
920
|
-
declare const HoneyTxnData:
|
|
921
|
-
declare const GetHoneyTxnByType:
|
|
922
|
-
declare const GetHoneyTxn:
|
|
923
|
-
declare const GetSupplyDay:
|
|
924
|
-
declare const GetSupplyHour:
|
|
925
|
-
declare const GetVolumeDay:
|
|
926
|
-
declare const GetVolumeHour:
|
|
927
|
-
declare const GetGlobalData:
|
|
928
|
-
declare const GetFirstHoneyTxnDate:
|
|
920
|
+
declare const HoneyTxnData: graphql.DocumentNode;
|
|
921
|
+
declare const GetHoneyTxnByType: graphql.DocumentNode;
|
|
922
|
+
declare const GetHoneyTxn: graphql.DocumentNode;
|
|
923
|
+
declare const GetSupplyDay: graphql.DocumentNode;
|
|
924
|
+
declare const GetSupplyHour: graphql.DocumentNode;
|
|
925
|
+
declare const GetVolumeDay: graphql.DocumentNode;
|
|
926
|
+
declare const GetVolumeHour: graphql.DocumentNode;
|
|
927
|
+
declare const GetGlobalData: graphql.DocumentNode;
|
|
928
|
+
declare const GetFirstHoneyTxnDate: graphql.DocumentNode;
|
|
929
929
|
interface PossibleTypesResultData {
|
|
930
930
|
possibleTypes: {
|
|
931
931
|
[key: string]: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as graphql from 'graphql';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -917,15 +917,15 @@ type GetFirstHoneyTxnDateQuery = {
|
|
|
917
917
|
timestamp: any;
|
|
918
918
|
}>;
|
|
919
919
|
};
|
|
920
|
-
declare const HoneyTxnData:
|
|
921
|
-
declare const GetHoneyTxnByType:
|
|
922
|
-
declare const GetHoneyTxn:
|
|
923
|
-
declare const GetSupplyDay:
|
|
924
|
-
declare const GetSupplyHour:
|
|
925
|
-
declare const GetVolumeDay:
|
|
926
|
-
declare const GetVolumeHour:
|
|
927
|
-
declare const GetGlobalData:
|
|
928
|
-
declare const GetFirstHoneyTxnDate:
|
|
920
|
+
declare const HoneyTxnData: graphql.DocumentNode;
|
|
921
|
+
declare const GetHoneyTxnByType: graphql.DocumentNode;
|
|
922
|
+
declare const GetHoneyTxn: graphql.DocumentNode;
|
|
923
|
+
declare const GetSupplyDay: graphql.DocumentNode;
|
|
924
|
+
declare const GetSupplyHour: graphql.DocumentNode;
|
|
925
|
+
declare const GetVolumeDay: graphql.DocumentNode;
|
|
926
|
+
declare const GetVolumeHour: graphql.DocumentNode;
|
|
927
|
+
declare const GetGlobalData: graphql.DocumentNode;
|
|
928
|
+
declare const GetFirstHoneyTxnDate: graphql.DocumentNode;
|
|
929
929
|
interface PossibleTypesResultData {
|
|
930
930
|
possibleTypes: {
|
|
931
931
|
[key: string]: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as graphql from 'graphql';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -1755,6 +1755,11 @@ declare enum GqlSorSwapType {
|
|
|
1755
1755
|
ExactIn = "EXACT_IN",
|
|
1756
1756
|
ExactOut = "EXACT_OUT"
|
|
1757
1757
|
}
|
|
1758
|
+
type GqlStakeBeraVaultEarnings = {
|
|
1759
|
+
__typename?: 'GqlStakeBeraVaultEarnings';
|
|
1760
|
+
earnings: Scalars['String']['output'];
|
|
1761
|
+
owner: Scalars['String']['output'];
|
|
1762
|
+
};
|
|
1758
1763
|
type GqlStakeBeraVaultEvent = {
|
|
1759
1764
|
__typename?: 'GqlStakeBeraVaultEvent';
|
|
1760
1765
|
_from: Scalars['String']['output'];
|
|
@@ -2292,6 +2297,7 @@ type Query = {
|
|
|
2292
2297
|
polGetRewardVaults: PaginatedRewardVaultsResponse;
|
|
2293
2298
|
polGetSWberaVaultMetadata: GqlSWberaVaultMetadata;
|
|
2294
2299
|
polGetSWberaVaultSnapshots: Array<GqlSWberaVaultSnapshot>;
|
|
2300
|
+
polGetStakeBeraVaultEarningsByOwner: GqlStakeBeraVaultEarnings;
|
|
2295
2301
|
polGetStakeBeraVaultEventsByOwner: Array<GqlStakeBeraVaultEvent>;
|
|
2296
2302
|
polGetTopVaultDeposits: Array<GqlUserVaultDepositMinimal>;
|
|
2297
2303
|
polGetUserVaultDeposits: PaginatedUserVaultDepositsResponse;
|
|
@@ -2440,6 +2446,9 @@ type QueryPolGetSWberaVaultSnapshotsArgs = {
|
|
|
2440
2446
|
chain: GqlChain;
|
|
2441
2447
|
range?: InputMaybe<GqlVaultSnapshotDataRange>;
|
|
2442
2448
|
};
|
|
2449
|
+
type QueryPolGetStakeBeraVaultEarningsByOwnerArgs = {
|
|
2450
|
+
owner: Scalars['String']['input'];
|
|
2451
|
+
};
|
|
2443
2452
|
type QueryPolGetStakeBeraVaultEventsByOwnerArgs = {
|
|
2444
2453
|
owner: Scalars['String']['input'];
|
|
2445
2454
|
};
|
|
@@ -3592,26 +3601,26 @@ type GetPolStakeBeraVaultEventsByOwnerQuery = {
|
|
|
3592
3601
|
_timestamp: number;
|
|
3593
3602
|
}>;
|
|
3594
3603
|
};
|
|
3595
|
-
declare const ApiValidatorMinimal:
|
|
3596
|
-
declare const ApiVaultIncentive:
|
|
3597
|
-
declare const ApiVault:
|
|
3598
|
-
declare const ApiRewardAllocationWeight:
|
|
3599
|
-
declare const ApiValidator:
|
|
3600
|
-
declare const ApiValidatorBlockUptime:
|
|
3601
|
-
declare const GetVaults:
|
|
3602
|
-
declare const GetValidator:
|
|
3603
|
-
declare const GetValidators:
|
|
3604
|
-
declare const GetVaultValidators:
|
|
3605
|
-
declare const GetRewardVault:
|
|
3606
|
-
declare const GlobalData:
|
|
3607
|
-
declare const GetUserVaults:
|
|
3608
|
-
declare const GetVaultHistory:
|
|
3609
|
-
declare const GetVaultDurations:
|
|
3610
|
-
declare const GetBoostDelay:
|
|
3611
|
-
declare const GetCommissionChangeDelay:
|
|
3612
|
-
declare const GetSWberaVaultMetadata:
|
|
3613
|
-
declare const GetSWberaVaultSnapshots:
|
|
3614
|
-
declare const GetPolStakeBeraVaultEventsByOwner:
|
|
3604
|
+
declare const ApiValidatorMinimal: graphql.DocumentNode;
|
|
3605
|
+
declare const ApiVaultIncentive: graphql.DocumentNode;
|
|
3606
|
+
declare const ApiVault: graphql.DocumentNode;
|
|
3607
|
+
declare const ApiRewardAllocationWeight: graphql.DocumentNode;
|
|
3608
|
+
declare const ApiValidator: graphql.DocumentNode;
|
|
3609
|
+
declare const ApiValidatorBlockUptime: graphql.DocumentNode;
|
|
3610
|
+
declare const GetVaults: graphql.DocumentNode;
|
|
3611
|
+
declare const GetValidator: graphql.DocumentNode;
|
|
3612
|
+
declare const GetValidators: graphql.DocumentNode;
|
|
3613
|
+
declare const GetVaultValidators: graphql.DocumentNode;
|
|
3614
|
+
declare const GetRewardVault: graphql.DocumentNode;
|
|
3615
|
+
declare const GlobalData: graphql.DocumentNode;
|
|
3616
|
+
declare const GetUserVaults: graphql.DocumentNode;
|
|
3617
|
+
declare const GetVaultHistory: graphql.DocumentNode;
|
|
3618
|
+
declare const GetVaultDurations: graphql.DocumentNode;
|
|
3619
|
+
declare const GetBoostDelay: graphql.DocumentNode;
|
|
3620
|
+
declare const GetCommissionChangeDelay: graphql.DocumentNode;
|
|
3621
|
+
declare const GetSWberaVaultMetadata: graphql.DocumentNode;
|
|
3622
|
+
declare const GetSWberaVaultSnapshots: graphql.DocumentNode;
|
|
3623
|
+
declare const GetPolStakeBeraVaultEventsByOwner: graphql.DocumentNode;
|
|
3615
3624
|
interface PossibleTypesResultData {
|
|
3616
3625
|
possibleTypes: {
|
|
3617
3626
|
[key: string]: string[];
|
|
@@ -3619,4 +3628,4 @@ interface PossibleTypesResultData {
|
|
|
3619
3628
|
}
|
|
3620
3629
|
declare const result: PossibleTypesResultData;
|
|
3621
3630
|
|
|
3622
|
-
export { ApiRewardAllocationWeight, type ApiRewardAllocationWeightFragment, ApiValidator, ApiValidatorBlockUptime, type ApiValidatorBlockUptimeFragment, type ApiValidatorFragment, ApiValidatorMinimal, type ApiValidatorMinimalFragment, ApiVault, type ApiVaultFragment, ApiVaultIncentive, type ApiVaultIncentiveFragment, type Exact, GetBoostDelay, type GetBoostDelayQuery, type GetBoostDelayQueryVariables, GetCommissionChangeDelay, type GetCommissionChangeDelayQuery, type GetCommissionChangeDelayQueryVariables, GetPolStakeBeraVaultEventsByOwner, type GetPolStakeBeraVaultEventsByOwnerQuery, type GetPolStakeBeraVaultEventsByOwnerQueryVariables, GetRewardVault, type GetRewardVaultQuery, type GetRewardVaultQueryVariables, GetSWberaVaultMetadata, type GetSWberaVaultMetadataQuery, type GetSWberaVaultMetadataQueryVariables, GetSWberaVaultSnapshots, type GetSWberaVaultSnapshotsQuery, type GetSWberaVaultSnapshotsQueryVariables, GetUserVaults, type GetUserVaultsQuery, type GetUserVaultsQueryVariables, GetValidator, type GetValidatorQuery, type GetValidatorQueryVariables, GetValidators, type GetValidatorsQuery, type GetValidatorsQueryVariables, GetVaultDurations, type GetVaultDurationsQuery, type GetVaultDurationsQueryVariables, 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 GqlContentNewsItem, GqlContentNewsItemSource, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlFeaturePoolGroupItemExternalLink, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, 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 GqlPoolFeaturedPool, type GqlPoolFeaturedPoolGroup, type GqlPoolFeaturedPoolGroupItem, type GqlPoolFilter, GqlPoolFilterCategory, type GqlPoolFx, type GqlPoolGyro, type GqlPoolInvestConfig, type GqlPoolInvestOption, type GqlPoolJoinExit, type GqlPoolJoinExitAmount, type GqlPoolJoinExitFilter, GqlPoolJoinExitType, type GqlPoolLiquidityBootstrapping, type GqlPoolMetaStable, type GqlPoolMinimal, type GqlPoolMutationResult, type GqlPoolNestedUnion, GqlPoolNestingType, GqlPoolOrderBy, GqlPoolOrderDirection, type GqlPoolSnapshot, GqlPoolSnapshotDataRange, type GqlPoolStable, type GqlPoolStableComposablePoolData, type GqlPoolSwap, 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 GqlStakeBeraVaultEvent, GqlStakeBeraVaultEventType, type GqlSwapCallDataInput, type GqlToken, type GqlTokenAmountHumanReadable, type GqlTokenCandlestickChartDataItem, GqlTokenChartDataRange, type GqlTokenData, type GqlTokenDynamicData, type GqlTokenMutationResult, type GqlTokenPrice, type GqlTokenPriceChartDataItem, GqlTokenType, type GqlUserBgtBalance, type GqlUserPoolBalance, type GqlUserSwapVolumeFilter, type GqlUserVaultDeposit, type GqlUserVaultDepositMinimal, GqlUserVaultDepositOrderBy, GqlUserVaultDepositOrderDirection, type GqlValidator, type GqlValidatorBlockUptime, GqlValidatorBlockUptimeStatus, type GqlValidatorBoost, type GqlValidatorBoostDelay, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type GqlValidatorCommissionDelay, type GqlValidatorCommissionHistory, type GqlValidatorDynamicData, type GqlValidatorFilter, type GqlValidatorMetadata, GqlValidatorOrderBy, GqlValidatorOrderDirection, type GqlValidatorRewardAllocationWeight, type GqlValidatorStats, type GqlVaultDurations, GqlVaultSnapshotDataRange, type Hook, type HookData, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, type Mutation, type MutationPoolDeletePoolArgs, type MutationPoolInitializeSnapshotsForPoolArgs, type MutationPoolLoadSnapshotsForPoolsArgs, type MutationPoolReloadAllPoolAprsArgs, type MutationPoolReloadPoolsArgs, type MutationPoolSyncAllCowSnapshotsArgs, type MutationPoolSyncLatestSnapshotsForAllPoolsArgs, type MutationPoolSyncPoolArgs, type MutationPoolUpdateAprsArgs, type MutationTokenDeleteTokenTypeArgs, type MutationTokenReloadErc4626TokensArgs, type MutationTokenReloadTokenPricesArgs, type MutationTokenSyncLatestFxPricesArgs, type MutationUserInitWalletBalancesForPoolArgs, type MutationUserSyncBalanceArgs, type PaginatedRewardVaultIncentivesResponse, type PaginatedRewardVaultsResponse, type PaginatedUserVaultDepositsResponse, type PaginatedValidatorBlockUptimesResponse, type PaginatedValidatorBoostsResponse, type PaginatedValidatorsResponse, type PossibleTypesResultData, type Query, type QueryContentGetNewsItemsArgs, type QueryHooksArgs, type QueryPolGetActiveIncentivesArgs, type QueryPolGetDefaultRewardAllocationsArgs, type QueryPolGetGlobalInfoArgs, type QueryPolGetRewardVaultArgs, type QueryPolGetRewardVaultSnapshotsArgs, type QueryPolGetRewardVaultsArgs, type QueryPolGetSWberaVaultMetadataArgs, type QueryPolGetSWberaVaultSnapshotsArgs, type QueryPolGetStakeBeraVaultEventsByOwnerArgs, type QueryPolGetTopVaultDepositsArgs, type QueryPolGetUserVaultDepositsArgs, type QueryPolGetValidatorArgs, type QueryPolGetValidatorBlockUptimesArgs, type QueryPolGetValidatorBoostsArgs, type QueryPolGetValidatorsArgs, type QueryPoolEventsArgs, type QueryPoolGetAggregatorPoolsArgs, type QueryPoolGetBatchSwapsArgs, type QueryPoolGetEventsArgs, type QueryPoolGetFeaturedPoolGroupsArgs, type QueryPoolGetFeaturedPoolsArgs, type QueryPoolGetJoinExitsArgs, type QueryPoolGetPoolArgs, type QueryPoolGetPoolsArgs, type QueryPoolGetPoolsCountArgs, type QueryPoolGetSnapshotsArgs, type QueryPoolGetSwapsArgs, type QueryPoolGetUserBalancesArgs, type QueryProtocolMetricsAggregatedArgs, type QueryProtocolMetricsChainArgs, type QuerySorGetSwapPathsArgs, type QuerySorGetSwapsArgs, type QueryTokenGetCandlestickChartDataArgs, type QueryTokenGetCurrentPriceArgs, type QueryTokenGetCurrentPricesArgs, type QueryTokenGetHistoricalPricesArgs, type QueryTokenGetPriceChartDataArgs, type QueryTokenGetProtocolTokenPriceArgs, type QueryTokenGetRelativePriceChartDataArgs, type QueryTokenGetTokenArgs, type QueryTokenGetTokenDataArgs, type QueryTokenGetTokenDynamicDataArgs, type QueryTokenGetTokensArgs, type QueryTokenGetTokensDataArgs, type QueryTokenGetTokensDynamicDataArgs, type QueryUserGetPoolBalancesArgs, type QueryUserGetPoolJoinExitsArgs, type QueryUserGetSwapsArgs, type QueryUserGetTopBgtBalanceArgs, type Scalars, type Token, result as default };
|
|
3631
|
+
export { ApiRewardAllocationWeight, type ApiRewardAllocationWeightFragment, ApiValidator, ApiValidatorBlockUptime, type ApiValidatorBlockUptimeFragment, type ApiValidatorFragment, ApiValidatorMinimal, type ApiValidatorMinimalFragment, ApiVault, type ApiVaultFragment, ApiVaultIncentive, type ApiVaultIncentiveFragment, type Exact, GetBoostDelay, type GetBoostDelayQuery, type GetBoostDelayQueryVariables, GetCommissionChangeDelay, type GetCommissionChangeDelayQuery, type GetCommissionChangeDelayQueryVariables, GetPolStakeBeraVaultEventsByOwner, type GetPolStakeBeraVaultEventsByOwnerQuery, type GetPolStakeBeraVaultEventsByOwnerQueryVariables, GetRewardVault, type GetRewardVaultQuery, type GetRewardVaultQueryVariables, GetSWberaVaultMetadata, type GetSWberaVaultMetadataQuery, type GetSWberaVaultMetadataQueryVariables, GetSWberaVaultSnapshots, type GetSWberaVaultSnapshotsQuery, type GetSWberaVaultSnapshotsQueryVariables, GetUserVaults, type GetUserVaultsQuery, type GetUserVaultsQueryVariables, GetValidator, type GetValidatorQuery, type GetValidatorQueryVariables, GetValidators, type GetValidatorsQuery, type GetValidatorsQueryVariables, GetVaultDurations, type GetVaultDurationsQuery, type GetVaultDurationsQueryVariables, 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 GqlContentNewsItem, GqlContentNewsItemSource, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlFeaturePoolGroupItemExternalLink, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, 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 GqlPoolFeaturedPool, type GqlPoolFeaturedPoolGroup, type GqlPoolFeaturedPoolGroupItem, type GqlPoolFilter, GqlPoolFilterCategory, type GqlPoolFx, type GqlPoolGyro, type GqlPoolInvestConfig, type GqlPoolInvestOption, type GqlPoolJoinExit, type GqlPoolJoinExitAmount, type GqlPoolJoinExitFilter, GqlPoolJoinExitType, type GqlPoolLiquidityBootstrapping, type GqlPoolMetaStable, type GqlPoolMinimal, type GqlPoolMutationResult, type GqlPoolNestedUnion, GqlPoolNestingType, GqlPoolOrderBy, GqlPoolOrderDirection, type GqlPoolSnapshot, GqlPoolSnapshotDataRange, type GqlPoolStable, type GqlPoolStableComposablePoolData, type GqlPoolSwap, 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 GqlStakeBeraVaultEarnings, type GqlStakeBeraVaultEvent, GqlStakeBeraVaultEventType, type GqlSwapCallDataInput, type GqlToken, type GqlTokenAmountHumanReadable, type GqlTokenCandlestickChartDataItem, GqlTokenChartDataRange, type GqlTokenData, type GqlTokenDynamicData, type GqlTokenMutationResult, type GqlTokenPrice, type GqlTokenPriceChartDataItem, GqlTokenType, type GqlUserBgtBalance, type GqlUserPoolBalance, type GqlUserSwapVolumeFilter, type GqlUserVaultDeposit, type GqlUserVaultDepositMinimal, GqlUserVaultDepositOrderBy, GqlUserVaultDepositOrderDirection, type GqlValidator, type GqlValidatorBlockUptime, GqlValidatorBlockUptimeStatus, type GqlValidatorBoost, type GqlValidatorBoostDelay, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type GqlValidatorCommissionDelay, type GqlValidatorCommissionHistory, type GqlValidatorDynamicData, type GqlValidatorFilter, type GqlValidatorMetadata, GqlValidatorOrderBy, GqlValidatorOrderDirection, type GqlValidatorRewardAllocationWeight, type GqlValidatorStats, type GqlVaultDurations, GqlVaultSnapshotDataRange, type Hook, type HookData, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, type Mutation, type MutationPoolDeletePoolArgs, type MutationPoolInitializeSnapshotsForPoolArgs, type MutationPoolLoadSnapshotsForPoolsArgs, type MutationPoolReloadAllPoolAprsArgs, type MutationPoolReloadPoolsArgs, type MutationPoolSyncAllCowSnapshotsArgs, type MutationPoolSyncLatestSnapshotsForAllPoolsArgs, type MutationPoolSyncPoolArgs, type MutationPoolUpdateAprsArgs, type MutationTokenDeleteTokenTypeArgs, type MutationTokenReloadErc4626TokensArgs, type MutationTokenReloadTokenPricesArgs, type MutationTokenSyncLatestFxPricesArgs, type MutationUserInitWalletBalancesForPoolArgs, type MutationUserSyncBalanceArgs, type PaginatedRewardVaultIncentivesResponse, type PaginatedRewardVaultsResponse, type PaginatedUserVaultDepositsResponse, type PaginatedValidatorBlockUptimesResponse, type PaginatedValidatorBoostsResponse, type PaginatedValidatorsResponse, type PossibleTypesResultData, type Query, type QueryContentGetNewsItemsArgs, type QueryHooksArgs, type QueryPolGetActiveIncentivesArgs, type QueryPolGetDefaultRewardAllocationsArgs, type QueryPolGetGlobalInfoArgs, type QueryPolGetRewardVaultArgs, type QueryPolGetRewardVaultSnapshotsArgs, type QueryPolGetRewardVaultsArgs, type QueryPolGetSWberaVaultMetadataArgs, type QueryPolGetSWberaVaultSnapshotsArgs, type QueryPolGetStakeBeraVaultEarningsByOwnerArgs, type QueryPolGetStakeBeraVaultEventsByOwnerArgs, type QueryPolGetTopVaultDepositsArgs, type QueryPolGetUserVaultDepositsArgs, type QueryPolGetValidatorArgs, type QueryPolGetValidatorBlockUptimesArgs, type QueryPolGetValidatorBoostsArgs, type QueryPolGetValidatorsArgs, type QueryPoolEventsArgs, type QueryPoolGetAggregatorPoolsArgs, type QueryPoolGetBatchSwapsArgs, type QueryPoolGetEventsArgs, type QueryPoolGetFeaturedPoolGroupsArgs, type QueryPoolGetFeaturedPoolsArgs, type QueryPoolGetJoinExitsArgs, type QueryPoolGetPoolArgs, type QueryPoolGetPoolsArgs, type QueryPoolGetPoolsCountArgs, type QueryPoolGetSnapshotsArgs, type QueryPoolGetSwapsArgs, type QueryPoolGetUserBalancesArgs, type QueryProtocolMetricsAggregatedArgs, type QueryProtocolMetricsChainArgs, type QuerySorGetSwapPathsArgs, type QuerySorGetSwapsArgs, type QueryTokenGetCandlestickChartDataArgs, type QueryTokenGetCurrentPriceArgs, type QueryTokenGetCurrentPricesArgs, type QueryTokenGetHistoricalPricesArgs, type QueryTokenGetPriceChartDataArgs, type QueryTokenGetProtocolTokenPriceArgs, type QueryTokenGetRelativePriceChartDataArgs, type QueryTokenGetTokenArgs, type QueryTokenGetTokenDataArgs, type QueryTokenGetTokenDynamicDataArgs, type QueryTokenGetTokensArgs, type QueryTokenGetTokensDataArgs, type QueryTokenGetTokensDynamicDataArgs, type QueryUserGetPoolBalancesArgs, type QueryUserGetPoolJoinExitsArgs, type QueryUserGetSwapsArgs, type QueryUserGetTopBgtBalanceArgs, type Scalars, type Token, result as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as graphql from 'graphql';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -1755,6 +1755,11 @@ declare enum GqlSorSwapType {
|
|
|
1755
1755
|
ExactIn = "EXACT_IN",
|
|
1756
1756
|
ExactOut = "EXACT_OUT"
|
|
1757
1757
|
}
|
|
1758
|
+
type GqlStakeBeraVaultEarnings = {
|
|
1759
|
+
__typename?: 'GqlStakeBeraVaultEarnings';
|
|
1760
|
+
earnings: Scalars['String']['output'];
|
|
1761
|
+
owner: Scalars['String']['output'];
|
|
1762
|
+
};
|
|
1758
1763
|
type GqlStakeBeraVaultEvent = {
|
|
1759
1764
|
__typename?: 'GqlStakeBeraVaultEvent';
|
|
1760
1765
|
_from: Scalars['String']['output'];
|
|
@@ -2292,6 +2297,7 @@ type Query = {
|
|
|
2292
2297
|
polGetRewardVaults: PaginatedRewardVaultsResponse;
|
|
2293
2298
|
polGetSWberaVaultMetadata: GqlSWberaVaultMetadata;
|
|
2294
2299
|
polGetSWberaVaultSnapshots: Array<GqlSWberaVaultSnapshot>;
|
|
2300
|
+
polGetStakeBeraVaultEarningsByOwner: GqlStakeBeraVaultEarnings;
|
|
2295
2301
|
polGetStakeBeraVaultEventsByOwner: Array<GqlStakeBeraVaultEvent>;
|
|
2296
2302
|
polGetTopVaultDeposits: Array<GqlUserVaultDepositMinimal>;
|
|
2297
2303
|
polGetUserVaultDeposits: PaginatedUserVaultDepositsResponse;
|
|
@@ -2440,6 +2446,9 @@ type QueryPolGetSWberaVaultSnapshotsArgs = {
|
|
|
2440
2446
|
chain: GqlChain;
|
|
2441
2447
|
range?: InputMaybe<GqlVaultSnapshotDataRange>;
|
|
2442
2448
|
};
|
|
2449
|
+
type QueryPolGetStakeBeraVaultEarningsByOwnerArgs = {
|
|
2450
|
+
owner: Scalars['String']['input'];
|
|
2451
|
+
};
|
|
2443
2452
|
type QueryPolGetStakeBeraVaultEventsByOwnerArgs = {
|
|
2444
2453
|
owner: Scalars['String']['input'];
|
|
2445
2454
|
};
|
|
@@ -3592,26 +3601,26 @@ type GetPolStakeBeraVaultEventsByOwnerQuery = {
|
|
|
3592
3601
|
_timestamp: number;
|
|
3593
3602
|
}>;
|
|
3594
3603
|
};
|
|
3595
|
-
declare const ApiValidatorMinimal:
|
|
3596
|
-
declare const ApiVaultIncentive:
|
|
3597
|
-
declare const ApiVault:
|
|
3598
|
-
declare const ApiRewardAllocationWeight:
|
|
3599
|
-
declare const ApiValidator:
|
|
3600
|
-
declare const ApiValidatorBlockUptime:
|
|
3601
|
-
declare const GetVaults:
|
|
3602
|
-
declare const GetValidator:
|
|
3603
|
-
declare const GetValidators:
|
|
3604
|
-
declare const GetVaultValidators:
|
|
3605
|
-
declare const GetRewardVault:
|
|
3606
|
-
declare const GlobalData:
|
|
3607
|
-
declare const GetUserVaults:
|
|
3608
|
-
declare const GetVaultHistory:
|
|
3609
|
-
declare const GetVaultDurations:
|
|
3610
|
-
declare const GetBoostDelay:
|
|
3611
|
-
declare const GetCommissionChangeDelay:
|
|
3612
|
-
declare const GetSWberaVaultMetadata:
|
|
3613
|
-
declare const GetSWberaVaultSnapshots:
|
|
3614
|
-
declare const GetPolStakeBeraVaultEventsByOwner:
|
|
3604
|
+
declare const ApiValidatorMinimal: graphql.DocumentNode;
|
|
3605
|
+
declare const ApiVaultIncentive: graphql.DocumentNode;
|
|
3606
|
+
declare const ApiVault: graphql.DocumentNode;
|
|
3607
|
+
declare const ApiRewardAllocationWeight: graphql.DocumentNode;
|
|
3608
|
+
declare const ApiValidator: graphql.DocumentNode;
|
|
3609
|
+
declare const ApiValidatorBlockUptime: graphql.DocumentNode;
|
|
3610
|
+
declare const GetVaults: graphql.DocumentNode;
|
|
3611
|
+
declare const GetValidator: graphql.DocumentNode;
|
|
3612
|
+
declare const GetValidators: graphql.DocumentNode;
|
|
3613
|
+
declare const GetVaultValidators: graphql.DocumentNode;
|
|
3614
|
+
declare const GetRewardVault: graphql.DocumentNode;
|
|
3615
|
+
declare const GlobalData: graphql.DocumentNode;
|
|
3616
|
+
declare const GetUserVaults: graphql.DocumentNode;
|
|
3617
|
+
declare const GetVaultHistory: graphql.DocumentNode;
|
|
3618
|
+
declare const GetVaultDurations: graphql.DocumentNode;
|
|
3619
|
+
declare const GetBoostDelay: graphql.DocumentNode;
|
|
3620
|
+
declare const GetCommissionChangeDelay: graphql.DocumentNode;
|
|
3621
|
+
declare const GetSWberaVaultMetadata: graphql.DocumentNode;
|
|
3622
|
+
declare const GetSWberaVaultSnapshots: graphql.DocumentNode;
|
|
3623
|
+
declare const GetPolStakeBeraVaultEventsByOwner: graphql.DocumentNode;
|
|
3615
3624
|
interface PossibleTypesResultData {
|
|
3616
3625
|
possibleTypes: {
|
|
3617
3626
|
[key: string]: string[];
|
|
@@ -3619,4 +3628,4 @@ interface PossibleTypesResultData {
|
|
|
3619
3628
|
}
|
|
3620
3629
|
declare const result: PossibleTypesResultData;
|
|
3621
3630
|
|
|
3622
|
-
export { ApiRewardAllocationWeight, type ApiRewardAllocationWeightFragment, ApiValidator, ApiValidatorBlockUptime, type ApiValidatorBlockUptimeFragment, type ApiValidatorFragment, ApiValidatorMinimal, type ApiValidatorMinimalFragment, ApiVault, type ApiVaultFragment, ApiVaultIncentive, type ApiVaultIncentiveFragment, type Exact, GetBoostDelay, type GetBoostDelayQuery, type GetBoostDelayQueryVariables, GetCommissionChangeDelay, type GetCommissionChangeDelayQuery, type GetCommissionChangeDelayQueryVariables, GetPolStakeBeraVaultEventsByOwner, type GetPolStakeBeraVaultEventsByOwnerQuery, type GetPolStakeBeraVaultEventsByOwnerQueryVariables, GetRewardVault, type GetRewardVaultQuery, type GetRewardVaultQueryVariables, GetSWberaVaultMetadata, type GetSWberaVaultMetadataQuery, type GetSWberaVaultMetadataQueryVariables, GetSWberaVaultSnapshots, type GetSWberaVaultSnapshotsQuery, type GetSWberaVaultSnapshotsQueryVariables, GetUserVaults, type GetUserVaultsQuery, type GetUserVaultsQueryVariables, GetValidator, type GetValidatorQuery, type GetValidatorQueryVariables, GetValidators, type GetValidatorsQuery, type GetValidatorsQueryVariables, GetVaultDurations, type GetVaultDurationsQuery, type GetVaultDurationsQueryVariables, 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 GqlContentNewsItem, GqlContentNewsItemSource, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlFeaturePoolGroupItemExternalLink, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, 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 GqlPoolFeaturedPool, type GqlPoolFeaturedPoolGroup, type GqlPoolFeaturedPoolGroupItem, type GqlPoolFilter, GqlPoolFilterCategory, type GqlPoolFx, type GqlPoolGyro, type GqlPoolInvestConfig, type GqlPoolInvestOption, type GqlPoolJoinExit, type GqlPoolJoinExitAmount, type GqlPoolJoinExitFilter, GqlPoolJoinExitType, type GqlPoolLiquidityBootstrapping, type GqlPoolMetaStable, type GqlPoolMinimal, type GqlPoolMutationResult, type GqlPoolNestedUnion, GqlPoolNestingType, GqlPoolOrderBy, GqlPoolOrderDirection, type GqlPoolSnapshot, GqlPoolSnapshotDataRange, type GqlPoolStable, type GqlPoolStableComposablePoolData, type GqlPoolSwap, 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 GqlStakeBeraVaultEvent, GqlStakeBeraVaultEventType, type GqlSwapCallDataInput, type GqlToken, type GqlTokenAmountHumanReadable, type GqlTokenCandlestickChartDataItem, GqlTokenChartDataRange, type GqlTokenData, type GqlTokenDynamicData, type GqlTokenMutationResult, type GqlTokenPrice, type GqlTokenPriceChartDataItem, GqlTokenType, type GqlUserBgtBalance, type GqlUserPoolBalance, type GqlUserSwapVolumeFilter, type GqlUserVaultDeposit, type GqlUserVaultDepositMinimal, GqlUserVaultDepositOrderBy, GqlUserVaultDepositOrderDirection, type GqlValidator, type GqlValidatorBlockUptime, GqlValidatorBlockUptimeStatus, type GqlValidatorBoost, type GqlValidatorBoostDelay, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type GqlValidatorCommissionDelay, type GqlValidatorCommissionHistory, type GqlValidatorDynamicData, type GqlValidatorFilter, type GqlValidatorMetadata, GqlValidatorOrderBy, GqlValidatorOrderDirection, type GqlValidatorRewardAllocationWeight, type GqlValidatorStats, type GqlVaultDurations, GqlVaultSnapshotDataRange, type Hook, type HookData, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, type Mutation, type MutationPoolDeletePoolArgs, type MutationPoolInitializeSnapshotsForPoolArgs, type MutationPoolLoadSnapshotsForPoolsArgs, type MutationPoolReloadAllPoolAprsArgs, type MutationPoolReloadPoolsArgs, type MutationPoolSyncAllCowSnapshotsArgs, type MutationPoolSyncLatestSnapshotsForAllPoolsArgs, type MutationPoolSyncPoolArgs, type MutationPoolUpdateAprsArgs, type MutationTokenDeleteTokenTypeArgs, type MutationTokenReloadErc4626TokensArgs, type MutationTokenReloadTokenPricesArgs, type MutationTokenSyncLatestFxPricesArgs, type MutationUserInitWalletBalancesForPoolArgs, type MutationUserSyncBalanceArgs, type PaginatedRewardVaultIncentivesResponse, type PaginatedRewardVaultsResponse, type PaginatedUserVaultDepositsResponse, type PaginatedValidatorBlockUptimesResponse, type PaginatedValidatorBoostsResponse, type PaginatedValidatorsResponse, type PossibleTypesResultData, type Query, type QueryContentGetNewsItemsArgs, type QueryHooksArgs, type QueryPolGetActiveIncentivesArgs, type QueryPolGetDefaultRewardAllocationsArgs, type QueryPolGetGlobalInfoArgs, type QueryPolGetRewardVaultArgs, type QueryPolGetRewardVaultSnapshotsArgs, type QueryPolGetRewardVaultsArgs, type QueryPolGetSWberaVaultMetadataArgs, type QueryPolGetSWberaVaultSnapshotsArgs, type QueryPolGetStakeBeraVaultEventsByOwnerArgs, type QueryPolGetTopVaultDepositsArgs, type QueryPolGetUserVaultDepositsArgs, type QueryPolGetValidatorArgs, type QueryPolGetValidatorBlockUptimesArgs, type QueryPolGetValidatorBoostsArgs, type QueryPolGetValidatorsArgs, type QueryPoolEventsArgs, type QueryPoolGetAggregatorPoolsArgs, type QueryPoolGetBatchSwapsArgs, type QueryPoolGetEventsArgs, type QueryPoolGetFeaturedPoolGroupsArgs, type QueryPoolGetFeaturedPoolsArgs, type QueryPoolGetJoinExitsArgs, type QueryPoolGetPoolArgs, type QueryPoolGetPoolsArgs, type QueryPoolGetPoolsCountArgs, type QueryPoolGetSnapshotsArgs, type QueryPoolGetSwapsArgs, type QueryPoolGetUserBalancesArgs, type QueryProtocolMetricsAggregatedArgs, type QueryProtocolMetricsChainArgs, type QuerySorGetSwapPathsArgs, type QuerySorGetSwapsArgs, type QueryTokenGetCandlestickChartDataArgs, type QueryTokenGetCurrentPriceArgs, type QueryTokenGetCurrentPricesArgs, type QueryTokenGetHistoricalPricesArgs, type QueryTokenGetPriceChartDataArgs, type QueryTokenGetProtocolTokenPriceArgs, type QueryTokenGetRelativePriceChartDataArgs, type QueryTokenGetTokenArgs, type QueryTokenGetTokenDataArgs, type QueryTokenGetTokenDynamicDataArgs, type QueryTokenGetTokensArgs, type QueryTokenGetTokensDataArgs, type QueryTokenGetTokensDynamicDataArgs, type QueryUserGetPoolBalancesArgs, type QueryUserGetPoolJoinExitsArgs, type QueryUserGetSwapsArgs, type QueryUserGetTopBgtBalanceArgs, type Scalars, type Token, result as default };
|
|
3631
|
+
export { ApiRewardAllocationWeight, type ApiRewardAllocationWeightFragment, ApiValidator, ApiValidatorBlockUptime, type ApiValidatorBlockUptimeFragment, type ApiValidatorFragment, ApiValidatorMinimal, type ApiValidatorMinimalFragment, ApiVault, type ApiVaultFragment, ApiVaultIncentive, type ApiVaultIncentiveFragment, type Exact, GetBoostDelay, type GetBoostDelayQuery, type GetBoostDelayQueryVariables, GetCommissionChangeDelay, type GetCommissionChangeDelayQuery, type GetCommissionChangeDelayQueryVariables, GetPolStakeBeraVaultEventsByOwner, type GetPolStakeBeraVaultEventsByOwnerQuery, type GetPolStakeBeraVaultEventsByOwnerQueryVariables, GetRewardVault, type GetRewardVaultQuery, type GetRewardVaultQueryVariables, GetSWberaVaultMetadata, type GetSWberaVaultMetadataQuery, type GetSWberaVaultMetadataQueryVariables, GetSWberaVaultSnapshots, type GetSWberaVaultSnapshotsQuery, type GetSWberaVaultSnapshotsQueryVariables, GetUserVaults, type GetUserVaultsQuery, type GetUserVaultsQueryVariables, GetValidator, type GetValidatorQuery, type GetValidatorQueryVariables, GetValidators, type GetValidatorsQuery, type GetValidatorsQueryVariables, GetVaultDurations, type GetVaultDurationsQuery, type GetVaultDurationsQueryVariables, 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 GqlContentNewsItem, GqlContentNewsItemSource, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlFeaturePoolGroupItemExternalLink, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, 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 GqlPoolFeaturedPool, type GqlPoolFeaturedPoolGroup, type GqlPoolFeaturedPoolGroupItem, type GqlPoolFilter, GqlPoolFilterCategory, type GqlPoolFx, type GqlPoolGyro, type GqlPoolInvestConfig, type GqlPoolInvestOption, type GqlPoolJoinExit, type GqlPoolJoinExitAmount, type GqlPoolJoinExitFilter, GqlPoolJoinExitType, type GqlPoolLiquidityBootstrapping, type GqlPoolMetaStable, type GqlPoolMinimal, type GqlPoolMutationResult, type GqlPoolNestedUnion, GqlPoolNestingType, GqlPoolOrderBy, GqlPoolOrderDirection, type GqlPoolSnapshot, GqlPoolSnapshotDataRange, type GqlPoolStable, type GqlPoolStableComposablePoolData, type GqlPoolSwap, 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 GqlStakeBeraVaultEarnings, type GqlStakeBeraVaultEvent, GqlStakeBeraVaultEventType, type GqlSwapCallDataInput, type GqlToken, type GqlTokenAmountHumanReadable, type GqlTokenCandlestickChartDataItem, GqlTokenChartDataRange, type GqlTokenData, type GqlTokenDynamicData, type GqlTokenMutationResult, type GqlTokenPrice, type GqlTokenPriceChartDataItem, GqlTokenType, type GqlUserBgtBalance, type GqlUserPoolBalance, type GqlUserSwapVolumeFilter, type GqlUserVaultDeposit, type GqlUserVaultDepositMinimal, GqlUserVaultDepositOrderBy, GqlUserVaultDepositOrderDirection, type GqlValidator, type GqlValidatorBlockUptime, GqlValidatorBlockUptimeStatus, type GqlValidatorBoost, type GqlValidatorBoostDelay, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type GqlValidatorCommissionDelay, type GqlValidatorCommissionHistory, type GqlValidatorDynamicData, type GqlValidatorFilter, type GqlValidatorMetadata, GqlValidatorOrderBy, GqlValidatorOrderDirection, type GqlValidatorRewardAllocationWeight, type GqlValidatorStats, type GqlVaultDurations, GqlVaultSnapshotDataRange, type Hook, type HookData, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, type Mutation, type MutationPoolDeletePoolArgs, type MutationPoolInitializeSnapshotsForPoolArgs, type MutationPoolLoadSnapshotsForPoolsArgs, type MutationPoolReloadAllPoolAprsArgs, type MutationPoolReloadPoolsArgs, type MutationPoolSyncAllCowSnapshotsArgs, type MutationPoolSyncLatestSnapshotsForAllPoolsArgs, type MutationPoolSyncPoolArgs, type MutationPoolUpdateAprsArgs, type MutationTokenDeleteTokenTypeArgs, type MutationTokenReloadErc4626TokensArgs, type MutationTokenReloadTokenPricesArgs, type MutationTokenSyncLatestFxPricesArgs, type MutationUserInitWalletBalancesForPoolArgs, type MutationUserSyncBalanceArgs, type PaginatedRewardVaultIncentivesResponse, type PaginatedRewardVaultsResponse, type PaginatedUserVaultDepositsResponse, type PaginatedValidatorBlockUptimesResponse, type PaginatedValidatorBoostsResponse, type PaginatedValidatorsResponse, type PossibleTypesResultData, type Query, type QueryContentGetNewsItemsArgs, type QueryHooksArgs, type QueryPolGetActiveIncentivesArgs, type QueryPolGetDefaultRewardAllocationsArgs, type QueryPolGetGlobalInfoArgs, type QueryPolGetRewardVaultArgs, type QueryPolGetRewardVaultSnapshotsArgs, type QueryPolGetRewardVaultsArgs, type QueryPolGetSWberaVaultMetadataArgs, type QueryPolGetSWberaVaultSnapshotsArgs, type QueryPolGetStakeBeraVaultEarningsByOwnerArgs, type QueryPolGetStakeBeraVaultEventsByOwnerArgs, type QueryPolGetTopVaultDepositsArgs, type QueryPolGetUserVaultDepositsArgs, type QueryPolGetValidatorArgs, type QueryPolGetValidatorBlockUptimesArgs, type QueryPolGetValidatorBoostsArgs, type QueryPolGetValidatorsArgs, type QueryPoolEventsArgs, type QueryPoolGetAggregatorPoolsArgs, type QueryPoolGetBatchSwapsArgs, type QueryPoolGetEventsArgs, type QueryPoolGetFeaturedPoolGroupsArgs, type QueryPoolGetFeaturedPoolsArgs, type QueryPoolGetJoinExitsArgs, type QueryPoolGetPoolArgs, type QueryPoolGetPoolsArgs, type QueryPoolGetPoolsCountArgs, type QueryPoolGetSnapshotsArgs, type QueryPoolGetSwapsArgs, type QueryPoolGetUserBalancesArgs, type QueryProtocolMetricsAggregatedArgs, type QueryProtocolMetricsChainArgs, type QuerySorGetSwapPathsArgs, type QuerySorGetSwapsArgs, type QueryTokenGetCandlestickChartDataArgs, type QueryTokenGetCurrentPriceArgs, type QueryTokenGetCurrentPricesArgs, type QueryTokenGetHistoricalPricesArgs, type QueryTokenGetPriceChartDataArgs, type QueryTokenGetProtocolTokenPriceArgs, type QueryTokenGetRelativePriceChartDataArgs, type QueryTokenGetTokenArgs, type QueryTokenGetTokenDataArgs, type QueryTokenGetTokenDynamicDataArgs, type QueryTokenGetTokensArgs, type QueryTokenGetTokensDataArgs, type QueryTokenGetTokensDynamicDataArgs, type QueryUserGetPoolBalancesArgs, type QueryUserGetPoolJoinExitsArgs, type QueryUserGetSwapsArgs, type QueryUserGetTopBgtBalanceArgs, type Scalars, type Token, result as default };
|
package/dist/pol/api.codegen.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _client = require('@apollo/client');var d=(a=>(a.Bartio="BARTIO",a.Berachain="BERACHAIN",a.Cartio="CARTIO",a))(d||{}),m= exports.GqlContentNewsItemSource =(a=>(a.Discord="discord",a.Medium="medium",a.Twitter="twitter",a))(m||{}),G= exports.GqlPoolAprItemType =(i=>(i.Aura="AURA",i.IbYield="IB_YIELD",i.Locking="LOCKING",i.MabeetsEmissions="MABEETS_EMISSIONS",i.Merkl="MERKL",i.Nested="NESTED",i.Staking="STAKING",i.StakingBoost="STAKING_BOOST",i.Surplus="SURPLUS",i.SwapFee="SWAP_FEE",i.VebalEmissions="VEBAL_EMISSIONS",i.Voting="VOTING",i))(G||{}),A= exports.GqlPoolEventType =(a=>(a.Add="ADD",a.Remove="REMOVE",a.Swap="SWAP",a))(A||{}),b= exports.GqlPoolEventsDataRange =(a=>(a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(b||{}),I= exports.GqlPoolFilterCategory =(s=>(s.BlackListed="BLACK_LISTED",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))(I||{}),q= exports.GqlPoolJoinExitType =(t=>(t.Exit="Exit",t.Join="Join",t))(q||{}),P= exports.GqlPoolNestingType =(a=>(a.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",a.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",a.NoNesting="NO_NESTING",a))(P||{}),h= exports.GqlPoolOrderBy =(p=>(p.Apr="apr",p.BgtApr="bgtApr",p.Fees24h="fees24h",p.TotalLiquidity="totalLiquidity",p.TotalShares="totalShares",p.UserbalanceUsd="userbalanceUsd",p.Volume24h="volume24h",p))(h||{}),k= exports.GqlPoolOrderDirection =(t=>(t.Asc="asc",t.Desc="desc",t))(k||{}),B= exports.GqlPoolSnapshotDataRange =(r=>(r.AllTime="ALL_TIME",r.NinetyDays="NINETY_DAYS",r.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",r.OneYear="ONE_YEAR",r.ThirtyDays="THIRTY_DAYS",r))(B||{}),D= exports.GqlPoolType =(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))(D||{}),_= exports.GqlRewardVaultIncentiveOrderBy =(a=>(a.AmountRemaining="amountRemaining",a.AmountRemainingUsd="amountRemainingUsd",a.IncentiveRate="incentiveRate",a))(_||{}),v= exports.GqlRewardVaultIncentiveOrderDirection =(t=>(t.Asc="asc",t.Desc="desc",t))(v||{}),M= exports.GqlRewardVaultOrderBy =(u=>(u.ActiveIncentivesRateUsd="activeIncentivesRateUsd",u.ActiveIncentivesValueUsd="activeIncentivesValueUsd",u.AllTimeBgtReceived="allTimeBGTReceived",u.Apr="apr",u.Apy="apy",u.BgtCapturePercentage="bgtCapturePercentage",u.Last24hBgtReceived="last24hBGTReceived",u.ProjectedApr="projectedApr",u))(M||{}),T= exports.GqlRewardVaultOrderDirection =(t=>(t.Asc="asc",t.Desc="desc",t))(T||{}),V= exports.GqlRewardVaultSnapshotDataRange =(n=>(n.NinetyDays="NINETY_DAYS",n.SevenDays="SEVEN_DAYS",n.SixtyDays="SIXTY_DAYS",n.ThirtyDays="THIRTY_DAYS",n))(V||{}),w= exports.GqlRewardVaultSnapshotResolution =(t=>(t.Day="DAY",t.Hour="HOUR",t))(w||{}),
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _client = require('@apollo/client');var d=(a=>(a.Bartio="BARTIO",a.Berachain="BERACHAIN",a.Cartio="CARTIO",a))(d||{}),m= exports.GqlContentNewsItemSource =(a=>(a.Discord="discord",a.Medium="medium",a.Twitter="twitter",a))(m||{}),G= exports.GqlPoolAprItemType =(i=>(i.Aura="AURA",i.IbYield="IB_YIELD",i.Locking="LOCKING",i.MabeetsEmissions="MABEETS_EMISSIONS",i.Merkl="MERKL",i.Nested="NESTED",i.Staking="STAKING",i.StakingBoost="STAKING_BOOST",i.Surplus="SURPLUS",i.SwapFee="SWAP_FEE",i.VebalEmissions="VEBAL_EMISSIONS",i.Voting="VOTING",i))(G||{}),A= exports.GqlPoolEventType =(a=>(a.Add="ADD",a.Remove="REMOVE",a.Swap="SWAP",a))(A||{}),b= exports.GqlPoolEventsDataRange =(a=>(a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(b||{}),I= exports.GqlPoolFilterCategory =(s=>(s.BlackListed="BLACK_LISTED",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))(I||{}),q= exports.GqlPoolJoinExitType =(t=>(t.Exit="Exit",t.Join="Join",t))(q||{}),P= exports.GqlPoolNestingType =(a=>(a.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",a.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",a.NoNesting="NO_NESTING",a))(P||{}),h= exports.GqlPoolOrderBy =(p=>(p.Apr="apr",p.BgtApr="bgtApr",p.Fees24h="fees24h",p.TotalLiquidity="totalLiquidity",p.TotalShares="totalShares",p.UserbalanceUsd="userbalanceUsd",p.Volume24h="volume24h",p))(h||{}),k= exports.GqlPoolOrderDirection =(t=>(t.Asc="asc",t.Desc="desc",t))(k||{}),B= exports.GqlPoolSnapshotDataRange =(r=>(r.AllTime="ALL_TIME",r.NinetyDays="NINETY_DAYS",r.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",r.OneYear="ONE_YEAR",r.ThirtyDays="THIRTY_DAYS",r))(B||{}),D= exports.GqlPoolType =(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))(D||{}),_= exports.GqlRewardVaultIncentiveOrderBy =(a=>(a.AmountRemaining="amountRemaining",a.AmountRemainingUsd="amountRemainingUsd",a.IncentiveRate="incentiveRate",a))(_||{}),v= exports.GqlRewardVaultIncentiveOrderDirection =(t=>(t.Asc="asc",t.Desc="desc",t))(v||{}),M= exports.GqlRewardVaultOrderBy =(u=>(u.ActiveIncentivesRateUsd="activeIncentivesRateUsd",u.ActiveIncentivesValueUsd="activeIncentivesValueUsd",u.AllTimeBgtReceived="allTimeBGTReceived",u.Apr="apr",u.Apy="apy",u.BgtCapturePercentage="bgtCapturePercentage",u.Last24hBgtReceived="last24hBGTReceived",u.ProjectedApr="projectedApr",u))(M||{}),T= exports.GqlRewardVaultOrderDirection =(t=>(t.Asc="asc",t.Desc="desc",t))(T||{}),V= exports.GqlRewardVaultSnapshotDataRange =(n=>(n.NinetyDays="NINETY_DAYS",n.SevenDays="SEVEN_DAYS",n.SixtyDays="SIXTY_DAYS",n.ThirtyDays="THIRTY_DAYS",n))(V||{}),w= exports.GqlRewardVaultSnapshotResolution =(t=>(t.Day="DAY",t.Hour="HOUR",t))(w||{}),x= exports.GqlSWberaVaultMetadataResolution =(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(x||{}),R= exports.GqlSorSwapType =(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(R||{}),C= exports.GqlStakeBeraVaultEventType =(t=>(t.Deposit="DEPOSIT",t.WithdrawalCompleted="WITHDRAWAL_COMPLETED",t))(C||{}),U= exports.GqlTokenChartDataRange =(r=>(r.NinetyDay="NINETY_DAY",r.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",r.OneYear="ONE_YEAR",r.SevenDay="SEVEN_DAY",r.ThirtyDay="THIRTY_DAY",r))(U||{}),E= exports.GqlTokenType =(a=>(a.Bpt="BPT",a.PhantomBpt="PHANTOM_BPT",a.WhiteListed="WHITE_LISTED",a))(E||{}),f= exports.GqlUserVaultDepositOrderBy =(g=>(g.Amount="amount",g))(f||{}),F= exports.GqlUserVaultDepositOrderDirection =(t=>(t.Asc="asc",t.Desc="desc",t))(F||{}),N= exports.GqlValidatorBlockUptimeStatus =(n=>(n.Inactive="INACTIVE",n.Offline="OFFLINE",n.Proposed="PROPOSED",n.Signed="SIGNED",n))(N||{}),Q= exports.GqlValidatorBoostOrderBy =(r=>(r.ActiveBoostAmount="activeBoostAmount",r.LatestBlock="latestBlock",r.LatestBlockTime="latestBlockTime",r.QueuedBoostAmount="queuedBoostAmount",r.QueuedDropBoostAmount="queuedDropBoostAmount",r))(Q||{}),W= exports.GqlValidatorBoostOrderDirection =(t=>(t.Asc="asc",t.Desc="desc",t))(W||{}),O= exports.GqlValidatorOrderBy =(o=>(o.ActiveBoostAmount="activeBoostAmount",o.AllTimeDistributedBgtAmount="allTimeDistributedBGTAmount",o.AllTimeEarnedBgtAmount="allTimeEarnedBGTAmount",o.Apy="apy",o.BgtCapturePercentage="bgtCapturePercentage",o.BoostApr="boostApr",o.CommissionOnIncentives="commissionOnIncentives",o.LastDayDistributedBgtAmount="lastDayDistributedBGTAmount",o.LastDayEarnedBgtAmount="lastDayEarnedBGTAmount",o.QueuedBoostAmount="queuedBoostAmount",o.QueuedDropBoostAmount="queuedDropBoostAmount",o.RewardRate="rewardRate",o.StakedBeraAmount="stakedBeraAmount",o.UsersActiveBoostCount="usersActiveBoostCount",o.UsersQueuedBoostCount="usersQueuedBoostCount",o))(O||{}),H= exports.GqlValidatorOrderDirection =(t=>(t.Asc="asc",t.Desc="desc",t))(H||{}),L= exports.GqlVaultSnapshotDataRange =(n=>(n.NinetyDays="NINETY_DAYS",n.SevenDays="SEVEN_DAYS",n.SixtyDays="SIXTY_DAYS",n.ThirtyDays="THIRTY_DAYS",n))(L||{}),y= exports.ApiValidatorMinimal =_client.gql`
|
|
2
2
|
fragment ApiValidatorMinimal on GqlValidator {
|
|
3
3
|
id
|
|
4
4
|
pubkey
|
|
@@ -298,4 +298,4 @@ ${z}`,Z= exports.GetValidators =_client.gql`
|
|
|
298
298
|
_timestamp
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
|
-
`,K={possibleTypes:{GqlPoolAprValue:["GqlPoolAprRange","GqlPoolAprTotal"],GqlPoolBase:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"],GqlPoolEvent:["GqlPoolAddRemoveEventV3","GqlPoolSwapEventCowAmm","GqlPoolSwapEventV3"],GqlPoolFeaturedPoolGroupItem:["GqlFeaturePoolGroupItemExternalLink","GqlPoolMinimal"],GqlPoolNestedUnion:["GqlPoolComposableStableNested"],GqlPoolTokenBase:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolTokenComposableStableNestedUnion:["GqlPoolToken"],GqlPoolTokenUnion:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolUnion:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"]}},ct= exports.default =K;exports.ApiRewardAllocationWeight = Y; exports.ApiValidator = S; exports.ApiValidatorBlockUptime = z; exports.ApiValidatorMinimal = y; exports.ApiVault = c; exports.ApiVaultIncentive = $; exports.GetBoostDelay = lt; exports.GetCommissionChangeDelay = it; exports.GetPolStakeBeraVaultEventsByOwner = pt; exports.GetRewardVault = at; exports.GetSWberaVaultMetadata = st; exports.GetSWberaVaultSnapshots = ut; exports.GetUserVaults = rt; exports.GetValidator = j; exports.GetValidators = Z; exports.GetVaultDurations = nt; exports.GetVaultHistory = ot; exports.GetVaultValidators = tt; exports.GetVaults = X; exports.GlobalData = et; exports.GqlChain = d; exports.GqlContentNewsItemSource = m; exports.GqlPoolAprItemType = G; exports.GqlPoolEventType = A; exports.GqlPoolEventsDataRange = b; exports.GqlPoolFilterCategory = I; exports.GqlPoolJoinExitType = q; exports.GqlPoolNestingType = P; exports.GqlPoolOrderBy = h; exports.GqlPoolOrderDirection = k; exports.GqlPoolSnapshotDataRange = B; exports.GqlPoolType = D; exports.GqlRewardVaultIncentiveOrderBy = _; exports.GqlRewardVaultIncentiveOrderDirection = v; exports.GqlRewardVaultOrderBy = M; exports.GqlRewardVaultOrderDirection = T; exports.GqlRewardVaultSnapshotDataRange = V; exports.GqlRewardVaultSnapshotResolution = w; exports.GqlSWberaVaultMetadataResolution =
|
|
301
|
+
`,K={possibleTypes:{GqlPoolAprValue:["GqlPoolAprRange","GqlPoolAprTotal"],GqlPoolBase:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"],GqlPoolEvent:["GqlPoolAddRemoveEventV3","GqlPoolSwapEventCowAmm","GqlPoolSwapEventV3"],GqlPoolFeaturedPoolGroupItem:["GqlFeaturePoolGroupItemExternalLink","GqlPoolMinimal"],GqlPoolNestedUnion:["GqlPoolComposableStableNested"],GqlPoolTokenBase:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolTokenComposableStableNestedUnion:["GqlPoolToken"],GqlPoolTokenUnion:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolUnion:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"]}},ct= exports.default =K;exports.ApiRewardAllocationWeight = Y; exports.ApiValidator = S; exports.ApiValidatorBlockUptime = z; exports.ApiValidatorMinimal = y; exports.ApiVault = c; exports.ApiVaultIncentive = $; exports.GetBoostDelay = lt; exports.GetCommissionChangeDelay = it; exports.GetPolStakeBeraVaultEventsByOwner = pt; exports.GetRewardVault = at; exports.GetSWberaVaultMetadata = st; exports.GetSWberaVaultSnapshots = ut; exports.GetUserVaults = rt; exports.GetValidator = j; exports.GetValidators = Z; exports.GetVaultDurations = nt; exports.GetVaultHistory = ot; exports.GetVaultValidators = tt; exports.GetVaults = X; exports.GlobalData = et; exports.GqlChain = d; exports.GqlContentNewsItemSource = m; exports.GqlPoolAprItemType = G; exports.GqlPoolEventType = A; exports.GqlPoolEventsDataRange = b; exports.GqlPoolFilterCategory = I; exports.GqlPoolJoinExitType = q; exports.GqlPoolNestingType = P; exports.GqlPoolOrderBy = h; exports.GqlPoolOrderDirection = k; exports.GqlPoolSnapshotDataRange = B; exports.GqlPoolType = D; exports.GqlRewardVaultIncentiveOrderBy = _; exports.GqlRewardVaultIncentiveOrderDirection = v; exports.GqlRewardVaultOrderBy = M; exports.GqlRewardVaultOrderDirection = T; exports.GqlRewardVaultSnapshotDataRange = V; exports.GqlRewardVaultSnapshotResolution = w; exports.GqlSWberaVaultMetadataResolution = x; exports.GqlSorSwapType = R; exports.GqlStakeBeraVaultEventType = C; exports.GqlTokenChartDataRange = U; exports.GqlTokenType = E; exports.GqlUserVaultDepositOrderBy = f; exports.GqlUserVaultDepositOrderDirection = F; exports.GqlValidatorBlockUptimeStatus = N; exports.GqlValidatorBoostOrderBy = Q; exports.GqlValidatorBoostOrderDirection = W; exports.GqlValidatorOrderBy = O; exports.GqlValidatorOrderDirection = H; exports.GqlVaultSnapshotDataRange = L; exports.default = ct;
|
package/dist/pol/api.codegen.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{gql as e}from"@apollo/client";var d=(a=>(a.Bartio="BARTIO",a.Berachain="BERACHAIN",a.Cartio="CARTIO",a))(d||{}),m=(a=>(a.Discord="discord",a.Medium="medium",a.Twitter="twitter",a))(m||{}),G=(i=>(i.Aura="AURA",i.IbYield="IB_YIELD",i.Locking="LOCKING",i.MabeetsEmissions="MABEETS_EMISSIONS",i.Merkl="MERKL",i.Nested="NESTED",i.Staking="STAKING",i.StakingBoost="STAKING_BOOST",i.Surplus="SURPLUS",i.SwapFee="SWAP_FEE",i.VebalEmissions="VEBAL_EMISSIONS",i.Voting="VOTING",i))(G||{}),A=(a=>(a.Add="ADD",a.Remove="REMOVE",a.Swap="SWAP",a))(A||{}),b=(a=>(a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(b||{}),I=(s=>(s.BlackListed="BLACK_LISTED",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))(I||{}),q=(t=>(t.Exit="Exit",t.Join="Join",t))(q||{}),P=(a=>(a.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",a.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",a.NoNesting="NO_NESTING",a))(P||{}),h=(p=>(p.Apr="apr",p.BgtApr="bgtApr",p.Fees24h="fees24h",p.TotalLiquidity="totalLiquidity",p.TotalShares="totalShares",p.UserbalanceUsd="userbalanceUsd",p.Volume24h="volume24h",p))(h||{}),k=(t=>(t.Asc="asc",t.Desc="desc",t))(k||{}),B=(r=>(r.AllTime="ALL_TIME",r.NinetyDays="NINETY_DAYS",r.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",r.OneYear="ONE_YEAR",r.ThirtyDays="THIRTY_DAYS",r))(B||{}),D=(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))(D||{}),_=(a=>(a.AmountRemaining="amountRemaining",a.AmountRemainingUsd="amountRemainingUsd",a.IncentiveRate="incentiveRate",a))(_||{}),v=(t=>(t.Asc="asc",t.Desc="desc",t))(v||{}),M=(u=>(u.ActiveIncentivesRateUsd="activeIncentivesRateUsd",u.ActiveIncentivesValueUsd="activeIncentivesValueUsd",u.AllTimeBgtReceived="allTimeBGTReceived",u.Apr="apr",u.Apy="apy",u.BgtCapturePercentage="bgtCapturePercentage",u.Last24hBgtReceived="last24hBGTReceived",u.ProjectedApr="projectedApr",u))(M||{}),T=(t=>(t.Asc="asc",t.Desc="desc",t))(T||{}),V=(n=>(n.NinetyDays="NINETY_DAYS",n.SevenDays="SEVEN_DAYS",n.SixtyDays="SIXTY_DAYS",n.ThirtyDays="THIRTY_DAYS",n))(V||{}),w=(t=>(t.Day="DAY",t.Hour="HOUR",t))(w||{}),
|
|
1
|
+
import{gql as e}from"@apollo/client";var d=(a=>(a.Bartio="BARTIO",a.Berachain="BERACHAIN",a.Cartio="CARTIO",a))(d||{}),m=(a=>(a.Discord="discord",a.Medium="medium",a.Twitter="twitter",a))(m||{}),G=(i=>(i.Aura="AURA",i.IbYield="IB_YIELD",i.Locking="LOCKING",i.MabeetsEmissions="MABEETS_EMISSIONS",i.Merkl="MERKL",i.Nested="NESTED",i.Staking="STAKING",i.StakingBoost="STAKING_BOOST",i.Surplus="SURPLUS",i.SwapFee="SWAP_FEE",i.VebalEmissions="VEBAL_EMISSIONS",i.Voting="VOTING",i))(G||{}),A=(a=>(a.Add="ADD",a.Remove="REMOVE",a.Swap="SWAP",a))(A||{}),b=(a=>(a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(b||{}),I=(s=>(s.BlackListed="BLACK_LISTED",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))(I||{}),q=(t=>(t.Exit="Exit",t.Join="Join",t))(q||{}),P=(a=>(a.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",a.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",a.NoNesting="NO_NESTING",a))(P||{}),h=(p=>(p.Apr="apr",p.BgtApr="bgtApr",p.Fees24h="fees24h",p.TotalLiquidity="totalLiquidity",p.TotalShares="totalShares",p.UserbalanceUsd="userbalanceUsd",p.Volume24h="volume24h",p))(h||{}),k=(t=>(t.Asc="asc",t.Desc="desc",t))(k||{}),B=(r=>(r.AllTime="ALL_TIME",r.NinetyDays="NINETY_DAYS",r.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",r.OneYear="ONE_YEAR",r.ThirtyDays="THIRTY_DAYS",r))(B||{}),D=(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))(D||{}),_=(a=>(a.AmountRemaining="amountRemaining",a.AmountRemainingUsd="amountRemainingUsd",a.IncentiveRate="incentiveRate",a))(_||{}),v=(t=>(t.Asc="asc",t.Desc="desc",t))(v||{}),M=(u=>(u.ActiveIncentivesRateUsd="activeIncentivesRateUsd",u.ActiveIncentivesValueUsd="activeIncentivesValueUsd",u.AllTimeBgtReceived="allTimeBGTReceived",u.Apr="apr",u.Apy="apy",u.BgtCapturePercentage="bgtCapturePercentage",u.Last24hBgtReceived="last24hBGTReceived",u.ProjectedApr="projectedApr",u))(M||{}),T=(t=>(t.Asc="asc",t.Desc="desc",t))(T||{}),V=(n=>(n.NinetyDays="NINETY_DAYS",n.SevenDays="SEVEN_DAYS",n.SixtyDays="SIXTY_DAYS",n.ThirtyDays="THIRTY_DAYS",n))(V||{}),w=(t=>(t.Day="DAY",t.Hour="HOUR",t))(w||{}),x=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(x||{}),R=(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(R||{}),C=(t=>(t.Deposit="DEPOSIT",t.WithdrawalCompleted="WITHDRAWAL_COMPLETED",t))(C||{}),U=(r=>(r.NinetyDay="NINETY_DAY",r.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",r.OneYear="ONE_YEAR",r.SevenDay="SEVEN_DAY",r.ThirtyDay="THIRTY_DAY",r))(U||{}),E=(a=>(a.Bpt="BPT",a.PhantomBpt="PHANTOM_BPT",a.WhiteListed="WHITE_LISTED",a))(E||{}),f=(g=>(g.Amount="amount",g))(f||{}),F=(t=>(t.Asc="asc",t.Desc="desc",t))(F||{}),N=(n=>(n.Inactive="INACTIVE",n.Offline="OFFLINE",n.Proposed="PROPOSED",n.Signed="SIGNED",n))(N||{}),Q=(r=>(r.ActiveBoostAmount="activeBoostAmount",r.LatestBlock="latestBlock",r.LatestBlockTime="latestBlockTime",r.QueuedBoostAmount="queuedBoostAmount",r.QueuedDropBoostAmount="queuedDropBoostAmount",r))(Q||{}),W=(t=>(t.Asc="asc",t.Desc="desc",t))(W||{}),O=(o=>(o.ActiveBoostAmount="activeBoostAmount",o.AllTimeDistributedBgtAmount="allTimeDistributedBGTAmount",o.AllTimeEarnedBgtAmount="allTimeEarnedBGTAmount",o.Apy="apy",o.BgtCapturePercentage="bgtCapturePercentage",o.BoostApr="boostApr",o.CommissionOnIncentives="commissionOnIncentives",o.LastDayDistributedBgtAmount="lastDayDistributedBGTAmount",o.LastDayEarnedBgtAmount="lastDayEarnedBGTAmount",o.QueuedBoostAmount="queuedBoostAmount",o.QueuedDropBoostAmount="queuedDropBoostAmount",o.RewardRate="rewardRate",o.StakedBeraAmount="stakedBeraAmount",o.UsersActiveBoostCount="usersActiveBoostCount",o.UsersQueuedBoostCount="usersQueuedBoostCount",o))(O||{}),H=(t=>(t.Asc="asc",t.Desc="desc",t))(H||{}),L=(n=>(n.NinetyDays="NINETY_DAYS",n.SevenDays="SEVEN_DAYS",n.SixtyDays="SIXTY_DAYS",n.ThirtyDays="THIRTY_DAYS",n))(L||{}),y=e`
|
|
2
2
|
fragment ApiValidatorMinimal on GqlValidator {
|
|
3
3
|
id
|
|
4
4
|
pubkey
|
|
@@ -298,4 +298,4 @@ ${z}`,Z=e`
|
|
|
298
298
|
_timestamp
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
|
-
`,K={possibleTypes:{GqlPoolAprValue:["GqlPoolAprRange","GqlPoolAprTotal"],GqlPoolBase:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"],GqlPoolEvent:["GqlPoolAddRemoveEventV3","GqlPoolSwapEventCowAmm","GqlPoolSwapEventV3"],GqlPoolFeaturedPoolGroupItem:["GqlFeaturePoolGroupItemExternalLink","GqlPoolMinimal"],GqlPoolNestedUnion:["GqlPoolComposableStableNested"],GqlPoolTokenBase:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolTokenComposableStableNestedUnion:["GqlPoolToken"],GqlPoolTokenUnion:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolUnion:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"]}},ct=K;export{Y as ApiRewardAllocationWeight,S as ApiValidator,z as ApiValidatorBlockUptime,y as ApiValidatorMinimal,c as ApiVault,$ as ApiVaultIncentive,lt as GetBoostDelay,it as GetCommissionChangeDelay,pt as GetPolStakeBeraVaultEventsByOwner,at as GetRewardVault,st as GetSWberaVaultMetadata,ut as GetSWberaVaultSnapshots,rt as GetUserVaults,j as GetValidator,Z as GetValidators,nt as GetVaultDurations,ot as GetVaultHistory,tt as GetVaultValidators,X as GetVaults,et as GlobalData,d as GqlChain,m as GqlContentNewsItemSource,G as GqlPoolAprItemType,A as GqlPoolEventType,b as GqlPoolEventsDataRange,I as GqlPoolFilterCategory,q as GqlPoolJoinExitType,P as GqlPoolNestingType,h as GqlPoolOrderBy,k as GqlPoolOrderDirection,B as GqlPoolSnapshotDataRange,D as GqlPoolType,_ as GqlRewardVaultIncentiveOrderBy,v as GqlRewardVaultIncentiveOrderDirection,M as GqlRewardVaultOrderBy,T as GqlRewardVaultOrderDirection,V as GqlRewardVaultSnapshotDataRange,w as GqlRewardVaultSnapshotResolution,
|
|
301
|
+
`,K={possibleTypes:{GqlPoolAprValue:["GqlPoolAprRange","GqlPoolAprTotal"],GqlPoolBase:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"],GqlPoolEvent:["GqlPoolAddRemoveEventV3","GqlPoolSwapEventCowAmm","GqlPoolSwapEventV3"],GqlPoolFeaturedPoolGroupItem:["GqlFeaturePoolGroupItemExternalLink","GqlPoolMinimal"],GqlPoolNestedUnion:["GqlPoolComposableStableNested"],GqlPoolTokenBase:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolTokenComposableStableNestedUnion:["GqlPoolToken"],GqlPoolTokenUnion:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolUnion:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"]}},ct=K;export{Y as ApiRewardAllocationWeight,S as ApiValidator,z as ApiValidatorBlockUptime,y as ApiValidatorMinimal,c as ApiVault,$ as ApiVaultIncentive,lt as GetBoostDelay,it as GetCommissionChangeDelay,pt as GetPolStakeBeraVaultEventsByOwner,at as GetRewardVault,st as GetSWberaVaultMetadata,ut as GetSWberaVaultSnapshots,rt as GetUserVaults,j as GetValidator,Z as GetValidators,nt as GetVaultDurations,ot as GetVaultHistory,tt as GetVaultValidators,X as GetVaults,et as GlobalData,d as GqlChain,m as GqlContentNewsItemSource,G as GqlPoolAprItemType,A as GqlPoolEventType,b as GqlPoolEventsDataRange,I as GqlPoolFilterCategory,q as GqlPoolJoinExitType,P as GqlPoolNestingType,h as GqlPoolOrderBy,k as GqlPoolOrderDirection,B as GqlPoolSnapshotDataRange,D as GqlPoolType,_ as GqlRewardVaultIncentiveOrderBy,v as GqlRewardVaultIncentiveOrderDirection,M as GqlRewardVaultOrderBy,T as GqlRewardVaultOrderDirection,V as GqlRewardVaultSnapshotDataRange,w as GqlRewardVaultSnapshotResolution,x as GqlSWberaVaultMetadataResolution,R as GqlSorSwapType,C as GqlStakeBeraVaultEventType,U as GqlTokenChartDataRange,E as GqlTokenType,f as GqlUserVaultDepositOrderBy,F as GqlUserVaultDepositOrderDirection,N as GqlValidatorBlockUptimeStatus,Q as GqlValidatorBoostOrderBy,W as GqlValidatorBoostOrderDirection,O as GqlValidatorOrderBy,H as GqlValidatorOrderDirection,L as GqlVaultSnapshotDataRange,ct as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as graphql from 'graphql';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -4593,7 +4593,7 @@ type GetIncentiveFeeClaimStatsQuery = {
|
|
|
4593
4593
|
timestamp: any;
|
|
4594
4594
|
}>;
|
|
4595
4595
|
};
|
|
4596
|
-
declare const SubgraphStatusMeta:
|
|
4596
|
+
declare const SubgraphStatusMeta: graphql.DocumentNode;
|
|
4597
4597
|
/**
|
|
4598
4598
|
* Aggregation for the amount of BGT boosted to a Validator (User -> Validator)
|
|
4599
4599
|
*
|
|
@@ -4610,8 +4610,8 @@ type BoostByValidator = {
|
|
|
4610
4610
|
timestamp: Scalars['Timestamp']['output'];
|
|
4611
4611
|
validator: Validator;
|
|
4612
4612
|
};
|
|
4613
|
-
declare const BoostByValidator:
|
|
4614
|
-
declare const ValidatorMinimal:
|
|
4613
|
+
declare const BoostByValidator: graphql.DocumentNode;
|
|
4614
|
+
declare const ValidatorMinimal: graphql.DocumentNode;
|
|
4615
4615
|
/**
|
|
4616
4616
|
* Aggregation for the amount of BGT awarded to a Validator for proposing a block by Validator (Distributor -> Validator)
|
|
4617
4617
|
*
|
|
@@ -4626,10 +4626,10 @@ type BlockRewardStatsByValidator = {
|
|
|
4626
4626
|
timestamp: Scalars['Timestamp']['output'];
|
|
4627
4627
|
validator: Validator;
|
|
4628
4628
|
};
|
|
4629
|
-
declare const BlockRewardStatsByValidator:
|
|
4630
|
-
declare const VaultMinimal:
|
|
4631
|
-
declare const StakingToken:
|
|
4632
|
-
declare const VaultWithStakingToken:
|
|
4629
|
+
declare const BlockRewardStatsByValidator: graphql.DocumentNode;
|
|
4630
|
+
declare const VaultMinimal: graphql.DocumentNode;
|
|
4631
|
+
declare const StakingToken: graphql.DocumentNode;
|
|
4632
|
+
declare const VaultWithStakingToken: graphql.DocumentNode;
|
|
4633
4633
|
/**
|
|
4634
4634
|
* Global stats for Proof of Liquidity
|
|
4635
4635
|
*
|
|
@@ -4649,18 +4649,18 @@ type GlobalInfo = {
|
|
|
4649
4649
|
totalQueuedDropBoostAmount: Scalars['BigDecimal']['output'];
|
|
4650
4650
|
totalValidatorsCount: Scalars['BigInt']['output'];
|
|
4651
4651
|
};
|
|
4652
|
-
declare const GlobalInfo:
|
|
4653
|
-
declare const GetUserValidatorInformation:
|
|
4654
|
-
declare const GetValidValidator:
|
|
4655
|
-
declare const GetAllValidators:
|
|
4656
|
-
declare const GetValidatorBlockStats:
|
|
4657
|
-
declare const GetGauges:
|
|
4658
|
-
declare const GetWeeklyBgtInflation:
|
|
4659
|
-
declare const GetRewardVault:
|
|
4660
|
-
declare const GetValidatorByOperator:
|
|
4661
|
-
declare const GetValidatorByAccount:
|
|
4662
|
-
declare const GetValidatorAnalytics:
|
|
4663
|
-
declare const GetIncentiveFeeClaimStats:
|
|
4652
|
+
declare const GlobalInfo: graphql.DocumentNode;
|
|
4653
|
+
declare const GetUserValidatorInformation: graphql.DocumentNode;
|
|
4654
|
+
declare const GetValidValidator: graphql.DocumentNode;
|
|
4655
|
+
declare const GetAllValidators: graphql.DocumentNode;
|
|
4656
|
+
declare const GetValidatorBlockStats: graphql.DocumentNode;
|
|
4657
|
+
declare const GetGauges: graphql.DocumentNode;
|
|
4658
|
+
declare const GetWeeklyBgtInflation: graphql.DocumentNode;
|
|
4659
|
+
declare const GetRewardVault: graphql.DocumentNode;
|
|
4660
|
+
declare const GetValidatorByOperator: graphql.DocumentNode;
|
|
4661
|
+
declare const GetValidatorByAccount: graphql.DocumentNode;
|
|
4662
|
+
declare const GetValidatorAnalytics: graphql.DocumentNode;
|
|
4663
|
+
declare const GetIncentiveFeeClaimStats: graphql.DocumentNode;
|
|
4664
4664
|
interface PossibleTypesResultData {
|
|
4665
4665
|
possibleTypes: {
|
|
4666
4666
|
[key: string]: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as graphql from 'graphql';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -4593,7 +4593,7 @@ type GetIncentiveFeeClaimStatsQuery = {
|
|
|
4593
4593
|
timestamp: any;
|
|
4594
4594
|
}>;
|
|
4595
4595
|
};
|
|
4596
|
-
declare const SubgraphStatusMeta:
|
|
4596
|
+
declare const SubgraphStatusMeta: graphql.DocumentNode;
|
|
4597
4597
|
/**
|
|
4598
4598
|
* Aggregation for the amount of BGT boosted to a Validator (User -> Validator)
|
|
4599
4599
|
*
|
|
@@ -4610,8 +4610,8 @@ type BoostByValidator = {
|
|
|
4610
4610
|
timestamp: Scalars['Timestamp']['output'];
|
|
4611
4611
|
validator: Validator;
|
|
4612
4612
|
};
|
|
4613
|
-
declare const BoostByValidator:
|
|
4614
|
-
declare const ValidatorMinimal:
|
|
4613
|
+
declare const BoostByValidator: graphql.DocumentNode;
|
|
4614
|
+
declare const ValidatorMinimal: graphql.DocumentNode;
|
|
4615
4615
|
/**
|
|
4616
4616
|
* Aggregation for the amount of BGT awarded to a Validator for proposing a block by Validator (Distributor -> Validator)
|
|
4617
4617
|
*
|
|
@@ -4626,10 +4626,10 @@ type BlockRewardStatsByValidator = {
|
|
|
4626
4626
|
timestamp: Scalars['Timestamp']['output'];
|
|
4627
4627
|
validator: Validator;
|
|
4628
4628
|
};
|
|
4629
|
-
declare const BlockRewardStatsByValidator:
|
|
4630
|
-
declare const VaultMinimal:
|
|
4631
|
-
declare const StakingToken:
|
|
4632
|
-
declare const VaultWithStakingToken:
|
|
4629
|
+
declare const BlockRewardStatsByValidator: graphql.DocumentNode;
|
|
4630
|
+
declare const VaultMinimal: graphql.DocumentNode;
|
|
4631
|
+
declare const StakingToken: graphql.DocumentNode;
|
|
4632
|
+
declare const VaultWithStakingToken: graphql.DocumentNode;
|
|
4633
4633
|
/**
|
|
4634
4634
|
* Global stats for Proof of Liquidity
|
|
4635
4635
|
*
|
|
@@ -4649,18 +4649,18 @@ type GlobalInfo = {
|
|
|
4649
4649
|
totalQueuedDropBoostAmount: Scalars['BigDecimal']['output'];
|
|
4650
4650
|
totalValidatorsCount: Scalars['BigInt']['output'];
|
|
4651
4651
|
};
|
|
4652
|
-
declare const GlobalInfo:
|
|
4653
|
-
declare const GetUserValidatorInformation:
|
|
4654
|
-
declare const GetValidValidator:
|
|
4655
|
-
declare const GetAllValidators:
|
|
4656
|
-
declare const GetValidatorBlockStats:
|
|
4657
|
-
declare const GetGauges:
|
|
4658
|
-
declare const GetWeeklyBgtInflation:
|
|
4659
|
-
declare const GetRewardVault:
|
|
4660
|
-
declare const GetValidatorByOperator:
|
|
4661
|
-
declare const GetValidatorByAccount:
|
|
4662
|
-
declare const GetValidatorAnalytics:
|
|
4663
|
-
declare const GetIncentiveFeeClaimStats:
|
|
4652
|
+
declare const GlobalInfo: graphql.DocumentNode;
|
|
4653
|
+
declare const GetUserValidatorInformation: graphql.DocumentNode;
|
|
4654
|
+
declare const GetValidValidator: graphql.DocumentNode;
|
|
4655
|
+
declare const GetAllValidators: graphql.DocumentNode;
|
|
4656
|
+
declare const GetValidatorBlockStats: graphql.DocumentNode;
|
|
4657
|
+
declare const GetGauges: graphql.DocumentNode;
|
|
4658
|
+
declare const GetWeeklyBgtInflation: graphql.DocumentNode;
|
|
4659
|
+
declare const GetRewardVault: graphql.DocumentNode;
|
|
4660
|
+
declare const GetValidatorByOperator: graphql.DocumentNode;
|
|
4661
|
+
declare const GetValidatorByAccount: graphql.DocumentNode;
|
|
4662
|
+
declare const GetValidatorAnalytics: graphql.DocumentNode;
|
|
4663
|
+
declare const GetIncentiveFeeClaimStats: graphql.DocumentNode;
|
|
4664
4664
|
interface PossibleTypesResultData {
|
|
4665
4665
|
possibleTypes: {
|
|
4666
4666
|
[key: string]: string[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@berachain/graphql",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.16",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -12,18 +12,21 @@
|
|
|
12
12
|
"graphql": "^16.8"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
+
"@apollo/client": "3.8.10",
|
|
15
16
|
"@berachain/config": "",
|
|
16
17
|
"@biomejs/biome": "1.9.4",
|
|
17
18
|
"@graphql-codegen/cli": "5.0.7",
|
|
18
19
|
"@graphql-codegen/client-preset": "4.7.0",
|
|
19
20
|
"@graphql-codegen/fragment-matcher": "5.1.0",
|
|
20
21
|
"@graphql-codegen/near-operation-file-preset": "3.0.0",
|
|
21
|
-
"@graphql-codegen/typescript": "5.0.0",
|
|
22
22
|
"@graphql-codegen/typescript-document-nodes": "5.0.0",
|
|
23
23
|
"@graphql-codegen/typescript-operations": "5.0.0",
|
|
24
24
|
"@graphql-codegen/typescript-react-apollo": "4.3.3",
|
|
25
|
+
"@graphql-codegen/typescript": "5.0.0",
|
|
25
26
|
"@parcel/watcher": "2.5.1",
|
|
26
27
|
"@types/node": "22.12.0",
|
|
28
|
+
"dotenv": "16.6.1",
|
|
29
|
+
"graphql": "16.8.2",
|
|
27
30
|
"tsup": "8.4.0"
|
|
28
31
|
},
|
|
29
32
|
"exports": {
|
|
@@ -102,6 +105,7 @@
|
|
|
102
105
|
"precheck-types": "pnpm codegen",
|
|
103
106
|
"check-types": "tsc --noEmit",
|
|
104
107
|
"clean": "git clean -xdf dist .turbo node_modules *.codegen.ts",
|
|
108
|
+
"lint": "biome lint",
|
|
105
109
|
"dev": "tsup --watch",
|
|
106
110
|
"format": "biome format --write . --config-path ../../biome.json",
|
|
107
111
|
"codegen": "graphql-codegen",
|