Skip to content

Commit 594783b

Browse files
authored
Merge pull request #7897 from BitGo/WIN-8039-coin-changes
refactor: changed the symbol and name for arc coin TICKET: WIN-8039
2 parents dbe6273 + 66b46db commit 594783b

8 files changed

Lines changed: 33 additions & 26 deletions

File tree

modules/bitgo/test/v2/unit/keychains.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ describe('V2 Keychains', function () {
107107
n.asset !== UnderlyingAsset.MORPH &&
108108
n.asset !== UnderlyingAsset.DOGEOS &&
109109
n.asset !== UnderlyingAsset.MEGAETH &&
110-
n.asset !== UnderlyingAsset.ARC &&
110+
n.asset !== UnderlyingAsset.ARCUSDC &&
111111
n.asset !== UnderlyingAsset.ZKSYNCERA &&
112112
coinFamilyValues.includes(n.name)
113113
);

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: {
@@ -472,7 +472,7 @@ const testnetBase: EnvironmentTemplate = {
472472
dogeos: {
473473
baseUrl: 'https://blockscout.testnet.dogeos.com',
474474
},
475-
arc: {
475+
arcusdc: {
476476
baseUrl: 'https://testnet.arcscan.app/api/v2',
477477
},
478478
xdc: {

modules/statics/src/allCoinsAndTokens.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2631,11 +2631,11 @@ export const allCoinsAndTokens = [
26312631
),
26322632
account(
26332633
'cf06d1ea-f7c4-4a26-95fd-f71983eba58f',
2634-
'tarc',
2635-
'Arc Testnet',
2636-
Networks.test.arc,
2634+
'tarcusdc',
2635+
'USDC (ARC) Testnet',
2636+
Networks.test.arcusdc,
26372637
18,
2638-
UnderlyingAsset.ARC,
2638+
UnderlyingAsset.ARCUSDC,
26392639
BaseUnit.ETH,
26402640
[
26412641
...EVM_FEATURES,
@@ -2650,11 +2650,11 @@ export const allCoinsAndTokens = [
26502650
),
26512651
account(
26522652
'733c4da8-52f7-4f9f-a7dc-897c81453fee',
2653-
'arc',
2654-
'Arc',
2655-
Networks.main.arc,
2653+
'arcusdc',
2654+
'USDC (ARC)',
2655+
Networks.main.arcusdc,
26562656
18,
2657-
UnderlyingAsset.ARC,
2657+
UnderlyingAsset.ARCUSDC,
26582658
BaseUnit.ETH,
26592659
[
26602660
...EVM_FEATURES,

modules/statics/src/base.ts

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

@@ -708,7 +708,7 @@ export enum UnderlyingAsset {
708708
APPC = 'appc',
709709
APT = 'apt',
710710
AQT = 'aqt',
711-
ARC = 'arc',
711+
ARCUSDC = 'arcusdc',
712712
ARCT = 'arct',
713713
ARCX = 'arcx',
714714
ARKM = 'arkm',

modules/statics/src/coins/ofcCoins.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3823,8 +3823,15 @@ export const ofcCoins = [
38233823
6,
38243824
UnderlyingAsset['tsui:deep']
38253825
),
3826-
ofc('d45636f8-f120-4374-b717-70fe999baa43', 'ofcarc', 'Arc', 18, UnderlyingAsset.ARC, CoinKind.CRYPTO),
3827-
tofc('bc57e64d-045e-4421-aa92-64db0c51e1d7', 'ofctarc', 'Arc Testnet', 18, UnderlyingAsset.ARC, CoinKind.CRYPTO),
3826+
ofc('d45636f8-f120-4374-b717-70fe999baa43', 'ofcarcusdc', 'USDC (ARC)', 18, UnderlyingAsset.ARCUSDC, CoinKind.CRYPTO),
3827+
tofc(
3828+
'bc57e64d-045e-4421-aa92-64db0c51e1d7',
3829+
'ofctarcusdc',
3830+
'USDC (ARC) Testnet',
3831+
18,
3832+
UnderlyingAsset.ARCUSDC,
3833+
CoinKind.CRYPTO
3834+
),
38283835
// New BSC OFC token
38293836
ofcBscToken('b4200c85-f550-44d6-a6cb-a590f19773b0', 'ofcbsc:sto', 'StakeStone', 18, UnderlyingAsset['bsc:sto']),
38303837
// New Arbitrum OFC token

modules/statics/src/map.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export class CoinMap {
162162
1952: 'tokb',
163163
5734951: 'jovayeth',
164164
2019775: 'tjovayeth',
165-
5042002: 'tarc',
165+
5042002: 'tarcusdc',
166166
42428: 'tempo',
167167
42429: 'ttempo',
168168
5000: 'mantle',

modules/statics/src/networks.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2274,18 +2274,18 @@ class DogeosTestnet extends Testnet implements EthereumNetwork {
22742274
nativeCoinOperationHashPrefix = '6281971';
22752275
}
22762276

2277-
class ArcTestnet extends Testnet implements EthereumNetwork {
2278-
name = 'Arc Testnet';
2279-
family = CoinFamily.ARC;
2277+
class ArcUSDCTestnet extends Testnet implements EthereumNetwork {
2278+
name = 'USDC (ARC) Testnet';
2279+
family = CoinFamily.ARCUSDC;
22802280
explorerUrl = 'https://testnet.arcscan.app/txs/';
22812281
accountExplorerUrl = 'https://testnet.arcscan.app/address/';
22822282
chainId = 5042002;
22832283
nativeCoinOperationHashPrefix = '5042002';
22842284
}
22852285

2286-
class Arc extends Mainnet implements EthereumNetwork {
2287-
name = 'Arc';
2288-
family = CoinFamily.ARC;
2286+
class ArcUSDC extends Mainnet implements EthereumNetwork {
2287+
name = 'USDC (ARC)';
2288+
family = CoinFamily.ARCUSDC;
22892289
explorerUrl = 'https://testnet.arcscan.app/txs/'; // change to prod explorer url
22902290
accountExplorerUrl = 'https://testnet.arcscan.app/address/'; // change to prod explorer url when available
22912291
chainId = 5042002; // change to prod chain id when available
@@ -2319,7 +2319,7 @@ export const Networks = {
23192319
apechain: Object.freeze(new ApeChain()),
23202320
apt: Object.freeze(new Apt()),
23212321
arbitrum: Object.freeze(new Arbitrum()),
2322-
arc: Object.freeze(new Arc()),
2322+
arcusdc: Object.freeze(new ArcUSDC()),
23232323
asi: Object.freeze(new Asi()),
23242324
atom: Object.freeze(new Atom()),
23252325
avalancheC: Object.freeze(new AvalancheC()),
@@ -2428,7 +2428,7 @@ export const Networks = {
24282428
apechain: Object.freeze(new ApeChainTestnet()),
24292429
apt: Object.freeze(new AptTestnet()),
24302430
arbitrum: Object.freeze(new ArbitrumTestnet()),
2431-
arc: Object.freeze(new ArcTestnet()),
2431+
arcusdc: Object.freeze(new ArcUSDCTestnet()),
24322432
asi: Object.freeze(new AsiTestnet()),
24332433
atom: Object.freeze(new AtomTestnet()),
24342434
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
@@ -74,7 +74,7 @@ export const expectedColdFeatures = {
7474
'ada',
7575
'apechain',
7676
'apt',
77-
'arc',
77+
'arcusdc',
7878
'asi',
7979
'atom',
8080
'baby',
@@ -140,7 +140,7 @@ export const expectedColdFeatures = {
140140
'tatom',
141141
'tapechain',
142142
'tapt',
143-
'tarc',
143+
'tarcusdc',
144144
'tbaby',
145145
'tbera',
146146
'tbaseeth',

0 commit comments

Comments
 (0)