[#469] Add ticket helpers
Description
Problem: it is not immediately obvious what tickets are for and how to use them properly. Moreover, existing instructions for working with tickets are quite low-level, there are apparent common primitives that would be useful for most of the contract that decided to rely on the tickets feature.
Solution: add a dedicated module with high-level primitives and developer notes that describe the motivation beyond those.
Related issue(s)
Related to #469 (closed)
✅ Checklist for your Merge Request
Related changes (conditional)
-
Tests (see short guidelines)
-
If I added new functionality, I added tests covering it. -
If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
-
-
Documentation
Stylistic guide (mandatory)
-
My commits comply with the following policy. -
My code complies with the style guide.
Edited by Konstantin Ivanov