snarkVM
snarkVM copied to clipboard
Introduce `supply` mapping
Motivation
This PR introduces the supply mapping to credits.aleo and handles the updates in the VM::speculate and VM::finalize operations.
Each of the following conditions will update the supply mapping:
- Ratify::Genesis
- Ratify::BlockReward
- Ratify::PuzzleReward
- Specific transactions
- bond_public
- unbond_public
- transfer_private_to_public
- transfer_public_to_private
- fee_private
- fee_public