Skip to content

Commit

Permalink
Merge pull request #4368 from BitGo/WIN-2494--onboard-arb-op-token
Browse files Browse the repository at this point in the history
chore(statics): onboard arb and op token
  • Loading branch information
gianchandania authored Mar 27, 2024
2 parents 4b6738b + a0670cc commit 6ead0fd
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 8 deletions.
4 changes: 2 additions & 2 deletions modules/sdk-coin-arbeth/test/unit/arbeth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ describe('Arbitrum', function () {
arbeth.should.be.an.instanceof(Arbeth);
arbeth.getChain().should.equal('arbeth');
arbeth.getFamily().should.equal('arbeth');
arbeth.getFullName().should.equal('Arbitrum Ethereum');
arbeth.getFullName().should.equal('Arbitrum Ethereum (L2 Chain)');
arbeth.getBaseFactor().should.equal(1e18);
});

Expand All @@ -114,7 +114,7 @@ describe('Arbitrum', function () {
tarbeth.should.be.an.instanceof(Tarbeth);
tarbeth.getChain().should.equal('tarbeth');
tarbeth.getFamily().should.equal('arbeth');
tarbeth.getFullName().should.equal('Testnet Arbitrum Ethereum');
tarbeth.getFullName().should.equal('Testnet Arbitrum Ethereum (L2 Chain)');
tarbeth.getBaseFactor().should.equal(1e18);
});
});
Expand Down
4 changes: 2 additions & 2 deletions modules/sdk-coin-opeth/test/unit/opeth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ describe('Optimism', function () {
opeth.should.be.an.instanceof(Opeth);
opeth.getChain().should.equal('opeth');
opeth.getFamily().should.equal('opeth');
opeth.getFullName().should.equal('Optimism Ethereum');
opeth.getFullName().should.equal('Optimism Ethereum (L2 Chain)');
opeth.getBaseFactor().should.equal(1e18);
});

Expand All @@ -110,7 +110,7 @@ describe('Optimism', function () {
topeth.should.be.an.instanceof(Topeth);
topeth.getChain().should.equal('topeth');
topeth.getFamily().should.equal('opeth');
topeth.getFullName().should.equal('Testnet Optimism Ethereum');
topeth.getFullName().should.equal('Testnet Optimism Ethereum (L2 Chain)');
topeth.getBaseFactor().should.equal(1e18);
});
});
Expand Down
2 changes: 2 additions & 0 deletions modules/statics/src/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1762,6 +1762,7 @@ export enum UnderlyingAsset {
'arbeth:usdc' = 'arbeth:usdc',
'arbeth:usdcv2' = 'arbeth:usdcv2',
'arbeth:usdt' = 'arbeth:usdt',
'arbeth:arb' = 'arbeth:arb',

// Arbitrum testnet tokens
'tarbeth:link' = 'tarbeth:link',
Expand All @@ -1771,6 +1772,7 @@ export enum UnderlyingAsset {
'opeth:usdc' = 'opeth:usdc',
'opeth:usdcv2' = 'opeth:usdcv2',
'opeth:usdt' = 'opeth:usdt',
'opeth:op' = 'opeth:op',

// Optimism testnet tokens
'topeth:terc18dp' = 'topeth:terc18dp',
Expand Down
24 changes: 20 additions & 4 deletions modules/statics/src/coins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1197,7 +1197,7 @@ export const coins = CoinMap.fromCoins([
account(
'020b57ce-bff0-4e25-95ce-0f3a94086db4',
'arbeth',
'Arbitrum Ethereum',
'Arbitrum Ethereum (L2 Chain)',
Networks.main.arbitrum,
18,
UnderlyingAsset.ARBETH,
Expand All @@ -1207,7 +1207,7 @@ export const coins = CoinMap.fromCoins([
account(
'1c51d919-9a1a-48b6-ac6d-ec3c593af949',
'tarbeth',
'Testnet Arbitrum Ethereum',
'Testnet Arbitrum Ethereum (L2 Chain)',
Networks.test.arbitrum,
18,
UnderlyingAsset.ARBETH,
Expand All @@ -1217,7 +1217,7 @@ export const coins = CoinMap.fromCoins([
account(
'1d1cd251-88e1-4d0a-81a9-3e080de8757b',
'opeth',
'Optimism Ethereum',
'Optimism Ethereum (L2 Chain)',
Networks.main.optimism,
18,
UnderlyingAsset.OPETH,
Expand All @@ -1227,7 +1227,7 @@ export const coins = CoinMap.fromCoins([
account(
'efe943c4-1144-44d2-ae34-acdbe469cfcd',
'topeth',
'Testnet Optimism Ethereum',
'Testnet Optimism Ethereum (L2 Chain)',
Networks.test.optimism,
18,
UnderlyingAsset.OPETH,
Expand Down Expand Up @@ -14615,6 +14615,14 @@ export const coins = CoinMap.fromCoins([
'0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9',
UnderlyingAsset['arbeth:usdt']
),
arbethErc20(
'7dfbdd2b-efd6-45ab-90bd-9c3bc16d1397',
'arbeth:arb',
'Arbitrum',
18,
'0x912ce59144191c1204e64559fe8253a0e49e6548',
UnderlyingAsset['arbeth:arb']
),
tarbethErc20(
'd6a8869d-3da4-4b95-a9af-f2a059ca651f',
'tarbeth:link',
Expand Down Expand Up @@ -14655,6 +14663,14 @@ export const coins = CoinMap.fromCoins([
'0x94b008aa00579c1307b0ef2c499ad98a8ce58e58',
UnderlyingAsset['opeth:usdt']
),
opethErc20(
'949c4e1f-83b8-4ca0-a6dc-72817a8a86e7',
'opeth:op',
'Optimism',
18,
'0x4200000000000000000000000000000000000042',
UnderlyingAsset['opeth:op']
),
topethErc20(
'3c06bc28-1af2-4869-a632-bd081376fb46',
'topeth:terc18dp',
Expand Down

0 comments on commit 6ead0fd

Please sign in to comment.