diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b9859420..31b7d085 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -16,7 +16,7 @@ jobs: - name: Set up node uses: actions/setup-node@v2 with: - node-version: 12 + node-version: 14 - name: Install dependencies run: yarn install --frozen-lockfile diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 09f2ffa7..21fd2e07 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -13,7 +13,7 @@ jobs: name: Unit tests strategy: matrix: - node: ['10.x', '12.x', '14.x'] + node: ['14.x', '16.x', '18.x'] runs-on: ubuntu-latest diff --git a/package.json b/package.json index 52fcd46c..525b678a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@uniswap/sdk-core", "license": "MIT", - "version": "4.0.7", + "version": "4.0.9", "description": "⚒️ An SDK for building applications on top of Uniswap V3", "main": "dist/index.js", "typings": "dist/index.d.ts", @@ -36,7 +36,7 @@ "jest-environment-jsdom": "^29.5.0" }, "engines": { - "node": ">=10" + "node": ">=14" }, "prettier": { "printWidth": 120, diff --git a/src/entities/weth9.ts b/src/entities/weth9.ts index 560938e1..9558f922 100644 --- a/src/entities/weth9.ts +++ b/src/entities/weth9.ts @@ -14,5 +14,11 @@ export const WETH9: { [chainId: number]: Token } = { [69]: new Token(69, '0x4200000000000000000000000000000000000006', 18, 'WETH', 'Wrapped Ether'), [42161]: new Token(42161, '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1', 18, 'WETH', 'Wrapped Ether'), - [421611]: new Token(421611, '0xB47e6A5f8b33b3F17603C83a0535A9dcD7E32681', 18, 'WETH', 'Wrapped Ether') + [421611]: new Token(421611, '0xB47e6A5f8b33b3F17603C83a0535A9dcD7E32681', 18, 'WETH', 'Wrapped Ether'), + + [8453]: new Token(8453, '0x4200000000000000000000000000000000000006', 18, 'WETH', 'Wrapped Ether'), + + [56]: new Token(56, '0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c', 18, 'WBNB', 'Wrapped BNB'), + [137]: new Token(137, '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270', 18, 'WMATIC', 'Wrapped MATIC'), + [43114]: new Token(43114, '0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7', 18, 'WAVAX', 'Wrapped AVAX') }