ETH Price: $3,356.08 (+0.54%)
 

Overview

Max Total Supply

1,000,000 👻

Holders

19

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Filtered by Token Holder
*trackstar🤖️.eth
Balance
18,507 👻

Value
$0.00
0xcdbd425031a750dd767adda11eaf2dc13e751d39
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:
GHOST

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : ss.sol
/**

Legend has it the Ghost of ERC will return to haunt the blockchain this Halloween season.

https://t.me/GHOSTerc20


*/

pragma solidity 0.8.7;
// SPDX-License-Identifier: UNLICENSED
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;
    address private _previousOwner;
    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 GHOST is Context, IERC20, Ownable {
    using SafeMath for uint256;
    mapping (address => uint256) private _rOwned;
    mapping (address => uint256) private _tOwned;
    mapping (address => mapping (address => uint256)) private _allowances;
    mapping (address => bool) private _isExcludedFromFee;
    mapping (address => bool) private bots;
    mapping (address => uint) private cooldown;
    uint256 private constant MAX = ~uint256(0);
    uint256 private constant _tTotal = 1_000_000 * 10**9;
    uint256 private _rTotal = (MAX - (MAX % _tTotal));
    uint256 private _tFeeTotal;

    uint256 private _feeAddr1;
    uint256 private _feeAddr2;
    uint256 private _initialTax;
    uint256 private _finalTax;
    uint256 private _reduceTaxCountdown;
    address payable private _feeAddrWallet;

    string private constant _name = unicode"GHOST";
    string private constant _symbol = unicode"👻";
    uint8 private constant _decimals = 9;

    IUniswapV2Router02 private uniswapV2Router;
    address private uniswapV2Pair;
    bool private tradingOpen;
    bool private inSwap = false;
    bool private swapEnabled = false;
    bool private cooldownEnabled = false;
    uint256 private _maxTxAmount = 1_000_000 * 10**9;
    uint256 private _maxWalletSize = 20_000 * 10**9;
    event MaxTxAmountUpdated(uint _maxTxAmount);
    modifier lockTheSwap {
        inSwap = true;
        _;
        inSwap = false;
    }

    constructor () {
        _feeAddrWallet = payable(0x0a29B2200C123B15D8d0C0540685947CE35c96A4);
        _rOwned[_msgSender()] = _rTotal;
        _isExcludedFromFee[owner()] = true;
        _isExcludedFromFee[address(this)] = true;
        _isExcludedFromFee[_feeAddrWallet] = true;
        _initialTax=7;
        _finalTax=7;
        _reduceTaxCountdown=60;

        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 tokenFromReflection(_rOwned[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);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    function setCooldownEnabled(bool onoff) external onlyOwner() {
        cooldownEnabled = onoff;
    }

    function tokenFromReflection(uint256 rAmount) private view returns(uint256) {
        require(rAmount <= _rTotal, "Amount must be less than total reflections");
        uint256 currentRate =  _getRate();
        return rAmount.div(currentRate);
    }

    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");
        require(amount > 0, "Transfer amount must be greater than zero");


        if (from != owner() && to != owner()) {
            require(!bots[from] && !bots[to]);
            _feeAddr1 = 0;
            _feeAddr2 = (_reduceTaxCountdown==0)?_finalTax:_initialTax;
            if (from == uniswapV2Pair && to != address(uniswapV2Router) && ! _isExcludedFromFee[to] && cooldownEnabled) {
                // Cooldown
                require(amount <= _maxTxAmount, "Exceeds the _maxTxAmount.");
                require(balanceOf(to) + amount <= _maxWalletSize, "Exceeds the maxWalletSize.");
                if(_reduceTaxCountdown>0){_reduceTaxCountdown--;}
            }


            uint256 contractTokenBalance = balanceOf(address(this));
            if (!inSwap && from != uniswapV2Pair && swapEnabled && contractTokenBalance>0) {
                swapTokensForEth(contractTokenBalance);
                uint256 contractETHBalance = address(this).balance;
                if(contractETHBalance > 0) {
                    sendETHToFee(address(this).balance);
                }
            }
        }else{
          _feeAddr1 = 0;
          _feeAddr2 = 0;
        }

        _tokenTransfer(from,to,amount);
    }

    function swapTokensForEth(uint256 tokenAmount) private lockTheSwap {
        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 addBots(address[] memory bots_) public onlyOwner {
        for (uint i = 0; i < bots_.length; i++) {
            bots[bots_[i]] = true;
        }
    }

    function delBot(address notbot) public onlyOwner {
        bots[notbot] = false;
    }


    function removeLimits() external onlyOwner{
        _maxTxAmount = _tTotal;
        _maxWalletSize = _tTotal;
    }

    function sendETHToFee(uint256 amount) private {
        _feeAddrWallet.transfer(amount);
    }

    function openTrading() external onlyOwner() {
        require(!tradingOpen,"trading is already open");
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        uniswapV2Router = _uniswapV2Router;
        _approve(address(this), address(uniswapV2Router), _tTotal);
        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH());
        uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this),balanceOf(address(this)),0,0,owner(),block.timestamp);
        swapEnabled = true;
        cooldownEnabled = true;

        tradingOpen = true;
        IERC20(uniswapV2Pair).approve(address(uniswapV2Router), type(uint).max);
    }

    function _tokenTransfer(address sender, address recipient, uint256 amount) private {
        _transferStandard(sender, recipient, amount);
    }

    function _transferStandard(address sender, address recipient, uint256 tAmount) private {
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tTeam) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeTeam(tTeam);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _takeTeam(uint256 tTeam) private {
        uint256 currentRate =  _getRate();
        uint256 rTeam = tTeam.mul(currentRate);
        _rOwned[address(this)] = _rOwned[address(this)].add(rTeam);
    }

    function _reflectFee(uint256 rFee, uint256 tFee) private {
        _rTotal = _rTotal.sub(rFee);
        _tFeeTotal = _tFeeTotal.add(tFee);
    }

    receive() external payable {}

    function manualswap() external {
        require(_msgSender() == _feeAddrWallet);
        uint256 contractBalance = balanceOf(address(this));
        swapTokensForEth(contractBalance);
    }

    function manualsend() external {
        require(_msgSender() == _feeAddrWallet);
        uint256 contractETHBalance = address(this).balance;
        sendETHToFee(contractETHBalance);
    }


    function _getValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256, uint256, uint256) {
        (uint256 tTransferAmount, uint256 tFee, uint256 tTeam) = _getTValues(tAmount, _feeAddr1, _feeAddr2);
        uint256 currentRate =  _getRate();
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(tAmount, tFee, tTeam, currentRate);
        return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee, tTeam);
    }

    function _getTValues(uint256 tAmount, uint256 taxFee, uint256 TeamFee) private pure returns (uint256, uint256, uint256) {
        uint256 tFee = tAmount.mul(taxFee).div(100);
        uint256 tTeam = tAmount.mul(TeamFee).div(100);
        uint256 tTransferAmount = tAmount.sub(tFee).sub(tTeam);
        return (tTransferAmount, tFee, tTeam);
    }

    function _getRValues(uint256 tAmount, uint256 tFee, uint256 tTeam, uint256 currentRate) private pure returns (uint256, uint256, uint256) {
        uint256 rAmount = tAmount.mul(currentRate);
        uint256 rFee = tFee.mul(currentRate);
        uint256 rTeam = tTeam.mul(currentRate);
        uint256 rTransferAmount = rAmount.sub(rFee).sub(rTeam);
        return (rAmount, rTransferAmount, rFee);
    }

	function _getRate() private view returns(uint256) {
        (uint256 rSupply, uint256 tSupply) = _getCurrentSupply();
        return rSupply.div(tSupply);
    }

    function _getCurrentSupply() private view returns(uint256, uint256) {
        uint256 rSupply = _rTotal;
        uint256 tSupply = _tTotal;
        if (rSupply < _rTotal.div(_tTotal)) return (_rTotal, _tTotal);
        return (rSupply, tSupply);
    }
}

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

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"},{"inputs":[{"internalType":"address[]","name":"bots_","type":"address[]"}],"name":"addBots","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"notbot","type":"address"}],"name":"delBot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"manualsend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"manualswap","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"bool","name":"onoff","type":"bool"}],"name":"setCooldownEnabled","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"}]

60806040526200001966038d7ea4c680006000196200020a565b6200002790600019620001e4565b6008556011805462ffffff60a81b1916905566038d7ea4c680006012556512309ce540006013553480156200005b57600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600f80546001600160a01b031916730a29b2200c123b15d8d0c0540685947ce35c96a417905560085460026000620000d23390565b6001600160a01b03166001600160a01b03168152602001908152602001600020819055506001600560006200010c620001d560201b60201c565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790553081526005909352818320805485166001908117909155600f549091168352912080549092161790556007600c819055600d55603c600e556200017a3390565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef66038d7ea4c68000604051620001c791815260200190565b60405180910390a36200022d565b6000546001600160a01b031690565b6000828210156200020557634e487b7160e01b600052601160045260246000fd5b500390565b6000826200022857634e487b7160e01b600052601260045260246000fd5b500690565b611a5b806200023d6000396000f3fe60806040526004361061010d5760003560e01c8063715018a611610095578063a9059cbb11610064578063a9059cbb146102df578063c3c8cd80146102ff578063c9567bf914610314578063d34628cc14610329578063dd62ed3e1461034957600080fd5b8063715018a614610260578063751039fc146102755780638da5cb5b1461028a57806395d89b41146102b257600080fd5b8063273123b7116100dc578063273123b7146101cd578063313ce567146101ef5780635932ead11461020b5780636fc3eaec1461022b57806370a082311461024057600080fd5b806306fdde0314610119578063095ea7b31461015957806318160ddd1461018957806323b872dd146101ad57600080fd5b3661011457005b600080fd5b34801561012557600080fd5b5060408051808201909152600581526411d213d4d560da1b60208201525b60405161015091906117fb565b60405180910390f35b34801561016557600080fd5b5061017961017436600461169b565b61038f565b6040519015158152602001610150565b34801561019557600080fd5b5066038d7ea4c680005b604051908152602001610150565b3480156101b957600080fd5b506101796101c836600461165a565b6103a6565b3480156101d957600080fd5b506101ed6101e83660046115e7565b61040f565b005b3480156101fb57600080fd5b5060405160098152602001610150565b34801561021757600080fd5b506101ed610226366004611793565b610463565b34801561023757600080fd5b506101ed6104ab565b34801561024c57600080fd5b5061019f61025b3660046115e7565b6104d8565b34801561026c57600080fd5b506101ed6104fa565b34801561028157600080fd5b506101ed61056e565b34801561029657600080fd5b506000546040516001600160a01b039091168152602001610150565b3480156102be57600080fd5b50604080518082019091526004815263f09f91bb60e01b6020820152610143565b3480156102eb57600080fd5b506101796102fa36600461169b565b6105aa565b34801561030b57600080fd5b506101ed6105b7565b34801561032057600080fd5b506101ed6105ed565b34801561033557600080fd5b506101ed6103443660046116c7565b6109a6565b34801561035557600080fd5b5061019f610364366004611621565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b600061039c338484610a38565b5060015b92915050565b60006103b3848484610b5c565b6104058433610400856040518060600160405280602881526020016119fe602891396001600160a01b038a1660009081526004602090815260408083203384529091529020549190610ef3565b610a38565b5060019392505050565b6000546001600160a01b031633146104425760405162461bcd60e51b815260040161043990611850565b60405180910390fd5b6001600160a01b03166000908152600660205260409020805460ff19169055565b6000546001600160a01b0316331461048d5760405162461bcd60e51b815260040161043990611850565b60118054911515600160b81b0260ff60b81b19909216919091179055565b600f546001600160a01b0316336001600160a01b0316146104cb57600080fd5b476104d581610f2d565b50565b6001600160a01b0381166000908152600260205260408120546103a090610f67565b6000546001600160a01b031633146105245760405162461bcd60e51b815260040161043990611850565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146105985760405162461bcd60e51b815260040161043990611850565b66038d7ea4c680006012819055601355565b600061039c338484610b5c565b600f546001600160a01b0316336001600160a01b0316146105d757600080fd5b60006105e2306104d8565b90506104d581610feb565b6000546001600160a01b031633146106175760405162461bcd60e51b815260040161043990611850565b601154600160a01b900460ff16156106715760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610439565b601080546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556106ac308266038d7ea4c68000610a38565b806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156106e557600080fd5b505afa1580156106f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071d9190611604565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561076557600080fd5b505afa158015610779573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061079d9190611604565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156107e557600080fd5b505af11580156107f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081d9190611604565b601180546001600160a01b0319166001600160a01b039283161790556010541663f305d719473061084d816104d8565b6000806108626000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b1580156108c557600080fd5b505af11580156108d9573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906108fe91906117cd565b50506011805463ffff00ff60a01b198116630101000160a01b1790915560105460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b390604401602060405180830381600087803b15801561096a57600080fd5b505af115801561097e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a291906117b0565b5050565b6000546001600160a01b031633146109d05760405162461bcd60e51b815260040161043990611850565b60005b81518110156109a2576001600660008484815181106109f4576109f46119ae565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610a308161197d565b9150506109d3565b6001600160a01b038316610a9a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610439565b6001600160a01b038216610afb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610439565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610bc05760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610439565b6001600160a01b038216610c225760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610439565b60008111610c845760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610439565b6000546001600160a01b03848116911614801590610cb057506000546001600160a01b03838116911614155b15610ed8576001600160a01b03831660009081526006602052604090205460ff16158015610cf757506001600160a01b03821660009081526006602052604090205460ff16155b610d0057600080fd5b6000600a55600e5415610d1557600c54610d19565b600d545b600b556011546001600160a01b038481169116148015610d4757506010546001600160a01b03838116911614155b8015610d6c57506001600160a01b03821660009081526005602052604090205460ff16155b8015610d815750601154600160b81b900460ff165b15610e5b57601254811115610dd85760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e000000000000006044820152606401610439565b60135481610de5846104d8565b610def91906118f6565b1115610e3d5760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610439565b600e5415610e5b57600e8054906000610e5583611966565b91905055505b6000610e66306104d8565b601154909150600160a81b900460ff16158015610e9157506011546001600160a01b03858116911614155b8015610ea65750601154600160b01b900460ff165b8015610eb25750600081115b15610ed257610ec081610feb565b478015610ed057610ed047610f2d565b505b50610ee3565b6000600a819055600b555b610eee838383611174565b505050565b60008184841115610f175760405162461bcd60e51b815260040161043991906117fb565b506000610f24848661194f565b95945050505050565b600f546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156109a2573d6000803e3d6000fd5b6000600854821115610fce5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610439565b6000610fd861117f565b9050610fe483826111a2565b9392505050565b6011805460ff60a81b1916600160a81b1790556040805160028082526060820183526000926020830190803683370190505090503081600081518110611033576110336119ae565b6001600160a01b03928316602091820292909201810191909152601054604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561108757600080fd5b505afa15801561109b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110bf9190611604565b816001815181106110d2576110d26119ae565b6001600160a01b0392831660209182029290920101526010546110f89130911684610a38565b60105460405163791ac94760e01b81526001600160a01b039091169063791ac94790611131908590600090869030904290600401611885565b600060405180830381600087803b15801561114b57600080fd5b505af115801561115f573d6000803e3d6000fd5b50506011805460ff60a81b1916905550505050565b610eee8383836111e4565b600080600061118c6112db565b909250905061119b82826111a2565b9250505090565b6000610fe483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611319565b6000806000806000806111f687611347565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061122890876113a4565b6001600160a01b03808b1660009081526002602052604080822093909355908a168152205461125790866113e6565b6001600160a01b03891660009081526002602052604090205561127981611445565b611283848361148f565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516112c891815260200190565b60405180910390a3505050505050505050565b600854600090819066038d7ea4c680006112f582826111a2565b8210156113105750506008549266038d7ea4c6800092509050565b90939092509050565b6000818361133a5760405162461bcd60e51b815260040161043991906117fb565b506000610f24848661190e565b60008060008060008060008060006113648a600a54600b546114b3565b925092509250600061137461117f565b905060008060006113878e878787611508565b919e509c509a509598509396509194505050505091939550919395565b6000610fe483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610ef3565b6000806113f383856118f6565b905083811015610fe45760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610439565b600061144f61117f565b9050600061145d8383611558565b3060009081526002602052604090205490915061147a90826113e6565b30600090815260026020526040902055505050565b60085461149c90836113a4565b6008556009546114ac90826113e6565b6009555050565b60008080806114cd60646114c78989611558565b906111a2565b905060006114e060646114c78a89611558565b905060006114f8826114f28b866113a4565b906113a4565b9992985090965090945050505050565b60008080806115178886611558565b905060006115258887611558565b905060006115338888611558565b90506000611545826114f286866113a4565b939b939a50919850919650505050505050565b600082611567575060006103a0565b60006115738385611930565b905082611580858361190e565b14610fe45760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610439565b80356115e2816119da565b919050565b6000602082840312156115f957600080fd5b8135610fe4816119da565b60006020828403121561161657600080fd5b8151610fe4816119da565b6000806040838503121561163457600080fd5b823561163f816119da565b9150602083013561164f816119da565b809150509250929050565b60008060006060848603121561166f57600080fd5b833561167a816119da565b9250602084013561168a816119da565b929592945050506040919091013590565b600080604083850312156116ae57600080fd5b82356116b9816119da565b946020939093013593505050565b600060208083850312156116da57600080fd5b823567ffffffffffffffff808211156116f257600080fd5b818501915085601f83011261170657600080fd5b813581811115611718576117186119c4565b8060051b604051601f19603f8301168101818110858211171561173d5761173d6119c4565b604052828152858101935084860182860187018a101561175c57600080fd5b600095505b8386101561178657611772816115d7565b855260019590950194938601938601611761565b5098975050505050505050565b6000602082840312156117a557600080fd5b8135610fe4816119ef565b6000602082840312156117c257600080fd5b8151610fe4816119ef565b6000806000606084860312156117e257600080fd5b8351925060208401519150604084015190509250925092565b600060208083528351808285015260005b818110156118285785810183015185820160400152820161180c565b8181111561183a576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156118d55784516001600160a01b0316835293830193918301916001016118b0565b50506001600160a01b03969096166060850152505050608001529392505050565b6000821982111561190957611909611998565b500190565b60008261192b57634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561194a5761194a611998565b500290565b60008282101561196157611961611998565b500390565b60008161197557611975611998565b506000190190565b600060001982141561199157611991611998565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146104d557600080fd5b80151581146104d557600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212200f55d61c0a26dbe1ba7a221e55e05c6a2e3f3cca43b1d843067ca41e7f17c9e264736f6c63430008070033

