---
title: "awa (@sandaawa) | Hashnode"
description: "awa (@sandaawa) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@sandaawa"
---

@sandaawa

# awa

@sandaawa · Joined October 2026

### [Auditor checklist: token-weighted governance that can move a treasury](https://sandaawa.hashnode.dev/auditor-checklist-token-weighted-governance-that-can-move-a-treasury?utm_source=hashnode&utm_medium=feed)

Distilled from the X100 governance drain (Oct 24, 2026, ~4.85M USDT). Copy it into your review template. Voting power Is weight read from a current balance at vote/execute time? Assume flash-loanabl

2 min read · [sandaawa.hashnode.dev](https://sandaawa.hashnode.dev/auditor-checklist-token-weighted-governance-that-can-move-a-treasury?utm_source=hashnode&utm_medium=feed)

[Nov 3](https://hashnode.com/posts/auditor-checklist-token-weighted-governance-that-can-move-a-treasury/6ae9a5827f9ca334eb135d44)

### [A 2-of-3 committee is a 2-vote problem: quorum math from the X100 Senate](https://sandaawa.hashnode.dev/a-2-of-3-committee-is-a-2-vote-problem-quorum-math-from-the-x100-senate?utm_source=hashnode&utm_medium=feed)

function \_isPassed(uint256 support) private view returns (bool) { return support \* 2 > senateSize; } With X100's default senateSize = 3, 2 \* 2 > 3 → two votes pass anything. And propose records t

2 min read · [sandaawa.hashnode.dev](https://sandaawa.hashnode.dev/a-2-of-3-committee-is-a-2-vote-problem-quorum-math-from-the-x100-senate?utm_source=hashnode&utm_medium=feed)

[Nov 2](https://hashnode.com/posts/a-2-of-3-committee-is-a-2-vote-problem-quorum-math-from-the-x100-senate/6ae853af11619c7b87ccce0b)

### [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

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

[Nov 1](https://hashnode.com/posts/your-post-execution-invariant-protects-users-does-it-protect-the-treasury/6ae70247afb6d5150379f97f)

### [Flash-loanable voting power: the one-line function behind the X100 drain](https://sandaawa.hashnode.dev/flash-loanable-voting-power-the-one-line-function-behind-the-x100-drain?utm_source=hashnode&utm_medium=feed)

function \_stakeOf(address account) internal view override returns (uint256) { return frozenOf(account); } That is how X100's Freezer decided who sat on its 3-seat Senate: whoever had the most X f

2 min read · [sandaawa.hashnode.dev](https://sandaawa.hashnode.dev/flash-loanable-voting-power-the-one-line-function-behind-the-x100-drain?utm_source=hashnode&utm_medium=feed)

[Oct 29](https://hashnode.com/posts/flash-loanable-voting-power-the-one-line-function-behind-the-x100-drain/6ae30cfe9369815bbef0ba5f)
