~/talk

Consolidating Smart Contracts with Behavioral Contracts

Talkat PLDI 2024 · 2024-06-24..06-28· [blockchain, security]
github:DNXie
links:none on file
links:none on file
links:none on file
slides:none on file

ConSol extends Solidity with a transpiler that attaches behavioral contracts to first-class addresses by expanding 160-bit addresses into a guarded address representation that encodes pre/postconditions; calls decode and dispatch checks at invocation. The prototype minimizes storage changes, reifies address specs, and extracts repeated low-level checks into separate specs, cutting about half the local assertion lines in evaluated functions. Tested on ~20 real-world cases and benchmarks, it blocks known attacks and adds only about 0.2% gas overhead.

AI-written summary · about

  1. 0:00Talk introduction
  2. 0:42Smart contracts
  3. 2:05Bugs and losses in contracts
  4. 3:08Behavioral contracts
  5. 3:48Consol: Extending Solidity
  6. 4:51Behavioral contract annotations example
  7. 6:16Address arguments challenges
  8. 7:19Higher-order functions checks
  9. 8:01Decoupling security from logic
  10. 9:26Tracking addresses costs
  11. 11:13Gas overhead in EVM
  12. 13:03Expressiveness vs real attacks
  13. 14:27Simplifying security checks
  14. 15:08Gas overhead benchmarks
  15. 16:54Consol summary and benefits
  16. 17:37Q&A: Dynamic vs static checks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.