Skip to content

Conversation

tomwade
Copy link
Contributor

@tomwade tomwade commented Sep 13, 2022

  • Set swap target
  • Allow zap pausing
  • Set oanable
  • Set reentrancy guard
  • Remove passable swap target
  • Cry

*/

function setSwapTarget(address payable _swapTarget) external onlyOwner {
swapTarget = _swapTarget;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Under what situations would this need to be changed? This means owner could steal from any approvals.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll shift this to the constructor, make it immutable and update to have it factored into the deployment script 👍

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.

3 participants