ETH Price: $3,248.93 (-3.76%)

Token

Captain Trump (TRUMPER)
 

Overview

Max Total Supply

100,000,000 TRUMPER

Holders

11

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Balance
260,676.340709152 TRUMPER

Value
$0.00
0xd7e1abd9c23403dfa29856d5818dcdcb0a38aacd
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:
Trumper

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Unlicense license
File 1 of 1 : Token.sol
// SPDX-License-Identifier: UNLICENSED 
/*********************************************
 *
 * Trump, $TRUMPER ... the hero of the west
 * 
 * Donald Trump's main desire is to make America great again. 
 * They tried to remove it and suppress it, but it didn't work. 
 * Soon, he will be back on social media with full force and set out 
 * to take over the world again.
 * By day he is a politician, influencer, entrepreneur and businessman, 
 * but at night he wears a mask and fights against his enemies ...
 * 
 * Website: https://trumper.finance
 * Twitter: https://twitter.com/TrumperCoin
 * TG: https://t.me/trumpercoin
 *
 ********************************************/

pragma solidity 0.8.7;

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;
    address private _previousOwner;
    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 Trumper is Context, IERC20, Ownable {
    using SafeMath for uint256;
    mapping (address => uint256) private _rOwned;
    mapping (address => uint256) private _tOwned;
    mapping (address => mapping (address => uint256)) private _allowances;
    mapping (address => bool) private _isExcludedFromFee;
    mapping (address => bool) private bots;
    mapping (address => uint) private cooldown;
    uint256 private constant MAX = ~uint256(0);
    uint256 private _tTotal = 100000000 * 10**9;
    uint256 private _rTotal = (MAX - (MAX % _tTotal));
    uint256 private _tFeeTotal;

    uint256 private _feeAddr1;
    uint256 private _feeAddr2;
    uint256 private _standardTax;
    uint256 private _finalTax;
    address payable private _feeAddrWallet;

    string private constant _name = "Captain Trump";
    string private constant _symbol = "TRUMPER";
    uint8 private constant _decimals = 9;

    IUniswapV2Router02 private uniswapV2Router;
    address private uniswapV2Pair;
    bool private tradingOpen;
    bool private inSwap = false;
    bool private swapEnabled = false;
    bool private cooldownEnabled = true;
    uint256 private _maxTxAmount = _tTotal.mul(2).div(100);
    uint256 private _maxWalletSize = _tTotal.mul(2).div(100);
    event MaxTxAmountUpdated(uint _maxTxAmount);
    modifier lockTheSwap {
        inSwap = true;
        _;
        inSwap = false;
    }

    constructor () {
        _feeAddrWallet = payable(_msgSender());
        _rOwned[_msgSender()] = _rTotal;
        _isExcludedFromFee[owner()] = true;
        _isExcludedFromFee[address(this)] = true;
        _isExcludedFromFee[_feeAddrWallet] = true;
        _standardTax=2;
        _finalTax=2;

        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 view override returns (uint256) {
        return _tTotal;
    }

    function balanceOf(address account) public view override returns (uint256) {
        return tokenFromReflection(_rOwned[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 setCooldownEnabled(bool onoff) external onlyOwner() {
        cooldownEnabled = onoff;
    }

    function tokenFromReflection(uint256 rAmount) private view returns(uint256) {
        require(rAmount <= _rTotal, "Amount must be less than total reflections");
        uint256 currentRate =  _getRate();
        return rAmount.div(currentRate);
    }

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

    function _transfer(address from, address to, uint256 amount) private {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(amount > 0, "Transfer amount must be greater than zero");


        if (!(_isExcludedFromFee[from] || _isExcludedFromFee[to])) {
            require(!bots[from] && !bots[to]);
            if (from == uniswapV2Pair && to != address(uniswapV2Router) && ! _isExcludedFromFee[to] && cooldownEnabled) {
                // Cooldown
                require(amount <= _maxTxAmount, "Exceeds the _maxTxAmount.");
                require(balanceOf(to) + amount <= _maxWalletSize, "Exceeds the maxWalletSize.");

            }
            uint256 contractTokenBalance = balanceOf(address(this));
            if (!inSwap && from != uniswapV2Pair && swapEnabled) {
                swapTokensForEth(++contractTokenBalance);
                uint256 contractETHBalance = address(this).balance;
                if(contractETHBalance > 0) {
                    sendETHToFee(address(this).balance);
                }
            }
            _feeAddr1 = 0;
            _feeAddr2 = _standardTax;
        }else{
          _feeAddr1 = 0;
          _feeAddr2 = 0;
        }

        _tokenTransfer(from,to,amount);
    }

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

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

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

    function openTrading() external onlyOwner() {
        require(!tradingOpen,"trading is already open");
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        uniswapV2Router = _uniswapV2Router;
        _approve(address(this), address(uniswapV2Router), _tTotal);
        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH());
        uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this),balanceOf(address(this)),0,0,owner(),block.timestamp);
        cooldownEnabled = true;

        tradingOpen = true;
        IERC20(uniswapV2Pair).approve(address(uniswapV2Router), type(uint).max);
    }

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

    function _tokenTransfer(address sender, address recipient, uint256 amount) private {
        _transferStandard(sender, recipient, amount);
    }

    function _transferStandard(address sender, address recipient, uint256 tAmount) private {
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tTeam) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeTeam(tTeam);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _takeTeam(uint256 tTeam) private {
        uint256 currentRate =  _getRate();
        uint256 rTeam = tTeam.mul(currentRate);
        _rOwned[address(this)] = _rOwned[address(this)].add(rTeam);
    }

    function _reflectFee(uint256 rFee, uint256 tFee) private {
        _rTotal = _rTotal.sub(rFee);
        _tFeeTotal = _tFeeTotal.add(tFee);
    }

    receive() external payable {}

    function manualswap() external {
        swapEnabled = true;
    }

    function manualsend() external {
        require(_msgSender() == _feeAddrWallet);
        uint256 contractETHBalance = address(this).balance;
        sendETHToFee(contractETHBalance);
    }


    function _getValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256, uint256, uint256) {
        (uint256 tTransferAmount, uint256 tFee, uint256 tTeam) = _getTValues(tAmount, _feeAddr1, _feeAddr2);
        uint256 currentRate =  _getRate();
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(tAmount, tFee, tTeam, currentRate);
        return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee, tTeam);
    }

    function _getTValues(uint256 tAmount, uint256 taxFee, uint256 TeamFee) private pure returns (uint256, uint256, uint256) {
        uint256 tFee = tAmount.mul(taxFee).div(100);
        uint256 tTeam = tAmount.mul(TeamFee).div(100);
        uint256 tTransferAmount = tAmount.sub(tFee).sub(tTeam);
        return (tTransferAmount, tFee, tTeam);
    }

    function _getRValues(uint256 tAmount, uint256 tFee, uint256 tTeam, uint256 currentRate) private pure returns (uint256, uint256, uint256) {
        uint256 rAmount = tAmount.mul(currentRate);
        uint256 rFee = tFee.mul(currentRate);
        uint256 rTeam = tTeam.mul(currentRate);
        uint256 rTransferAmount = rAmount.sub(rFee).sub(rTeam);
        return (rAmount, rTransferAmount, rFee);
    }

	function _getRate() private view returns(uint256) {
        (uint256 rSupply, uint256 tSupply) = _getCurrentSupply();
        return rSupply.div(tSupply);
    }

    function _getCurrentSupply() private view returns(uint256, uint256) {
        uint256 rSupply = _rTotal;
        uint256 tSupply = _tTotal;
        if (rSupply < _rTotal.div(_tTotal)) return (_rTotal, _tTotal);
        return (rSupply, tSupply);
    }
}

