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

302 Commits

Author SHA1 Message Date
Pedro Gutiérrez
01465dc164 Fix Reward condition pointing. 2019-03-18 13:37:49 +01:00
Pedro Gutiérrez
f002e5d616 Fix on unit tests. 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
c213a8d3ca Create Signature integration test and fixed/improved the generation of hashes. 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
44a611248e Create helper to fill some common attributes on service agreement template on DDO. 2019-03-18 13:37:49 +01:00
Pedro Gutiérrez
e7b9f990b6 Add conversion helpers for did:op: prefixes. 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
4f28092014 Improved signature helper using fallback non-personal sign method. 2019-03-18 13:37:49 +01:00
Pedro Gutiérrez
51aa0fbf64 Clean and simplify template related typings. 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
8a0679b2d4 added a helper to transform 0x prefixed values 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
5c96be1b0c ignored non stable tests 2019-02-26 00:18:07 +01:00
Pedro Gutiérrez
0410793286 linter fixes 2019-02-26 00:18:07 +01:00
Pedro Gutiérrez
6d5be0db75 fixed consume flow 2019-02-26 00:18:07 +01:00
Pedro Gutiérrez
181940a62c allow having different config in integration test 2019-02-26 00:18:07 +01:00
Pedro Gutiérrez
e61e7b8881 improved Logger allowing different log level 2019-02-26 00:18:07 +01:00
Pedro Gutiérrez
fce88aa528 added SecretStore integration test 2019-02-26 00:18:07 +01:00
Pedro Gutiérrez
dd5c90eb9f added OceanTokens initialization on Ocean 2019-02-26 00:18:07 +01:00
Pedro Gutiérrez
fce3a09285 added Ocean.tokens module 2019-02-26 00:18:07 +01:00
Pedro Gutiérrez
057714988a added some missed methods on Ocean.accounts module 2019-02-26 00:18:07 +01:00
Pedro Gutiérrez
8dcdf0a851 moved ID generator 2019-02-26 00:18:07 +01:00
Pedro Gutiérrez
3fd8f995f6 added Ocean.secretStore module 2019-02-26 00:18:07 +01:00
Pedro Gutiérrez
42b7c0cced fixed asset.order method behavior 2019-02-26 00:18:07 +01:00
Pedro Gutiérrez
a6d2ce8fde using a SecretStore with custom config 2019-02-20 16:06:04 +01:00
Pedro Gutiérrez
407aba7450 improved Service typing 2019-02-20 16:06:04 +01:00
Pedro Gutiérrez
0a0786a835 be able to use a SecretStore URL defined on the DDO ocean#247 2019-02-20 16:06:04 +01:00
Pedro Gutiérrez
f5ab0e6d05 improved way that is exported Service type 2019-02-20 16:06:04 +01:00
Pedro Gutiérrez
3e50ded2e5 allowing to add new services in the DDO when an asset is created 2019-02-20 16:06:04 +01:00
Pedro Gutiérrez
8fb465fc5b improved Service definition 2019-02-20 16:06:04 +01:00
Pedro Gutiérrez
879921ec0a linter fixes 2019-02-14 12:05:31 +01:00
Pedro Gutiérrez
cfda1e6130 added all necessary methods of Ocean.agreements 2019-02-14 12:05:31 +01:00
Pedro Gutiérrez
05efcc3ff1 added created attribute on DDO 2019-02-14 12:05:31 +01:00
Pedro Gutiérrez
2d4cd891b3 changed returning data of asset.create 2019-02-14 12:05:31 +01:00
Pedro Gutiérrez
14f3955ed0 added Search asset tests 2019-02-14 12:05:31 +01:00
Pedro Gutiérrez
8bce68a3a5 added test of registration of service agreement templates 2019-02-14 12:05:31 +01:00
Pedro Gutiérrez
e1b9197746 added buy asset test 2019-02-14 12:05:31 +01:00
Pedro Gutiérrez
e46ef174a2 initial integration test scaffolding 2019-02-14 12:05:31 +01:00
Pedro Gutiérrez
3cf578cfae using spree for running examples 2019-02-08 17:37:21 +01:00