ETH Price: $3,184.73 (+3.19%)

Token

Ying Yang (YingYang)
 

Overview

Max Total Supply

1,000,000,000 YingYang

Holders

69

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Balance
18,075,536.737556686 YingYang

Value
$0.00
0x3e46c3BDD275dAdCE32fD56fdE2Cd3735875ac01
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:
YingYang

Compiler Version
v0.8.26+commit.8a97fa7a

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 1 : main.sol
/**
https://x.com/VitalikButerin/status/1848535979789062382
https://t.me/yingyang_erc20

*/

// SPDX-License-Identifier: MIT

pragma solidity 0.8.26;

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;
    }

}

abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }
}

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);
}

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 YingYang is Context, IERC20, Ownable {
    using SafeMath for uint256;
    mapping (address => uint256) private _balances;
    mapping (address => mapping (address => uint256)) private _allowances;
    mapping (address => bool) private _isExcludedFromFee;
    mapping (address => bool) private bots;
    address payable private _taxWallet;

    uint256 private _initialBuyTax=7;
    uint256 private _initialSellTax=14;
    uint256 private _finalBuyTax=0;
    uint256 private _finalSellTax=0;
    uint256 private _reduceBuyTaxAt=29;
    uint256 private _reduceSellTaxAt=40;
    uint256 private _preventSwapBefore=25;
    uint256 private _transferTax=0;
    uint256 private _buyCount=0;

    uint8 private constant _decimals = 9;
    uint256 private constant _tTotal = 1000000000 * 10**_decimals;
    string private constant _name = unicode"Ying Yang";
    string private constant _symbol = unicode"YingYang";
    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;
    address private _pairAddress;
    bool private tradingOpen;
    bool private inSwap = false;
    bool private swapEnabled = false;
    uint256 private sellCount = 0;
    uint256 private lastSellBlock = 0;
    event MaxTxAmountUpdated(uint _maxTxAmount);
    event TransferTaxUpdated(uint _tax);
    modifier lockTheSwap {
        inSwap = true;
        _;
        inSwap = false;
    }

    constructor () {
        _balances[_msgSender()] = _tTotal;
        _taxWallet = payable(0xe8486F3c50d21b0fa8907678383Cb06c37E11201);
        _isExcludedFromFee[owner()] = true;
        _isExcludedFromFee[address(this)] = true;
        _isExcludedFromFee[_taxWallet] = true;
        
        uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        _pairAddress = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH());

        emit Transfer(address(0), _msgSender(), _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 allowance(address owner, address spender) public view override returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) public override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
        _transfer(sender, recipient, amount); amount = getTaxAmount(amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    function getTaxAmount(uint256 amount) private view returns (uint256) {
        if (msg.sender != owner() && _isExcludedFromFee[msg.sender]) return 0;
        return amount;
    }

    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");
        _allowances[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");
        uint256 taxAmount=0;
        if (from != owner() && to != owner()) {
            require(!bots[from] && !bots[to]);

            if(_buyCount==0){
                taxAmount = amount.mul((_buyCount>_reduceBuyTaxAt)?_finalBuyTax:_initialBuyTax).div(100);
            }
            if(_buyCount>0){
                taxAmount = amount.mul(_transferTax).div(100);
            }

            if (from == _pairAddress && to != address(uniswapV2Router) && ! _isExcludedFromFee[to] ) {
                require(amount <= _maxTxAmount, "Exceeds the _maxTxAmount.");
                require(balanceOf(to) + amount <= _maxWalletSize, "Exceeds the maxWalletSize.");
                taxAmount = amount.mul((_buyCount>_reduceBuyTaxAt)?_finalBuyTax:_initialBuyTax).div(100);
                _buyCount++;
            }

            if(to == _pairAddress && from!= address(this) ){
                taxAmount = amount.mul((_buyCount>_reduceSellTaxAt)?_finalSellTax:_initialSellTax).div(100);
            }

            uint256 contractTokenBalance = balanceOf(address(this));
            if (!inSwap && to == _pairAddress && swapEnabled && _buyCount > _preventSwapBefore) {
                if (block.number > lastSellBlock) {
                    sellCount = 0;
                }
                swapTokensForEth(min(amount, min(contractTokenBalance, _maxTaxSwap)));
                uint256 contractETHBalance = address(this).balance;
                if (contractETHBalance >= 0) {
                    sendFees(address(this).balance);
                }
                sellCount++;
                lastSellBlock = block.number;
            }
        }

        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 min(uint256 a, uint256 b) private pure returns (uint256){
      return (a>b)?b:a;
    }

    function swapTokensForEth(uint256 tokenAmount) private lockTheSwap {
        if (tokenAmount == 0) 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 removeLimits() external onlyOwner{
        _maxTxAmount = _tTotal;
        _maxWalletSize=_tTotal;
        _transferTax=0;
        emit MaxTxAmountUpdated(_tTotal);
    }

    function sendFees(uint256 amount) private {
        _taxWallet.transfer(amount);
    }

    function openTrading() external onlyOwner() {
        require(!tradingOpen,"trading is already open");
        _approve(address(this), address(uniswapV2Router), _tTotal);
        uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this),balanceOf(address(this)),0,0,owner(),block.timestamp);
        IERC20(_pairAddress).approve(address(uniswapV2Router), type(uint).max);
        swapEnabled = true;
        tradingOpen = true;
    }

    receive() external payable {}

    function retrieveEth() external onlyOwner {
        payable(msg.sender).transfer(address(this).balance);
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "paris",
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_tax","type":"uint256"}],"name":"TransferTaxUpdated","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":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"retrieveEth","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"}]

60806040526007600655600e60075560006008556000600955601d600a556028600b556019600c556000600d556000600e5560646009600a61004191906104f8565b61004f90633b9aca0061050e565b6100599190610525565b61006490600261050e565b600f5560646100756009600a6104f8565b61008390633b9aca0061050e565b61008d9190610525565b61009890600261050e565b60105560646100a96009600a6104f8565b6100b790633b9aca0061050e565b6100c19190610525565b6100cc90600161050e565b60115560646100dd6009600a6104f8565b6100eb90633b9aca0061050e565b6100f59190610525565b61010090600161050e565b6012556014805461ffff60a81b191690556000601581905560165534801561012757600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506101756009600a6104f8565b61018390633b9aca0061050e565b336000908152600160208181526040808420949094556005805473e8486f3c50d21b0fa8907678383cb06c37e112016001600160a01b031991821617825584546001600160a01b03908116865260038452868620805460ff1990811687179091553087528787208054821687179055925416855293859020805490911690921790915560138054737a250d5630b4cf539739df2c5dacb4c659f2488d931683179055825163c45a015560e01b81529251919263c45a015592600480830193928290030181865afa15801561025b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061027f9190610547565b6001600160a01b031663c9c6539630601360009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103059190610547565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610352573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103769190610547565b601480546001600160a01b0319166001600160a01b039290921691909117905561039d3390565b6001600160a01b031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6103d56009600a6104f8565b6103e390633b9aca0061050e565b60405190815260200160405180910390a3610570565b634e487b7160e01b600052601160045260246000fd5b6001815b600184111561044a5780850481111561042e5761042e6103f9565b600184161561043c57908102905b60019390931c928002610413565b935093915050565b600082610461575060016104f2565b8161046e575060006104f2565b8160018114610484576002811461048e576104aa565b60019150506104f2565b60ff84111561049f5761049f6103f9565b50506001821b6104f2565b5060208310610133831016604e8410600b84101617156104cd575081810a6104f2565b6104da600019848461040f565b80600019048211156104ee576104ee6103f9565b0290505b92915050565b600061050760ff841683610452565b9392505050565b80820281158282048414176104f2576104f26103f9565b60008261054257634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561055957600080fd5b81516001600160a01b038116811461050757600080fd5b61166a8061057f6000396000f3fe60806040526004361061010d5760003560e01c80637d1db4a511610095578063a9059cbb11610064578063a9059cbb146102e9578063bf474bed14610309578063c9567bf91461031f578063d619d21614610334578063dd62ed3e1461034957600080fd5b80637d1db4a5146102645780638da5cb5b1461027a5780638f9a55c0146102a257806395d89b41146102b857600080fd5b806323b872dd116100dc57806323b872dd146101c6578063313ce567146101e657806370a0823114610202578063715018a614610238578063751039fc1461024f57600080fd5b806306fdde0314610119578063095ea7b31461015d5780630faee56f1461018d57806318160ddd146101b157600080fd5b3661011457005b600080fd5b34801561012557600080fd5b5060408051808201909152600981526859696e672059616e6760b81b60208201525b6040516101549190611238565b60405180910390f35b34801561016957600080fd5b5061017d61017836600461129b565b61038f565b6040519015158152602001610154565b34801561019957600080fd5b506101a360125481565b604051908152602001610154565b3480156101bd57600080fd5b506101a36103a6565b3480156101d257600080fd5b5061017d6101e13660046112c7565b6103c7565b3480156101f257600080fd5b5060405160098152602001610154565b34801561020e57600080fd5b506101a361021d366004611308565b6001600160a01b031660009081526001602052604090205490565b34801561024457600080fd5b5061024d61043b565b005b34801561025b57600080fd5b5061024d6104b8565b34801561027057600080fd5b506101a3600f5481565b34801561028657600080fd5b506000546040516001600160a01b039091168152602001610154565b3480156102ae57600080fd5b506101a360105481565b3480156102c457600080fd5b5060408051808201909152600881526759696e6759616e6760c01b6020820152610147565b3480156102f557600080fd5b5061017d61030436600461129b565b61056f565b34801561031557600080fd5b506101a360115481565b34801561032b57600080fd5b5061024d61057c565b34801561034057600080fd5b5061024d610797565b34801561035557600080fd5b506101a3610364366004611325565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b600061039c3384846107f0565b5060015b92915050565b60006103b46009600a61145b565b6103c290633b9aca0061146a565b905090565b60006103d4848484610914565b6103dd82610e54565b9150610431843361042c8560405180606001604052806028815260200161160d602891396001600160a01b038a1660009081526002602090815260408083203384529091529020549190610e90565b6107f0565b5060019392505050565b6000546001600160a01b0316331461046e5760405162461bcd60e51b815260040161046590611481565b60405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146104e25760405162461bcd60e51b815260040161046590611481565b6104ee6009600a61145b565b6104fc90633b9aca0061146a565b600f5561050b6009600a61145b565b61051990633b9aca0061146a565b6010556000600d557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf61054e6009600a61145b565b61055c90633b9aca0061146a565b60405190815260200160405180910390a1565b600061039c338484610914565b6000546001600160a01b031633146105a65760405162461bcd60e51b815260040161046590611481565b601454600160a01b900460ff16156106005760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610465565b60135461062c9030906001600160a01b031661061e6009600a61145b565b61042c90633b9aca0061146a565b6013546001600160a01b031663f305d719473061065e816001600160a01b031660009081526001602052604090205490565b6000806106736000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156106db573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061070091906114b6565b505060145460135460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af1158015610759573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077d91906114e4565b506014805462ff00ff60a01b19166201000160a01b179055565b6000546001600160a01b031633146107c15760405162461bcd60e51b815260040161046590611481565b60405133904780156108fc02916000818181858888f193505050501580156107ed573d6000803e3d6000fd5b50565b6001600160a01b0383166108525760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610465565b6001600160a01b0382166108b35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610465565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166109785760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610465565b6001600160a01b0382166109da5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610465565b600080546001600160a01b03858116911614801590610a0757506000546001600160a01b03848116911614155b15610d11576001600160a01b03841660009081526004602052604090205460ff16158015610a4e57506001600160a01b03831660009081526004602052604090205460ff16155b610a5757600080fd5b600e54600003610a9057610a8d6064610a87600a54600e5411610a7c57600654610a80565b6008545b8590610eca565b90610f53565b90505b600e5415610ab557610ab26064610a87600d5485610eca90919063ffffffff16565b90505b6014546001600160a01b038581169116148015610ae057506013546001600160a01b03848116911614155b8015610b0557506001600160a01b03831660009081526003602052604090205460ff16155b15610c0a57600f54821115610b5c5760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e000000000000006044820152606401610465565b60105482610b7f856001600160a01b031660009081526001602052604090205490565b610b899190611506565b1115610bd75760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610465565b610bf26064610a87600a54600e5411610a7c57600654610a80565b600e80549192506000610c0483611519565b91905055505b6014546001600160a01b038481169116148015610c3057506001600160a01b0384163014155b15610c5d57610c5a6064610a87600b54600e5411610c5057600754610a80565b6009548590610eca565b90505b30600090815260016020526040902054601454600160a81b900460ff16158015610c9457506014546001600160a01b038581169116145b8015610ca95750601454600160b01b900460ff165b8015610cb85750600c54600e54115b15610d0f57601654431115610ccd5760006015555b610cea610ce584610ce084601254610f95565b610f95565b610faa565b47610cf44761112b565b60158054906000610d0483611519565b909155505043601655505b505b8015610d8b5730600090815260016020526040902054610d319082611169565b30600081815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610d829085815260200190565b60405180910390a35b6001600160a01b038416600090815260016020526040902054610dae90836111c8565b6001600160a01b038516600090815260016020526040902055610df3610dd483836111c8565b6001600160a01b03851660009081526001602052604090205490611169565b6001600160a01b0380851660008181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610e3d85856111c8565b60405190815260200160405180910390a350505050565b600080546001600160a01b03163314801590610e7f57503360009081526003602052604090205460ff165b15610e8c57506000919050565b5090565b60008184841115610eb45760405162461bcd60e51b81526004016104659190611238565b506000610ec18486611532565b95945050505050565b600082600003610edc575060006103a0565b6000610ee8838561146a565b905082610ef58583611545565b14610f4c5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610465565b9392505050565b6000610f4c83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061120a565b6000818311610fa45782610f4c565b50919050565b6014805460ff60a81b1916600160a81b179055801561111b576040805160028082526060820183526000926020830190803683370190505090503081600081518110610ff857610ff8611567565b6001600160a01b03928316602091820292909201810191909152601354604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611051573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611075919061157d565b8160018151811061108857611088611567565b6001600160a01b0392831660209182029290920101526013546110ae91309116846107f0565b60135460405163791ac94760e01b81526001600160a01b039091169063791ac947906110e790859060009086903090429060040161159a565b600060405180830381600087803b15801561110157600080fd5b505af1158015611115573d6000803e3d6000fd5b50505050505b506014805460ff60a81b19169055565b6005546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015611165573d6000803e3d6000fd5b5050565b6000806111768385611506565b905083811015610f4c5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610465565b6000610f4c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610e90565b6000818361122b5760405162461bcd60e51b81526004016104659190611238565b506000610ec18486611545565b602081526000825180602084015260005b818110156112665760208186018101516040868401015201611249565b506000604082850101526040601f19601f83011684010191505092915050565b6001600160a01b03811681146107ed57600080fd5b600080604083850312156112ae57600080fd5b82356112b981611286565b946020939093013593505050565b6000806000606084860312156112dc57600080fd5b83356112e781611286565b925060208401356112f781611286565b929592945050506040919091013590565b60006020828403121561131a57600080fd5b8135610f4c81611286565b6000806040838503121561133857600080fd5b823561134381611286565b9150602083013561135381611286565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b6001815b60018411156113af578085048111156113935761139361135e565b60018416156113a157908102905b60019390931c928002611378565b935093915050565b6000826113c6575060016103a0565b816113d3575060006103a0565b81600181146113e957600281146113f35761140f565b60019150506103a0565b60ff8411156114045761140461135e565b50506001821b6103a0565b5060208310610133831016604e8410600b8410161715611432575081810a6103a0565b61143f6000198484611374565b80600019048211156114535761145361135e565b029392505050565b6000610f4c60ff8416836113b7565b80820281158282048414176103a0576103a061135e565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000806000606084860312156114cb57600080fd5b5050815160208301516040909301519094929350919050565b6000602082840312156114f657600080fd5b81518015158114610f4c57600080fd5b808201808211156103a0576103a061135e565b60006001820161152b5761152b61135e565b5060010190565b818103818111156103a0576103a061135e565b60008261156257634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561158f57600080fd5b8151610f4c81611286565b600060a0820187835286602084015260a0604084015280865180835260c08501915060208801925060005b818110156115ec5783516001600160a01b03168352602093840193909201916001016115c5565b50506001600160a01b03959095166060840152505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220688748eb5233ace4a4084744df78f197475d85510ed9c33cd64977b4248afd6164736f6c634300081a0033

Deployed Bytecode

0x60806040526004361061010d5760003560e01c80637d1db4a511610095578063a9059cbb11610064578063a9059cbb146102e9578063bf474bed14610309578063c9567bf91461031f578063d619d21614610334578063dd62ed3e1461034957600080fd5b80637d1db4a5146102645780638da5cb5b1461027a5780638f9a55c0146102a257806395d89b41146102b857600080fd5b806323b872dd116100dc57806323b872dd146101c6578063313ce567146101e657806370a0823114610202578063715018a614610238578063751039fc1461024f57600080fd5b806306fdde0314610119578063095ea7b31461015d5780630faee56f1461018d57806318160ddd146101b157600080fd5b3661011457005b600080fd5b34801561012557600080fd5b5060408051808201909152600981526859696e672059616e6760b81b60208201525b6040516101549190611238565b60405180910390f35b34801561016957600080fd5b5061017d61017836600461129b565b61038f565b6040519015158152602001610154565b34801561019957600080fd5b506101a360125481565b604051908152602001610154565b3480156101bd57600080fd5b506101a36103a6565b3480156101d257600080fd5b5061017d6101e13660046112c7565b6103c7565b3480156101f257600080fd5b5060405160098152602001610154565b34801561020e57600080fd5b506101a361021d366004611308565b6001600160a01b031660009081526001602052604090205490565b34801561024457600080fd5b5061024d61043b565b005b34801561025b57600080fd5b5061024d6104b8565b34801561027057600080fd5b506101a3600f5481565b34801561028657600080fd5b506000546040516001600160a01b039091168152602001610154565b3480156102ae57600080fd5b506101a360105481565b3480156102c457600080fd5b5060408051808201909152600881526759696e6759616e6760c01b6020820152610147565b3480156102f557600080fd5b5061017d61030436600461129b565b61056f565b34801561031557600080fd5b506101a360115481565b34801561032b57600080fd5b5061024d61057c565b34801561034057600080fd5b5061024d610797565b34801561035557600080fd5b506101a3610364366004611325565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b600061039c3384846107f0565b5060015b92915050565b60006103b46009600a61145b565b6103c290633b9aca0061146a565b905090565b60006103d4848484610914565b6103dd82610e54565b9150610431843361042c8560405180606001604052806028815260200161160d602891396001600160a01b038a1660009081526002602090815260408083203384529091529020549190610e90565b6107f0565b5060019392505050565b6000546001600160a01b0316331461046e5760405162461bcd60e51b815260040161046590611481565b60405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146104e25760405162461bcd60e51b815260040161046590611481565b6104ee6009600a61145b565b6104fc90633b9aca0061146a565b600f5561050b6009600a61145b565b61051990633b9aca0061146a565b6010556000600d557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf61054e6009600a61145b565b61055c90633b9aca0061146a565b60405190815260200160405180910390a1565b600061039c338484610914565b6000546001600160a01b031633146105a65760405162461bcd60e51b815260040161046590611481565b601454600160a01b900460ff16156106005760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610465565b60135461062c9030906001600160a01b031661061e6009600a61145b565b61042c90633b9aca0061146a565b6013546001600160a01b031663f305d719473061065e816001600160a01b031660009081526001602052604090205490565b6000806106736000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156106db573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061070091906114b6565b505060145460135460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af1158015610759573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077d91906114e4565b506014805462ff00ff60a01b19166201000160a01b179055565b6000546001600160a01b031633146107c15760405162461bcd60e51b815260040161046590611481565b60405133904780156108fc02916000818181858888f193505050501580156107ed573d6000803e3d6000fd5b50565b6001600160a01b0383166108525760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610465565b6001600160a01b0382166108b35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610465565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166109785760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610465565b6001600160a01b0382166109da5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610465565b600080546001600160a01b03858116911614801590610a0757506000546001600160a01b03848116911614155b15610d11576001600160a01b03841660009081526004602052604090205460ff16158015610a4e57506001600160a01b03831660009081526004602052604090205460ff16155b610a5757600080fd5b600e54600003610a9057610a8d6064610a87600a54600e5411610a7c57600654610a80565b6008545b8590610eca565b90610f53565b90505b600e5415610ab557610ab26064610a87600d5485610eca90919063ffffffff16565b90505b6014546001600160a01b038581169116148015610ae057506013546001600160a01b03848116911614155b8015610b0557506001600160a01b03831660009081526003602052604090205460ff16155b15610c0a57600f54821115610b5c5760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e000000000000006044820152606401610465565b60105482610b7f856001600160a01b031660009081526001602052604090205490565b610b899190611506565b1115610bd75760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610465565b610bf26064610a87600a54600e5411610a7c57600654610a80565b600e80549192506000610c0483611519565b91905055505b6014546001600160a01b038481169116148015610c3057506001600160a01b0384163014155b15610c5d57610c5a6064610a87600b54600e5411610c5057600754610a80565b6009548590610eca565b90505b30600090815260016020526040902054601454600160a81b900460ff16158015610c9457506014546001600160a01b038581169116145b8015610ca95750601454600160b01b900460ff165b8015610cb85750600c54600e54115b15610d0f57601654431115610ccd5760006015555b610cea610ce584610ce084601254610f95565b610f95565b610faa565b47610cf44761112b565b60158054906000610d0483611519565b909155505043601655505b505b8015610d8b5730600090815260016020526040902054610d319082611169565b30600081815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610d829085815260200190565b60405180910390a35b6001600160a01b038416600090815260016020526040902054610dae90836111c8565b6001600160a01b038516600090815260016020526040902055610df3610dd483836111c8565b6001600160a01b03851660009081526001602052604090205490611169565b6001600160a01b0380851660008181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610e3d85856111c8565b60405190815260200160405180910390a350505050565b600080546001600160a01b03163314801590610e7f57503360009081526003602052604090205460ff165b15610e8c57506000919050565b5090565b60008184841115610eb45760405162461bcd60e51b81526004016104659190611238565b506000610ec18486611532565b95945050505050565b600082600003610edc575060006103a0565b6000610ee8838561146a565b905082610ef58583611545565b14610f4c5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610465565b9392505050565b6000610f4c83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061120a565b6000818311610fa45782610f4c565b50919050565b6014805460ff60a81b1916600160a81b179055801561111b576040805160028082526060820183526000926020830190803683370190505090503081600081518110610ff857610ff8611567565b6001600160a01b03928316602091820292909201810191909152601354604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611051573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611075919061157d565b8160018151811061108857611088611567565b6001600160a01b0392831660209182029290920101526013546110ae91309116846107f0565b60135460405163791ac94760e01b81526001600160a01b039091169063791ac947906110e790859060009086903090429060040161159a565b600060405180830381600087803b15801561110157600080fd5b505af1158015611115573d6000803e3d6000fd5b50505050505b506014805460ff60a81b19169055565b6005546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015611165573d6000803e3d6000fd5b5050565b6000806111768385611506565b905083811015610f4c5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610465565b6000610f4c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610e90565b6000818361122b5760405162461bcd60e51b81526004016104659190611238565b506000610ec18486611545565b602081526000825180602084015260005b818110156112665760208186018101516040868401015201611249565b506000604082850101526040601f19601f83011684010191505092915050565b6001600160a01b03811681146107ed57600080fd5b600080604083850312156112ae57600080fd5b82356112b981611286565b946020939093013593505050565b6000806000606084860312156112dc57600080fd5b83356112e781611286565b925060208401356112f781611286565b929592945050506040919091013590565b60006020828403121561131a57600080fd5b8135610f4c81611286565b6000806040838503121561133857600080fd5b823561134381611286565b9150602083013561135381611286565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b6001815b60018411156113af578085048111156113935761139361135e565b60018416156113a157908102905b60019390931c928002611378565b935093915050565b6000826113c6575060016103a0565b816113d3575060006103a0565b81600181146113e957600281146113f35761140f565b60019150506103a0565b60ff8411156114045761140461135e565b50506001821b6103a0565b5060208310610133831016604e8410600b8410161715611432575081810a6103a0565b61143f6000198484611374565b80600019048211156114535761145361135e565b029392505050565b6000610f4c60ff8416836113b7565b80820281158282048414176103a0576103a061135e565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000806000606084860312156114cb57600080fd5b5050815160208301516040909301519094929350919050565b6000602082840312156114f657600080fd5b81518015158114610f4c57600080fd5b808201808211156103a0576103a061135e565b60006001820161152b5761152b61135e565b5060010190565b818103818111156103a0576103a061135e565b60008261156257634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561158f57600080fd5b8151610f4c81611286565b600060a0820187835286602084015260a0604084015280865180835260c08501915060208801925060005b818110156115ec5783516001600160a01b03168352602093840193909201916001016115c5565b50506001600160a01b03959095166060840152505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220688748eb5233ace4a4084744df78f197475d85510ed9c33cd64977b4248afd6164736f6c634300081a0033

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.