diff --git a/projects/sdk/src/defaultSettings.json b/projects/sdk/src/defaultSettings.json index 8b9174003c..15dd8ff3aa 100644 --- a/projects/sdk/src/defaultSettings.json +++ b/projects/sdk/src/defaultSettings.json @@ -1,3 +1,3 @@ { - "subgraphUrl": "https://graph.node.bean.money/subgraphs/name/beanstalk-2-1-0" + "subgraphUrl": "https://graph.node.bean.money/subgraphs/name/beanstalk-dev" } diff --git a/projects/ui/codegen-individual.yml b/projects/ui/codegen-individual.yml index fa43b9092f..acb58ffb19 100644 --- a/projects/ui/codegen-individual.yml +++ b/projects/ui/codegen-individual.yml @@ -5,14 +5,14 @@ overwrite: true generates: ./src/graph/schema-beanstalk.graphql: schema: - - https://graph.node.bean.money/subgraphs/name/beanstalk - plugins: - - "schema-ast" - ./src/graph/schema-bean.graphql: - schema: - - https://graph.node.bean.money/subgraphs/name/bean + - https://graph.node.bean.money/subgraphs/name/beanstalk-dev plugins: - "schema-ast" + #./src/graph/schema-bean.graphql: + # schema: + # - https://graph.node.bean.money/subgraphs/name/bean + # plugins: + # - "schema-ast" ./src/graph/schema-snapshot1.graphql: schema: - https://hub.snapshot.org/graphql diff --git a/projects/ui/src/components/Silo/SiloAssetApyChip.tsx b/projects/ui/src/components/Silo/SiloAssetApyChip.tsx index 5152bfc659..07b4e03c86 100644 --- a/projects/ui/src/components/Silo/SiloAssetApyChip.tsx +++ b/projects/ui/src/components/Silo/SiloAssetApyChip.tsx @@ -53,14 +53,14 @@ const SiloAssetApyChip: FC = ({ title={ {metric === 'bean' && ( - + Total Beans per Season - + {/* 24H {latestYield @@ -81,8 +81,8 @@ const SiloAssetApyChip: FC = ({ ) : '0'} - - + */} + 30D {latestYield @@ -95,7 +95,7 @@ const SiloAssetApyChip: FC = ({ - 24-hour/7-day/30-day exponential moving average of Beans + 30-day exponential moving average of Beans earned by all Stalkholders per Season. @@ -142,11 +142,12 @@ const SiloAssetApyChip: FC = ({ '& .MuiChip-label': { overflow: 'visible', }, + maxWidth: '120%' }} label={ = ({ vAPY:{' '} )} - {metric === 'bean' ? ( + {/* metric === 'bean' ? ( <> = ({ | - ) : null} + ) : null */} - vAPY 24H - + vAPY 30D + {/* | 7D | - 30D + 30D */} } onClick={undefined} diff --git a/projects/ui/src/graph/endpoints.ts b/projects/ui/src/graph/endpoints.ts index 970ec28598..faf15049a8 100644 --- a/projects/ui/src/graph/endpoints.ts +++ b/projects/ui/src/graph/endpoints.ts @@ -19,7 +19,7 @@ export const SUBGRAPH_ENVIRONMENTS: Record = { [SGEnvironments.BF_PROD]: { name: 'Beanstalk Farms / Production', subgraphs: { - beanstalk: 'https://graph.node.bean.money/subgraphs/name/beanstalk', + beanstalk: 'https://graph.node.bean.money/subgraphs/name/beanstalk-dev', bean: 'https://graph.node.bean.money/subgraphs/name/bean', beanft: 'https://graph.node.bean.money/subgraphs/name/beanft', }, diff --git a/projects/ui/src/hooks/beanstalk/useFertilizerYieldData.ts b/projects/ui/src/hooks/beanstalk/useFertilizerYieldData.ts index 6dc873a56f..19fa0bca6c 100644 --- a/projects/ui/src/hooks/beanstalk/useFertilizerYieldData.ts +++ b/projects/ui/src/hooks/beanstalk/useFertilizerYieldData.ts @@ -14,7 +14,7 @@ export default function useFertilizerYieldData() { previousData, refetch, } = useFertilizerYieldQuery({ - variables: { season: season.toString() }, + variables: { season: `${season.toString()}-720` }, fetchPolicy: 'network-only', notifyOnNetworkStatusChange: true, });