Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion modules/bitgo/test/v2/unit/keychains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
);
Expand Down
4 changes: 2 additions & 2 deletions modules/sdk-core/src/bitgo/environments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down Expand Up @@ -472,7 +472,7 @@ const testnetBase: EnvironmentTemplate = {
dogeos: {
baseUrl: 'https://blockscout.testnet.dogeos.com',
},
arc: {
arcusdc: {
baseUrl: 'https://testnet.arcscan.app/api/v2',
},
xdc: {
Expand Down
16 changes: 8 additions & 8 deletions modules/statics/src/allCoinsAndTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions modules/statics/src/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down Expand Up @@ -708,7 +708,7 @@ export enum UnderlyingAsset {
APPC = 'appc',
APT = 'apt',
AQT = 'aqt',
ARC = 'arc',
ARCUSDC = 'arcusdc',
ARCT = 'arct',
ARCX = 'arcx',
ARKM = 'arkm',
Expand Down
11 changes: 9 additions & 2 deletions modules/statics/src/coins/ofcCoins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion modules/statics/src/map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export class CoinMap {
1952: 'tokb',
5734951: 'jovayeth',
2019775: 'tjovayeth',
5042002: 'tarc',
5042002: 'tarcusdc',
42428: 'tempo',
42429: 'ttempo',
5000: 'mantle',
Expand Down
16 changes: 8 additions & 8 deletions modules/statics/src/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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()),
Expand Down Expand Up @@ -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()),
Expand Down
4 changes: 2 additions & 2 deletions modules/statics/test/unit/fixtures/expectedColdFeatures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const expectedColdFeatures = {
'ada',
'apechain',
'apt',
'arc',
'arcusdc',
'asi',
'atom',
'baby',
Expand Down Expand Up @@ -140,7 +140,7 @@ export const expectedColdFeatures = {
'tatom',
'tapechain',
'tapt',
'tarc',
'tarcusdc',
'tbaby',
'tbera',
'tbaseeth',
Expand Down