Skip to content

Commit

Permalink
Add new jury and ban notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
andyoknen committed Jan 29, 2024
1 parent 48bd815 commit c9f1863
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions components/en/developers/modules/ROOT/pages/moderation.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -222,11 +222,13 @@ Here `versions` this is a list of transaction hashes of the edited versions of t
"data": [
{
"juryId": "HASH",
"contentId": "HASH",
"reason": 1,
"ending": 2500000
},
{
"juryId": "HASH",
"contentId": "HASH",
"reason": 2,
"ending": 2600000
},
Expand Down Expand Up @@ -274,4 +276,42 @@ Here `versions` this is a list of transaction hashes of the edited versions of t
...
]
}
----


=== Notify about new jury assigned to author of content

`txid` - Flag transaction ID and Jury ID

[,json]
----
{
"addr": "TG69Jioc81PiwMAJtRanfZqUmRY4TUG7nt",
"msg": "event",
"txid": "0080c9a54b94b7e0602486e41c18a8f54bf3ed4b29508dbef58c20021fd5852d",
"time": 1706521030,
"contentHash": "cb4866f11e1ba2087364600fcd0c316373639e18223da63ddd9b6115e2313088",
"contentRootHash": "cb4866f11e1ba2087364600fcd0c316373639e18223da63ddd9b6115e2313088",
"contentType": "200",
"mesType": "juryassigned",
"reason": "2"
}
----

=== Notify about new ban for account

[,json]
----
{
"addr": "TLAvSHoNbeECY9S6Z7WBMyDT64WWHLm8d7",
"msg": "event",
"txid": "84858578a2ec42069dc4a0eb752c2d16229e52f65f1ccfd6de3bc77899eef71f",
"time": 1706522294,
"contentHash": "9a3f634be04c6ac190d01ca376711190925b819314c8dfa0753533a87ef87dea",
"contentRootHash": "9a3f634be04c6ac190d01ca376711190925b819314c8dfa0753533a87ef87dea",
"contentType": "200",
"juryHash": "aeb2e47fb6dec5ebcb91299627e3f87ab37d60997f8a17c16972a4660e3de696",
"mesType": "juryverdict",
"reason": "1"
}
----

0 comments on commit c9f1863

Please sign in to comment.