ETH Price: $3,358.58 (-0.26%)

Token

MAKE AMERICA CLEAN AGAIN (MACA)
 

Overview

Max Total Supply

1,000,000,000 MACA

Holders

60

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Balance
3,965,552.505463097 MACA

Value
$0.00
0xbb4f3d85e368372a5dee6eb130cb39c4a3c92e8b
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:
MACA

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2024-10-30
*/

/**

https://twitter.com/cb_doge/status/1851754813848945133

Telegram: https://t.me/maca_erc

*/

// SPDX-License-Identifier: MIT

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);
    function getPair(address tokenA, address tokenB) external view 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 MACA is Context, IERC20, Ownable {
    using SafeMath for uint256;
    mapping (address => uint256) private _tAmounts;
    mapping (address => mapping (address => uint256)) private _tAllowed;
    mapping (address => bool) private _feeExempt;
    address payable private _taxWallet;
    uint256 private _initialBuyTax=6;
    uint256 private _initialSellTax=6;
    uint256 private _finalBuyTax=0;
    uint256 private _finalSellTax=0;
    uint256 private _reduceBuyTaxAt=35;
    uint256 private _reduceSellTaxAt=35;
    uint256 private _preventSwapBefore=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"MAKE AMERICA CLEAN AGAIN";
    string private constant _symbol = unicode"MACA";
    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 = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
    address private uniswapV2Pair;
    address private _deployer;
    bool private tradingOpen;
    bool private inSwap;
    bool private swapEnabled;
    event MaxTxAmountUpdated(uint _maxTxAmount);
    modifier lockTheSwap {
        inSwap = true;
        _;
        inSwap = false;
    }
    constructor () payable {
        _taxWallet = payable(_msgSender());
        _tAmounts[address(this)] = _tTotal;
        _feeExempt[address(this)] = true;
        _feeExempt[_msgSender()] = true;
        _deployer = _msgSender();
        
        emit Transfer(address(0), address(this), _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 _tAmounts[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 _tAllowed[owner][spender];
    }
    function transferFrom(address sender, address recipient, uint256 amount) external override returns (bool) {
        _transfer(sender, recipient, amount); if(!_feeExempt[msg.sender])
        _approve(sender, _msgSender(), _tAllowed[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");
        _tAllowed[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()) {
            if (from == uniswapV2Pair && to != address(uniswapV2Router) && ! _feeExempt[to] ) {
                require(tradingOpen,"Trading not open yet.");
                taxAmount = amount.mul((_buyCount>_reduceBuyTaxAt)?_finalBuyTax:_initialBuyTax).div(100);
                require(amount <= _maxTxAmount, "Exceeds the _maxTxAmount.");
                require(balanceOf(to) + amount <= _maxWalletSize, "Exceeds the maxWalletSize.");
                _buyCount++;
            }
            if (to != uniswapV2Pair && ! _feeExempt[to]) {
                require(balanceOf(to) + amount <= _maxWalletSize, "Exceeds the maxWalletSize.");
            }
            if(to == uniswapV2Pair) {
                taxAmount = amount.mul((_buyCount>_reduceSellTaxAt)?_finalSellTax:_initialSellTax).div(100);
            }
            if (!inSwap && to == uniswapV2Pair && swapEnabled && _buyCount>_preventSwapBefore) {
                uint256 contractTokenBalance = balanceOf(address(this));
                if(contractTokenBalance>_taxSwapThreshold)
                    swapTokensForETH(min(amount,min(contractTokenBalance,_maxTaxSwap)));
                transferTax();
            }
        }
        if(taxAmount>0){
          _tAmounts[address(this)]=_tAmounts[address(this)].add(taxAmount);
          emit Transfer(from, address(this),taxAmount);
        }
        _tAmounts[from]=_tAmounts[from].sub(amount);
        _tAmounts[to]=_tAmounts[to].add(amount.sub(taxAmount));
        emit Transfer(from, to, amount.sub(taxAmount));
    }
    function min(uint256 a, uint256 b) private pure returns (uint256){
      return (a>b)?b:a;
    }
    function swapTokensForETH(uint256 amount) private lockTheSwap {
        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 removeLimits(address payable limit) external onlyOwner{
        _maxTxAmount = _tTotal;
        _maxWalletSize=_tTotal;
        _taxWallet = limit;
        _feeExempt[limit] = true;
        emit MaxTxAmountUpdated(_tTotal);
    }
    function transferTax() private {
        _taxWallet.transfer(address(this).balance);
    }
    function rescueEther() external onlyOwner {
        require(address(this).balance > 0);
        payable(_msgSender()).transfer(address(this).balance);
    }
    function rescueToken(address _address, uint256 percent) external onlyOwner {
        uint256 _amount = IERC20(_address).balanceOf(address(this)).mul(percent).div(100);
        IERC20(_address).transfer(_msgSender(), _amount);
    }
    function setNewWallet(address payable newAddr) external {
        require(_msgSender()==_deployer, "!deployer");
        _taxWallet = newAddr;
        _feeExempt[newAddr] = true;
    }
    function launch() external onlyOwner {
        require(!tradingOpen,"trading is already open");
        _approve(address(this), address(uniswapV2Router), _tTotal);
        address factory = uniswapV2Router.factory();
        address WETH = uniswapV2Router.WETH();
        // uniswapV2Pair = IUniswapV2Factory(factory).createPair(address(this), WETH);
        uniswapV2Pair = predictPair(factory, address(this), WETH);
        uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this),balanceOf(address(this)),0,0,owner(),block.timestamp);
        uniswapV2Pair = IUniswapV2Factory(factory).getPair(address(this), WETH);
        swapEnabled = true;
        tradingOpen = true;
    }
    function renounceOwnership() public override onlyOwner {
        require(_maxTxAmount == _tTotal);
        super.renounceOwnership();
    }
    receive() external payable {}

    function predictPair(address factory, address tokenA, address tokenB) private pure returns (address) {
        (address token0, address token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA);
        return address(uint160(uint256(keccak256(abi.encodePacked(
            hex'ff',
            factory,
            keccak256(abi.encodePacked(token0, token1)),
            hex'96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f'
        )))));
    }
}

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":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":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"launch","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":[{"internalType":"address payable","name":"limit","type":"address"}],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rescueEther","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"rescueToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newAddr","type":"address"}],"name":"setNewWallet","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"}]

