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

2393 Commits

Author SHA1 Message Date
Jamie Hewitt
1e2ed45a8f
Merge pull request #1428 from oceanprotocol/issue-1335-setPublishingMarketFee-function
Creating set publishing market fee function
2022-05-18 17:30:42 +03:00
Jamie Hewitt
729a60f9a9 Fixing codeclimate issue 2022-05-18 17:07:53 +03:00
Jamie Hewitt
4b9f6c9c00 Checking if the caller is Publishing Market Fee Address before calling the smart contract 2022-05-18 17:01:05 +03:00
Jamie Hewitt
cd8f892d38 Using new generic gas estimate function 2022-05-18 16:28:32 +03:00
Jamie Hewitt
9070b61111 Merge branch 'v4main' of github.com:oceanprotocol/ocean.js into issue-1335-setPublishingMarketFee-function 2022-05-18 16:06:41 +03:00
Jamie Hewitt
5979f97e6b Moving PublishingMarketFee to @types/erc20.ts 2022-05-18 15:33:21 +03:00
Miquel A. Cabot
c4ee9bc7f4
Merge pull request #1362 from oceanprotocol/issue-1348-rewrite-nftfactory-test
Issue-#1348 rewrite NftFactory test
2022-05-18 11:57:58 +02:00
alexcos20
620b5d3a24 Release 1.0.0-next.44 v1.0.0-next.44 2022-05-17 16:27:57 -07:00
Alex Coseru
73193d1878
bump to contracts 34 (#1476) 2022-05-18 02:26:25 +03:00
mihaisc
471e3e503d
update max out (#1475)
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-05-17 22:34:09 +03:00
Miquel A. Cabot
65c36750ca
Merge pull request #1454 from oceanprotocol/issue-1343-rewrite-simple-publish-consume-flow-test
Issue-#1343: Rewrite simple publish consume flow test
2022-05-17 17:21:50 +02:00
Miquel A. Cabot
2c19258782 Merge branch 'v4main' into issue-1343-rewrite-simple-publish-consume-flow-test 2022-05-17 13:34:38 +02:00
Miquel A. Cabot
110368729f Merge branch 'v4main' into issue-1348-rewrite-nftfactory-test 2022-05-17 11:48:25 +02:00
alexcos20
41e68657b9 Release 1.0.0-next.43 v1.0.0-next.43 2022-05-17 02:11:12 -07:00
Alex Coseru
bf060948a8
bump contracts to alpha.33 (#1472)
* bump contracts
* remove getOPCCollector
2022-05-17 12:04:51 +03:00
dependabot[bot]
6b02337869
Bump @types/node from 17.0.32 to 17.0.34 (#1471)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.32 to 17.0.34.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  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-05-17 12:01:15 +03:00
Miquel A. Cabot
4cfc5ad567 Use transfer() and approve() functions 2022-05-16 17:48:35 +02:00
Miquel A. Cabot
bf3f487b8a Merge branch 'v4main' into issue-1348-rewrite-nftfactory-test 2022-05-16 16:52:08 +02:00
Miquel A. Cabot
fda1203068
Merge pull request #1387 from oceanprotocol/add-transfer-function-to-tokenutils
Add transfer() function to TokenUtils
2022-05-16 16:34:01 +02:00
Miquel A. Cabot
cab4d5b1a7 restore estApprove() function and add estTransfer() function 2022-05-16 15:48:40 +02:00
Miquel A. Cabot
0a0d96aa01 Merge branch 'v4main' into add-transfer-function-to-tokenutils 2022-05-16 15:23:39 +02:00
Miquel A. Cabot
6016c66c07
Merge pull request #1394 from oceanprotocol/issue-1391-generic-estimategas-function
Issue-#1391: Add generic estimateGas() function
2022-05-16 13:10:01 +02:00
Miquel A. Cabot
6f74add54b revert console.log estimateGas() result 2022-05-12 21:33:16 +02:00
Miquel A. Cabot
079a583041 console.log estimateGas() result 2022-05-12 19:02:44 +02:00
Miquel A. Cabot
607d894de3 Merge branch 'v4main' into issue-1343-rewrite-simple-publish-consume-flow-test 2022-05-12 17:54:12 +02:00
Miquel A. Cabot
f1f5792114 Merge branch 'v4main' into add-transfer-function-to-tokenutils 2022-05-12 17:49:16 +02:00
Miquel A. Cabot
0cb8841e39 Merge branch 'v4main' into issue-1348-rewrite-nftfactory-test 2022-05-12 17:40:03 +02:00
Miquel A. Cabot
fa6c27292c Merge branch 'v4main' into issue-1391-generic-estimategas-function 2022-05-12 17:28:30 +02:00
dependabot[bot]
cac327c7bd
Bump @types/node from 17.0.31 to 17.0.32 (#1465)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.31 to 17.0.32.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  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-05-11 07:08:07 +03:00
alexcos20
56f992e760 Release 1.0.0-next.42 v1.0.0-next.42 2022-05-09 23:04:58 -07:00
Alex Coseru
8de0ae19a1
bump contracts to alpha.32 (#1464) 2022-05-10 09:03:29 +03:00
Alex Coseru
6d9f9fed92
simple compute flow (#1458)
* refactor compute flow
2022-05-10 08:52:24 +03:00
Miquel A. Cabot
b66fffc635
add optional decimals parameter at joinswapExternAmountIn() and exitswapPoolAmountIn() (#1461) 2022-05-09 17:41:11 +03:00
Miquel A. Cabot
11508b7794 add DDO type 2022-05-06 11:14:39 +02:00
mihaisc
1d327bf100
Release 1.0.0-next.41 v1.0.0-next.41 2022-05-06 11:54:12 +03:00
0e261b4dec
Lock microbundle to v0.14.2 (#1457)
* lock microbundle to v0.14.2

* put back js extension for default export
2022-05-06 11:44:52 +03:00
Miquel A. Cabot
a75ca34e9e don't deploy smart contracts 2022-05-06 10:43:44 +02:00
Miquel A. Cabot
2632c12271
Merge pull request #1452 from oceanprotocol/issue-1345-rewrite-provider-test
Issue-#1345: Rewrite Provider test
2022-05-06 09:00:46 +02:00
7782bf49b3
Release 1.0.0-next.40 v1.0.0-next.40 2022-05-05 16:42:21 +01:00
0e3be3c4f9
update default ESM export (#1456) 2022-05-05 16:40:31 +01:00
af5137c370
Release 1.0.0-next.39 v1.0.0-next.39 2022-05-05 12:55:52 +01:00
Miquel A. Cabot
c97f750313 refactor SimplePublishConsumeFlow.test.ts file 2022-05-05 13:39:41 +02:00
Miquel A. Cabot
b40f52d6a6 add assertion 2022-05-04 18:25:12 +02:00
Miquel A. Cabot
997bbf57b4 test getComputeEnvironments() 2022-05-04 18:13:36 +02:00
Miquel A. Cabot
f8a42d9559
Issue-#1409: Excessive contract calls (#1424)
* add decimals parameter to unitsToAmount() and amountToUnits()

* unify use of amountToUnits() and unitsToAmount()

* use tokenDecimals in TokenUtils

* add tokenDecimals to functions in SideStaking

* add parameters to doc comments

* calculate amountToUnits and unitsToAmount using  decimals in FixedRateExchange

* remove unused amountToUnits() function from SideStaking

* use decimals in unitsToAmount() function in Pool

* add tokenInDecimals and tokenOutDecimals to TokenInOutMarket interface

* use decimals in amountToUnits() function in Pool

* fix errors related to pool decimals

Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-05-03 19:06:39 +03:00
Miquel A. Cabot
9cb1ea51a8
Merge pull request #1430 from oceanprotocol/issue-1425-use-proper-config-in-constructors
Issue-#1425: Use proper config in constructors
2022-05-03 16:08:04 +02:00
mihaisc
1b93d86df5
fix test
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-05-03 13:32:43 +03:00
mihaisc
60ffa8b271
fix test
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-05-03 13:27:05 +03:00
mihaisc
2d744c3dd2
change param order
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-05-03 13:17:48 +03:00
mihaisc
c7dfe50b92
Merge branch 'v4main' into issue-1425-use-proper-config-in-constructors 2022-05-03 13:01:01 +03:00