1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

2253 Commits

Author SHA1 Message Date
Alex Coseru
29c5c8b60e
fix mm signature (#1420)
* fix mm signature
2022-04-14 18:19:56 +03:00
Soon Huat
628c2fc1fc
setPaymentCollector apply same checking as contract (#1396)
* setPaymentCollector apply same checking as contract

* unit test for setPaymentCollector for owner and erc20 deployer

* setPaymentCollector amend redundent truth check on boolean value

Co-authored-by: Soon Huat <soon_huat.phan@daimler.com>
2022-04-14 15:43:01 +01:00
alexcos20
58ced6cb61 Release 1.0.0-next.34 v1.0.0-next.34 2022-04-14 06:53:51 -07:00
Alex Coseru
e964b2a4a4
refactor signatures (#1395)
* refactor signatures
2022-04-14 16:52:12 +03:00
dependabot[bot]
4dba394fbc
Bump @types/chai from 4.3.0 to 4.3.1 (#1417)
Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai)

---
updated-dependencies:
- dependency-name: "@types/chai"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-14 07:05:33 +03:00
dependabot[bot]
0ffa3edb2f
Bump @truffle/hdwallet-provider from 2.0.5 to 2.0.6 (#1418)
Bumps [@truffle/hdwallet-provider](https://github.com/trufflesuite/truffle/tree/HEAD/packages/hdwallet-provider) from 2.0.5 to 2.0.6.
- [Release notes](https://github.com/trufflesuite/truffle/releases)
- [Commits](https://github.com/trufflesuite/truffle/commits/@truffle/hdwallet-provider@2.0.6/packages/hdwallet-provider)

---
updated-dependencies:
- dependency-name: "@truffle/hdwallet-provider"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-14 06:52:41 +03:00
Miquel A. Cabot
d6f2daa522
Merge pull request #1382 from oceanprotocol/issue-1353-rewrite-router-test
Issue-#1353: Rewrite Router test
2022-04-12 09:42:05 +02:00
Miquel A. Cabot
21a7b739f4
Merge pull request #1414 from oceanprotocol/issue-1413-refactor-zero-address-constant
Issue-#1413: Refactor ZERO_ADDRESS constant
2022-04-12 09:41:10 +02:00
Miquel A. Cabot
db866d271c
Merge pull request #1411 from oceanprotocol/issue-1410-export-router-and-sidestaking-classes
Issue-#1410: Export Router and SideStaking classes
2022-04-12 09:41:02 +02:00
dependabot[bot]
7d3505166d
Bump prettier from 2.6.1 to 2.6.2 (#1388)
Bumps [prettier](https://github.com/prettier/prettier) from 2.6.1 to 2.6.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.6.1...2.6.2)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-12 08:42:52 +03:00
dependabot[bot]
ef0bd81923
Bump release-it from 14.14.1 to 14.14.2 (#1415)
Bumps [release-it](https://github.com/release-it/release-it) from 14.14.1 to 14.14.2.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/14.14.1...14.14.2)

---
updated-dependencies:
- dependency-name: release-it
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-12 06:31:04 +03:00
Miquel A. Cabot
ec10f43ac7 Use ZERO_ADDRESS constant in src folder files 2022-04-11 13:19:26 +02:00
Miquel A. Cabot
56740e892a export Router and Sidestaking classes 2022-04-11 12:25:21 +02:00
dependabot[bot]
149ea08371
Bump typedoc from 0.22.14 to 0.22.15 (#1407)
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.22.14 to 0.22.15.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.22.14...v0.22.15)

---
updated-dependencies:
- dependency-name: typedoc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 07:32:30 +03:00
dependabot[bot]
15bc9d83c0
Bump @truffle/hdwallet-provider from 2.0.4 to 2.0.5 (#1408)
Bumps [@truffle/hdwallet-provider](https://github.com/trufflesuite/truffle/tree/HEAD/packages/hdwallet-provider) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/trufflesuite/truffle/releases)
- [Commits](https://github.com/trufflesuite/truffle/commits/@truffle/hdwallet-provider@2.0.5/packages/hdwallet-provider)

---
updated-dependencies:
- dependency-name: "@truffle/hdwallet-provider"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 07:32:17 +03:00
dependabot[bot]
bec034d04c
Bump release-it from 14.14.0 to 14.14.1 (#1405)
Bumps [release-it](https://github.com/release-it/release-it) from 14.14.0 to 14.14.1.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/14.14.0...14.14.1)

---
updated-dependencies:
- dependency-name: release-it
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 07:31:38 +03:00
dependabot[bot]
a9129d9a89
Bump typedoc from 0.22.13 to 0.22.14 (#1402)
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.22.13 to 0.22.14.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.22.13...v0.22.14)

---
updated-dependencies:
- dependency-name: typedoc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-08 12:23:29 +01:00
dependabot[bot]
49b1b7d881
Bump web3 from 1.7.1 to 1.7.3 (#1403)
Bumps [web3](https://github.com/ethereum/web3.js) from 1.7.1 to 1.7.3.
- [Release notes](https://github.com/ethereum/web3.js/releases)
- [Changelog](https://github.com/ChainSafe/web3.js/blob/v1.7.3/CHANGELOG.md)
- [Commits](https://github.com/ethereum/web3.js/compare/v1.7.1...v1.7.3)

---
updated-dependencies:
- dependency-name: web3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-08 12:22:56 +01:00
Miquel A. Cabot
508e1379bc refactor ercparams constant 2022-04-07 20:52:04 +02:00
Miquel A. Cabot
ecaf7ec30e Merge branch 'v4main' into issue-1353-rewrite-router-test 2022-04-06 17:20:00 +02:00
alexcos20
05e8a91227 Release 1.0.0-next.33 v1.0.0-next.33 2022-04-04 04:58:02 -07:00
Alex Coseru
005c2d9760
Feature/bump contracts to alpha 28 (#1392)
* bump contracts to alpha 28
2022-04-04 14:56:41 +03:00
dependabot[bot]
be25458ffe
Bump mock-local-storage from 1.1.20 to 1.1.21 (#1384)
Bumps [mock-local-storage](https://gitlab.com/kaictl/node) from 1.1.20 to 1.1.21.
- [Release notes](https://gitlab.com/kaictl/node/tags)
- [Commits](https://gitlab.com/kaictl/node/commits/master)

---
updated-dependencies:
- dependency-name: mock-local-storage
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 13:01:12 +03:00
Miquel A. Cabot
1aa678ed4d standarize DAI amount 2022-04-03 09:08:29 +02:00
Miquel A. Cabot
fb937cdd21 fix assert error in Pool 2022-04-03 09:07:34 +02:00
dependabot[bot]
0548aba35c
Bump release-it from 14.13.1 to 14.14.0 (#1385) 2022-04-01 09:22:32 +01:00
Miquel A. Cabot
bbbc64fb5e fix lint errors 2022-03-31 23:44:52 +02:00
Miquel A. Cabot
08552eb446 refactor constants 2022-03-31 23:43:32 +02:00
Miquel A. Cabot
0ecc973e08 refactor pool and erc creation params 2022-03-31 23:32:17 +02:00
Miquel A. Cabot
ae84833053 use approve() method from utils 2022-03-31 23:24:49 +02:00
Miquel A. Cabot
edc4e83e58 fix lint errors 2022-03-31 23:13:39 +02:00
Miquel A. Cabot
73c4647783 refactor constants 2022-03-31 23:10:46 +02:00
Miquel A. Cabot
a2964d4a30 use balance() function from library and don't use imported abis 2022-03-31 23:05:03 +02:00
Miquel A. Cabot
8f84b85a42 Revert "remove unused approve method"
This reverts commit 9eb88f47c68b1f6206857d59feaf70d26ddce177.
2022-03-31 21:51:48 +02:00
Miquel A. Cabot
9ff8b977e6 Revert "use balance() function from library"
This reverts commit b6894100a820e603273594b311f9fd37af3a5404.
2022-03-31 21:51:30 +02:00
Miquel A. Cabot
2de5418899 Merge branch 'v4main' into issue-1353-rewrite-router-test 2022-03-30 18:51:11 +02:00
Miquel A. Cabot
f1e9de361d
Merge pull request #1357 from oceanprotocol/issue-1356-rewrite-testcontracthandler-helper-class
Issue-#1356 rewrite testcontracthandler helper class
2022-03-30 18:45:18 +02:00
Miquel A. Cabot
5766f87427 revert package-lock to v4main version 2022-03-30 17:12:59 +02:00
Miquel A. Cabot
b6894100a8 use balance() function from library 2022-03-30 12:43:44 +02:00
Miquel A. Cabot
9eb88f47c6 remove unused approve method 2022-03-30 12:26:13 +02:00
dependabot[bot]
eaf463cd45
Bump @oceanprotocol/contracts from 1.0.0-alpha.26 to 1.0.0-alpha.27 (#1381)
Bumps [@oceanprotocol/contracts](https://github.com/oceanprotocol/contracts) from 1.0.0-alpha.26 to 1.0.0-alpha.27.
- [Release notes](https://github.com/oceanprotocol/contracts/releases)
- [Commits](https://github.com/oceanprotocol/contracts/compare/v1.0.0-alpha.26...v1.0.0-alpha.27)

---
updated-dependencies:
- dependency-name: "@oceanprotocol/contracts"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-30 11:18:55 +01:00
Miquel A. Cabot
d3f9edc1bd remove unused variables 2022-03-30 12:13:35 +02:00
Miquel A. Cabot
a4344580ed update package-lock file 2022-03-29 22:41:30 +02:00
Miquel A. Cabot
12eb0aebc2 fix merge errors 2022-03-29 22:41:20 +02:00
Miquel A. Cabot
736cf2e736 Merge branch 'v4main' into issue-1356-rewrite-testcontracthandler-helper-class 2022-03-29 22:30:51 +02:00
mihaisc
271e870b5e
Release 1.0.0-next.32 v1.0.0-next.32 2022-03-29 20:08:11 +03:00
mihaisc
776a50a515
comment broken tests (#1379)
* comment broken tests

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* comment broken tests

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* comment broken tests

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* comment broken tests

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* comment broken tests

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-03-29 19:58:59 +03:00
mihaisc
76623648d2 Release 1.0.0-next.31 v1.0.0-next.31 2022-03-29 17:20:43 +03:00
mihaisc
eee596bbd6 Release 1.0.0-next.30 v1.0.0-next.30 2022-03-29 17:14:35 +03:00
Soon Huat
9106a78646
default amountToUnits decimals to 18, FRE consumerMarketSwapFee witho… (#1374)
* default amountToUnits decimals to 18, FRE consumerMarketSwapFee without basetoken

* Revert "default amountToUnits decimals to 18, FRE consumerMarketSwapFee without basetoken"

This reverts commit 14ef599738a85d82f1268ed77a338b4ba1b9f668.

* FRE, web3 toWei for percentage based value

Co-authored-by: Soon Huat <soon_huat.phan@daimler.com>
2022-03-29 15:54:09 +01:00