Skip to content

Commit

Permalink
core/periphery version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
moodysalem committed Apr 21, 2021
1 parent 75f581e commit 8333357
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@
"@ethersproject/abi": "^5.0.12",
"@ethersproject/solidity": "^5.0.9",
"@uniswap/sdk-core": "^1.0.9",
"@uniswap/v3-periphery": "^1.0.0-beta.19",
"@uniswap/v3-periphery": "^1.0.0-beta.21",
"tiny-invariant": "^1.1.0",
"tiny-warning": "^1.0.3"
},
"devDependencies": {
"@types/jest": "^24.0.25",
"@uniswap/v3-core": "^1.0.0-rc.1",
"@uniswap/v3-core": "^1.0.0-rc.2",
"tsdx": "^0.14.1"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const SWAP_ROUTER_ADDRESS = '0x1F98431c8aD98523631AE4a59f267346ea31F984'
// todo: replace with v3 nft position manager
export const NONFUNGIBLE_POSITION_MANAGER_ADDRESS = '0x1F98431c8aD98523631AE4a59f267346ea31F984'

export const POOL_INIT_CODE_HASH = '0xa8180af292c6986c74fa300a542e049db8a89221e2452e431c3d8103b610c568'
export const POOL_INIT_CODE_HASH = '0xc02f72e8ae5e68802e6d893d58ddfb0df89a2f4c9c2f04927db1186a29373660'

/**
* The default factory enabled fee amounts, denominated in hundredths of bips.
Expand Down
2 changes: 1 addition & 1 deletion src/entities/pool.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ describe('Pool', () => {
describe('#getAddress', () => {
it('matches an example', () => {
const result = Pool.getAddress(USDC, DAI, FeeAmount.LOW)
expect(result).toEqual('0xE2E0399F5Fa02d7a3B6A9566539C14C799FAf413')
expect(result).toEqual('0x760E81283C2eb407D3307D5cAd5B5Ee8972CB84a')
})
})

Expand Down
2 changes: 1 addition & 1 deletion src/utils/computePoolAddress.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe('#computePoolAddress', () => {
tokenB
})

expect(result).toEqual('0x5a0AABBB6A52d525305553659f70D5Cb2423ffeF')
expect(result).toEqual('0x1F6c3461c8fCE2312463f5BF56b2630A991CA747')
})

it('should correctly compute the pool address', () => {
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1547,20 +1547,20 @@
resolved "https://registry.yarnpkg.com/@uniswap/v2-core/-/v2-core-1.0.1.tgz#af8f508bf183204779938969e2e54043e147d425"
integrity sha512-MtybtkUPSyysqLY2U210NBDeCHX+ltHt3oADGdjqoThZaFRDKwM6k1Nb3F0A3hk5hwuQvytFWhrWHOEq6nVJ8Q==

"@uniswap/[email protected].1", "@uniswap/v3-core@^1.0.0-rc.1":
version "1.0.0-rc.1"
resolved "https://registry.yarnpkg.com/@uniswap/v3-core/-/v3-core-1.0.0-rc.1.tgz#f2bbc483451364a951fba06eb2d978c6e8bdd58f"
integrity sha512-4ET2H0a8p7nVBGFWfio9SHc+RA6UIXEvlTRIJNsDwjQvfs8Jq9lfJ+eSOUTGmiB8Vp8V5dWarLDBU/rDE159pQ==
"@uniswap/[email protected].2", "@uniswap/v3-core@^1.0.0-rc.2":
version "1.0.0-rc.2"
resolved "https://registry.yarnpkg.com/@uniswap/v3-core/-/v3-core-1.0.0-rc.2.tgz#a1afb3253a7295bec6165ad1d960121e6851a576"
integrity sha512-vsqkqAHPCKsVi0nWwWeX+mHnSTJ8ZUdu1zAVXB9Mj9A+aeBQGV9foRKs9ufDGJq7S1nqmz+7FdjSOcVoeiUqgQ==

"@uniswap/v3-periphery@^1.0.0-beta.19":
version "1.0.0-beta.19"
resolved "https://registry.yarnpkg.com/@uniswap/v3-periphery/-/v3-periphery-1.0.0-beta.19.tgz#d9af90b12657049674cd2f26ae1c61b6cc393261"
integrity sha512-ZQX5KN/89OB7UjrmGOSB7QZIEbgW+R0uaVM5NdlK63Ji0rZjmddeoYS8oNk7i5BU3WR+xJY5DgfiDSmn1W6Sww==
"@uniswap/v3-periphery@^1.0.0-beta.21":
version "1.0.0-beta.21"
resolved "https://registry.yarnpkg.com/@uniswap/v3-periphery/-/v3-periphery-1.0.0-beta.21.tgz#0b8510bebca4b74aabdca72c5545bd5bec5128cd"
integrity sha512-o4U+lyH6qtlG2RTy3H/mtUGJuflkmVJ0pnXyrThZKC1KV/avlVgf4hmlG2PvOCV0yfwGMjQARKQ4jv6OpLFVqA==
dependencies:
"@openzeppelin/contracts" "3.4.1-solc-0.7-2"
"@uniswap/lib" "^4.0.1-alpha"
"@uniswap/v2-core" "1.0.1"
"@uniswap/v3-core" "1.0.0-rc.1"
"@uniswap/v3-core" "1.0.0-rc.2"

abab@^2.0.0:
version "2.0.5"
Expand Down

0 comments on commit 8333357

Please sign in to comment.