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

52 Commits

Author SHA1 Message Date
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
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
Miquel A. Cabot
d3f9edc1bd remove unused variables 2022-03-30 12:13:35 +02:00
Miquel A. Cabot
736cf2e736 Merge branch 'v4main' into issue-1356-rewrite-testcontracthandler-helper-class 2022-03-29 22:30:51 +02:00
Soon Huat
4c5da01d66
change address[1] to paymentCollector based on smart contract (#1375)
Co-authored-by: Soon Huat <soon_huat.phan@daimler.com>
2022-03-29 15:40:30 +01: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
7ca5000a66
use barge addresses for unit tests (#1291) 2022-02-15 18:14:11 +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
Alex Coseru
9174baa3c0
Barge c2d & latest contracts bump (#1248)
* bump to latest contracts
2022-02-09 11:32:54 +02: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
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
6c9746a8ad fix opfee and DataToken naming 2022-01-19 17:26:22 +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
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
mihaisc
8bcffc00a6
config and encrypt fixes (#1173)
* config and encrypt fixes

* small comment

* fix

* change in PoolCreationParams

* fix

* fixes

* fix fileinfo

* rename fileinfo -> checkFileUrl, add checkDidFiles

* ensure chainId is base 10

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2021-12-23 03:05:07 -08: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
35c59f0b7b fixeded unit tests 2021-12-07 20:12:44 +02:00
Bogdan Fazakas
54e198c30a fixed dispenser create unit test wip updated contracts 2021-11-24 18:18:21 +02:00
Bogdan Fazakas
9a8be41549 added interfaces fixedrate and erc tokens and array creation helpers 2021-11-09 10:57:57 +02:00
Bogdan Fazakas
7e766a585f fixed some tests 2021-11-08 21:29:27 +02:00
Bogdan Fazakas
19289b7b86 fixed router test 2021-11-05 17:21:50 +02:00
Bogdan Fazakas
14f5fc029c added interfaces for fixedRate and Dispenser 2021-11-05 17:06:43 +02:00
Bogdan Fazakas
16985d5a3a Merge branch 'v4main' into feature/integrate-erc721-erc20-template-contracts and fix merge conflicts 2021-11-04 16:34:31 +02:00
Bogdan Fazakas
b5e90fa790 added tests and code cleanup 2021-11-04 16:32:19 +02:00
mihaisc
ed128c7633 fix TestContractHandler params 2021-11-04 11:28:45 +02:00
Bogdan Fazakas
21081cc386 split estGas for the methods in Router class 2021-10-26 23:34:15 +03:00