Skip to content

Commit

Permalink
fix: path import
Browse files Browse the repository at this point in the history
  • Loading branch information
bangjelkoski committed Jun 8, 2022
1 parent e95f712 commit ae57777
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
5 changes: 1 addition & 4 deletions packages/sdk-ui-ts/src/utils/bridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@ import {
PEGGY_DEVNET1_GRAPH_URL,
PEGGY_TESTNET_GRAPH_URL,
} from '../constants'
import {
CosmosChainId,
TestnetCosmosChainId,
} from '@injectivelabs/wallet-ts/dist/keplr'
import { CosmosChainId, TestnetCosmosChainId } from '@injectivelabs/ts-types'
import { erc20TokenMeta } from '@injectivelabs/token-metadata'
import { Token } from '../types'

Expand Down
18 changes: 18 additions & 0 deletions packages/ts-types/src/cosmos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,21 @@ export enum StreamOperation {
Update = 'update',
Invalidate = 'invalidate',
}

export enum CosmosChainId {
Injective = 'injective-1',
Cosmoshub = 'cosmoshub-4',
Juno = 'juno-1',
Osmosis = 'osmosis-1',
Terra = 'columbus-5',
TerraUST = 'columbus-5',
Chihuahua = 'chihuahua-1',
Axelar = 'axelar-dojo-1',
Evmos = 'evmos_9001-2',
Persistence = 'core-1',
}

export enum TestnetCosmosChainId {
Injective = 'injective-888',
Cosmoshub = 'cosmoshub-testnet',
}

0 comments on commit ae57777

Please sign in to comment.