File tree Expand file tree Collapse file tree 4 files changed +7
-5
lines changed
Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -1084,7 +1084,7 @@ export const allCoinsAndTokens = [
10841084 'dYdX Cosmos' ,
10851085 Networks . main . dydx ,
10861086 18 ,
1087- UnderlyingAsset . DYDX ,
1087+ UnderlyingAsset . DYDXCOSMOS ,
10881088 BaseUnit . DYDX ,
10891089 [ ...COSMOS_SIDECHAIN_FEATURES , CoinFeature . SHARED_COSMOS_SDK , CoinFeature . SHARED_COSMOS_WP ]
10901090 ) ,
@@ -1094,7 +1094,7 @@ export const allCoinsAndTokens = [
10941094 'Testnet dYdX Cosmos' ,
10951095 Networks . test . dydx ,
10961096 18 ,
1097- UnderlyingAsset . DYDX ,
1097+ UnderlyingAsset . DYDXCOSMOS ,
10981098 BaseUnit . DYDX ,
10991099 [ ...COSMOS_SIDECHAIN_FEATURES , CoinFeature . SHARED_COSMOS_SDK , CoinFeature . SHARED_COSMOS_WP ]
11001100 ) ,
Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ export enum CoinFamily {
5353 DOGEOS = 'dogeos' ,
5454 DOT = 'dot' ,
5555 DYDX = 'dydx' ,
56+ DYDXCOSMOS = 'dydxcosmos' ,
5657 EOS = 'eos' ,
5758 ETC = 'etc' ,
5859 ETH = 'eth' ,
@@ -1033,6 +1034,7 @@ export enum UnderlyingAsset {
10331034 DXPT = 'dxpt' ,
10341035 DXST = 'dxst' ,
10351036 DYDX = 'dydx' ,
1037+ DYDXCOSMOS = 'dydxcosmos' ,
10361038 DYN = 'dyn' ,
10371039 EASY = 'easy' ,
10381040 EBTCQ = 'ebtcq' ,
Original file line number Diff line number Diff line change @@ -1063,7 +1063,7 @@ class KavaCosmosTestnet extends Testnet implements CosmosNetwork {
10631063
10641064class Dydx extends Mainnet implements CosmosNetwork {
10651065 name = 'Dydx' ;
1066- family = CoinFamily . DYDX ;
1066+ family = CoinFamily . DYDXCOSMOS ;
10671067 explorerUrl = 'https://www.mintscan.io/dydx/tx/' ;
10681068 addressPrefix = 'dydx' ;
10691069 validatorPrefix = 'dydxvaloper' ;
@@ -1075,7 +1075,7 @@ class Dydx extends Mainnet implements CosmosNetwork {
10751075
10761076class DydxTestnet extends Testnet implements CosmosNetwork {
10771077 name = 'DydxTestnet' ;
1078- family = CoinFamily . DYDX ;
1078+ family = CoinFamily . DYDXCOSMOS ;
10791079 explorerUrl = 'https://www.mintscan.io/dydx-testnet/tx/' ;
10801080 addressPrefix = 'dydx' ;
10811081 validatorPrefix = 'dydxvaloper' ;
Original file line number Diff line number Diff line change @@ -873,7 +873,7 @@ coins.forEach((coin, coinName) => {
873873 } ) ;
874874
875875 if ( ! coin . isToken && coin . family !== CoinFamily . FIAT ) {
876- if ( coin . family !== CoinFamily . THOR && coin . family !== CoinFamily . DYDX ) {
876+ if ( coin . family !== CoinFamily . THOR ) {
877877 it ( `has expected network type` , function ( ) {
878878 coin . network . type . should . eql ( coin . name === coin . family ? NetworkType . MAINNET : NetworkType . TESTNET ) ;
879879 } ) ;
You can’t perform that action at this time.
0 commit comments