Module Tezos_raw_protocol_alpha.Clst_storage

Abstraction for low level storage to handle CLST deposits, unstake requests and finalization.

This module is responsible for maintaining the Storage.Clst.Deposits_balance table.

increase_deposit_only_call_from_token ctxt amount increases the deposited amount of tez in the CLST contract. Such amount is considered frozen and not spendable.

decrease_deposit_only_call_from_token ctxt amount decreases the deposited amount of tez in the CLST contract.

increase_redeemed_frozen_deposit_only_call_from_token ctxt cycle amount increases the amount of tez redeemed for the given cycle.

decrease_redeemed_frozen_deposit_only_call_from_token ctxt cycle amount decreases the amount of tez redeemed for the given cycle.