Skip to content

Conversation

@pk910
Copy link
Member

@pk910 pk910 commented Oct 16, 2025

This PR adds the compiled bytecodes and genesis allocations for the gated deposit system (v2) and wires in env var handling to configure admins & addresses at build time.
See https://notes.ethereum.org/@pk910/gated-deposit-contract-v2 for details.

TL;DR:

  • Predeploys GatedDepositContract at the canonical deposit address:
    • 0x00000000219ab540356cBB839Cbe05303d7705Fa
  • Predeploys TokenDepositGater at:
    • 0x00000000A11Acc355c0dE0000A11aCC355C0DE00
  • Initializes storage so the deposit contract points to the gater (slot 0x41) and the gater has:
    • name (slot 0x03) = “Deposit Token”
    • symbol (slot 0x04) = “Deposit”
    • burn permission for deposit contract (slot 0xc0de…{deposit_addr})
    • admin permission(s) for initial admins (slot 0xacce55…{admin_addr})
  • Adds environment variable handling so you can set initial admins (and related toggles) without editing JSON.

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.

4 participants