Settings
{
  "evmVersion": "istanbul",
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "libraries": {
    "Token.sol": {}
  },
  "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":[{"internalType":"address[]","name":"bots_","type":"address[]"}],"name":"addbot","outputs":[],"stateMutability":"nonpayable","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":"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":"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":[{"internalType":"bool","name":"onoff","type":"bool"}],"name":"setCooldownEnabled","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":"view","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"}]

608060405267016345785d8a000060088190556200002090600019620003bc565b6200002e90600019620003a2565b60095560118054600160b81b62ffffff60a81b1990911617905560085462000080906064906200006c906002620001f7602090811b6200099b17901c565b6200028b60201b62000a211790919060201c565b601255620000a660646200006c6002600854620001f760201b6200099b1790919060201c565b601355348015620000b657600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600f80546001600160a01b03191633908117909155600954600091825260026020526040822055600190600590620001386000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790553081526005909352818320805485166001908117909155600f549091168352912080549092161790556002600d819055600e55620001a13390565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600854604051620001e991815260200190565b60405180910390a3620003ff565b600082620002085750600062000285565b600062000216838562000380565b90508262000225858362000369565b14620002825760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084015b60405180910390fd5b90505b92915050565b60006200028283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250620002d560201b60201c565b60008183620002f95760405162461bcd60e51b815260040162000279919062000311565b50600062000308848662000369565b95945050505050565b600060208083528351808285015260005b81811015620003405785810183015185820160400152820162000322565b8181111562000353576000604083870101525b50601f01601f1916929092016040019392505050565b6000826200037b576200037b620003e9565b500490565b60008160001904831182151516156200039d576200039d620003d3565b500290565b600082821015620003b757620003b7620003d3565b500390565b600082620003ce57620003ce620003e9565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b611980806200040f6000396000f3fe6080604052600436106101025760003560e01c8063715018a611610095578063a9059cbb11610064578063a9059cbb146102ba578063c3c8cd80146102da578063c9567bf9146102ff578063ccfee5d614610314578063dd62ed3e1461033457600080fd5b8063715018a614610238578063751039fc1461024d5780638da5cb5b1461026257806395d89b411461028a57600080fd5b8063313ce567116100d1578063313ce567146101c55780635932ead1146101e15780636fc3eaec1461020357806370a082311461021857600080fd5b806306fdde031461010e578063095ea7b31461015657806318160ddd1461018657806323b872dd146101a557600080fd5b3661010957005b600080fd5b34801561011a57600080fd5b5060408051808201909152600d81526c04361707461696e205472756d7609c1b60208201525b60405161014d9190611737565b60405180910390f35b34801561016257600080fd5b506101766101713660046115d7565b61037a565b604051901515815260200161014d565b34801561019257600080fd5b506008545b60405190815260200161014d565b3480156101b157600080fd5b506101766101c0366004611596565b610391565b3480156101d157600080fd5b506040516009815260200161014d565b3480156101ed57600080fd5b506102016101fc3660046116cf565b6103fa565b005b34801561020f57600080fd5b5061020161044b565b34801561022457600080fd5b50610197610233366004611523565b610478565b34801561024457600080fd5b5061020161049a565b34801561025957600080fd5b5061020161050e565b34801561026e57600080fd5b506000546040516001600160a01b03909116815260200161014d565b34801561029657600080fd5b506040805180820190915260078152662a292aa6a822a960c91b6020820152610140565b3480156102c657600080fd5b506101766102d53660046115d7565b610545565b3480156102e657600080fd5b506102016011805460ff60b01b1916600160b01b179055565b34801561030b57600080fd5b50610201610552565b34801561032057600080fd5b5061020161032f366004611603565b610909565b34801561034057600080fd5b5061019761034f36600461155d565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b6000610387338484610a63565b5060015b92915050565b600061039e848484610b87565b6103f084336103eb85604051806060016040528060288152602001611923602891396001600160a01b038a1660009081526004602090815260408083203384529091529020549190610f00565b610a63565b5060019392505050565b6000546001600160a01b0316331461042d5760405162461bcd60e51b81526004016104249061178c565b60405180910390fd5b60118054911515600160b81b0260ff60b81b19909216919091179055565b600f546001600160a01b0316336001600160a01b03161461046b57600080fd5b4761047581610f3a565b50565b6001600160a01b03811660009081526002602052604081205461038b90610f74565b6000546001600160a01b031633146104c45760405162461bcd60e51b81526004016104249061178c565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146105385760405162461bcd60e51b81526004016104249061178c565b6008546012819055601355565b6000610387338484610b87565b6000546001600160a01b0316331461057c5760405162461bcd60e51b81526004016104249061178c565b601154600160a01b900460ff16156105d65760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610424565b601080546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d90811790915560085461060f9030908390610a63565b806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561064857600080fd5b505afa15801561065c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106809190611540565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156106c857600080fd5b505afa1580156106dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107009190611540565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b15801561074857600080fd5b505af115801561075c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107809190611540565b601180546001600160a01b0319166001600160a01b039283161790556010541663f305d71947306107b081610478565b6000806107c56000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b15801561082857600080fd5b505af115801561083c573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906108619190611709565b50506011805463ff0000ff60a01b198116630100000160a01b1790915560105460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b390604401602060405180830381600087803b1580156108cd57600080fd5b505af11580156108e1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090591906116ec565b5050565b6000546001600160a01b031633146109335760405162461bcd60e51b81526004016104249061178c565b60005b815181101561090557600160066000848481518110610957576109576118d3565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610993816118a2565b915050610936565b6000826109aa5750600061038b565b60006109b6838561186c565b9050826109c3858361184a565b14610a1a5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610424565b9392505050565b6000610a1a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610ff1565b6001600160a01b038316610ac55760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610424565b6001600160a01b038216610b265760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610424565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610beb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610424565b6001600160a01b038216610c4d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610424565b60008111610caf5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610424565b6001600160a01b03831660009081526005602052604090205460ff1680610cee57506001600160a01b03821660009081526005602052604090205460ff165b610ee5576001600160a01b03831660009081526006602052604090205460ff16158015610d3457506001600160a01b03821660009081526006602052604090205460ff16155b610d3d57600080fd5b6011546001600160a01b038481169116148015610d6857506010546001600160a01b03838116911614155b8015610d8d57506001600160a01b03821660009081526005602052604090205460ff16155b8015610da25750601154600160b81b900460ff165b15610e5e57601254811115610df95760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e000000000000006044820152606401610424565b60135481610e0684610478565b610e109190611832565b1115610e5e5760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610424565b6000610e6930610478565b601154909150600160a81b900460ff16158015610e9457506011546001600160a01b03858116911614155b8015610ea95750601154600160b01b900460ff165b15610ed457610ec2610eba826118a2565b91508161101f565b478015610ed257610ed247610f3a565b505b506000600b55600d54600c55610ef0565b6000600b819055600c555b610efb8383836111a8565b505050565b60008184841115610f245760405162461bcd60e51b81526004016104249190611737565b506000610f31848661188b565b95945050505050565b600f546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610905573d6000803e3d6000fd5b6000600954821115610fdb5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610424565b6000610fe56111b3565b9050610a1a8382610a21565b600081836110125760405162461bcd60e51b81526004016104249190611737565b506000610f31848661184a565b6011805460ff60a81b1916600160a81b1790556040805160028082526060820183526000926020830190803683370190505090503081600081518110611067576110676118d3565b6001600160a01b03928316602091820292909201810191909152601054604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b1580156110bb57600080fd5b505afa1580156110cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110f39190611540565b81600181518110611106576111066118d3565b6001600160a01b03928316602091820292909201015260105461112c9130911684610a63565b60105460405163791ac94760e01b81526001600160a01b039091169063791ac947906111659085906000908690309042906004016117c1565b600060405180830381600087803b15801561117f57600080fd5b505af1158015611193573d6000803e3d6000fd5b50506011805460ff60a81b1916905550505050565b610efb8383836111d6565b60008060006111c06112cd565b90925090506111cf8282610a21565b9250505090565b6000806000806000806111e887611302565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061121a908761135f565b6001600160a01b03808b1660009081526002602052604080822093909355908a168152205461124990866113a1565b6001600160a01b03891660009081526002602052604090205561126b81611400565b611275848361144a565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516112ba91815260200190565b60405180910390a3505050505050505050565b60095460085460009182916112e28282610a21565b8210156112f9576009546008549350935050509091565b90939092509050565b600080600080600080600080600061131f8a600b54600c5461146e565b925092509250600061132f6111b3565b905060008060006113428e8787876114c3565b919e509c509a509598509396509194505050505091939550919395565b6000610a1a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610f00565b6000806113ae8385611832565b905083811015610a1a5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610424565b600061140a6111b3565b90506000611418838361099b565b3060009081526002602052604090205490915061143590826113a1565b30600090815260026020526040902055505050565b600954611457908361135f565b600955600a5461146790826113a1565b600a555050565b60008080806114886064611482898961099b565b90610a21565b9050600061149b60646114828a8961099b565b905060006114b3826114ad8b8661135f565b9061135f565b9992985090965090945050505050565b60008080806114d2888661099b565b905060006114e0888761099b565b905060006114ee888861099b565b90506000611500826114ad868661135f565b939b939a50919850919650505050505050565b803561151e816118ff565b919050565b60006020828403121561153557600080fd5b8135610a1a816118ff565b60006020828403121561155257600080fd5b8151610a1a816118ff565b6000806040838503121561157057600080fd5b823561157b816118ff565b9150602083013561158b816118ff565b809150509250929050565b6000806000606084860312156115ab57600080fd5b83356115b6816118ff565b925060208401356115c6816118ff565b929592945050506040919091013590565b600080604083850312156115ea57600080fd5b82356115f5816118ff565b946020939093013593505050565b6000602080838503121561161657600080fd5b823567ffffffffffffffff8082111561162e57600080fd5b818501915085601f83011261164257600080fd5b813581811115611654576116546118e9565b8060051b604051601f19603f83011681018181108582111715611679576116796118e9565b604052828152858101935084860182860187018a101561169857600080fd5b600095505b838610156116c2576116ae81611513565b85526001959095019493860193860161169d565b5098975050505050505050565b6000602082840312156116e157600080fd5b8135610a1a81611914565b6000602082840312156116fe57600080fd5b8151610a1a81611914565b60008060006060848603121561171e57600080fd5b8351925060208401519150604084015190509250925092565b600060208083528351808285015260005b8181101561176457858101830151858201604001528201611748565b81811115611776576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156118115784516001600160a01b0316835293830193918301916001016117ec565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115611845576118456118bd565b500190565b60008261186757634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611886576118866118bd565b500290565b60008282101561189d5761189d6118bd565b500390565b60006000198214156118b6576118b66118bd565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461047557600080fd5b801515811461047557600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220b0c0b309bb1b3337d5da1cbdf47b191584737aafa186f32717c78610775c71f064736f6c63430008070033

