You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-17Lines changed: 2 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,28 +16,13 @@ Currently Ganache and Node 14 are not playing well together. To get started:
16
16
17
17
## Features
18
18
19
-
Single Player mode features:
20
-
21
-
-[x] Creation of Commitment
22
-
-[ ] Management of Activities
23
-
-[ ] Management of Measures
24
-
-[x] Execution of commitment settlement
25
-
26
19
#### Creation of Commitment
27
20
28
-
A commitment consists of an ```activity```, a ```measure``` for given activity, a ```start time```, and ```stake```. We will set the ```end date``` 7 days after the startdate.
21
+
A commitment consists of an ```activity```, a ```goalValue``` for given activity, a ```startTime```, and ```stake```. We will automagically set the ```endTime``` 7 days after the startdate.
29
22
30
23
#### Management of Activities
31
24
32
-
An activity consists of a ```name```, a ```measure``` to express activity metrics, an array of accepted ```ranges```, and the ```oracle``` address. Activities can be enabled by setting it to ```allowed```.
33
-
34
-
For the Single Player mode ```biking``` is the only available activity, as declared in ```scripts/deploy.ts```
35
-
36
-
#### Management of Measures
37
-
38
-
A measure has a ```name``` and can be enabled by setting it to ```allowed```.
39
-
40
-
For the Single Player mode ```km``` is the only available measure, as declared in ```scripts/deploy.ts```
25
+
An activity consists of a ```name``` and the ```oracle``` address. Activities can be enabled by setting it to ```allowed```.
0 commit comments