Skip to content

Commit

Permalink
feat: omagad
Browse files Browse the repository at this point in the history
  • Loading branch information
NeOMakinG committed Feb 26, 2025
1 parent a2766c2 commit 5111fe3
Show file tree
Hide file tree
Showing 1,027 changed files with 2,581 additions and 2,690 deletions.
4 changes: 2 additions & 2 deletions docs/investor.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ This function must return either 1) an `InvestorOpportunity` or 2) `undefined` t

### `findByUnderlyingAssetId: (assetId: string) => Promise<Array<InvestorOpportunity<TxType, MetaData>>>`

`assetId` is a `AssetId` type as defined in `@shapeshiftmonorepo/caip`. `AssetId` is a `string` formatted per the CAIP-19 specification.
`assetId` is a `AssetId` type as defined in `@shapeshiftoss/caip`. `AssetId` is a `string` formatted per the CAIP-19 specification.

This function must return an array of `InvestorOpportunities` in which the `InvestorOpportunity.underlyingAsset.assetId` matches the provided `assetId`.

Expand Down Expand Up @@ -81,7 +81,7 @@ This is the `Asset` that can be deposited into the `Opportunity`.

#### `assetId: string`

`assetId` must be of type `AssetId` from `@shapeshiftmonorepo/caip` and is a CAIP-19 representation of the asset or token that can be deposited into this `Opportunity`.
`assetId` must be of type `AssetId` from `@shapeshiftoss/caip` and is a CAIP-19 representation of the asset or token that can be deposited into this `Opportunity`.

For example, `AssetId` for Ethereum is `eip155:1/slip44:60`

Expand Down
2 changes: 1 addition & 1 deletion headers/csps/marketService/coincap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { Csp } from '../../types'

