@berachain/graphql 0.4.5 → 0.4.6-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/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 +10 -7
- package/dist/pol/api.codegen.d.cts +26 -82
- package/dist/pol/api.codegen.d.ts +26 -82
- package/dist/pol/api.codegen.mjs +11 -8
- package/dist/pol/subgraph.codegen.d.cts +19 -19
- package/dist/pol/subgraph.codegen.d.ts +19 -19
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _apollo_client from '@apollo/client';
|
|
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: _apollo_client.DocumentNode;
|
|
3313
|
+
declare const TokenInfoFragment: _apollo_client.DocumentNode;
|
|
3314
|
+
declare const CuratorInfoFragment: _apollo_client.DocumentNode;
|
|
3315
|
+
declare const ApyFragment: _apollo_client.DocumentNode;
|
|
3316
|
+
declare const VaultSummaryFragment: _apollo_client.DocumentNode;
|
|
3317
|
+
declare const MarketSummaryFragment: _apollo_client.DocumentNode;
|
|
3318
|
+
declare const VaultSummaries: _apollo_client.DocumentNode;
|
|
3319
|
+
declare const MarketSummaries: _apollo_client.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: _apollo_client.DocumentNode;
|
|
3345
|
+
declare const Market: _apollo_client.DocumentNode;
|
|
3346
|
+
declare const VaultPositions: _apollo_client.DocumentNode;
|
|
3347
|
+
declare const MarketPositions: _apollo_client.DocumentNode;
|
|
3348
|
+
declare const SupportedMarketIds: _apollo_client.DocumentNode;
|
|
3349
|
+
declare const VaultHistoryData: _apollo_client.DocumentNode;
|
|
3350
|
+
declare const VaultMarketAllocationHistoryData: _apollo_client.DocumentNode;
|
|
3351
|
+
declare const MarketHistoryData: _apollo_client.DocumentNode;
|
|
3352
|
+
declare const MarketIbrHistoryData: _apollo_client.DocumentNode;
|
|
3353
3353
|
interface PossibleTypesResultData {
|
|
3354
3354
|
possibleTypes: {
|
|
3355
3355
|
[key: string]: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _apollo_client from '@apollo/client';
|
|
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: _apollo_client.DocumentNode;
|
|
3313
|
+
declare const TokenInfoFragment: _apollo_client.DocumentNode;
|
|
3314
|
+
declare const CuratorInfoFragment: _apollo_client.DocumentNode;
|
|
3315
|
+
declare const ApyFragment: _apollo_client.DocumentNode;
|
|
3316
|
+
declare const VaultSummaryFragment: _apollo_client.DocumentNode;
|
|
3317
|
+
declare const MarketSummaryFragment: _apollo_client.DocumentNode;
|
|
3318
|
+
declare const VaultSummaries: _apollo_client.DocumentNode;
|
|
3319
|
+
declare const MarketSummaries: _apollo_client.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: _apollo_client.DocumentNode;
|
|
3345
|
+
declare const Market: _apollo_client.DocumentNode;
|
|
3346
|
+
declare const VaultPositions: _apollo_client.DocumentNode;
|
|
3347
|
+
declare const MarketPositions: _apollo_client.DocumentNode;
|
|
3348
|
+
declare const SupportedMarketIds: _apollo_client.DocumentNode;
|
|
3349
|
+
declare const VaultHistoryData: _apollo_client.DocumentNode;
|
|
3350
|
+
declare const VaultMarketAllocationHistoryData: _apollo_client.DocumentNode;
|
|
3351
|
+
declare const MarketHistoryData: _apollo_client.DocumentNode;
|
|
3352
|
+
declare const MarketIbrHistoryData: _apollo_client.DocumentNode;
|
|
3353
3353
|
interface PossibleTypesResultData {
|
|
3354
3354
|
possibleTypes: {
|
|
3355
3355
|
[key: string]: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _apollo_client from '@apollo/client';
|
|
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: _apollo_client.DocumentNode;
|
|
344
344
|
interface PossibleTypesResultData {
|
|
345
345
|
possibleTypes: {
|
|
346
346
|
[key: string]: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _apollo_client from '@apollo/client';
|
|
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: _apollo_client.DocumentNode;
|
|
344
344
|
interface PossibleTypesResultData {
|
|
345
345
|
possibleTypes: {
|
|
346
346
|
[key: string]: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _apollo_client from '@apollo/client';
|
|
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: _apollo_client.DocumentNode;
|
|
3735
|
+
declare const UserBalance: _apollo_client.DocumentNode;
|
|
3736
|
+
declare const RewardVault: _apollo_client.DocumentNode;
|
|
3737
|
+
declare const MinimalPoolInList: _apollo_client.DocumentNode;
|
|
3738
|
+
declare const MinimalPool: _apollo_client.DocumentNode;
|
|
3739
|
+
declare const PoolHistoricalData: _apollo_client.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: _apollo_client.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: _apollo_client.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: _apollo_client.DocumentNode;
|
|
3843
|
+
declare const PoolEvent: _apollo_client.DocumentNode;
|
|
3844
|
+
declare const GetPools: _apollo_client.DocumentNode;
|
|
3845
|
+
declare const GetPool: _apollo_client.DocumentNode;
|
|
3846
|
+
declare const GetPoolHistoricalData: _apollo_client.DocumentNode;
|
|
3847
|
+
declare const GetPoolEvents: _apollo_client.DocumentNode;
|
|
3848
|
+
declare const GetTokenCurrentPrices: _apollo_client.DocumentNode;
|
|
3849
|
+
declare const GetGlobalLiquidityAndSwapVolume: _apollo_client.DocumentNode;
|
|
3850
3850
|
interface PossibleTypesResultData {
|
|
3851
3851
|
possibleTypes: {
|
|
3852
3852
|
[key: string]: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _apollo_client from '@apollo/client';
|
|
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: _apollo_client.DocumentNode;
|
|
3735
|
+
declare const UserBalance: _apollo_client.DocumentNode;
|
|
3736
|
+
declare const RewardVault: _apollo_client.DocumentNode;
|
|
3737
|
+
declare const MinimalPoolInList: _apollo_client.DocumentNode;
|
|
3738
|
+
declare const MinimalPool: _apollo_client.DocumentNode;
|
|
3739
|
+
declare const PoolHistoricalData: _apollo_client.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: _apollo_client.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: _apollo_client.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: _apollo_client.DocumentNode;
|
|
3843
|
+
declare const PoolEvent: _apollo_client.DocumentNode;
|
|
3844
|
+
declare const GetPools: _apollo_client.DocumentNode;
|
|
3845
|
+
declare const GetPool: _apollo_client.DocumentNode;
|
|
3846
|
+
declare const GetPoolHistoricalData: _apollo_client.DocumentNode;
|
|
3847
|
+
declare const GetPoolEvents: _apollo_client.DocumentNode;
|
|
3848
|
+
declare const GetTokenCurrentPrices: _apollo_client.DocumentNode;
|
|
3849
|
+
declare const GetGlobalLiquidityAndSwapVolume: _apollo_client.DocumentNode;
|
|
3850
3850
|
interface PossibleTypesResultData {
|
|
3851
3851
|
possibleTypes: {
|
|
3852
3852
|
[key: string]: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _apollo_client from '@apollo/client';
|
|
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: _apollo_client.DocumentNode;
|
|
5428
|
+
declare const SubgraphToken: _apollo_client.DocumentNode;
|
|
5429
|
+
declare const GetSubgraphPool: _apollo_client.DocumentNode;
|
|
5430
|
+
declare const GetToken: _apollo_client.DocumentNode;
|
|
5431
|
+
declare const GetTokens: _apollo_client.DocumentNode;
|
|
5432
|
+
declare const GetDedupedSubgraphPools: _apollo_client.DocumentNode;
|
|
5433
|
+
declare const GetTokenInformation: _apollo_client.DocumentNode;
|
|
5434
|
+
declare const GetExploitedTokens: _apollo_client.DocumentNode;
|
|
5435
5435
|
interface PossibleTypesResultData {
|
|
5436
5436
|
possibleTypes: {
|
|
5437
5437
|
[key: string]: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _apollo_client from '@apollo/client';
|
|
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: _apollo_client.DocumentNode;
|
|
5428
|
+
declare const SubgraphToken: _apollo_client.DocumentNode;
|
|
5429
|
+
declare const GetSubgraphPool: _apollo_client.DocumentNode;
|
|
5430
|
+
declare const GetToken: _apollo_client.DocumentNode;
|
|
5431
|
+
declare const GetTokens: _apollo_client.DocumentNode;
|
|
5432
|
+
declare const GetDedupedSubgraphPools: _apollo_client.DocumentNode;
|
|
5433
|
+
declare const GetTokenInformation: _apollo_client.DocumentNode;
|
|
5434
|
+
declare const GetExploitedTokens: _apollo_client.DocumentNode;
|
|
5435
5435
|
interface PossibleTypesResultData {
|
|
5436
5436
|
possibleTypes: {
|
|
5437
5437
|
[key: string]: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _apollo_client from '@apollo/client';
|
|
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: _apollo_client.DocumentNode;
|
|
1519
|
+
declare const ExecutableCallSubset: _apollo_client.DocumentNode;
|
|
1520
|
+
declare const ProposalVote: _apollo_client.DocumentNode;
|
|
1521
|
+
declare const ProposalWithVotes: _apollo_client.DocumentNode;
|
|
1522
|
+
declare const GetProposalVotes: _apollo_client.DocumentNode;
|
|
1523
|
+
declare const GetProposals: _apollo_client.DocumentNode;
|
|
1524
|
+
declare const SearchProposals: _apollo_client.DocumentNode;
|
|
1525
|
+
declare const GetProposal: _apollo_client.DocumentNode;
|
|
1526
1526
|
interface PossibleTypesResultData {
|
|
1527
1527
|
possibleTypes: {
|
|
1528
1528
|
[key: string]: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _apollo_client from '@apollo/client';
|
|
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: _apollo_client.DocumentNode;
|
|
1519
|
+
declare const ExecutableCallSubset: _apollo_client.DocumentNode;
|
|
1520
|
+
declare const ProposalVote: _apollo_client.DocumentNode;
|
|
1521
|
+
declare const ProposalWithVotes: _apollo_client.DocumentNode;
|
|
1522
|
+
declare const GetProposalVotes: _apollo_client.DocumentNode;
|
|
1523
|
+
declare const GetProposals: _apollo_client.DocumentNode;
|
|
1524
|
+
declare const SearchProposals: _apollo_client.DocumentNode;
|
|
1525
|
+
declare const GetProposal: _apollo_client.DocumentNode;
|
|
1526
1526
|
interface PossibleTypesResultData {
|
|
1527
1527
|
possibleTypes: {
|
|
1528
1528
|
[key: string]: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _apollo_client from '@apollo/client';
|
|
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: _apollo_client.DocumentNode;
|
|
770
|
+
declare const GetHoneyTxnByType: _apollo_client.DocumentNode;
|
|
771
|
+
declare const GetHoneyTxn: _apollo_client.DocumentNode;
|
|
772
|
+
declare const GetChartData: _apollo_client.DocumentNode;
|
|
773
|
+
declare const GetGlobalData: _apollo_client.DocumentNode;
|
|
774
|
+
declare const GetFirstHoneyTxnDate: _apollo_client.DocumentNode;
|
|
775
775
|
interface PossibleTypesResultData {
|
|
776
776
|
possibleTypes: {
|
|
777
777
|
[key: string]: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _apollo_client from '@apollo/client';
|
|
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: _apollo_client.DocumentNode;
|
|
770
|
+
declare const GetHoneyTxnByType: _apollo_client.DocumentNode;
|
|
771
|
+
declare const GetHoneyTxn: _apollo_client.DocumentNode;
|
|
772
|
+
declare const GetChartData: _apollo_client.DocumentNode;
|
|
773
|
+
declare const GetGlobalData: _apollo_client.DocumentNode;
|
|
774
|
+
declare const GetFirstHoneyTxnDate: _apollo_client.DocumentNode;
|
|
775
775
|
interface PossibleTypesResultData {
|
|
776
776
|
possibleTypes: {
|
|
777
777
|
[key: string]: string[];
|
package/dist/pol/api.codegen.cjs
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
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:()=>
|
|
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:()=>g,ApiValidatorBlockUptime:()=>K,ApiValidatorMinimal:()=>y,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:()=>M,GqlRewardVaultIncentiveOrderBy:()=>_,GqlRewardVaultIncentiveOrderDirection:()=>v,GqlRewardVaultOrderBy:()=>T,GqlRewardVaultOrderDirection:()=>x,GqlRewardVaultSnapshotDataRange:()=>V,GqlRewardVaultSnapshotResolution:()=>w,GqlSWberaVaultMetadataResolution:()=>R,GqlSorSwapType:()=>C,GqlStakeBeraVaultEventType:()=>U,GqlTokenChartDataRange:()=>E,GqlTokenType:()=>F,GqlUserVaultDepositOrderBy:()=>$,GqlUserVaultDepositOrderDirection:()=>f,GqlValidatorBlockUptimeStatus:()=>N,GqlValidatorBoostOrderBy:()=>Q,GqlValidatorBoostOrderDirection:()=>W,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||{}),M=(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))(M||{}),_=(a=>(a.AmountRemaining="amountRemaining",a.AmountRemainingUsd="amountRemainingUsd",a.IncentiveRate="incentiveRate",a))(_||{}),v=(t=>(t.Asc="asc",t.Desc="desc",t))(v||{}),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||{}),F=(a=>(a.Bpt="BPT",a.PhantomBpt="PHANTOM_BPT",a.WhiteListed="WHITE_LISTED",a))(F||{}),$=(u=>(u.Amount="amount",u))($||{}),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||{}),Q=(o=>(o.ActiveBoostAmount="activeBoostAmount",o.LatestBlock="latestBlock",o.LatestBlockTime="latestBlockTime",o.QueuedBoostAmount="queuedBoostAmount",o.QueuedDropBoostAmount="queuedDropBoostAmount",o))(Q||{}),W=(t=>(t.Asc="asc",t.Desc="desc",t))(W||{}),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||{}),y=n.gql`
|
|
2
2
|
fragment ApiValidatorMinimal on GqlValidator {
|
|
3
3
|
id
|
|
4
4
|
pubkey
|
|
5
5
|
operator
|
|
6
6
|
rewardAllocator
|
|
7
|
+
lastBlockUptime {
|
|
8
|
+
isActive
|
|
9
|
+
}
|
|
7
10
|
metadata {
|
|
8
11
|
name
|
|
9
12
|
logoURI
|
|
@@ -83,7 +86,7 @@
|
|
|
83
86
|
receiver
|
|
84
87
|
startBlock
|
|
85
88
|
}
|
|
86
|
-
${S}`,
|
|
89
|
+
${S}`,g=n.gql`
|
|
87
90
|
fragment ApiValidator on GqlValidator {
|
|
88
91
|
...ApiValidatorMinimal
|
|
89
92
|
operator
|
|
@@ -104,7 +107,7 @@
|
|
|
104
107
|
description
|
|
105
108
|
}
|
|
106
109
|
}
|
|
107
|
-
${
|
|
110
|
+
${y}
|
|
108
111
|
${z}`,K=n.gql`
|
|
109
112
|
fragment ApiValidatorBlockUptime on GqlValidatorBlockUptime {
|
|
110
113
|
isActive
|
|
@@ -135,7 +138,7 @@ ${z}`,K=n.gql`
|
|
|
135
138
|
${S}`,ot=n.gql`
|
|
136
139
|
query GetValidator($id: String!, $chain: GqlChain!) {
|
|
137
140
|
validator: polGetValidator(validatorId: $id, chain: $chain) {
|
|
138
|
-
...
|
|
141
|
+
...ApiValidatorMinimal
|
|
139
142
|
}
|
|
140
143
|
uptime: polGetValidatorBlockUptimes(validatorId: $id, chain: $chain) {
|
|
141
144
|
...ApiValidatorBlockUptime
|
|
@@ -164,7 +167,7 @@ ${K}`,rt=n.gql`
|
|
|
164
167
|
}
|
|
165
168
|
}
|
|
166
169
|
}
|
|
167
|
-
${
|
|
170
|
+
${g}`,nt=n.gql`
|
|
168
171
|
query GetVaultValidators($vaultId: String!, $chain: GqlChain, $isActive: Boolean = true) {
|
|
169
172
|
validators: polGetValidators(
|
|
170
173
|
where: {vaultAddress: $vaultId, isActive: $isActive}
|
|
@@ -181,7 +184,7 @@ ${K}`,rt=n.gql`
|
|
|
181
184
|
}
|
|
182
185
|
}
|
|
183
186
|
}
|
|
184
|
-
${
|
|
187
|
+
${g}`,lt=n.gql`
|
|
185
188
|
query GetRewardVault($vaultId: String!, $chain: GqlChain!) {
|
|
186
189
|
rewardVault: polGetRewardVault(vaultAddress: $vaultId, chain: $chain) {
|
|
187
190
|
...ApiVault
|
|
@@ -220,7 +223,7 @@ ${K}`,rt=n.gql`
|
|
|
220
223
|
}
|
|
221
224
|
}
|
|
222
225
|
}
|
|
223
|
-
${
|
|
226
|
+
${y}`,it=n.gql`
|
|
224
227
|
query GetUserVaults($userId: String!, $chain: GqlChain!) {
|
|
225
228
|
userVaultDeposits: polGetUserVaultDeposits(userAddress: $userId, chain: $chain) {
|
|
226
229
|
pagination {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -2825,6 +2825,10 @@ type ApiValidatorMinimalFragment = {
|
|
|
2825
2825
|
pubkey: `0x${string}`;
|
|
2826
2826
|
operator?: `0x${string}` | null;
|
|
2827
2827
|
rewardAllocator?: `0x${string}` | null;
|
|
2828
|
+
lastBlockUptime?: {
|
|
2829
|
+
__typename?: 'GqlValidatorBlockUptime';
|
|
2830
|
+
isActive: boolean;
|
|
2831
|
+
} | null;
|
|
2828
2832
|
metadata?: {
|
|
2829
2833
|
__typename?: 'GqlValidatorMetadata';
|
|
2830
2834
|
name: string;
|
|
@@ -3013,82 +3017,18 @@ type GetValidatorQuery = {
|
|
|
3013
3017
|
__typename?: 'Query';
|
|
3014
3018
|
validator?: {
|
|
3015
3019
|
__typename?: 'GqlValidator';
|
|
3016
|
-
operator?: `0x${string}` | null;
|
|
3017
3020
|
id: `0x${string}`;
|
|
3018
3021
|
pubkey: `0x${string}`;
|
|
3022
|
+
operator?: `0x${string}` | null;
|
|
3019
3023
|
rewardAllocator?: `0x${string}` | null;
|
|
3020
|
-
rewardAllocationWeights: Array<{
|
|
3021
|
-
__typename?: 'GqlValidatorRewardAllocationWeight';
|
|
3022
|
-
percentage: number;
|
|
3023
|
-
receiver: `0x${string}`;
|
|
3024
|
-
startBlock: number;
|
|
3025
|
-
receivingVault?: {
|
|
3026
|
-
__typename?: 'GqlRewardVault';
|
|
3027
|
-
vaultAddress: `0x${string}`;
|
|
3028
|
-
isVaultWhitelisted: boolean;
|
|
3029
|
-
stakingTokenAmount: string;
|
|
3030
|
-
id: `0x${string}`;
|
|
3031
|
-
address: `0x${string}`;
|
|
3032
|
-
dynamicData?: {
|
|
3033
|
-
__typename?: 'GqlRewardVaultDynamicData';
|
|
3034
|
-
allTimeReceivedBGTAmount: string;
|
|
3035
|
-
apr?: number | null;
|
|
3036
|
-
bgtCapturePercentage: string;
|
|
3037
|
-
bgtCapturePerBlock: string;
|
|
3038
|
-
activeIncentivesValueUsd: string;
|
|
3039
|
-
activeIncentivesRateUsd: string;
|
|
3040
|
-
tvl?: number | null;
|
|
3041
|
-
} | null;
|
|
3042
|
-
stakingToken: {
|
|
3043
|
-
__typename?: 'GqlToken';
|
|
3044
|
-
address: `0x${string}`;
|
|
3045
|
-
name: string;
|
|
3046
|
-
symbol: string;
|
|
3047
|
-
decimals: number;
|
|
3048
|
-
};
|
|
3049
|
-
metadata?: {
|
|
3050
|
-
__typename?: 'GqlRewardVaultMetadata';
|
|
3051
|
-
name: string;
|
|
3052
|
-
logoURI: string;
|
|
3053
|
-
url: string;
|
|
3054
|
-
protocolName: string;
|
|
3055
|
-
protocolIcon: string;
|
|
3056
|
-
description: string;
|
|
3057
|
-
categories: Array<string>;
|
|
3058
|
-
action: string;
|
|
3059
|
-
} | null;
|
|
3060
|
-
activeIncentives: Array<{
|
|
3061
|
-
__typename?: 'GqlRewardVaultIncentive';
|
|
3062
|
-
active: boolean;
|
|
3063
|
-
remainingAmount: string;
|
|
3064
|
-
remainingAmountUsd: string;
|
|
3065
|
-
incentiveRate: string;
|
|
3066
|
-
incentiveRateUsd: string;
|
|
3067
|
-
tokenAddress: `0x${string}`;
|
|
3068
|
-
token: {
|
|
3069
|
-
__typename?: 'GqlToken';
|
|
3070
|
-
address: `0x${string}`;
|
|
3071
|
-
name: string;
|
|
3072
|
-
symbol: string;
|
|
3073
|
-
decimals: number;
|
|
3074
|
-
};
|
|
3075
|
-
}>;
|
|
3076
|
-
} | null;
|
|
3077
|
-
}>;
|
|
3078
3024
|
lastBlockUptime?: {
|
|
3079
3025
|
__typename?: 'GqlValidatorBlockUptime';
|
|
3080
3026
|
isActive: boolean;
|
|
3081
|
-
isProposer: boolean;
|
|
3082
|
-
isSigner: boolean;
|
|
3083
|
-
status: GqlValidatorBlockUptimeStatus;
|
|
3084
|
-
blockNumber: number;
|
|
3085
3027
|
} | null;
|
|
3086
3028
|
metadata?: {
|
|
3087
3029
|
__typename?: 'GqlValidatorMetadata';
|
|
3088
3030
|
name: string;
|
|
3089
3031
|
logoURI: string;
|
|
3090
|
-
website: string;
|
|
3091
|
-
description: string;
|
|
3092
3032
|
} | null;
|
|
3093
3033
|
dynamicData?: {
|
|
3094
3034
|
__typename?: 'GqlValidatorDynamicData';
|
|
@@ -3417,6 +3357,10 @@ type GlobalDataQuery = {
|
|
|
3417
3357
|
pubkey: `0x${string}`;
|
|
3418
3358
|
operator?: `0x${string}` | null;
|
|
3419
3359
|
rewardAllocator?: `0x${string}` | null;
|
|
3360
|
+
lastBlockUptime?: {
|
|
3361
|
+
__typename?: 'GqlValidatorBlockUptime';
|
|
3362
|
+
isActive: boolean;
|
|
3363
|
+
} | null;
|
|
3420
3364
|
metadata?: {
|
|
3421
3365
|
__typename?: 'GqlValidatorMetadata';
|
|
3422
3366
|
name: string;
|
|
@@ -3574,22 +3518,22 @@ type GetSWberaVaultSnapshotsQuery = {
|
|
|
3574
3518
|
vaultAddress: `0x${string}`;
|
|
3575
3519
|
}>;
|
|
3576
3520
|
};
|
|
3577
|
-
declare const ApiValidatorMinimal:
|
|
3578
|
-
declare const ApiVaultIncentive:
|
|
3579
|
-
declare const ApiVault:
|
|
3580
|
-
declare const ApiRewardAllocationWeight:
|
|
3581
|
-
declare const ApiValidator:
|
|
3582
|
-
declare const ApiValidatorBlockUptime:
|
|
3583
|
-
declare const GetVaults:
|
|
3584
|
-
declare const GetValidator:
|
|
3585
|
-
declare const GetValidators:
|
|
3586
|
-
declare const GetVaultValidators:
|
|
3587
|
-
declare const GetRewardVault:
|
|
3588
|
-
declare const GlobalData:
|
|
3589
|
-
declare const GetUserVaults:
|
|
3590
|
-
declare const GetVaultHistory:
|
|
3591
|
-
declare const GetSWberaVaultMetadata:
|
|
3592
|
-
declare const GetSWberaVaultSnapshots:
|
|
3521
|
+
declare const ApiValidatorMinimal: _apollo_client.DocumentNode;
|
|
3522
|
+
declare const ApiVaultIncentive: _apollo_client.DocumentNode;
|
|
3523
|
+
declare const ApiVault: _apollo_client.DocumentNode;
|
|
3524
|
+
declare const ApiRewardAllocationWeight: _apollo_client.DocumentNode;
|
|
3525
|
+
declare const ApiValidator: _apollo_client.DocumentNode;
|
|
3526
|
+
declare const ApiValidatorBlockUptime: _apollo_client.DocumentNode;
|
|
3527
|
+
declare const GetVaults: _apollo_client.DocumentNode;
|
|
3528
|
+
declare const GetValidator: _apollo_client.DocumentNode;
|
|
3529
|
+
declare const GetValidators: _apollo_client.DocumentNode;
|
|
3530
|
+
declare const GetVaultValidators: _apollo_client.DocumentNode;
|
|
3531
|
+
declare const GetRewardVault: _apollo_client.DocumentNode;
|
|
3532
|
+
declare const GlobalData: _apollo_client.DocumentNode;
|
|
3533
|
+
declare const GetUserVaults: _apollo_client.DocumentNode;
|
|
3534
|
+
declare const GetVaultHistory: _apollo_client.DocumentNode;
|
|
3535
|
+
declare const GetSWberaVaultMetadata: _apollo_client.DocumentNode;
|
|
3536
|
+
declare const GetSWberaVaultSnapshots: _apollo_client.DocumentNode;
|
|
3593
3537
|
interface PossibleTypesResultData {
|
|
3594
3538
|
possibleTypes: {
|
|
3595
3539
|
[key: string]: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -2825,6 +2825,10 @@ type ApiValidatorMinimalFragment = {
|
|
|
2825
2825
|
pubkey: `0x${string}`;
|
|
2826
2826
|
operator?: `0x${string}` | null;
|
|
2827
2827
|
rewardAllocator?: `0x${string}` | null;
|
|
2828
|
+
lastBlockUptime?: {
|
|
2829
|
+
__typename?: 'GqlValidatorBlockUptime';
|
|
2830
|
+
isActive: boolean;
|
|
2831
|
+
} | null;
|
|
2828
2832
|
metadata?: {
|
|
2829
2833
|
__typename?: 'GqlValidatorMetadata';
|
|
2830
2834
|
name: string;
|
|
@@ -3013,82 +3017,18 @@ type GetValidatorQuery = {
|
|
|
3013
3017
|
__typename?: 'Query';
|
|
3014
3018
|
validator?: {
|
|
3015
3019
|
__typename?: 'GqlValidator';
|
|
3016
|
-
operator?: `0x${string}` | null;
|
|
3017
3020
|
id: `0x${string}`;
|
|
3018
3021
|
pubkey: `0x${string}`;
|
|
3022
|
+
operator?: `0x${string}` | null;
|
|
3019
3023
|
rewardAllocator?: `0x${string}` | null;
|
|
3020
|
-
rewardAllocationWeights: Array<{
|
|
3021
|
-
__typename?: 'GqlValidatorRewardAllocationWeight';
|
|
3022
|
-
percentage: number;
|
|
3023
|
-
receiver: `0x${string}`;
|
|
3024
|
-
startBlock: number;
|
|
3025
|
-
receivingVault?: {
|
|
3026
|
-
__typename?: 'GqlRewardVault';
|
|
3027
|
-
vaultAddress: `0x${string}`;
|
|
3028
|
-
isVaultWhitelisted: boolean;
|
|
3029
|
-
stakingTokenAmount: string;
|
|
3030
|
-
id: `0x${string}`;
|
|
3031
|
-
address: `0x${string}`;
|
|
3032
|
-
dynamicData?: {
|
|
3033
|
-
__typename?: 'GqlRewardVaultDynamicData';
|
|
3034
|
-
allTimeReceivedBGTAmount: string;
|
|
3035
|
-
apr?: number | null;
|
|
3036
|
-
bgtCapturePercentage: string;
|
|
3037
|
-
bgtCapturePerBlock: string;
|
|
3038
|
-
activeIncentivesValueUsd: string;
|
|
3039
|
-
activeIncentivesRateUsd: string;
|
|
3040
|
-
tvl?: number | null;
|
|
3041
|
-
} | null;
|
|
3042
|
-
stakingToken: {
|
|
3043
|
-
__typename?: 'GqlToken';
|
|
3044
|
-
address: `0x${string}`;
|
|
3045
|
-
name: string;
|
|
3046
|
-
symbol: string;
|
|
3047
|
-
decimals: number;
|
|
3048
|
-
};
|
|
3049
|
-
metadata?: {
|
|
3050
|
-
__typename?: 'GqlRewardVaultMetadata';
|
|
3051
|
-
name: string;
|
|
3052
|
-
logoURI: string;
|
|
3053
|
-
url: string;
|
|
3054
|
-
protocolName: string;
|
|
3055
|
-
protocolIcon: string;
|
|
3056
|
-
description: string;
|
|
3057
|
-
categories: Array<string>;
|
|
3058
|
-
action: string;
|
|
3059
|
-
} | null;
|
|
3060
|
-
activeIncentives: Array<{
|
|
3061
|
-
__typename?: 'GqlRewardVaultIncentive';
|
|
3062
|
-
active: boolean;
|
|
3063
|
-
remainingAmount: string;
|
|
3064
|
-
remainingAmountUsd: string;
|
|
3065
|
-
incentiveRate: string;
|
|
3066
|
-
incentiveRateUsd: string;
|
|
3067
|
-
tokenAddress: `0x${string}`;
|
|
3068
|
-
token: {
|
|
3069
|
-
__typename?: 'GqlToken';
|
|
3070
|
-
address: `0x${string}`;
|
|
3071
|
-
name: string;
|
|
3072
|
-
symbol: string;
|
|
3073
|
-
decimals: number;
|
|
3074
|
-
};
|
|
3075
|
-
}>;
|
|
3076
|
-
} | null;
|
|
3077
|
-
}>;
|
|
3078
3024
|
lastBlockUptime?: {
|
|
3079
3025
|
__typename?: 'GqlValidatorBlockUptime';
|
|
3080
3026
|
isActive: boolean;
|
|
3081
|
-
isProposer: boolean;
|
|
3082
|
-
isSigner: boolean;
|
|
3083
|
-
status: GqlValidatorBlockUptimeStatus;
|
|
3084
|
-
blockNumber: number;
|
|
3085
3027
|
} | null;
|
|
3086
3028
|
metadata?: {
|
|
3087
3029
|
__typename?: 'GqlValidatorMetadata';
|
|
3088
3030
|
name: string;
|
|
3089
3031
|
logoURI: string;
|
|
3090
|
-
website: string;
|
|
3091
|
-
description: string;
|
|
3092
3032
|
} | null;
|
|
3093
3033
|
dynamicData?: {
|
|
3094
3034
|
__typename?: 'GqlValidatorDynamicData';
|
|
@@ -3417,6 +3357,10 @@ type GlobalDataQuery = {
|
|
|
3417
3357
|
pubkey: `0x${string}`;
|
|
3418
3358
|
operator?: `0x${string}` | null;
|
|
3419
3359
|
rewardAllocator?: `0x${string}` | null;
|
|
3360
|
+
lastBlockUptime?: {
|
|
3361
|
+
__typename?: 'GqlValidatorBlockUptime';
|
|
3362
|
+
isActive: boolean;
|
|
3363
|
+
} | null;
|
|
3420
3364
|
metadata?: {
|
|
3421
3365
|
__typename?: 'GqlValidatorMetadata';
|
|
3422
3366
|
name: string;
|
|
@@ -3574,22 +3518,22 @@ type GetSWberaVaultSnapshotsQuery = {
|
|
|
3574
3518
|
vaultAddress: `0x${string}`;
|
|
3575
3519
|
}>;
|
|
3576
3520
|
};
|
|
3577
|
-
declare const ApiValidatorMinimal:
|
|
3578
|
-
declare const ApiVaultIncentive:
|
|
3579
|
-
declare const ApiVault:
|
|
3580
|
-
declare const ApiRewardAllocationWeight:
|
|
3581
|
-
declare const ApiValidator:
|
|
3582
|
-
declare const ApiValidatorBlockUptime:
|
|
3583
|
-
declare const GetVaults:
|
|
3584
|
-
declare const GetValidator:
|
|
3585
|
-
declare const GetValidators:
|
|
3586
|
-
declare const GetVaultValidators:
|
|
3587
|
-
declare const GetRewardVault:
|
|
3588
|
-
declare const GlobalData:
|
|
3589
|
-
declare const GetUserVaults:
|
|
3590
|
-
declare const GetVaultHistory:
|
|
3591
|
-
declare const GetSWberaVaultMetadata:
|
|
3592
|
-
declare const GetSWberaVaultSnapshots:
|
|
3521
|
+
declare const ApiValidatorMinimal: _apollo_client.DocumentNode;
|
|
3522
|
+
declare const ApiVaultIncentive: _apollo_client.DocumentNode;
|
|
3523
|
+
declare const ApiVault: _apollo_client.DocumentNode;
|
|
3524
|
+
declare const ApiRewardAllocationWeight: _apollo_client.DocumentNode;
|
|
3525
|
+
declare const ApiValidator: _apollo_client.DocumentNode;
|
|
3526
|
+
declare const ApiValidatorBlockUptime: _apollo_client.DocumentNode;
|
|
3527
|
+
declare const GetVaults: _apollo_client.DocumentNode;
|
|
3528
|
+
declare const GetValidator: _apollo_client.DocumentNode;
|
|
3529
|
+
declare const GetValidators: _apollo_client.DocumentNode;
|
|
3530
|
+
declare const GetVaultValidators: _apollo_client.DocumentNode;
|
|
3531
|
+
declare const GetRewardVault: _apollo_client.DocumentNode;
|
|
3532
|
+
declare const GlobalData: _apollo_client.DocumentNode;
|
|
3533
|
+
declare const GetUserVaults: _apollo_client.DocumentNode;
|
|
3534
|
+
declare const GetVaultHistory: _apollo_client.DocumentNode;
|
|
3535
|
+
declare const GetSWberaVaultMetadata: _apollo_client.DocumentNode;
|
|
3536
|
+
declare const GetSWberaVaultSnapshots: _apollo_client.DocumentNode;
|
|
3593
3537
|
interface PossibleTypesResultData {
|
|
3594
3538
|
possibleTypes: {
|
|
3595
3539
|
[key: string]: string[];
|
package/dist/pol/api.codegen.mjs
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
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||{}),
|
|
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||{}),M=(t=>(t.Asc="asc",t.Desc="desc",t))(M||{}),_=(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=(t=>(t.Asc="asc",t.Desc="desc",t))(v||{}),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||{}),F=(t=>(t.Asc="asc",t.Desc="desc",t))(F||{}),$=(l=>(l.Inactive="INACTIVE",l.Offline="OFFLINE",l.Proposed="PROPOSED",l.Signed="SIGNED",l))($||{}),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||{}),Q=(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))(Q||{}),W=(t=>(t.Asc="asc",t.Desc="desc",t))(W||{}),H=(l=>(l.NinetyDays="NINETY_DAYS",l.SevenDays="SEVEN_DAYS",l.SixtyDays="SIXTY_DAYS",l.ThirtyDays="THIRTY_DAYS",l))(H||{}),c=r`
|
|
2
2
|
fragment ApiValidatorMinimal on GqlValidator {
|
|
3
3
|
id
|
|
4
4
|
pubkey
|
|
5
5
|
operator
|
|
6
6
|
rewardAllocator
|
|
7
|
+
lastBlockUptime {
|
|
8
|
+
isActive
|
|
9
|
+
}
|
|
7
10
|
metadata {
|
|
8
11
|
name
|
|
9
12
|
logoURI
|
|
@@ -83,7 +86,7 @@ import{gql as r}from"@apollo/client";var d=(t=>(t.Bepolia="BEPOLIA",t.Berachain=
|
|
|
83
86
|
receiver
|
|
84
87
|
startBlock
|
|
85
88
|
}
|
|
86
|
-
${p}`,
|
|
89
|
+
${p}`,S=r`
|
|
87
90
|
fragment ApiValidator on GqlValidator {
|
|
88
91
|
...ApiValidatorMinimal
|
|
89
92
|
operator
|
|
@@ -104,7 +107,7 @@ import{gql as r}from"@apollo/client";var d=(t=>(t.Bepolia="BEPOLIA",t.Berachain=
|
|
|
104
107
|
description
|
|
105
108
|
}
|
|
106
109
|
}
|
|
107
|
-
${
|
|
110
|
+
${c}
|
|
108
111
|
${L}`,Y=r`
|
|
109
112
|
fragment ApiValidatorBlockUptime on GqlValidatorBlockUptime {
|
|
110
113
|
isActive
|
|
@@ -135,7 +138,7 @@ ${L}`,Y=r`
|
|
|
135
138
|
${p}`,X=r`
|
|
136
139
|
query GetValidator($id: String!, $chain: GqlChain!) {
|
|
137
140
|
validator: polGetValidator(validatorId: $id, chain: $chain) {
|
|
138
|
-
...
|
|
141
|
+
...ApiValidatorMinimal
|
|
139
142
|
}
|
|
140
143
|
uptime: polGetValidatorBlockUptimes(validatorId: $id, chain: $chain) {
|
|
141
144
|
...ApiValidatorBlockUptime
|
|
@@ -164,7 +167,7 @@ ${Y}`,j=r`
|
|
|
164
167
|
}
|
|
165
168
|
}
|
|
166
169
|
}
|
|
167
|
-
${
|
|
170
|
+
${S}`,Z=r`
|
|
168
171
|
query GetVaultValidators($vaultId: String!, $chain: GqlChain, $isActive: Boolean = true) {
|
|
169
172
|
validators: polGetValidators(
|
|
170
173
|
where: {vaultAddress: $vaultId, isActive: $isActive}
|
|
@@ -181,7 +184,7 @@ ${Y}`,j=r`
|
|
|
181
184
|
}
|
|
182
185
|
}
|
|
183
186
|
}
|
|
184
|
-
${
|
|
187
|
+
${S}`,tt=r`
|
|
185
188
|
query GetRewardVault($vaultId: String!, $chain: GqlChain!) {
|
|
186
189
|
rewardVault: polGetRewardVault(vaultAddress: $vaultId, chain: $chain) {
|
|
187
190
|
...ApiVault
|
|
@@ -220,7 +223,7 @@ ${Y}`,j=r`
|
|
|
220
223
|
}
|
|
221
224
|
}
|
|
222
225
|
}
|
|
223
|
-
${
|
|
226
|
+
${c}`,et=r`
|
|
224
227
|
query GetUserVaults($userId: String!, $chain: GqlChain!) {
|
|
225
228
|
userVaultDeposits: polGetUserVaultDeposits(userAddress: $userId, chain: $chain) {
|
|
226
229
|
pagination {
|
|
@@ -267,4 +270,4 @@ ${Y}`,j=r`
|
|
|
267
270
|
vaultAddress
|
|
268
271
|
}
|
|
269
272
|
}
|
|
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,
|
|
273
|
+
`,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,S as ApiValidator,Y as ApiValidatorBlockUptime,c 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,M as GqlRewardVaultIncentiveOrderDirection,_ as GqlRewardVaultOrderBy,v 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,F as GqlUserVaultDepositOrderDirection,$ as GqlValidatorBlockUptimeStatus,f as GqlValidatorBoostOrderBy,N as GqlValidatorBoostOrderDirection,Q as GqlValidatorOrderBy,W as GqlValidatorOrderDirection,H as GqlVaultSnapshotDataRange,lt as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _apollo_client from '@apollo/client';
|
|
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: _apollo_client.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: _apollo_client.DocumentNode;
|
|
4246
|
+
declare const ValidatorMinimal: _apollo_client.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: _apollo_client.DocumentNode;
|
|
4259
|
+
declare const VaultMinimal: _apollo_client.DocumentNode;
|
|
4260
|
+
declare const StakingToken: _apollo_client.DocumentNode;
|
|
4261
|
+
declare const VaultWithStakingToken: _apollo_client.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: _apollo_client.DocumentNode;
|
|
4279
|
+
declare const GetUserValidatorInformation: _apollo_client.DocumentNode;
|
|
4280
|
+
declare const GetValidValidator: _apollo_client.DocumentNode;
|
|
4281
|
+
declare const GetAllValidators: _apollo_client.DocumentNode;
|
|
4282
|
+
declare const GetValidatorBlockStats: _apollo_client.DocumentNode;
|
|
4283
|
+
declare const GetGauges: _apollo_client.DocumentNode;
|
|
4284
|
+
declare const GetWeeklyBgtInflation: _apollo_client.DocumentNode;
|
|
4285
|
+
declare const GetRewardVault: _apollo_client.DocumentNode;
|
|
4286
|
+
declare const GetValidatorByAccount: _apollo_client.DocumentNode;
|
|
4287
|
+
declare const GetValidatorAnalytics: _apollo_client.DocumentNode;
|
|
4288
|
+
declare const GetIncentiveFeeClaimStats: _apollo_client.DocumentNode;
|
|
4289
4289
|
interface PossibleTypesResultData {
|
|
4290
4290
|
possibleTypes: {
|
|
4291
4291
|
[key: string]: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _apollo_client from '@apollo/client';
|
|
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: _apollo_client.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: _apollo_client.DocumentNode;
|
|
4246
|
+
declare const ValidatorMinimal: _apollo_client.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: _apollo_client.DocumentNode;
|
|
4259
|
+
declare const VaultMinimal: _apollo_client.DocumentNode;
|
|
4260
|
+
declare const StakingToken: _apollo_client.DocumentNode;
|
|
4261
|
+
declare const VaultWithStakingToken: _apollo_client.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: _apollo_client.DocumentNode;
|
|
4279
|
+
declare const GetUserValidatorInformation: _apollo_client.DocumentNode;
|
|
4280
|
+
declare const GetValidValidator: _apollo_client.DocumentNode;
|
|
4281
|
+
declare const GetAllValidators: _apollo_client.DocumentNode;
|
|
4282
|
+
declare const GetValidatorBlockStats: _apollo_client.DocumentNode;
|
|
4283
|
+
declare const GetGauges: _apollo_client.DocumentNode;
|
|
4284
|
+
declare const GetWeeklyBgtInflation: _apollo_client.DocumentNode;
|
|
4285
|
+
declare const GetRewardVault: _apollo_client.DocumentNode;
|
|
4286
|
+
declare const GetValidatorByAccount: _apollo_client.DocumentNode;
|
|
4287
|
+
declare const GetValidatorAnalytics: _apollo_client.DocumentNode;
|
|
4288
|
+
declare const GetIncentiveFeeClaimStats: _apollo_client.DocumentNode;
|
|
4289
4289
|
interface PossibleTypesResultData {
|
|
4290
4290
|
possibleTypes: {
|
|
4291
4291
|
[key: string]: string[];
|