nucypher / nucypher-contracts

Ethereum contracts supporting TACo applications on the Threshold Network.
18 stars 11 forks source link

TACo app panic button in T staking contract #258

Open cygnusv opened 1 year ago

cygnusv commented 1 year ago

From the T staking contract:

/// @notice Pauses the given application’s eligibility to slash stakes.
///         Besides that stakers can't change authorization to the application.
///         Can be called only by the Panic Button of the particular
///         application. The paused application can not slash stakes until
///         it is approved again by the Governance using `approveApplication`
///         function. Should be used only in case of an emergency.
function pauseApplication(address application)
    external
    override
    onlyPanicButtonOf(application)

I'm opening this issue just to remind us of this aspect. It's not even up to us to decide who should have this role, but we should not forget to set it when we implement slashing for TACo.

KPrasch commented 8 months ago

Hmm - this issue looks like it belongs to nucypher/nucypher-contracts