ETH Price: $3,185.43 (+3.21%)

Token

Yield AI (YAI)
 

Overview

Max Total Supply

100,000 YAI

Holders

115

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Balance
0.000000001 YAI

Value
$0.00
0x14c4FEEc5E01A70d2CeCBF57a2E3EE71432490b4
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:
YAIToken

Compiler Version
v0.8.23+commit.f704f362

Optimization Enabled:
Yes with 200 runs

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

YieldAI Protocol Token : $YAI

The First Multi-Chain Yield Aggregator Powered by AI

https://x.com/YieldAIProtocol
https://www.yieldaiprotocol.xyz/index.html
https://docs.yieldaiprotocol.xyz/
https://t.me/yieldaiprotocolerc


*/



// SPDX-License-Identifier: MIT
pragma solidity 0.8.23;

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
    );
}

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

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

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

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

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

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

interface IUniswapV2Router02 {
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;

    function factory() external pure returns (address);

    function WETH() external pure returns (address);

    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    )
        external
        payable
        returns (uint amountToken, uint amountETH, uint liquidity);
}

contract YAIToken is Context, IERC20, Ownable {
    mapping(address => uint256) private _balances;
    mapping(address => mapping(address => uint256)) private _allowances;
    mapping(address => bool) private _isExcludedFromFee;

    address public uniswapV2Pair;
    address payable public _taxWallet = payable(0x36fd98c9489FC027a3D503275D8d48f96d28b549);
    IUniswapV2Router02 public uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);

    bool private tradingOpen = false;
    bool private inSwap = false;
    bool private swapEnabled = false;

    uint8 private constant _decimals = 9;

    string private constant _name = unicode"Yield AI";
    string private constant _symbol = unicode"YAI";

    uint256 private _buyTax = 4;
    uint256 private _sellTax = 4;
    uint256 private constant _tTotal = 100_000 * 10 ** _decimals;
    uint256 public _maxTxAmount = 1000 * 10 ** _decimals;
    uint256 public _maxWalletSize = 1000 * 10 ** _decimals;
    uint256 public _taxSwapThreshold = 10 * 10 ** _decimals;
    uint256 public _maxTaxSwap = 150 * 10 ** _decimals;
    uint256 public lp = 75_000 * 10 ** _decimals;

    event MaxTxAmountUpdated(uint256 _maxTxAmount);
    event TradingEnabled();

    modifier lockTheSwap() {
        inSwap = true;
        _;
        inSwap = false;
    }

    constructor() {

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

    function excludeFromFees(address account, bool exempt) public onlyOwner {
        _isExcludedFromFee[account] = exempt;
        
    }

    function enableTrading() external onlyOwner {
        require(!tradingOpen, "Trading already opened");
        swapEnabled = true;
        tradingOpen = true;
        emit TradingEnabled();
    }

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

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

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

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

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

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

    function _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 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 manualSwap() external {
        require(_msgSender() == _taxWallet);
        uint256 tokenBalance = balanceOf(address(this));
        if (tokenBalance > 0) {
            swapTokensForEth(tokenBalance);
        }
        uint256 ethBalance = address(this).balance;
        if (ethBalance > 0) {
            sendETHToFee(ethBalance);
        }
    }

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public override returns (bool) {
        require(
            _allowances[sender][_msgSender()] >= amount,
            "ERC20: transfer amount exceeds allowance"
        );

        _transfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()] - amount
        );
        return true;
    }

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

        uint256 taxAmount = 0;
        if (from != owner() && to != owner()) {
            if (
                from == uniswapV2Pair &&
                to != address(uniswapV2Router) &&
                !_isExcludedFromFee[to]
            ) {
                require(tradingOpen, "Trading not open");
                require(amount <= _maxTxAmount, "Over maxTxAmount.");
                require(
                    balanceOf(to) + amount <= _maxWalletSize,
                    "Over maxWalletSize."
                );
                taxAmount = (amount * _buyTax) / 100;
            }

            if (to == uniswapV2Pair && from != address(this)) {
                taxAmount = (amount * _sellTax) / 100;
            }

            uint256 contractTokenBalance = balanceOf(address(this));
            if (
                !inSwap &&
                to == uniswapV2Pair &&
                swapEnabled &&
                contractTokenBalance > _taxSwapThreshold
            ) {
                swapTokensForEth(
                    min(amount, min(contractTokenBalance, _maxTaxSwap))
                );
                uint256 contractETHBalance = address(this).balance;
                if (contractETHBalance > 0) {
                    sendETHToFee(address(this).balance);
                }
            }
        }

        if (taxAmount > 0) {
            _balances[address(this)] = _balances[address(this)] + taxAmount;
            emit Transfer(from, address(this), taxAmount);
        }

        _balances[from] = _balances[from] - amount;
        _balances[to] = _balances[to] + (amount - taxAmount);
        emit Transfer(from, to, amount - taxAmount);
    }

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

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

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

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

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

    receive() external payable {}
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_maxTxAmount","type":"uint256"}],"name":"MaxTxAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[],"name":"TradingEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_maxTaxSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxWalletSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_taxSwapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_taxWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"exempt","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manualSend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"manualSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"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"}]

