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

499 Commits

Author SHA1 Message Date
Miquel A. Cabot
319bad47e7 refactor constants 2022-03-29 15:01:36 +02:00
Miquel A. Cabot
16b83f0088 fix error in should deploy contracts Pool test 2022-03-28 15:19:51 +02:00
Miquel A. Cabot
1fda84251e remove unused variables 2022-03-28 13:13:22 +02:00
Miquel A. Cabot
b6bbdce723 refactor imports 2022-03-28 13:12:14 +02:00
Miquel A. Cabot
9560231829 test safeTransferNft 2022-03-24 20:59:17 +01:00
Miquel A. Cabot
3063a7daae refactor constants 2022-03-24 19:22:10 +01:00
Miquel A. Cabot
65c1d2f493 refactor constants 2022-03-24 14:07:27 +01:00
Miquel A. Cabot
e80edb8ab2 assert that all needed exceptions are thrown 2022-03-24 14:05:10 +01:00
Miquel A. Cabot
fd2af932b6 refactor constants 2022-03-24 13:08:04 +01:00
Miquel A. Cabot
354f20bd91 refactor constant names 2022-03-24 12:56:17 +01:00
Miquel A. Cabot
71e21f56e4 put constants inside test function 2022-03-24 12:45:37 +01:00
Miquel A. Cabot
db4d22b5bb check correct allowance amount 2022-03-24 11:09:07 +01:00
Miquel A. Cabot
5e9f99752c test adding disabling and reactivating templates 2022-03-23 19:19:33 +01:00
Miquel A. Cabot
ed2c725ac2 refactor comments 2022-03-23 17:11:41 +01:00
Miquel A. Cabot
c7608ea6b8 #createNftwithErc - should increment nft and token count 2022-03-23 17:11:34 +01:00
Miquel A. Cabot
054351b88a refactor nft and dt parameters 2022-03-23 16:43:20 +01:00
Miquel A. Cabot
a72c510b9e add DATA_TOKEN_AMOUNT constant 2022-03-23 15:54:38 +01:00
Miquel A. Cabot
4614833ce0 add constants 2022-03-23 15:45:58 +01:00
Miquel A. Cabot
352b52afb3 remove unused accounts 2022-03-23 13:10:45 +01:00
Miquel A. Cabot
913e8440c3 Merge branch 'issue-1356-rewrite-testcontracthandler-helper-class' into issue-1348-rewrite-nftfactory-test 2022-03-22 21:45:59 +01:00
Miquel A. Cabot
1bd82e7f3a Fix error "Cannot read properties of undefined (reading 'sideStakingAddress')" 2022-03-22 17:58:49 +01:00
Miquel A. Cabot
d60c26be50 Merge branch 'issue-1292-fix-compute-test-timeout' into issue-1356-rewrite-testcontracthandler-helper-class 2022-03-22 16:22:07 +01:00
Miquel A. Cabot
d3246c5ae4 Merge branch 'v4main' into issue-1246-use-confighelper-in-tests 2022-03-22 15:43:48 +01:00
Miquel A. Cabot
c07a528dbe change NftFactory test directory 2022-03-21 15:22:24 +01:00
Alex Coseru
c01fb0756c
Feature/contracts alpha 25 (#1358)
* bump to contracts alpha 26

* update gasFeeMultiplier
2022-03-21 14:40:34 +02: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
f5727fc82b fix unitsToAmount import problem after merge main branch 2022-03-16 15:13:37 +01:00
Miquel A. Cabot
db0c9a6cdb
Merge branch 'v4main' into issue-1246-use-confighelper-in-tests 2022-03-16 14:30:24 +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
Norbi
a0e43235dd
Replace toWei/fromWei when base token conversion (#1318)
* replaced toWei inside FRE

* added amountToUnits for maxPrice inside pool

* replaced fromWei

* add web3 param to getPoolCreationParams

* added await before amountToUnits inside swapExactAmount

* swapExactAmount update

* add await to unitsToAmount inside setRate

* convert newRate to string

* replaced unitToAmounts with amountToUnits inside setRate

* replace unitToAmounts with amountToUnits

* added await

* replaced String() with toSting()

* replaced String() in Provider

* transform newRate into wei inside estimateSetRate

* replace toWei inside getFreCreationParams

* added web3 param to getFreCreationParams

* add amountToUnits inside getFreOrderParams

* added logs

* removed unitsToAmount from fixed rate

* removed amountToUnits inside marketFee

* removed logs
2022-03-16 12:44:53 +02:00
Miquel A. Cabot
896211b93f read configHelperNetworks values for the tests 2022-03-15 19:13:58 +01:00
Miquel A. Cabot
41a8b6ef26 remove unused test config files 2022-03-15 19:00:27 +01:00
Alex Coseru
9b724d71bd
Feature/contracts alpha 22 (#1334)
* bump contracts to alpha 22
2022-03-14 14:23:16 +02:00
Norbi
bd32b950a8
dispenser creation: transform maxTokens and maxBalance to wei (#1328) 2022-03-11 11:04:55 +00:00
Alex Coseru
7932a845d5
bump to contracts alpha.20 (#1295)
* bump to contracts alpha.20

Co-authored-by: Bogdan Fazakas <bogdan.fazakas@gmail.com>
2022-02-16 18:25:17 +02:00
Alex Coseru
7ca5000a66
use barge addresses for unit tests (#1291) 2022-02-15 18:14:11 +02:00
Alex Coseru
91a4431938
update to contracts alpha.19 (#1286) 2022-02-14 18:36:15 +02:00
mihaisc
6f12e28ada
fix redundancy (#1278)
* fix redundancy

* convert to wei fixed price

* fix test
2022-02-11 04:45:15 -08: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
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
mihaisc
56a3aad20d
heleper+ remove old ibs (#1238)
* heleper+ remove old ibs

* fix tests

* fix gaslimt

* fix approve

* fix

* remove console.log

* upate package-lock
2022-01-25 08:32:55 -08:00
Bogdan Fazakas
5b73daad7e
Add setMetaDataAndTokenURI method (#1234)
* add support for setMetaDataAndTokenURI and added test

* delete logs

* fix lint

* fix naming
2022-01-25 06:02:00 -08:00