Skip to content

Commit ff7ce72

Browse files
authored
Merge pull request #2224 from oasisprotocol/csillag/replace-euroe-with-eurau
Replace the EUROe token with EURAU
2 parents af60ad2 + 01209db commit ff7ce72

File tree

6 files changed

+17
-16
lines changed

6 files changed

+17
-16
lines changed

.changelog/2224.trivial.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Replace the EUROe token with EURAU

src/app/components/logo/SmallTokenLogo.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ export const SmallTokenLogo: FC<{ ticker: Ticker }> = ({ ticker }) => {
66
switch (ticker) {
77
case Ticker.ROSE:
88
return <SmallOasisLogo />
9-
case Ticker.EUROe:
10-
return <img src="https://assets.oasis.io/explorer-tokens/euroe.png" width={25} alt={ticker} />
9+
case Ticker.EURAU:
10+
return <img src="https://assets.oasis.io/explorer-tokens/EURAU.webp" width={25} alt={ticker} />
1111
default:
1212
return null
1313
}

src/app/pages/SearchResultsPage/__tests__/SearchResultsList.test.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ describe('SearchResultsView', () => {
4343
isFree: true,
4444
hasUsedCoinGecko: false,
4545
},
46-
[Ticker.EUROe]: {
47-
ticker: Ticker.EUROe,
46+
[Ticker.EURAU]: {
47+
ticker: Ticker.EURAU,
4848
isLoading: false,
4949
hasFailed: false,
5050
isFree: false,
@@ -95,8 +95,8 @@ describe('SearchResultsView', () => {
9595
isFree: true,
9696
hasUsedCoinGecko: false,
9797
},
98-
[Ticker.EUROe]: {
99-
ticker: Ticker.EUROe,
98+
[Ticker.EURAU]: {
99+
ticker: Ticker.EURAU,
100100
isLoading: false,
101101
hasFailed: false,
102102
isFree: false,

src/app/utils/faucet-links.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@ export const getFaucetInfo = (
5252
},
5353
},
5454
pontusxdev: {
55-
[Ticker.EUROe]: {
55+
[Ticker.EURAU]: {
5656
url: 'https://portal.pontus-x.eu/faucet',
5757
description: t('pontusx.testTokens.description'),
5858
title: t('pontusx.testTokens.header'),
5959
label: t('pontusx.testTokens.request'),
6060
},
6161
},
6262
pontusxtest: {
63-
[Ticker.EUROe]: {
63+
[Ticker.EURAU]: {
6464
url: 'https://portal.pontus-x.eu/faucet',
6565
description: t('pontusx.testTokens.description'),
6666
title: t('pontusx.testTokens.header'),

src/config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,13 +138,13 @@ const pontusxDevConfig: LayerConfig = {
138138
address: undefined,
139139
blockGasLimit: undefined,
140140
runtimeId: undefined,
141-
tokens: [NativeToken.EUROe],
141+
tokens: [NativeToken.EURAU],
142142
},
143143
testnet: {
144144
address: 'oasis1qr02702pr8ecjuff2z3es254pw9xl6z2yg9qcc6c',
145145
blockGasLimit: 15_000_000,
146146
runtimeId: '0000000000000000000000000000000000000000000000004febe52eb412b421',
147-
tokens: [NativeToken.EUROe, NativeToken.TEST],
147+
tokens: [NativeToken.EURAU, NativeToken.TEST],
148148
fiatCurrency: 'eur',
149149
},
150150
decimals: 18,
@@ -156,13 +156,13 @@ const pontusxTestConfig: LayerConfig = {
156156
address: undefined,
157157
blockGasLimit: undefined,
158158
runtimeId: undefined,
159-
tokens: [NativeToken.EUROe],
159+
tokens: [NativeToken.EURAU],
160160
},
161161
testnet: {
162162
address: 'oasis1qrg6c89655pmdxeel08qkngs02jnrfll5v9c508v',
163163
blockGasLimit: 15_000_000,
164164
runtimeId: '00000000000000000000000000000000000000000000000004a6f9071c007069',
165-
tokens: [NativeToken.EUROe, NativeToken.TEST],
165+
tokens: [NativeToken.EURAU, NativeToken.TEST],
166166
fiatCurrency: 'eur',
167167
},
168168
decimals: 18,

src/types/ticker.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export type Ticker = (typeof Ticker)[keyof typeof Ticker]
44
export const Ticker = {
55
ROSE: 'ROSE',
66
TEST: 'TEST',
7-
EUROe: 'EUROe',
7+
EURAU: 'EURAU',
88
} as const
99

1010
export type NativeTokenInfo = {
@@ -22,8 +22,8 @@ export const NativeToken = {
2222
ticker: Ticker.TEST,
2323
free: true,
2424
},
25-
EUROe: {
26-
ticker: Ticker.EUROe,
27-
geckoId: 'euroe-stablecoin',
25+
EURAU: {
26+
ticker: Ticker.EURAU,
27+
geckoId: 'allunity-eur',
2828
},
2929
} as const

0 commit comments

Comments
 (0)