Skip to content

Commit 250af2a

Browse files
committed
docs: wip specs
1 parent 4a1514e commit 250af2a

13 files changed

+872
-59
lines changed

kleros-sdk/config/v2-disputetemplate/disputetemplate-reality-final2.txt

Lines changed: 0 additions & 57 deletions
This file was deleted.
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"$schema": "./dispute-details.linguo.schema.json",
3+
"category": "Translation",
4+
"title": "Review a translation from Linguo",
5+
"description": "Someone challenged a translation",
6+
"question": "Does the translation comply with the required criteria?",
7+
"type": "single-select",
8+
"answers": [
9+
{
10+
"id": "0x00",
11+
"title": "Invalid/Refuse to Arbitrate",
12+
"reserved": true
13+
},
14+
{
15+
"id": "0x01",
16+
"title": "Yes, the translation should be accepted",
17+
"description": "Select this if you think the translation complies with the required criteria.",
18+
"reserved": false
19+
},
20+
{
21+
"id": "0x02",
22+
"title": "No, the translation should not be accepted",
23+
"description": "Select this if you think the translation does not comply with the required criteria.",
24+
"reserved": false
25+
}
26+
],
27+
"frontendUrl": "https://linguo.kleros.io/translation/", // SDK should not change it
28+
"policyURI": "/ipfs/QmVabp1VjJNYzXDxbcWFdeK17RvvA9eQy6eJVf1T1AzS1a/linguo-translation-quality-policy.pdf",
29+
"arbitrableChainID": "100",
30+
"arbitrableAddress": "0xe78996a233895be74a66f451f1019ca9734205cc",
31+
"arbitratorChainID": "421613",
32+
"arbitratorAddress": "0xD08Ab99480d02bf9C092828043f611BcDFEA917b", // KlerosCore
33+
"specification": "KIP999",
34+
"metadata": {
35+
"linguoAddress": "0xe78996a233895be74a66f451f1019ca9734205cc",
36+
"linguoTranslationID": "76",
37+
"linguoDeadline": "1680307199",
38+
"linguoSourceLanguage": "en-us",
39+
"linguoTargetLanguage": "es",
40+
"linguoExpectedQuality": "professional",
41+
"linguoTitle": "What do I think about network states?",
42+
"linguoWordCount": "7900",
43+
"linguoOriginalTextUrl": "https://vitalik.ca/general/2022/07/13/networkstates.html",
44+
"linguoOriginalTextFile": "/ipfs/QmY16SsM1uk7i2TLxGhUZR8iW74w4Luphry3SJeN6XyCTf/What do I think about network states.docx",
45+
"linguoAssignedPrice": "81670000000000000000",
46+
"linguoMinimumPrice": "0",
47+
"linguoMaximumPrice": "500000000000000000000",
48+
49+
// https://github.com/kleros/linguo-script/blob/master/src/index.js#L31-L44
50+
"linguoRequester": "0xabc996a233895be74a66f451f1019ca97342aaaa",
51+
"linguoTranslator": "0xbcd996a233895be74a66f451f1019ca97342bbbb",
52+
"linguoChallenger": "0xcde996a233895be74a66f451f1019ca97342cccc",
53+
"linguoFrontendUrl": "https://linguo.kleros.io/translation/0x0B928165A67df8254412483ae8C3b8cc7F2b4D36/35",
54+
}
55+
}

kleros-sdk/config/v2-disputetemplate/linguo/dispute-template-inputs.linguo.txt

Whitespace-only changes.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"$schema": "./dispute-template.linguo.schema.json",
3+
"category": "Translation",
4+
"title": "Review a translation from Linguo",
5+
"description": "Someone challenged a translation",
6+
"question": "Does the translation comply with the required criteria?",
7+
"type": "single-select",
8+
"answers": [
9+
{
10+
"title": "Yes, the translation should be accepted",
11+
"description": "Select this if you think the translation complies with the required criteria.",
12+
"reserved": false
13+
},
14+
{
15+
"title": "No, the translation should not be accepted",
16+
"description": "Select this if you think the translation does not comply with the required criteria.",
17+
"reserved": false
18+
}
19+
],
20+
"frontendUrl": "https://linguo.kleros.io/translation/", // SDK should not change it
21+
"policyURI": "/ipfs/QmVabp1VjJNYzXDxbcWFdeK17RvvA9eQy6eJVf1T1AzS1a/linguo-translation-quality-policy.pdf",
22+
"arbitrableChainID": "100",
23+
"arbitrableAddress": "0xe78996a233895be74a66f451f1019ca9734205cc",
24+
"arbitratorChainID": "421613",
25+
"arbitratorAddress": "0xD08Ab99480d02bf9C092828043f611BcDFEA917b", // KlerosCore
26+
"specification": "KIP999"
27+
}

0 commit comments

Comments
 (0)