Commit Graph

185 Commits

Author SHA1 Message Date
Matthias Kretschmann 8ece01d9fa
formatting updates for new prettier rules 2020-05-19 16:15:56 +02:00
Alex 52fa436b87 freeWhiteList 2020-03-26 00:34:34 +02:00
ssallam de541a9fd3 Replace serviceExecution with computeExecution. 2020-03-10 11:37:06 +01:00
ssallam 75a0ef05d9 Fix publishing compute service (fill in parameters value in agreement conditions). Update agreement template events and conditions in the sample json. 2020-03-05 11:56:58 +01:00
Matthias Kretschmann 92dbaaeb25
switch to @ethereum-navigator/navigator for network lookup 2020-01-30 13:42:54 +01:00
ssallam 5f331bf467 Fix style issues. 2020-01-22 15:31:27 +01:00
ssallam 19353437ba Fix test and return value from createAgreement. 2020-01-22 15:16:35 +01:00
ssallam 26de27a31b Fix issues in creating agreement. Mainly the issue was using the publisher address in place of the provider's in the actors list when creating agreement. This also adds an optional `provider` argument to the order method. Add method to fetch providers of a did (via the didRegistry). 2020-01-22 13:46:10 +01:00
ssallam c7b41724ba Add event getter to agreementstoremanager, update the signature tests. 2020-01-21 12:25:53 +01:00
ssallam aae8172993 Fix errors. 2020-01-19 10:41:12 +01:00
ssallam 6c25ec5bbd Fix inheritance issue. 2020-01-17 22:24:37 +01:00
ssallam 1caf92e12f Remove obsolete class, remove unused variable. 2020-01-17 21:20:38 +01:00
ssallam b7d9c1bc2b Fix build. 2020-01-17 16:51:46 +01:00
ssallam 7b5b110cec Fix lint errors. 2020-01-17 16:39:44 +01:00
ssallam 48c4f64599 Fix tests. 2020-01-17 15:35:11 +01:00
ssallam eac7b172e6 Fix type. 2020-01-17 12:55:00 +01:00
ssallam e22b63cc80 More updates. 2020-01-16 15:47:29 +01:00
ssallam c6876ca9e2 New template interface almost completed. 2020-01-16 09:52:26 +01:00
Matthias Kretschmann 3d978f792d
template refactoring 2020-01-15 19:28:04 +01:00
Matthias Kretschmann 143fcbecf3
tweak printWidth 2019-11-22 12:14:17 +01:00
Matthias Kretschmann 0552bcc577
fresh package-lock 2019-11-22 12:14:17 +01:00
Matthias Kretschmann 7067b89fdc
web3.js v1.2.3 2019-11-22 12:14:17 +01:00
Matthias Kretschmann c122e06871
add allowSyntheticDefaultImports 2019-11-22 12:14:16 +01:00
Matthias Kretschmann 2fd4e94f29
refactoring for web3.js 1.2.2 2019-11-22 12:14:16 +01:00
Matthias Kretschmann 9f210b3a13
noZeroX the new owner address 2019-11-22 12:13:52 +01:00
Matthias Kretschmann b31a661dcb
transferOwnership fixes, add integration test 2019-11-22 12:13:52 +01:00
Matthias Kretschmann 347915a41e
add ocean.assets.transferOwnership() 2019-11-22 12:13:51 +01:00
Pedro Gutiérrez 476a624e89
Add integration test about adding permissions on DIDRegistry. 2019-11-22 12:08:35 +01:00
Pedro Gutiérrez e3a7c54c6a
Update DDO service schema. 2019-11-22 12:07:14 +01:00
Pedro Gutiérrez 3d7d1f3972
Change linter config. 2019-11-22 12:07:14 +01:00
Pedro Gutiérrez 13e43d7b40
Inlcude new methods on DIDRegistry. 2019-11-22 12:07:14 +01:00
Pedro Gutiérrez 8761d2e087
Add EscrowComputeExecutionTemplate. 2019-11-22 12:07:14 +01:00
Pedro Gutiérrez 1f6e57fb60
Add ComputeExecutionCondition. 2019-11-22 12:07:14 +01:00
Matthias Kretschmann e253e4c0bb
more DDO structure updates 2019-11-22 12:07:14 +01:00
Matthias Kretschmann b1ff2e7a27
lowercase service type values 2019-11-22 12:07:14 +01:00
Matthias Kretschmann 07d17fe32e
update metadata to OEP-8 v0.4 2019-11-22 12:07:14 +01:00
Alex Coseru 8aac9a9e86
added xDai 2019-11-22 10:53:37 +02:00
Matthias Kretschmann 27f0734f22
revert esModuleInterop 2019-11-07 12:41:43 +01:00
Matthias Kretschmann 7d393edc25
lock to web3.js 1.2.1 again 2019-11-06 13:55:34 +01:00
Matthias Kretschmann 354149d2d4
test tweaks 2019-10-31 12:19:53 +01:00
Matthias Kretschmann 9d95f149d5
typescript updates 2019-10-30 15:45:52 +01:00
Matthias Kretschmann c6bc0438de
bump packages 2019-10-30 12:04:16 +01:00
Pedro Gutiérrez 3235e4f930 Add a way to know if an address is provider of an asset. 2019-08-30 11:53:04 +02:00
Matthias Kretschmann adac2a0dbc
bump lint packages 2019-08-19 13:21:19 +02:00
Matthias Kretschmann 2fd333ec3a
eslint updates 2019-08-15 14:13:21 +02:00
Pedro Gutiérrez a9ba23d2c3 Resolve the DDO using the service endpoint on registration event. 2019-07-16 14:56:56 +02:00
Pedro Gutiérrez bb082f0c8a Support integration tests on networks without Dispenser. 2019-06-27 14:31:28 +02:00
Pedro Gutiérrez 4c3f134942 Fix error on getting contract address of not loaded contracts. 2019-06-25 13:10:08 +02:00
Pedro Gutiérrez d6b601effd Prevent error messages on optional contracts. 2019-06-25 12:00:37 +02:00
Pedro Gutiérrez be95da79df Allow Disenser as optional contract. 2019-06-25 11:12:32 +02:00