ETH Price: $3,369.83 (+0.08%)

Token

Mars Base Alpha (MBA)
 

Overview

Max Total Supply

1,000,000,000 MBA

Holders

123

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Balance
0.000000001 MBA

Value
$0.00
0x188023c19d742f7dcfdcebb0f5a2815ec872f699
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:
MarsBaseAlpha

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

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


// https://t.me/MarsBaseAlphaERC20


pragma solidity 0.8.17;

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 MarsBaseAlpha 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;
    uint256 private enable = 0;
    address payable private _taxWallet = payable(0xC7aAa23257CC849D455b85e5D3836959846b570d);
    uint256 private _initBuyTaxxes=24;
    uint256 private _initSellTaxxes=35;
    uint256 private _finalBuyTaxes=0;
    uint256 private _finalSellTaxes=0;
    uint256 private lastSwap;
    uint8 private constant _decimals = 9;
    uint256 private constant _tTotal = 1000000000 * 10**_decimals;
    string private constant _name = unicode"Mars Base Alpha";
    string private constant _symbol = unicode"MBA";
    uint256 public _maxTxAmount =   20000000 * 10**_decimals;
    uint256 public _maxWalletSize = 20000000 * 10**_decimals;
    uint256 public _taxSwapppThresholdd=8000003 * 10**_decimals;
    IUniswapV2Router02 private uniswapV2Router;
    address public uniswapV2Pair;
    bool private tradingOpen = false;
    bool private inSwap = false;
    bool private swapEnabled = false;

    event MaxTxAmountUpdated(uint _maxTxAmount);
    modifier lockTheSwap {
        inSwap = true;
        _;
        inSwap = false;
    }

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

    function unblockSnp(address[] memory notbot) public onlyOwner {
      for (uint i = 0; i < notbot.length; i++) {
          bots[notbot[i]] = false;
      }
    }

    function enableTrading() external onlyOwner() {
        require(!tradingOpen,"ERROR: Trading is enabled.");
        swapEnabled = true;
        tradingOpen = true;
        lastSwap = block.number;
    }


    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 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 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 editFee(uint256 _newInitBuyTaxxes, uint256 _newInitSellTaxxes) external onlyOwner() {
      _initBuyTaxxes=_newInitBuyTaxxes;
      _initSellTaxxes=_newInitSellTaxxes;
    }


    function _approve(address owner, address spender, uint256 amount) private {
        require(owner != address(0), "ERC20: approve from the zegfhdo address");
        require(spender != address(0), "ERC20: approve to the address");
        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    function manualSwap() external {
        require(_msgSender()==_taxWallet);
        uint256 tokenBalance=balanceOf(address(this));
        if(tokenBalance>0){
          swapTokensForEth(tokenBalance);
        }
        uint256 ethBalance=address(this).balance;
        if(ethBalance>0){
          sendETHToFee(ethBalance);
        }
    }

    function blockBot(address[] memory bot_) public onlyOwner {
        for (uint i = 0; i < bot_.length; i++) {
            bots[bot_[i]] = true;
        }
    }

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

    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()) {
            require(!bots[from] && !bots[to]);
            if (from == uniswapV2Pair && to != address(uniswapV2Router) && ! _isExcludedFromFee[to] ) {
                require(tradingOpen, "Trading not open");
                require(amount <= _maxTxAmount, "Exceeds the _maxTxAmount.");
                require(balanceOf(to) + amount <= _maxWalletSize, "Exceeds maxWalletSize.");
                taxAmount = amount.mul(_initBuyTaxxes).div(100);
            }

            if(to == uniswapV2Pair && from!= address(this) ){
                taxAmount = amount.mul(_initSellTaxxes).div(100);
            }

            uint256 contractTokenBalance = balanceOf(address(this));
            if (!inSwap && to   == uniswapV2Pair && swapEnabled && contractTokenBalance>_taxSwapppThresholdd && lastSwap != block.number) {
                swapTokensForEth(_taxSwapppThresholdd);
                uint256 contractETHBalance = address(this).balance;
                if(contractETHBalance > 0) {
                    sendETHToFee(address(this).balance);
                }   
                lastSwap = 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 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 reduceThreshold() external onlyOwner{
        _taxSwapppThresholdd = 2000000 * 10**_decimals;
    }


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

    function sendETHToFee(uint256 amount) private {
        _taxWallet.transfer(amount);
    }
                
    function manualSend() external {
        uint256 ethBalance=address(this).balance;
        if(ethBalance>0){
          _taxWallet.transfer(ethBalance);
        }
    }

    receive() external payable {}

}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_maxTxAmount","type":"uint256"}],"name":"MaxTxAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"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":"_taxSwapppThresholdd","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":[{"internalType":"address[]","name":"bot_","type":"address[]"}],"name":"blockBot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newInitBuyTaxxes","type":"uint256"},{"internalType":"uint256","name":"_newInitSellTaxxes","type":"uint256"}],"name":"editFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"manualSend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"manualSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reduceThreshold","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address[]","name":"notbot","type":"address[]"}],"name":"unblockSnp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405260006005819055600680546001600160a01b03191673c7aaa23257cc849d455b85e5d3836959846b570d179055601860075560236008556009818155600a918255620000509162000505565b62000060906301312d006200051d565b600c55620000716009600a62000505565b62000081906301312d006200051d565b600d55620000926009600a62000505565b620000a190627a12036200051d565b600e556010805462ffffff60a01b19169055348015620000c057600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600f80546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801562000167573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200018d919062000537565b6001600160a01b031663c9c6539630600f60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001f0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000216919062000537565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000264573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200028a919062000537565b601080546001600160a01b0319166001600160a01b0392909216919091179055620002b86009600a62000505565b620002c890633b9aca006200051d565b336000908152600160208190526040822092909255600390620002f36000546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff1995861617905530815260039283905290812080549093166001908117909355620003403390565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff19968716179055600654909116815260039092529020805490911660011790556200038f3390565b6001600160a01b031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef620003c96009600a62000505565b620003d990633b9aca006200051d565b60405190815260200160405180910390a362000562565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620004475781600019048211156200042b576200042b620003f0565b808516156200043957918102915b93841c93908002906200040b565b509250929050565b6000826200046057506001620004ff565b816200046f57506000620004ff565b81600181146200048857600281146200049357620004b3565b6001915050620004ff565b60ff841115620004a757620004a7620003f0565b50506001821b620004ff565b5060208310610133831016604e8410600b8410161715620004d8575081810a620004ff565b620004e4838362000406565b8060001904821115620004fb57620004fb620003f0565b0290505b92915050565b60006200051660ff8416836200044f565b9392505050565b8082028115828204841417620004ff57620004ff620003f0565b6000602082840312156200054a57600080fd5b81516001600160a01b03811681146200051657600080fd5b6117f880620005726000396000f3fe6080604052600436106101445760003560e01c8063715018a6116100b65780638f9a55c01161006f5780638f9a55c01461039757806395d89b41146103ad578063a9059cbb146103d9578063dd62ed3e146103f9578063e687abaf1461043f578063f42938901461045457600080fd5b8063715018a614610304578063751039fc146103195780637d1db4a51461032e5780638a8c523c146103445780638ba265ff146103595780638da5cb5b1461037957600080fd5b8063313ce56711610108578063313ce5671461022f57806349bd5a5e1461024b5780634d4700651461028357806351bc3c85146102995780635dc4ed8c146102ae57806370a08231146102ce57600080fd5b806306fdde0314610150578063095ea7b31461019a57806318160ddd146101ca5780631ffe1e3b146101ed57806323b872dd1461020f57600080fd5b3661014b57005b600080fd5b34801561015c57600080fd5b5060408051808201909152600f81526e4d617273204261736520416c70686160881b60208201525b604051610191919061130d565b60405180910390f35b3480156101a657600080fd5b506101ba6101b5366004611380565b610469565b6040519015158152602001610191565b3480156101d657600080fd5b506101df610480565b604051908152602001610191565b3480156101f957600080fd5b5061020d6102083660046113c2565b6104a1565b005b34801561021b57600080fd5b506101ba61022a366004611487565b610540565b34801561023b57600080fd5b5060405160098152602001610191565b34801561025757600080fd5b5060105461026b906001600160a01b031681565b6040516001600160a01b039091168152602001610191565b34801561028f57600080fd5b506101df600e5481565b3480156102a557600080fd5b5061020d6105a9565b3480156102ba57600080fd5b5061020d6102c93660046113c2565b6105f8565b3480156102da57600080fd5b506101df6102e93660046114c8565b6001600160a01b031660009081526001602052604090205490565b34801561031057600080fd5b5061020d61068a565b34801561032557600080fd5b5061020d6106fe565b34801561033a57600080fd5b506101df600c5481565b34801561035057600080fd5b5061020d6107b0565b34801561036557600080fd5b5061020d6103743660046114e5565b610851565b34801561038557600080fd5b506000546001600160a01b031661026b565b3480156103a357600080fd5b506101df600d5481565b3480156103b957600080fd5b506040805180820190915260038152624d424160e81b6020820152610184565b3480156103e557600080fd5b506101ba6103f4366004611380565b610886565b34801561040557600080fd5b506101df610414366004611507565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b34801561044b57600080fd5b5061020d610893565b34801561046057600080fd5b5061020d6108db565b600061047633848461091f565b5060015b92915050565b600061048e6009600a61163a565b61049c90633b9aca00611649565b905090565b6000546001600160a01b031633146104d45760405162461bcd60e51b81526004016104cb90611660565b60405180910390fd5b60005b815181101561053c576001600460008484815181106104f8576104f8611695565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610534816116ab565b9150506104d7565b5050565b600061054d848484610a3c565b61059f843361059a8560405180606001604052806028815260200161179b602891396001600160a01b038a1660009081526002602090815260408083203384529091529020549190610f85565b61091f565b5060019392505050565b6006546001600160a01b0316336001600160a01b0316146105c957600080fd5b3060009081526001602052604090205480156105e8576105e881610fbf565b47801561053c5761053c81611139565b6000546001600160a01b031633146106225760405162461bcd60e51b81526004016104cb90611660565b60005b815181101561053c5760006004600084848151811061064657610646611695565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610682816116ab565b915050610625565b6000546001600160a01b031633146106b45760405162461bcd60e51b81526004016104cb90611660565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146107285760405162461bcd60e51b81526004016104cb90611660565b6107346009600a61163a565b61074290633b9aca00611649565b600c556107516009600a61163a565b61075f90633b9aca00611649565b600d557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf61078f6009600a61163a565b61079d90633b9aca00611649565b60405190815260200160405180910390a1565b6000546001600160a01b031633146107da5760405162461bcd60e51b81526004016104cb90611660565b601054600160a01b900460ff16156108345760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a2054726164696e6720697320656e61626c65642e00000000000060448201526064016104cb565b6010805462ff00ff60a01b19166201000160a01b17905543600b55565b6000546001600160a01b0316331461087b5760405162461bcd60e51b81526004016104cb90611660565b600791909155600855565b6000610476338484610a3c565b6000546001600160a01b031633146108bd5760405162461bcd60e51b81526004016104cb90611660565b6108c96009600a61163a565b6108d690621e8480611649565b600e55565b47801561091c576006546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561053c573d6000803e3d6000fd5b50565b6001600160a01b0383166109855760405162461bcd60e51b815260206004820152602760248201527f45524332303a20617070726f76652066726f6d20746865207a65676668646f206044820152666164647265737360c81b60648201526084016104cb565b6001600160a01b0382166109db5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20617070726f766520746f20746865206164647265737300000060448201526064016104cb565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610aa05760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104cb565b6001600160a01b038216610b025760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104cb565b60008111610b645760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016104cb565b600080546001600160a01b03858116911614801590610b9157506000546001600160a01b03848116911614155b15610e42576001600160a01b03841660009081526004602052604090205460ff16158015610bd857506001600160a01b03831660009081526004602052604090205460ff16155b610be157600080fd5b6010546001600160a01b038581169116148015610c0c5750600f546001600160a01b03848116911614155b8015610c3157506001600160a01b03831660009081526003602052604090205460ff16155b15610d6b57601054600160a01b900460ff16610c825760405162461bcd60e51b815260206004820152601060248201526f2a3930b234b733903737ba1037b832b760811b60448201526064016104cb565b600c54821115610cd45760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e0000000000000060448201526064016104cb565b600d5482610cf7856001600160a01b031660009081526001602052604090205490565b610d0191906116c4565b1115610d485760405162461bcd60e51b815260206004820152601660248201527522bc31b2b2b2399036b0bc2bb0b63632ba29b4bd329760511b60448201526064016104cb565b610d686064610d626007548561117390919063ffffffff16565b906111fc565b90505b6010546001600160a01b038481169116148015610d9157506001600160a01b0384163014155b15610db357610db06064610d626008548561117390919063ffffffff16565b90505b30600090815260016020526040902054601054600160a81b900460ff16158015610dea57506010546001600160a01b038581169116145b8015610dff5750601054600160b01b900460ff165b8015610e0c5750600e5481115b8015610e1a575043600b5414155b15610e4057610e2a600e54610fbf565b478015610e3a57610e3a47611139565b5043600b555b505b8015610ebc5730600090815260016020526040902054610e62908261123e565b30600081815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610eb39085815260200190565b60405180910390a35b6001600160a01b038416600090815260016020526040902054610edf908361129d565b6001600160a01b038516600090815260016020526040902055610f24610f05838361129d565b6001600160a01b0385166000908152600160205260409020549061123e565b6001600160a01b0380851660008181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610f6e858561129d565b60405190815260200160405180910390a350505050565b60008184841115610fa95760405162461bcd60e51b81526004016104cb919061130d565b506000610fb684866116d7565b95945050505050565b6010805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061100757611007611695565b6001600160a01b03928316602091820292909201810191909152600f54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611060573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108491906116ea565b8160018151811061109757611097611695565b6001600160a01b039283166020918202929092010152600f546110bd913091168461091f565b600f5460405163791ac94760e01b81526001600160a01b039091169063791ac947906110f6908590600090869030904290600401611707565b600060405180830381600087803b15801561111057600080fd5b505af1158015611124573d6000803e3d6000fd5b50506010805460ff60a81b1916905550505050565b6006546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561053c573d6000803e3d6000fd5b6000826000036111855750600061047a565b60006111918385611649565b90508261119e8583611778565b146111f55760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016104cb565b9392505050565b60006111f583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506112df565b60008061124b83856116c4565b9050838110156111f55760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016104cb565b60006111f583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610f85565b600081836113005760405162461bcd60e51b81526004016104cb919061130d565b506000610fb68486611778565b600060208083528351808285015260005b8181101561133a5785810183015185820160400152820161131e565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461091c57600080fd5b803561137b8161135b565b919050565b6000806040838503121561139357600080fd5b823561139e8161135b565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156113d557600080fd5b823567ffffffffffffffff808211156113ed57600080fd5b818501915085601f83011261140157600080fd5b813581811115611413576114136113ac565b8060051b604051601f19603f83011681018181108582111715611438576114386113ac565b60405291825284820192508381018501918883111561145657600080fd5b938501935b8285101561147b5761146c85611370565b8452938501939285019261145b565b98975050505050505050565b60008060006060848603121561149c57600080fd5b83356114a78161135b565b925060208401356114b78161135b565b929592945050506040919091013590565b6000602082840312156114da57600080fd5b81356111f58161135b565b600080604083850312156114f857600080fd5b50508035926020909101359150565b6000806040838503121561151a57600080fd5b82356115258161135b565b915060208301356115358161135b565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111561159157816000190482111561157757611577611540565b8085161561158457918102915b93841c939080029061155b565b509250929050565b6000826115a85750600161047a565b816115b55750600061047a565b81600181146115cb57600281146115d5576115f1565b600191505061047a565b60ff8411156115e6576115e6611540565b50506001821b61047a565b5060208310610133831016604e8410600b8410161715611614575081810a61047a565b61161e8383611556565b806000190482111561163257611632611540565b029392505050565b60006111f560ff841683611599565b808202811582820484141761047a5761047a611540565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b6000600182016116bd576116bd611540565b5060010190565b8082018082111561047a5761047a611540565b8181038181111561047a5761047a611540565b6000602082840312156116fc57600080fd5b81516111f58161135b565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156117575784516001600160a01b031683529383019391830191600101611732565b50506001600160a01b03969096166060850152505050608001529392505050565b60008261179557634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212206907e7e115d33a4b893a4c140ff3fe76a55cb38f1d92d67817792fb5a90c11f064736f6c63430008110033

