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

846 Commits

Author SHA1 Message Date
lacoop6tu
30151b7694 fix lint, add estApprove function 2021-10-29 14:25:22 -05:00
lacoop6tu
22746a10e0 add complete multi decimals support in Pool, add test 2021-10-29 13:17:59 -05:00
Bogdan Fazakas
80426fd231 added more tests and isDispensable method 2021-10-29 16:16:55 +03:00
Bogdan Fazakas
5072bdbb5a integrated dispenser class, added some unit tests 2021-10-29 12:54:35 +03:00
lacoop6tu
6df2123f91 add initial multi decimals support, add USDC test 2021-10-28 17:10:26 -05:00
lacoop6tu
8656dbcc55 complete Pool Class and basic unit test 2021-10-28 14:10:20 -05:00
lacoop6tu
5d54e41d8e add more Pool methods and tests 2021-10-28 12:42:55 -05:00
lacoop6tu
6e135231d3 add more Pool tests 2021-10-27 16:29:13 -05:00
Bogdan Fazakas
46a2027b4c added some missing methods like createFixedRate, createDispenser, setMetadata 2021-10-27 17:05:37 +03:00
lacoop6tu
2728dc3c68 add more estGas split, add some test check 2021-10-26 17:05:47 -05:00
lacoop6tu
d9a149bd5c add initial Pool class and test 2021-10-26 15:42:09 -05:00
Bogdan Fazakas
21081cc386 split estGas for the methods in Router class 2021-10-26 23:34:15 +03:00
Bogdan Fazakas
4fde8b29fd split estGas for the methods in NFTFactory class 2021-10-26 23:05:32 +03:00
Bogdan Fazakas
0ed974c253 split estGas for the methods in ERC20 Datatoken 2021-10-26 15:16:45 +03:00
Bogdan Fazakas
39f7de6c1a Merge branch 'v4main' into feature/integrate-erc721-erc20-template-contracts 2021-10-25 19:23:18 +03:00
Bogdan Fazakas
eee0d4b984 split all methods in Datatokne class and add separate ones for estGas 2021-10-25 19:20:33 +03:00
Bogdan Fazakas
11c5c22b8b added unit tests for Datatoken class 2021-10-25 13:18:54 +03:00
Bogdan Fazakas
5e31a7ebcf added tests for NFTDatatoken class and some tweaks 2021-10-25 09:29:45 +03:00
lacoop6tu
70257a0447 add Router Class and some unit test 2021-10-22 10:55:05 -05:00
lacoop6tu
3066fb9e97 add complete NFTFactory basic unit test 2021-10-21 12:58:49 -05:00
lacoop6tu
42eb819765 complete NFTFactory class, add some tests 2021-10-21 10:47:21 -05:00
Bogdan Fazakas
8973bb94eb added more erc20 contract methods in datatoken class 2021-10-21 17:12:34 +03:00
Bogdan Fazakas
793e54d366 Merge branch 'v4main' into feature/integrate-erc721-erc20-template-contracts 2021-10-21 12:11:27 +03:00
Bogdan Fazakas
d354aff19f fixed lint in config helper 2021-10-21 11:53:44 +03:00
Bogdan Fazakas
09d1ea2970 temporary add address.json file locally until we can get it from contract artifacts 2021-10-21 11:52:06 +03:00
Bogdan Fazakas
1bcde4dc4d added Dispenser and FixedRateExchange files 2021-10-21 11:47:00 +03:00
Bogdan Fazakas
21178025ee more lint errors fixed 2021-10-21 11:46:20 +03:00
Bogdan Fazakas
7723208473 style mint method 2021-10-21 10:50:55 +03:00
lacoop6tu
2bd5d55198 add more NFTFactory test 2021-10-20 16:09:18 -05:00
lacoop6tu
3c638ab597 fix lint, complete deployment script, add initial instance test 2021-10-20 15:29:04 -05:00
Bogdan Fazakas
1352a1c5d2 added handlers for all methods in erc721 template contract 2021-10-20 17:24:07 +03:00
lacoop6tu
9cda532da6 add initial ERC721Factory class, add initial TestContractHandler 2021-10-18 14:34:19 -05:00
Bogdan Fazakas
252eca12e4 wip v4 contract integration NFT creation flow 2021-10-18 15:29:37 +03:00
Bogdan Fazakas
3e9991e6f0 initial backbone commit 2021-10-13 09:10:55 +03:00
Jamie Hewitt
d0a09d6f30
Changing files name event.d.ts -> event.ts (#1058)
* Changing files name event.d.ts -> event.ts

* Adding Event export to ddo/interfaces/index
2021-10-04 16:13:24 +02:00
Alex Coseru
f317fdb0b9
bump contracts + add networks (#1059) 2021-10-04 17:10:19 +03:00
Alex Coseru
02cc911ce9
Custom user parameters (#944)
* enable create / passthrough of userData & algoData

* refactor bassed on reviews

* refactor balance check async flows

* more provider logs

* more debugs for provider

* provider debug

* more provider logs

* more provider debug

* revert ci changes

* naming & typings

* Release 0.18.0-next.0

* deal with pre-releases

* clarify instructions

* fix merge errors

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-09-24 13:52:11 +02:00
Alex Coseru
3bea2aaf90
Bump aqua queries
* remove aqua queries

* remove transformResult

* fix metadatacache test

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

* remove unused

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

* more commits

* move metadatacache to integration

* fix

* fix lint

* great improve an integration tests speed

* force aqua 3.1 on barge

* small typo fix

* fix ci

* fix import instead of require

* add ocean.assets.query

* Update ci.yml

Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2021-09-24 11:55:28 +03:00
Bogdan Fazakas
7e88ef9fd4
Fix token amount - token allowance comparison (#1012)
* fixed allowence check in approve and added allowance check in addOceanLiquidity method

* added more dtAllowance checks

* renamed constants and some code cleanup

* return allowance if bigger than amount and delete upper methods checks
2021-09-22 09:28:45 +02:00
Alex Coseru
e934483853
add catenax network config (#1025) 2021-09-16 14:09:32 +03:00
1a79a72527
downgrade node-abort-controller to v2.0.0 (#999) 2021-08-31 13:57:29 +03:00
02df3628ea
update Gaia-X RPC (#998) 2021-08-31 12:01:28 +03:00
dependabot[bot]
360d593147
Bump node-abort-controller from 2.0.0 to 3.0.0 (#953)
* Bump node-abort-controller from 2.0.0 to 3.0.0

Bumps [node-abort-controller](https://github.com/southpolesteve/node-abort-controller) from 2.0.0 to 3.0.0.
- [Release notes](https://github.com/southpolesteve/node-abort-controller/releases)
- [Changelog](https://github.com/southpolesteve/node-abort-controller/blob/master/CHANGELOG.md)
- [Commits](https://github.com/southpolesteve/node-abort-controller/commits)

---
updated-dependencies:
- dependency-name: node-abort-controller
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* update AbortController export

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-08-24 11:09:16 +02:00
Kris Liew
c1fd4628e3
Add agreementId in ComputeJob interface (#976) 2021-08-19 12:42:23 +08:00
Jamie Hewitt
b72ff97c63
Adding event to DDO (#965) 2021-08-13 10:26:06 +03:00
Jamie Hewitt
cf16ff8966 Updating assets and asset credentials 2021-08-03 14:12:50 +02:00
Jamie Hewitt
1b58fdfb9d Changing value to values 2021-08-03 14:10:04 +02:00
998e492e69
add single metadataCacheUri for all networks (#919)
* requires Aquarius [`v3.0.0+`](https://github.com/oceanprotocol/aquarius/releases/tag/v3.0.0)
2021-07-30 14:29:28 +02:00
c61aab0670
move datatoken name generation out of class (#943) 2021-07-30 14:29:12 +02:00
Alex Coseru
9925cc9d95
allow editable author (#936) 2021-07-29 09:44:51 +02:00