export const csp: Csp = {
'connect-src': [
// @shapeshiftmonorepo/caip@1.7.0: https://github.com/shapeshift/lib/blob/5a378b186bf943c9f5e5342e1333b9fbc7c0deaf/packages/caip/src/adapters/coincap/index.ts#L5
// @shapeshiftoss/caip@1.7.0: https://github.com/shapeshift/lib/blob/5a378b186bf943c9f5e5342e1333b9fbc7c0deaf/packages/caip/src/adapters/coincap/index.ts#L5
'https://api.coincap.io/v2/assets',
// lib/market-service/src/coincap/coincap.ts
'https://api.coincap.io/v2/assets/',
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"analyze": "ANALYZE=true yarn build:web",
"bump": "yarn upgrade-interactive --latest --scope @shapeshiftoss",
"build:web": "yarn build:packages && NODE_OPTIONS=--max-old-space-size=8192 IMAGE_INLINE_SIZE_LIMIT=0 INLINE_RUNTIME_CHUNK=false DISABLE_ESLINT_PLUGIN=true vite build && ./scripts/sha256sums.sh && ./scripts/verifyViteHashes.sh && tsx ./scripts/writeBuildMetadata.ts",
"build:packages": "yarn clean:packages && yarn workspace @shapeshiftmonorepo/unchained-client generate && yarn tsc --build tsconfig.packages.json",
"build:packages": "yarn clean:packages && yarn workspace @shapeshiftoss/unchained-client generate && yarn tsc --build tsconfig.packages.json",
"clean": "yarn clean:packages && yarn clean:web && rm -rf node_modules coverage tsconfig.tsbuildinfo",
"clean:web": "rm -rf build tsconfig.web.tsbuildinfo",
"clean:packages": "yarn workspaces foreach -ptiv --exclude @shapeshiftoss/web run clean && rm -rf tsconfig.packages.tsbuildinfo",
Expand Down Expand Up @@ -93,14 +93,10 @@
"@reduxjs/toolkit": "^1.9.7",
"@sentry-internal/browser-utils": "^8.26.0",
"@sentry/react": "^8.26.0",
"@shapeshiftmonorepo/chain-adapters": "workspace:^",
"@shapeshiftmonorepo/contracts": "workspace:^",
"@shapeshiftmonorepo/errors": "workspace:^",
"@shapeshiftmonorepo/swapper": "workspace:^",
"@shapeshiftmonorepo/types": "workspace:^",
"@shapeshiftmonorepo/unchained-client": "workspace:^",
"@shapeshiftmonorepo/utils": "workspace:^",
"@shapeshiftoss/caip": "workspace:^",
"@shapeshiftoss/chain-adapters": "workspace:^",
"@shapeshiftoss/contracts": "workspace:^",
"@shapeshiftoss/errors": "workspace:^",
"@shapeshiftoss/hdwallet-coinbase": "1.59.2",
"@shapeshiftoss/hdwallet-core": "1.59.2",
"@shapeshiftoss/hdwallet-keepkey": "1.59.2",
Expand All @@ -113,6 +109,10 @@
"@shapeshiftoss/hdwallet-native-vault": "1.59.2",
"@shapeshiftoss/hdwallet-phantom": "1.59.2",
"@shapeshiftoss/hdwallet-walletconnectv2": "1.59.2",
"@shapeshiftoss/swapper": "workspace:^",
"@shapeshiftoss/types": "workspace:^",
"@shapeshiftoss/unchained-client": "workspace:^",
"@shapeshiftoss/utils": "workspace:^",
"@sniptt/monads": "^0.5.10",
"@solana/web3.js": "^1.98.0",
"@tanstack/react-query": "^5.52.0",
Expand Down
212 changes: 106 additions & 106 deletions packages/caip/CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/caip/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @shapeshiftmonorepo/caip
# @shapeshiftoss/caip

This package is ShapeShift's partial implementation of [CAIPs](https://github.com/ChainAgnostic/CAIPs) - Chain Agnostic Improvement Protocols.
It is not exhaustive and is currently only used internally.
Expand Down
2 changes: 1 addition & 1 deletion packages/caip/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@shapeshiftmonorepo/caip",
"name": "@shapeshiftoss/caip",
"version": "8.15.0",
"description": "CAIP Implementation",
"repository": "https://github.com/shapeshift/web",
Expand Down
10 changes: 5 additions & 5 deletions packages/chain-adapters/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@shapeshiftmonorepo/chain-adapters",
"name": "@shapeshiftoss/chain-adapters",
"version": "11.2.2",
"repository": "https://github.com/shapeshift/web",
"license": "MIT",
Expand All @@ -17,10 +17,10 @@
"dev": "yarn run -T tsc --build --watch"
},
"dependencies": {
"@shapeshiftmonorepo/caip": "workspace:^",
"@shapeshiftmonorepo/types": "workspace:^",
"@shapeshiftmonorepo/unchained-client": "workspace:^",
"@shapeshiftmonorepo/utils": "workspace:^",
"@shapeshiftoss/caip": "workspace:^",
"@shapeshiftoss/types": "workspace:^",
"@shapeshiftoss/unchained-client": "workspace:^",
"@shapeshiftoss/utils": "workspace:^",
"@solana/spl-token": "^0.4.9",
"@solana/web3.js": "^1.98.0",
"bech32": "^2.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/chain-adapters/src/api.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { AssetId, ChainId } from '@shapeshiftmonorepo/caip'
import type { Bip44Params, KnownChainIds, UtxoAccountType } from '@shapeshiftmonorepo/types'
import type { AssetId, ChainId } from '@shapeshiftoss/caip'
import type { Bip44Params, KnownChainIds, UtxoAccountType } from '@shapeshiftoss/types'

import type {
Account,
Expand Down
2 changes: 1 addition & 1 deletion packages/chain-adapters/src/bip44.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Bip44Params } from '@shapeshiftmonorepo/types'
import type { Bip44Params } from '@shapeshiftoss/types'
import { describe, expect, it } from 'vitest'

import { fromAddressNList, fromPath, toAddressNList, toPath } from './utils'
Expand Down
10 changes: 5 additions & 5 deletions packages/chain-adapters/src/cosmossdk/CosmosSdkBaseAdapter.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { AssetId, ChainId } from '@shapeshiftmonorepo/caip'
import { fromChainId, generateAssetIdFromCosmosSdkDenom } from '@shapeshiftmonorepo/caip'
import type { Bip44Params, CosmosSdkChainId, RootBip44Params } from '@shapeshiftmonorepo/types'
import { KnownChainIds } from '@shapeshiftmonorepo/types'
import * as unchained from '@shapeshiftmonorepo/unchained-client'
import type { AssetId, ChainId } from '@shapeshiftoss/caip'
import { fromChainId, generateAssetIdFromCosmosSdkDenom } from '@shapeshiftoss/caip'
import type { Bip44Params, CosmosSdkChainId, RootBip44Params } from '@shapeshiftoss/types'
import { KnownChainIds } from '@shapeshiftoss/types'
import * as unchained from '@shapeshiftoss/unchained-client'
import { bech32 } from 'bech32'
import PQueue from 'p-queue'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { AssetId } from '@shapeshiftmonorepo/caip'
import { ASSET_REFERENCE, cosmosAssetId } from '@shapeshiftmonorepo/caip'
import type { RootBip44Params } from '@shapeshiftmonorepo/types'
import { KnownChainIds } from '@shapeshiftmonorepo/types'
import * as unchained from '@shapeshiftmonorepo/unchained-client'
import type { AssetId } from '@shapeshiftoss/caip'

Check failure on line 1 in packages/chain-adapters/src/cosmossdk/cosmos/CosmosChainAdapter.ts

View workflow job for this annotation

GitHub Actions / Call / Static

Run autofix to sort these imports!

Check failure on line 1 in packages/chain-adapters/src/cosmossdk/cosmos/CosmosChainAdapter.ts

View workflow job for this annotation

GitHub Actions / Call / Static

Run autofix to sort these imports!
import { ASSET_REFERENCE, cosmosAssetId } from '@shapeshiftoss/caip'
import type { RootBip44Params } from '@shapeshiftoss/types'
import { KnownChainIds } from '@shapeshiftoss/types'
import * as unchained from '@shapeshiftoss/unchained-client'
import type { CosmosSignTx, CosmosWallet, HDWallet } from '@shapeshiftoss/hdwallet-core'
import { supportsCosmos } from '@shapeshiftoss/hdwallet-core'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { AssetId } from '@shapeshiftmonorepo/caip'
import { ASSET_REFERENCE, thorchainAssetId } from '@shapeshiftmonorepo/caip'
import type { RootBip44Params } from '@shapeshiftmonorepo/types'
import { KnownChainIds } from '@shapeshiftmonorepo/types'
import * as unchained from '@shapeshiftmonorepo/unchained-client'
import type { AssetId } from '@shapeshiftoss/caip'

Check failure on line 1 in packages/chain-adapters/src/cosmossdk/thorchain/ThorchainChainAdapter.ts

View workflow job for this annotation

GitHub Actions / Call / Static

Run autofix to sort these imports!

Check failure on line 1 in packages/chain-adapters/src/cosmossdk/thorchain/ThorchainChainAdapter.ts

View workflow job for this annotation

GitHub Actions / Call / Static

Run autofix to sort these imports!
import { ASSET_REFERENCE, thorchainAssetId } from '@shapeshiftoss/caip'
import type { RootBip44Params } from '@shapeshiftoss/types'
import { KnownChainIds } from '@shapeshiftoss/types'
import * as unchained from '@shapeshiftoss/unchained-client'
import type { HDWallet, ThorchainSignTx, ThorchainWallet } from '@shapeshiftoss/hdwallet-core'
import { supportsThorchain } from '@shapeshiftoss/hdwallet-core'
import { bech32 } from 'bech32'
Expand Down
6 changes: 3 additions & 3 deletions packages/chain-adapters/src/cosmossdk/types.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { AssetId } from '@shapeshiftmonorepo/caip'
import type { CosmosSdkChainId } from '@shapeshiftmonorepo/types'
import type * as unchained from '@shapeshiftmonorepo/unchained-client'
import type { AssetId } from '@shapeshiftoss/caip'
import type { CosmosSdkChainId } from '@shapeshiftoss/types'
import type * as unchained from '@shapeshiftoss/unchained-client'

import type * as types from '../types'

Expand Down
10 changes: 5 additions & 5 deletions packages/chain-adapters/src/evm/EvmBaseAdapter.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { AssetId, ChainId } from '@shapeshiftmonorepo/caip'
import { fromChainId, toAssetId } from '@shapeshiftmonorepo/caip'
import type { Bip44Params, EvmChainId, RootBip44Params } from '@shapeshiftmonorepo/types'
import { KnownChainIds } from '@shapeshiftmonorepo/types'
import type * as unchained from '@shapeshiftmonorepo/unchained-client'
import type { AssetId, ChainId } from '@shapeshiftoss/caip'

Check failure on line 1 in packages/chain-adapters/src/evm/EvmBaseAdapter.ts

View workflow job for this annotation

GitHub Actions / Call / Static

Run autofix to sort these imports!

Check failure on line 1 in packages/chain-adapters/src/evm/EvmBaseAdapter.ts

View workflow job for this annotation

GitHub Actions / Call / Static

Run autofix to sort these imports!
import { fromChainId, toAssetId } from '@shapeshiftoss/caip'
import type { Bip44Params, EvmChainId, RootBip44Params } from '@shapeshiftoss/types'
import { KnownChainIds } from '@shapeshiftoss/types'
import type * as unchained from '@shapeshiftoss/unchained-client'
import type {
ETHSignMessage,
ETHSignTx,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import {
arbitrumChainId,
ASSET_REFERENCE,
fromChainId,
} from '@shapeshiftmonorepo/caip'
import type { Bip44Params, EvmChainId } from '@shapeshiftmonorepo/types'
import { KnownChainIds } from '@shapeshiftmonorepo/types'
import type * as unchained from '@shapeshiftmonorepo/unchained-client'
} from '@shapeshiftoss/caip'
import type { Bip44Params, EvmChainId } from '@shapeshiftoss/types'
import { KnownChainIds } from '@shapeshiftoss/types'
import type * as unchained from '@shapeshiftoss/unchained-client'
import type { ETHSignMessage, ETHSignTx, ETHWallet } from '@shapeshiftoss/hdwallet-core'
import type { NativeAdapterArgs } from '@shapeshiftoss/hdwallet-native'
import { NativeHDWallet } from '@shapeshiftoss/hdwallet-native'
Expand Down
10 changes: 5 additions & 5 deletions packages/chain-adapters/src/evm/arbitrum/ArbitrumChainAdapter.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { AssetId } from '@shapeshiftmonorepo/caip'
import { arbitrumAssetId, ASSET_REFERENCE } from '@shapeshiftmonorepo/caip'
import type { RootBip44Params } from '@shapeshiftmonorepo/types'
import { KnownChainIds } from '@shapeshiftmonorepo/types'
import * as unchained from '@shapeshiftmonorepo/unchained-client'
import type { AssetId } from '@shapeshiftoss/caip'
import { arbitrumAssetId, ASSET_REFERENCE } from '@shapeshiftoss/caip'
import type { RootBip44Params } from '@shapeshiftoss/types'
import { KnownChainIds } from '@shapeshiftoss/types'
import * as unchained from '@shapeshiftoss/unchained-client'

import { ChainAdapterDisplayName } from '../../types'
import type { ChainAdapterArgs } from '../EvmBaseAdapter'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import {
arbitrumNovaChainId,
ASSET_REFERENCE,
fromChainId,
} from '@shapeshiftmonorepo/caip'
import type { Bip44Params, EvmChainId } from '@shapeshiftmonorepo/types'
import { KnownChainIds } from '@shapeshiftmonorepo/types'
import type * as unchained from '@shapeshiftmonorepo/unchained-client'
} from '@shapeshiftoss/caip'
import type { Bip44Params, EvmChainId } from '@shapeshiftoss/types'
import { KnownChainIds } from '@shapeshiftoss/types'
import type * as unchained from '@shapeshiftoss/unchained-client'
import type { ETHSignMessage, ETHSignTx, ETHWallet } from '@shapeshiftoss/hdwallet-core'
import type { NativeAdapterArgs } from '@shapeshiftoss/hdwallet-native'
import { NativeHDWallet } from '@shapeshiftoss/hdwallet-native'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { AssetId } from '@shapeshiftmonorepo/caip'
import { arbitrumNovaAssetId, ASSET_REFERENCE } from '@shapeshiftmonorepo/caip'
import type { RootBip44Params } from '@shapeshiftmonorepo/types'
import { KnownChainIds } from '@shapeshiftmonorepo/types'
import * as unchained from '@shapeshiftmonorepo/unchained-client'
import type { AssetId } from '@shapeshiftoss/caip'
import { arbitrumNovaAssetId, ASSET_REFERENCE } from '@shapeshiftoss/caip'
import type { RootBip44Params } from '@shapeshiftoss/types'
import { KnownChainIds } from '@shapeshiftoss/types'
import * as unchained from '@shapeshiftoss/unchained-client'

import { ChainAdapterDisplayName } from '../../types'
import type { ChainAdapterArgs } from '../EvmBaseAdapter'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import {
avalancheAssetId,
avalancheChainId,
fromChainId,
} from '@shapeshiftmonorepo/caip'
import type { Bip44Params, EvmChainId } from '@shapeshiftmonorepo/types'
import { KnownChainIds } from '@shapeshiftmonorepo/types'
import type * as unchained from '@shapeshiftmonorepo/unchained-client'
} from '@shapeshiftoss/caip'
import type { Bip44Params, EvmChainId } from '@shapeshiftoss/types'
import { KnownChainIds } from '@shapeshiftoss/types'
import type * as unchained from '@shapeshiftoss/unchained-client'
import type { ETHSignMessage, ETHSignTx, ETHWallet } from '@shapeshiftoss/hdwallet-core'
import type { NativeAdapterArgs } from '@shapeshiftoss/hdwallet-native'
import { NativeHDWallet } from '@shapeshiftoss/hdwallet-native'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { AssetId } from '@shapeshiftmonorepo/caip'
import { ASSET_REFERENCE, avalancheAssetId } from '@shapeshiftmonorepo/caip'
import type { RootBip44Params } from '@shapeshiftmonorepo/types'
import { KnownChainIds } from '@shapeshiftmonorepo/types'
import * as unchained from '@shapeshiftmonorepo/unchained-client'
import type { AssetId } from '@shapeshiftoss/caip'
import { ASSET_REFERENCE, avalancheAssetId } from '@shapeshiftoss/caip'
import type { RootBip44Params } from '@shapeshiftoss/types'
import { KnownChainIds } from '@shapeshiftoss/types'
import * as unchained from '@shapeshiftoss/unchained-client'

