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

40 Commits

Author SHA1 Message Date
Bogdan Fazakas
f96ccb0c56
Add reuseOrder method (#1421)
* added reuseOrder method

* wip add test to reuseOrder

* update test

* check also ProviderFee event
2022-04-20 16:42:07 +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
Alex Coseru
005c2d9760
Feature/bump contracts to alpha 28 (#1392)
* bump contracts to alpha 28
2022-04-04 14:56:41 +03:00
Miquel A. Cabot
546f516cee add web3 parameter 2022-03-20 19:03:14 +01:00
Miquel A. Cabot
589ec02938 refactor TestContractHandler variable names 2022-03-20 13:55:53 +01:00
Miquel A. Cabot
a77f1c5862 convert TestContractHandler class to function 2022-03-19 15:32:02 +01:00
Miquel A. Cabot
1e12ddd630 refactor TestContractHandler.getAccounts() 2022-03-18 18:21:27 +01:00
Miquel A. Cabot
f0a008ce89 use imports from TestContractHandler instead of parameters 2022-03-18 17:27:20 +01:00
Miquel A. Cabot
165b4c8680 refactor imports in the tests 2022-03-16 14:25:09 +01:00
Miquel A. Cabot
35722239df use configuration file to read variables 2022-03-16 13:06:10 +01:00
Miquel A. Cabot
896211b93f read configHelperNetworks values for the tests 2022-03-15 19:13:58 +01:00
Alex Coseru
9b724d71bd
Feature/contracts alpha 22 (#1334)
* bump contracts to alpha 22
2022-03-14 14:23:16 +02:00
Alex Coseru
91a4431938
update to contracts alpha.19 (#1286) 2022-02-14 18:36:15 +02:00
mihaisc
3c315eb49d
fixes (#1273)
* fixes

* fix test

* fix swap

* fix test

* fix test

* more fixes

* fixes

* change swapMarketFee from wei to decimal

* fix
2022-02-10 07:38:48 -08:00
Bogdan Fazakas
14862f6a3a
Moved interfaces under types and some small fixes (#1253)
* moved interfaces and some fixes

* throw proper error messages on try catch blocks in pool class
2022-02-07 08:06:58 -08:00
mihaisc
fc711ece5c
remove ammount (#1241)
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-01-28 02:12:57 -08:00
mihaisc
be7adcb6f8
fix order, update contracts (#1240)
* fix order, update contracts

* remove console.log

* remove force contracts install
2022-01-26 10:27:58 -08:00
Bogdan Fazakas
5cb548ca59
replaced local artifacts with the published ones (#1232) 2022-01-20 04:39:58 -08:00
Bogdan Fazakas
d8a036e1ba removed logs 2022-01-20 00:33:32 +02:00
Bogdan Fazakas
8c9e21f309 fix start order and multi order 2022-01-19 18:56:59 +02:00
Bogdan Fazakas
ac52ad9f66 updated also token order struct 2022-01-19 14:33:21 +02:00
Bogdan Fazakas
90c8a3a0c8 put back BaseToken instead of Basetoken 2022-01-19 09:55:18 +02:00
Bogdan Fazakas
69432720f0 put back baseToken instead of basetoken 2022-01-19 09:48:23 +02:00
Bogdan Fazakas
fea2fde9e3 fixed lint 2022-01-17 15:26:48 +02:00
Bogdan Fazakas
471875f85c update codebase renamed dataToken baseToken etc 2022-01-17 15:05:05 +02:00
24425fcf8b fix artifacts path in all test files 2022-01-11 17:52:28 +00:00
bdfa60a91b move artifacts folder under /src 2022-01-11 17:52:28 +00:00
Bogdan Fazakas
810213c20c Revert "moved artifacts under src so to build starts"
This reverts commit 41fb836a4980f5a447dd9411037bd8f4618b7d24.
2022-01-11 10:35:28 +02:00
Bogdan Fazakas
41fb836a49 moved artifacts under src so to build starts 2022-01-11 09:47:41 +02:00
Bogdan Fazakas
a019491ed2 add used artifacts update imports and removed not used dependancies 2022-01-10 18:36:48 +02:00
Alex Coseru
f23e65f61b
publish tests (#1184)
* publish tests

* update to latest contracts

* fix unit tests
2022-01-03 17:34:28 +02:00
Bogdan Fazakas
303d7607c7 fixed typo and tests and update initialize method 2021-12-22 17:18:43 +02:00
Bogdan Fazakas
67eea42290 update unit tests 2021-12-22 15:59:46 +02:00
Bogdan Fazakas
722113f176 update startorder fees and tests 2021-12-22 11:05:57 +02:00
Bogdan Fazakas
8c90f8dec9 merge v4 main and fix conflicts also fixed lint 2021-12-21 16:57:59 +02:00
lacoop6tu
39ded52003 add NFT owner check in Datatoken 2021-12-17 06:22:46 -05:00
lacoop6tu
e64e0b61b1 add ERC20Deployer checks and tests in Datatoken Class 2021-12-17 06:12:33 -05:00
Bogdan Fazakas
a6504626fd use old name for nft files for case sensitivity 2021-12-09 13:55:23 +02:00
Bogdan Fazakas
6dacc0c44c refactor fixed some code styling issues 2021-12-09 12:13:56 +02:00
Bogdan Fazakas
1bdef71d54 added new file metadata structure and reorganize tokens and types 2021-12-08 17:08:30 +02:00