Total Smart Contracts in Pact: Model-Verified Interfaces and Governance
summary
Pact is a deliberately total, Turing‑incomplete contract language that puts source code on chain, adds an interactive REPL for local pact simulations, and wires properties into code so Z3 verifies invariants ahead of deployment. The uploader shows the Pact property checker using the Z3 SMT solver to find concrete counterexamples (e.g., same sender and receiver breaks mass‑conservation), and demonstrates capability‑based guards plus an upgrade governance mechanism that enforces who may upgrade modules and that the governance checks actually work.
AI-written summary · about
chapters (12)
- 0:00Start
- 0:31Introduction
- 0:58What Is Kadena
- 2:38Why Pact
- 4:26Rubik's Seed Bug
- 6:58Type-Checking
- 7:53Rebel Testing
- 12:12Module Enforcement
- 12:58Capabilities
- 15:49Formally Verified Interfaces
- 16:17Module Constraints
- 22:21Enforce Account Admin
related talks
54mMy Little Token (Part 1)
29mCompositional Verification of Smart Contracts Through Communication Abstraction
15mCompositional Verification of Smart Contracts Through Communication Abstraction
25mBehavioral simulation for smart contracts
38mThe Duality of Smart Contracts and Electronic Rights
23mGradual Verification for Smart Contracts
16mSpecifying Smart Contract with Hax and ConCert
51mA Deal with the Devil: Breaking Smart Contracts
