Skip to content

Enhancement: TokenVault has no emergency-pause mechanism #308

Description

@Jaydbrown

DripFactory, DripGovernor, and TwapOracle each have a pause()/unpause()/is_paused() triple gating their sensitive operations during an incident. TokenVault (contracts/token-vault/src/lib.rs) has none — deposit, withdraw, and set_limit all run unconditionally regardless of any emergency state. Given TokenVault holds user token balances directly (like DripStream, arguably the highest-value target of the four), the absence of any halt mechanism is a notable gap relative to the pattern the rest of the workspace has converged on.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions