Guide37.7K views3,930 votes0 replies899 following
Clarity Post-Conditions: Enforcing Asset Safety on Stacks
Clarity post-conditions are mandatory safety rails that constrain which asset movements a contract may perform. This guide shows how to declare them, a worked STX-token swap example, common mistakes, and how to verify enforcement on Stacks.