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

Updates to the 0x contract #33

Open
wants to merge 33 commits into
base: master
Choose a base branch
from
Open

Updates to the 0x contract #33

wants to merge 33 commits into from

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