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

826 Commits

Author SHA1 Message Date
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
Alex Coseru
151c019e0d
use decimals in account balance (#921)
* use decimals in account balance


Co-authored-by: KRIS LIEW <soonjing@outlook.com>
2021-07-26 09:22:14 +03:00
112816ea12
remove leading slash from all nodeUri (#922) 2021-07-22 13:11:14 +02:00
4fd1eae05c
update Polygon Mumbai explorerUri (#911) 2021-07-15 08:50:16 +02:00
2fa91836c1
update Gaia-X values (#906) 2021-07-13 15:02:26 +02:00
Jamie Hewitt
8ab2b75a1f Changing error message 2021-07-09 15:33:48 +03:00
Bogdan Fazakas
c099153252
added chainId property to DDO class (#887) 2021-07-07 11:55:29 +03:00
Kris Liew
a5b24b655a
Change this.oceanAddress to baseToken (#880) 2021-07-02 07:55:56 +03:00
Alex Coseru
fba5965042
validate ddo before publish on chain (#873)
* validate ddo before publish on chain
2021-06-30 10:34:37 +03:00
Alex Coseru
29855184ce
allow extended FRE (#875) 2021-06-30 10:34:21 +03:00
Kris Liew
5d4250f8e3
Improve Ocean.assets.isConsumable return interface and message (#869) 2021-06-28 15:26:28 +08:00
Alex Coseru
b90aeb6549
proper compare using lowercase (#864)
* proper compare using lowercase
2021-06-25 15:56:34 +03:00
dependabot[bot]
5852b0a27d
Bump contracts to 0.6.4 (#837)
* Bump @oceanprotocol/contracts from 0.6.3 to 0.6.4

Bumps [@oceanprotocol/contracts](https://github.com/oceanprotocol/contracts) from 0.6.3 to 0.6.4.
- [Release notes](https://github.com/oceanprotocol/contracts/releases)
- [Changelog](https://github.com/oceanprotocol/contracts/blob/main/CHANGELOG.md)
- [Commits](https://github.com/oceanprotocol/contracts/compare/v0.6.3...v0.6.4)

---
updated-dependencies:
- dependency-name: "@oceanprotocol/contracts"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* use startBlock & chainId from contracts

* export network metadata

* less repetetive network metadata

* switch Polygon mainnet URLs

* typing fixes

* package bumps

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: alexcos20 <alex.coseru@gmail.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-06-22 16:25:20 +02:00
Jamie Hewitt
02693021b1
Merge pull request #842 from oceanprotocol/issue-741-update-docs-getPastEvents
Update docs about 'getPreviousValidOrders' only working on Eth
2021-06-15 16:35:07 +03:00
Jamie Hewitt
a71666d236 commenting on the code 2021-06-14 16:15:35 +03:00
Bogdan Fazakas
4e02a1b2a5 small refactor 2021-06-09 10:44:59 +03:00
Bogdan Fazakas
4f9ed04086 sent ocean instance param to asset resolve helper 2021-06-08 17:24:54 +03:00
Bogdan Fazakas
0786c32a7b fixed lint errors 2021-06-08 14:06:23 +03:00
Bogdan Fazakas
200e0d8832 staged helper file 2021-06-08 09:08:51 +03:00
Bogdan Fazakas
c88680f100 added AssetResolverHelper 2021-06-08 09:08:24 +03:00
Bogdan Fazakas
c9c983aaed Merge branch 'main' into feature/issue777-add-ddo-param-when-did-exists 2021-06-07 11:13:03 +03:00