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

39 Commits

Author SHA1 Message Date
Bogdan Fazakas
5a29fefd3b
Multichain Provider (#1698)
* added chainId param to encrypt method

* updated tests & examples
2023-03-20 15:44:12 +02:00
829795fd6f
add full support for Goerli (#1614) 2022-09-23 10:28:03 +01: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
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
Miquel A. Cabot
869ef38fc3
review provider URL (#1554) 2022-07-06 13:23:17 +03: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
ba8ea90a20 rename createNftErc20WithDispenser to createNftWithDatatokenWithDispenser 2022-06-10 11:32:58 +02:00
Miquel A. Cabot
77fcfe94f5 rename createNftErc20WithFixedRate to createNftWithDatatokenWithFixedRate 2022-06-10 11:30:22 +02:00
Miquel A. Cabot
4d56ca2e9e rename createNftErc20WithPool to createNftWithDatatokenWithPool 2022-06-10 11:28:55 +02:00
Miquel A. Cabot
29c581fde2 rename from erc20 to nft in comments 2022-06-10 11:19:08 +02:00
Miquel A. Cabot
71390cf862 rename erc20Params to datatokenParams 2022-06-10 10:56:40 +02:00
Miquel A. Cabot
6287005473 rename Erc20CreateParams to DatatokenCreateParams 2022-06-10 10:54:51 +02:00
Miquel A. Cabot
10f1f30b9c await for approving allowance function 2022-05-06 11:26:01 +02:00
Miquel A. Cabot
3864c07b8b refactor PublishFlows.test 2022-05-06 11:11:47 +02:00
Alex Coseru
005c2d9760
Feature/bump contracts to alpha 28 (#1392)
* bump contracts to alpha 28
2022-04-04 14:56:41 +03: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
165b4c8680 refactor imports in the tests 2022-03-16 14:25:09 +01:00
Miquel A. Cabot
9a583e60e0 use configuration variables instead of constants 2022-03-16 14:07:00 +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
Norbi
bd32b950a8
dispenser creation: transform maxTokens and maxBalance to wei (#1328) 2022-03-11 11:04:55 +00: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
b880bee007
remove optional fetch method, add abort signal (#1235)
* remove optional fetch method, add abort signal

* fix encrypt

* fix encrypt

* fix lint,tests

* test

* fix adr

* test

* fix asset

* t

* t
2022-01-24 23:49:13 -08:00
Bogdan Fazakas
5cb548ca59
replaced local artifacts with the published ones (#1232) 2022-01-20 04:39:58 -08:00
Bogdan Fazakas
7c6ce6368a
Merge pull request #1212 from oceanprotocol/feature/default-http-fixes
Add default http function and fixes provider class
2022-01-20 09:04:36 +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
Bogdan Fazakas
456699f34d updated aquarius class methods 2022-01-12 11:18:03 +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
Bogdan Fazakas
04d850b6d6
integration tests publish all methods (#1197)
* added pool fixed rate and dispenser publish

* add validate method update publish tests

* update tests asset metadata

* update validate method

* fix lint

* update validate ussage

* send metadata to validate as object and removed some console logs

* fixed validate method update publish all tests

* fix validate aqua method

* update provider url

* update service timeout and add doc for validate method

* add MetadataProofs

Co-authored-by: alexcos20 <alex.coseru@gmail.com>
2022-01-07 11:17:04 +02:00