Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
SigismundSchlomo committed May 31, 2024
1 parent 64c156f commit 3c384cd
Show file tree
Hide file tree
Showing 11 changed files with 1,472 additions and 1,487 deletions.
2 changes: 1 addition & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Percent } from '@sigismund/sdk-core'
import { Percent } from '@airdao/sdk-core'
import JSBI from 'jsbi'

export const FACTORY_ADDRESS = '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f'
Expand Down
2 changes: 1 addition & 1 deletion src/entities/entities.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import JSBI from 'jsbi'
import invariant from 'tiny-invariant'
import { WETH9 as _WETH9, TradeType, Token, CurrencyAmount } from '@sigismund/sdk-core'
import { WETH9 as _WETH9, TradeType, Token, CurrencyAmount } from '@airdao/sdk-core'
import { Pair, Route, Trade } from '../index'

const ADDRESSES = [
Expand Down
2 changes: 1 addition & 1 deletion src/entities/pair.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ChainId, CurrencyAmount, Price, Token, WETH9 } from '@sigismund/sdk-core'
import { ChainId, CurrencyAmount, Price, Token, WETH9 } from '@airdao/sdk-core'
import { InsufficientInputAmountError } from '../errors'
import { computePairAddress, Pair } from './pair'
import { BigNumber } from '@ethersproject/bignumber'
Expand Down
2 changes: 1 addition & 1 deletion src/entities/pair.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BigintIsh, Price, sqrt, Token, CurrencyAmount, Percent } from '@sigismund/sdk-core'
import { BigintIsh, Price, sqrt, Token, CurrencyAmount, Percent } from '@airdao/sdk-core'
import invariant from 'tiny-invariant'
import JSBI from 'jsbi'
import { pack, keccak256 } from '@ethersproject/solidity'
Expand Down
2 changes: 1 addition & 1 deletion src/entities/route.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Ether, Token, WETH9, CurrencyAmount } from '@sigismund/sdk-core'
import { Ether, Token, WETH9, CurrencyAmount } from '@airdao/sdk-core'
import { Pair, Route } from './index'

describe('Route', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/entities/route.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import invariant from 'tiny-invariant'
import { Currency, Price, Token } from '@sigismund/sdk-core'
import { Currency, Price, Token } from '@airdao/sdk-core'

import { Pair } from './pair'

Expand Down
2 changes: 1 addition & 1 deletion src/entities/trade.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Pair } from './pair'
import { Route } from './route'
import { Trade } from './trade'
import JSBI from 'jsbi'
import { Ether, CurrencyAmount, Percent, Token, TradeType, WETH9, Price } from '@sigismund/sdk-core'
import { Ether, CurrencyAmount, Percent, Token, TradeType, WETH9, Price } from '@airdao/sdk-core'

describe('Trade', () => {
const ETHER = Ether.onChain(1)
Expand Down
2 changes: 1 addition & 1 deletion src/entities/trade.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
Price,
sortedInsert,
TradeType
} from '@sigismund/sdk-core'
} from '@airdao/sdk-core'
import { ONE, ZERO } from '../constants'
import invariant from 'tiny-invariant'

Expand Down
2 changes: 1 addition & 1 deletion src/router.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import JSBI from 'jsbi'
import { Pair, Route, Trade } from './entities'
import { Router } from './router'
import invariant from 'tiny-invariant'
import { CurrencyAmount, Percent, Ether, Token, WETH9 } from '@sigismund/sdk-core'
import { CurrencyAmount, Percent, Ether, Token, WETH9 } from '@airdao/sdk-core'

function checkDeadline(deadline: string[] | string): void {
expect(typeof deadline).toBe('string')
Expand Down
2 changes: 1 addition & 1 deletion src/router.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Token, Currency, CurrencyAmount, Percent, TradeType, validateAndParseAddress } from '@sigismund/sdk-core'
import { Token, Currency, CurrencyAmount, Percent, TradeType, validateAndParseAddress } from '@airdao/sdk-core'
import { Trade } from './entities'
import invariant from 'tiny-invariant'

Expand Down
2,939 changes: 1,462 additions & 1,477 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 3c384cd

Please sign in to comment.