Get NuNet tokens for computing work and put into escrow
Description
Click to expand
Who
- @safiullahmubashir08 developer;
- @kabir.kbr @janaina.senna -- advice and help related to the architecture, reviewers.
What
- Implement the first block related to the Tokenomics API in this sequence diagram to the ML on GPU use case, which is block IV on the diagram. Note that the numbers have been reset for this block only, so do not correspond to the numbers in the sequence diagram of the whole use-case:
How
- All calls are correctly implemented and additional calls needed in order for the block to enter from the entry point and exit at the exit point with correct data and structures;
- Ensure that each call at each calling entity has required information and data structure for making a correct call;
- Implement additional calls as needed in order to satisfy criteria 2)
- Request to implement additional calls to developers implementing other blocks for satisfying criteria 3), if needed;
- Make sure that the exiting call of the block provides state, information and data for the next block to be correctly implemented
- Use class diagrams and with specifying calls and data structure (after);
Why
- We need to implement the sequence diagram for running a ML on a GPU and compensate the computer provider described here.
When
- After finishing this Issue. The work PoCs built in that issue should be integrated into the ml on gpu case.
Acceptance Criteria
Click to expand
- all above is implemented, all calls are properly documented in the Tokenomics API specification;
- All additinal calls that are needed from other APIs are properly requested from maintainers of respective APIs and formulated in their APIs;
- existing CI/CD pipeline passes;
- the block is exits with correct state and the next block can be implemented;
Work Breakdown Structure (WBS)
Task | Description | Duration | Status | Start Date | End Date | Comment |
---|---|---|---|---|---|---|
A-2 | Mint mNTX-ADA on Cardano testnet with the NTX-ADA policy | 10 Hrs | Done | 8 Sept 2022 | ||
A-1 | Write and deploy Escrow contract on the testnet | 48 Hrs | Done | 9 Sept 2022 | state diagram source and rendering | |
A | Implement call tests for ca | 5 Hrs | Done | |||
B | Implement call ¨Notify with payment channel details (tokenomics/metaData)¨ | 5 Hrs | Done | |||
C | Implement call ¨Put calculated cost of work into the escrow (tokenomics/deposit)¨ | 5 Hrs | Done | |||
D | Research on the state machine | 72 Hrs | Done | |||
E | RnD on Deployment of state machine | 32 Hrs | Done | |||
F | Transition to no state machine contract | 32 Hrs | Not started | |||
G | RnD on Oracle Implementation | 20 Hrs | Done |
Edited by Safi Ullah