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

25 Commits

Author SHA1 Message Date
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
md0x
a4a3e8abb8
Make metadataProofs optional in setMetadataAndTokenURI (#1336)
* Make metadataProofs optional in setMetadataAndTokenURI

Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com>

* Add empty array if not metadataProofs

Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com>
2022-03-16 09:52:41 +00:00
Bogdan Fazakas
ba962c0805
fix estGas for setMetadata call (#1303) 2022-02-21 13:31:26 +00: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
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
Bogdan Fazakas
5cb548ca59
replaced local artifacts with the published ones (#1232) 2022-01-20 04:39:58 -08:00
Bogdan Fazakas
4d60a16f6e added default contract options and gas in config 2022-01-12 22:56:36 +02: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
Alex Coseru
f23e65f61b
publish tests (#1184)
* publish tests

* update to latest contracts

* fix unit tests
2022-01-03 17:34:28 +02:00
Bogdan Fazakas
8c90f8dec9 merge v4 main and fix conflicts also fixed lint 2021-12-21 16:57:59 +02:00
lacoop6tu
4826cafba3 add getTokenURI, add test 2021-12-17 09:41:06 -05:00
lacoop6tu
e64e0b61b1 add ERC20Deployer checks and tests in Datatoken Class 2021-12-17 06:12:33 -05:00
lacoop6tu
96cfa952e4 add getMetadata function, add more tests in NFT class 2021-12-16 11:08:02 -05:00
mihaisc
602f453985
Feature/didutils (#1163)
* add ddo utils, remove web3 params from some helper

* update web3, some fixes

* fix lint

* remove console logs

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

* fixed lint

Co-authored-by: Bogdan Fazakas <bogdan.fazakas@gmail.com>
2021-12-16 17:57:41 +02:00
lacoop6tu
899dd34a28 add NFT extra tests, fix Roles type 2021-12-16 05:41:03 -05:00
lacoop6tu
5dde9f4da7 add isERC20Deployer fix 2021-12-14 12:41:19 -05:00
lacoop6tu
a9b95d3c15 add ERC20Deployer check, fix isERC20Deployer 2021-12-14 12:39:48 -05:00
mihaisc
fea7eca0a1
Add setTokenURI and others (#1151)
* add setTokenURI

* est gas fix

* add comments

* delete old files

* test
2021-12-13 11:01:57 -08:00
lacoop6tu
fed45acb55 add missing functions in NFT class 2021-12-13 12:42:48 -05:00
Bogdan Fazakas
6dacc0c44c refactor fixed some code styling issues 2021-12-09 12:13:56 +02:00
Bogdan Fazakas
1bdef71d54 added new file metadata structure and reorganize tokens and types 2021-12-08 17:08:30 +02:00