Deployed Bytecode

0x6080604052600436106101025760003560e01c8063715018a611610095578063a9059cbb11610064578063a9059cbb146102ba578063c3c8cd80146102da578063c9567bf9146102ff578063ccfee5d614610314578063dd62ed3e1461033457600080fd5b8063715018a614610238578063751039fc1461024d5780638da5cb5b1461026257806395d89b411461028a57600080fd5b8063313ce567116100d1578063313ce567146101c55780635932ead1146101e15780636fc3eaec1461020357806370a082311461021857600080fd5b806306fdde031461010e578063095ea7b31461015657806318160ddd1461018657806323b872dd146101a557600080fd5b3661010957005b600080fd5b34801561011a57600080fd5b5060408051808201909152600d81526c04361707461696e205472756d7609c1b60208201525b60405161014d9190611737565b60405180910390f35b34801561016257600080fd5b506101766101713660046115d7565b61037a565b604051901515815260200161014d565b34801561019257600080fd5b506008545b60405190815260200161014d565b3480156101b157600080fd5b506101766101c0366004611596565b610391565b3480156101d157600080fd5b506040516009815260200161014d565b3480156101ed57600080fd5b506102016101fc3660046116cf565b6103fa565b005b34801561020f57600080fd5b5061020161044b565b34801561022457600080fd5b50610197610233366004611523565b610478565b34801561024457600080fd5b5061020161049a565b34801561025957600080fd5b5061020161050e565b34801561026e57600080fd5b506000546040516001600160a01b03909116815260200161014d565b34801561029657600080fd5b506040805180820190915260078152662a292aa6a822a960c91b6020820152610140565b3480156102c657600080fd5b506101766102d53660046115d7565b610545565b3480156102e657600080fd5b506102016011805460ff60b01b1916600160b01b179055565b34801561030b57600080fd5b50610201610552565b34801561032057600080fd5b5061020161032f366004611603565b610909565b34801561034057600080fd5b5061019761034f36600461155d565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b6000610387338484610a63565b5060015b92915050565b600061039e848484610b87565b6103f084336103eb85604051806060016040528060288152602001611923602891396001600160a01b038a1660009081526004602090815260408083203384529091529020549190610f00565b610a63565b5060019392505050565b6000546001600160a01b0316331461042d5760405162461bcd60e51b81526004016104249061178c565b60405180910390fd5b60118054911515600160b81b0260ff60b81b19909216919091179055565b600f546001600160a01b0316336001600160a01b03161461046b57600080fd5b4761047581610f3a565b50565b6001600160a01b03811660009081526002602052604081205461038b90610f74565b6000546001600160a01b031633146104c45760405162461bcd60e51b81526004016104249061178c565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146105385760405162461bcd60e51b81526004016104249061178c565b6008546012819055601355565b6000610387338484610b87565b6000546001600160a01b0316331461057c5760405162461bcd60e51b81526004016104249061178c565b601154600160a01b900460ff16156105d65760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610424565b601080546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d90811790915560085461060f9030908390610a63565b806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561064857600080fd5b505afa15801561065c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106809190611540565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156106c857600080fd5b505afa1580156106dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107009190611540565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b15801561074857600080fd5b505af115801561075c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107809190611540565b601180546001600160a01b0319166001600160a01b039283161790556010541663f305d71947306107b081610478565b6000806107c56000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b15801561082857600080fd5b505af115801561083c573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906108619190611709565b50506011805463ff0000ff60a01b198116630100000160a01b1790915560105460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b390604401602060405180830381600087803b1580156108cd57600080fd5b505af11580156108e1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090591906116ec565b5050565b6000546001600160a01b031633146109335760405162461bcd60e51b81526004016104249061178c565b60005b815181101561090557600160066000848481518110610957576109576118d3565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610993816118a2565b915050610936565b6000826109aa5750600061038b565b60006109b6838561186c565b9050826109c3858361184a565b14610a1a5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610424565b9392505050565b6000610a1a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610ff1565b6001600160a01b038316610ac55760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610424565b6001600160a01b038216610b265760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610424565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610beb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610424565b6001600160a01b038216610c4d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610424565b60008111610caf5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610424565b6001600160a01b03831660009081526005602052604090205460ff1680610cee57506001600160a01b03821660009081526005602052604090205460ff165b610ee5576001600160a01b03831660009081526006602052604090205460ff16158015610d3457506001600160a01b03821660009081526006602052604090205460ff16155b610d3d57600080fd5b6011546001600160a01b038481169116148015610d6857506010546001600160a01b03838116911614155b8015610d8d57506001600160a01b03821660009081526005602052604090205460ff16155b8015610da25750601154600160b81b900460ff165b15610e5e57601254811115610df95760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e000000000000006044820152606401610424565b60135481610e0684610478565b610e109190611832565b1115610e5e5760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610424565b6000610e6930610478565b601154909150600160a81b900460ff16158015610e9457506011546001600160a01b03858116911614155b8015610ea95750601154600160b01b900460ff165b15610ed457610ec2610eba826118a2565b91508161101f565b478015610ed257610ed247610f3a565b505b506000600b55600d54600c55610ef0565b6000600b819055600c555b610efb8383836111a8565b505050565b60008184841115610f245760405162461bcd60e51b81526004016104249190611737565b506000610f31848661188b565b95945050505050565b600f546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610905573d6000803e3d6000fd5b6000600954821115610fdb5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610424565b6000610fe56111b3565b9050610a1a8382610a21565b600081836110125760405162461bcd60e51b81526004016104249190611737565b506000610f31848661184a565b6011805460ff60a81b1916600160a81b1790556040805160028082526060820183526000926020830190803683370190505090503081600081518110611067576110676118d3565b6001600160a01b03928316602091820292909201810191909152601054604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b1580156110bb57600080fd5b505afa1580156110cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110f39190611540565b81600181518110611106576111066118d3565b6001600160a01b03928316602091820292909201015260105461112c9130911684610a63565b60105460405163791ac94760e01b81526001600160a01b039091169063791ac947906111659085906000908690309042906004016117c1565b600060405180830381600087803b15801561117f57600080fd5b505af1158015611193573d6000803e3d6000fd5b50506011805460ff60a81b1916905550505050565b610efb8383836111d6565b60008060006111c06112cd565b90925090506111cf8282610a21565b9250505090565b6000806000806000806111e887611302565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061121a908761135f565b6001600160a01b03808b1660009081526002602052604080822093909355908a168152205461124990866113a1565b6001600160a01b03891660009081526002602052604090205561126b81611400565b611275848361144a565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516112ba91815260200190565b60405180910390a3505050505050505050565b60095460085460009182916112e28282610a21565b8210156112f9576009546008549350935050509091565b90939092509050565b600080600080600080600080600061131f8a600b54600c5461146e565b925092509250600061132f6111b3565b905060008060006113428e8787876114c3565b919e509c509a509598509396509194505050505091939550919395565b6000610a1a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610f00565b6000806113ae8385611832565b905083811015610a1a5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610424565b600061140a6111b3565b90506000611418838361099b565b3060009081526002602052604090205490915061143590826113a1565b30600090815260026020526040902055505050565b600954611457908361135f565b600955600a5461146790826113a1565b600a555050565b60008080806114886064611482898961099b565b90610a21565b9050600061149b60646114828a8961099b565b905060006114b3826114ad8b8661135f565b9061135f565b9992985090965090945050505050565b60008080806114d2888661099b565b905060006114e0888761099b565b905060006114ee888861099b565b90506000611500826114ad868661135f565b939b939a50919850919650505050505050565b803561151e816118ff565b919050565b60006020828403121561153557600080fd5b8135610a1a816118ff565b60006020828403121561155257600080fd5b8151610a1a816118ff565b6000806040838503121561157057600080fd5b823561157b816118ff565b9150602083013561158b816118ff565b809150509250929050565b6000806000606084860312156115ab57600080fd5b83356115b6816118ff565b925060208401356115c6816118ff565b929592945050506040919091013590565b600080604083850312156115ea57600080fd5b82356115f5816118ff565b946020939093013593505050565b6000602080838503121561161657600080fd5b823567ffffffffffffffff8082111561162e57600080fd5b818501915085601f83011261164257600080fd5b813581811115611654576116546118e9565b8060051b604051601f19603f83011681018181108582111715611679576116796118e9565b604052828152858101935084860182860187018a101561169857600080fd5b600095505b838610156116c2576116ae81611513565b85526001959095019493860193860161169d565b5098975050505050505050565b6000602082840312156116e157600080fd5b8135610a1a81611914565b6000602082840312156116fe57600080fd5b8151610a1a81611914565b60008060006060848603121561171e57600080fd5b8351925060208401519150604084015190509250925092565b600060208083528351808285015260005b8181101561176457858101830151858201604001528201611748565b81811115611776576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156118115784516001600160a01b0316835293830193918301916001016117ec565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115611845576118456118bd565b500190565b60008261186757634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611886576118866118bd565b500290565b60008282101561189d5761189d6118bd565b500390565b60006000198214156118b6576118b66118bd565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461047557600080fd5b801515811461047557600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220b0c0b309bb1b3337d5da1cbdf47b191584737aafa186f32717c78610775c71f064736f6c63430008070033

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.