-
Notifications
You must be signed in to change notification settings - Fork 47
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
base: master
Are you sure you want to change the base?
Conversation
tomwade
commented
Sep 13, 2022
- Set swap target
- Allow zap pausing
- Set oanable
- Set reentrancy guard
- Remove passable swap target
- Cry
# Conflicts: # hardhat.config.js
- Set swap target - Allow zap pausing - Set oanable - Set reentrancy guard - Remove passable swap target - Cry
# Conflicts: # contracts/solidity/NFTXMarketplace0xZap.sol # scripts/deploy-marketplace0x-zap.js
*/ | ||
|
||
function setSwapTarget(address payable _swapTarget) external onlyOwner { | ||
swapTarget = _swapTarget; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 👍