Created
October 14, 2018 21:58
-
-
Save shanefontaine/ce060ef14835ff36a34329f319db1234 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
function withdraw() public { | |
_checkWithdrawal(); | |
_token.safeTransfer(_wallet, _token.balanceOf(address(this))); | |
} | |
funciton _checkWithdrawal() internal { | |
// This could be anything relevant. For example: | |
// 1. require(now > hasClosed()); | |
// 2. require(isFinalized()); | |
// 3. require(numContributors == maxNumContributors); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment