Skip to content

Commit

Permalink
chore(repo): remove aws token logo links from repo Refs BFE-453
Browse files Browse the repository at this point in the history
  • Loading branch information
BrownBrownBear committed Jan 9, 2025
1 parent 7736de4 commit 1c8e7e6
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 37 deletions.
6 changes: 0 additions & 6 deletions apps/honey/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,6 @@ export const config = {
port: "",
pathname: "/coins/images/**",
},
{
protocol: "https",
hostname: "artio-static-asset-public.s3.ap-southeast-1.amazonaws.com",
port: "",
pathname: "/assets/**",
},
],
},
output: process.env.NEXT_PUBLIC_HOST === "ipfs" ? "export" : undefined,
Expand Down
6 changes: 0 additions & 6 deletions apps/hub/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,6 @@ const config = {
port: "",
pathname: "/coins/images/**",
},
{
protocol: "https",
hostname: "artio-static-asset-public.s3.ap-southeast-1.amazonaws.com",
port: "",
pathname: "/assets/**",
},
],
},
};
Expand Down
6 changes: 0 additions & 6 deletions apps/lend/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,6 @@ const config = {
port: "",
pathname: "/coins/images/**",
},
{
protocol: "https",
hostname: "artio-static-asset-public.s3.ap-southeast-1.amazonaws.com",
port: "",
pathname: "/assets/**",
},
],
},
output: process.env.NEXT_PUBLIC_HOST === "ipfs" ? "export" : undefined,
Expand Down
5 changes: 2 additions & 3 deletions apps/lend/src/app/dashboard/user-deposits.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import { usePollWalletBalances, type BalanceToken } from "@bera/berajs";
import { aHoneyTokenAddress } from "@bera/config";
import { aHoneyTokenAddress, cloudinaryUrl } from "@bera/config";
import { FormattedNumber, TokenIcon, Tooltip } from "@bera/shared-ui";
import { Badge } from "@bera/ui/badge";
import { Card } from "@bera/ui/card";
Expand All @@ -13,8 +13,7 @@ export default function UserDeposits() {
address: "0x8Ce5C1c42CD58B7aE61512790e514a82d84375Ed" as `0x${string}`,
decimals: 18,
symbol: "WETH",
logoURI:
"https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/eth.png",
logoURI: `${cloudinaryUrl}/src/assets/eth.png`,
name: "wrapped ether atoken (deprecated)",
};

Expand Down
6 changes: 0 additions & 6 deletions apps/perp/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,6 @@ const config = {
port: "",
pathname: "/coins/images/**",
},
{
protocol: "https",
hostname: "artio-static-asset-public.s3.ap-southeast-1.amazonaws.com",
port: "",
pathname: "/assets/**",
},
],
},
trailingSlash: true,
Expand Down
9 changes: 6 additions & 3 deletions packages/berajs/src/utils/tokenWrapping.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import { beraTokenAddress, nativeTokenAddress } from "@bera/config";
import {
beraTokenAddress,
cloudinaryUrl,
nativeTokenAddress,
} from "@bera/config";

// FIXME: this import is not possible in beraJS, we could move this into hub but we need it here too...
// import { wBeraToken } from "@bera/wagmi";
Expand All @@ -8,8 +12,7 @@ export const wBeraToken: any = {
decimals: 18,
name: "WBera",
symbol: "WBERA",
logoURI:
"https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/wbera.png",
logoURI: `${cloudinaryUrl}/src/assets/wbera.png`,
};

type BaseToken = {
Expand Down
5 changes: 2 additions & 3 deletions packages/wagmi/src/constants/beraToken.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
// import { Token } from "@bera/berajs";
import { nativeTokenAddress } from "@bera/config";
import { cloudinaryUrl, nativeTokenAddress } from "@bera/config";

export const beraToken: any = {
address: nativeTokenAddress,
decimals: 18,
name: "Bera",
symbol: "BERA",
logoURI:
"https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/bera.png",
logoURI: `${cloudinaryUrl}/src/assets/bera.png`,
};
5 changes: 2 additions & 3 deletions packages/wagmi/src/constants/wberaToken.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
// import { type Token } from "@bera/berajs";
import { beraTokenAddress } from "@bera/config";
import { beraTokenAddress, cloudinaryUrl } from "@bera/config";

export const wBeraToken: any = {
address: beraTokenAddress,
decimals: 18,
name: "WBera",
symbol: "WBERA",
logoURI:
"https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/wbera.png",
logoURI: `${cloudinaryUrl}/src/assets/wbera.png`,
};
2 changes: 1 addition & 1 deletion secrets

0 comments on commit 1c8e7e6

Please sign in to comment.