Skip to content

Commit

Permalink
v3.2.3-airdao.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SigismundSchlomo committed May 30, 2024
1 parent 8194848 commit 987f670
Show file tree
Hide file tree
Showing 13 changed files with 16,237 additions and 2,840 deletions.
13,040 changes: 13,040 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@uniswap/v2-sdk",
"name": "@airdao/v2-sdk",
"license": "MIT",
"version": "3.2.3",
"version": "3.2.3-airdao.0",
"description": "🛠 An SDK for building applications on top of Uniswap V2",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand All @@ -24,7 +24,7 @@
"dependencies": {
"@ethersproject/address": "^5.0.0",
"@ethersproject/solidity": "^5.0.0",
"@uniswap/sdk-core": "^4.0.7",
"@airdao/sdk-core": "4.0.7-airdao.0",
"tiny-invariant": "^1.1.0",
"tiny-warning": "^1.0.3"
},
Expand Down
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 '@uniswap/sdk-core'
import { Percent } from '@sigismund/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 '@uniswap/sdk-core'
import { WETH9 as _WETH9, TradeType, Token, CurrencyAmount } from '@sigismund/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 '@uniswap/sdk-core'
import { ChainId, CurrencyAmount, Price, Token, WETH9 } from '@sigismund/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 '@uniswap/sdk-core'
import { BigintIsh, Price, sqrt, Token, CurrencyAmount, Percent } from '@sigismund/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 '@uniswap/sdk-core'
import { Ether, Token, WETH9, CurrencyAmount } from '@sigismund/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 '@uniswap/sdk-core'
import { Currency, Price, Token } from '@sigismund/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 '@uniswap/sdk-core'
import { Ether, CurrencyAmount, Percent, Token, TradeType, WETH9, Price } from '@sigismund/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 '@uniswap/sdk-core'
} from '@sigismund/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 '@uniswap/sdk-core'
import { CurrencyAmount, Percent, Ether, Token, WETH9 } from '@sigismund/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 '@uniswap/sdk-core'
import { Token, Currency, CurrencyAmount, Percent, TradeType, validateAndParseAddress } from '@sigismund/sdk-core'
import { Trade } from './entities'
import invariant from 'tiny-invariant'

Expand Down
Loading

0 comments on commit 987f670

Please sign in to comment.