Skip to content

Instantly share code, notes, and snippets.

@ac12644
Created August 13, 2022 23:18
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/7b598814ed422cfe32dbec4e96b27282 to your computer and use it in GitHub Desktop.
Save ac12644/7b598814ed422cfe32dbec4e96b27282 to your computer and use it in GitHub Desktop.
constructor(
uint256 _rate,
address _wallet,
ERC20 _token
) public {
require(_rate > 0);
require(_wallet != address(0));
require(_token != address(0));
rate = _rate;
wallet = _wallet;
token = _token;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment