diff --git a/modules/bitgo/test/v2/unit/keychains.ts b/modules/bitgo/test/v2/unit/keychains.ts index f957fba088..82890e0975 100644 --- a/modules/bitgo/test/v2/unit/keychains.ts +++ b/modules/bitgo/test/v2/unit/keychains.ts @@ -107,7 +107,7 @@ describe('V2 Keychains', function () { n.asset !== UnderlyingAsset.MORPH && n.asset !== UnderlyingAsset.DOGEOS && n.asset !== UnderlyingAsset.MEGAETH && - n.asset !== UnderlyingAsset.ARC && + n.asset !== UnderlyingAsset.ARCUSDC && n.asset !== UnderlyingAsset.ZKSYNCERA && coinFamilyValues.includes(n.name) ); diff --git a/modules/sdk-core/src/bitgo/environments.ts b/modules/sdk-core/src/bitgo/environments.ts index 3a5a1a82c6..ac50fa48ef 100644 --- a/modules/sdk-core/src/bitgo/environments.ts +++ b/modules/sdk-core/src/bitgo/environments.ts @@ -300,7 +300,7 @@ const mainnetBase: EnvironmentTemplate = { dogeos: { baseUrl: 'https://blockscout.testnet.dogeos.com', //TODO: WIN-8082 => add mainnet url when available }, - arc: { + arcusdc: { baseUrl: 'https://testnet.arcscan.app/api/v2', // WIN-8039 => add mainnet url when available }, xdc: { @@ -472,7 +472,7 @@ const testnetBase: EnvironmentTemplate = { dogeos: { baseUrl: 'https://blockscout.testnet.dogeos.com', }, - arc: { + arcusdc: { baseUrl: 'https://testnet.arcscan.app/api/v2', }, xdc: { diff --git a/modules/statics/src/allCoinsAndTokens.ts b/modules/statics/src/allCoinsAndTokens.ts index b03ec16706..b48e84af56 100644 --- a/modules/statics/src/allCoinsAndTokens.ts +++ b/modules/statics/src/allCoinsAndTokens.ts @@ -2631,11 +2631,11 @@ export const allCoinsAndTokens = [ ), account( 'cf06d1ea-f7c4-4a26-95fd-f71983eba58f', - 'tarc', - 'Arc Testnet', - Networks.test.arc, + 'tarcusdc', + 'USDC (ARC) Testnet', + Networks.test.arcusdc, 18, - UnderlyingAsset.ARC, + UnderlyingAsset.ARCUSDC, BaseUnit.ETH, [ ...EVM_FEATURES, @@ -2650,11 +2650,11 @@ export const allCoinsAndTokens = [ ), account( '733c4da8-52f7-4f9f-a7dc-897c81453fee', - 'arc', - 'Arc', - Networks.main.arc, + 'arcusdc', + 'USDC (ARC)', + Networks.main.arcusdc, 18, - UnderlyingAsset.ARC, + UnderlyingAsset.ARCUSDC, BaseUnit.ETH, [ ...EVM_FEATURES, diff --git a/modules/statics/src/base.ts b/modules/statics/src/base.ts index 0437312edc..961b1a0c62 100644 --- a/modules/statics/src/base.ts +++ b/modules/statics/src/base.ts @@ -126,7 +126,7 @@ export enum CoinFamily { SOMI = 'somi', // Somnia Chain FLUENTETH = 'fluenteth', MORPH = 'morph', - ARC = 'arc', // ARC network + ARCUSDC = 'arcusdc', // ARC network TEMPO = 'tempo', // Tempo Network } @@ -708,7 +708,7 @@ export enum UnderlyingAsset { APPC = 'appc', APT = 'apt', AQT = 'aqt', - ARC = 'arc', + ARCUSDC = 'arcusdc', ARCT = 'arct', ARCX = 'arcx', ARKM = 'arkm', diff --git a/modules/statics/src/coins/ofcCoins.ts b/modules/statics/src/coins/ofcCoins.ts index bef8449091..fe92f4d335 100644 --- a/modules/statics/src/coins/ofcCoins.ts +++ b/modules/statics/src/coins/ofcCoins.ts @@ -3823,8 +3823,15 @@ export const ofcCoins = [ 6, UnderlyingAsset['tsui:deep'] ), - ofc('d45636f8-f120-4374-b717-70fe999baa43', 'ofcarc', 'Arc', 18, UnderlyingAsset.ARC, CoinKind.CRYPTO), - tofc('bc57e64d-045e-4421-aa92-64db0c51e1d7', 'ofctarc', 'Arc Testnet', 18, UnderlyingAsset.ARC, CoinKind.CRYPTO), + ofc('d45636f8-f120-4374-b717-70fe999baa43', 'ofcarcusdc', 'USDC (ARC)', 18, UnderlyingAsset.ARCUSDC, CoinKind.CRYPTO), + tofc( + 'bc57e64d-045e-4421-aa92-64db0c51e1d7', + 'ofctarcusdc', + 'USDC (ARC) Testnet', + 18, + UnderlyingAsset.ARCUSDC, + CoinKind.CRYPTO + ), // New BSC OFC token ofcBscToken('b4200c85-f550-44d6-a6cb-a590f19773b0', 'ofcbsc:sto', 'StakeStone', 18, UnderlyingAsset['bsc:sto']), // New Arbitrum OFC token diff --git a/modules/statics/src/map.ts b/modules/statics/src/map.ts index e72f31c592..aa73fcb46d 100644 --- a/modules/statics/src/map.ts +++ b/modules/statics/src/map.ts @@ -162,7 +162,7 @@ export class CoinMap { 1952: 'tokb', 5734951: 'jovayeth', 2019775: 'tjovayeth', - 5042002: 'tarc', + 5042002: 'tarcusdc', 42428: 'tempo', 42429: 'ttempo', 5000: 'mantle', diff --git a/modules/statics/src/networks.ts b/modules/statics/src/networks.ts index 52242dbe6b..a0b9e28586 100644 --- a/modules/statics/src/networks.ts +++ b/modules/statics/src/networks.ts @@ -2274,18 +2274,18 @@ class DogeosTestnet extends Testnet implements EthereumNetwork { nativeCoinOperationHashPrefix = '6281971'; } -class ArcTestnet extends Testnet implements EthereumNetwork { - name = 'Arc Testnet'; - family = CoinFamily.ARC; +class ArcUSDCTestnet extends Testnet implements EthereumNetwork { + name = 'USDC (ARC) Testnet'; + family = CoinFamily.ARCUSDC; explorerUrl = 'https://testnet.arcscan.app/txs/'; accountExplorerUrl = 'https://testnet.arcscan.app/address/'; chainId = 5042002; nativeCoinOperationHashPrefix = '5042002'; } -class Arc extends Mainnet implements EthereumNetwork { - name = 'Arc'; - family = CoinFamily.ARC; +class ArcUSDC extends Mainnet implements EthereumNetwork { + name = 'USDC (ARC)'; + family = CoinFamily.ARCUSDC; explorerUrl = 'https://testnet.arcscan.app/txs/'; // change to prod explorer url accountExplorerUrl = 'https://testnet.arcscan.app/address/'; // change to prod explorer url when available chainId = 5042002; // change to prod chain id when available @@ -2319,7 +2319,7 @@ export const Networks = { apechain: Object.freeze(new ApeChain()), apt: Object.freeze(new Apt()), arbitrum: Object.freeze(new Arbitrum()), - arc: Object.freeze(new Arc()), + arcusdc: Object.freeze(new ArcUSDC()), asi: Object.freeze(new Asi()), atom: Object.freeze(new Atom()), avalancheC: Object.freeze(new AvalancheC()), @@ -2428,7 +2428,7 @@ export const Networks = { apechain: Object.freeze(new ApeChainTestnet()), apt: Object.freeze(new AptTestnet()), arbitrum: Object.freeze(new ArbitrumTestnet()), - arc: Object.freeze(new ArcTestnet()), + arcusdc: Object.freeze(new ArcUSDCTestnet()), asi: Object.freeze(new AsiTestnet()), atom: Object.freeze(new AtomTestnet()), avalancheC: Object.freeze(new AvalancheCTestnet()), diff --git a/modules/statics/test/unit/fixtures/expectedColdFeatures.ts b/modules/statics/test/unit/fixtures/expectedColdFeatures.ts index 4f6960ce44..febae620d4 100644 --- a/modules/statics/test/unit/fixtures/expectedColdFeatures.ts +++ b/modules/statics/test/unit/fixtures/expectedColdFeatures.ts @@ -74,7 +74,7 @@ export const expectedColdFeatures = { 'ada', 'apechain', 'apt', - 'arc', + 'arcusdc', 'asi', 'atom', 'baby', @@ -140,7 +140,7 @@ export const expectedColdFeatures = { 'tatom', 'tapechain', 'tapt', - 'tarc', + 'tarcusdc', 'tbaby', 'tbera', 'tbaseeth',