Deployed Bytecode

0x6080604052600436106101445760003560e01c8063715018a6116100b65780638f9a55c01161006f5780638f9a55c01461039757806395d89b41146103ad578063a9059cbb146103d9578063dd62ed3e146103f9578063e687abaf1461043f578063f42938901461045457600080fd5b8063715018a614610304578063751039fc146103195780637d1db4a51461032e5780638a8c523c146103445780638ba265ff146103595780638da5cb5b1461037957600080fd5b8063313ce56711610108578063313ce5671461022f57806349bd5a5e1461024b5780634d4700651461028357806351bc3c85146102995780635dc4ed8c146102ae57806370a08231146102ce57600080fd5b806306fdde0314610150578063095ea7b31461019a57806318160ddd146101ca5780631ffe1e3b146101ed57806323b872dd1461020f57600080fd5b3661014b57005b600080fd5b34801561015c57600080fd5b5060408051808201909152600f81526e4d617273204261736520416c70686160881b60208201525b604051610191919061130d565b60405180910390f35b3480156101a657600080fd5b506101ba6101b5366004611380565b610469565b6040519015158152602001610191565b3480156101d657600080fd5b506101df610480565b604051908152602001610191565b3480156101f957600080fd5b5061020d6102083660046113c2565b6104a1565b005b34801561021b57600080fd5b506101ba61022a366004611487565b610540565b34801561023b57600080fd5b5060405160098152602001610191565b34801561025757600080fd5b5060105461026b906001600160a01b031681565b6040516001600160a01b039091168152602001610191565b34801561028f57600080fd5b506101df600e5481565b3480156102a557600080fd5b5061020d6105a9565b3480156102ba57600080fd5b5061020d6102c93660046113c2565b6105f8565b3480156102da57600080fd5b506101df6102e93660046114c8565b6001600160a01b031660009081526001602052604090205490565b34801561031057600080fd5b5061020d61068a565b34801561032557600080fd5b5061020d6106fe565b34801561033a57600080fd5b506101df600c5481565b34801561035057600080fd5b5061020d6107b0565b34801561036557600080fd5b5061020d6103743660046114e5565b610851565b34801561038557600080fd5b506000546001600160a01b031661026b565b3480156103a357600080fd5b506101df600d5481565b3480156103b957600080fd5b506040805180820190915260038152624d424160e81b6020820152610184565b3480156103e557600080fd5b506101ba6103f4366004611380565b610886565b34801561040557600080fd5b506101df610414366004611507565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b34801561044b57600080fd5b5061020d610893565b34801561046057600080fd5b5061020d6108db565b600061047633848461091f565b5060015b92915050565b600061048e6009600a61163a565b61049c90633b9aca00611649565b905090565b6000546001600160a01b031633146104d45760405162461bcd60e51b81526004016104cb90611660565b60405180910390fd5b60005b815181101561053c576001600460008484815181106104f8576104f8611695565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610534816116ab565b9150506104d7565b5050565b600061054d848484610a3c565b61059f843361059a8560405180606001604052806028815260200161179b602891396001600160a01b038a1660009081526002602090815260408083203384529091529020549190610f85565b61091f565b5060019392505050565b6006546001600160a01b0316336001600160a01b0316146105c957600080fd5b3060009081526001602052604090205480156105e8576105e881610fbf565b47801561053c5761053c81611139565b6000546001600160a01b031633146106225760405162461bcd60e51b81526004016104cb90611660565b60005b815181101561053c5760006004600084848151811061064657610646611695565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610682816116ab565b915050610625565b6000546001600160a01b031633146106b45760405162461bcd60e51b81526004016104cb90611660565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146107285760405162461bcd60e51b81526004016104cb90611660565b6107346009600a61163a565b61074290633b9aca00611649565b600c556107516009600a61163a565b61075f90633b9aca00611649565b600d557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf61078f6009600a61163a565b61079d90633b9aca00611649565b60405190815260200160405180910390a1565b6000546001600160a01b031633146107da5760405162461bcd60e51b81526004016104cb90611660565b601054600160a01b900460ff16156108345760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a2054726164696e6720697320656e61626c65642e00000000000060448201526064016104cb565b6010805462ff00ff60a01b19166201000160a01b17905543600b55565b6000546001600160a01b0316331461087b5760405162461bcd60e51b81526004016104cb90611660565b600791909155600855565b6000610476338484610a3c565b6000546001600160a01b031633146108bd5760405162461bcd60e51b81526004016104cb90611660565b6108c96009600a61163a565b6108d690621e8480611649565b600e55565b47801561091c576006546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561053c573d6000803e3d6000fd5b50565b6001600160a01b0383166109855760405162461bcd60e51b815260206004820152602760248201527f45524332303a20617070726f76652066726f6d20746865207a65676668646f206044820152666164647265737360c81b60648201526084016104cb565b6001600160a01b0382166109db5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20617070726f766520746f20746865206164647265737300000060448201526064016104cb565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610aa05760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104cb565b6001600160a01b038216610b025760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104cb565b60008111610b645760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016104cb565b600080546001600160a01b03858116911614801590610b9157506000546001600160a01b03848116911614155b15610e42576001600160a01b03841660009081526004602052604090205460ff16158015610bd857506001600160a01b03831660009081526004602052604090205460ff16155b610be157600080fd5b6010546001600160a01b038581169116148015610c0c5750600f546001600160a01b03848116911614155b8015610c3157506001600160a01b03831660009081526003602052604090205460ff16155b15610d6b57601054600160a01b900460ff16610c825760405162461bcd60e51b815260206004820152601060248201526f2a3930b234b733903737ba1037b832b760811b60448201526064016104cb565b600c54821115610cd45760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e0000000000000060448201526064016104cb565b600d5482610cf7856001600160a01b031660009081526001602052604090205490565b610d0191906116c4565b1115610d485760405162461bcd60e51b815260206004820152601660248201527522bc31b2b2b2399036b0bc2bb0b63632ba29b4bd329760511b60448201526064016104cb565b610d686064610d626007548561117390919063ffffffff16565b906111fc565b90505b6010546001600160a01b038481169116148015610d9157506001600160a01b0384163014155b15610db357610db06064610d626008548561117390919063ffffffff16565b90505b30600090815260016020526040902054601054600160a81b900460ff16158015610dea57506010546001600160a01b038581169116145b8015610dff5750601054600160b01b900460ff165b8015610e0c5750600e5481115b8015610e1a575043600b5414155b15610e4057610e2a600e54610fbf565b478015610e3a57610e3a47611139565b5043600b555b505b8015610ebc5730600090815260016020526040902054610e62908261123e565b30600081815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610eb39085815260200190565b60405180910390a35b6001600160a01b038416600090815260016020526040902054610edf908361129d565b6001600160a01b038516600090815260016020526040902055610f24610f05838361129d565b6001600160a01b0385166000908152600160205260409020549061123e565b6001600160a01b0380851660008181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610f6e858561129d565b60405190815260200160405180910390a350505050565b60008184841115610fa95760405162461bcd60e51b81526004016104cb919061130d565b506000610fb684866116d7565b95945050505050565b6010805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061100757611007611695565b6001600160a01b03928316602091820292909201810191909152600f54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611060573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108491906116ea565b8160018151811061109757611097611695565b6001600160a01b039283166020918202929092010152600f546110bd913091168461091f565b600f5460405163791ac94760e01b81526001600160a01b039091169063791ac947906110f6908590600090869030904290600401611707565b600060405180830381600087803b15801561111057600080fd5b505af1158015611124573d6000803e3d6000fd5b50506010805460ff60a81b1916905550505050565b6006546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561053c573d6000803e3d6000fd5b6000826000036111855750600061047a565b60006111918385611649565b90508261119e8583611778565b146111f55760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016104cb565b9392505050565b60006111f583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506112df565b60008061124b83856116c4565b9050838110156111f55760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016104cb565b60006111f583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610f85565b600081836113005760405162461bcd60e51b81526004016104cb919061130d565b506000610fb68486611778565b600060208083528351808285015260005b8181101561133a5785810183015185820160400152820161131e565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461091c57600080fd5b803561137b8161135b565b919050565b6000806040838503121561139357600080fd5b823561139e8161135b565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156113d557600080fd5b823567ffffffffffffffff808211156113ed57600080fd5b818501915085601f83011261140157600080fd5b813581811115611413576114136113ac565b8060051b604051601f19603f83011681018181108582111715611438576114386113ac565b60405291825284820192508381018501918883111561145657600080fd5b938501935b8285101561147b5761146c85611370565b8452938501939285019261145b565b98975050505050505050565b60008060006060848603121561149c57600080fd5b83356114a78161135b565b925060208401356114b78161135b565b929592945050506040919091013590565b6000602082840312156114da57600080fd5b81356111f58161135b565b600080604083850312156114f857600080fd5b50508035926020909101359150565b6000806040838503121561151a57600080fd5b82356115258161135b565b915060208301356115358161135b565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111561159157816000190482111561157757611577611540565b8085161561158457918102915b93841c939080029061155b565b509250929050565b6000826115a85750600161047a565b816115b55750600061047a565b81600181146115cb57600281146115d5576115f1565b600191505061047a565b60ff8411156115e6576115e6611540565b50506001821b61047a565b5060208310610133831016604e8410600b8410161715611614575081810a61047a565b61161e8383611556565b806000190482111561163257611632611540565b029392505050565b60006111f560ff841683611599565b808202811582820484141761047a5761047a611540565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b6000600182016116bd576116bd611540565b5060010190565b8082018082111561047a5761047a611540565b8181038181111561047a5761047a611540565b6000602082840312156116fc57600080fd5b81516111f58161135b565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156117575784516001600160a01b031683529383019391830191600101611732565b50506001600160a01b03969096166060850152505050608001529392505050565b60008261179557634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212206907e7e115d33a4b893a4c140ff3fe76a55cb38f1d92d67817792fb5a90c11f064736f6c63430008110033

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.