Skip to content

Commit

Permalink
change oracle to minting whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
hellofromguy committed Dec 14, 2023
1 parent 778972d commit 46eb5d1
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion projects/ui/src/components/Analytics/Bean/DeltaB.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const formatValue = (value: number) =>
`${value.toLocaleString('en-us', { maximumFractionDigits: 2 })}`;
const statProps = {
title: 'deltaB',
titleTooltip: 'The liquidity and time weighted average shortage of Beans in liquidity pools on the Oracle Whitelist at the beginning of every Season.',
titleTooltip: 'The liquidity and time weighted average shortage of Beans in liquidity pools on the Minting Whitelist at the beginning of every Season.',
gap: 0.25,
};

Expand Down
2 changes: 1 addition & 1 deletion projects/ui/src/components/Analytics/Bean/Liquidity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const formatValue = (value: number) =>
`$${value.toLocaleString('en-US', { maximumFractionDigits: 0 })}`;
const statProps = {
title: 'Liquidity',
titleTooltip: 'The total USD value of tokens in liquidity pools on the Oracle Whitelist at the beginning of every Season. Pre-exploit values include liquidity in pools on the Deposit Whitelist.',
titleTooltip: 'The total USD value of tokens in liquidity pools on the Minting Whitelist at the beginning of every Season. Pre-exploit values include liquidity in pools on the Deposit Whitelist.',
gap: 0.25,
};
const queryConfig = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const formatValue = (value: number) =>
const statProps = {
title: 'Liquidity to Supply Ratio',
titleTooltip:
`The ratio of Beans in liquidity pools on the Oracle Whitelist per Bean, displayed as a percentage, at the beginning of every Season. The Liquidity to Supply Ratio is a useful indicator of Beanstalk's health. Pre-exploit values include liquidity in pools on the Deposit Whitelist.`,
`The ratio of Beans in liquidity pools on the Minting Whitelist per Bean, displayed as a percentage, at the beginning of every Season. The Liquidity to Supply Ratio is a useful indicator of Beanstalk's health. Pre-exploit values include liquidity in pools on the Deposit Whitelist.`,
gap: 0.25,
};
const queryConfig = {
Expand Down
2 changes: 1 addition & 1 deletion projects/ui/src/components/Analytics/Bean/Volume.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const formatValue = (value: number) =>
`$${value.toLocaleString('en-US', { maximumFractionDigits: 0 })}`;
const statProps = {
title: 'Volume',
titleTooltip: 'The total USD volume in liquidity pools on the Oracle Whitelist every Season.',
titleTooltip: 'The total USD volume in liquidity pools on the Minting Whitelist every Season.',
gap: 0.25,
};
const queryConfig = { context: { subgraph: 'bean' } };
Expand Down
2 changes: 1 addition & 1 deletion projects/ui/src/components/Analytics/Bean/VolumeChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const VolumeChart: FC<{ width?: number; height: number }> = ({
>
<ChartInfoOverlay
title="Volume"
titleTooltip="The total USD volume in liquidity pools on the Oracle Whitelist every Season."
titleTooltip="The total USD volume in liquidity pools on the Minting Whitelist every Season."
gap={0.25}
isLoading={queryData?.loading}
amount={formatValue(currentHoverBar?.count ?? 0)}
Expand Down
2 changes: 1 addition & 1 deletion projects/ui/src/components/Forecast/LiquidityOverTime.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const formatValue = (value: number) => (
);
const StatProps = {
title: 'Liquidity',
titleTooltip: 'The total USD value of tokens in liquidity pools on the Oracle Whitelist at the beginning of every Season. Pre-exploit values include liquidity in pools on the Deposit Whitelist.',
titleTooltip: 'The total USD value of tokens in liquidity pools on the Minting Whitelist at the beginning of every Season. Pre-exploit values include liquidity in pools on the Deposit Whitelist.',
gap: 0.25,
color: 'primary',
sx: { ml: 0 },
Expand Down
6 changes: 3 additions & 3 deletions projects/ui/src/constants/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export const BEAN_ETH_UNIV2_LP = {
18,
{
name: 'BEAN:ETH LP',
symbol: 'OLD BEANETH',
symbol: 'Old BEANETH',
logo: beanEthLpLogoUrl,
displayDecimals: 9,
isLP: true,
Expand All @@ -253,7 +253,7 @@ export const BEAN_LUSD_LP = {
18,
{
name: 'BEAN:LUSD LP',
symbol: 'OLD BEANLUSD',
symbol: 'Old BEANLUSD',
logo: beanLusdLogoUrl,
isLP: true,
},
Expand Down Expand Up @@ -313,7 +313,7 @@ export const BEAN_CRV3_V1_LP = {
6,
{
name: 'BEAN:CRV3 V1 LP',
symbol: 'OLD BEAN3CRV',
symbol: 'Old BEAN3CRV',
logo: beanCrv3LpLogoUrl,
isLP: true,
color: '#DFB385',
Expand Down
4 changes: 2 additions & 2 deletions projects/ui/src/hooks/beanstalk/usePeg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const RDUpper = new BigNumber(POD_RATE_UPPER_BOUND / 100);
const beanSupply = (
// The award for successfully calling the sunrise() function for t;
a_t: BigNumber,
// The sum of liquidity and time weighted average shortages or excesss of Beans across liquidity pools on the Oracle Whitelist over the previous Season;
// The sum of liquidity and time weighted average shortages or excesss of Beans across liquidity pools on the Minting Whitelist over the previous Season;
ΔB_t1: BigNumber,
// The total Unfertilized Sprouts;
𝒟: BigNumber,
Expand All @@ -45,7 +45,7 @@ const soilSupply = (
h_t: BigNumber,
// The Pod Rate at the end of the previous Season;
RD_t1: BigNumber,
// bean.deltaB: The sum of liquidity and time weighted average shortages or excesss of Beans across liquidity pools on the Oracle Whitelist over the previous Season;
// bean.deltaB: The sum of liquidity and time weighted average shortages or excesss of Beans across liquidity pools on the Minting Whitelist over the previous Season;
ΔB_t1: BigNumber
) => {
let x: number;
Expand Down

0 comments on commit 46eb5d1

Please sign in to comment.