import { ChainAdapterDisplayName } from '../../types'
import type { ChainAdapterArgs as BaseChainAdapterArgs } from '../EvmBaseAdapter'
Expand Down
8 changes: 4 additions & 4 deletions packages/chain-adapters/src/evm/base/BaseChainAdapter.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ASSET_REFERENCE, baseAssetId, baseChainId, fromChainId } from '@shapeshiftmonorepo/caip'
import type { Bip44Params, EvmChainId } from '@shapeshiftmonorepo/types'
import { KnownChainIds } from '@shapeshiftmonorepo/types'
import type * as unchained from '@shapeshiftmonorepo/unchained-client'
import { ASSET_REFERENCE, baseAssetId, baseChainId, fromChainId } from '@shapeshiftoss/caip'

Check failure on line 1 in packages/chain-adapters/src/evm/base/BaseChainAdapter.test.ts

View workflow job for this annotation

GitHub Actions / Call / Static

Run autofix to sort these imports!

Check failure on line 1 in packages/chain-adapters/src/evm/base/BaseChainAdapter.test.ts

View workflow job for this annotation

GitHub Actions / Call / Static

Run autofix to sort these imports!
import type { Bip44Params, EvmChainId } from '@shapeshiftoss/types'
import { KnownChainIds } from '@shapeshiftoss/types'
import type * as unchained from '@shapeshiftoss/unchained-client'
import type { ETHSignMessage, ETHSignTx, ETHWallet } from '@shapeshiftoss/hdwallet-core'
import type { NativeAdapterArgs } from '@shapeshiftoss/hdwallet-native'
import { NativeHDWallet } from '@shapeshiftoss/hdwallet-native'
Expand Down
10 changes: 5 additions & 5 deletions packages/chain-adapters/src/evm/base/BaseChainAdapter.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { AssetId } from '@shapeshiftmonorepo/caip'
import { ASSET_REFERENCE, baseAssetId } from '@shapeshiftmonorepo/caip'
import type { RootBip44Params } from '@shapeshiftmonorepo/types'
import { KnownChainIds } from '@shapeshiftmonorepo/types'
import * as unchained from '@shapeshiftmonorepo/unchained-client'
import type { AssetId } from '@shapeshiftoss/caip'
import { ASSET_REFERENCE, baseAssetId } from '@shapeshiftoss/caip'
import type { RootBip44Params } from '@shapeshiftoss/types'
import { KnownChainIds } from '@shapeshiftoss/types'
import * as unchained from '@shapeshiftoss/unchained-client'
import BigNumber from 'bignumber.js'

