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
Bogdan Fazakas
ec2e67db35
used type guard to detect if ddo or did and resolve just when needed
2021-06-04 16:46:12 +03:00
Alex Coseru
5555b2a73a
Add order checks for credentials ( #827 )
...
* Add order checks for credentials
2021-06-03 14:14:01 +03:00
Bogdan Fazakas
f0404f3204
added ddo object param to function that expect did and asset resolve is called
2021-06-03 12:43:15 +03:00
kianyee
0f46959dfa
Feature/credentials support in asset ( #787 )
...
* [KianYee] Add credentials in DDO
Co-authored-by: alexcos20 <alex.coseru@gmail.com>
2021-06-02 16:51:13 +03:00
Kris Liew
9f0b5dd6ff
add "valid" boolean in File.ts ( #825 )
...
* add "valid" boolean in File.ts
2021-06-02 15:58:07 +03:00
Kris Liew
2fb83f97a9
Add ocean.assets.isConsumable function ( #786 )
...
* isDisable check
* check isConsumable for order()
* Attempt add integration test
* feedback change
* Replace 'isDisabled' with 'isOrderDisabled'
* Update integration test
* Attempt 1 fix integration test
Co-authored-by: KRIS LIEW <iforte.intellege.liew@daimler.com>
2021-06-02 20:18:58 +08:00
Alex Coseru
6ce02ec17c
fix ddo encrypt for browsers ( #822 )
...
* fix ddo encrypt for browsers
Warning: needs aquarius >= 2.2.12
2021-05-28 12:53:47 +03:00
Kris Liew
9df93b71cb
add type 'free' to BestPrice ( #821 )
2021-05-28 11:48:25 +03:00
Bogdan Fazakas
a6c9c70e8e
Fix/ Order method should throw error messages ( #803 )
...
* throw error when order methods fail, updated integration tests accordingly
* throw error for startOrder method & update error messages
* updated assert messages and added asserts in try block
2021-05-25 16:00:13 +02:00
dependabot[bot]
ba64eeb39a
Bump prettier from 2.2.1 to 2.3.0 ( #793 )
...
* Bump prettier from 2.2.1 to 2.3.0
Bumps [prettier](https://github.com/prettier/prettier ) from 2.2.1 to 2.3.0.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.2.1...2.3.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* prettier updates
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-05-25 08:27:53 +02:00
Alex Coseru
92b4be0dce
Feature/dispenser ( #790 )
...
* add dispenser support
* bump contracts to 0.6.2
2021-05-10 18:42:19 +03:00
Jamie Hewitt
53b401dcd0
Revert "creating interface for the dispenser contract"
...
This reverts commit 413b17e668a4d92e2ab9d43092b604bc2b2f2914.
2021-05-07 13:56:35 +03:00
Jamie Hewitt
603e512f8a
Revert "instantiate Dispenser"
...
This reverts commit 4727f226ce59353fda75542d382bc804db838198.
2021-05-07 13:56:18 +03:00
Jamie Hewitt
4727f226ce
instantiate Dispenser
2021-05-07 12:57:59 +03:00
Jamie Hewitt
413b17e668
creating interface for the dispenser contract
2021-05-07 12:53:15 +03:00
Alex Coseru
3a5569b12f
Feature/use decimal in pool ( #775 )
...
* change default gas settings
* check allowance & fix gas estimate
* use Decimal
* fix estimateGas for new Pools
2021-04-30 16:02:18 +03:00
mihaisc
a1a7c444c7
Fix address.json import ( #765 )
...
* fix json import
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove console.log
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* Using common JS export
Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>
2021-04-23 13:06:03 +03:00
Alex Coseru
ee7a5489c7
add moonbeamalpha ( #751 )
...
* add moonbeamalpha
* bump ocean-contracts
* lock file
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2021-04-22 19:29:36 +03:00
Alex Coseru
2a80c605d4
add seachPreviousOrder ( #755 )
2021-04-19 15:48:15 +03:00
mihaisc
a39b9a416e
export provider, fix circular dependency ( #750 )
...
* export provider, fix circular dependency
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* lock file
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2021-04-16 13:20:24 +03:00
mihaisc
26957a8432
fix compute status ( #746 )
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2021-04-16 00:39:43 +02:00
Alex Coseru
51c241eed4
add inputDID & algoDID ( #735 )
2021-04-13 21:25:15 +03:00
Alex Coseru
39938ec9c0
refactor compute ( #731 )
...
WARNING! This is a breaking change!
* Refactor compute functions to use a new interface (ComputeAlgorithm) instead of passing 4-5 params to different functions.
* add new test to prevent running a computeJob is both asset/algo are having compute services and they are not served from the same provider
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-04-13 17:34:34 +02:00
TSS-LauKY
04c2a9b09a
[KianYee] #459 enhance file info function ( #710 )
...
* [KianYee] #459 enhance file info function
* [KianYee] #459 enhance file info function
* [KianYee] Fix issue
* [KianYee] #459 fix codeclimate
* [KianYee] #459 add intergration test
* [KianYee] Add integration test
* [KianYee] #459 Fix bug
* [KianYee] #459 Slipt function into 2
* [KianYee] removed unused import
* [KianYee] update test case description
2021-04-13 14:39:11 +03:00
mihaisc
23f319b8a8
Optimize compute job status calls ( #717 )
...
* optimize status calls
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* update computeJob interface
* fix typo
* more details
* fix tests
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix tests
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* throw errors instead of return null
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: alexcos20 <alex.coseru@gmail.com>
2021-04-13 14:38:54 +03:00