Skip to content

Instantly share code, notes, and snippets.

View alva-p's full-sized avatar

alva alva-p

View GitHub Profile
@alva-p
alva-p / AuditPoC.t.sol
Created May 8, 2026 16:53
Reserve Governor — Audit PoC Tests (H1, H2, M1)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.28;
import { Test } from "forge-std/Test.sol";
import { IGovernor } from "@openzeppelin/contracts/governance/IGovernor.sol";
import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import { IERC20Metadata } from "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import { OptimisticSelectorRegistry } from "@governance/OptimisticSelectorRegistry.sol";