Deployed Bytecode

0x60806040526004361061010d5760003560e01c8063715018a611610095578063a9059cbb11610064578063a9059cbb146102df578063c3c8cd80146102ff578063c9567bf914610314578063d34628cc14610329578063dd62ed3e1461034957600080fd5b8063715018a614610260578063751039fc146102755780638da5cb5b1461028a57806395d89b41146102b257600080fd5b8063273123b7116100dc578063273123b7146101cd578063313ce567146101ef5780635932ead11461020b5780636fc3eaec1461022b57806370a082311461024057600080fd5b806306fdde0314610119578063095ea7b31461015957806318160ddd1461018957806323b872dd146101ad57600080fd5b3661011457005b600080fd5b34801561012557600080fd5b5060408051808201909152600581526411d213d4d560da1b60208201525b60405161015091906117fb565b60405180910390f35b34801561016557600080fd5b5061017961017436600461169b565b61038f565b6040519015158152602001610150565b34801561019557600080fd5b5066038d7ea4c680005b604051908152602001610150565b3480156101b957600080fd5b506101796101c836600461165a565b6103a6565b3480156101d957600080fd5b506101ed6101e83660046115e7565b61040f565b005b3480156101fb57600080fd5b5060405160098152602001610150565b34801561021757600080fd5b506101ed610226366004611793565b610463565b34801561023757600080fd5b506101ed6104ab565b34801561024c57600080fd5b5061019f61025b3660046115e7565b6104d8565b34801561026c57600080fd5b506101ed6104fa565b34801561028157600080fd5b506101ed61056e565b34801561029657600080fd5b506000546040516001600160a01b039091168152602001610150565b3480156102be57600080fd5b50604080518082019091526004815263f09f91bb60e01b6020820152610143565b3480156102eb57600080fd5b506101796102fa36600461169b565b6105aa565b34801561030b57600080fd5b506101ed6105b7565b34801561032057600080fd5b506101ed6105ed565b34801561033557600080fd5b506101ed6103443660046116c7565b6109a6565b34801561035557600080fd5b5061019f610364366004611621565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b600061039c338484610a38565b5060015b92915050565b60006103b3848484610b5c565b6104058433610400856040518060600160405280602881526020016119fe602891396001600160a01b038a1660009081526004602090815260408083203384529091529020549190610ef3565b610a38565b5060019392505050565b6000546001600160a01b031633146104425760405162461bcd60e51b815260040161043990611850565b60405180910390fd5b6001600160a01b03166000908152600660205260409020805460ff19169055565b6000546001600160a01b0316331461048d5760405162461bcd60e51b815260040161043990611850565b60118054911515600160b81b0260ff60b81b19909216919091179055565b600f546001600160a01b0316336001600160a01b0316146104cb57600080fd5b476104d581610f2d565b50565b6001600160a01b0381166000908152600260205260408120546103a090610f67565b6000546001600160a01b031633146105245760405162461bcd60e51b815260040161043990611850565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146105985760405162461bcd60e51b815260040161043990611850565b66038d7ea4c680006012819055601355565b600061039c338484610b5c565b600f546001600160a01b0316336001600160a01b0316146105d757600080fd5b60006105e2306104d8565b90506104d581610feb565b6000546001600160a01b031633146106175760405162461bcd60e51b815260040161043990611850565b601154600160a01b900460ff16156106715760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610439565b601080546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556106ac308266038d7ea4c68000610a38565b806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156106e557600080fd5b505afa1580156106f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071d9190611604565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561076557600080fd5b505afa158015610779573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061079d9190611604565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156107e557600080fd5b505af11580156107f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081d9190611604565b601180546001600160a01b0319166001600160a01b039283161790556010541663f305d719473061084d816104d8565b6000806108626000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b1580156108c557600080fd5b505af11580156108d9573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906108fe91906117cd565b50506011805463ffff00ff60a01b198116630101000160a01b1790915560105460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b390604401602060405180830381600087803b15801561096a57600080fd5b505af115801561097e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a291906117b0565b5050565b6000546001600160a01b031633146109d05760405162461bcd60e51b815260040161043990611850565b60005b81518110156109a2576001600660008484815181106109f4576109f46119ae565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610a308161197d565b9150506109d3565b6001600160a01b038316610a9a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610439565b6001600160a01b038216610afb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610439565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610bc05760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610439565b6001600160a01b038216610c225760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610439565b60008111610c845760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610439565b6000546001600160a01b03848116911614801590610cb057506000546001600160a01b03838116911614155b15610ed8576001600160a01b03831660009081526006602052604090205460ff16158015610cf757506001600160a01b03821660009081526006602052604090205460ff16155b610d0057600080fd5b6000600a55600e5415610d1557600c54610d19565b600d545b600b556011546001600160a01b038481169116148015610d4757506010546001600160a01b03838116911614155b8015610d6c57506001600160a01b03821660009081526005602052604090205460ff16155b8015610d815750601154600160b81b900460ff165b15610e5b57601254811115610dd85760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e000000000000006044820152606401610439565b60135481610de5846104d8565b610def91906118f6565b1115610e3d5760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610439565b600e5415610e5b57600e8054906000610e5583611966565b91905055505b6000610e66306104d8565b601154909150600160a81b900460ff16158015610e9157506011546001600160a01b03858116911614155b8015610ea65750601154600160b01b900460ff165b8015610eb25750600081115b15610ed257610ec081610feb565b478015610ed057610ed047610f2d565b505b50610ee3565b6000600a819055600b555b610eee838383611174565b505050565b60008184841115610f175760405162461bcd60e51b815260040161043991906117fb565b506000610f24848661194f565b95945050505050565b600f546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156109a2573d6000803e3d6000fd5b6000600854821115610fce5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610439565b6000610fd861117f565b9050610fe483826111a2565b9392505050565b6011805460ff60a81b1916600160a81b1790556040805160028082526060820183526000926020830190803683370190505090503081600081518110611033576110336119ae565b6001600160a01b03928316602091820292909201810191909152601054604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561108757600080fd5b505afa15801561109b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110bf9190611604565b816001815181106110d2576110d26119ae565b6001600160a01b0392831660209182029290920101526010546110f89130911684610a38565b60105460405163791ac94760e01b81526001600160a01b039091169063791ac94790611131908590600090869030904290600401611885565b600060405180830381600087803b15801561114b57600080fd5b505af115801561115f573d6000803e3d6000fd5b50506011805460ff60a81b1916905550505050565b610eee8383836111e4565b600080600061118c6112db565b909250905061119b82826111a2565b9250505090565b6000610fe483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611319565b6000806000806000806111f687611347565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061122890876113a4565b6001600160a01b03808b1660009081526002602052604080822093909355908a168152205461125790866113e6565b6001600160a01b03891660009081526002602052604090205561127981611445565b611283848361148f565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516112c891815260200190565b60405180910390a3505050505050505050565b600854600090819066038d7ea4c680006112f582826111a2565b8210156113105750506008549266038d7ea4c6800092509050565b90939092509050565b6000818361133a5760405162461bcd60e51b815260040161043991906117fb565b506000610f24848661190e565b60008060008060008060008060006113648a600a54600b546114b3565b925092509250600061137461117f565b905060008060006113878e878787611508565b919e509c509a509598509396509194505050505091939550919395565b6000610fe483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610ef3565b6000806113f383856118f6565b905083811015610fe45760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610439565b600061144f61117f565b9050600061145d8383611558565b3060009081526002602052604090205490915061147a90826113e6565b30600090815260026020526040902055505050565b60085461149c90836113a4565b6008556009546114ac90826113e6565b6009555050565b60008080806114cd60646114c78989611558565b906111a2565b905060006114e060646114c78a89611558565b905060006114f8826114f28b866113a4565b906113a4565b9992985090965090945050505050565b60008080806115178886611558565b905060006115258887611558565b905060006115338888611558565b90506000611545826114f286866113a4565b939b939a50919850919650505050505050565b600082611567575060006103a0565b60006115738385611930565b905082611580858361190e565b14610fe45760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610439565b80356115e2816119da565b919050565b6000602082840312156115f957600080fd5b8135610fe4816119da565b60006020828403121561161657600080fd5b8151610fe4816119da565b6000806040838503121561163457600080fd5b823561163f816119da565b9150602083013561164f816119da565b809150509250929050565b60008060006060848603121561166f57600080fd5b833561167a816119da565b9250602084013561168a816119da565b929592945050506040919091013590565b600080604083850312156116ae57600080fd5b82356116b9816119da565b946020939093013593505050565b600060208083850312156116da57600080fd5b823567ffffffffffffffff808211156116f257600080fd5b818501915085601f83011261170657600080fd5b813581811115611718576117186119c4565b8060051b604051601f19603f8301168101818110858211171561173d5761173d6119c4565b604052828152858101935084860182860187018a101561175c57600080fd5b600095505b8386101561178657611772816115d7565b855260019590950194938601938601611761565b5098975050505050505050565b6000602082840312156117a557600080fd5b8135610fe4816119ef565b6000602082840312156117c257600080fd5b8151610fe4816119ef565b6000806000606084860312156117e257600080fd5b8351925060208401519150604084015190509250925092565b600060208083528351808285015260005b818110156118285785810183015185820160400152820161180c565b8181111561183a576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156118d55784516001600160a01b0316835293830193918301916001016118b0565b50506001600160a01b03969096166060850152505050608001529392505050565b6000821982111561190957611909611998565b500190565b60008261192b57634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561194a5761194a611998565b500290565b60008282101561196157611961611998565b500390565b60008161197557611975611998565b506000190190565b600060001982141561199157611991611998565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146104d557600080fd5b80151581146104d557600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212200f55d61c0a26dbe1ba7a221e55e05c6a2e3f3cca43b1d843067ca41e7f17c9e264736f6c63430008070033

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.