4.3.0 • Published 3 years ago

easybakeswap-sdk v4.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

EasyBakeSwap SDK

Running tests

To run the tests, follow these steps. You must have at least node v10 and yarn installed.

First clone the repository:

git clone https://github.com/easybakeswap/easybakeswap-sdk.git

Move into the easybakeswap-sdk working directory

cd easybake-swap-sdk/

Install dependencies

yarn install

Run tests

yarn test

You should see output like the following:

yarn run v1.22.4
$ tsdx test
 PASS  test/sortedInsert.test.ts
 PASS  test/validateAndParseAddress.test.ts
 PASS  test/token.test.ts
 PASS  test/currencyAmount.test.ts
 PASS  test/fraction.test.ts
 PASS  test/constants.test.ts
 PASS  test/route.test.ts
 PASS  test/router.test.ts
 PASS  test/pair.test.ts
 PASS  test/trade.test.ts
 PASS  test/entities.test.ts
 PASS  test/tokenAmount.test.ts
 PASS  test/sqrt.test.ts

Test Suites: 1 skipped, 13 passed, 13 of 14 total
Tests:       3 skipped, 137 passed, 140 total
Snapshots:   0 total
Time:        4.68s, estimated 9s
Ran all test suites.
✨  Done in 6.63s.

Factory Address and Code Hash (on Rinkeby)

  • FACTORY_ADDRESS = "0x2664b895b5d484de76c621c4bf320f42c2cfe00d"; = INIT_CODE_HASH = "0xd19e269b2573a69d30524d432a5976519a59906e8744a1b07187c30dc7d27fd0";
  • WETH = "0xc778417E063141139Fce010982780140Aa0cD5Ab";
  • ROUTER = "0x01cc4ae463325689ea73a4dc9ee8c6583e8a68b7";
4.3.0

3 years ago

3.7.0

3 years ago

4.0.0

3 years ago

4.2.0

3 years ago

3.4.0

3 years ago

3.3.0

3 years ago

3.2.0

3 years ago

3.1.0

3 years ago

3.4.3

3 years ago

3.6.0

3 years ago

3.4.2

3 years ago

3.5.0

3 years ago

3.4.1

3 years ago

3.0.0

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

1.1.2

3 years ago

0.2.0

3 years ago

0.1.2

3 years ago

0.1.3

3 years ago

0.1.1

3 years ago