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.
Cross-module integration#
richy.core.models.Item– the staked asset.richy.core.models.UserRelatedModel– base class providing the user FK.richy.transactions.models.Transaction– optional originating transaction.richy.transactions.models.Exchange– the exchange the staking lives on.
URL routes#
URL namespace staking::
""–index– redirect toopen."open/"–open– list + create."closed/"–closed– closed list."update/<pk>/"–update."delete/<pk>/"–delete."attachment/delete/<pk>/"–delete_attachment.