Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
marshall2112 committed Jan 2, 2025
1 parent a9d289c commit 3c3f2a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/dapp/src/components/Pages/Core/NewUI/HomeInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ const TickerImages: Record<TICKER_SYMBOL, string> = {
ETH: ethImg,
WETH: wethImg,
DAI: daiImg,
USDS: daiImg, // TODO: Replace with USDS image
FRAX: fraxImg,
USDC: usdcImg,
USDT: usdtImg,
Expand Down
4 changes: 3 additions & 1 deletion apps/dapp/src/providers/WalletProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const INITIAL_STATE: WalletState = {
USDC: ZERO,
USDT: ZERO,
DAI: ZERO,
USDS: ZERO,
ETH: ZERO,
WETH: ZERO,
TEMPLE: ZERO,
Expand Down Expand Up @@ -101,6 +102,7 @@ export const WalletProvider = (props: PropsWithChildren<object>) => {
USDC: ZERO,
USDT: ZERO,
DAI: ZERO,
USDS: ZERO,
WETH: ZERO,
OHM: ZERO,
TGLD: ZERO,
Expand Down Expand Up @@ -139,7 +141,7 @@ export const WalletProvider = (props: PropsWithChildren<object>) => {
if (env.contracts.dai) {
const daiContract = new ERC20__factory(signer).attach(env.contracts.dai);
const daiBalance: BigNumber = await daiContract.balanceOf(walletAddress);
response = { ...response, DAI: daiBalance };
response = { ...response, DAI: daiBalance, USDS: daiBalance };
}

if (env.contracts.weth) {
Expand Down

0 comments on commit 3c3f2a3

Please sign in to comment.