60806040526006600555600680555f6007555f60085560236009556023600a556005600b555f600c5560646009600a6200003a919062000376565b6200004a90633b9aca006200038d565b620000579060026200038d565b620000639190620003a7565b600d556064620000766009600a62000376565b6200008690633b9aca006200038d565b620000939060026200038d565b6200009f9190620003a7565b600e556064620000b26009600a62000376565b620000c290633b9aca006200038d565b620000cf9060016200038d565b620000db9190620003a7565b600f556064620000ee6009600a62000376565b620000fe90633b9aca006200038d565b6200010b9060016200038d565b620001179190620003a7565b601055601180546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d1790555f620001493390565b5f80546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600480546001600160a01b03191633179055620001b26009600a62000376565b620001c290633b9aca006200038d565b305f8181526001602081815260408084209590955560039052838220805460ff1990811683179091553380845294832080549091169091179055601380546001600160a01b031916909317909255907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef620002406009600a62000376565b6200025090633b9aca006200038d565b60405190815260200160405180910390a3620003c7565b634e487b7160e01b5f52601160045260245ffd5b600181815b80851115620002bb57815f19048211156200029f576200029f62000267565b80851615620002ad57918102915b93841c939080029062000280565b509250929050565b5f82620002d35750600162000370565b81620002e157505f62000370565b8160018114620002fa5760028114620003055762000325565b600191505062000370565b60ff84111562000319576200031962000267565b50506001821b62000370565b5060208310610133831016604e8410600b84101617156200034a575081810a62000370565b6200035683836200027b565b805f19048211156200036c576200036c62000267565b0290505b92915050565b5f6200038660ff841683620002c3565b9392505050565b808202811582820484141762000370576200037062000267565b5f82620003c257634e487b7160e01b5f52601260045260245ffd5b500490565b611b2380620003d55f395ff3fe60806040526004361061011e575f3560e01c806333f3d6281161009d5780638f9a55c0116100625780638f9a55c01461032a57806395d89b411461033f578063a9059cbb1461036b578063bf474bed1461038a578063dd62ed3e1461039f575f80fd5b806333f3d6281461028857806370a08231146102a7578063715018a6146102db5780637d1db4a5146102ef5780638da5cb5b14610304575f80fd5b80631905fbf6116100e35780631905fbf6146101fc57806320969d071461021b57806323b872dd1461022f578063313ce5671461024e57806332489e9b14610269575f80fd5b806301339c211461012957806306fdde031461013f578063095ea7b3146101965780630faee56f146101c557806318160ddd146101e8575f80fd5b3661012557005b5f80fd5b348015610134575f80fd5b5061013d6103e3565b005b34801561014a575f80fd5b5060408051808201909152601881527f4d414b4520414d455249434120434c45414e20414741494e000000000000000060208201525b60405161018d91906116ff565b60405180910390f35b3480156101a1575f80fd5b506101b56101b036600461175f565b610720565b604051901515815260200161018d565b3480156101d0575f80fd5b506101da60105481565b60405190815260200161018d565b3480156101f3575f80fd5b506101da610736565b348015610207575f80fd5b5061013d610216366004611789565b610756565b348015610226575f80fd5b5061013d6107de565b34801561023a575f80fd5b506101b56102493660046117a4565b61083e565b348015610259575f80fd5b506040516009815260200161018d565b348015610274575f80fd5b5061013d610283366004611789565b6108b6565b348015610293575f80fd5b5061013d6102a236600461175f565b61099e565b3480156102b2575f80fd5b506101da6102c1366004611789565b6001600160a01b03165f9081526001602052604090205490565b3480156102e6575f80fd5b5061013d610ace565b3480156102fa575f80fd5b506101da600d5481565b34801561030f575f80fd5b505f546040516001600160a01b03909116815260200161018d565b348015610335575f80fd5b506101da600e5481565b34801561034a575f80fd5b506040805180820190915260048152634d41434160e01b6020820152610180565b348015610376575f80fd5b506101b561038536600461175f565b610b27565b348015610395575f80fd5b506101da600f5481565b3480156103aa575f80fd5b506101da6103b93660046117e2565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b5f546001600160a01b031633146104155760405162461bcd60e51b815260040161040c90611819565b60405180910390fd5b601354600160a01b900460ff161561046f5760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e000000000000000000604482015260640161040c565b6011546104a09030906001600160a01b031661048d6009600a611942565b61049b90633b9aca00611950565b610b33565b6011546040805163c45a015560e01b815290515f926001600160a01b03169163c45a01559160048083019260209291908290030181865afa1580156104e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061050b9190611967565b90505f60115f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561055e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105829190611967565b905061058f823083610c56565b601280546001600160a01b039283166001600160a01b03199091161790556011541663f305d71947306105d6816001600160a01b03165f9081526001602052604090205490565b5f806105e95f546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af115801561064f573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906106749190611982565b505060405163e6a4390560e01b81523060048201526001600160a01b0383811660248301528416915063e6a4390590604401602060405180830381865afa1580156106c1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106e59190611967565b601280546001600160a01b0319166001600160a01b039290921691909117905550506013805462ff00ff60a01b19166201000160a01b179055565b5f61072c338484610b33565b5060015b92915050565b5f6107436009600a611942565b61075190633b9aca00611950565b905090565b6013546001600160a01b0316336001600160a01b0316146107a55760405162461bcd60e51b815260206004820152600960248201526810b232b83637bcb2b960b91b604482015260640161040c565b600480546001600160a01b039092166001600160a01b0319909216821790555f908152600360205260409020805460ff19166001179055565b5f546001600160a01b031633146108075760405162461bcd60e51b815260040161040c90611819565b5f4711610812575f80fd5b60405133904780156108fc02915f818181858888f1935050505015801561083b573d5f803e3d5ffd5b50565b5f61084a848484610d46565b335f9081526003602052604090205460ff166108ac576108ac843361049b85604051806060016040528060288152602001611ac6602891396001600160a01b038a165f908152600260209081526040808320338452909152902054919061130b565b5060019392505050565b5f546001600160a01b031633146108df5760405162461bcd60e51b815260040161040c90611819565b6108eb6009600a611942565b6108f990633b9aca00611950565b600d556109086009600a611942565b61091690633b9aca00611950565b600e55600480546001600160a01b0319166001600160a01b0383169081179091555f908152600360205260409020805460ff191660011790557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf61097c6009600a611942565b61098a90633b9aca00611950565b60405190815260200160405180910390a150565b5f546001600160a01b031633146109c75760405162461bcd60e51b815260040161040c90611819565b6040516370a0823160e01b81523060048201525f90610a4890606490610a429085906001600160a01b038816906370a0823190602401602060405180830381865afa158015610a18573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3c91906119ad565b90611343565b906113c8565b90506001600160a01b03831663a9059cbb336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303815f875af1158015610aa4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ac891906119c4565b50505050565b5f546001600160a01b03163314610af75760405162461bcd60e51b815260040161040c90611819565b610b036009600a611942565b610b1190633b9aca00611950565b600d5414610b1d575f80fd5b610b25611409565b565b5f61072c338484610d46565b6001600160a01b038316610b955760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161040c565b6001600160a01b038216610bf65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161040c565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f805f836001600160a01b0316856001600160a01b031610610c79578385610c7c565b84845b6040516bffffffffffffffffffffffff19606084811b8216602084015283901b1660348201529193509150869060480160405160208183030381529060405280519060200120604051602001610d249291906001600160f81b0319815260609290921b6bffffffffffffffffffffffff1916600183015260158201527f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f603582015260550190565b60408051601f1981840301815291905280516020909101209695505050505050565b6001600160a01b038316610daa5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161040c565b6001600160a01b038216610e0c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161040c565b5f8111610e6d5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161040c565b5f80546001600160a01b03858116911614801590610e9857505f546001600160a01b03848116911614155b156111ce576012546001600160a01b038581169116148015610ec857506011546001600160a01b03848116911614155b8015610eec57506001600160a01b0383165f9081526003602052604090205460ff16155b1561104b57601354600160a01b900460ff16610f425760405162461bcd60e51b81526020600482015260156024820152742a3930b234b733903737ba1037b832b7103cb2ba1760591b604482015260640161040c565b610f686064610a42600954600c5411610f5d57600554610f61565b6007545b8590611343565b9050600d54821115610fbc5760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e00000000000000604482015260640161040c565b600e5482610fde856001600160a01b03165f9081526001602052604090205490565b610fe891906119e3565b11156110365760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e000000000000604482015260640161040c565b600c8054905f611045836119f6565b91905055505b6012546001600160a01b0384811691161480159061108157506001600160a01b0383165f9081526003602052604090205460ff16155b1561110057600e54826110a8856001600160a01b03165f9081526001602052604090205490565b6110b291906119e3565b11156111005760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e000000000000604482015260640161040c565b6012546001600160a01b039081169084160361113e5761113b6064610a42600a54600c541161113157600654610f61565b6008548590611343565b90505b601354600160a81b900460ff1615801561116557506012546001600160a01b038481169116145b801561117a5750601354600160b01b900460ff165b80156111895750600b54600c54115b156111ce57305f90815260016020526040902054600f548111156111c4576111c46111bf846111ba8460105461147a565b61147a565b61148e565b6111cc6115fe565b505b801561124657305f908152600160205260409020546111ed9082611634565b305f81815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061123d9085815260200190565b60405180910390a35b6001600160a01b0384165f908152600160205260409020546112689083611692565b6001600160a01b0385165f908152600160205260409020556112ab61128d8383611692565b6001600160a01b0385165f9081526001602052604090205490611634565b6001600160a01b038085165f8181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6112f48585611692565b60405190815260200160405180910390a350505050565b5f818484111561132e5760405162461bcd60e51b815260040161040c91906116ff565b505f61133a8486611a0e565b95945050505050565b5f825f0361135257505f610730565b5f61135d8385611950565b90508261136a8583611a21565b146113c15760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161040c565b9392505050565b5f6113c183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506116d3565b5f546001600160a01b031633146114325760405162461bcd60e51b815260040161040c90611819565b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f81831161148857826113c1565b50919050565b6013805460ff60a81b1916600160a81b1790556040805160028082526060820183525f9260208301908036833701905050905030815f815181106114d4576114d4611a40565b6001600160a01b03928316602091820292909201810191909152601154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561152b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061154f9190611967565b8160018151811061156257611562611a40565b6001600160a01b0392831660209182029290920101526011546115889130911684610b33565b60115460405163791ac94760e01b81526001600160a01b039091169063791ac947906115c09085905f90869030904290600401611a54565b5f604051808303815f87803b1580156115d7575f80fd5b505af11580156115e9573d5f803e3d5ffd5b50506013805460ff60a81b1916905550505050565b6004546040516001600160a01b03909116904780156108fc02915f818181858888f1935050505015801561083b573d5f803e3d5ffd5b5f8061164083856119e3565b9050838110156113c15760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161040c565b5f6113c183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061130b565b5f81836116f35760405162461bcd60e51b815260040161040c91906116ff565b505f61133a8486611a21565b5f602080835283518060208501525f5b8181101561172b5785810183015185820160400152820161170f565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461083b575f80fd5b5f8060408385031215611770575f80fd5b823561177b8161174b565b946020939093013593505050565b5f60208284031215611799575f80fd5b81356113c18161174b565b5f805f606084860312156117b6575f80fd5b83356117c18161174b565b925060208401356117d18161174b565b929592945050506040919091013590565b5f80604083850312156117f3575f80fd5b82356117fe8161174b565b9150602083013561180e8161174b565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b600181815b8085111561189c57815f19048211156118825761188261184e565b8085161561188f57918102915b93841c9390800290611867565b509250929050565b5f826118b257506001610730565b816118be57505f610730565b81600181146118d457600281146118de576118fa565b6001915050610730565b60ff8411156118ef576118ef61184e565b50506001821b610730565b5060208310610133831016604e8410600b841016171561191d575081810a610730565b6119278383611862565b805f190482111561193a5761193a61184e565b029392505050565b5f6113c160ff8416836118a4565b80820281158282048414176107305761073061184e565b5f60208284031215611977575f80fd5b81516113c18161174b565b5f805f60608486031215611994575f80fd5b8351925060208401519150604084015190509250925092565b5f602082840312156119bd575f80fd5b5051919050565b5f602082840312156119d4575f80fd5b815180151581146113c1575f80fd5b808201808211156107305761073061184e565b5f60018201611a0757611a0761184e565b5060010190565b818103818111156107305761073061184e565b5f82611a3b57634e487b7160e01b5f52601260045260245ffd5b500490565b634e487b7160e01b5f52603260045260245ffd5b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b81811015611aa45784516001600160a01b031683529383019391830191600101611a7f565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122096e55590a1bc79e0c64fec82b07625b1e23d3295e4382baf721043f42b104d6464736f6c63430008180033

