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

209 Commits

Author SHA1 Message Date
Bogdan Fazakas
63a17caa84 fixed approve methods 2022-09-07 16:37:57 +03:00
Bogdan Fazakas
315942db41 add error check for logs message 2022-08-19 16:34:59 +03:00
Bogdan Fazakas
36733da271 more review fixes restric return types for estimate and sendtx methods 2022-08-18 13:38:51 +03:00
Bogdan Fazakas
16a1f0b094 review fixes 2022-08-18 10:50:50 +03:00
Bogdan Fazakas
a5e5d69241
Update log based on suggestion src/utils/ContractUtils.ts
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-08-18 09:36:38 +03:00
Bogdan Fazakas
89b83221de cleanups and warnings 2022-08-17 15:14:54 +03:00
Bogdan Fazakas
5de542898c use latest instead of pending for fee history 2022-08-17 13:42:45 +03:00
Bogdan Fazakas
7dbc336122 update approveWei signature and compute test 2022-08-17 13:25:49 +03:00
Bogdan Fazakas
585316e34e replaced missed send calls 2022-08-17 12:45:56 +03:00
Bogdan Fazakas
7500f51f46 merge v4refactoring and fixed conflicts 2022-08-17 12:37:03 +03:00
Bogdan Fazakas
30aba62ef7
Remove amm pools (#1568)
* WIP remove pools

* added logs

* update checksums and logs

* Updating CodeExamples.md

* remove console logs

* remove unused params, simplify test folder structure

* contracts folder simplification, remove ss contract methods

* path fix

* remove more "staking" code

* put back `removeApprovedToken()`

* remove redundant and unused test commands

* test fix, auto-fix & auto-format

* consistent specific imports

* readme updates

* remove addDispenserContract method

* remove tokens subfolder from contracts

* update js docs and put back addDispenserContract

* use new digest for algorthms

* update nft getData to fix failing unit test

* replace pools with fre in  buyDatatokenBatch

* use proper exchange ids

* increase allowance

* fix buyBatch test and deploy issues from testcontracthandler

Co-authored-by: GitHub Actions Bot <>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-08-16 11:54:28 +01:00
Phan Soon Huat
6e200a5205 add gas fee multiplier to max priority fee 2022-08-14 23:20:37 +08:00
Bogdan Fazakas
f6c03fce27 added missing changes 2022-08-11 18:03:50 +03:00
Bogdan Fazakas
452bf22855 merge main and fixed conflicts 2022-08-11 16:13:31 +03:00
Bogdan Fazakas
470eff51ad update transfer and approve methods 2022-08-10 17:31:54 +03:00
Bogdan Fazakas
41881ac6eb fix getFairGasPrice 2022-08-10 16:19:04 +03:00
Bogdan Fazakas
8b1842e1e9 use try catch in sendTx 2022-08-10 15:52:43 +03:00
Bogdan Fazakas
7941829ad6 update fee calculations 2022-08-10 15:37:49 +03:00
Bogdan Fazakas
60a3f5af20 add suport for eip 1559 2022-08-10 15:25:43 +03:00
mihaisc
99936ecc59
fix download (#1563) 2022-07-21 03:47:09 -07:00
mihaisc
34c9a39157
fix conversion (#1538)
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-06-29 16:46:12 +03:00
mihaisc
237e948107
Proper conversion to wei of base token when ordering (#1527)
* proper conversion to wei

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

* fix conversion in pool

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

* fix test

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

* fix lint

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-06-24 17:22:18 +03:00
Miquel A. Cabot
8a4ca6c178 fix lint issues 2022-06-21 12:21:13 +02:00
Miquel A. Cabot
99c9cd3e87 Remove try...catch from DdoHelpers 2022-06-21 11:49:06 +02:00
Miquel A. Cabot
911cb59b4b Remove try...catch from TokenUtils 2022-06-21 11:47:24 +02:00
Miquel A. Cabot
d387076a08 Remove try...catch from ContractUtils 2022-06-21 11:42:55 +02:00
Alex Coseru
be06f05365
update to new schema & compute fixes (#1510)
* update to new schema

* fix codeExamples

* fix computeflows
2022-06-15 19:03:56 +03:00
Miquel A. Cabot
d04f85b3a9 add estimateGas parameter to TokenUtils 2022-06-13 11:45:24 +02:00
Miquel A. Cabot
635c7b7cd5 remove specific estimategas functions from TokenUtils 2022-06-13 11:23:32 +02:00
Miquel A. Cabot
74b623cacc set calculateEstimatedGas return value to any 2022-06-12 11:13:26 +02:00
Miquel A. Cabot
2cbb3c3ba8 rename estimateGas() to calculateEstimatedGas() 2022-06-11 23:38:22 +02:00
Miquel A. Cabot
d435d3c2be change return type for estimateGas() 2022-06-10 22:52:07 +02:00
Miquel A. Cabot
29c581fde2 rename from erc20 to nft in comments 2022-06-10 11:19:08 +02:00
Miquel A. Cabot
e49d957022 change erc721Address to nftAddress 2022-06-10 10:14:37 +02:00
Miquel A. Cabot
4cfcd3c20d remove unused functions from FetchHelper 2022-06-09 13:18:46 +02:00
Miquel A. Cabot
28ddcdaa3d move getData() function to Provider 2022-06-09 13:17:45 +02:00
Miquel A. Cabot
cd34833ff7 move ConversionTypeHelper functions to Provider 2022-06-09 13:15:14 +02:00
Miquel A. Cabot
26f3aa6ef3 move PoolHelpers functions to Pool 2022-06-09 13:13:03 +02:00
Miquel A. Cabot
f8d6610c64 remove unused imports 2022-06-09 13:08:44 +02:00
Miquel A. Cabot
252ff6a0f4 move functions from ContractUtils to Datatoken 2022-06-09 13:04:14 +02:00
Miquel A. Cabot
ad560ce4ef move functions from ContractUtils to NFTFactory 2022-06-09 13:02:26 +02:00
Miquel A. Cabot
38895fcf62 Move MAX_UINT_256 constant to Constants file 2022-06-06 09:09:55 +02:00
Miquel A. Cabot
2636352a72 refactor utils/ imports 2022-06-03 14:12:00 +02:00
Miquel A. Cabot
f7a1183c90 remove default exports 2022-06-03 14:01:54 +02:00
Miquel A. Cabot
e2ebf40dce refactor utils/index file 2022-06-03 13:58:49 +02:00
Miquel A. Cabot
45e9f81f30 move ConfigHelper to /config 2022-06-02 22:29:47 +02:00
Miquel A. Cabot
aab53636b6 move word.json to /utils 2022-06-02 21:45:51 +02:00
Miquel A. Cabot
e4b1942e70 change Config file to src/config 2022-06-02 19:07:52 +02:00
Miquel A. Cabot
6c297f1989
Merge pull request #1398 from oceanprotocol/issue-1349-rewrite-pool-test
Issue-#1349 Rewrite Pool test
2022-05-30 11:17:37 +02:00
Miquel A. Cabot
b3102c78c1 add decimals() function 2022-05-27 10:55:12 +02:00