Skip to content

Commit c016256

Browse files
author
francois branciard
committed
update readme
1 parent 2ff0602 commit c016256

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

README.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# PoCo UML
1616

1717

18-
- [Contracts MCD](.uml/ContractV2.pdf)
18+
- [Contracts MCD](./uml/ContractV2.pdf)
1919

2020
- [Contracts and Actors Architecture](./uml/ArchitectureV2.pdf)
2121

@@ -29,7 +29,7 @@
2929
- (r) = a repository on the responsability of (w)
3030

3131
## Actor : Marketplace Creator :
32-
create [IexecHub](./contracts/IexecHub.sol) smart contract. IexecHub is composed of [WorkOrderHub](./contracts/WorkOrderHub.sol),[WorkerPoolHub](./contracts/WorkerPoolHub.sol),[DatasetHub](./contracts/DatasetHub.sol),[AppHub](./contracts/AppHub.sol),[Marketplace](./contracts/Marketplace.sol) Once IexecHub smart contract is created by Marketplace Creator, IexecHub and Marketplace can be used by the others actors scheduler, workers, iExecCloudUser :
32+
create [IexecHub](./contracts/IexecHub.sol) smart contract. IexecHub is composed of [WorkerPoolHub](./contracts/WorkerPoolHub.sol),[DatasetHub](./contracts/DatasetHub.sol),[AppHub](./contracts/AppHub.sol),[Marketplace](./contracts/Marketplace.sol) Once IexecHub smart contract is created by Marketplace Creator, IexecHub and Marketplace can be used by the others actors scheduler, workers, iExecCloudUser :
3333

3434
blockchain interaction :
3535
<table>
@@ -52,7 +52,12 @@ blockchain interaction :
5252
<td></td>
5353
<td>Marketplace Creator</td>
5454
<td>truffle cli</td>
55-
<td><a href="./contracts/IexecHub.sol" target="_blank">IexecHub</a></td>
55+
<td><a href="./contracts/IexecHub.sol" target="_blank">IexecHub</a>,
56+
<a href="./contracts/Marketplace.sol" target="_blank">Marketplace</a>,
57+
<a href="./contracts/WorkerPoolHub.sol" target="_blank">WorkerPoolHub</a>,
58+
<a href="./contracts/DatasetHub.sol" target="_blank">DatasetHub</a>,
59+
<a href="./contracts/AppHub.sol" target="_blank">AppHub</a>
60+
</td>
5661
</tr>
5762
</tbody>
5863
</table>
@@ -117,8 +122,8 @@ blockchain interaction :
117122
<td></td>
118123
</tr>
119124
<tr>
120-
<td><a href="./test/10_finalizedWork.js" target="_blank">10_finalizedWork.js</a></td>
121-
<td>finalizedWork</td>
125+
<td><a href="./test/10_finalizeWork.js" target="_blank">10_finalizeWork.js</a></td>
126+
<td>finalizeWork</td>
122127
<td>WorkerPool</td>
123128
<td>ScheduleProvider</td>
124129
<td>iexec-scheduler</td>
@@ -192,7 +197,7 @@ blockchain interaction :
192197
<tbody>
193198
<tr>
194199
<td></td>
195-
<td><a href="./test/3_appCreation.js" target="_blank">3_appCreation.js</a></td>
200+
<td><a href="./test/03_appCreation.js" target="_blank">03_appCreation.js</a></td>
196201
<td>createApp</td>
197202
<td>IexecHub</td>
198203
<td>appProvider</td>
@@ -344,8 +349,8 @@ Optional: usage not yet implemented in V2
344349
<tr>
345350
<td>CLAIMED</td>
346351
<td>claimFailedConsensus</td>
347-
<td>IexecHub/td>
348-
<td>iExecCloudUser or any ?</td>
352+
<td>IexecHub/<td>
353+
<td>iExecCloudUser</td>
349354
<td>if a WordeORder is in ACTIVE or REVEALING for too long, iExecCloudUser can get a refund by calling claimFailedConsensus</td>
350355
</tr>
351356
<tr>
@@ -372,7 +377,7 @@ Optional: usage not yet implemented in V2
372377
<tbody>
373378
<tr>
374379
<td>AUTHORIZED</td>
375-
<td>callForContribution</td>
380+
<td>allowWorkerToContribute</td>
376381
<td>WorkOrderPool</td>
377382
<td>scheduler</td>
378383
<td>Scheduler has commited to the WorkOrder (ACTIVE) and workers can contribute when called in.</td>
@@ -396,7 +401,7 @@ Optional: usage not yet implemented in V2
396401
<td>reopen</td>
397402
<td>WorkOrderPool</td>
398403
<td>scheduler</td>
399-
<td>If NO worker has revealed, scheduler call reopen function and all previous contribution are tag REJECTED in order to reopen a new callForContribution round</td>
404+
<td>If NO worker has revealed, scheduler call reopen function and all previous contribution are tag REJECTED in order to reopen a new allowWorkerToContribute round</td>
400405
</tr>
401406
</tbody>
402407
</table>

0 commit comments

Comments
 (0)