diff --git a/modules/bitgo/test/v2/unit/keychains.ts b/modules/bitgo/test/v2/unit/keychains.ts index 10ec7cb77e..091325df41 100644 --- a/modules/bitgo/test/v2/unit/keychains.ts +++ b/modules/bitgo/test/v2/unit/keychains.ts @@ -104,7 +104,6 @@ describe('V2 Keychains', function () { n.asset !== UnderlyingAsset.MANTLE && n.asset !== UnderlyingAsset.JOVAYETH && n.asset !== UnderlyingAsset.OKBXLAYER && - n.asset !== UnderlyingAsset.MORPH && n.asset !== UnderlyingAsset.MORPHETH && n.asset !== UnderlyingAsset.DOGEOS && n.asset !== UnderlyingAsset.MEGAETH && diff --git a/modules/sdk-core/src/bitgo/environments.ts b/modules/sdk-core/src/bitgo/environments.ts index b719e085fa..f5977c9124 100644 --- a/modules/sdk-core/src/bitgo/environments.ts +++ b/modules/sdk-core/src/bitgo/environments.ts @@ -302,9 +302,6 @@ const mainnetBase: EnvironmentTemplate = { okbxlayer: { baseUrl: 'https://www.oklink.com/api/v5/explorer/block/block-list?chainShortName=xlayer', }, - morph: { - baseUrl: 'https://explorer-api-hoodi.morphl2.io', // TODO: WIN-8134 add mainnet url when available - }, morpheth: { baseUrl: 'https://explorer.morph.network/', }, @@ -483,9 +480,6 @@ const testnetBase: EnvironmentTemplate = { okbxlayer: { baseUrl: 'https://www.oklink.com/api/v5/explorer/block/block-list?chainShortName=xlayer_testnet', }, - morph: { - baseUrl: 'https://explorer-api-hoodi.morphl2.io', - }, morpheth: { baseUrl: 'https://explorer-hoodi.morph.network/', }, diff --git a/modules/statics/src/allCoinsAndTokens.ts b/modules/statics/src/allCoinsAndTokens.ts index 7cd318aab4..8db75052cd 100644 --- a/modules/statics/src/allCoinsAndTokens.ts +++ b/modules/statics/src/allCoinsAndTokens.ts @@ -2601,47 +2601,6 @@ export const allCoinsAndTokens = [ Networks.test.okbxlayer ), - account( - '60203912-6332-4f44-8f83-a88a06ae170b', - 'morph', - 'Morph Mainnet', - Networks.main.morph, - 18, - UnderlyingAsset.MORPH, - BaseUnit.ETH, - [ - ...EVM_FEATURES, - CoinFeature.SHARED_EVM_SIGNING, - CoinFeature.SHARED_EVM_SDK, - CoinFeature.EVM_COMPATIBLE_IMS, - CoinFeature.EVM_COMPATIBLE_UI, - CoinFeature.EVM_COMPATIBLE_WP, - CoinFeature.EVM_NON_BITGO_RECOVERY, - CoinFeature.EVM_UNSIGNED_SWEEP_RECOVERY, - CoinFeature.SUPPORTS_ERC20, - ] - ), - account( - '9352fddb-3b01-40a3-b09a-a047bc1595bd', - 'tmorph', - 'Morph Testnet', - Networks.test.morph, - 18, - UnderlyingAsset.MORPH, - BaseUnit.ETH, - [ - ...EVM_FEATURES, - CoinFeature.SHARED_EVM_SIGNING, - CoinFeature.SHARED_EVM_SDK, - CoinFeature.EVM_COMPATIBLE_IMS, - CoinFeature.EVM_COMPATIBLE_UI, - CoinFeature.EVM_COMPATIBLE_WP, - CoinFeature.EVM_NON_BITGO_RECOVERY, - CoinFeature.EVM_UNSIGNED_SWEEP_RECOVERY, - CoinFeature.SUPPORTS_ERC20, - ] - ), - account( '51de29b1-dd97-4b05-9239-a177522b469f', 'morpheth', @@ -3520,46 +3479,6 @@ export const allCoinsAndTokens = [ Networks.test.megaeth ), - // Morph mainnet tokens - erc20Token( - 'd95a9238-a1e6-42df-862f-a921adf8151d', - 'morph:usdc', - 'USD Coin', - 6, - '0xe34c91815d7fc18a9e2148bcd4241d0a5848b693', - UnderlyingAsset['morph:usdc'], - Networks.main.morph - ), - erc20Token( - '7c3fb96a-edaf-4c5d-85b3-4a445ce92fc8', - 'morph:usdt', - 'Tether USD', - 6, - '0xc7d67a9cbb121b3b0b9c053dd9f469523243379a', - UnderlyingAsset['morph:usdt'], - Networks.main.morph - ), - erc20Token( - '03ccbfa5-c912-45f7-8b77-9e21950a5369', - 'morph:usd1', - 'USD1', - 18, - '0x111111d2bf19e43c34263401e0cad979ed1cdb61', - UnderlyingAsset['morph:usd1'], - Networks.main.morph - ), - - // Morph testnet tokens - erc20Token( - '7949177e-0c92-4a02-8f34-cee1cbfb38d1', - 'tmorph:tmt', - 'Test Mintable Token', - 6, - '0x5257950b5277dac30536eae4742ffef4e5af5256', - UnderlyingAsset['tmorph:tmt'], - Networks.test.morph - ), - // MorphEth mainnet tokens erc20Token( '088dcce6-6259-4012-a1e2-857534ea88fc', diff --git a/modules/statics/src/base.ts b/modules/statics/src/base.ts index c3c360d4e4..02bc0c4acd 100644 --- a/modules/statics/src/base.ts +++ b/modules/statics/src/base.ts @@ -127,7 +127,6 @@ export enum CoinFamily { IP = 'ip', // Story Chain SOMI = 'somi', // Somnia Chain FLUENTETH = 'fluenteth', - MORPH = 'morph', MORPHETH = 'morpheth', ARCUSDC = 'arcusdc', // ARC network TEMPO = 'tempo', // Tempo Network @@ -612,7 +611,6 @@ export enum UnderlyingAsset { MANTRA = 'mantra', MEGAETH = 'megaeth', MON = 'mon', - MORPH = 'morph', MORPHETH = 'morpheth', NEAR = 'near', OAS = 'oas', @@ -2412,13 +2410,9 @@ export enum UnderlyingAsset { 'eth:spec' = 'eth:spec', 'eth:prompt' = 'eth:prompt', 'eth:yb' = 'eth:yb', - 'morph:usdc' = 'morph:usdc', 'morpheth:usdc' = 'morpheth:usdc', - 'morph:usdt' = 'morph:usdt', 'morpheth:usdt' = 'morpheth:usdt', - 'morph:usd1' = 'morph:usd1', 'morpheth:usd1' = 'morpheth:usd1', - 'tmorph:tmt' = 'tmorph:tmt', 'tmorpheth:tmt' = 'tmorpheth:tmt', 'tmorpheth:usd1' = 'tmorpheth:usd1', 'tmorpheth:stgusd1' = 'tmorpheth:stgusd1', diff --git a/modules/statics/src/coins/ofcCoins.ts b/modules/statics/src/coins/ofcCoins.ts index 07bc6a2b1c..67bdd9b40f 100644 --- a/modules/statics/src/coins/ofcCoins.ts +++ b/modules/statics/src/coins/ofcCoins.ts @@ -309,15 +309,6 @@ export const ofcCoins = [ UnderlyingAsset.DOGEOS, CoinKind.CRYPTO ), - ofc('a8f87aeb-2a87-40c6-bd04-93101f1de515', 'ofcmorph', 'Morph', 18, UnderlyingAsset.DOGEOS, CoinKind.CRYPTO), - tofc( - 'dfaa5fc9-c40b-4215-804a-7f536fa29133', - 'ofctmorph', - 'Morph Testnet', - 18, - UnderlyingAsset.MORPH, - CoinKind.CRYPTO - ), ofc( 'cdf3487e-a365-4319-83ff-ff06f02810a6', 'ofcmorpheth', diff --git a/modules/statics/src/coins/ofcErc20Coins.ts b/modules/statics/src/coins/ofcErc20Coins.ts index f56c23b90e..afb5b510fa 100644 --- a/modules/statics/src/coins/ofcErc20Coins.ts +++ b/modules/statics/src/coins/ofcErc20Coins.ts @@ -5470,64 +5470,6 @@ export const tOfcErc20Coins = [ underlyingAssetForSymbol('tmegaeth:tmt') ), - // Morph tokens - ofcerc20( - '4d5f4fb7-b2e2-4e63-bbda-7f315332da5b', - 'ofcmorph:usdc', - 'USD Coin', - 6, - UnderlyingAsset['morph:usdc'], - undefined, - undefined, - '', - undefined, - undefined, - true, - 'morph' - ), - ofcerc20( - '37f51c58-9be5-4c56-adcb-2c7f3c2cfc1a', - 'ofcmorph:usdt', - 'Tether USD', - 6, - UnderlyingAsset['morph:usdt'], - undefined, - undefined, - '', - undefined, - undefined, - true, - 'morph' - ), - ofcerc20( - 'e499e7cc-22ae-4374-ae4b-27651565af15', - 'ofcmorph:usd1', - 'USD1', - 18, - UnderlyingAsset['morph:usd1'], - undefined, - undefined, - '', - undefined, - undefined, - true, - 'morph' - ), - tofcerc20( - '299efde0-9c67-44d8-ac00-44d0259d709d', - 'ofctmorph:tmt', - 'Test Mintable Token', - 6, - underlyingAssetForSymbol('tmorph:tmt'), - undefined, - undefined, - '', - undefined, - undefined, - true, - 'tmorph' - ), - // MorphETH tokens ofcerc20( '9c28b89b-1069-4bad-bf7b-8ecea440cee2', diff --git a/modules/statics/src/networks.ts b/modules/statics/src/networks.ts index 267b8f23a8..75fe9c49e5 100644 --- a/modules/statics/src/networks.ts +++ b/modules/statics/src/networks.ts @@ -1736,24 +1736,6 @@ class XlayerTestnet extends Testnet implements EthereumNetwork { nativeCoinOperationHashPrefix = '1952'; } -class Morph extends Mainnet implements EthereumNetwork { - name = 'Morph Mainnet'; - family = CoinFamily.MORPH; - explorerUrl = 'https://explorer-api-hoodi.morphl2.io/tx/'; // TODO: WIN-8134 add mainnet url when available - accountExplorerUrl = 'https://explorer-api-hoodi.morphl2.io/address/'; // TODO: WIN-8134 add mainnet account explorer url when available - chainId = 2818; - nativeCoinOperationHashPrefix = '2818'; -} - -class MorphTestnet extends Testnet implements EthereumNetwork { - name = 'Morph Testnet'; - family = CoinFamily.MORPH; - explorerUrl = 'https://explorer-hoodi.morph.network/tx/'; - accountExplorerUrl = 'https://explorer-hoodi.morph.network/address/'; - chainId = 2910; - nativeCoinOperationHashPrefix = '2910'; -} - class MorphETH extends Mainnet implements EthereumNetwork { name = 'Morph Ethereum Mainnet'; family = CoinFamily.MORPHETH; @@ -2471,7 +2453,6 @@ export const Networks = { okbxlayer: Object.freeze(new Xlayer()), opbnb: Object.freeze(new OpBNB()), fantom: Object.freeze(new Fantom()), - morph: Object.freeze(new Morph()), morpheth: Object.freeze(new MorphETH()), optimism: Object.freeze(new Optimism()), osmo: Object.freeze(new Osmo()), @@ -2586,7 +2567,6 @@ export const Networks = { okbxlayer: Object.freeze(new XlayerTestnet()), opbnb: Object.freeze(new OpBNBTestnet()), fantom: Object.freeze(new FantomTestnet()), - morph: Object.freeze(new MorphTestnet()), morpheth: Object.freeze(new MorphETHTestnet()), optimism: Object.freeze(new OptimismTestnet()), osmo: Object.freeze(new OsmoTestnet()), diff --git a/modules/statics/test/unit/fixtures/expectedColdFeatures.ts b/modules/statics/test/unit/fixtures/expectedColdFeatures.ts index 72717941c2..b6f37a5768 100644 --- a/modules/statics/test/unit/fixtures/expectedColdFeatures.ts +++ b/modules/statics/test/unit/fixtures/expectedColdFeatures.ts @@ -109,7 +109,6 @@ export const expectedColdFeatures = { 'mantle', 'mantra', 'mon', - 'morph', 'morpheth', 'near', 'oas', @@ -164,7 +163,6 @@ export const expectedColdFeatures = { 'tjovayeth', 'tog', 'tokbxlayer', - 'tmorph', 'tmorpheth', 'tmegaeth', 'tmon',