@berachain/graphql 0.4.4 → 0.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bend/whisk.codegen.d.cts +18 -18
- package/dist/bend/whisk.codegen.d.ts +18 -18
- package/dist/chain/chain.codegen.d.cts +2 -2
- package/dist/chain/chain.codegen.d.ts +2 -2
- package/dist/dex/api.codegen.d.cts +17 -17
- package/dist/dex/api.codegen.d.ts +17 -17
- package/dist/dex/subgraph.codegen.d.cts +9 -9
- package/dist/dex/subgraph.codegen.d.ts +9 -9
- package/dist/governance/governance.codegen.d.cts +9 -9
- package/dist/governance/governance.codegen.d.ts +9 -9
- package/dist/honey/honey.codegen.d.cts +7 -7
- package/dist/honey/honey.codegen.d.ts +7 -7
- package/dist/pol/api.codegen.cjs +17 -35
- package/dist/pol/api.codegen.d.cts +18 -46
- package/dist/pol/api.codegen.d.ts +18 -46
- package/dist/pol/api.codegen.mjs +17 -35
- package/dist/pol/subgraph.codegen.d.cts +19 -19
- package/dist/pol/subgraph.codegen.d.ts +19 -19
- package/package.json +5 -7
|
@@ -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>;
|
|
@@ -3309,14 +3309,14 @@ type MarketIbrHistoryDataQuery = {
|
|
|
3309
3309
|
} | null>;
|
|
3310
3310
|
};
|
|
3311
3311
|
};
|
|
3312
|
-
declare const ChainInfoFragment:
|
|
3313
|
-
declare const TokenInfoFragment:
|
|
3314
|
-
declare const CuratorInfoFragment:
|
|
3315
|
-
declare const ApyFragment:
|
|
3316
|
-
declare const VaultSummaryFragment:
|
|
3317
|
-
declare const MarketSummaryFragment:
|
|
3318
|
-
declare const VaultSummaries:
|
|
3319
|
-
declare const MarketSummaries:
|
|
3312
|
+
declare const ChainInfoFragment: graphql.DocumentNode;
|
|
3313
|
+
declare const TokenInfoFragment: graphql.DocumentNode;
|
|
3314
|
+
declare const CuratorInfoFragment: graphql.DocumentNode;
|
|
3315
|
+
declare const ApyFragment: graphql.DocumentNode;
|
|
3316
|
+
declare const VaultSummaryFragment: graphql.DocumentNode;
|
|
3317
|
+
declare const MarketSummaryFragment: graphql.DocumentNode;
|
|
3318
|
+
declare const VaultSummaries: graphql.DocumentNode;
|
|
3319
|
+
declare const MarketSummaries: graphql.DocumentNode;
|
|
3320
3320
|
/** Yield-bearing vault aggregating deposits across DeFi protocols */
|
|
3321
3321
|
type Vault = {
|
|
3322
3322
|
__typename?: 'Vault';
|
|
@@ -3341,15 +3341,15 @@ type Vault = {
|
|
|
3341
3341
|
/** Address of the vault */
|
|
3342
3342
|
vaultAddress: Scalars['Address']['output'];
|
|
3343
3343
|
};
|
|
3344
|
-
declare const Vault:
|
|
3345
|
-
declare const Market:
|
|
3346
|
-
declare const VaultPositions:
|
|
3347
|
-
declare const MarketPositions:
|
|
3348
|
-
declare const SupportedMarketIds:
|
|
3349
|
-
declare const VaultHistoryData:
|
|
3350
|
-
declare const VaultMarketAllocationHistoryData:
|
|
3351
|
-
declare const MarketHistoryData:
|
|
3352
|
-
declare const MarketIbrHistoryData:
|
|
3344
|
+
declare const Vault: graphql.DocumentNode;
|
|
3345
|
+
declare const Market: graphql.DocumentNode;
|
|
3346
|
+
declare const VaultPositions: graphql.DocumentNode;
|
|
3347
|
+
declare const MarketPositions: graphql.DocumentNode;
|
|
3348
|
+
declare const SupportedMarketIds: graphql.DocumentNode;
|
|
3349
|
+
declare const VaultHistoryData: graphql.DocumentNode;
|
|
3350
|
+
declare const VaultMarketAllocationHistoryData: graphql.DocumentNode;
|
|
3351
|
+
declare const MarketHistoryData: graphql.DocumentNode;
|
|
3352
|
+
declare const MarketIbrHistoryData: graphql.DocumentNode;
|
|
3353
3353
|
interface PossibleTypesResultData {
|
|
3354
3354
|
possibleTypes: {
|
|
3355
3355
|
[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>;
|
|
@@ -3309,14 +3309,14 @@ type MarketIbrHistoryDataQuery = {
|
|
|
3309
3309
|
} | null>;
|
|
3310
3310
|
};
|
|
3311
3311
|
};
|
|
3312
|
-
declare const ChainInfoFragment:
|
|
3313
|
-
declare const TokenInfoFragment:
|
|
3314
|
-
declare const CuratorInfoFragment:
|
|
3315
|
-
declare const ApyFragment:
|
|
3316
|
-
declare const VaultSummaryFragment:
|
|
3317
|
-
declare const MarketSummaryFragment:
|
|
3318
|
-
declare const VaultSummaries:
|
|
3319
|
-
declare const MarketSummaries:
|
|
3312
|
+
declare const ChainInfoFragment: graphql.DocumentNode;
|
|
3313
|
+
declare const TokenInfoFragment: graphql.DocumentNode;
|
|
3314
|
+
declare const CuratorInfoFragment: graphql.DocumentNode;
|
|
3315
|
+
declare const ApyFragment: graphql.DocumentNode;
|
|
3316
|
+
declare const VaultSummaryFragment: graphql.DocumentNode;
|
|
3317
|
+
declare const MarketSummaryFragment: graphql.DocumentNode;
|
|
3318
|
+
declare const VaultSummaries: graphql.DocumentNode;
|
|
3319
|
+
declare const MarketSummaries: graphql.DocumentNode;
|
|
3320
3320
|
/** Yield-bearing vault aggregating deposits across DeFi protocols */
|
|
3321
3321
|
type Vault = {
|
|
3322
3322
|
__typename?: 'Vault';
|
|
@@ -3341,15 +3341,15 @@ type Vault = {
|
|
|
3341
3341
|
/** Address of the vault */
|
|
3342
3342
|
vaultAddress: Scalars['Address']['output'];
|
|
3343
3343
|
};
|
|
3344
|
-
declare const Vault:
|
|
3345
|
-
declare const Market:
|
|
3346
|
-
declare const VaultPositions:
|
|
3347
|
-
declare const MarketPositions:
|
|
3348
|
-
declare const SupportedMarketIds:
|
|
3349
|
-
declare const VaultHistoryData:
|
|
3350
|
-
declare const VaultMarketAllocationHistoryData:
|
|
3351
|
-
declare const MarketHistoryData:
|
|
3352
|
-
declare const MarketIbrHistoryData:
|
|
3344
|
+
declare const Vault: graphql.DocumentNode;
|
|
3345
|
+
declare const Market: graphql.DocumentNode;
|
|
3346
|
+
declare const VaultPositions: graphql.DocumentNode;
|
|
3347
|
+
declare const MarketPositions: graphql.DocumentNode;
|
|
3348
|
+
declare const SupportedMarketIds: graphql.DocumentNode;
|
|
3349
|
+
declare const VaultHistoryData: graphql.DocumentNode;
|
|
3350
|
+
declare const VaultMarketAllocationHistoryData: graphql.DocumentNode;
|
|
3351
|
+
declare const MarketHistoryData: graphql.DocumentNode;
|
|
3352
|
+
declare const MarketIbrHistoryData: graphql.DocumentNode;
|
|
3353
3353
|
interface PossibleTypesResultData {
|
|
3354
3354
|
possibleTypes: {
|
|
3355
3355
|
[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>;
|
|
@@ -340,7 +340,7 @@ type GetBlocksTimeStampQuery = {
|
|
|
340
340
|
number: string;
|
|
341
341
|
}>;
|
|
342
342
|
};
|
|
343
|
-
declare const GetBlocksTimeStamp:
|
|
343
|
+
declare const GetBlocksTimeStamp: graphql.DocumentNode;
|
|
344
344
|
interface PossibleTypesResultData {
|
|
345
345
|
possibleTypes: {
|
|
346
346
|
[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>;
|
|
@@ -340,7 +340,7 @@ type GetBlocksTimeStampQuery = {
|
|
|
340
340
|
number: string;
|
|
341
341
|
}>;
|
|
342
342
|
};
|
|
343
|
-
declare const GetBlocksTimeStamp:
|
|
343
|
+
declare const GetBlocksTimeStamp: graphql.DocumentNode;
|
|
344
344
|
interface PossibleTypesResultData {
|
|
345
345
|
possibleTypes: {
|
|
346
346
|
[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>;
|
|
@@ -3731,12 +3731,12 @@ type GetGlobalLiquidityAndSwapVolumeQuery = {
|
|
|
3731
3731
|
totalLiquidity: string;
|
|
3732
3732
|
};
|
|
3733
3733
|
};
|
|
3734
|
-
declare const DynamicData:
|
|
3735
|
-
declare const UserBalance:
|
|
3736
|
-
declare const RewardVault:
|
|
3737
|
-
declare const MinimalPoolInList:
|
|
3738
|
-
declare const MinimalPool:
|
|
3739
|
-
declare const PoolHistoricalData:
|
|
3734
|
+
declare const DynamicData: graphql.DocumentNode;
|
|
3735
|
+
declare const UserBalance: graphql.DocumentNode;
|
|
3736
|
+
declare const RewardVault: graphql.DocumentNode;
|
|
3737
|
+
declare const MinimalPoolInList: graphql.DocumentNode;
|
|
3738
|
+
declare const MinimalPool: graphql.DocumentNode;
|
|
3739
|
+
declare const PoolHistoricalData: graphql.DocumentNode;
|
|
3740
3740
|
/** Represents an event that occurs when a swap is made in a pool using the CowAmm protocol. */
|
|
3741
3741
|
type GqlPoolSwapEventCowAmm = GqlPoolEvent & {
|
|
3742
3742
|
__typename?: 'GqlPoolSwapEventCowAmm';
|
|
@@ -3773,7 +3773,7 @@ type GqlPoolSwapEventCowAmm = GqlPoolEvent & {
|
|
|
3773
3773
|
/** The value of the event in USD. */
|
|
3774
3774
|
valueUSD: Scalars['Float']['output'];
|
|
3775
3775
|
};
|
|
3776
|
-
declare const GqlPoolSwapEventCowAmm:
|
|
3776
|
+
declare const GqlPoolSwapEventCowAmm: graphql.DocumentNode;
|
|
3777
3777
|
/** Represents an event that occurs when a swap is made in a pool. */
|
|
3778
3778
|
type GqlPoolSwapEventV3 = GqlPoolEvent & {
|
|
3779
3779
|
__typename?: 'GqlPoolSwapEventV3';
|
|
@@ -3808,7 +3808,7 @@ type GqlPoolSwapEventV3 = GqlPoolEvent & {
|
|
|
3808
3808
|
/** The value of the event in USD. */
|
|
3809
3809
|
valueUSD: Scalars['Float']['output'];
|
|
3810
3810
|
};
|
|
3811
|
-
declare const GqlPoolSwapEventV3:
|
|
3811
|
+
declare const GqlPoolSwapEventV3: graphql.DocumentNode;
|
|
3812
3812
|
/** Represents an event that occurs when liquidity is added or removed from a pool. */
|
|
3813
3813
|
type GqlPoolAddRemoveEventV3 = GqlPoolEvent & {
|
|
3814
3814
|
__typename?: 'GqlPoolAddRemoveEventV3';
|
|
@@ -3839,14 +3839,14 @@ type GqlPoolAddRemoveEventV3 = GqlPoolEvent & {
|
|
|
3839
3839
|
/** The value of the event in USD. */
|
|
3840
3840
|
valueUSD: Scalars['Float']['output'];
|
|
3841
3841
|
};
|
|
3842
|
-
declare const GqlPoolAddRemoveEventV3:
|
|
3843
|
-
declare const PoolEvent:
|
|
3844
|
-
declare const GetPools:
|
|
3845
|
-
declare const GetPool:
|
|
3846
|
-
declare const GetPoolHistoricalData:
|
|
3847
|
-
declare const GetPoolEvents:
|
|
3848
|
-
declare const GetTokenCurrentPrices:
|
|
3849
|
-
declare const GetGlobalLiquidityAndSwapVolume:
|
|
3842
|
+
declare const GqlPoolAddRemoveEventV3: graphql.DocumentNode;
|
|
3843
|
+
declare const PoolEvent: graphql.DocumentNode;
|
|
3844
|
+
declare const GetPools: graphql.DocumentNode;
|
|
3845
|
+
declare const GetPool: graphql.DocumentNode;
|
|
3846
|
+
declare const GetPoolHistoricalData: graphql.DocumentNode;
|
|
3847
|
+
declare const GetPoolEvents: graphql.DocumentNode;
|
|
3848
|
+
declare const GetTokenCurrentPrices: graphql.DocumentNode;
|
|
3849
|
+
declare const GetGlobalLiquidityAndSwapVolume: graphql.DocumentNode;
|
|
3850
3850
|
interface PossibleTypesResultData {
|
|
3851
3851
|
possibleTypes: {
|
|
3852
3852
|
[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>;
|
|
@@ -3731,12 +3731,12 @@ type GetGlobalLiquidityAndSwapVolumeQuery = {
|
|
|
3731
3731
|
totalLiquidity: string;
|
|
3732
3732
|
};
|
|
3733
3733
|
};
|
|
3734
|
-
declare const DynamicData:
|
|
3735
|
-
declare const UserBalance:
|
|
3736
|
-
declare const RewardVault:
|
|
3737
|
-
declare const MinimalPoolInList:
|
|
3738
|
-
declare const MinimalPool:
|
|
3739
|
-
declare const PoolHistoricalData:
|
|
3734
|
+
declare const DynamicData: graphql.DocumentNode;
|
|
3735
|
+
declare const UserBalance: graphql.DocumentNode;
|
|
3736
|
+
declare const RewardVault: graphql.DocumentNode;
|
|
3737
|
+
declare const MinimalPoolInList: graphql.DocumentNode;
|
|
3738
|
+
declare const MinimalPool: graphql.DocumentNode;
|
|
3739
|
+
declare const PoolHistoricalData: graphql.DocumentNode;
|
|
3740
3740
|
/** Represents an event that occurs when a swap is made in a pool using the CowAmm protocol. */
|
|
3741
3741
|
type GqlPoolSwapEventCowAmm = GqlPoolEvent & {
|
|
3742
3742
|
__typename?: 'GqlPoolSwapEventCowAmm';
|
|
@@ -3773,7 +3773,7 @@ type GqlPoolSwapEventCowAmm = GqlPoolEvent & {
|
|
|
3773
3773
|
/** The value of the event in USD. */
|
|
3774
3774
|
valueUSD: Scalars['Float']['output'];
|
|
3775
3775
|
};
|
|
3776
|
-
declare const GqlPoolSwapEventCowAmm:
|
|
3776
|
+
declare const GqlPoolSwapEventCowAmm: graphql.DocumentNode;
|
|
3777
3777
|
/** Represents an event that occurs when a swap is made in a pool. */
|
|
3778
3778
|
type GqlPoolSwapEventV3 = GqlPoolEvent & {
|
|
3779
3779
|
__typename?: 'GqlPoolSwapEventV3';
|
|
@@ -3808,7 +3808,7 @@ type GqlPoolSwapEventV3 = GqlPoolEvent & {
|
|
|
3808
3808
|
/** The value of the event in USD. */
|
|
3809
3809
|
valueUSD: Scalars['Float']['output'];
|
|
3810
3810
|
};
|
|
3811
|
-
declare const GqlPoolSwapEventV3:
|
|
3811
|
+
declare const GqlPoolSwapEventV3: graphql.DocumentNode;
|
|
3812
3812
|
/** Represents an event that occurs when liquidity is added or removed from a pool. */
|
|
3813
3813
|
type GqlPoolAddRemoveEventV3 = GqlPoolEvent & {
|
|
3814
3814
|
__typename?: 'GqlPoolAddRemoveEventV3';
|
|
@@ -3839,14 +3839,14 @@ type GqlPoolAddRemoveEventV3 = GqlPoolEvent & {
|
|
|
3839
3839
|
/** The value of the event in USD. */
|
|
3840
3840
|
valueUSD: Scalars['Float']['output'];
|
|
3841
3841
|
};
|
|
3842
|
-
declare const GqlPoolAddRemoveEventV3:
|
|
3843
|
-
declare const PoolEvent:
|
|
3844
|
-
declare const GetPools:
|
|
3845
|
-
declare const GetPool:
|
|
3846
|
-
declare const GetPoolHistoricalData:
|
|
3847
|
-
declare const GetPoolEvents:
|
|
3848
|
-
declare const GetTokenCurrentPrices:
|
|
3849
|
-
declare const GetGlobalLiquidityAndSwapVolume:
|
|
3842
|
+
declare const GqlPoolAddRemoveEventV3: graphql.DocumentNode;
|
|
3843
|
+
declare const PoolEvent: graphql.DocumentNode;
|
|
3844
|
+
declare const GetPools: graphql.DocumentNode;
|
|
3845
|
+
declare const GetPool: graphql.DocumentNode;
|
|
3846
|
+
declare const GetPoolHistoricalData: graphql.DocumentNode;
|
|
3847
|
+
declare const GetPoolEvents: graphql.DocumentNode;
|
|
3848
|
+
declare const GetTokenCurrentPrices: graphql.DocumentNode;
|
|
3849
|
+
declare const GetGlobalLiquidityAndSwapVolume: graphql.DocumentNode;
|
|
3850
3850
|
interface PossibleTypesResultData {
|
|
3851
3851
|
possibleTypes: {
|
|
3852
3852
|
[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>;
|
|
@@ -5424,14 +5424,14 @@ type GetExploitedTokensQuery = {
|
|
|
5424
5424
|
} | null;
|
|
5425
5425
|
}>;
|
|
5426
5426
|
};
|
|
5427
|
-
declare const SubgraphPool:
|
|
5428
|
-
declare const SubgraphToken:
|
|
5429
|
-
declare const GetSubgraphPool:
|
|
5430
|
-
declare const GetToken:
|
|
5431
|
-
declare const GetTokens:
|
|
5432
|
-
declare const GetDedupedSubgraphPools:
|
|
5433
|
-
declare const GetTokenInformation:
|
|
5434
|
-
declare const GetExploitedTokens:
|
|
5427
|
+
declare const SubgraphPool: graphql.DocumentNode;
|
|
5428
|
+
declare const SubgraphToken: graphql.DocumentNode;
|
|
5429
|
+
declare const GetSubgraphPool: graphql.DocumentNode;
|
|
5430
|
+
declare const GetToken: graphql.DocumentNode;
|
|
5431
|
+
declare const GetTokens: graphql.DocumentNode;
|
|
5432
|
+
declare const GetDedupedSubgraphPools: graphql.DocumentNode;
|
|
5433
|
+
declare const GetTokenInformation: graphql.DocumentNode;
|
|
5434
|
+
declare const GetExploitedTokens: graphql.DocumentNode;
|
|
5435
5435
|
interface PossibleTypesResultData {
|
|
5436
5436
|
possibleTypes: {
|
|
5437
5437
|
[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>;
|
|
@@ -5424,14 +5424,14 @@ type GetExploitedTokensQuery = {
|
|
|
5424
5424
|
} | null;
|
|
5425
5425
|
}>;
|
|
5426
5426
|
};
|
|
5427
|
-
declare const SubgraphPool:
|
|
5428
|
-
declare const SubgraphToken:
|
|
5429
|
-
declare const GetSubgraphPool:
|
|
5430
|
-
declare const GetToken:
|
|
5431
|
-
declare const GetTokens:
|
|
5432
|
-
declare const GetDedupedSubgraphPools:
|
|
5433
|
-
declare const GetTokenInformation:
|
|
5434
|
-
declare const GetExploitedTokens:
|
|
5427
|
+
declare const SubgraphPool: graphql.DocumentNode;
|
|
5428
|
+
declare const SubgraphToken: graphql.DocumentNode;
|
|
5429
|
+
declare const GetSubgraphPool: graphql.DocumentNode;
|
|
5430
|
+
declare const GetToken: graphql.DocumentNode;
|
|
5431
|
+
declare const GetTokens: graphql.DocumentNode;
|
|
5432
|
+
declare const GetDedupedSubgraphPools: graphql.DocumentNode;
|
|
5433
|
+
declare const GetTokenInformation: graphql.DocumentNode;
|
|
5434
|
+
declare const GetExploitedTokens: graphql.DocumentNode;
|
|
5435
5435
|
interface PossibleTypesResultData {
|
|
5436
5436
|
possibleTypes: {
|
|
5437
5437
|
[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>;
|
|
@@ -1515,14 +1515,14 @@ type GetProposalQuery = {
|
|
|
1515
1515
|
};
|
|
1516
1516
|
} | null;
|
|
1517
1517
|
};
|
|
1518
|
-
declare const ProposalSelection:
|
|
1519
|
-
declare const ExecutableCallSubset:
|
|
1520
|
-
declare const ProposalVote:
|
|
1521
|
-
declare const ProposalWithVotes:
|
|
1522
|
-
declare const GetProposalVotes:
|
|
1523
|
-
declare const GetProposals:
|
|
1524
|
-
declare const SearchProposals:
|
|
1525
|
-
declare const GetProposal:
|
|
1518
|
+
declare const ProposalSelection: graphql.DocumentNode;
|
|
1519
|
+
declare const ExecutableCallSubset: graphql.DocumentNode;
|
|
1520
|
+
declare const ProposalVote: graphql.DocumentNode;
|
|
1521
|
+
declare const ProposalWithVotes: graphql.DocumentNode;
|
|
1522
|
+
declare const GetProposalVotes: graphql.DocumentNode;
|
|
1523
|
+
declare const GetProposals: graphql.DocumentNode;
|
|
1524
|
+
declare const SearchProposals: graphql.DocumentNode;
|
|
1525
|
+
declare const GetProposal: graphql.DocumentNode;
|
|
1526
1526
|
interface PossibleTypesResultData {
|
|
1527
1527
|
possibleTypes: {
|
|
1528
1528
|
[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>;
|
|
@@ -1515,14 +1515,14 @@ type GetProposalQuery = {
|
|
|
1515
1515
|
};
|
|
1516
1516
|
} | null;
|
|
1517
1517
|
};
|
|
1518
|
-
declare const ProposalSelection:
|
|
1519
|
-
declare const ExecutableCallSubset:
|
|
1520
|
-
declare const ProposalVote:
|
|
1521
|
-
declare const ProposalWithVotes:
|
|
1522
|
-
declare const GetProposalVotes:
|
|
1523
|
-
declare const GetProposals:
|
|
1524
|
-
declare const SearchProposals:
|
|
1525
|
-
declare const GetProposal:
|
|
1518
|
+
declare const ProposalSelection: graphql.DocumentNode;
|
|
1519
|
+
declare const ExecutableCallSubset: graphql.DocumentNode;
|
|
1520
|
+
declare const ProposalVote: graphql.DocumentNode;
|
|
1521
|
+
declare const ProposalWithVotes: graphql.DocumentNode;
|
|
1522
|
+
declare const GetProposalVotes: graphql.DocumentNode;
|
|
1523
|
+
declare const GetProposals: graphql.DocumentNode;
|
|
1524
|
+
declare const SearchProposals: graphql.DocumentNode;
|
|
1525
|
+
declare const GetProposal: graphql.DocumentNode;
|
|
1526
1526
|
interface PossibleTypesResultData {
|
|
1527
1527
|
possibleTypes: {
|
|
1528
1528
|
[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>;
|
|
@@ -766,12 +766,12 @@ type GetFirstHoneyTxnDateQuery = {
|
|
|
766
766
|
timestamp: string;
|
|
767
767
|
}>;
|
|
768
768
|
};
|
|
769
|
-
declare const HoneyTxnData:
|
|
770
|
-
declare const GetHoneyTxnByType:
|
|
771
|
-
declare const GetHoneyTxn:
|
|
772
|
-
declare const GetChartData:
|
|
773
|
-
declare const GetGlobalData:
|
|
774
|
-
declare const GetFirstHoneyTxnDate:
|
|
769
|
+
declare const HoneyTxnData: graphql.DocumentNode;
|
|
770
|
+
declare const GetHoneyTxnByType: graphql.DocumentNode;
|
|
771
|
+
declare const GetHoneyTxn: graphql.DocumentNode;
|
|
772
|
+
declare const GetChartData: graphql.DocumentNode;
|
|
773
|
+
declare const GetGlobalData: graphql.DocumentNode;
|
|
774
|
+
declare const GetFirstHoneyTxnDate: graphql.DocumentNode;
|
|
775
775
|
interface PossibleTypesResultData {
|
|
776
776
|
possibleTypes: {
|
|
777
777
|
[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>;
|
|
@@ -766,12 +766,12 @@ type GetFirstHoneyTxnDateQuery = {
|
|
|
766
766
|
timestamp: string;
|
|
767
767
|
}>;
|
|
768
768
|
};
|
|
769
|
-
declare const HoneyTxnData:
|
|
770
|
-
declare const GetHoneyTxnByType:
|
|
771
|
-
declare const GetHoneyTxn:
|
|
772
|
-
declare const GetChartData:
|
|
773
|
-
declare const GetGlobalData:
|
|
774
|
-
declare const GetFirstHoneyTxnDate:
|
|
769
|
+
declare const HoneyTxnData: graphql.DocumentNode;
|
|
770
|
+
declare const GetHoneyTxnByType: graphql.DocumentNode;
|
|
771
|
+
declare const GetHoneyTxn: graphql.DocumentNode;
|
|
772
|
+
declare const GetChartData: graphql.DocumentNode;
|
|
773
|
+
declare const GetGlobalData: graphql.DocumentNode;
|
|
774
|
+
declare const GetFirstHoneyTxnDate: graphql.DocumentNode;
|
|
775
775
|
interface PossibleTypesResultData {
|
|
776
776
|
possibleTypes: {
|
|
777
777
|
[key: string]: string[];
|
package/dist/pol/api.codegen.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var d=Object.defineProperty;var J=Object.getOwnPropertyDescriptor;var X=Object.getOwnPropertyNames;var j=Object.prototype.hasOwnProperty;var Z=(c,u)=>{for(var t in u)d(c,t,{get:u[t],enumerable:!0})},tt=(c,u,t,a)=>{if(u&&typeof u=="object"||typeof u=="function")for(let e of X(u))!j.call(c,e)&&e!==t&&d(c,e,{get:()=>u[e],enumerable:!(a=J(u,e))||a.enumerable});return c};var at=c=>tt(d({},"__esModule",{value:!0}),c);var
|
|
1
|
+
"use strict";var d=Object.defineProperty;var J=Object.getOwnPropertyDescriptor;var X=Object.getOwnPropertyNames;var j=Object.prototype.hasOwnProperty;var Z=(c,u)=>{for(var t in u)d(c,t,{get:u[t],enumerable:!0})},tt=(c,u,t,a)=>{if(u&&typeof u=="object"||typeof u=="function")for(let e of X(u))!j.call(c,e)&&e!==t&&d(c,e,{get:()=>u[e],enumerable:!(a=J(u,e))||a.enumerable});return c};var at=c=>tt(d({},"__esModule",{value:!0}),c);var dt={};Z(dt,{ApiRewardAllocationWeight:()=>z,ApiValidator:()=>y,ApiValidatorBlockUptime:()=>K,ApiValidatorMinimal:()=>g,ApiVault:()=>S,ApiVaultIncentive:()=>Y,GetRewardVault:()=>lt,GetSWberaVaultMetadata:()=>pt,GetSWberaVaultSnapshots:()=>ct,GetUserVaults:()=>it,GetValidator:()=>ot,GetValidators:()=>rt,GetVaultHistory:()=>ut,GetVaultValidators:()=>nt,GetVaults:()=>et,GlobalData:()=>st,GqlChain:()=>m,GqlContentNewsItemSource:()=>G,GqlPoolAprItemType:()=>A,GqlPoolEventType:()=>b,GqlPoolEventsDataRange:()=>I,GqlPoolFilterCategory:()=>q,GqlPoolJoinExitType:()=>P,GqlPoolNestingType:()=>B,GqlPoolOrderBy:()=>h,GqlPoolOrderDirection:()=>k,GqlPoolSnapshotDataRange:()=>D,GqlPoolType:()=>_,GqlRewardVaultIncentiveOrderBy:()=>v,GqlRewardVaultIncentiveOrderDirection:()=>M,GqlRewardVaultOrderBy:()=>T,GqlRewardVaultOrderDirection:()=>x,GqlRewardVaultSnapshotDataRange:()=>V,GqlRewardVaultSnapshotResolution:()=>w,GqlSWberaVaultMetadataResolution:()=>R,GqlSorSwapType:()=>C,GqlStakeBeraVaultEventType:()=>U,GqlTokenChartDataRange:()=>E,GqlTokenType:()=>$,GqlUserVaultDepositOrderBy:()=>F,GqlUserVaultDepositOrderDirection:()=>f,GqlValidatorBlockUptimeStatus:()=>N,GqlValidatorBoostOrderBy:()=>W,GqlValidatorBoostOrderDirection:()=>Q,GqlValidatorOrderBy:()=>H,GqlValidatorOrderDirection:()=>O,GqlVaultSnapshotDataRange:()=>L,default:()=>yt});module.exports=at(dt);var n=require("@apollo/client"),m=(t=>(t.Bepolia="BEPOLIA",t.Berachain="BERACHAIN",t))(m||{}),G=(a=>(a.Discord="discord",a.Medium="medium",a.Twitter="twitter",a))(G||{}),A=(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))(A||{}),b=(a=>(a.Add="ADD",a.Remove="REMOVE",a.Swap="SWAP",a))(b||{}),I=(a=>(a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(I||{}),q=(p=>(p.BlackListed="BLACK_LISTED",p.Incentivized="INCENTIVIZED",p.Lrt="LRT",p.Points="POINTS",p.PointsEigenlayer="POINTS_EIGENLAYER",p.PointsGyro="POINTS_GYRO",p.PointsKelp="POINTS_KELP",p.PointsRenzo="POINTS_RENZO",p.PointsSwell="POINTS_SWELL",p.Superfest="SUPERFEST",p))(q||{}),P=(t=>(t.Exit="Exit",t.Join="Join",t))(P||{}),B=(a=>(a.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",a.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",a.NoNesting="NO_NESTING",a))(B||{}),h=(r=>(r.Apr="apr",r.BgtApr="bgtApr",r.CombinedApr="combinedApr",r.Fees24h="fees24h",r.TotalLiquidity="totalLiquidity",r.TotalShares="totalShares",r.UserbalanceUsd="userbalanceUsd",r.Volume24h="volume24h",r))(h||{}),k=(t=>(t.Asc="asc",t.Desc="desc",t))(k||{}),D=(o=>(o.AllTime="ALL_TIME",o.NinetyDays="NINETY_DAYS",o.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",o.OneYear="ONE_YEAR",o.ThirtyDays="THIRTY_DAYS",o))(D||{}),_=(s=>(s.ComposableStable="COMPOSABLE_STABLE",s.CowAmm="COW_AMM",s.Element="ELEMENT",s.Fx="FX",s.Gyro="GYRO",s.Gyro3="GYRO3",s.Gyroe="GYROE",s.Investment="INVESTMENT",s.LiquidityBootstrapping="LIQUIDITY_BOOTSTRAPPING",s.MetaStable="META_STABLE",s.PhantomStable="PHANTOM_STABLE",s.Stable="STABLE",s.Unknown="UNKNOWN",s.Weighted="WEIGHTED",s))(_||{}),v=(a=>(a.AmountRemaining="amountRemaining",a.AmountRemainingUsd="amountRemainingUsd",a.IncentiveRate="incentiveRate",a))(v||{}),M=(t=>(t.Asc="asc",t.Desc="desc",t))(M||{}),T=(r=>(r.ActiveIncentivesRateUsd="activeIncentivesRateUsd",r.ActiveIncentivesValueUsd="activeIncentivesValueUsd",r.AllTimeBgtReceived="allTimeBGTReceived",r.Apr="apr",r.Apy="apy",r.BgtCapturePercentage="bgtCapturePercentage",r.Last24hBgtReceived="last24hBGTReceived",r.ProjectedApr="projectedApr",r))(T||{}),x=(t=>(t.Asc="asc",t.Desc="desc",t))(x||{}),V=(e=>(e.NinetyDays="NINETY_DAYS",e.SevenDays="SEVEN_DAYS",e.SixtyDays="SIXTY_DAYS",e.ThirtyDays="THIRTY_DAYS",e))(V||{}),w=(t=>(t.Day="DAY",t.Hour="HOUR",t))(w||{}),R=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(R||{}),C=(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(C||{}),U=(t=>(t.Deposit="DEPOSIT",t.WithdrawalCompleted="WITHDRAWAL_COMPLETED",t))(U||{}),E=(o=>(o.NinetyDay="NINETY_DAY",o.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",o.OneYear="ONE_YEAR",o.SevenDay="SEVEN_DAY",o.ThirtyDay="THIRTY_DAY",o))(E||{}),$=(a=>(a.Bpt="BPT",a.PhantomBpt="PHANTOM_BPT",a.WhiteListed="WHITE_LISTED",a))($||{}),F=(u=>(u.Amount="amount",u))(F||{}),f=(t=>(t.Asc="asc",t.Desc="desc",t))(f||{}),N=(e=>(e.Inactive="INACTIVE",e.Offline="OFFLINE",e.Proposed="PROPOSED",e.Signed="SIGNED",e))(N||{}),W=(o=>(o.ActiveBoostAmount="activeBoostAmount",o.LatestBlock="latestBlock",o.LatestBlockTime="latestBlockTime",o.QueuedBoostAmount="queuedBoostAmount",o.QueuedDropBoostAmount="queuedDropBoostAmount",o))(W||{}),Q=(t=>(t.Asc="asc",t.Desc="desc",t))(Q||{}),H=(l=>(l.ActiveBoostAmount="activeBoostAmount",l.AllTimeDistributedBgtAmount="allTimeDistributedBGTAmount",l.AllTimeEarnedBgtAmount="allTimeEarnedBGTAmount",l.Apy="apy",l.BgtCapturePercentage="bgtCapturePercentage",l.BoostApr="boostApr",l.CommissionOnIncentives="commissionOnIncentives",l.LastDayDistributedBgtAmount="lastDayDistributedBGTAmount",l.LastDayEarnedBgtAmount="lastDayEarnedBGTAmount",l.QueuedBoostAmount="queuedBoostAmount",l.QueuedDropBoostAmount="queuedDropBoostAmount",l.RewardRate="rewardRate",l.StakedBeraAmount="stakedBeraAmount",l.UsersActiveBoostCount="usersActiveBoostCount",l.UsersQueuedBoostCount="usersQueuedBoostCount",l))(H||{}),O=(t=>(t.Asc="asc",t.Desc="desc",t))(O||{}),L=(e=>(e.NinetyDays="NINETY_DAYS",e.SevenDays="SEVEN_DAYS",e.SixtyDays="SIXTY_DAYS",e.ThirtyDays="THIRTY_DAYS",e))(L||{}),g=n.gql`
|
|
2
2
|
fragment ApiValidatorMinimal on GqlValidator {
|
|
3
3
|
id
|
|
4
4
|
pubkey
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
commissionOnIncentives
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
`,Y=
|
|
25
|
+
`,Y=n.gql`
|
|
26
26
|
fragment ApiVaultIncentive on GqlRewardVaultIncentive {
|
|
27
27
|
active
|
|
28
28
|
remainingAmount
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
decimals
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
`,S=
|
|
40
|
+
`,S=n.gql`
|
|
41
41
|
fragment ApiVault on GqlRewardVault {
|
|
42
42
|
id: vaultAddress
|
|
43
43
|
vaultAddress
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
...ApiVaultIncentive
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
${Y}`,z=
|
|
77
|
+
${Y}`,z=n.gql`
|
|
78
78
|
fragment ApiRewardAllocationWeight on GqlValidatorRewardAllocationWeight {
|
|
79
79
|
percentage
|
|
80
80
|
receivingVault {
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
receiver
|
|
84
84
|
startBlock
|
|
85
85
|
}
|
|
86
|
-
${S}`,y=
|
|
86
|
+
${S}`,y=n.gql`
|
|
87
87
|
fragment ApiValidator on GqlValidator {
|
|
88
88
|
...ApiValidatorMinimal
|
|
89
89
|
operator
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
${g}
|
|
108
|
-
${z}`,K=
|
|
108
|
+
${z}`,K=n.gql`
|
|
109
109
|
fragment ApiValidatorBlockUptime on GqlValidatorBlockUptime {
|
|
110
110
|
isActive
|
|
111
111
|
isProposer
|
|
@@ -113,7 +113,7 @@ ${z}`,K=r.gql`
|
|
|
113
113
|
status
|
|
114
114
|
blockNumber
|
|
115
115
|
}
|
|
116
|
-
`,et=
|
|
116
|
+
`,et=n.gql`
|
|
117
117
|
query GetVaults($where: GqlRewardVaultFilter, $pageSize: Int, $skip: Int, $orderBy: GqlRewardVaultOrderBy = bgtCapturePercentage, $orderDirection: GqlRewardVaultOrderDirection = desc, $search: String) {
|
|
118
118
|
polGetRewardVaults(
|
|
119
119
|
where: $where
|
|
@@ -132,7 +132,7 @@ ${z}`,K=r.gql`
|
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
|
-
${S}`,
|
|
135
|
+
${S}`,ot=n.gql`
|
|
136
136
|
query GetValidator($id: String!, $chain: GqlChain!) {
|
|
137
137
|
validator: polGetValidator(validatorId: $id, chain: $chain) {
|
|
138
138
|
...ApiValidator
|
|
@@ -142,7 +142,7 @@ ${z}`,K=r.gql`
|
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
${y}
|
|
145
|
-
${K}`,
|
|
145
|
+
${K}`,rt=n.gql`
|
|
146
146
|
query GetValidators($where: GqlValidatorFilter, $sortBy: GqlValidatorOrderBy = lastDayDistributedBGTAmount, $sortOrder: GqlValidatorOrderDirection = desc, $pageSize: Int, $skip: Int, $search: String, $chain: GqlChain) {
|
|
147
147
|
validators: polGetValidators(
|
|
148
148
|
where: $where
|
|
@@ -164,7 +164,7 @@ ${K}`,ot=r.gql`
|
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
|
-
${y}`,nt=
|
|
167
|
+
${y}`,nt=n.gql`
|
|
168
168
|
query GetVaultValidators($vaultId: String!, $chain: GqlChain, $isActive: Boolean = true) {
|
|
169
169
|
validators: polGetValidators(
|
|
170
170
|
where: {vaultAddress: $vaultId, isActive: $isActive}
|
|
@@ -181,13 +181,13 @@ ${K}`,ot=r.gql`
|
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
|
-
${y}`,lt=
|
|
184
|
+
${y}`,lt=n.gql`
|
|
185
185
|
query GetRewardVault($vaultId: String!, $chain: GqlChain!) {
|
|
186
186
|
rewardVault: polGetRewardVault(vaultAddress: $vaultId, chain: $chain) {
|
|
187
187
|
...ApiVault
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
${S}`,st=
|
|
190
|
+
${S}`,st=n.gql`
|
|
191
191
|
query GlobalData($chain: GqlChain!) {
|
|
192
192
|
top3EmittingValidators: polGetValidators(
|
|
193
193
|
orderBy: bgtCapturePercentage
|
|
@@ -220,7 +220,7 @@ ${K}`,ot=r.gql`
|
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
|
-
${g}`,it=
|
|
223
|
+
${g}`,it=n.gql`
|
|
224
224
|
query GetUserVaults($userId: String!, $chain: GqlChain!) {
|
|
225
225
|
userVaultDeposits: polGetUserVaultDeposits(userAddress: $userId, chain: $chain) {
|
|
226
226
|
pagination {
|
|
@@ -236,7 +236,7 @@ ${K}`,ot=r.gql`
|
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
|
-
${S}`,ut=
|
|
239
|
+
${S}`,ut=n.gql`
|
|
240
240
|
query GetVaultHistory($vaultId: String!, $chain: GqlChain!, $resolution: GqlRewardVaultSnapshotResolution = DAY, $range: GqlRewardVaultSnapshotDataRange = THIRTY_DAYS) {
|
|
241
241
|
polGetRewardVaultSnapshots(
|
|
242
242
|
chain: $chain
|
|
@@ -249,14 +249,14 @@ ${K}`,ot=r.gql`
|
|
|
249
249
|
apr
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
|
-
`,pt=
|
|
252
|
+
`,pt=n.gql`
|
|
253
253
|
query GetSWberaVaultMetadata($chain: GqlChain!, $resolution: GqlSWberaVaultMetadataResolution) {
|
|
254
254
|
polGetSWberaVaultMetadata(chain: $chain, resolution: $resolution) {
|
|
255
255
|
apr
|
|
256
256
|
chain
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
|
-
`,ct=
|
|
259
|
+
`,ct=n.gql`
|
|
260
260
|
query GetSWberaVaultSnapshots($chain: GqlChain!, $range: GqlVaultSnapshotDataRange) {
|
|
261
261
|
polGetSWberaVaultSnapshots(chain: $chain, range: $range) {
|
|
262
262
|
apr
|
|
@@ -267,22 +267,4 @@ ${K}`,ot=r.gql`
|
|
|
267
267
|
vaultAddress
|
|
268
268
|
}
|
|
269
269
|
}
|
|
270
|
-
`,St=
|
|
271
|
-
query GetPolStakeBeraVaultEventsByOwner($owner: String!) {
|
|
272
|
-
events: polGetStakeBeraVaultEventsByOwner(owner: $owner) {
|
|
273
|
-
type
|
|
274
|
-
assets
|
|
275
|
-
shares
|
|
276
|
-
owner
|
|
277
|
-
_id
|
|
278
|
-
_timestamp
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
`,yt=r.gql`
|
|
282
|
-
query GetStakeBeraVaultEarningsByOwner($owner: String!) {
|
|
283
|
-
polGetStakeBeraVaultEarningsByOwner(owner: $owner) {
|
|
284
|
-
earnings
|
|
285
|
-
owner
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
`,dt={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"]}},gt=dt;0&&(module.exports={ApiRewardAllocationWeight,ApiValidator,ApiValidatorBlockUptime,ApiValidatorMinimal,ApiVault,ApiVaultIncentive,GetPolStakeBeraVaultEventsByOwner,GetRewardVault,GetSWberaVaultMetadata,GetSWberaVaultSnapshots,GetStakeBeraVaultEarningsByOwner,GetUserVaults,GetValidator,GetValidators,GetVaultHistory,GetVaultValidators,GetVaults,GlobalData,GqlChain,GqlContentNewsItemSource,GqlPoolAprItemType,GqlPoolEventType,GqlPoolEventsDataRange,GqlPoolFilterCategory,GqlPoolJoinExitType,GqlPoolNestingType,GqlPoolOrderBy,GqlPoolOrderDirection,GqlPoolSnapshotDataRange,GqlPoolType,GqlRewardVaultIncentiveOrderBy,GqlRewardVaultIncentiveOrderDirection,GqlRewardVaultOrderBy,GqlRewardVaultOrderDirection,GqlRewardVaultSnapshotDataRange,GqlRewardVaultSnapshotResolution,GqlSWberaVaultMetadataResolution,GqlSorSwapType,GqlStakeBeraVaultEventType,GqlTokenChartDataRange,GqlTokenType,GqlUserVaultDepositOrderBy,GqlUserVaultDepositOrderDirection,GqlValidatorBlockUptimeStatus,GqlValidatorBoostOrderBy,GqlValidatorBoostOrderDirection,GqlValidatorOrderBy,GqlValidatorOrderDirection,GqlVaultSnapshotDataRange});
|
|
270
|
+
`,St={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"]}},yt=St;0&&(module.exports={ApiRewardAllocationWeight,ApiValidator,ApiValidatorBlockUptime,ApiValidatorMinimal,ApiVault,ApiVaultIncentive,GetRewardVault,GetSWberaVaultMetadata,GetSWberaVaultSnapshots,GetUserVaults,GetValidator,GetValidators,GetVaultHistory,GetVaultValidators,GetVaults,GlobalData,GqlChain,GqlContentNewsItemSource,GqlPoolAprItemType,GqlPoolEventType,GqlPoolEventsDataRange,GqlPoolFilterCategory,GqlPoolJoinExitType,GqlPoolNestingType,GqlPoolOrderBy,GqlPoolOrderDirection,GqlPoolSnapshotDataRange,GqlPoolType,GqlRewardVaultIncentiveOrderBy,GqlRewardVaultIncentiveOrderDirection,GqlRewardVaultOrderBy,GqlRewardVaultOrderDirection,GqlRewardVaultSnapshotDataRange,GqlRewardVaultSnapshotResolution,GqlSWberaVaultMetadataResolution,GqlSorSwapType,GqlStakeBeraVaultEventType,GqlTokenChartDataRange,GqlTokenType,GqlUserVaultDepositOrderBy,GqlUserVaultDepositOrderDirection,GqlValidatorBlockUptimeStatus,GqlValidatorBoostOrderBy,GqlValidatorBoostOrderDirection,GqlValidatorOrderBy,GqlValidatorOrderDirection,GqlVaultSnapshotDataRange});
|
|
@@ -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>;
|
|
@@ -3574,50 +3574,22 @@ type GetSWberaVaultSnapshotsQuery = {
|
|
|
3574
3574
|
vaultAddress: `0x${string}`;
|
|
3575
3575
|
}>;
|
|
3576
3576
|
};
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
owner: Scalars['String']['input'];
|
|
3594
|
-
}>;
|
|
3595
|
-
type GetStakeBeraVaultEarningsByOwnerQuery = {
|
|
3596
|
-
__typename?: 'Query';
|
|
3597
|
-
polGetStakeBeraVaultEarningsByOwner: {
|
|
3598
|
-
__typename?: 'GqlStakeBeraVaultEarnings';
|
|
3599
|
-
earnings: string;
|
|
3600
|
-
owner: string;
|
|
3601
|
-
};
|
|
3602
|
-
};
|
|
3603
|
-
declare const ApiValidatorMinimal: _apollo_client.DocumentNode;
|
|
3604
|
-
declare const ApiVaultIncentive: _apollo_client.DocumentNode;
|
|
3605
|
-
declare const ApiVault: _apollo_client.DocumentNode;
|
|
3606
|
-
declare const ApiRewardAllocationWeight: _apollo_client.DocumentNode;
|
|
3607
|
-
declare const ApiValidator: _apollo_client.DocumentNode;
|
|
3608
|
-
declare const ApiValidatorBlockUptime: _apollo_client.DocumentNode;
|
|
3609
|
-
declare const GetVaults: _apollo_client.DocumentNode;
|
|
3610
|
-
declare const GetValidator: _apollo_client.DocumentNode;
|
|
3611
|
-
declare const GetValidators: _apollo_client.DocumentNode;
|
|
3612
|
-
declare const GetVaultValidators: _apollo_client.DocumentNode;
|
|
3613
|
-
declare const GetRewardVault: _apollo_client.DocumentNode;
|
|
3614
|
-
declare const GlobalData: _apollo_client.DocumentNode;
|
|
3615
|
-
declare const GetUserVaults: _apollo_client.DocumentNode;
|
|
3616
|
-
declare const GetVaultHistory: _apollo_client.DocumentNode;
|
|
3617
|
-
declare const GetSWberaVaultMetadata: _apollo_client.DocumentNode;
|
|
3618
|
-
declare const GetSWberaVaultSnapshots: _apollo_client.DocumentNode;
|
|
3619
|
-
declare const GetPolStakeBeraVaultEventsByOwner: _apollo_client.DocumentNode;
|
|
3620
|
-
declare const GetStakeBeraVaultEarningsByOwner: _apollo_client.DocumentNode;
|
|
3577
|
+
declare const ApiValidatorMinimal: graphql.DocumentNode;
|
|
3578
|
+
declare const ApiVaultIncentive: graphql.DocumentNode;
|
|
3579
|
+
declare const ApiVault: graphql.DocumentNode;
|
|
3580
|
+
declare const ApiRewardAllocationWeight: graphql.DocumentNode;
|
|
3581
|
+
declare const ApiValidator: graphql.DocumentNode;
|
|
3582
|
+
declare const ApiValidatorBlockUptime: graphql.DocumentNode;
|
|
3583
|
+
declare const GetVaults: graphql.DocumentNode;
|
|
3584
|
+
declare const GetValidator: graphql.DocumentNode;
|
|
3585
|
+
declare const GetValidators: graphql.DocumentNode;
|
|
3586
|
+
declare const GetVaultValidators: graphql.DocumentNode;
|
|
3587
|
+
declare const GetRewardVault: graphql.DocumentNode;
|
|
3588
|
+
declare const GlobalData: graphql.DocumentNode;
|
|
3589
|
+
declare const GetUserVaults: graphql.DocumentNode;
|
|
3590
|
+
declare const GetVaultHistory: graphql.DocumentNode;
|
|
3591
|
+
declare const GetSWberaVaultMetadata: graphql.DocumentNode;
|
|
3592
|
+
declare const GetSWberaVaultSnapshots: graphql.DocumentNode;
|
|
3621
3593
|
interface PossibleTypesResultData {
|
|
3622
3594
|
possibleTypes: {
|
|
3623
3595
|
[key: string]: string[];
|
|
@@ -3625,4 +3597,4 @@ interface PossibleTypesResultData {
|
|
|
3625
3597
|
}
|
|
3626
3598
|
declare const result: PossibleTypesResultData;
|
|
3627
3599
|
|
|
3628
|
-
export { ApiRewardAllocationWeight, type ApiRewardAllocationWeightFragment, ApiValidator, ApiValidatorBlockUptime, type ApiValidatorBlockUptimeFragment, type ApiValidatorFragment, ApiValidatorMinimal, type ApiValidatorMinimalFragment, ApiVault, type ApiVaultFragment, ApiVaultIncentive, type ApiVaultIncentiveFragment, type BendVaultDynamicData, type BendVaultResponse, type Exact,
|
|
3600
|
+
export { ApiRewardAllocationWeight, type ApiRewardAllocationWeightFragment, ApiValidator, ApiValidatorBlockUptime, type ApiValidatorBlockUptimeFragment, type ApiValidatorFragment, ApiValidatorMinimal, type ApiValidatorMinimalFragment, ApiVault, type ApiVaultFragment, ApiVaultIncentive, type ApiVaultIncentiveFragment, type BendVaultDynamicData, type BendVaultResponse, type Exact, GetRewardVault, type GetRewardVaultQuery, type GetRewardVaultQueryVariables, GetSWberaVaultMetadata, type GetSWberaVaultMetadataQuery, type GetSWberaVaultMetadataQueryVariables, GetSWberaVaultSnapshots, type GetSWberaVaultSnapshotsQuery, type GetSWberaVaultSnapshotsQueryVariables, GetUserVaults, type GetUserVaultsQuery, type GetUserVaultsQueryVariables, GetValidator, type GetValidatorQuery, type GetValidatorQueryVariables, GetValidators, type GetValidatorsQuery, type GetValidatorsQueryVariables, GetVaultHistory, type GetVaultHistoryQuery, type GetVaultHistoryQueryVariables, GetVaultValidators, type GetVaultValidatorsQuery, type GetVaultValidatorsQueryVariables, GetVaults, type GetVaultsQuery, type GetVaultsQueryVariables, GlobalData, type GlobalDataQuery, type GlobalDataQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type 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 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 MutationPoolSyncLatestSnapshotsForAllPoolsArgs, type MutationPoolSyncPoolArgs, type MutationPoolUpdateAprsArgs, type MutationTokenDeleteTokenTypeArgs, type MutationTokenReloadErc4626TokensArgs, type MutationTokenReloadTokenPricesArgs, type MutationTokenSyncLatestFxPricesArgs, type MutationUserInitWalletBalancesForPoolArgs, type MutationUserSyncBalanceArgs, type PaginatedRewardVaultIncentivesResponse, type PaginatedRewardVaultsResponse, type PaginatedUserVaultDepositsResponse, type PaginatedValidatorBlockUptimesResponse, type PaginatedValidatorBoostsResponse, type PaginatedValidatorsResponse, type PossibleTypesResultData, type Query, type QueryBendVaultArgs, type 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>;
|
|
@@ -3574,50 +3574,22 @@ type GetSWberaVaultSnapshotsQuery = {
|
|
|
3574
3574
|
vaultAddress: `0x${string}`;
|
|
3575
3575
|
}>;
|
|
3576
3576
|
};
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
owner: Scalars['String']['input'];
|
|
3594
|
-
}>;
|
|
3595
|
-
type GetStakeBeraVaultEarningsByOwnerQuery = {
|
|
3596
|
-
__typename?: 'Query';
|
|
3597
|
-
polGetStakeBeraVaultEarningsByOwner: {
|
|
3598
|
-
__typename?: 'GqlStakeBeraVaultEarnings';
|
|
3599
|
-
earnings: string;
|
|
3600
|
-
owner: string;
|
|
3601
|
-
};
|
|
3602
|
-
};
|
|
3603
|
-
declare const ApiValidatorMinimal: _apollo_client.DocumentNode;
|
|
3604
|
-
declare const ApiVaultIncentive: _apollo_client.DocumentNode;
|
|
3605
|
-
declare const ApiVault: _apollo_client.DocumentNode;
|
|
3606
|
-
declare const ApiRewardAllocationWeight: _apollo_client.DocumentNode;
|
|
3607
|
-
declare const ApiValidator: _apollo_client.DocumentNode;
|
|
3608
|
-
declare const ApiValidatorBlockUptime: _apollo_client.DocumentNode;
|
|
3609
|
-
declare const GetVaults: _apollo_client.DocumentNode;
|
|
3610
|
-
declare const GetValidator: _apollo_client.DocumentNode;
|
|
3611
|
-
declare const GetValidators: _apollo_client.DocumentNode;
|
|
3612
|
-
declare const GetVaultValidators: _apollo_client.DocumentNode;
|
|
3613
|
-
declare const GetRewardVault: _apollo_client.DocumentNode;
|
|
3614
|
-
declare const GlobalData: _apollo_client.DocumentNode;
|
|
3615
|
-
declare const GetUserVaults: _apollo_client.DocumentNode;
|
|
3616
|
-
declare const GetVaultHistory: _apollo_client.DocumentNode;
|
|
3617
|
-
declare const GetSWberaVaultMetadata: _apollo_client.DocumentNode;
|
|
3618
|
-
declare const GetSWberaVaultSnapshots: _apollo_client.DocumentNode;
|
|
3619
|
-
declare const GetPolStakeBeraVaultEventsByOwner: _apollo_client.DocumentNode;
|
|
3620
|
-
declare const GetStakeBeraVaultEarningsByOwner: _apollo_client.DocumentNode;
|
|
3577
|
+
declare const ApiValidatorMinimal: graphql.DocumentNode;
|
|
3578
|
+
declare const ApiVaultIncentive: graphql.DocumentNode;
|
|
3579
|
+
declare const ApiVault: graphql.DocumentNode;
|
|
3580
|
+
declare const ApiRewardAllocationWeight: graphql.DocumentNode;
|
|
3581
|
+
declare const ApiValidator: graphql.DocumentNode;
|
|
3582
|
+
declare const ApiValidatorBlockUptime: graphql.DocumentNode;
|
|
3583
|
+
declare const GetVaults: graphql.DocumentNode;
|
|
3584
|
+
declare const GetValidator: graphql.DocumentNode;
|
|
3585
|
+
declare const GetValidators: graphql.DocumentNode;
|
|
3586
|
+
declare const GetVaultValidators: graphql.DocumentNode;
|
|
3587
|
+
declare const GetRewardVault: graphql.DocumentNode;
|
|
3588
|
+
declare const GlobalData: graphql.DocumentNode;
|
|
3589
|
+
declare const GetUserVaults: graphql.DocumentNode;
|
|
3590
|
+
declare const GetVaultHistory: graphql.DocumentNode;
|
|
3591
|
+
declare const GetSWberaVaultMetadata: graphql.DocumentNode;
|
|
3592
|
+
declare const GetSWberaVaultSnapshots: graphql.DocumentNode;
|
|
3621
3593
|
interface PossibleTypesResultData {
|
|
3622
3594
|
possibleTypes: {
|
|
3623
3595
|
[key: string]: string[];
|
|
@@ -3625,4 +3597,4 @@ interface PossibleTypesResultData {
|
|
|
3625
3597
|
}
|
|
3626
3598
|
declare const result: PossibleTypesResultData;
|
|
3627
3599
|
|
|
3628
|
-
export { ApiRewardAllocationWeight, type ApiRewardAllocationWeightFragment, ApiValidator, ApiValidatorBlockUptime, type ApiValidatorBlockUptimeFragment, type ApiValidatorFragment, ApiValidatorMinimal, type ApiValidatorMinimalFragment, ApiVault, type ApiVaultFragment, ApiVaultIncentive, type ApiVaultIncentiveFragment, type BendVaultDynamicData, type BendVaultResponse, type Exact,
|
|
3600
|
+
export { ApiRewardAllocationWeight, type ApiRewardAllocationWeightFragment, ApiValidator, ApiValidatorBlockUptime, type ApiValidatorBlockUptimeFragment, type ApiValidatorFragment, ApiValidatorMinimal, type ApiValidatorMinimalFragment, ApiVault, type ApiVaultFragment, ApiVaultIncentive, type ApiVaultIncentiveFragment, type BendVaultDynamicData, type BendVaultResponse, type Exact, GetRewardVault, type GetRewardVaultQuery, type GetRewardVaultQueryVariables, GetSWberaVaultMetadata, type GetSWberaVaultMetadataQuery, type GetSWberaVaultMetadataQueryVariables, GetSWberaVaultSnapshots, type GetSWberaVaultSnapshotsQuery, type GetSWberaVaultSnapshotsQueryVariables, GetUserVaults, type GetUserVaultsQuery, type GetUserVaultsQueryVariables, GetValidator, type GetValidatorQuery, type GetValidatorQueryVariables, GetValidators, type GetValidatorsQuery, type GetValidatorsQueryVariables, GetVaultHistory, type GetVaultHistoryQuery, type GetVaultHistoryQueryVariables, GetVaultValidators, type GetVaultValidatorsQuery, type GetVaultValidatorsQueryVariables, GetVaults, type GetVaultsQuery, type GetVaultsQueryVariables, GlobalData, type GlobalDataQuery, type GlobalDataQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type 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 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 MutationPoolSyncLatestSnapshotsForAllPoolsArgs, type MutationPoolSyncPoolArgs, type MutationPoolUpdateAprsArgs, type MutationTokenDeleteTokenTypeArgs, type MutationTokenReloadErc4626TokensArgs, type MutationTokenReloadTokenPricesArgs, type MutationTokenSyncLatestFxPricesArgs, type MutationUserInitWalletBalancesForPoolArgs, type MutationUserSyncBalanceArgs, type PaginatedRewardVaultIncentivesResponse, type PaginatedRewardVaultsResponse, type PaginatedUserVaultDepositsResponse, type PaginatedValidatorBlockUptimesResponse, type PaginatedValidatorBoostsResponse, type PaginatedValidatorsResponse, type PossibleTypesResultData, type Query, type QueryBendVaultArgs, type 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.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{gql as
|
|
1
|
+
import{gql as r}from"@apollo/client";var d=(t=>(t.Bepolia="BEPOLIA",t.Berachain="BERACHAIN",t))(d||{}),g=(a=>(a.Discord="discord",a.Medium="medium",a.Twitter="twitter",a))(g||{}),m=(i=>(i.Aura="AURA",i.IbYield="IB_YIELD",i.Locking="LOCKING",i.MabeetsEmissions="MABEETS_EMISSIONS",i.Merkl="MERKL",i.Nested="NESTED",i.Staking="STAKING",i.StakingBoost="STAKING_BOOST",i.Surplus="SURPLUS",i.SwapFee="SWAP_FEE",i.VebalEmissions="VEBAL_EMISSIONS",i.Voting="VOTING",i))(m||{}),G=(a=>(a.Add="ADD",a.Remove="REMOVE",a.Swap="SWAP",a))(G||{}),A=(a=>(a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(A||{}),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||{}),I=(t=>(t.Exit="Exit",t.Join="Join",t))(I||{}),q=(a=>(a.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",a.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",a.NoNesting="NO_NESTING",a))(q||{}),P=(o=>(o.Apr="apr",o.BgtApr="bgtApr",o.CombinedApr="combinedApr",o.Fees24h="fees24h",o.TotalLiquidity="totalLiquidity",o.TotalShares="totalShares",o.UserbalanceUsd="userbalanceUsd",o.Volume24h="volume24h",o))(P||{}),B=(t=>(t.Asc="asc",t.Desc="desc",t))(B||{}),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))(h||{}),k=(s=>(s.ComposableStable="COMPOSABLE_STABLE",s.CowAmm="COW_AMM",s.Element="ELEMENT",s.Fx="FX",s.Gyro="GYRO",s.Gyro3="GYRO3",s.Gyroe="GYROE",s.Investment="INVESTMENT",s.LiquidityBootstrapping="LIQUIDITY_BOOTSTRAPPING",s.MetaStable="META_STABLE",s.PhantomStable="PHANTOM_STABLE",s.Stable="STABLE",s.Unknown="UNKNOWN",s.Weighted="WEIGHTED",s))(k||{}),D=(a=>(a.AmountRemaining="amountRemaining",a.AmountRemainingUsd="amountRemainingUsd",a.IncentiveRate="incentiveRate",a))(D||{}),_=(t=>(t.Asc="asc",t.Desc="desc",t))(_||{}),v=(o=>(o.ActiveIncentivesRateUsd="activeIncentivesRateUsd",o.ActiveIncentivesValueUsd="activeIncentivesValueUsd",o.AllTimeBgtReceived="allTimeBGTReceived",o.Apr="apr",o.Apy="apy",o.BgtCapturePercentage="bgtCapturePercentage",o.Last24hBgtReceived="last24hBGTReceived",o.ProjectedApr="projectedApr",o))(v||{}),M=(t=>(t.Asc="asc",t.Desc="desc",t))(M||{}),T=(l=>(l.NinetyDays="NINETY_DAYS",l.SevenDays="SEVEN_DAYS",l.SixtyDays="SIXTY_DAYS",l.ThirtyDays="THIRTY_DAYS",l))(T||{}),x=(t=>(t.Day="DAY",t.Hour="HOUR",t))(x||{}),V=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(V||{}),w=(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(w||{}),R=(t=>(t.Deposit="DEPOSIT",t.WithdrawalCompleted="WITHDRAWAL_COMPLETED",t))(R||{}),C=(e=>(e.NinetyDay="NINETY_DAY",e.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",e.OneYear="ONE_YEAR",e.SevenDay="SEVEN_DAY",e.ThirtyDay="THIRTY_DAY",e))(C||{}),U=(a=>(a.Bpt="BPT",a.PhantomBpt="PHANTOM_BPT",a.WhiteListed="WHITE_LISTED",a))(U||{}),E=(y=>(y.Amount="amount",y))(E||{}),$=(t=>(t.Asc="asc",t.Desc="desc",t))($||{}),F=(l=>(l.Inactive="INACTIVE",l.Offline="OFFLINE",l.Proposed="PROPOSED",l.Signed="SIGNED",l))(F||{}),f=(e=>(e.ActiveBoostAmount="activeBoostAmount",e.LatestBlock="latestBlock",e.LatestBlockTime="latestBlockTime",e.QueuedBoostAmount="queuedBoostAmount",e.QueuedDropBoostAmount="queuedDropBoostAmount",e))(f||{}),N=(t=>(t.Asc="asc",t.Desc="desc",t))(N||{}),W=(n=>(n.ActiveBoostAmount="activeBoostAmount",n.AllTimeDistributedBgtAmount="allTimeDistributedBGTAmount",n.AllTimeEarnedBgtAmount="allTimeEarnedBGTAmount",n.Apy="apy",n.BgtCapturePercentage="bgtCapturePercentage",n.BoostApr="boostApr",n.CommissionOnIncentives="commissionOnIncentives",n.LastDayDistributedBgtAmount="lastDayDistributedBGTAmount",n.LastDayEarnedBgtAmount="lastDayEarnedBGTAmount",n.QueuedBoostAmount="queuedBoostAmount",n.QueuedDropBoostAmount="queuedDropBoostAmount",n.RewardRate="rewardRate",n.StakedBeraAmount="stakedBeraAmount",n.UsersActiveBoostCount="usersActiveBoostCount",n.UsersQueuedBoostCount="usersQueuedBoostCount",n))(W||{}),Q=(t=>(t.Asc="asc",t.Desc="desc",t))(Q||{}),H=(l=>(l.NinetyDays="NINETY_DAYS",l.SevenDays="SEVEN_DAYS",l.SixtyDays="SIXTY_DAYS",l.ThirtyDays="THIRTY_DAYS",l))(H||{}),S=r`
|
|
2
2
|
fragment ApiValidatorMinimal on GqlValidator {
|
|
3
3
|
id
|
|
4
4
|
pubkey
|
|
@@ -22,7 +22,7 @@ import{gql as e}from"@apollo/client";var d=(t=>(t.Bepolia="BEPOLIA",t.Berachain=
|
|
|
22
22
|
commissionOnIncentives
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
`,
|
|
25
|
+
`,O=r`
|
|
26
26
|
fragment ApiVaultIncentive on GqlRewardVaultIncentive {
|
|
27
27
|
active
|
|
28
28
|
remainingAmount
|
|
@@ -37,7 +37,7 @@ import{gql as e}from"@apollo/client";var d=(t=>(t.Bepolia="BEPOLIA",t.Berachain=
|
|
|
37
37
|
decimals
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
`,p=
|
|
40
|
+
`,p=r`
|
|
41
41
|
fragment ApiVault on GqlRewardVault {
|
|
42
42
|
id: vaultAddress
|
|
43
43
|
vaultAddress
|
|
@@ -74,7 +74,7 @@ import{gql as e}from"@apollo/client";var d=(t=>(t.Bepolia="BEPOLIA",t.Berachain=
|
|
|
74
74
|
...ApiVaultIncentive
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
${
|
|
77
|
+
${O}`,L=r`
|
|
78
78
|
fragment ApiRewardAllocationWeight on GqlValidatorRewardAllocationWeight {
|
|
79
79
|
percentage
|
|
80
80
|
receivingVault {
|
|
@@ -83,7 +83,7 @@ import{gql as e}from"@apollo/client";var d=(t=>(t.Bepolia="BEPOLIA",t.Berachain=
|
|
|
83
83
|
receiver
|
|
84
84
|
startBlock
|
|
85
85
|
}
|
|
86
|
-
${p}`,c=
|
|
86
|
+
${p}`,c=r`
|
|
87
87
|
fragment ApiValidator on GqlValidator {
|
|
88
88
|
...ApiValidatorMinimal
|
|
89
89
|
operator
|
|
@@ -105,7 +105,7 @@ import{gql as e}from"@apollo/client";var d=(t=>(t.Bepolia="BEPOLIA",t.Berachain=
|
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
${S}
|
|
108
|
-
${L}`,Y=
|
|
108
|
+
${L}`,Y=r`
|
|
109
109
|
fragment ApiValidatorBlockUptime on GqlValidatorBlockUptime {
|
|
110
110
|
isActive
|
|
111
111
|
isProposer
|
|
@@ -113,7 +113,7 @@ ${L}`,Y=e`
|
|
|
113
113
|
status
|
|
114
114
|
blockNumber
|
|
115
115
|
}
|
|
116
|
-
`,J=
|
|
116
|
+
`,J=r`
|
|
117
117
|
query GetVaults($where: GqlRewardVaultFilter, $pageSize: Int, $skip: Int, $orderBy: GqlRewardVaultOrderBy = bgtCapturePercentage, $orderDirection: GqlRewardVaultOrderDirection = desc, $search: String) {
|
|
118
118
|
polGetRewardVaults(
|
|
119
119
|
where: $where
|
|
@@ -132,7 +132,7 @@ ${L}`,Y=e`
|
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
|
-
${p}`,X=
|
|
135
|
+
${p}`,X=r`
|
|
136
136
|
query GetValidator($id: String!, $chain: GqlChain!) {
|
|
137
137
|
validator: polGetValidator(validatorId: $id, chain: $chain) {
|
|
138
138
|
...ApiValidator
|
|
@@ -142,7 +142,7 @@ ${L}`,Y=e`
|
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
${c}
|
|
145
|
-
${Y}`,j=
|
|
145
|
+
${Y}`,j=r`
|
|
146
146
|
query GetValidators($where: GqlValidatorFilter, $sortBy: GqlValidatorOrderBy = lastDayDistributedBGTAmount, $sortOrder: GqlValidatorOrderDirection = desc, $pageSize: Int, $skip: Int, $search: String, $chain: GqlChain) {
|
|
147
147
|
validators: polGetValidators(
|
|
148
148
|
where: $where
|
|
@@ -164,7 +164,7 @@ ${Y}`,j=e`
|
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
|
-
${c}`,Z=
|
|
167
|
+
${c}`,Z=r`
|
|
168
168
|
query GetVaultValidators($vaultId: String!, $chain: GqlChain, $isActive: Boolean = true) {
|
|
169
169
|
validators: polGetValidators(
|
|
170
170
|
where: {vaultAddress: $vaultId, isActive: $isActive}
|
|
@@ -181,13 +181,13 @@ ${Y}`,j=e`
|
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
|
-
${c}`,tt=
|
|
184
|
+
${c}`,tt=r`
|
|
185
185
|
query GetRewardVault($vaultId: String!, $chain: GqlChain!) {
|
|
186
186
|
rewardVault: polGetRewardVault(vaultAddress: $vaultId, chain: $chain) {
|
|
187
187
|
...ApiVault
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
${p}`,at=
|
|
190
|
+
${p}`,at=r`
|
|
191
191
|
query GlobalData($chain: GqlChain!) {
|
|
192
192
|
top3EmittingValidators: polGetValidators(
|
|
193
193
|
orderBy: bgtCapturePercentage
|
|
@@ -220,7 +220,7 @@ ${Y}`,j=e`
|
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
|
-
${S}`,et=
|
|
223
|
+
${S}`,et=r`
|
|
224
224
|
query GetUserVaults($userId: String!, $chain: GqlChain!) {
|
|
225
225
|
userVaultDeposits: polGetUserVaultDeposits(userAddress: $userId, chain: $chain) {
|
|
226
226
|
pagination {
|
|
@@ -236,7 +236,7 @@ ${Y}`,j=e`
|
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
|
-
${p}`,
|
|
239
|
+
${p}`,ot=r`
|
|
240
240
|
query GetVaultHistory($vaultId: String!, $chain: GqlChain!, $resolution: GqlRewardVaultSnapshotResolution = DAY, $range: GqlRewardVaultSnapshotDataRange = THIRTY_DAYS) {
|
|
241
241
|
polGetRewardVaultSnapshots(
|
|
242
242
|
chain: $chain
|
|
@@ -249,14 +249,14 @@ ${Y}`,j=e`
|
|
|
249
249
|
apr
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
|
-
`,
|
|
252
|
+
`,rt=r`
|
|
253
253
|
query GetSWberaVaultMetadata($chain: GqlChain!, $resolution: GqlSWberaVaultMetadataResolution) {
|
|
254
254
|
polGetSWberaVaultMetadata(chain: $chain, resolution: $resolution) {
|
|
255
255
|
apr
|
|
256
256
|
chain
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
|
-
`,nt=
|
|
259
|
+
`,nt=r`
|
|
260
260
|
query GetSWberaVaultSnapshots($chain: GqlChain!, $range: GqlVaultSnapshotDataRange) {
|
|
261
261
|
polGetSWberaVaultSnapshots(chain: $chain, range: $range) {
|
|
262
262
|
apr
|
|
@@ -267,22 +267,4 @@ ${Y}`,j=e`
|
|
|
267
267
|
vaultAddress
|
|
268
268
|
}
|
|
269
269
|
}
|
|
270
|
-
`,lt=
|
|
271
|
-
query GetPolStakeBeraVaultEventsByOwner($owner: String!) {
|
|
272
|
-
events: polGetStakeBeraVaultEventsByOwner(owner: $owner) {
|
|
273
|
-
type
|
|
274
|
-
assets
|
|
275
|
-
shares
|
|
276
|
-
owner
|
|
277
|
-
_id
|
|
278
|
-
_timestamp
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
`,st=e`
|
|
282
|
-
query GetStakeBeraVaultEarningsByOwner($owner: String!) {
|
|
283
|
-
polGetStakeBeraVaultEarningsByOwner(owner: $owner) {
|
|
284
|
-
earnings
|
|
285
|
-
owner
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
`,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"]}},it=z;export{L as ApiRewardAllocationWeight,c as ApiValidator,Y as ApiValidatorBlockUptime,S as ApiValidatorMinimal,p as ApiVault,H as ApiVaultIncentive,lt as GetPolStakeBeraVaultEventsByOwner,tt as GetRewardVault,ot as GetSWberaVaultMetadata,nt as GetSWberaVaultSnapshots,st as GetStakeBeraVaultEarningsByOwner,et as GetUserVaults,X as GetValidator,j as GetValidators,rt as GetVaultHistory,Z as GetVaultValidators,J as GetVaults,at as GlobalData,d as GqlChain,g as GqlContentNewsItemSource,m as GqlPoolAprItemType,G as GqlPoolEventType,A as GqlPoolEventsDataRange,b as GqlPoolFilterCategory,I as GqlPoolJoinExitType,q as GqlPoolNestingType,P as GqlPoolOrderBy,B as GqlPoolOrderDirection,k as GqlPoolSnapshotDataRange,h as GqlPoolType,_ as GqlRewardVaultIncentiveOrderBy,D as GqlRewardVaultIncentiveOrderDirection,v as GqlRewardVaultOrderBy,M as GqlRewardVaultOrderDirection,T as GqlRewardVaultSnapshotDataRange,x as GqlRewardVaultSnapshotResolution,V as GqlSWberaVaultMetadataResolution,w as GqlSorSwapType,R as GqlStakeBeraVaultEventType,C as GqlTokenChartDataRange,E as GqlTokenType,U as GqlUserVaultDepositOrderBy,$ as GqlUserVaultDepositOrderDirection,F as GqlValidatorBlockUptimeStatus,f as GqlValidatorBoostOrderBy,N as GqlValidatorBoostOrderDirection,Q as GqlValidatorOrderBy,W as GqlValidatorOrderDirection,O as GqlVaultSnapshotDataRange,it as default};
|
|
270
|
+
`,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"]}},lt=z;export{L as ApiRewardAllocationWeight,c as ApiValidator,Y as ApiValidatorBlockUptime,S as ApiValidatorMinimal,p as ApiVault,O as ApiVaultIncentive,tt as GetRewardVault,rt as GetSWberaVaultMetadata,nt as GetSWberaVaultSnapshots,et as GetUserVaults,X as GetValidator,j as GetValidators,ot as GetVaultHistory,Z as GetVaultValidators,J as GetVaults,at as GlobalData,d as GqlChain,g as GqlContentNewsItemSource,m as GqlPoolAprItemType,G as GqlPoolEventType,A as GqlPoolEventsDataRange,b as GqlPoolFilterCategory,I as GqlPoolJoinExitType,q as GqlPoolNestingType,P as GqlPoolOrderBy,B as GqlPoolOrderDirection,h as GqlPoolSnapshotDataRange,k as GqlPoolType,D as GqlRewardVaultIncentiveOrderBy,_ as GqlRewardVaultIncentiveOrderDirection,v as GqlRewardVaultOrderBy,M as GqlRewardVaultOrderDirection,T as GqlRewardVaultSnapshotDataRange,x as GqlRewardVaultSnapshotResolution,V as GqlSWberaVaultMetadataResolution,w as GqlSorSwapType,R as GqlStakeBeraVaultEventType,C as GqlTokenChartDataRange,U as GqlTokenType,E as GqlUserVaultDepositOrderBy,$ as GqlUserVaultDepositOrderDirection,F as GqlValidatorBlockUptimeStatus,f as GqlValidatorBoostOrderBy,N as GqlValidatorBoostOrderDirection,W as GqlValidatorOrderBy,Q as GqlValidatorOrderDirection,H as GqlVaultSnapshotDataRange,lt 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>;
|
|
@@ -4228,7 +4228,7 @@ type GetIncentiveFeeClaimStatsQuery = {
|
|
|
4228
4228
|
timestamp: string;
|
|
4229
4229
|
}>;
|
|
4230
4230
|
};
|
|
4231
|
-
declare const SubgraphStatusMeta:
|
|
4231
|
+
declare const SubgraphStatusMeta: graphql.DocumentNode;
|
|
4232
4232
|
/** Aggregation for the amount of BGT boosted to a Validator (User -> Validator) */
|
|
4233
4233
|
type BoostByValidator = {
|
|
4234
4234
|
__typename?: 'BoostByValidator';
|
|
@@ -4242,8 +4242,8 @@ type BoostByValidator = {
|
|
|
4242
4242
|
timestamp: Scalars['Timestamp']['output'];
|
|
4243
4243
|
validator: Validator;
|
|
4244
4244
|
};
|
|
4245
|
-
declare const BoostByValidator:
|
|
4246
|
-
declare const ValidatorMinimal:
|
|
4245
|
+
declare const BoostByValidator: graphql.DocumentNode;
|
|
4246
|
+
declare const ValidatorMinimal: graphql.DocumentNode;
|
|
4247
4247
|
/** Aggregation for the amount of BGT awarded to a Validator for proposing a block by Validator (Distributor -> Validator) */
|
|
4248
4248
|
type BlockRewardStatsByValidator = {
|
|
4249
4249
|
__typename?: 'BlockRewardStatsByValidator';
|
|
@@ -4255,10 +4255,10 @@ type BlockRewardStatsByValidator = {
|
|
|
4255
4255
|
timestamp: Scalars['Timestamp']['output'];
|
|
4256
4256
|
validator: Validator;
|
|
4257
4257
|
};
|
|
4258
|
-
declare const BlockRewardStatsByValidator:
|
|
4259
|
-
declare const VaultMinimal:
|
|
4260
|
-
declare const StakingToken:
|
|
4261
|
-
declare const VaultWithStakingToken:
|
|
4258
|
+
declare const BlockRewardStatsByValidator: graphql.DocumentNode;
|
|
4259
|
+
declare const VaultMinimal: graphql.DocumentNode;
|
|
4260
|
+
declare const StakingToken: graphql.DocumentNode;
|
|
4261
|
+
declare const VaultWithStakingToken: graphql.DocumentNode;
|
|
4262
4262
|
/** Global stats for Proof of Liquidity */
|
|
4263
4263
|
type GlobalInfo = {
|
|
4264
4264
|
__typename?: 'GlobalInfo';
|
|
@@ -4275,17 +4275,17 @@ type GlobalInfo = {
|
|
|
4275
4275
|
totalQueuedDropBoostAmount: Scalars['BigDecimal']['output'];
|
|
4276
4276
|
totalValidatorsCount: Scalars['BigInt']['output'];
|
|
4277
4277
|
};
|
|
4278
|
-
declare const GlobalInfo:
|
|
4279
|
-
declare const GetUserValidatorInformation:
|
|
4280
|
-
declare const GetValidValidator:
|
|
4281
|
-
declare const GetAllValidators:
|
|
4282
|
-
declare const GetValidatorBlockStats:
|
|
4283
|
-
declare const GetGauges:
|
|
4284
|
-
declare const GetWeeklyBgtInflation:
|
|
4285
|
-
declare const GetRewardVault:
|
|
4286
|
-
declare const GetValidatorByAccount:
|
|
4287
|
-
declare const GetValidatorAnalytics:
|
|
4288
|
-
declare const GetIncentiveFeeClaimStats:
|
|
4278
|
+
declare const GlobalInfo: graphql.DocumentNode;
|
|
4279
|
+
declare const GetUserValidatorInformation: graphql.DocumentNode;
|
|
4280
|
+
declare const GetValidValidator: graphql.DocumentNode;
|
|
4281
|
+
declare const GetAllValidators: graphql.DocumentNode;
|
|
4282
|
+
declare const GetValidatorBlockStats: graphql.DocumentNode;
|
|
4283
|
+
declare const GetGauges: graphql.DocumentNode;
|
|
4284
|
+
declare const GetWeeklyBgtInflation: graphql.DocumentNode;
|
|
4285
|
+
declare const GetRewardVault: graphql.DocumentNode;
|
|
4286
|
+
declare const GetValidatorByAccount: graphql.DocumentNode;
|
|
4287
|
+
declare const GetValidatorAnalytics: graphql.DocumentNode;
|
|
4288
|
+
declare const GetIncentiveFeeClaimStats: graphql.DocumentNode;
|
|
4289
4289
|
interface PossibleTypesResultData {
|
|
4290
4290
|
possibleTypes: {
|
|
4291
4291
|
[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>;
|
|
@@ -4228,7 +4228,7 @@ type GetIncentiveFeeClaimStatsQuery = {
|
|
|
4228
4228
|
timestamp: string;
|
|
4229
4229
|
}>;
|
|
4230
4230
|
};
|
|
4231
|
-
declare const SubgraphStatusMeta:
|
|
4231
|
+
declare const SubgraphStatusMeta: graphql.DocumentNode;
|
|
4232
4232
|
/** Aggregation for the amount of BGT boosted to a Validator (User -> Validator) */
|
|
4233
4233
|
type BoostByValidator = {
|
|
4234
4234
|
__typename?: 'BoostByValidator';
|
|
@@ -4242,8 +4242,8 @@ type BoostByValidator = {
|
|
|
4242
4242
|
timestamp: Scalars['Timestamp']['output'];
|
|
4243
4243
|
validator: Validator;
|
|
4244
4244
|
};
|
|
4245
|
-
declare const BoostByValidator:
|
|
4246
|
-
declare const ValidatorMinimal:
|
|
4245
|
+
declare const BoostByValidator: graphql.DocumentNode;
|
|
4246
|
+
declare const ValidatorMinimal: graphql.DocumentNode;
|
|
4247
4247
|
/** Aggregation for the amount of BGT awarded to a Validator for proposing a block by Validator (Distributor -> Validator) */
|
|
4248
4248
|
type BlockRewardStatsByValidator = {
|
|
4249
4249
|
__typename?: 'BlockRewardStatsByValidator';
|
|
@@ -4255,10 +4255,10 @@ type BlockRewardStatsByValidator = {
|
|
|
4255
4255
|
timestamp: Scalars['Timestamp']['output'];
|
|
4256
4256
|
validator: Validator;
|
|
4257
4257
|
};
|
|
4258
|
-
declare const BlockRewardStatsByValidator:
|
|
4259
|
-
declare const VaultMinimal:
|
|
4260
|
-
declare const StakingToken:
|
|
4261
|
-
declare const VaultWithStakingToken:
|
|
4258
|
+
declare const BlockRewardStatsByValidator: graphql.DocumentNode;
|
|
4259
|
+
declare const VaultMinimal: graphql.DocumentNode;
|
|
4260
|
+
declare const StakingToken: graphql.DocumentNode;
|
|
4261
|
+
declare const VaultWithStakingToken: graphql.DocumentNode;
|
|
4262
4262
|
/** Global stats for Proof of Liquidity */
|
|
4263
4263
|
type GlobalInfo = {
|
|
4264
4264
|
__typename?: 'GlobalInfo';
|
|
@@ -4275,17 +4275,17 @@ type GlobalInfo = {
|
|
|
4275
4275
|
totalQueuedDropBoostAmount: Scalars['BigDecimal']['output'];
|
|
4276
4276
|
totalValidatorsCount: Scalars['BigInt']['output'];
|
|
4277
4277
|
};
|
|
4278
|
-
declare const GlobalInfo:
|
|
4279
|
-
declare const GetUserValidatorInformation:
|
|
4280
|
-
declare const GetValidValidator:
|
|
4281
|
-
declare const GetAllValidators:
|
|
4282
|
-
declare const GetValidatorBlockStats:
|
|
4283
|
-
declare const GetGauges:
|
|
4284
|
-
declare const GetWeeklyBgtInflation:
|
|
4285
|
-
declare const GetRewardVault:
|
|
4286
|
-
declare const GetValidatorByAccount:
|
|
4287
|
-
declare const GetValidatorAnalytics:
|
|
4288
|
-
declare const GetIncentiveFeeClaimStats:
|
|
4278
|
+
declare const GlobalInfo: graphql.DocumentNode;
|
|
4279
|
+
declare const GetUserValidatorInformation: graphql.DocumentNode;
|
|
4280
|
+
declare const GetValidValidator: graphql.DocumentNode;
|
|
4281
|
+
declare const GetAllValidators: graphql.DocumentNode;
|
|
4282
|
+
declare const GetValidatorBlockStats: graphql.DocumentNode;
|
|
4283
|
+
declare const GetGauges: graphql.DocumentNode;
|
|
4284
|
+
declare const GetWeeklyBgtInflation: graphql.DocumentNode;
|
|
4285
|
+
declare const GetRewardVault: graphql.DocumentNode;
|
|
4286
|
+
declare const GetValidatorByAccount: graphql.DocumentNode;
|
|
4287
|
+
declare const GetValidatorAnalytics: graphql.DocumentNode;
|
|
4288
|
+
declare const GetIncentiveFeeClaimStats: graphql.DocumentNode;
|
|
4289
4289
|
interface PossibleTypesResultData {
|
|
4290
4290
|
possibleTypes: {
|
|
4291
4291
|
[key: string]: string[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@berachain/graphql",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -9,16 +9,14 @@
|
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"sideEffects": false,
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@apollo/client": "4.
|
|
12
|
+
"@apollo/client": "4.1.6"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
15
|
"@apollo/client": "^4.0",
|
|
16
16
|
"graphql": "^16.8"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@
|
|
20
|
-
"@berachain/config": "",
|
|
21
|
-
"@biomejs/biome": "2.2.4",
|
|
19
|
+
"@biomejs/biome": "2.4.5",
|
|
22
20
|
"@graphql-codegen/cli": "5.0.7",
|
|
23
21
|
"@graphql-codegen/client-preset": "4.7.0",
|
|
24
22
|
"@graphql-codegen/fragment-matcher": "5.1.0",
|
|
@@ -27,11 +25,11 @@
|
|
|
27
25
|
"@graphql-codegen/typescript-document-nodes": "5.0.0",
|
|
28
26
|
"@graphql-codegen/typescript-operations": "5.0.0",
|
|
29
27
|
"@graphql-codegen/typescript-react-apollo": "4.3.3",
|
|
30
|
-
"@parcel/watcher": "2.5.1",
|
|
31
28
|
"@types/node": "24.1.0",
|
|
32
29
|
"dotenv": "16.6.1",
|
|
33
30
|
"graphql": "16.12.0",
|
|
34
|
-
"tsup": "8.4.0"
|
|
31
|
+
"tsup": "8.4.0",
|
|
32
|
+
"@berachain/config": "^0.1.0"
|
|
35
33
|
},
|
|
36
34
|
"exports": {
|
|
37
35
|
"./governance": {
|