import { ErrorHandler } from '../../error/ErrorHandler'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ASSET_REFERENCE, bscAssetId, bscChainId, fromChainId } from '@shapeshiftmonorepo/caip'
import type { Bip44Params, EvmChainId } from '@shapeshiftmonorepo/types'
import { KnownChainIds } from '@shapeshiftmonorepo/types'
import type * as unchained from '@shapeshiftmonorepo/unchained-client'
import { ASSET_REFERENCE, bscAssetId, bscChainId, fromChainId } from '@shapeshiftoss/caip'

Check failure on line 1 in packages/chain-adapters/src/evm/bnbsmartchain/BscChainAdapter.test.ts

View workflow job for this annotation

GitHub Actions / Call / Static

Run autofix to sort these imports!

Check failure on line 1 in packages/chain-adapters/src/evm/bnbsmartchain/BscChainAdapter.test.ts

View workflow job for this annotation

GitHub Actions / Call / Static

Run autofix to sort these imports!
import type { Bip44Params, EvmChainId } from '@shapeshiftoss/types'
import { KnownChainIds } from '@shapeshiftoss/types'
import type * as unchained from '@shapeshiftoss/unchained-client'
import type { ETHSignMessage, ETHSignTx, ETHWallet } from '@shapeshiftoss/hdwallet-core'
import type { NativeAdapterArgs } from '@shapeshiftoss/hdwallet-native'
import { NativeHDWallet } from '@shapeshiftoss/hdwallet-native'
Expand Down
10 changes: 5 additions & 5 deletions packages/chain-adapters/src/evm/bnbsmartchain/BscChainAdapter.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { AssetId } from '@shapeshiftmonorepo/caip'
import { ASSET_REFERENCE, bscAssetId } from '@shapeshiftmonorepo/caip'
import type { RootBip44Params } from '@shapeshiftmonorepo/types'
import { KnownChainIds } from '@shapeshiftmonorepo/types'
import * as unchained from '@shapeshiftmonorepo/unchained-client'
import type { AssetId } from '@shapeshiftoss/caip'
import { ASSET_REFERENCE, bscAssetId } from '@shapeshiftoss/caip'
import type { RootBip44Params } from '@shapeshiftoss/types'
import { KnownChainIds } from '@shapeshiftoss/types'
import * as unchained from '@shapeshiftoss/unchained-client'
import BigNumber from 'bignumber.js'

