-
-
Save Hebilicious/3af7969bcf8939bc551e8307ca6e4596 to your computer and use it in GitHub Desktop.
This file contains 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
constructor () public { | |
_rOwned[_msgSender()] = _rTotal; | |
IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x05fF2B0DB69458A0750badebc4f9e13aDd608C7F); | |
// Create a uniswap pair for this new token | |
uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) | |
.createPair(address(this), _uniswapV2Router.WETH()); | |
// set the rest of the contract variables | |
uniswapV2Router = _uniswapV2Router; | |
//exclude owner and this contract from fee | |
_isExcludedFromFee[owner()] = true; | |
_isExcludedFromFee[address(this)] = true; | |
emit Transfer(address(0), _msgSender(), _tTotal); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment