Skip to content

Commit f5ad219

Browse files
committed
docs: added poh, removed type to rely on default
1 parent 8e6f4aa commit f5ad219

11 files changed

+161
-7
lines changed

kleros-sdk/config/v2-disputetemplate/curate/NewDispute.curate.jsonc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"templateID": "44"
55
}
66

7-
/*
8-
Contribution._itemID = 0xC2C1AA705632F53051F22A9F65967C0944370020A7489ABA608BD0D755CA1234
9-
Contribution._requestID = 0
10-
Contribution._evidenceGroupID = hash(itemID, requestID) = 0x32554266108048001186322211785477470843107987690258181975452540727388224860514
11-
*/
7+
/**
8+
Contribution._itemID = 0xC2C1AA705632F53051F22A9F65967C0944370020A7489ABA608BD0D755CA1234
9+
Contribution._requestID = 0
10+
Dispute._evidenceGroupID = hash(itemID, requestID) = 0x32554266108048001186322211785477470843107987690258181975452540727388224860514
11+
**/

kleros-sdk/config/v2-disputetemplate/curate/NewDisputeTemplate.curate.jsonc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"title": "Add an entry to Ledger Contract Domain Name registry v2",
44
"description": "Someone requested to add an entry to Ledger Contract Domain Name registry v2",
55
"question": "Does the entry comply with the required criteria?",
6-
"type": "single-select",
76
"answers": [
87
{
98
"title": "Yes, Add It",

kleros-sdk/config/v2-disputetemplate/linguo/NewDisputeTemplate.linguo.jsonc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"title": "Review a translation from Linguo",
44
"description": "Someone challenged a translation",
55
"question": "Does the translation comply with the required criteria?",
6-
"type": "single-select",
76
"answers": [
87
{
98
"title": "Yes, the translation should be accepted",
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"$schema": "./DisputeDetails.poh.schema.json",
3+
"title": "Proof of Humanity Registration Request",
4+
"description": "A request to register the specified entry to a list of provable humans.",
5+
"question": "Should the request to register be accepted?",
6+
"type": "single-select",
7+
"answers": [
8+
{
9+
"id": "0x00",
10+
"title": "Invalid/Refuse to Arbitrate",
11+
"reserved": true
12+
},
13+
{
14+
"id": "0x01",
15+
"title": "Yes",
16+
"description": "Accept the request to register the entry.",
17+
"reserved": false
18+
},
19+
{
20+
"id": "0x02",
21+
"title": "No",
22+
"description": "Deny the request.",
23+
"reserved": false
24+
}
25+
],
26+
"policyURI": "/ipfs/QmXDiiBAizCPoLqHvcfTzuMT7uvFEe1j3s4TgoWWd4k5np/proof-of-humanity-registry-policy-v1.3.pdf",
27+
"frontendUrl": "https://app.proofofhumanity.id/profile/0x35998E80B3fa93cFD957D616e6f09cd830e9787c",
28+
"arbitrableChainID": "1",
29+
"arbitrableAddress": "0xc5e9ddebb09cd64dfacab4011a0d5cedaf7c9bdb",
30+
"arbitratorChainID": "421613",
31+
"arbitratorAddress": "0xD08Ab99480d02bf9C092828043f611BcDFEA917b", // KlerosCore
32+
"category": "Curated Lists",
33+
"lang": "en_US",
34+
"specification": "KIP77",
35+
"metadata": {
36+
},
37+
"externalDisputeID": "0x306000938609016839401998194416306598562578921596", // hash(itemID, requestID)
38+
"arbitrableDisputeID": "1556",
39+
"arbitratorDisputeID": "4568",
40+
"disputeTemplateID": "46",
41+
"disputeTemplateHash": "0x51u9...2226"
42+
}
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"$schema": "./DisputeDetails.poh.schema.json",
3+
"title": "Proof of Humanity Clearing Request",
4+
"description": "A request to remove the specified entry from a list of provable humans.",
5+
"question": "Should the request to remove be accepted?",
6+
"type": "single-select",
7+
"answers": [
8+
{
9+
"id": "0x00",
10+
"title": "Invalid/Refuse to Arbitrate",
11+
"reserved": true
12+
},
13+
{
14+
"id": "0x01",
15+
"title": "Yes",
16+
"description": "Accept the request to remove the entry.",
17+
"reserved": false
18+
},
19+
{
20+
"id": "0x02",
21+
"title": "No",
22+
"description": "Deny the request.",
23+
"reserved": false
24+
}
25+
],
26+
"policyURI": "/ipfs/QmXDiiBAizCPoLqHvcfTzuMT7uvFEe1j3s4TgoWWd4k5np/proof-of-humanity-registry-policy-v1.3.pdf",
27+
"frontendUrl": "https://app.proofofhumanity.id/profile/0x35998E80B3fa93cFD957D616e6f09cd830e9787c",
28+
"arbitrableChainID": "1",
29+
"arbitrableAddress": "0xc5e9ddebb09cd64dfacab4011a0d5cedaf7c9bdb",
30+
"arbitratorChainID": "421613",
31+
"arbitratorAddress": "0xD08Ab99480d02bf9C092828043f611BcDFEA917b", // KlerosCore
32+
"category": "Curated Lists",
33+
"lang": "en_US",
34+
"specification": "KIP77",
35+
"metadata": {
36+
},
37+
"externalDisputeID": "0x2f0c53ed326eb88ef6a01ff83df458c1cebe5b9ee5e8509525189d9422e28983", // hash(itemID, requestID)
38+
"arbitrableDisputeID": "1557",
39+
"arbitratorDisputeID": "4569",
40+
"disputeTemplateID": "47",
41+
"disputeTemplateHash": "0x31u9...5550"
42+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0x35998E80B3fa93cFD957D616e6f09cd830e9787c
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0x35998E80B3fa93cFD957D616e6f09cd830e9787c
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"externalDisputeID": "0x306000938609016839401998194416306598562578921596", // hash(itemID, requestID)
3+
"arbitrableDisputeID": "1556",
4+
"templateID": "46"
5+
}
6+
7+
/**
8+
SubmissionChallenged._submissionID = 0x35998E80B3fa93cFD957D616e6f09cd830e9787c
9+
SubmissionChallenged._requestID = 0
10+
Dispute._evidenceGroupID = hash(_submissionID, _requestID) = 0x306000938609016839401998194416306598562578921596
11+
**/
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"externalDisputeID": "0x2f0c53ed326eb88ef6a01ff83df458c1cebe5b9ee5e8509525189d9422e28983", // hash(itemID, requestID)
3+
"arbitrableDisputeID": "1557",
4+
"templateID": "47"
5+
}
6+
7+
/**
8+
SubmissionChallenged._submissionID = 0x35998E80B3fa93cFD957D616e6f09cd830e9787c
9+
SubmissionChallenged._requestID = 1
10+
Dispute._evidenceGroupID = hash(_submissionID, _requestID) = 0x2f0c53ed326eb88ef6a01ff83df458c1cebe5b9ee5e8509525189d9422e28983
11+
**/
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"$schema": "../NewDisputeTemplate.schema.json",
3+
"title": "Proof of Humanity Registration Request",
4+
"description": "A request to register the specified entry to a list of provable humans.",
5+
"question": "Should the request to register be accepted?",
6+
"answers": [
7+
{
8+
"title": "Yes",
9+
"description": "Accept the request to register the entry."
10+
},
11+
{
12+
"title": "No",
13+
"description": "Deny the request."
14+
}
15+
],
16+
"policyURI": "/ipfs/QmXDiiBAizCPoLqHvcfTzuMT7uvFEe1j3s4TgoWWd4k5np/proof-of-humanity-registry-policy-v1.3.pdf",
17+
"frontendUrl": "https://app.proofofhumanity.id/profile/%s",
18+
"arbitrableChainID": "1",
19+
"arbitrableAddress": "0xc5e9ddebb09cd64dfacab4011a0d5cedaf7c9bdb",
20+
"arbitratorChainID": "421613",
21+
"arbitratorAddress": "0xD08Ab99480d02bf9C092828043f611BcDFEA917b", // KlerosCore
22+
"category": "Curated Lists",
23+
"specification": "KIP88"
24+
}

0 commit comments

Comments
 (0)