import { ErrorHandler } from '../../error/ErrorHandler'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ASSET_REFERENCE, CHAIN_REFERENCE, ethAssetId, ethChainId } from '@shapeshiftmonorepo/caip'
import type { Bip44Params, EvmChainId } from '@shapeshiftmonorepo/types'
import { KnownChainIds } from '@shapeshiftmonorepo/types'
import type * as unchained from '@shapeshiftmonorepo/unchained-client'
import { ASSET_REFERENCE, CHAIN_REFERENCE, ethAssetId, ethChainId } from '@shapeshiftoss/caip'

Check failure on line 1 in packages/chain-adapters/src/evm/ethereum/EthereumChainAdapter.test.ts

View workflow job for this annotation

GitHub Actions / Call / Static

Run autofix to sort these imports!

Check failure on line 1 in packages/chain-adapters/src/evm/ethereum/EthereumChainAdapter.test.ts

View workflow job for this annotation

GitHub Actions / Call / Static

Run autofix to sort these imports!
import type { Bip44Params, EvmChainId } from '@shapeshiftoss/types'
import { KnownChainIds } from '@shapeshiftoss/types'
import type * as unchained from '@shapeshiftoss/unchained-client'
import type { ETHSignMessage, ETHSignTx, ETHWallet } from '@shapeshiftoss/hdwallet-core'
import type { NativeAdapterArgs } from '@shapeshiftoss/hdwallet-native'
import { NativeHDWallet } from '@shapeshiftoss/hdwallet-native'
Expand Down
10 changes: 5 additions & 5 deletions packages/chain-adapters/src/evm/ethereum/EthereumChainAdapter.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { AssetId } from '@shapeshiftmonorepo/caip'
import { ASSET_REFERENCE, ethAssetId } from '@shapeshiftmonorepo/caip'
import type { RootBip44Params } from '@shapeshiftmonorepo/types'
import { KnownChainIds } from '@shapeshiftmonorepo/types'
import * as unchained from '@shapeshiftmonorepo/unchained-client'
import type { AssetId } from '@shapeshiftoss/caip'
import { ASSET_REFERENCE, ethAssetId } from '@shapeshiftoss/caip'
import type { RootBip44Params } from '@shapeshiftoss/types'
import { KnownChainIds } from '@shapeshiftoss/types'
import * as unchained from '@shapeshiftoss/unchained-client'

