Skip to content

refactor(vibenet): simplify conditional withdrawal contract - #126

Open
haardikk21 wants to merge 2 commits into
validity-hide-overview-cardfrom
validity-simple-withdrawal-contract
Open

refactor(vibenet): simplify conditional withdrawal contract#126
haardikk21 wants to merge 2 commits into
validity-hide-overview-cardfrom
validity-simple-withdrawal-contract

Conversation

@haardikk21

Copy link
Copy Markdown
Contributor

Summary

  • simplify ConditionalWithdrawal.sol to use a normal bool public enabled in storage slot 0
  • remove the custom hashed storage slot, inline assembly, and redundant flip() function
  • update the Race the Agent predicate to read slot 0 with a one-byte boolean mask
  • regenerate the Solidity ABI and bytecode artifact, producing a new deterministic contract address
  • add a collapsed Advanced details section showing the Solidity contract and exact runtime predicate
  • add lightweight Solidity and JSON syntax highlighting with readable light and dark themes

Stack

Verification

  • conditional withdrawal contract, deployment, predicate, and race tests passed
  • npm run typecheck
  • targeted ESLint
  • npm run build
  • local Race the Agent route returned HTTP 200

haardikk21 and others added 2 commits September 2, 2026 14:27
Co-authored-by: OpenCode <opencode-noreply@coinbase.com>
Co-authored-by: OpenCode <opencode-noreply@coinbase.com>
@vercel

vercel Bot commented Sep 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
omni-ui Ready Ready Preview Sep 2, 2026 6:33pm UTC

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants