@berachain/graphql 0.1.2-alpha.6 → 0.1.2-alpha.7
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.cjs +15 -15
- package/dist/bend/whisk.codegen.mjs +10 -10
- package/dist/chain/chain.codegen.cjs +2 -2
- package/dist/chain/chain.codegen.mjs +2 -2
- package/dist/dex/api.codegen.cjs +20 -20
- package/dist/dex/api.codegen.mjs +19 -19
- package/dist/dex/subgraph.codegen.cjs +9 -9
- package/dist/dex/subgraph.codegen.mjs +9 -9
- package/dist/governance/governance.codegen.cjs +10 -10
- package/dist/governance/governance.codegen.mjs +10 -10
- package/dist/honey/honey.codegen.cjs +10 -10
- package/dist/honey/honey.codegen.mjs +10 -10
- package/dist/pol/api.codegen.cjs +21 -21
- package/dist/pol/api.codegen.mjs +19 -19
- package/dist/pol/subgraph.codegen.cjs +23 -23
- package/dist/pol/subgraph.codegen.mjs +20 -20
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
"use strict";var y=Object.defineProperty;var
|
|
1
|
+
"use strict";var y=Object.defineProperty;var M=Object.getOwnPropertyDescriptor;var S=Object.getOwnPropertyNames;var I=Object.prototype.hasOwnProperty;var x=(o,n)=>{for(var a in n)y(o,a,{get:n[a],enumerable:!0})},T=(o,n,a,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let u of S(n))!I.call(o,u)&&u!==a&&y(o,u,{get:()=>n[u],enumerable:!(r=M(n,u))||r.enumerable});return o};var f=o=>T(y({},"__esModule",{value:!0}),o);var Q={};x(Q,{ApyFragment:()=>l,ApySide:()=>g,ChainInfoFragment:()=>p,CuratorInfoFragment:()=>m,GetAccountIsOfacSanctioned:()=>H,IdentityResolver:()=>A,Market:()=>V,MarketPositions:()=>v,MarketSummaries:()=>C,MarketSummaryFragment:()=>c,MerklAction:()=>_,SupportedMarketIds:()=>F,TokenCategory:()=>b,TokenInfoFragment:()=>i,Vault:()=>P,VaultPositions:()=>$,VaultProtocol:()=>h,VaultSummaries:()=>w,VaultSummaryFragment:()=>d,VaultType:()=>k,default:()=>E});module.exports=f(Q);var t=require("@apollo/client"),g=(a=>(a.Borrow="Borrow",a.Supply="Supply",a))(g||{}),A=(s=>(s.Base="base",s.Ens="ens",s.Farcaster="farcaster",s.Lens="lens",s.Nns="nns",s.Uni="uni",s.World="world",s))(A||{}),_=(a=>(a.Borrow="Borrow",a.Lend="Lend",a))(_||{}),b=(r=>(r.Btc="Btc",r.Eth="Eth",r.Stable="Stable",r))(b||{}),h=(e=>(e.Enzyme="enzyme",e.EulerV2="euler_v2",e.Gearbox="gearbox",e.Lista="lista",e.Mellow="mellow",e.Midas="midas",e.Morpho="morpho",e.Napier="napier",e.Pendle="pendle",e.Reserve="reserve",e.Silo="silo",e.TurtleClub="turtle_club",e))(h||{}),k=(r=>(r.Index="index",r.Lending="lending",r.Staking="staking",r))(k||{}),p=t.gql`
|
|
2
2
|
fragment ChainInfoFragment on Chain {
|
|
3
3
|
id
|
|
4
4
|
name
|
|
5
5
|
icon
|
|
6
6
|
}
|
|
7
|
-
`,i=t`
|
|
7
|
+
`,i=t.gql`
|
|
8
8
|
fragment TokenInfoFragment on Token {
|
|
9
9
|
address
|
|
10
10
|
symbol
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
icon
|
|
13
13
|
category
|
|
14
14
|
}
|
|
15
|
-
`,m=t`
|
|
15
|
+
`,m=t.gql`
|
|
16
16
|
fragment CuratorInfoFragment on Curator {
|
|
17
17
|
name
|
|
18
18
|
image
|
|
19
19
|
url
|
|
20
20
|
}
|
|
21
|
-
`,l=t`
|
|
21
|
+
`,l=t.gql`
|
|
22
22
|
fragment ApyFragment on Apy {
|
|
23
23
|
base
|
|
24
24
|
rewards {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
total
|
|
31
31
|
fee
|
|
32
32
|
}
|
|
33
|
-
${i}`,d=t`
|
|
33
|
+
${i}`,d=t.gql`
|
|
34
34
|
fragment VaultSummaryFragment on MorphoVault {
|
|
35
35
|
chain {
|
|
36
36
|
...ChainInfoFragment
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
${p}
|
|
79
79
|
${i}
|
|
80
80
|
${m}
|
|
81
|
-
${l}`,c=t`
|
|
81
|
+
${l}`,c=t.gql`
|
|
82
82
|
fragment MarketSummaryFragment on MorphoMarket {
|
|
83
83
|
chain {
|
|
84
84
|
...ChainInfoFragment
|
|
@@ -134,7 +134,7 @@ ${l}`,c=t`
|
|
|
134
134
|
}
|
|
135
135
|
${p}
|
|
136
136
|
${i}
|
|
137
|
-
${l}`,
|
|
137
|
+
${l}`,w=t.gql`
|
|
138
138
|
query VaultSummaries($chainIds: [ChainId!]!, $vaultAddresses: [Address!]!) {
|
|
139
139
|
morphoVaults(
|
|
140
140
|
where: {chainId_in: $chainIds, vaultAddress_in: $vaultAddresses}
|
|
@@ -148,7 +148,7 @@ ${l}`,C=t`
|
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
|
-
${d}`,
|
|
151
|
+
${d}`,C=t.gql`
|
|
152
152
|
query MarketSummaries($chainIds: [ChainId!]!, $marketIds: [Hex!]!) {
|
|
153
153
|
morphoMarkets(
|
|
154
154
|
where: {chainId_in: $chainIds, marketId_in: $marketIds}
|
|
@@ -162,7 +162,7 @@ ${l}`,C=t`
|
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
|
-
${c}`,
|
|
165
|
+
${c}`,P=t.gql`
|
|
166
166
|
query Vault($chainId: ChainId!, $vaultAddress: Address!) {
|
|
167
167
|
morphoVaults(where: {chainId_in: [$chainId], vaultAddress_in: [$vaultAddress]}) {
|
|
168
168
|
items {
|
|
@@ -242,7 +242,7 @@ ${l}`,C=t`
|
|
|
242
242
|
${d}
|
|
243
243
|
${p}
|
|
244
244
|
${i}
|
|
245
|
-
${l}
|
|
245
|
+
${l}`,V=t.gql`
|
|
246
246
|
query Market($chainId: ChainId!, $marketId: Hex!) {
|
|
247
247
|
morphoMarkets(where: {chainId_in: [$chainId], marketId_in: [$marketId]}) {
|
|
248
248
|
items {
|
|
@@ -329,7 +329,7 @@ ${l}`,$=t`
|
|
|
329
329
|
${c}
|
|
330
330
|
${i}
|
|
331
331
|
${p}
|
|
332
|
-
${m}
|
|
332
|
+
${m}`,$=t.gql`
|
|
333
333
|
query VaultPositions($chainIds: [ChainId!]!, $vaultAddresses: [Address!]!, $accountAddress: Address!) {
|
|
334
334
|
morphoVaultPositions(
|
|
335
335
|
where: {chainId_in: $chainIds, vaultAddress_in: $vaultAddresses, accountAddress_in: [$accountAddress]}
|
|
@@ -357,7 +357,7 @@ ${m}`,v=t`
|
|
|
357
357
|
}
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
|
-
`,
|
|
360
|
+
`,v=t.gql`
|
|
361
361
|
query MarketPositions($chainIds: [ChainId!]!, $marketIds: [Hex!]!, $accountAddress: Address!) {
|
|
362
362
|
morphoMarketPositions(
|
|
363
363
|
where: {chainId_in: $chainIds, marketId_in: $marketIds, accountAddress_in: [$accountAddress]}
|
|
@@ -400,7 +400,7 @@ ${m}`,v=t`
|
|
|
400
400
|
}
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
|
-
`,
|
|
403
|
+
`,F=t.gql`
|
|
404
404
|
query SupportedMarketIds($chainIds: [ChainId!]!, $vaultAddresses: [Address!]!) {
|
|
405
405
|
morphoVaults(where: {chainId_in: $chainIds, vaultAddress_in: $vaultAddresses}) {
|
|
406
406
|
items {
|
|
@@ -415,10 +415,10 @@ ${m}`,v=t`
|
|
|
415
415
|
}
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
|
-
`,
|
|
418
|
+
`,H=t.gql`
|
|
419
419
|
query getAccountIsOfacSanctioned($address: Address!) {
|
|
420
420
|
identity(address: $address) {
|
|
421
421
|
isOfacSanctioned
|
|
422
422
|
}
|
|
423
423
|
}
|
|
424
|
-
`,
|
|
424
|
+
`,O={possibleTypes:{}},E=O;0&&(module.exports={ApyFragment,ApySide,ChainInfoFragment,CuratorInfoFragment,GetAccountIsOfacSanctioned,IdentityResolver,Market,MarketPositions,MarketSummaries,MarketSummaryFragment,MerklAction,SupportedMarketIds,TokenCategory,TokenInfoFragment,Vault,VaultPositions,VaultProtocol,VaultSummaries,VaultSummaryFragment,VaultType});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{gql as
|
|
1
|
+
import{gql as t}from"@apollo/client";var y=(n=>(n.Borrow="Borrow",n.Supply="Supply",n))(y||{}),m=(r=>(r.Base="base",r.Ens="ens",r.Farcaster="farcaster",r.Lens="lens",r.Nns="nns",r.Uni="uni",r.World="world",r))(m||{}),d=(n=>(n.Borrow="Borrow",n.Lend="Lend",n))(d||{}),c=(a=>(a.Btc="Btc",a.Eth="Eth",a.Stable="Stable",a))(c||{}),g=(e=>(e.Enzyme="enzyme",e.EulerV2="euler_v2",e.Gearbox="gearbox",e.Lista="lista",e.Mellow="mellow",e.Midas="midas",e.Morpho="morpho",e.Napier="napier",e.Pendle="pendle",e.Reserve="reserve",e.Silo="silo",e.TurtleClub="turtle_club",e))(g||{}),A=(a=>(a.Index="index",a.Lending="lending",a.Staking="staking",a))(A||{}),s=t`
|
|
2
2
|
fragment ChainInfoFragment on Chain {
|
|
3
3
|
id
|
|
4
4
|
name
|
|
@@ -134,7 +134,7 @@ ${i}`,l=t`
|
|
|
134
134
|
}
|
|
135
135
|
${s}
|
|
136
136
|
${o}
|
|
137
|
-
${i}`,
|
|
137
|
+
${i}`,h=t`
|
|
138
138
|
query VaultSummaries($chainIds: [ChainId!]!, $vaultAddresses: [Address!]!) {
|
|
139
139
|
morphoVaults(
|
|
140
140
|
where: {chainId_in: $chainIds, vaultAddress_in: $vaultAddresses}
|
|
@@ -148,7 +148,7 @@ ${i}`,S=t`
|
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
|
-
${p}`,
|
|
151
|
+
${p}`,k=t`
|
|
152
152
|
query MarketSummaries($chainIds: [ChainId!]!, $marketIds: [Hex!]!) {
|
|
153
153
|
morphoMarkets(
|
|
154
154
|
where: {chainId_in: $chainIds, marketId_in: $marketIds}
|
|
@@ -162,7 +162,7 @@ ${i}`,S=t`
|
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
|
-
${l}`,
|
|
165
|
+
${l}`,M=t`
|
|
166
166
|
query Vault($chainId: ChainId!, $vaultAddress: Address!) {
|
|
167
167
|
morphoVaults(where: {chainId_in: [$chainId], vaultAddress_in: [$vaultAddress]}) {
|
|
168
168
|
items {
|
|
@@ -242,7 +242,7 @@ ${i}`,S=t`
|
|
|
242
242
|
${p}
|
|
243
243
|
${s}
|
|
244
244
|
${o}
|
|
245
|
-
${i}`,
|
|
245
|
+
${i}`,S=t`
|
|
246
246
|
query Market($chainId: ChainId!, $marketId: Hex!) {
|
|
247
247
|
morphoMarkets(where: {chainId_in: [$chainId], marketId_in: [$marketId]}) {
|
|
248
248
|
items {
|
|
@@ -329,7 +329,7 @@ ${i}`,T=t`
|
|
|
329
329
|
${l}
|
|
330
330
|
${o}
|
|
331
331
|
${s}
|
|
332
|
-
${u}`,
|
|
332
|
+
${u}`,I=t`
|
|
333
333
|
query VaultPositions($chainIds: [ChainId!]!, $vaultAddresses: [Address!]!, $accountAddress: Address!) {
|
|
334
334
|
morphoVaultPositions(
|
|
335
335
|
where: {chainId_in: $chainIds, vaultAddress_in: $vaultAddresses, accountAddress_in: [$accountAddress]}
|
|
@@ -357,7 +357,7 @@ ${u}`,f=t`
|
|
|
357
357
|
}
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
|
-
`,
|
|
360
|
+
`,x=t`
|
|
361
361
|
query MarketPositions($chainIds: [ChainId!]!, $marketIds: [Hex!]!, $accountAddress: Address!) {
|
|
362
362
|
morphoMarketPositions(
|
|
363
363
|
where: {chainId_in: $chainIds, marketId_in: $marketIds, accountAddress_in: [$accountAddress]}
|
|
@@ -400,7 +400,7 @@ ${u}`,f=t`
|
|
|
400
400
|
}
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
|
-
`,
|
|
403
|
+
`,T=t`
|
|
404
404
|
query SupportedMarketIds($chainIds: [ChainId!]!, $vaultAddresses: [Address!]!) {
|
|
405
405
|
morphoVaults(where: {chainId_in: $chainIds, vaultAddress_in: $vaultAddresses}) {
|
|
406
406
|
items {
|
|
@@ -415,10 +415,10 @@ ${u}`,f=t`
|
|
|
415
415
|
}
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
|
-
`,
|
|
418
|
+
`,f=t`
|
|
419
419
|
query getAccountIsOfacSanctioned($address: Address!) {
|
|
420
420
|
identity(address: $address) {
|
|
421
421
|
isOfacSanctioned
|
|
422
422
|
}
|
|
423
423
|
}
|
|
424
|
-
`,
|
|
424
|
+
`,_={possibleTypes:{}},w=_;export{i as ApyFragment,y as ApySide,s as ChainInfoFragment,u as CuratorInfoFragment,f as GetAccountIsOfacSanctioned,m as IdentityResolver,S as Market,x as MarketPositions,k as MarketSummaries,l as MarketSummaryFragment,d as MerklAction,T as SupportedMarketIds,c as TokenCategory,o as TokenInfoFragment,M as Vault,I as VaultPositions,g as VaultProtocol,h as VaultSummaries,p as VaultSummaryFragment,A as VaultType,w as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var p=Object.defineProperty;var
|
|
1
|
+
"use strict";var p=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var b=Object.prototype.hasOwnProperty;var S=(e,n)=>{for(var a in n)p(e,a,{get:n[a],enumerable:!0})},_=(e,n,a,u)=>{if(n&&typeof n=="object"||typeof n=="function")for(let s of I(n))!b.call(e,s)&&s!==a&&p(e,s,{get:()=>n[s],enumerable:!(u=c(n,s))||u.enumerable});return e};var M=e=>_(p({},"__esModule",{value:!0}),e);var h={};S(h,{Aggregation_Interval:()=>r,Block_OrderBy:()=>y,GetBlocksTimeStamp:()=>B,OrderDirection:()=>o,_SubgraphErrorPolicy_:()=>l,default:()=>m});module.exports=M(h);var i=require("@apollo/client"),r=(a=>(a.Day="day",a.Hour="hour",a))(r||{}),y=(t=>(t.Author="author",t.BaseFeePerGas="baseFeePerGas",t.Difficulty="difficulty",t.GasLimit="gasLimit",t.GasUsed="gasUsed",t.Hash="hash",t.Id="id",t.Number="number",t.ParentHash="parentHash",t.ReceiptsRoot="receiptsRoot",t.Size="size",t.StateRoot="stateRoot",t.Timestamp="timestamp",t.TotalDifficulty="totalDifficulty",t.TransactionsRoot="transactionsRoot",t.UnclesHash="unclesHash",t))(y||{}),o=(a=>(a.Asc="asc",a.Desc="desc",a))(o||{}),l=(a=>(a.Allow="allow",a.Deny="deny",a))(l||{}),B=i.gql`
|
|
2
2
|
query GetBlocksTimeStamp($skip: Int!) {
|
|
3
3
|
newest: blocks(first: 1, orderBy: timestamp, orderDirection: desc) {
|
|
4
4
|
timestamp
|
|
@@ -9,4 +9,4 @@
|
|
|
9
9
|
number
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
`,
|
|
12
|
+
`,g={possibleTypes:{}},m=g;0&&(module.exports={Aggregation_Interval,Block_OrderBy,GetBlocksTimeStamp,OrderDirection,_SubgraphErrorPolicy_});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{gql as
|
|
1
|
+
import{gql as n}from"@apollo/client";var e=(a=>(a.Day="day",a.Hour="hour",a))(e||{}),s=(t=>(t.Author="author",t.BaseFeePerGas="baseFeePerGas",t.Difficulty="difficulty",t.GasLimit="gasLimit",t.GasUsed="gasUsed",t.Hash="hash",t.Id="id",t.Number="number",t.ParentHash="parentHash",t.ReceiptsRoot="receiptsRoot",t.Size="size",t.StateRoot="stateRoot",t.Timestamp="timestamp",t.TotalDifficulty="totalDifficulty",t.TransactionsRoot="transactionsRoot",t.UnclesHash="unclesHash",t))(s||{}),p=(a=>(a.Asc="asc",a.Desc="desc",a))(p||{}),u=(a=>(a.Allow="allow",a.Deny="deny",a))(u||{}),y=n`
|
|
2
2
|
query GetBlocksTimeStamp($skip: Int!) {
|
|
3
3
|
newest: blocks(first: 1, orderBy: timestamp, orderDirection: desc) {
|
|
4
4
|
timestamp
|
|
@@ -9,4 +9,4 @@ import{gql as e}from"@apollo/client";var n=e;var s=(a=>(a.Day="day",a.Hour="hour
|
|
|
9
9
|
number
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
`,
|
|
12
|
+
`,i={possibleTypes:{}},o=i;export{e as Aggregation_Interval,s as Block_OrderBy,y as GetBlocksTimeStamp,p as OrderDirection,u as _SubgraphErrorPolicy_,o as default};
|
package/dist/dex/api.codegen.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var S=Object.defineProperty;var
|
|
1
|
+
"use strict";var S=Object.defineProperty;var at=Object.getOwnPropertyDescriptor;var et=Object.getOwnPropertyNames;var ot=Object.prototype.hasOwnProperty;var rt=(c,u)=>{for(var t in u)S(c,t,{get:u[t],enumerable:!0})},nt=(c,u,t,a)=>{if(u&&typeof u=="object"||typeof u=="function")for(let e of et(u))!ot.call(c,e)&&e!==t&&S(c,e,{get:()=>u[e],enumerable:!(a=at(u,e))||a.enumerable});return c};var lt=c=>nt(S({},"__esModule",{value:!0}),c);var dt={};rt(dt,{DynamicData:()=>m,GetGlobalLiquidityAndSwapVolume:()=>yt,GetPool:()=>ut,GetPoolEvents:()=>pt,GetPoolHistoricalData:()=>it,GetPools:()=>st,GetTokenCurrentPrices:()=>ct,GqlChain:()=>g,GqlContentNewsItemSource:()=>G,GqlPoolAddRemoveEventV3:()=>Z,GqlPoolAprItemType:()=>P,GqlPoolEventType:()=>b,GqlPoolEventsDataRange:()=>q,GqlPoolFilterCategory:()=>A,GqlPoolJoinExitType:()=>I,GqlPoolNestingType:()=>h,GqlPoolOrderBy:()=>_,GqlPoolOrderDirection:()=>D,GqlPoolSnapshotDataRange:()=>T,GqlPoolSwapEventCowAmm:()=>X,GqlPoolSwapEventV3:()=>j,GqlPoolType:()=>k,GqlRewardVaultIncentiveOrderBy:()=>M,GqlRewardVaultIncentiveOrderDirection:()=>B,GqlRewardVaultOrderBy:()=>v,GqlRewardVaultOrderDirection:()=>w,GqlRewardVaultSnapshotDataRange:()=>x,GqlRewardVaultSnapshotResolution:()=>V,GqlSWberaVaultMetadataResolution:()=>C,GqlSorSwapType:()=>R,GqlStakeBeraVaultEventType:()=>E,GqlTokenChartDataRange:()=>F,GqlTokenType:()=>f,GqlUserVaultDepositOrderBy:()=>U,GqlUserVaultDepositOrderDirection:()=>N,GqlValidatorBlockUptimeStatus:()=>L,GqlValidatorBoostOrderBy:()=>H,GqlValidatorBoostOrderDirection:()=>W,GqlValidatorOrderBy:()=>O,GqlValidatorOrderDirection:()=>Q,GqlVaultSnapshotDataRange:()=>Y,MinimalPool:()=>J,MinimalPoolInList:()=>K,PoolEvent:()=>tt,PoolHistoricalData:()=>z,RewardVault:()=>d,UserBalance:()=>$,default:()=>mt});module.exports=lt(dt);var r=require("@apollo/client"),g=(a=>(a.Bartio="BARTIO",a.Berachain="BERACHAIN",a.Cartio="CARTIO",a))(g||{}),G=(a=>(a.Discord="discord",a.Medium="medium",a.Twitter="twitter",a))(G||{}),P=(s=>(s.Aura="AURA",s.IbYield="IB_YIELD",s.Locking="LOCKING",s.MabeetsEmissions="MABEETS_EMISSIONS",s.Merkl="MERKL",s.Nested="NESTED",s.Staking="STAKING",s.StakingBoost="STAKING_BOOST",s.Surplus="SURPLUS",s.SwapFee="SWAP_FEE",s.VebalEmissions="VEBAL_EMISSIONS",s.Voting="VOTING",s))(P||{}),b=(a=>(a.Add="ADD",a.Remove="REMOVE",a.Swap="SWAP",a))(b||{}),q=(a=>(a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(q||{}),A=(i=>(i.BlackListed="BLACK_LISTED",i.Incentivized="INCENTIVIZED",i.Lrt="LRT",i.Points="POINTS",i.PointsEigenlayer="POINTS_EIGENLAYER",i.PointsGyro="POINTS_GYRO",i.PointsKelp="POINTS_KELP",i.PointsRenzo="POINTS_RENZO",i.PointsSwell="POINTS_SWELL",i.Superfest="SUPERFEST",i))(A||{}),I=(t=>(t.Exit="Exit",t.Join="Join",t))(I||{}),h=(a=>(a.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",a.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",a.NoNesting="NO_NESTING",a))(h||{}),_=(y=>(y.Apr="apr",y.BgtApr="bgtApr",y.Fees24h="fees24h",y.TotalLiquidity="totalLiquidity",y.TotalShares="totalShares",y.UserbalanceUsd="userbalanceUsd",y.Volume24h="volume24h",y))(_||{}),D=(t=>(t.Asc="asc",t.Desc="desc",t))(D||{}),T=(o=>(o.AllTime="ALL_TIME",o.NinetyDays="NINETY_DAYS",o.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",o.OneYear="ONE_YEAR",o.ThirtyDays="THIRTY_DAYS",o))(T||{}),k=(l=>(l.ComposableStable="COMPOSABLE_STABLE",l.CowAmm="COW_AMM",l.Element="ELEMENT",l.Fx="FX",l.Gyro="GYRO",l.Gyro3="GYRO3",l.Gyroe="GYROE",l.Investment="INVESTMENT",l.LiquidityBootstrapping="LIQUIDITY_BOOTSTRAPPING",l.MetaStable="META_STABLE",l.PhantomStable="PHANTOM_STABLE",l.Stable="STABLE",l.Unknown="UNKNOWN",l.Weighted="WEIGHTED",l))(k||{}),M=(a=>(a.AmountRemaining="amountRemaining",a.AmountRemainingUsd="amountRemainingUsd",a.IncentiveRate="incentiveRate",a))(M||{}),B=(t=>(t.Asc="asc",t.Desc="desc",t))(B||{}),v=(p=>(p.ActiveIncentivesRateUsd="activeIncentivesRateUsd",p.ActiveIncentivesValueUsd="activeIncentivesValueUsd",p.AllTimeBgtReceived="allTimeBGTReceived",p.Apr="apr",p.Apy="apy",p.BgtCapturePercentage="bgtCapturePercentage",p.Last24hBgtReceived="last24hBGTReceived",p.ProjectedApr="projectedApr",p))(v||{}),w=(t=>(t.Asc="asc",t.Desc="desc",t))(w||{}),x=(e=>(e.NinetyDays="NINETY_DAYS",e.SevenDays="SEVEN_DAYS",e.SixtyDays="SIXTY_DAYS",e.ThirtyDays="THIRTY_DAYS",e))(x||{}),V=(t=>(t.Day="DAY",t.Hour="HOUR",t))(V||{}),C=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(C||{}),R=(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(R||{}),E=(t=>(t.Deposit="DEPOSIT",t.WithdrawalCompleted="WITHDRAWAL_COMPLETED",t))(E||{}),F=(o=>(o.NinetyDay="NINETY_DAY",o.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",o.OneYear="ONE_YEAR",o.SevenDay="SEVEN_DAY",o.ThirtyDay="THIRTY_DAY",o))(F||{}),f=(a=>(a.Bpt="BPT",a.PhantomBpt="PHANTOM_BPT",a.WhiteListed="WHITE_LISTED",a))(f||{}),U=(u=>(u.Amount="amount",u))(U||{}),N=(t=>(t.Asc="asc",t.Desc="desc",t))(N||{}),L=(e=>(e.Inactive="INACTIVE",e.Offline="OFFLINE",e.Proposed="PROPOSED",e.Signed="SIGNED",e))(L||{}),H=(o=>(o.ActiveBoostAmount="activeBoostAmount",o.LatestBlock="latestBlock",o.LatestBlockTime="latestBlockTime",o.QueuedBoostAmount="queuedBoostAmount",o.QueuedDropBoostAmount="queuedDropBoostAmount",o))(H||{}),W=(t=>(t.Asc="asc",t.Desc="desc",t))(W||{}),O=(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))(O||{}),Q=(t=>(t.Asc="asc",t.Desc="desc",t))(Q||{}),Y=(e=>(e.NinetyDays="NINETY_DAYS",e.SevenDays="SEVEN_DAYS",e.SixtyDays="SIXTY_DAYS",e.ThirtyDays="THIRTY_DAYS",e))(Y||{}),m=r.gql`
|
|
2
2
|
fragment DynamicData on GqlPoolDynamicData {
|
|
3
3
|
totalShares
|
|
4
4
|
fees24h
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
id
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
|
|
16
|
+
`,$=r.gql`
|
|
17
17
|
fragment UserBalance on GqlPoolUserBalance {
|
|
18
18
|
totalBalanceUsd
|
|
19
19
|
walletBalance
|
|
20
20
|
walletBalanceUsd
|
|
21
21
|
}
|
|
22
|
-
`,d=r`
|
|
22
|
+
`,d=r.gql`
|
|
23
23
|
fragment RewardVault on GqlRewardVault {
|
|
24
24
|
dynamicData {
|
|
25
25
|
activeIncentivesValueUsd
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
vaultAddress
|
|
32
32
|
stakingTokenAddress
|
|
33
33
|
}
|
|
34
|
-
`,
|
|
34
|
+
`,K=r.gql`
|
|
35
35
|
fragment MinimalPoolInList on GqlPoolMinimal {
|
|
36
36
|
id
|
|
37
37
|
name
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
${m}
|
|
60
|
-
${
|
|
61
|
-
${d}`,
|
|
60
|
+
${$}
|
|
61
|
+
${d}`,J=r.gql`
|
|
62
62
|
fragment MinimalPool on GqlPoolBase {
|
|
63
63
|
id
|
|
64
64
|
name
|
|
@@ -86,7 +86,7 @@ ${d}`,z=r`
|
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
${m}
|
|
89
|
-
${d}`,
|
|
89
|
+
${d}`,z=r.gql`
|
|
90
90
|
fragment PoolHistoricalData on GqlPoolSnapshot {
|
|
91
91
|
id
|
|
92
92
|
volume24h
|
|
@@ -96,7 +96,7 @@ ${d}`,X=r`
|
|
|
96
96
|
fees24h
|
|
97
97
|
totalSwapFee
|
|
98
98
|
}
|
|
99
|
-
`,
|
|
99
|
+
`,X=r.gql`
|
|
100
100
|
fragment GqlPoolSwapEventCowAmm on GqlPoolSwapEventCowAmm {
|
|
101
101
|
tokenIn {
|
|
102
102
|
address
|
|
@@ -107,7 +107,7 @@ ${d}`,X=r`
|
|
|
107
107
|
amount
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
`,
|
|
110
|
+
`,j=r.gql`
|
|
111
111
|
fragment GqlPoolSwapEventV3 on GqlPoolSwapEventV3 {
|
|
112
112
|
tokenIn {
|
|
113
113
|
address
|
|
@@ -118,14 +118,14 @@ ${d}`,X=r`
|
|
|
118
118
|
amount
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
|
-
`,
|
|
121
|
+
`,Z=r.gql`
|
|
122
122
|
fragment GqlPoolAddRemoveEventV3 on GqlPoolAddRemoveEventV3 {
|
|
123
123
|
tokens {
|
|
124
124
|
address
|
|
125
125
|
amount
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
|
-
`,
|
|
128
|
+
`,tt=r.gql`
|
|
129
129
|
fragment PoolEvent on GqlPoolEvent {
|
|
130
130
|
id
|
|
131
131
|
valueUSD
|
|
@@ -137,9 +137,9 @@ ${d}`,X=r`
|
|
|
137
137
|
...GqlPoolSwapEventV3
|
|
138
138
|
...GqlPoolAddRemoveEventV3
|
|
139
139
|
}
|
|
140
|
-
${
|
|
141
|
-
${
|
|
142
|
-
${
|
|
140
|
+
${X}
|
|
141
|
+
${j}
|
|
142
|
+
${Z}`,st=r.gql`
|
|
143
143
|
query GetPools($textSearch: String, $first: Int, $userAddress: String, $chain: [GqlChain!]!, $orderBy: GqlPoolOrderBy, $skip: Int, $orderDirection: GqlPoolOrderDirection, $blacklistedPoolIds: [String!]) {
|
|
144
144
|
poolGetPools(
|
|
145
145
|
textSearch: $textSearch
|
|
@@ -156,19 +156,19 @@ ${tt}`,ut=r`
|
|
|
156
156
|
where: {userAddress: $userAddress, chainIn: $chain}
|
|
157
157
|
)
|
|
158
158
|
}
|
|
159
|
-
${
|
|
159
|
+
${K}`,ut=r.gql`
|
|
160
160
|
query GetPool($id: String!, $userAddress: String, $chain: GqlChain!) {
|
|
161
161
|
poolGetPool(id: $id, userAddress: $userAddress, chain: $chain) {
|
|
162
162
|
...MinimalPool
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
|
-
${
|
|
165
|
+
${J}`,it=r.gql`
|
|
166
166
|
query GetPoolHistoricalData($poolId: String!, $chain: GqlChain!) {
|
|
167
167
|
poolGetSnapshots(id: $poolId, range: NINETY_DAYS, chain: $chain) {
|
|
168
168
|
...PoolHistoricalData
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
|
-
${
|
|
171
|
+
${z}`,pt=r.gql`
|
|
172
172
|
query GetPoolEvents($poolId: String!, $typeIn: [GqlPoolEventType!]!, $chain: GqlChain!) {
|
|
173
173
|
poolGetEvents(
|
|
174
174
|
poolId: $poolId
|
|
@@ -179,7 +179,7 @@ ${tt}`,ut=r`
|
|
|
179
179
|
...PoolEvent
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
|
-
${
|
|
182
|
+
${tt}`,ct=r.gql`
|
|
183
183
|
query GetTokenCurrentPrices($chains: [GqlChain!]!, $addressIn: [String!]!) {
|
|
184
184
|
tokenGetCurrentPrices(chains: $chains, addressIn: $addressIn) {
|
|
185
185
|
address
|
|
@@ -189,11 +189,11 @@ ${tt}`,ut=r`
|
|
|
189
189
|
updatedBy
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
|
-
`,
|
|
192
|
+
`,yt=r.gql`
|
|
193
193
|
query GetGlobalLiquidityAndSwapVolume($chain: GqlChain!) {
|
|
194
194
|
protocolMetricsAggregated(chains: [$chain]) {
|
|
195
195
|
swapVolume24h
|
|
196
196
|
totalLiquidity
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
`,
|
|
199
|
+
`,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"]}},mt=St;0&&(module.exports={DynamicData,GetGlobalLiquidityAndSwapVolume,GetPool,GetPoolEvents,GetPoolHistoricalData,GetPools,GetTokenCurrentPrices,GqlChain,GqlContentNewsItemSource,GqlPoolAddRemoveEventV3,GqlPoolAprItemType,GqlPoolEventType,GqlPoolEventsDataRange,GqlPoolFilterCategory,GqlPoolJoinExitType,GqlPoolNestingType,GqlPoolOrderBy,GqlPoolOrderDirection,GqlPoolSnapshotDataRange,GqlPoolSwapEventCowAmm,GqlPoolSwapEventV3,GqlPoolType,GqlRewardVaultIncentiveOrderBy,GqlRewardVaultIncentiveOrderDirection,GqlRewardVaultOrderBy,GqlRewardVaultOrderDirection,GqlRewardVaultSnapshotDataRange,GqlRewardVaultSnapshotResolution,GqlSWberaVaultMetadataResolution,GqlSorSwapType,GqlStakeBeraVaultEventType,GqlTokenChartDataRange,GqlTokenType,GqlUserVaultDepositOrderBy,GqlUserVaultDepositOrderDirection,GqlValidatorBlockUptimeStatus,GqlValidatorBoostOrderBy,GqlValidatorBoostOrderDirection,GqlValidatorOrderBy,GqlValidatorOrderDirection,GqlVaultSnapshotDataRange,MinimalPool,MinimalPoolInList,PoolEvent,PoolHistoricalData,RewardVault,UserBalance});
|
package/dist/dex/api.codegen.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{gql as
|
|
1
|
+
import{gql as o}from"@apollo/client";var m=(a=>(a.Bartio="BARTIO",a.Berachain="BERACHAIN",a.Cartio="CARTIO",a))(m||{}),d=(a=>(a.Discord="discord",a.Medium="medium",a.Twitter="twitter",a))(d||{}),g=(s=>(s.Aura="AURA",s.IbYield="IB_YIELD",s.Locking="LOCKING",s.MabeetsEmissions="MABEETS_EMISSIONS",s.Merkl="MERKL",s.Nested="NESTED",s.Staking="STAKING",s.StakingBoost="STAKING_BOOST",s.Surplus="SURPLUS",s.SwapFee="SWAP_FEE",s.VebalEmissions="VEBAL_EMISSIONS",s.Voting="VOTING",s))(g||{}),G=(a=>(a.Add="ADD",a.Remove="REMOVE",a.Swap="SWAP",a))(G||{}),P=(a=>(a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(P||{}),b=(u=>(u.BlackListed="BLACK_LISTED",u.Incentivized="INCENTIVIZED",u.Lrt="LRT",u.Points="POINTS",u.PointsEigenlayer="POINTS_EIGENLAYER",u.PointsGyro="POINTS_GYRO",u.PointsKelp="POINTS_KELP",u.PointsRenzo="POINTS_RENZO",u.PointsSwell="POINTS_SWELL",u.Superfest="SUPERFEST",u))(b||{}),q=(t=>(t.Exit="Exit",t.Join="Join",t))(q||{}),A=(a=>(a.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",a.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",a.NoNesting="NO_NESTING",a))(A||{}),I=(p=>(p.Apr="apr",p.BgtApr="bgtApr",p.Fees24h="fees24h",p.TotalLiquidity="totalLiquidity",p.TotalShares="totalShares",p.UserbalanceUsd="userbalanceUsd",p.Volume24h="volume24h",p))(I||{}),h=(t=>(t.Asc="asc",t.Desc="desc",t))(h||{}),_=(e=>(e.AllTime="ALL_TIME",e.NinetyDays="NINETY_DAYS",e.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",e.OneYear="ONE_YEAR",e.ThirtyDays="THIRTY_DAYS",e))(_||{}),D=(l=>(l.ComposableStable="COMPOSABLE_STABLE",l.CowAmm="COW_AMM",l.Element="ELEMENT",l.Fx="FX",l.Gyro="GYRO",l.Gyro3="GYRO3",l.Gyroe="GYROE",l.Investment="INVESTMENT",l.LiquidityBootstrapping="LIQUIDITY_BOOTSTRAPPING",l.MetaStable="META_STABLE",l.PhantomStable="PHANTOM_STABLE",l.Stable="STABLE",l.Unknown="UNKNOWN",l.Weighted="WEIGHTED",l))(D||{}),T=(a=>(a.AmountRemaining="amountRemaining",a.AmountRemainingUsd="amountRemainingUsd",a.IncentiveRate="incentiveRate",a))(T||{}),k=(t=>(t.Asc="asc",t.Desc="desc",t))(k||{}),M=(i=>(i.ActiveIncentivesRateUsd="activeIncentivesRateUsd",i.ActiveIncentivesValueUsd="activeIncentivesValueUsd",i.AllTimeBgtReceived="allTimeBGTReceived",i.Apr="apr",i.Apy="apy",i.BgtCapturePercentage="bgtCapturePercentage",i.Last24hBgtReceived="last24hBGTReceived",i.ProjectedApr="projectedApr",i))(M||{}),B=(t=>(t.Asc="asc",t.Desc="desc",t))(B||{}),v=(n=>(n.NinetyDays="NINETY_DAYS",n.SevenDays="SEVEN_DAYS",n.SixtyDays="SIXTY_DAYS",n.ThirtyDays="THIRTY_DAYS",n))(v||{}),w=(t=>(t.Day="DAY",t.Hour="HOUR",t))(w||{}),x=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(x||{}),V=(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(V||{}),C=(t=>(t.Deposit="DEPOSIT",t.WithdrawalCompleted="WITHDRAWAL_COMPLETED",t))(C||{}),R=(e=>(e.NinetyDay="NINETY_DAY",e.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",e.OneYear="ONE_YEAR",e.SevenDay="SEVEN_DAY",e.ThirtyDay="THIRTY_DAY",e))(R||{}),E=(a=>(a.Bpt="BPT",a.PhantomBpt="PHANTOM_BPT",a.WhiteListed="WHITE_LISTED",a))(E||{}),F=(S=>(S.Amount="amount",S))(F||{}),f=(t=>(t.Asc="asc",t.Desc="desc",t))(f||{}),U=(n=>(n.Inactive="INACTIVE",n.Offline="OFFLINE",n.Proposed="PROPOSED",n.Signed="SIGNED",n))(U||{}),N=(e=>(e.ActiveBoostAmount="activeBoostAmount",e.LatestBlock="latestBlock",e.LatestBlockTime="latestBlockTime",e.QueuedBoostAmount="queuedBoostAmount",e.QueuedDropBoostAmount="queuedDropBoostAmount",e))(N||{}),L=(t=>(t.Asc="asc",t.Desc="desc",t))(L||{}),H=(r=>(r.ActiveBoostAmount="activeBoostAmount",r.AllTimeDistributedBgtAmount="allTimeDistributedBGTAmount",r.AllTimeEarnedBgtAmount="allTimeEarnedBGTAmount",r.Apy="apy",r.BgtCapturePercentage="bgtCapturePercentage",r.BoostApr="boostApr",r.CommissionOnIncentives="commissionOnIncentives",r.LastDayDistributedBgtAmount="lastDayDistributedBGTAmount",r.LastDayEarnedBgtAmount="lastDayEarnedBGTAmount",r.QueuedBoostAmount="queuedBoostAmount",r.QueuedDropBoostAmount="queuedDropBoostAmount",r.RewardRate="rewardRate",r.StakedBeraAmount="stakedBeraAmount",r.UsersActiveBoostCount="usersActiveBoostCount",r.UsersQueuedBoostCount="usersQueuedBoostCount",r))(H||{}),W=(t=>(t.Asc="asc",t.Desc="desc",t))(W||{}),O=(n=>(n.NinetyDays="NINETY_DAYS",n.SevenDays="SEVEN_DAYS",n.SixtyDays="SIXTY_DAYS",n.ThirtyDays="THIRTY_DAYS",n))(O||{}),c=o`
|
|
2
2
|
fragment DynamicData on GqlPoolDynamicData {
|
|
3
3
|
totalShares
|
|
4
4
|
fees24h
|
|
@@ -13,7 +13,7 @@ import{gql as m}from"@apollo/client";var o=m;var d=(a=>(a.Bartio="BARTIO",a.Bera
|
|
|
13
13
|
id
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
`,
|
|
16
|
+
`,Q=o`
|
|
17
17
|
fragment UserBalance on GqlPoolUserBalance {
|
|
18
18
|
totalBalanceUsd
|
|
19
19
|
walletBalance
|
|
@@ -31,7 +31,7 @@ import{gql as m}from"@apollo/client";var o=m;var d=(a=>(a.Bartio="BARTIO",a.Bera
|
|
|
31
31
|
vaultAddress
|
|
32
32
|
stakingTokenAddress
|
|
33
33
|
}
|
|
34
|
-
|
|
34
|
+
`,Y=o`
|
|
35
35
|
fragment MinimalPoolInList on GqlPoolMinimal {
|
|
36
36
|
id
|
|
37
37
|
name
|
|
@@ -57,8 +57,8 @@ import{gql as m}from"@apollo/client";var o=m;var d=(a=>(a.Bartio="BARTIO",a.Bera
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
${c}
|
|
60
|
-
${
|
|
61
|
-
${y}
|
|
60
|
+
${Q}
|
|
61
|
+
${y}`,$=o`
|
|
62
62
|
fragment MinimalPool on GqlPoolBase {
|
|
63
63
|
id
|
|
64
64
|
name
|
|
@@ -86,7 +86,7 @@ ${y}`,K=o`
|
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
${c}
|
|
89
|
-
${y}`,
|
|
89
|
+
${y}`,K=o`
|
|
90
90
|
fragment PoolHistoricalData on GqlPoolSnapshot {
|
|
91
91
|
id
|
|
92
92
|
volume24h
|
|
@@ -96,7 +96,7 @@ ${y}`,J=o`
|
|
|
96
96
|
fees24h
|
|
97
97
|
totalSwapFee
|
|
98
98
|
}
|
|
99
|
-
`,
|
|
99
|
+
`,J=o`
|
|
100
100
|
fragment GqlPoolSwapEventCowAmm on GqlPoolSwapEventCowAmm {
|
|
101
101
|
tokenIn {
|
|
102
102
|
address
|
|
@@ -107,7 +107,7 @@ ${y}`,J=o`
|
|
|
107
107
|
amount
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
`,
|
|
110
|
+
`,z=o`
|
|
111
111
|
fragment GqlPoolSwapEventV3 on GqlPoolSwapEventV3 {
|
|
112
112
|
tokenIn {
|
|
113
113
|
address
|
|
@@ -118,14 +118,14 @@ ${y}`,J=o`
|
|
|
118
118
|
amount
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
|
-
`,
|
|
121
|
+
`,X=o`
|
|
122
122
|
fragment GqlPoolAddRemoveEventV3 on GqlPoolAddRemoveEventV3 {
|
|
123
123
|
tokens {
|
|
124
124
|
address
|
|
125
125
|
amount
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
|
-
`,
|
|
128
|
+
`,j=o`
|
|
129
129
|
fragment PoolEvent on GqlPoolEvent {
|
|
130
130
|
id
|
|
131
131
|
valueUSD
|
|
@@ -137,9 +137,9 @@ ${y}`,J=o`
|
|
|
137
137
|
...GqlPoolSwapEventV3
|
|
138
138
|
...GqlPoolAddRemoveEventV3
|
|
139
139
|
}
|
|
140
|
-
${
|
|
141
|
-
${
|
|
142
|
-
${
|
|
140
|
+
${J}
|
|
141
|
+
${z}
|
|
142
|
+
${X}`,at=o`
|
|
143
143
|
query GetPools($textSearch: String, $first: Int, $userAddress: String, $chain: [GqlChain!]!, $orderBy: GqlPoolOrderBy, $skip: Int, $orderDirection: GqlPoolOrderDirection, $blacklistedPoolIds: [String!]) {
|
|
144
144
|
poolGetPools(
|
|
145
145
|
textSearch: $textSearch
|
|
@@ -156,19 +156,19 @@ ${j}`,rt=o`
|
|
|
156
156
|
where: {userAddress: $userAddress, chainIn: $chain}
|
|
157
157
|
)
|
|
158
158
|
}
|
|
159
|
-
${
|
|
159
|
+
${Y}`,et=o`
|
|
160
160
|
query GetPool($id: String!, $userAddress: String, $chain: GqlChain!) {
|
|
161
161
|
poolGetPool(id: $id, userAddress: $userAddress, chain: $chain) {
|
|
162
162
|
...MinimalPool
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
|
-
${
|
|
165
|
+
${$}`,ot=o`
|
|
166
166
|
query GetPoolHistoricalData($poolId: String!, $chain: GqlChain!) {
|
|
167
167
|
poolGetSnapshots(id: $poolId, range: NINETY_DAYS, chain: $chain) {
|
|
168
168
|
...PoolHistoricalData
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
|
-
${
|
|
171
|
+
${K}`,rt=o`
|
|
172
172
|
query GetPoolEvents($poolId: String!, $typeIn: [GqlPoolEventType!]!, $chain: GqlChain!) {
|
|
173
173
|
poolGetEvents(
|
|
174
174
|
poolId: $poolId
|
|
@@ -179,7 +179,7 @@ ${j}`,rt=o`
|
|
|
179
179
|
...PoolEvent
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
|
-
${
|
|
182
|
+
${j}`,nt=o`
|
|
183
183
|
query GetTokenCurrentPrices($chains: [GqlChain!]!, $addressIn: [String!]!) {
|
|
184
184
|
tokenGetCurrentPrices(chains: $chains, addressIn: $addressIn) {
|
|
185
185
|
address
|
|
@@ -189,11 +189,11 @@ ${j}`,rt=o`
|
|
|
189
189
|
updatedBy
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
|
-
`,
|
|
192
|
+
`,lt=o`
|
|
193
193
|
query GetGlobalLiquidityAndSwapVolume($chain: GqlChain!) {
|
|
194
194
|
protocolMetricsAggregated(chains: [$chain]) {
|
|
195
195
|
swapVolume24h
|
|
196
196
|
totalLiquidity
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
`,
|
|
199
|
+
`,Z={possibleTypes:{GqlPoolAprValue:["GqlPoolAprRange","GqlPoolAprTotal"],GqlPoolBase:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"],GqlPoolEvent:["GqlPoolAddRemoveEventV3","GqlPoolSwapEventCowAmm","GqlPoolSwapEventV3"],GqlPoolFeaturedPoolGroupItem:["GqlFeaturePoolGroupItemExternalLink","GqlPoolMinimal"],GqlPoolNestedUnion:["GqlPoolComposableStableNested"],GqlPoolTokenBase:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolTokenComposableStableNestedUnion:["GqlPoolToken"],GqlPoolTokenUnion:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolUnion:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"]}},st=Z;export{c as DynamicData,lt as GetGlobalLiquidityAndSwapVolume,et as GetPool,rt as GetPoolEvents,ot as GetPoolHistoricalData,at as GetPools,nt as GetTokenCurrentPrices,m as GqlChain,d as GqlContentNewsItemSource,X as GqlPoolAddRemoveEventV3,g as GqlPoolAprItemType,G as GqlPoolEventType,P as GqlPoolEventsDataRange,b as GqlPoolFilterCategory,q as GqlPoolJoinExitType,A as GqlPoolNestingType,I as GqlPoolOrderBy,h as GqlPoolOrderDirection,_ as GqlPoolSnapshotDataRange,J as GqlPoolSwapEventCowAmm,z as GqlPoolSwapEventV3,D as GqlPoolType,T as GqlRewardVaultIncentiveOrderBy,k as GqlRewardVaultIncentiveOrderDirection,M as GqlRewardVaultOrderBy,B as GqlRewardVaultOrderDirection,v as GqlRewardVaultSnapshotDataRange,w as GqlRewardVaultSnapshotResolution,x as GqlSWberaVaultMetadataResolution,V as GqlSorSwapType,C as GqlStakeBeraVaultEventType,R as GqlTokenChartDataRange,E as GqlTokenType,F as GqlUserVaultDepositOrderBy,f as GqlUserVaultDepositOrderDirection,U as GqlValidatorBlockUptimeStatus,N as GqlValidatorBoostOrderBy,L as GqlValidatorBoostOrderDirection,H as GqlValidatorOrderBy,W as GqlValidatorOrderDirection,O as GqlVaultSnapshotDataRange,$ as MinimalPool,Y as MinimalPoolInList,j as PoolEvent,K as PoolHistoricalData,y as RewardVault,Q as UserBalance,st as default};
|