import type { ValidAddressResult } from '../../types'
import { ChainAdapterDisplayName, ValidAddressResultType } from '../../types'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import {
fromChainId,
gnosisAssetId,
gnosisChainId,
} from '@shapeshiftmonorepo/caip'
import type { Bip44Params, EvmChainId } from '@shapeshiftmonorepo/types'
import { KnownChainIds } from '@shapeshiftmonorepo/types'
import type * as unchained from '@shapeshiftmonorepo/unchained-client'
} from '@shapeshiftoss/caip'
import type { Bip44Params, EvmChainId } from '@shapeshiftoss/types'
import { KnownChainIds } from '@shapeshiftoss/types'
import type * as unchained from '@shapeshiftoss/unchained-client'
import type { ETHSignMessage, ETHSignTx, ETHWallet } from '@shapeshiftoss/hdwallet-core'
import type { NativeAdapterArgs } from '@shapeshiftoss/hdwallet-native'
import { NativeHDWallet } from '@shapeshiftoss/hdwallet-native'
Expand Down
10 changes: 5 additions & 5 deletions packages/chain-adapters/src/evm/gnosis/GnosisChainAdapter.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { AssetId } from '@shapeshiftmonorepo/caip'
import { ASSET_REFERENCE, gnosisAssetId } from '@shapeshiftmonorepo/caip'
import type { RootBip44Params } from '@shapeshiftmonorepo/types'
import { KnownChainIds } from '@shapeshiftmonorepo/types'
import * as unchained from '@shapeshiftmonorepo/unchained-client'
import type { AssetId } from '@shapeshiftoss/caip'
import { ASSET_REFERENCE, gnosisAssetId } from '@shapeshiftoss/caip'
import type { RootBip44Params } from '@shapeshiftoss/types'
import { KnownChainIds } from '@shapeshiftoss/types'
import * as unchained from '@shapeshiftoss/unchained-client'

import { ChainAdapterDisplayName } from '../../types'
import type { ChainAdapterArgs } from '../EvmBaseAdapter'
Expand Down
Loading

0 comments on commit 5111fe3

Please sign in to comment.