6080604052600580546001600160a01b0319167336fd98c9489fc027a3d503275d8d48f96d28b549179055600680546001600160b81b031916737a250d5630b4cf539739df2c5dacb4c659f2488d17905560046007819055600855620000686009600a620005a1565b62000076906103e8620005b8565b6009556009600a620000899190620005a1565b62000097906103e8620005b8565b600a556009600a620000aa9190620005a1565b620000b790600a620005b8565b600b55620000c86009600a620005a1565b620000d5906096620005b8565b600c55620000e66009600a620005a1565b620000f590620124f8620005b8565b600d5534801562000104575f80fd5b505f80546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060065f9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000196573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001bc9190620005d2565b6001600160a01b031663c9c653963060065f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200021c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620002429190620005d2565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af11580156200028d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620002b39190620005d2565b600480546001600160a01b0319166001600160a01b0392909216919091179055600d5460015f620002e13390565b6001600160a01b03166001600160a01b031681526020019081526020015f2081905550600160035f620003196200048460201b60201c565b6001600160a01b0316815260208082019290925260409081015f908120805494151560ff1995861617905530815260039283905290812080549093166001908117909355620003653390565b6001600160a01b0316815260208101919091526040015f20805460ff1916911515919091179055600d546200039d6009600a620005a1565b620003ac90620186a0620005b8565b620003b89190620005fa565b305f908152600160208181526040808420949094556005546001600160a01b0316835260039052918120805460ff191690921790915533905f80516020620019d28339815191526200040d6009600a620005a1565b6200041c90620186a0620005b8565b60405190815260200160405180910390a3600d5430905f905f80516020620019d283398151915290620004526009600a620005a1565b6200046190620186a0620005b8565b6200046d9190620005fa565b60405190815260200160405180910390a362000610565b5f546001600160a01b031690565b634e487b7160e01b5f52601160045260245ffd5b600181815b80851115620004e657815f1904821115620004ca57620004ca62000492565b80851615620004d857918102915b93841c9390800290620004ab565b509250929050565b5f82620004fe575060016200059b565b816200050c57505f6200059b565b8160018114620005255760028114620005305762000550565b60019150506200059b565b60ff84111562000544576200054462000492565b50506001821b6200059b565b5060208310610133831016604e8410600b841016171562000575575081810a6200059b565b620005818383620004a6565b805f190482111562000597576200059762000492565b0290505b92915050565b5f620005b160ff841683620004ee565b9392505050565b80820281158282048414176200059b576200059b62000492565b5f60208284031215620005e3575f80fd5b81516001600160a01b0381168114620005b1575f80fd5b818103818111156200059b576200059b62000492565b6113b4806200061e5f395ff3fe60806040526004361061014a575f3560e01c8063715018a6116100b357806395d89b411161006d57806395d89b411461038d578063a9059cbb146103b8578063bf474bed146103d7578063c0246668146103ec578063dd62ed3e1461040b578063f42938901461044f575f80fd5b8063715018a61461030b578063751039fc1461031f5780637d1db4a5146103335780638a8c523c146103485780638da5cb5b1461035c5780638f9a55c014610378575f80fd5b8063313c06a011610104578063313c06a014610253578063313ce5671461026857806349bd5a5e1461028357806351bc3c85146102a25780636f268a99146102b857806370a08231146102d7575f80fd5b806306fdde0314610155578063095ea7b3146101975780630faee56f146101c65780631694505e146101e957806318160ddd1461022057806323b872dd14610234575f80fd5b3661015157005b5f80fd5b348015610160575f80fd5b506040805180820190915260088152675969656c6420414960c01b60208201525b60405161018e9190611001565b60405180910390f35b3480156101a2575f80fd5b506101b66101b1366004611061565b610463565b604051901515815260200161018e565b3480156101d1575f80fd5b506101db600c5481565b60405190815260200161018e565b3480156101f4575f80fd5b50600654610208906001600160a01b031681565b6040516001600160a01b03909116815260200161018e565b34801561022b575f80fd5b506101db610479565b34801561023f575f80fd5b506101b661024e36600461108b565b610498565b34801561025e575f80fd5b506101db600d5481565b348015610273575f80fd5b506040516009815260200161018e565b34801561028e575f80fd5b50600454610208906001600160a01b031681565b3480156102ad575f80fd5b506102b661056f565b005b3480156102c3575f80fd5b50600554610208906001600160a01b031681565b3480156102e2575f80fd5b506101db6102f13660046110c9565b6001600160a01b03165f9081526001602052604090205490565b348015610316575f80fd5b506102b66105c0565b34801561032a575f80fd5b506102b6610631565b34801561033e575f80fd5b506101db60095481565b348015610353575f80fd5b506102b66106e3565b348015610367575f80fd5b505f546001600160a01b0316610208565b348015610383575f80fd5b506101db600a5481565b348015610398575f80fd5b5060408051808201909152600381526259414960e81b6020820152610181565b3480156103c3575f80fd5b506101b66103d2366004611061565b6107a0565b3480156103e2575f80fd5b506101db600b5481565b3480156103f7575f80fd5b506102b66104063660046110e4565b6107ac565b348015610416575f80fd5b506101db61042536600461111f565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b34801561045a575f80fd5b506102b66107ff565b5f61046f338484610840565b5060015b92915050565b5f6104866009600a61123f565b61049390620186a061124d565b905090565b6001600160a01b0383165f9081526002602090815260408083203384529091528120548211156105205760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61052b848484610963565b6001600160a01b0384165f90815260026020908152604080832033808552925290912054610565918691610560908690611264565b610840565b5060019392505050565b6005546001600160a01b0316336001600160a01b03161461058e575f80fd5b305f9081526001602052604090205480156105ac576105ac81610e43565b4780156105bc576105bc81610fb3565b5050565b5f546001600160a01b031633146105e95760405162461bcd60e51b815260040161051790611277565b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f546001600160a01b0316331461065a5760405162461bcd60e51b815260040161051790611277565b6106666009600a61123f565b61067390620186a061124d565b600990815561068390600a61123f565b61069090620186a061124d565b600a9081557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf906106c39060099061123f565b6106d090620186a061124d565b60405190815260200160405180910390a1565b5f546001600160a01b0316331461070c5760405162461bcd60e51b815260040161051790611277565b600654600160a01b900460ff161561075f5760405162461bcd60e51b8152602060048201526016602482015275151c98591a5b99c8185b1c9958591e481bdc195b995960521b6044820152606401610517565b6006805462ff00ff60a01b19166201000160a01b1790556040517f799663458a5ef2936f7fa0c99b3336c69c25890f82974f04e811e5bb359186c7905f90a1565b5f61046f338484610963565b5f546001600160a01b031633146107d55760405162461bcd60e51b815260040161051790611277565b6001600160a01b03919091165f908152600360205260409020805460ff1916911515919091179055565b47801561083d576005546040516001600160a01b039091169082156108fc029083905f818181858888f193505050501580156105bc573d5f803e3d5ffd5b50565b6001600160a01b0383166108a25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610517565b6001600160a01b0382166109035760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610517565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166109c75760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610517565b6001600160a01b038216610a295760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610517565b5f8111610a8a5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610517565b5f80546001600160a01b03858116911614801590610ab557505f546001600160a01b03848116911614155b15610d03576004546001600160a01b038581169116148015610ae557506006546001600160a01b03848116911614155b8015610b0957506001600160a01b0383165f9081526003602052604090205460ff16155b15610c2d57600654600160a01b900460ff16610b5a5760405162461bcd60e51b815260206004820152601060248201526f2a3930b234b733903737ba1037b832b760811b6044820152606401610517565b600954821115610ba05760405162461bcd60e51b815260206004820152601160248201527027bb32b91036b0bc2a3c20b6b7bab73a1760791b6044820152606401610517565b600a5482610bc2856001600160a01b03165f9081526001602052604090205490565b610bcc91906112ac565b1115610c105760405162461bcd60e51b815260206004820152601360248201527227bb32b91036b0bc2bb0b63632ba29b4bd329760691b6044820152606401610517565b606460075483610c20919061124d565b610c2a91906112bf565b90505b6004546001600160a01b038481169116148015610c5357506001600160a01b0384163014155b15610c7557606460085483610c68919061124d565b610c7291906112bf565b90505b305f90815260016020526040902054600654600160a81b900460ff16158015610cab57506004546001600160a01b038581169116145b8015610cc05750600654600160b01b900460ff165b8015610ccd5750600b5481115b15610d0157610cef610cea84610ce584600c54610fea565b610fea565b610e43565b478015610cff57610cff47610fb3565b505b505b8015610d7c57305f90815260016020526040902054610d239082906112ac565b305f81815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610d739085815260200190565b60405180910390a35b6001600160a01b0384165f90815260016020526040902054610d9f908390611264565b6001600160a01b0385165f90815260016020526040902055610dc18183611264565b6001600160a01b0384165f90815260016020526040902054610de391906112ac565b6001600160a01b038085165f8181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610e2c8486611264565b60405190815260200160405180910390a350505050565b6006805460ff60a81b1916600160a81b1790556040805160028082526060820183525f9260208301908036833701905050905030815f81518110610e8957610e896112de565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610ee0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f0491906112f2565b81600181518110610f1757610f176112de565b6001600160a01b039283166020918202929092010152600654610f3d9130911684610840565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790610f759085905f9086903090429060040161130d565b5f604051808303815f87803b158015610f8c575f80fd5b505af1158015610f9e573d5f803e3d5ffd5b50506006805460ff60a81b1916905550505050565b6005546040516001600160a01b039091169082156108fc029083905f818181858888f193505050501580156105bc573d5f803e3d5ffd5b5f818311610ff85782610ffa565b815b9392505050565b5f602080835283518060208501525f5b8181101561102d57858101830151858201604001528201611011565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461083d575f80fd5b5f8060408385031215611072575f80fd5b823561107d8161104d565b946020939093013593505050565b5f805f6060848603121561109d575f80fd5b83356110a88161104d565b925060208401356110b88161104d565b929592945050506040919091013590565b5f602082840312156110d9575f80fd5b8135610ffa8161104d565b5f80604083850312156110f5575f80fd5b82356111008161104d565b915060208301358015158114611114575f80fd5b809150509250929050565b5f8060408385031215611130575f80fd5b823561113b8161104d565b915060208301356111148161104d565b634e487b7160e01b5f52601160045260245ffd5b600181815b8085111561119957815f190482111561117f5761117f61114b565b8085161561118c57918102915b93841c9390800290611164565b509250929050565b5f826111af57506001610473565b816111bb57505f610473565b81600181146111d157600281146111db576111f7565b6001915050610473565b60ff8411156111ec576111ec61114b565b50506001821b610473565b5060208310610133831016604e8410600b841016171561121a575081810a610473565b611224838361115f565b805f19048211156112375761123761114b565b029392505050565b5f610ffa60ff8416836111a1565b80820281158282048414176104735761047361114b565b818103818111156104735761047361114b565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b808201808211156104735761047361114b565b5f826112d957634e487b7160e01b5f52601260045260245ffd5b500490565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611302575f80fd5b8151610ffa8161104d565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b8181101561135d5784516001600160a01b031683529383019391830191600101611338565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220b4c02f893022d2144959e2c2ec71174e8efa04330366fe62b6f0a50148f0d9c564736f6c63430008170033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef

Deployed Bytecode

0x60806040526004361061014a575f3560e01c8063715018a6116100b357806395d89b411161006d57806395d89b411461038d578063a9059cbb146103b8578063bf474bed146103d7578063c0246668146103ec578063dd62ed3e1461040b578063f42938901461044f575f80fd5b8063715018a61461030b578063751039fc1461031f5780637d1db4a5146103335780638a8c523c146103485780638da5cb5b1461035c5780638f9a55c014610378575f80fd5b8063313c06a011610104578063313c06a014610253578063313ce5671461026857806349bd5a5e1461028357806351bc3c85146102a25780636f268a99146102b857806370a08231146102d7575f80fd5b806306fdde0314610155578063095ea7b3146101975780630faee56f146101c65780631694505e146101e957806318160ddd1461022057806323b872dd14610234575f80fd5b3661015157005b5f80fd5b348015610160575f80fd5b506040805180820190915260088152675969656c6420414960c01b60208201525b60405161018e9190611001565b60405180910390f35b3480156101a2575f80fd5b506101b66101b1366004611061565b610463565b604051901515815260200161018e565b3480156101d1575f80fd5b506101db600c5481565b60405190815260200161018e565b3480156101f4575f80fd5b50600654610208906001600160a01b031681565b6040516001600160a01b03909116815260200161018e565b34801561022b575f80fd5b506101db610479565b34801561023f575f80fd5b506101b661024e36600461108b565b610498565b34801561025e575f80fd5b506101db600d5481565b348015610273575f80fd5b506040516009815260200161018e565b34801561028e575f80fd5b50600454610208906001600160a01b031681565b3480156102ad575f80fd5b506102b661056f565b005b3480156102c3575f80fd5b50600554610208906001600160a01b031681565b3480156102e2575f80fd5b506101db6102f13660046110c9565b6001600160a01b03165f9081526001602052604090205490565b348015610316575f80fd5b506102b66105c0565b34801561032a575f80fd5b506102b6610631565b34801561033e575f80fd5b506101db60095481565b348015610353575f80fd5b506102b66106e3565b348015610367575f80fd5b505f546001600160a01b0316610208565b348015610383575f80fd5b506101db600a5481565b348015610398575f80fd5b5060408051808201909152600381526259414960e81b6020820152610181565b3480156103c3575f80fd5b506101b66103d2366004611061565b6107a0565b3480156103e2575f80fd5b506101db600b5481565b3480156103f7575f80fd5b506102b66104063660046110e4565b6107ac565b348015610416575f80fd5b506101db61042536600461111f565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b34801561045a575f80fd5b506102b66107ff565b5f61046f338484610840565b5060015b92915050565b5f6104866009600a61123f565b61049390620186a061124d565b905090565b6001600160a01b0383165f9081526002602090815260408083203384529091528120548211156105205760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61052b848484610963565b6001600160a01b0384165f90815260026020908152604080832033808552925290912054610565918691610560908690611264565b610840565b5060019392505050565b6005546001600160a01b0316336001600160a01b03161461058e575f80fd5b305f9081526001602052604090205480156105ac576105ac81610e43565b4780156105bc576105bc81610fb3565b5050565b5f546001600160a01b031633146105e95760405162461bcd60e51b815260040161051790611277565b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f546001600160a01b0316331461065a5760405162461bcd60e51b815260040161051790611277565b6106666009600a61123f565b61067390620186a061124d565b600990815561068390600a61123f565b61069090620186a061124d565b600a9081557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf906106c39060099061123f565b6106d090620186a061124d565b60405190815260200160405180910390a1565b5f546001600160a01b0316331461070c5760405162461bcd60e51b815260040161051790611277565b600654600160a01b900460ff161561075f5760405162461bcd60e51b8152602060048201526016602482015275151c98591a5b99c8185b1c9958591e481bdc195b995960521b6044820152606401610517565b6006805462ff00ff60a01b19166201000160a01b1790556040517f799663458a5ef2936f7fa0c99b3336c69c25890f82974f04e811e5bb359186c7905f90a1565b5f61046f338484610963565b5f546001600160a01b031633146107d55760405162461bcd60e51b815260040161051790611277565b6001600160a01b03919091165f908152600360205260409020805460ff1916911515919091179055565b47801561083d576005546040516001600160a01b039091169082156108fc029083905f818181858888f193505050501580156105bc573d5f803e3d5ffd5b50565b6001600160a01b0383166108a25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610517565b6001600160a01b0382166109035760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610517565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166109c75760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610517565b6001600160a01b038216610a295760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610517565b5f8111610a8a5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610517565b5f80546001600160a01b03858116911614801590610ab557505f546001600160a01b03848116911614155b15610d03576004546001600160a01b038581169116148015610ae557506006546001600160a01b03848116911614155b8015610b0957506001600160a01b0383165f9081526003602052604090205460ff16155b15610c2d57600654600160a01b900460ff16610b5a5760405162461bcd60e51b815260206004820152601060248201526f2a3930b234b733903737ba1037b832b760811b6044820152606401610517565b600954821115610ba05760405162461bcd60e51b815260206004820152601160248201527027bb32b91036b0bc2a3c20b6b7bab73a1760791b6044820152606401610517565b600a5482610bc2856001600160a01b03165f9081526001602052604090205490565b610bcc91906112ac565b1115610c105760405162461bcd60e51b815260206004820152601360248201527227bb32b91036b0bc2bb0b63632ba29b4bd329760691b6044820152606401610517565b606460075483610c20919061124d565b610c2a91906112bf565b90505b6004546001600160a01b038481169116148015610c5357506001600160a01b0384163014155b15610c7557606460085483610c68919061124d565b610c7291906112bf565b90505b305f90815260016020526040902054600654600160a81b900460ff16158015610cab57506004546001600160a01b038581169116145b8015610cc05750600654600160b01b900460ff165b8015610ccd5750600b5481115b15610d0157610cef610cea84610ce584600c54610fea565b610fea565b610e43565b478015610cff57610cff47610fb3565b505b505b8015610d7c57305f90815260016020526040902054610d239082906112ac565b305f81815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610d739085815260200190565b60405180910390a35b6001600160a01b0384165f90815260016020526040902054610d9f908390611264565b6001600160a01b0385165f90815260016020526040902055610dc18183611264565b6001600160a01b0384165f90815260016020526040902054610de391906112ac565b6001600160a01b038085165f8181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610e2c8486611264565b60405190815260200160405180910390a350505050565b6006805460ff60a81b1916600160a81b1790556040805160028082526060820183525f9260208301908036833701905050905030815f81518110610e8957610e896112de565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610ee0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f0491906112f2565b81600181518110610f1757610f176112de565b6001600160a01b039283166020918202929092010152600654610f3d9130911684610840565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790610f759085905f9086903090429060040161130d565b5f604051808303815f87803b158015610f8c575f80fd5b505af1158015610f9e573d5f803e3d5ffd5b50506006805460ff60a81b1916905550505050565b6005546040516001600160a01b039091169082156108fc029083905f818181858888f193505050501580156105bc573d5f803e3d5ffd5b5f818311610ff85782610ffa565b815b9392505050565b5f602080835283518060208501525f5b8181101561102d57858101830151858201604001528201611011565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461083d575f80fd5b5f8060408385031215611072575f80fd5b823561107d8161104d565b946020939093013593505050565b5f805f6060848603121561109d575f80fd5b83356110a88161104d565b925060208401356110b88161104d565b929592945050506040919091013590565b5f602082840312156110d9575f80fd5b8135610ffa8161104d565b5f80604083850312156110f5575f80fd5b82356111008161104d565b915060208301358015158114611114575f80fd5b809150509250929050565b5f8060408385031215611130575f80fd5b823561113b8161104d565b915060208301356111148161104d565b634e487b7160e01b5f52601160045260245ffd5b600181815b8085111561119957815f190482111561117f5761117f61114b565b8085161561118c57918102915b93841c9390800290611164565b509250929050565b5f826111af57506001610473565b816111bb57505f610473565b81600181146111d157600281146111db576111f7565b6001915050610473565b60ff8411156111ec576111ec61114b565b50506001821b610473565b5060208310610133831016604e8410600b841016171561121a575081810a610473565b611224838361115f565b805f19048211156112375761123761114b565b029392505050565b5f610ffa60ff8416836111a1565b80820281158282048414176104735761047361114b565b818103818111156104735761047361114b565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b808201808211156104735761047361114b565b5f826112d957634e487b7160e01b5f52601260045260245ffd5b500490565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611302575f80fd5b8151610ffa8161104d565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b8181101561135d5784516001600160a01b031683529383019391830191600101611338565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220b4c02f893022d2144959e2c2ec71174e8efa04330366fe62b6f0a50148f0d9c564736f6c63430008170033

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.