Policy · v1.0.0 · last updated 2026-05-02
Uniswap Universal Router · per-step guards
by sbo3l.eth
T-5-2 #171 — every UR command guarded by SBO3L policy decision before broadcast
- Framework
- uniswap
- Risk class
- medium
- Rules
- 7
- Downloads
- 38
Description
Wraps the Uniswap Universal Router with per-step policy gates. Each command (V3_SWAP_EXACT_IN, PERMIT2_TRANSFER_FROM, etc.) gets its own SBO3L decision before broadcast; deny on any step rolls the whole transaction back.
Budget summary
Per-step amount cap · slippage tolerance · token-allowlist gate
Tags
Adopt this policy
Pin the policy ID in your daemon's policy.toml:
[policy]
source = "sbo3l-marketplace"
id = "uniswap-universal-router-v3"
version = "1.0.0"
trust = "by-reputation" # or "pinned-hash" for stricter integrity
Reload the daemon. On next request the runtime fetches the policy, verifies the
issuer signature, computes policy_snapshot_hash, and starts using
it. Every Passport capsule from that point on embeds the marketplace ID
+ version so consumers can re-derive the source.