---
title: "Discussion on \"Your post-execution invariant protects users. Does it protect the treasury?\" | Hashnode"
description: "Discussion on \"Your post-execution invariant protects users. Does it protect the treasury?\". X100's Freezer had an invariant check after every governance execution. _afterExecute verified that the Freezer's X balance was still at least totalFrozen, the X that users had frozen.\nThat is a good"
url: "https://hashnode.com/posts/your-post-execution-invariant-protects-users-does-it-protect-the-treasury/6ae70247afb6d5150379f97f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Your post-execution invariant protects users. Does it protect the treasury?](https://sandaawa.hashnode.dev/your-post-execution-invariant-protects-users-does-it-protect-the-treasury?utm_source=hashnode&utm_medium=feed)

X100's Freezer had an invariant check after every governance execution. \_afterExecute verified that the Freezer's X balance was still at least totalFrozen, the X that users had frozen. That is a good

Nov 1 · 2 min read · sandaawa.hashnode.dev  
Read the article

## Written by

[awa](https://hashnode.com/@sandaawa)

@sandaawa

  
[View profile](https://hashnode.com/@sandaawa)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
