Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arb deployment #5

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Arb deployment #5

wants to merge 3 commits into from

Conversation

mkflow27
Copy link

This pr adds pause & unpause capability to the BCowFactory utilising OpenZeppelin's Pausable. The whenNotPaused modifier was added to the internal _newBPool function. This makes creating new BCowPools only possible when the factory is unpaused.

Pausing and Unpausing is made possible by exposing the external pause and unpause functions.

The entity allowed to pause and unpause is hardcoded to be the Balancer DAO multisig at 0xaF23DC5983230E9eEAf93280e312e57539D098D0 (Arbitrum) and is set at deployment time. Similar DAO multisig addresses have been set for the respective network in the deploy script.

Pausing and unpausing the factory has no impact on existing BCowPools.

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.

1 participant