Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more assets #1293

Merged
merged 6 commits into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ REACT_APP_SCROLL_ORIGINS_NFT="0x90a274D591d5AB1a25f0DD0F06F28533C34D7d9f"
REACT_APP_SCROLL_ORIGINS_NFT_V2="0xDd7d857F570B0C211abfe05cd914A85BefEC2464"
REACT_APP_L1_MESSAGE_QUEUE_WITH_GAS_PRICE_ORACLE="0xF0B2293F5D834eAe920c6974D50957A1732de763"
REACT_APP_L1_BATCH_BRIDGE_GATEWAY_PROXY_ADDR = "0xE86ad3312FA693aDeD34dEc3899176d97ac883B2"
REACT_APP_OPEN_BLOCK_URI = "https://5x6x869ic0.execute-api.us-east-1.amazonaws.com"
REACT_APP_OPEN_BLOCK_URI = "http://obl-data-gateway-dev-568660380.us-east-1.elb.amazonaws.com:8000"

REACT_APP_EAS_ADDRESS="0xaEF4103A04090071165F78D45D83A0C0782c2B2a"
REACT_APP_BADGE_SCHEMA="0xa35b5470ebb301aa5d309a8ee6ea258cad680ea112c86e456d5f2254448afc74"
Expand Down Expand Up @@ -220,7 +220,7 @@ REACT_APP_SCROLL_ORIGINS_NFT="0x90a274D591d5AB1a25f0DD0F06F28533C34D7d9f"
REACT_APP_SCROLL_ORIGINS_NFT_V2="0xDd7d857F570B0C211abfe05cd914A85BefEC2464"
REACT_APP_L1_MESSAGE_QUEUE_WITH_GAS_PRICE_ORACLE="0xF0B2293F5D834eAe920c6974D50957A1732de763"
REACT_APP_L1_BATCH_BRIDGE_GATEWAY_PROXY_ADDR = "0xE86ad3312FA693aDeD34dEc3899176d97ac883B2"
REACT_APP_OPEN_BLOCK_URI = "https://5x6x869ic0.execute-api.us-east-1.amazonaws.com"
REACT_APP_OPEN_BLOCK_URI = "http://obl-data-gateway-dev-568660380.us-east-1.elb.amazonaws.com:8000"

REACT_APP_EAS_ADDRESS="0xaEF4103A04090071165F78D45D83A0C0782c2B2a"
REACT_APP_BADGE_SCHEMA="0xa35b5470ebb301aa5d309a8ee6ea258cad680ea112c86e456d5f2254448afc74"
Expand Down Expand Up @@ -276,7 +276,7 @@ REACT_APP_SCROLL_ORIGINS_NFT="0x74670A3998d9d6622E32D0847fF5977c37E0eC91"
REACT_APP_SCROLL_ORIGINS_NFT_V2="0x42bCaCb8D24Ba588cab8Db0BB737DD2eFca408EC"
REACT_APP_L1_MESSAGE_QUEUE_WITH_GAS_PRICE_ORACLE="0x0d7E906BD9cAFa154b048cFa766Cc1E54E39AF9B"
REACT_APP_L1_BATCH_BRIDGE_GATEWAY_PROXY_ADDR = "0x5Bcfd99c34cf7E06fc756f6f5aE7400504852bc4"
REACT_APP_OPEN_BLOCK_URI = "https://kx58j6x5me.execute-api.us-east-1.amazonaws.com"
REACT_APP_OPEN_BLOCK_URI = "https://www.data-openblocklabs.com"

REACT_APP_EAS_ADDRESS="0xC47300428b6AD2c7D03BB76D05A176058b47E6B0"
REACT_APP_BADGE_SCHEMA="0xd57de4f41c3d3cc855eadef68f98c0d4edd22d57161d96b7c06d2f4336cc3b49"
Expand Down
9 changes: 9 additions & 0 deletions public/imgs/sessions/tokens/Huma.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/imgs/sessions/tokens/Mitosis.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions public/imgs/sessions/tokens/sUSDe.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion src/pages/bridge/Send/SendTransaction/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ const SendTransaction = props => {
}, [tokenList, fromNetwork])

const selectedToken: any = useMemo(
() => tokenOptions.find(item => item.symbol === tokenSymbol) ?? NATIVE_TOKEN_LIST.find(item => item.chainId === fromNetwork.chainId),
() =>
tokenOptions.find(item => item.symbol.toLowerCase() === tokenSymbol.toLowerCase()) ??
NATIVE_TOKEN_LIST.find(item => item.chainId === fromNetwork.chainId),
[tokenOptions, tokenSymbol, fromNetwork],
)
// const { balance, isLoading: balanceLoading } = useBalance(selectedToken.address)
Expand Down
39 changes: 34 additions & 5 deletions src/pages/sessions-one/SessionOneMarks/projectList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ export const defaultProjectList = {
name: "Nuri",
project: "Nuri",
},
{
name: "Maverick",
project: "Maverick",
},
{
name: "Vessel",
project: "Vessel",
},
{
name: "Others",
project: "Others",
Expand All @@ -24,14 +32,14 @@ export const defaultProjectList = {
name: "SyncSwap",
project: "SyncSwap",
},
{
name: "Wombat",
project: "Wombat",
},
{
name: "Zebra",
project: "Zebra",
},
{
name: "Wombat",
project: "Wombat",
},
],
},
],
Expand All @@ -40,7 +48,10 @@ export const defaultProjectList = {
name: "Aave",
project: "Aave",
},

{
name: "Huma",
project: "Huma",
},
{
name: "Rho Markets",
project: "Rho Markets",
Expand Down Expand Up @@ -157,6 +168,24 @@ const PROJECT_LIST = [
// logo: "/imgs/canvas/ScrollCanvas.svg",
// website: "/canvas",
// },
{
name: "Vessel",
key: "Vessel",
logo: "https://scroll-eco-list.netlify.app/logos/Vessel.jpg",
website: "https://vessel.finance/",
},
{
name: "Maverick",
key: "Maverick",
logo: "https://scroll-eco-list.netlify.app/logos/Maverick%20Protocol.jpg",
website: "https://app.mav.xyz/add-liquidity?chain=534352",
},
{
name: "Huma",
key: "Huma",
logo: "/imgs/sessions/tokens/Huma.svg",
website: "https://app.huma.finance/#/",
},
]

export const PROJECT_MAP = new Proxy(PROJECT_LIST, {
Expand Down
28 changes: 28 additions & 0 deletions src/pages/sessions-one/SessionZeroMarks/tokenList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,24 @@ export const tokenList = [
logoURI: "https://scroll-tech.github.io/token-list/data/USDT/logo.svg",
address: "0xf55BEC9cafDbE8730f096Aa55dad6D22d44099Df",
},
{
name: "sUSDe / USDe",
symbol: "sUSDe",
key: "sUSDe",
logoURI: "/imgs/sessions/tokens/sUSDe.svg",
additionalToken: "USDe",
thirdPartyBridge: {
url: "https://stargate.finance/bridge",
name: "Stargate",
},
},
{
name: "pufETH",
symbol: "pufETH",
key: "pufETH",
logoURI: "https://scroll-tech.github.io/token-list/data/PufETH/logo.svg",
address: "0xc4d46E8402F476F269c379677C99F18E22Ea030e",
},
{
name: "weETH",
symbol: "weETH",
Expand Down Expand Up @@ -126,6 +144,16 @@ export const tokenList = [
name: "Pencils",
},
},
{
name: "Assets on Mitosis",
key: "MITOSIS",
logoURI: "/imgs/sessions/tokens/Mitosis.png",
containedTokens: [{ logoURI: "/imgs/sessions/tokens/weETH.png", symbol: "weETH" }],
thirdPartyBridge: {
url: "https://app.mitosis.org/?asset=weETH&type=deposit&to=scroll",
name: "Mitosis",
},
},
]

export const gasList = [
Expand Down