Last active
September 28, 2021 16:42
-
-
Save grampabacon/e564f27a98a8a7310a659728f1f672e9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uint256 public _price = 0.0005 ether; | |
address _communityWallet = 0xB93A6D9D539e7EDB0858Eb53a3e1501d51935752; | |
function setPrice(uint256 _newPrice) public onlyOwner { | |
_price = _newPrice; | |
} | |
function withdrawAll() public onlyOwner { | |
require(payable(_communityWallet).send(address(this).balance)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment