Skip to content

Commit

Permalink
revise pause to include transfers
Browse files Browse the repository at this point in the history
  • Loading branch information
wildmolasses committed Nov 26, 2024
1 parent e86779e commit d46c9bd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions specs/fault-proof/stage-one/bond-incentives.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,16 @@ checks that the current `block.timestamp` is greater than the timestamp on the w
seconds and reverts if not. It also confirms that the amount being withdrawn is less than the amount in the withdrawal
request. Before completing the withdrawal, it reduces the amount contained within the withdrawal request. The original
`withdraw(wad)` function becomes an alias for `withdraw(msg.sender, wad)`.
`withdraw(guy,wad)` will not be callable when `SuperchainConfig.paused()` is `true`, or when `withdrawalsPaused` is `true`.
- `DelayedWETH` has a `setWithdrawalsPaused()` function that allows the `owner()` address to either pause or unpause withdrawals.
`withdraw(guy,wad)` will not be callable when `SuperchainConfig.paused()` is `true`. Also, `withdraw(guy,wad)` is not callable
when `delayedWethPaused` is `true`, unless the caller is the `owner()`.
- `DelayedWETH` has a `setDelayedWethPaused(bool)` function that allows the `owner()` address to either pause or unpause
withdrawals and transfers.
- `DelayedWETH` has a `hold()` function that allows the `owner()` address to, for any holder, give itself an allowance and
immediately `transferFrom` that allowance amount to itself.
- `DelayedWETH` has a `recover()` function that allows the `owner()` address to recover any amount of ETH from the
contract.
- `DelayedWETH` transfers are subject to the local `delayedWethPaused` pause; users other than the owner will not be able to
transfer any tokens within the contract.

#### Sub-Account Model

Expand Down

0 comments on commit d46c9bd

Please sign in to comment.