1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00
Commit Graph

67 Commits

Author SHA1 Message Date
b61822e30c format all the things 2019-06-24 13:06:46 +02:00
Pedro Gutiérrez
0438beef2b Create Versions module. 2019-06-14 00:34:53 +02:00
Pedro Gutiérrez
172967c352 Fix integration tests. 2019-05-30 00:56:16 +02:00
Pedro Gutiérrez
6f57118ce9 Use price as string on some remaining parts. 2019-05-30 00:56:16 +02:00
Pedro Gutiérrez
6fe8430b08 Change the type of the price of an asset to string. 2019-05-30 00:56:16 +02:00
Pedro Gutiérrez
90fbc0b1d6 Expose the granted agreementIds for a consumer. 2019-05-29 12:18:04 +02:00
Pedro Gutiérrez
bb1a02a5d1 Fix differences between implementation on DDO generation. 2019-04-30 11:38:11 +02:00
Pedro Gutiérrez
b36e3a4f06 Add consumerAssets method to assets module. 2019-04-17 13:54:33 +02:00
Pedro Gutiérrez
47ced8af1b Add ownerAssets method to assets module. 2019-04-17 13:54:33 +02:00
Pedro Gutiérrez
398ec203c1 Add status method to agreements module. 2019-04-16 14:01:30 +02:00
Pedro Gutiérrez
b5727bb8dc Fix lint errors. 2019-04-01 17:41:43 +02:00
Pedro Gutiérrez
c5e78899f0 Upgrade to Keeper 0.8.7 2019-04-01 17:41:43 +02:00
Pedro Gutiérrez
05ca0da57f Fix linter errors. 2019-03-25 15:21:23 +01:00
Pedro Gutiérrez
7a13ad8daa Be able to create different Ocean instances with different config. 2019-03-25 15:21:23 +01:00
Pedro Gutiérrez
ea16729d86 Replace the main Logger for a instantiable class. 2019-03-25 15:21:23 +01:00
Pedro Gutiérrez
f3599a5d7f Remove --no-acl-contractflag. 2019-03-18 13:37:49 +01:00
Pedro Gutiérrez
cf99c9ff64 Fix all ignored tests. 2019-03-18 13:37:49 +01:00
Pedro Gutiérrez
eaac2f4f68 Fix linter errors. 2019-03-18 13:37:49 +01:00
Pedro Gutiérrez
01465dc164 Fix Reward condition pointing. 2019-03-18 13:37:49 +01:00
Pedro Gutiérrez
c976d52378 Upgrade asset.create, asset.order and agreement related methods to work with Keeper 0.8.x. 2019-03-18 13:37:49 +01:00
Pedro Gutiérrez
b1715be11a Fix agreement status generation. 2019-03-18 13:37:49 +01:00
Pedro Gutiérrez
4f469b2ab5 Use condition contracts hash generation to generate the signature. 2019-03-18 13:37:49 +01:00
Pedro Gutiérrez
f8b3d839eb Add a way to get the status of a agreement. 2019-03-18 13:37:49 +01:00
Pedro Gutiérrez
51fbbc887e Fix dependencies references on Escrow template. 2019-03-18 13:37:49 +01:00
Pedro Gutiérrez
0ffa0e4204 Add initial condition and agreement store managers. 2019-03-18 13:37:49 +01:00
Pedro Gutiérrez
6a4df9768a Move signature values generation to template. 2019-03-18 13:37:49 +01:00
Pedro Gutiérrez
ae070be011 Use the decimals of OceanToken to return the correct balance. 2019-03-18 13:37:49 +01:00
Pedro Gutiérrez
136250b70c Move access service template used on the DDO to each agreement template. 2019-03-18 13:37:49 +01:00
Pedro Gutiérrez
3a5fba6e21 Added tests on Conditions 2019-03-18 13:37:49 +01:00
Pedro Gutiérrez
c57121e45b checking the 0x prefix on all the interaction with contracts 2019-03-18 13:37:49 +01:00
Pedro Gutiérrez
86906b393f added OceanAgreementsConditions submodule 2019-03-18 13:37:49 +01:00
Pedro Gutiérrez
f7cd71ac33 complete Escrow template flow 2019-03-18 13:37:49 +01:00
Pedro Gutiérrez
c9b383223b fixed some typing issues 2019-03-18 13:37:49 +01:00
Pedro Gutiérrez
5ec624b2a5 initial implementation of templates and conditions 2019-03-18 13:37:49 +01:00
Pedro Gutiérrez
fce3a09285 added Ocean.tokens module 2019-02-26 00:18:07 +01:00
Pedro Gutiérrez
d51e3f3dbf updated registerAttribute method 2019-02-08 17:37:21 +01:00
Pedro Gutiérrez
5694ae29b5 changed some methods 2019-02-08 17:37:21 +01:00
Pedro Gutiérrez
0599ba67fa updated setupTemplate method 2019-02-08 17:37:21 +01:00
Pedro Gutiérrez
3364feb9dd removed Auth contract 2019-02-08 17:37:21 +01:00
Pedro Gutiérrez
fc46592fe9 replaced OceanMarket with Dispenser 2019-02-08 17:37:21 +01:00
Pedro Gutiérrez
64921829f9 changed name of ServiceExecutionAgreement 2019-02-08 17:37:21 +01:00
Pedro Gutiérrez
c1c3168c64 improved error detection on integration test #118 2019-01-24 10:48:48 +01:00
Sebastian Gerske
6ea480fd47 enhanced did handling 2018-12-17 15:54:58 +01:00
Sebastian Gerske
a0648b4b84 remove 0x prefix from serviceAgreementId 2018-12-17 14:29:09 +01:00
Sebastian Gerske
09191fab59 rollback did containing 0x 2018-12-17 14:17:35 +01:00
ssallam
c2f77295ce Fix tests. 2018-12-14 14:07:41 +01:00
ssallam
233aede5f6 Generate assetId with 0x prefix, update all references to reflect this. This makes it similar to squid-py and fixes an issue in payAsset where the asset id in the condition param had double 0x prefix when paying a service agreement for an asset created in squid-py. 2018-12-14 13:40:08 +01:00
Sebastian Gerske
83ce375588 remove dead code 2018-12-10 13:26:07 +01:00
Sebastian Gerske
ce7027590e new access template 2018-12-07 15:19:16 +01:00
Sebastian Gerske
a904649c33 add event listener for lockPayment 2018-11-23 16:01:42 +01:00