Staking ======= The ``staking`` app tracks crypto staking positions: locked-up coin amounts that earn rewards over a defined period. Each staking record is owned by a user, references an ``Item`` (a coin), and may optionally be linked to the ``Transaction`` that originally bought the staked coins. .. toctree:: :maxdepth: 1 forms models views Cross-module integration ------------------------ * :class:`richy.core.models.Item` -- the staked asset. * :class:`richy.core.models.UserRelatedModel` -- base class providing the user FK. * :class:`richy.transactions.models.Transaction` -- optional originating transaction. * :class:`richy.transactions.models.Exchange` -- the exchange the staking lives on. URL routes ---------- URL namespace ``staking:``: * ``""`` -- ``index`` -- redirect to ``open``. * ``"open/"`` -- ``open`` -- list + create. * ``"closed/"`` -- ``closed`` -- closed list. * ``"update//"`` -- ``update``. * ``"delete//"`` -- ``delete``. * ``"attachment/delete//"`` -- ``delete_attachment``.