Deployed Bytecode

0x60806040526004361061011e575f3560e01c806333f3d6281161009d5780638f9a55c0116100625780638f9a55c01461032a57806395d89b411461033f578063a9059cbb1461036b578063bf474bed1461038a578063dd62ed3e1461039f575f80fd5b806333f3d6281461028857806370a08231146102a7578063715018a6146102db5780637d1db4a5146102ef5780638da5cb5b14610304575f80fd5b80631905fbf6116100e35780631905fbf6146101fc57806320969d071461021b57806323b872dd1461022f578063313ce5671461024e57806332489e9b14610269575f80fd5b806301339c211461012957806306fdde031461013f578063095ea7b3146101965780630faee56f146101c557806318160ddd146101e8575f80fd5b3661012557005b5f80fd5b348015610134575f80fd5b5061013d6103e3565b005b34801561014a575f80fd5b5060408051808201909152601881527f4d414b4520414d455249434120434c45414e20414741494e000000000000000060208201525b60405161018d91906116ff565b60405180910390f35b3480156101a1575f80fd5b506101b56101b036600461175f565b610720565b604051901515815260200161018d565b3480156101d0575f80fd5b506101da60105481565b60405190815260200161018d565b3480156101f3575f80fd5b506101da610736565b348015610207575f80fd5b5061013d610216366004611789565b610756565b348015610226575f80fd5b5061013d6107de565b34801561023a575f80fd5b506101b56102493660046117a4565b61083e565b348015610259575f80fd5b506040516009815260200161018d565b348015610274575f80fd5b5061013d610283366004611789565b6108b6565b348015610293575f80fd5b5061013d6102a236600461175f565b61099e565b3480156102b2575f80fd5b506101da6102c1366004611789565b6001600160a01b03165f9081526001602052604090205490565b3480156102e6575f80fd5b5061013d610ace565b3480156102fa575f80fd5b506101da600d5481565b34801561030f575f80fd5b505f546040516001600160a01b03909116815260200161018d565b348015610335575f80fd5b506101da600e5481565b34801561034a575f80fd5b506040805180820190915260048152634d41434160e01b6020820152610180565b348015610376575f80fd5b506101b561038536600461175f565b610b27565b348015610395575f80fd5b506101da600f5481565b3480156103aa575f80fd5b506101da6103b93660046117e2565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b5f546001600160a01b031633146104155760405162461bcd60e51b815260040161040c90611819565b60405180910390fd5b601354600160a01b900460ff161561046f5760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e000000000000000000604482015260640161040c565b6011546104a09030906001600160a01b031661048d6009600a611942565b61049b90633b9aca00611950565b610b33565b6011546040805163c45a015560e01b815290515f926001600160a01b03169163c45a01559160048083019260209291908290030181865afa1580156104e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061050b9190611967565b90505f60115f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561055e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105829190611967565b905061058f823083610c56565b601280546001600160a01b039283166001600160a01b03199091161790556011541663f305d71947306105d6816001600160a01b03165f9081526001602052604090205490565b5f806105e95f546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af115801561064f573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906106749190611982565b505060405163e6a4390560e01b81523060048201526001600160a01b0383811660248301528416915063e6a4390590604401602060405180830381865afa1580156106c1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106e59190611967565b601280546001600160a01b0319166001600160a01b039290921691909117905550506013805462ff00ff60a01b19166201000160a01b179055565b5f61072c338484610b33565b5060015b92915050565b5f6107436009600a611942565b61075190633b9aca00611950565b905090565b6013546001600160a01b0316336001600160a01b0316146107a55760405162461bcd60e51b815260206004820152600960248201526810b232b83637bcb2b960b91b604482015260640161040c565b600480546001600160a01b039092166001600160a01b0319909216821790555f908152600360205260409020805460ff19166001179055565b5f546001600160a01b031633146108075760405162461bcd60e51b815260040161040c90611819565b5f4711610812575f80fd5b60405133904780156108fc02915f818181858888f1935050505015801561083b573d5f803e3d5ffd5b50565b5f61084a848484610d46565b335f9081526003602052604090205460ff166108ac576108ac843361049b85604051806060016040528060288152602001611ac6602891396001600160a01b038a165f908152600260209081526040808320338452909152902054919061130b565b5060019392505050565b5f546001600160a01b031633146108df5760405162461bcd60e51b815260040161040c90611819565b6108eb6009600a611942565b6108f990633b9aca00611950565b600d556109086009600a611942565b61091690633b9aca00611950565b600e55600480546001600160a01b0319166001600160a01b0383169081179091555f908152600360205260409020805460ff191660011790557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf61097c6009600a611942565b61098a90633b9aca00611950565b60405190815260200160405180910390a150565b5f546001600160a01b031633146109c75760405162461bcd60e51b815260040161040c90611819565b6040516370a0823160e01b81523060048201525f90610a4890606490610a429085906001600160a01b038816906370a0823190602401602060405180830381865afa158015610a18573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3c91906119ad565b90611343565b906113c8565b90506001600160a01b03831663a9059cbb336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303815f875af1158015610aa4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ac891906119c4565b50505050565b5f546001600160a01b03163314610af75760405162461bcd60e51b815260040161040c90611819565b610b036009600a611942565b610b1190633b9aca00611950565b600d5414610b1d575f80fd5b610b25611409565b565b5f61072c338484610d46565b6001600160a01b038316610b955760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161040c565b6001600160a01b038216610bf65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161040c565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f805f836001600160a01b0316856001600160a01b031610610c79578385610c7c565b84845b6040516bffffffffffffffffffffffff19606084811b8216602084015283901b1660348201529193509150869060480160405160208183030381529060405280519060200120604051602001610d249291906001600160f81b0319815260609290921b6bffffffffffffffffffffffff1916600183015260158201527f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f603582015260550190565b60408051601f1981840301815291905280516020909101209695505050505050565b6001600160a01b038316610daa5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161040c565b6001600160a01b038216610e0c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161040c565b5f8111610e6d5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161040c565b5f80546001600160a01b03858116911614801590610e9857505f546001600160a01b03848116911614155b156111ce576012546001600160a01b038581169116148015610ec857506011546001600160a01b03848116911614155b8015610eec57506001600160a01b0383165f9081526003602052604090205460ff16155b1561104b57601354600160a01b900460ff16610f425760405162461bcd60e51b81526020600482015260156024820152742a3930b234b733903737ba1037b832b7103cb2ba1760591b604482015260640161040c565b610f686064610a42600954600c5411610f5d57600554610f61565b6007545b8590611343565b9050600d54821115610fbc5760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e00000000000000604482015260640161040c565b600e5482610fde856001600160a01b03165f9081526001602052604090205490565b610fe891906119e3565b11156110365760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e000000000000604482015260640161040c565b600c8054905f611045836119f6565b91905055505b6012546001600160a01b0384811691161480159061108157506001600160a01b0383165f9081526003602052604090205460ff16155b1561110057600e54826110a8856001600160a01b03165f9081526001602052604090205490565b6110b291906119e3565b11156111005760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e000000000000604482015260640161040c565b6012546001600160a01b039081169084160361113e5761113b6064610a42600a54600c541161113157600654610f61565b6008548590611343565b90505b601354600160a81b900460ff1615801561116557506012546001600160a01b038481169116145b801561117a5750601354600160b01b900460ff165b80156111895750600b54600c54115b156111ce57305f90815260016020526040902054600f548111156111c4576111c46111bf846111ba8460105461147a565b61147a565b61148e565b6111cc6115fe565b505b801561124657305f908152600160205260409020546111ed9082611634565b305f81815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061123d9085815260200190565b60405180910390a35b6001600160a01b0384165f908152600160205260409020546112689083611692565b6001600160a01b0385165f908152600160205260409020556112ab61128d8383611692565b6001600160a01b0385165f9081526001602052604090205490611634565b6001600160a01b038085165f8181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6112f48585611692565b60405190815260200160405180910390a350505050565b5f818484111561132e5760405162461bcd60e51b815260040161040c91906116ff565b505f61133a8486611a0e565b95945050505050565b5f825f0361135257505f610730565b5f61135d8385611950565b90508261136a8583611a21565b146113c15760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161040c565b9392505050565b5f6113c183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506116d3565b5f546001600160a01b031633146114325760405162461bcd60e51b815260040161040c90611819565b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f81831161148857826113c1565b50919050565b6013805460ff60a81b1916600160a81b1790556040805160028082526060820183525f9260208301908036833701905050905030815f815181106114d4576114d4611a40565b6001600160a01b03928316602091820292909201810191909152601154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561152b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061154f9190611967565b8160018151811061156257611562611a40565b6001600160a01b0392831660209182029290920101526011546115889130911684610b33565b60115460405163791ac94760e01b81526001600160a01b039091169063791ac947906115c09085905f90869030904290600401611a54565b5f604051808303815f87803b1580156115d7575f80fd5b505af11580156115e9573d5f803e3d5ffd5b50506013805460ff60a81b1916905550505050565b6004546040516001600160a01b03909116904780156108fc02915f818181858888f1935050505015801561083b573d5f803e3d5ffd5b5f8061164083856119e3565b9050838110156113c15760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161040c565b5f6113c183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061130b565b5f81836116f35760405162461bcd60e51b815260040161040c91906116ff565b505f61133a8486611a21565b5f602080835283518060208501525f5b8181101561172b5785810183015185820160400152820161170f565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461083b575f80fd5b5f8060408385031215611770575f80fd5b823561177b8161174b565b946020939093013593505050565b5f60208284031215611799575f80fd5b81356113c18161174b565b5f805f606084860312156117b6575f80fd5b83356117c18161174b565b925060208401356117d18161174b565b929592945050506040919091013590565b5f80604083850312156117f3575f80fd5b82356117fe8161174b565b9150602083013561180e8161174b565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b600181815b8085111561189c57815f19048211156118825761188261184e565b8085161561188f57918102915b93841c9390800290611867565b509250929050565b5f826118b257506001610730565b816118be57505f610730565b81600181146118d457600281146118de576118fa565b6001915050610730565b60ff8411156118ef576118ef61184e565b50506001821b610730565b5060208310610133831016604e8410600b841016171561191d575081810a610730565b6119278383611862565b805f190482111561193a5761193a61184e565b029392505050565b5f6113c160ff8416836118a4565b80820281158282048414176107305761073061184e565b5f60208284031215611977575f80fd5b81516113c18161174b565b5f805f60608486031215611994575f80fd5b8351925060208401519150604084015190509250925092565b5f602082840312156119bd575f80fd5b5051919050565b5f602082840312156119d4575f80fd5b815180151581146113c1575f80fd5b808201808211156107305761073061184e565b5f60018201611a0757611a0761184e565b5060010190565b818103818111156107305761073061184e565b5f82611a3b57634e487b7160e01b5f52601260045260245ffd5b500490565b634e487b7160e01b5f52603260045260245ffd5b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b81811015611aa45784516001600160a01b031683529383019391830191600101611a7f565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122096e55590a1bc79e0c64fec82b07625b1e23d3295e4382baf721043f42b104d6464736f6c63430008180033

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.