A formal model for ledger management systems based on contracts and temporal logic | Synapse