Skip to content

Commit c20c0cc

Browse files
committed
refactor: changed the symbol and name for arc coin TICKET: WIN-8039
1 parent b32a426 commit c20c0cc

6 files changed

Lines changed: 31 additions & 24 deletions

File tree

modules/sdk-core/src/bitgo/environments.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ const mainnetBase: EnvironmentTemplate = {
300300
dogeos: {
301301
baseUrl: 'https://blockscout.testnet.dogeos.com', //TODO: WIN-8082 => add mainnet url when available
302302
},
303-
arc: {
303+
arcusdc: {
304304
baseUrl: 'https://testnet.arcscan.app/api/v2', // WIN-8039 => add mainnet url when available
305305
},
306306
xdc: {
@@ -469,7 +469,7 @@ const testnetBase: EnvironmentTemplate = {
469469
dogeos: {
470470
baseUrl: 'https://blockscout.testnet.dogeos.com',
471471
},
472-
arc: {
472+
arcusdc: {
473473
baseUrl: 'https://testnet.arcscan.app/api/v2',
474474
},
475475
xdc: {

modules/statics/src/allCoinsAndTokens.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2610,11 +2610,11 @@ export const allCoinsAndTokens = [
26102610
),
26112611
account(
26122612
'cf06d1ea-f7c4-4a26-95fd-f71983eba58f',
2613-
'tarc',
2614-
'Arc Testnet',
2615-
Networks.test.arc,
2613+
'tarcusdc',
2614+
'USDC (ARC) Testnet',
2615+
Networks.test.arcusdc,
26162616
18,
2617-
UnderlyingAsset.ARC,
2617+
UnderlyingAsset.ARCUSDC,
26182618
BaseUnit.ETH,
26192619
[
26202620
...EVM_FEATURES,
@@ -2629,11 +2629,11 @@ export const allCoinsAndTokens = [
26292629
),
26302630
account(
26312631
'733c4da8-52f7-4f9f-a7dc-897c81453fee',
2632-
'arc',
2633-
'Arc',
2634-
Networks.main.arc,
2632+
'arcusdc',
2633+
'USDC (ARC)',
2634+
Networks.main.arcusdc,
26352635
18,
2636-
UnderlyingAsset.ARC,
2636+
UnderlyingAsset.ARCUSDC,
26372637
BaseUnit.ETH,
26382638
[
26392639
...EVM_FEATURES,

modules/statics/src/base.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export enum CoinFamily {
125125
SOMI = 'somi', // Somnia Chain
126126
FLUENTETH = 'fluenteth',
127127
MORPH = 'morph',
128-
ARC = 'arc', // ARC network
128+
ARCUSDC = 'arcusdc', // ARC network
129129
TEMPO = 'tempo', // Tempo Network
130130
}
131131

@@ -706,7 +706,7 @@ export enum UnderlyingAsset {
706706
APPC = 'appc',
707707
APT = 'apt',
708708
AQT = 'aqt',
709-
ARC = 'arc',
709+
ARCUSDC = 'arcusdc',
710710
ARCT = 'arct',
711711
ARCX = 'arcx',
712712
ARKM = 'arkm',

modules/statics/src/coins/ofcCoins.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3807,8 +3807,15 @@ export const ofcCoins = [
38073807
6,
38083808
UnderlyingAsset['tsui:deep']
38093809
),
3810-
ofc('d45636f8-f120-4374-b717-70fe999baa43', 'ofcarc', 'Arc', 18, UnderlyingAsset.ARC, CoinKind.CRYPTO),
3811-
tofc('bc57e64d-045e-4421-aa92-64db0c51e1d7', 'ofctarc', 'Arc Testnet', 18, UnderlyingAsset.ARC, CoinKind.CRYPTO),
3810+
ofc('d45636f8-f120-4374-b717-70fe999baa43', 'ofcarcusdc', 'USDC (ARC)', 18, UnderlyingAsset.ARCUSDC, CoinKind.CRYPTO),
3811+
tofc(
3812+
'bc57e64d-045e-4421-aa92-64db0c51e1d7',
3813+
'ofctarcusdc',
3814+
'USDC (ARC) Testnet',
3815+
18,
3816+
UnderlyingAsset.ARCUSDC,
3817+
CoinKind.CRYPTO
3818+
),
38123819
// New BSC OFC token
38133820
ofcBscToken('b4200c85-f550-44d6-a6cb-a590f19773b0', 'ofcbsc:sto', 'StakeStone', 18, UnderlyingAsset['bsc:sto']),
38143821
// New Arbitrum OFC token

modules/statics/src/networks.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2248,18 +2248,18 @@ class DogeosTestnet extends Testnet implements EthereumNetwork {
22482248
nativeCoinOperationHashPrefix = '6281971';
22492249
}
22502250

2251-
class ArcTestnet extends Testnet implements EthereumNetwork {
2252-
name = 'Arc Testnet';
2253-
family = CoinFamily.ARC;
2251+
class ArcUSDCTestnet extends Testnet implements EthereumNetwork {
2252+
name = 'USDC (ARC) Testnet';
2253+
family = CoinFamily.ARCUSDC;
22542254
explorerUrl = 'https://testnet.arcscan.app/txs/';
22552255
accountExplorerUrl = 'https://testnet.arcscan.app/address/';
22562256
chainId = 5042002;
22572257
nativeCoinOperationHashPrefix = '5042002';
22582258
}
22592259

2260-
class Arc extends Mainnet implements EthereumNetwork {
2261-
name = 'Arc';
2262-
family = CoinFamily.ARC;
2260+
class ArcUSDC extends Mainnet implements EthereumNetwork {
2261+
name = 'USDC (ARC)';
2262+
family = CoinFamily.ARCUSDC;
22632263
explorerUrl = 'https://testnet.arcscan.app/txs/'; // change to prod explorer url
22642264
accountExplorerUrl = 'https://testnet.arcscan.app/address/'; // change to prod explorer url when available
22652265
chainId = 5042002; // change to prod chain id when available
@@ -2293,7 +2293,7 @@ export const Networks = {
22932293
apechain: Object.freeze(new ApeChain()),
22942294
apt: Object.freeze(new Apt()),
22952295
arbitrum: Object.freeze(new Arbitrum()),
2296-
arc: Object.freeze(new Arc()),
2296+
arcusdc: Object.freeze(new ArcUSDC()),
22972297
asi: Object.freeze(new Asi()),
22982298
atom: Object.freeze(new Atom()),
22992299
avalancheC: Object.freeze(new AvalancheC()),
@@ -2401,7 +2401,7 @@ export const Networks = {
24012401
apechain: Object.freeze(new ApeChainTestnet()),
24022402
apt: Object.freeze(new AptTestnet()),
24032403
arbitrum: Object.freeze(new ArbitrumTestnet()),
2404-
arc: Object.freeze(new ArcTestnet()),
2404+
arcusdc: Object.freeze(new ArcUSDCTestnet()),
24052405
asi: Object.freeze(new AsiTestnet()),
24062406
atom: Object.freeze(new AtomTestnet()),
24072407
avalancheC: Object.freeze(new AvalancheCTestnet()),

modules/statics/test/unit/fixtures/expectedColdFeatures.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export const expectedColdFeatures = {
7272
'ada',
7373
'apechain',
7474
'apt',
75-
'arc',
75+
'arcusdc',
7676
'asi',
7777
'atom',
7878
'baby',
@@ -138,7 +138,7 @@ export const expectedColdFeatures = {
138138
'tatom',
139139
'tapechain',
140140
'tapt',
141-
'tarc',
141+
'tarcusdc',
142142
'tbaby',
143143
'tbera',
144144
'tbaseeth',

0 commit comments

Comments
 (0)