Skip to content

Instantly share code, notes, and snippets.

@ac12644
Created August 14, 2022 09:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ac12644/f899e7ae1cfa5575ae008eab6f59c6ca to your computer and use it in GitHub Desktop.
Save ac12644/f899e7ae1cfa5575ae008eab6f59c6ca to your computer and use it in GitHub Desktop.
function _preValidatePurchase(address _investor, uint256 _weiAmount)
internal
{
require(_investor != address(0));
require(_weiAmount != 0);
}
function _postValidatePurchase(address _investor, uint256 _weiAmount)
internal
{
// optional override
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment