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 support for EURe on Gnosis #172

Merged
merged 2 commits into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
1 change: 1 addition & 0 deletions public/icons/tokens/eure.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions src/ui-config/reservePatches.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export const SYMBOL_NAME_MAP: { [key: string]: string } = {
ZRX: '0x Coin',
'1INCH': '1inch Network',
LUSD: 'LUSD Stablecoin',
EURE: 'Monerium EURO',
};

export function fetchIconSymbolAndName({
Expand Down Expand Up @@ -104,6 +105,15 @@ export function fetchIconSymbolAndName({
) {
return { iconSymbol: 'UST', name: 'UST (Wormhole)', symbol };
}
if (name === 'USD//C on xDai') {
return { iconSymbol: 'USDC', name: 'Bridged Circle USD', symbol };
}
if (name === 'Tether USD on xDai ') {
return { iconSymbol: 'USDT', name: 'Bridged Tether USD', symbol };
}
if (name === 'Savings xDai') {
return { iconSymbol: 'sDAI', name: 'Savings DAI', symbol };
}

const unifiedSymbol = SYMBOL_MAP[symbol] || symbol;
return {
Expand Down
Loading