ETH Price: $3,333.70 (-0.51%)
Gas: 4.17 Gwei
 

Overview

Max Total Supply

394 TFIL

Holders

36

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
20 TFIL
0xb34db43ad8ea6fd2b9c3c16c4f6544d76dd90c88
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:
TFIL

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.8.7;

// import "hardhat/console.sol";
import "./libs/ERC721.sol";

contract TFIL is ERC721 {
    /*///////////////////////////////////////////////////////////////
                    Global STATE
    //////////////////////////////////////////////////////////////*/

    bool public saleActive;
    // max number of tokens that can be minted - 3333 in production
    uint256 public constant MAX_SUPPLY = 3_333;
    mapping(address => bool) public auth;
    string private baseURI;

    address constant w1 = 0xF6857dEFBF03b6f88Faf51b367705589288C0b4d;
    address constant w2 = 0x19eeE77D33E3e7747BDfb8a237Cd5D70D09D2AA3;

    function setAuth(address add, bool isAuth) external onlyOwner {
        auth[add] = isAuth;
    }

    function transferOwnership(address newOwner) external onlyOwner {
        admin = newOwner;
    }

    function setSaleStatus(bool _status) external onlyOwner {
        saleActive = _status;
    }

    /*///////////////////////////////////////////////////////////////
                    CONSTRUCTOR
    //////////////////////////////////////////////////////////////*/
    constructor() ERC721() {
        admin = msg.sender;
        auth[msg.sender] = true;

        // initialize state
        saleActive = false;
        baseURI = "";
    }

    /*///////////////////////////////////////////////////////////////
                    MODIFIERS 
    //////////////////////////////////////////////////////////////*/

    modifier onlyOwner() {
        require(msg.sender == admin);
        _;
    }

    modifier noCheaters() {
        uint256 size = 0;
        address acc = msg.sender;
        assembly {
            size := extcodesize(acc)
        }

        require(
            auth[msg.sender] || (msg.sender == tx.origin && size == 0),
            "you're trying to cheat!"
        );
        _;
    }

    /*///////////////////////////////////////////////////////////////
                    PUBLIC FUNCTIONS
    //////////////////////////////////////////////////////////////*/

    function mintReserved(address to, uint8 amount) public onlyOwner {
        require(minted + amount < MAX_SUPPLY, "all minted");
        uint256 start = minted;
        for (uint256 i = start; i < start+amount; i++) {
            _mint(to, i);
        }
    }

    function mint(uint8 amount) public payable noCheaters {
        require(saleActive, "Sale must be active to mint");
        require(amount <= 10, "Exceeds number");
        require(minted + amount < MAX_SUPPLY, "all minted");
        require(msg.value >= _getMintingPrice() * amount, "Value below price");
        uint256 start = minted;

        for (uint256 i = start; i < start+amount; i++) {
            _mint(msg.sender, i);
        }
    }

    /**
    * allows owner to withdraw funds from minting
    */
    function withdraw() external onlyOwner {
        uint256 balance = address(this).balance;
        require(balance > 0);
        payable(w1).transfer(balance*80/100);
        payable(w2).transfer(address(this).balance);
    }

    /** RENDER */

    function setBaseURI(string memory uri) public onlyOwner {
        baseURI = uri;
    }

    function tokenURI(uint256 tokenId) public view virtual returns (string memory) {
        require(tokenId < minted, "ERC721Metadata: URI query for nonexistent token");

        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, toString(tokenId))) : "";
    }

    /*///////////////////////////////////////////////////////////////
                    VIEWERS
    //////////////////////////////////////////////////////////////*/

    function name() external pure returns (string memory) {
        return "The Floor Is Lava";
    }

    function symbol() external pure returns (string memory) {
        return "TFIL";
    }

    /*///////////////////////////////////////////////////////////////
                    INTERNAL  HELPERS
    //////////////////////////////////////////////////////////////*/

    function _getMintingPrice() internal view returns (uint256) {
        return (minted / 333) * 0.01 ether;
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }
}

File 2 of 2 : ERC721.sol
pragma solidity ^0.8.7;


/// @notice Modern and gas efficient ERC-721 + ERC-20/EIP-2612-like implementation,
/// including the MetaData, and partially, Enumerable extensions.
contract ERC721 {
    /*///////////////////////////////////////////////////////////////
                                  EVENTS
    //////////////////////////////////////////////////////////////*/
    
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
    
    event Approval(address indexed owner, address indexed spender, uint256 indexed tokenId);
    
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
    
    /*///////////////////////////////////////////////////////////////
                             METADATA STORAGE
    //////////////////////////////////////////////////////////////*/
    
    address        implementation_;
    address public admin; //Lame requirement from opensea
    
    /*///////////////////////////////////////////////////////////////
                             ERC-721 STORAGE
    //////////////////////////////////////////////////////////////*/

    uint256 public totalSupply;
    // uint256 public oldSupply;
    uint256 public minted;
    
    mapping(address => uint256) public balanceOf;
    
    mapping(uint256 => address) public ownerOf;
        
    mapping(uint256 => address) public getApproved;
 
    mapping(address => mapping(address => bool)) public isApprovedForAll;

    /*///////////////////////////////////////////////////////////////
                             VIEW FUNCTION
    //////////////////////////////////////////////////////////////*/

    function owner() external view returns (address) {
        return admin;
    }
    
    /*///////////////////////////////////////////////////////////////
                              ERC-20-LIKE LOGIC
    //////////////////////////////////////////////////////////////*/
    
    function transfer(address to, uint256 tokenId) external {
        require(msg.sender == ownerOf[tokenId], "NOT_OWNER");
        
        _transfer(msg.sender, to, tokenId);
        
    }
    
    /*///////////////////////////////////////////////////////////////
                              ERC-721 LOGIC
    //////////////////////////////////////////////////////////////*/
    
    function supportsInterface(bytes4 interfaceId) external pure returns (bool supported) {
        supported = interfaceId == 0x80ac58cd || interfaceId == 0x5b5e139f;
    }
    
    function approve(address spender, uint256 tokenId) external {
        address owner_ = ownerOf[tokenId];
        
        require(msg.sender == owner_ || isApprovedForAll[owner_][msg.sender], "NOT_APPROVED");
        
        getApproved[tokenId] = spender;
        
        emit Approval(owner_, spender, tokenId); 
    }
    
    function setApprovalForAll(address operator, bool approved) external {
        isApprovedForAll[msg.sender][operator] = approved;
        
        emit ApprovalForAll(msg.sender, operator, approved);
    }

    function transferFrom(address from, address to, uint256 tokenId) public {
        require(
            msg.sender == from 
            || msg.sender == getApproved[tokenId]
            || isApprovedForAll[from][msg.sender], 
            "NOT_APPROVED"
        );
        
        _transfer(from, to, tokenId);
        
    }
    
    function safeTransferFrom(address from, address to, uint256 tokenId) external {
        safeTransferFrom(from, to, tokenId, "");
    }
    
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public {
        transferFrom(from, to, tokenId); 
        
        if (to.code.length != 0) {
            // selector = `onERC721Received(address,address,uint,bytes)`
            (, bytes memory returned) = to.staticcall(abi.encodeWithSelector(0x150b7a02,
                msg.sender, from, tokenId, data));
                
            bytes4 selector = abi.decode(returned, (bytes4));
            
            require(selector == 0x150b7a02, "NOT_ERC721_RECEIVER");
        }
    }
    
    /*///////////////////////////////////////////////////////////////
                          INTERNAL UTILS
    //////////////////////////////////////////////////////////////*/

    function _transfer(address from, address to, uint256 tokenId) internal {
        require(ownerOf[tokenId] == from, "not owner");

        balanceOf[from]--; 
        balanceOf[to]++;
        
        delete getApproved[tokenId];
        
        ownerOf[tokenId] = to;
        emit Transfer(from, to, tokenId); 

    }

    function _mint(address to, uint256 tokenId) internal { 
        require(ownerOf[tokenId] == address(0), "ALREADY_MINTED");

        minted++;
        // uint supply = oldSupply + minted++;
        // uint maxSupply = 3_333;
        // require(supply <= maxSupply, "MAX SUPPLY REACHED");
        totalSupply++;
                
        // This is safe because the sum of all user
        // balances can't exceed type(uint256).max!
        unchecked {
            balanceOf[to]++;
        }
        
        ownerOf[tokenId] = to;
                
        emit Transfer(address(0), to, tokenId); 
    }
    
    function _burn(uint256 tokenId) internal { 
        address owner_ = ownerOf[tokenId];
        
        require(ownerOf[tokenId] != address(0), "NOT_MINTED");
        
        totalSupply--;
        balanceOf[owner_]--;
        
        delete ownerOf[tokenId];
                
        emit Transfer(owner_, address(0), tokenId); 
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "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":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"auth","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"amount","type":"uint8"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint8","name":"amount","type":"uint8"}],"name":"mintReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"add","type":"address"},{"internalType":"bool","name":"isAuth","type":"bool"}],"name":"setAuth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"setSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"supported","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","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":"tokenId","type":"uint256"}],"name":"transfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50600180546001600160a01b0319163390811782556000908152600960209081526040808320805460ff199081169095179055600880549094169093558251908101928390528190526200006891600a916200006f565b5062000152565b8280546200007d9062000115565b90600052602060002090601f016020900481019282620000a15760008555620000ec565b82601f10620000bc57805160ff1916838001178555620000ec565b82800160010185558215620000ec579182015b82811115620000ec578251825591602001919060010190620000cf565b50620000fa929150620000fe565b5090565b5b80821115620000fa5760008155600101620000ff565b600181811c908216806200012a57607f821691505b602082108114156200014c57634e487b7160e01b600052602260045260246000fd5b50919050565b61187a80620001626000396000f3fe6080604052600436106101b75760003560e01c80636ecd2306116100ec578063b88d4fde1161008a578063d897833e11610064578063d897833e14610534578063e985e9c514610554578063f2fde38b1461058f578063f851a440146105af57600080fd5b8063b88d4fde146104c4578063c87b56dd146104e4578063cd5d21181461050457600080fd5b80638eb56396116100c65780638eb563961461043757806395d89b4114610457578063a22cb46514610484578063a9059cbb146104a457600080fd5b80636ecd2306146103d957806370a08231146103ec5780638da5cb5b1461041957600080fd5b806332cb6b0c116101595780634f02c420116101335780634f02c4201461035357806355f804b3146103695780636352211e1461038957806368428a1b146103bf57600080fd5b806332cb6b0c146103085780633ccfd60b1461031e57806342842e0e1461033357600080fd5b8063095ea7b311610195578063095ea7b3146102825780630b44a218146102a457806318160ddd146102c457806323b872dd146102e857600080fd5b806301ffc9a7146101bc57806306fdde03146101f1578063081812fc14610234575b600080fd5b3480156101c857600080fd5b506101dc6101d73660046114b2565b6105cf565b60405190151581526020015b60405180910390f35b3480156101fd57600080fd5b5060408051808201909152601181527054686520466c6f6f72204973204c61766160781b60208201525b6040516101e891906116b1565b34801561024057600080fd5b5061026a61024f366004611535565b6006602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016101e8565b34801561028e57600080fd5b506102a261029d366004611443565b610606565b005b3480156102b057600080fd5b506102a26102bf366004611419565b6106eb565b3480156102d057600080fd5b506102da60025481565b6040519081526020016101e8565b3480156102f457600080fd5b506102a2610303366004611361565b61072d565b34801561031457600080fd5b506102da610d0581565b34801561032a57600080fd5b506102a26107d3565b34801561033f57600080fd5b506102a261034e366004611361565b610891565b34801561035f57600080fd5b506102da60035481565b34801561037557600080fd5b506102a26103843660046114ec565b6108ac565b34801561039557600080fd5b5061026a6103a4366004611535565b6005602052600090815260409020546001600160a01b031681565b3480156103cb57600080fd5b506008546101dc9060ff1681565b6102a26103e736600461154e565b6108d6565b3480156103f857600080fd5b506102da61040736600461130c565b60046020526000908152604090205481565b34801561042557600080fd5b506001546001600160a01b031661026a565b34801561044357600080fd5b506102a261045236600461146d565b610ac6565b34801561046357600080fd5b506040805180820190915260048152631511925360e21b6020820152610227565b34801561049057600080fd5b506102a261049f366004611419565b610b66565b3480156104b057600080fd5b506102a26104bf366004611443565b610bd2565b3480156104d057600080fd5b506102a26104df36600461139d565b610c2f565b3480156104f057600080fd5b506102276104ff366004611535565b610d65565b34801561051057600080fd5b506101dc61051f36600461130c565b60096020526000908152604090205460ff1681565b34801561054057600080fd5b506102a261054f366004611497565b610e2c565b34801561056057600080fd5b506101dc61056f36600461132e565b600760209081526000928352604080842090915290825290205460ff1681565b34801561059b57600080fd5b506102a26105aa36600461130c565b610e56565b3480156105bb57600080fd5b5060015461026a906001600160a01b031681565b60006380ac58cd60e01b6001600160e01b0319831614806106005750635b5e139f60e01b6001600160e01b03198316145b92915050565b6000818152600560205260409020546001600160a01b03163381148061064f57506001600160a01b038116600090815260076020908152604080832033845290915290205460ff165b61068f5760405162461bcd60e51b815260206004820152600c60248201526b1393d517d054141493d5915160a21b60448201526064015b60405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6001546001600160a01b0316331461070257600080fd5b6001600160a01b03919091166000908152600960205260409020805460ff1916911515919091179055565b336001600160a01b038416148061075a57506000818152600660205260409020546001600160a01b031633145b8061078857506001600160a01b038316600090815260076020908152604080832033845290915290205460ff165b6107c35760405162461bcd60e51b815260206004820152600c60248201526b1393d517d054141493d5915160a21b6044820152606401610686565b6107ce838383610e8f565b505050565b6001546001600160a01b031633146107ea57600080fd5b47806107f557600080fd5b73f6857defbf03b6f88faf51b367705589288c0b4d6108fc606461081a8460506116f0565b61082491906116dc565b6040518115909202916000818181858888f1935050505015801561084c573d6000803e3d6000fd5b506040517319eee77d33e3e7747bdfb8a237cd5d70d09d2aa3904780156108fc02916000818181858888f1935050505015801561088d573d6000803e3d6000fd5b5050565b6107ce83838360405180602001604052806000815250610c2f565b6001546001600160a01b031633146108c357600080fd5b805161088d90600a9060208401906111c0565b33600081815260096020526040902054813b919060ff168061090057503332148015610900575081155b61094c5760405162461bcd60e51b815260206004820152601760248201527f796f7527726520747279696e6720746f206368656174210000000000000000006044820152606401610686565b60085460ff1661099e5760405162461bcd60e51b815260206004820152601b60248201527f53616c65206d7573742062652061637469766520746f206d696e7400000000006044820152606401610686565b600a8360ff1611156109e35760405162461bcd60e51b815260206004820152600e60248201526d22bc31b2b2b23990373ab6b132b960911b6044820152606401610686565b610d058360ff166003546109f791906116c4565b10610a315760405162461bcd60e51b815260206004820152600a602482015269185b1b081b5a5b9d195960b21b6044820152606401610686565b8260ff16610a3d610fa7565b610a4791906116f0565b341015610a8a5760405162461bcd60e51b815260206004820152601160248201527056616c75652062656c6f7720707269636560781b6044820152606401610686565b600354805b610a9c60ff8616836116c4565b811015610abf57610aad3382610fcf565b80610ab7816117a4565b915050610a8f565b5050505050565b6001546001600160a01b03163314610add57600080fd5b610d058160ff16600354610af191906116c4565b10610b2b5760405162461bcd60e51b815260206004820152600a602482015269185b1b081b5a5b9d195960b21b6044820152606401610686565b600354805b610b3d60ff8416836116c4565b811015610b6057610b4e8482610fcf565b80610b58816117a4565b915050610b30565b50505050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000818152600560205260409020546001600160a01b03163314610c245760405162461bcd60e51b81526020600482015260096024820152682727aa2fa7aba722a960b91b6044820152606401610686565b61088d338383610e8f565b610c3a84848461072d565b6001600160a01b0383163b15610b60576000836001600160a01b031663150b7a0233878686604051602401610c729493929190611674565b6040516020818303038152906040529060e01b6020820180516001600160e01b038381831617835250505050604051610cab91906115b1565b600060405180830381855afa9150503d8060008114610ce6576040519150601f19603f3d011682016040523d82523d6000602084013e610ceb565b606091505b50915050600081806020019051810190610d0591906114cf565b9050630a85bd0160e11b6001600160e01b0319821614610d5d5760405162461bcd60e51b81526020600482015260136024820152722727aa2fa2a9219b9918afa922a1a2a4ab22a960691b6044820152606401610686565b505050505050565b60606003548210610dd05760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610686565b6000600a8054610ddf90611769565b905011610dfb5760405180602001604052806000815250610600565b600a610e06836110ba565b604051602001610e179291906115cd565b60405160208183030381529060405292915050565b6001546001600160a01b03163314610e4357600080fd5b6008805460ff1916911515919091179055565b6001546001600160a01b03163314610e6d57600080fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000818152600560205260409020546001600160a01b03848116911614610ee45760405162461bcd60e51b81526020600482015260096024820152683737ba1037bbb732b960b91b6044820152606401610686565b6001600160a01b0383166000908152600460205260408120805491610f0883611752565b90915550506001600160a01b0382166000908152600460205260408120805491610f31836117a4565b9091555050600081815260066020908152604080832080546001600160a01b0319908116909155600590925280832080546001600160a01b038781169190941681179091559051849391928716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600061014d600354610fb991906116dc565b610fca90662386f26fc100006116f0565b905090565b6000818152600560205260409020546001600160a01b0316156110255760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b6044820152606401610686565b60038054906000611035836117a4565b90915550506002805490600061104a836117a4565b90915550506001600160a01b038216600081815260046020908152604080832080546001019055848352600590915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060816110de5750506040805180820190915260018152600360fc1b602082015290565b8160005b811561110857806110f2816117a4565b91506111019050600a836116dc565b91506110e2565b60008167ffffffffffffffff81111561112357611123611815565b6040519080825280601f01601f19166020018201604052801561114d576020820181803683370190505b5090505b84156111b85761116260018361170f565b915061116f600a866117bf565b61117a9060306116c4565b60f81b81838151811061118f5761118f6117ff565b60200101906001600160f81b031916908160001a9053506111b1600a866116dc565b9450611151565b949350505050565b8280546111cc90611769565b90600052602060002090601f0160209004810192826111ee5760008555611234565b82601f1061120757805160ff1916838001178555611234565b82800160010185558215611234579182015b82811115611234578251825591602001919060010190611219565b50611240929150611244565b5090565b5b808211156112405760008155600101611245565b600067ffffffffffffffff8084111561127457611274611815565b604051601f8501601f19908116603f0116810190828211818310171561129c5761129c611815565b816040528093508581528686860111156112b557600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146112e657600080fd5b919050565b803580151581146112e657600080fd5b803560ff811681146112e657600080fd5b60006020828403121561131e57600080fd5b611327826112cf565b9392505050565b6000806040838503121561134157600080fd5b61134a836112cf565b9150611358602084016112cf565b90509250929050565b60008060006060848603121561137657600080fd5b61137f846112cf565b925061138d602085016112cf565b9150604084013590509250925092565b600080600080608085870312156113b357600080fd5b6113bc856112cf565b93506113ca602086016112cf565b925060408501359150606085013567ffffffffffffffff8111156113ed57600080fd5b8501601f810187136113fe57600080fd5b61140d87823560208401611259565b91505092959194509250565b6000806040838503121561142c57600080fd5b611435836112cf565b9150611358602084016112eb565b6000806040838503121561145657600080fd5b61145f836112cf565b946020939093013593505050565b6000806040838503121561148057600080fd5b611489836112cf565b9150611358602084016112fb565b6000602082840312156114a957600080fd5b611327826112eb565b6000602082840312156114c457600080fd5b81356113278161182b565b6000602082840312156114e157600080fd5b81516113278161182b565b6000602082840312156114fe57600080fd5b813567ffffffffffffffff81111561151557600080fd5b8201601f8101841361152657600080fd5b6111b884823560208401611259565b60006020828403121561154757600080fd5b5035919050565b60006020828403121561156057600080fd5b611327826112fb565b60008151808452611581816020860160208601611726565b601f01601f19169290920160200192915050565b600081516115a7818560208601611726565b9290920192915050565b600082516115c3818460208701611726565b9190910192915050565b600080845481600182811c9150808316806115e957607f831692505b602080841082141561160957634e487b7160e01b86526022600452602486fd5b81801561161d576001811461162e5761165b565b60ff1986168952848901965061165b565b60008b81526020902060005b868110156116535781548b82015290850190830161163a565b505084890196505b50505050505061166b8185611595565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906116a790830184611569565b9695505050505050565b6020815260006113276020830184611569565b600082198211156116d7576116d76117d3565b500190565b6000826116eb576116eb6117e9565b500490565b600081600019048311821515161561170a5761170a6117d3565b500290565b600082821015611721576117216117d3565b500390565b60005b83811015611741578181015183820152602001611729565b83811115610b605750506000910152565b600081611761576117616117d3565b506000190190565b600181811c9082168061177d57607f821691505b6020821081141561179e57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156117b8576117b86117d3565b5060010190565b6000826117ce576117ce6117e9565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461184157600080fd5b5056fea264697066735822122094b943e2b613b42ddf23ea93adbe70fedd2be7da41fd0d686b20ddb3f97e7f4864736f6c63430008070033

Deployed Bytecode

0x6080604052600436106101b75760003560e01c80636ecd2306116100ec578063b88d4fde1161008a578063d897833e11610064578063d897833e14610534578063e985e9c514610554578063f2fde38b1461058f578063f851a440146105af57600080fd5b8063b88d4fde146104c4578063c87b56dd146104e4578063cd5d21181461050457600080fd5b80638eb56396116100c65780638eb563961461043757806395d89b4114610457578063a22cb46514610484578063a9059cbb146104a457600080fd5b80636ecd2306146103d957806370a08231146103ec5780638da5cb5b1461041957600080fd5b806332cb6b0c116101595780634f02c420116101335780634f02c4201461035357806355f804b3146103695780636352211e1461038957806368428a1b146103bf57600080fd5b806332cb6b0c146103085780633ccfd60b1461031e57806342842e0e1461033357600080fd5b8063095ea7b311610195578063095ea7b3146102825780630b44a218146102a457806318160ddd146102c457806323b872dd146102e857600080fd5b806301ffc9a7146101bc57806306fdde03146101f1578063081812fc14610234575b600080fd5b3480156101c857600080fd5b506101dc6101d73660046114b2565b6105cf565b60405190151581526020015b60405180910390f35b3480156101fd57600080fd5b5060408051808201909152601181527054686520466c6f6f72204973204c61766160781b60208201525b6040516101e891906116b1565b34801561024057600080fd5b5061026a61024f366004611535565b6006602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016101e8565b34801561028e57600080fd5b506102a261029d366004611443565b610606565b005b3480156102b057600080fd5b506102a26102bf366004611419565b6106eb565b3480156102d057600080fd5b506102da60025481565b6040519081526020016101e8565b3480156102f457600080fd5b506102a2610303366004611361565b61072d565b34801561031457600080fd5b506102da610d0581565b34801561032a57600080fd5b506102a26107d3565b34801561033f57600080fd5b506102a261034e366004611361565b610891565b34801561035f57600080fd5b506102da60035481565b34801561037557600080fd5b506102a26103843660046114ec565b6108ac565b34801561039557600080fd5b5061026a6103a4366004611535565b6005602052600090815260409020546001600160a01b031681565b3480156103cb57600080fd5b506008546101dc9060ff1681565b6102a26103e736600461154e565b6108d6565b3480156103f857600080fd5b506102da61040736600461130c565b60046020526000908152604090205481565b34801561042557600080fd5b506001546001600160a01b031661026a565b34801561044357600080fd5b506102a261045236600461146d565b610ac6565b34801561046357600080fd5b506040805180820190915260048152631511925360e21b6020820152610227565b34801561049057600080fd5b506102a261049f366004611419565b610b66565b3480156104b057600080fd5b506102a26104bf366004611443565b610bd2565b3480156104d057600080fd5b506102a26104df36600461139d565b610c2f565b3480156104f057600080fd5b506102276104ff366004611535565b610d65565b34801561051057600080fd5b506101dc61051f36600461130c565b60096020526000908152604090205460ff1681565b34801561054057600080fd5b506102a261054f366004611497565b610e2c565b34801561056057600080fd5b506101dc61056f36600461132e565b600760209081526000928352604080842090915290825290205460ff1681565b34801561059b57600080fd5b506102a26105aa36600461130c565b610e56565b3480156105bb57600080fd5b5060015461026a906001600160a01b031681565b60006380ac58cd60e01b6001600160e01b0319831614806106005750635b5e139f60e01b6001600160e01b03198316145b92915050565b6000818152600560205260409020546001600160a01b03163381148061064f57506001600160a01b038116600090815260076020908152604080832033845290915290205460ff165b61068f5760405162461bcd60e51b815260206004820152600c60248201526b1393d517d054141493d5915160a21b60448201526064015b60405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6001546001600160a01b0316331461070257600080fd5b6001600160a01b03919091166000908152600960205260409020805460ff1916911515919091179055565b336001600160a01b038416148061075a57506000818152600660205260409020546001600160a01b031633145b8061078857506001600160a01b038316600090815260076020908152604080832033845290915290205460ff165b6107c35760405162461bcd60e51b815260206004820152600c60248201526b1393d517d054141493d5915160a21b6044820152606401610686565b6107ce838383610e8f565b505050565b6001546001600160a01b031633146107ea57600080fd5b47806107f557600080fd5b73f6857defbf03b6f88faf51b367705589288c0b4d6108fc606461081a8460506116f0565b61082491906116dc565b6040518115909202916000818181858888f1935050505015801561084c573d6000803e3d6000fd5b506040517319eee77d33e3e7747bdfb8a237cd5d70d09d2aa3904780156108fc02916000818181858888f1935050505015801561088d573d6000803e3d6000fd5b5050565b6107ce83838360405180602001604052806000815250610c2f565b6001546001600160a01b031633146108c357600080fd5b805161088d90600a9060208401906111c0565b33600081815260096020526040902054813b919060ff168061090057503332148015610900575081155b61094c5760405162461bcd60e51b815260206004820152601760248201527f796f7527726520747279696e6720746f206368656174210000000000000000006044820152606401610686565b60085460ff1661099e5760405162461bcd60e51b815260206004820152601b60248201527f53616c65206d7573742062652061637469766520746f206d696e7400000000006044820152606401610686565b600a8360ff1611156109e35760405162461bcd60e51b815260206004820152600e60248201526d22bc31b2b2b23990373ab6b132b960911b6044820152606401610686565b610d058360ff166003546109f791906116c4565b10610a315760405162461bcd60e51b815260206004820152600a602482015269185b1b081b5a5b9d195960b21b6044820152606401610686565b8260ff16610a3d610fa7565b610a4791906116f0565b341015610a8a5760405162461bcd60e51b815260206004820152601160248201527056616c75652062656c6f7720707269636560781b6044820152606401610686565b600354805b610a9c60ff8616836116c4565b811015610abf57610aad3382610fcf565b80610ab7816117a4565b915050610a8f565b5050505050565b6001546001600160a01b03163314610add57600080fd5b610d058160ff16600354610af191906116c4565b10610b2b5760405162461bcd60e51b815260206004820152600a602482015269185b1b081b5a5b9d195960b21b6044820152606401610686565b600354805b610b3d60ff8416836116c4565b811015610b6057610b4e8482610fcf565b80610b58816117a4565b915050610b30565b50505050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000818152600560205260409020546001600160a01b03163314610c245760405162461bcd60e51b81526020600482015260096024820152682727aa2fa7aba722a960b91b6044820152606401610686565b61088d338383610e8f565b610c3a84848461072d565b6001600160a01b0383163b15610b60576000836001600160a01b031663150b7a0233878686604051602401610c729493929190611674565b6040516020818303038152906040529060e01b6020820180516001600160e01b038381831617835250505050604051610cab91906115b1565b600060405180830381855afa9150503d8060008114610ce6576040519150601f19603f3d011682016040523d82523d6000602084013e610ceb565b606091505b50915050600081806020019051810190610d0591906114cf565b9050630a85bd0160e11b6001600160e01b0319821614610d5d5760405162461bcd60e51b81526020600482015260136024820152722727aa2fa2a9219b9918afa922a1a2a4ab22a960691b6044820152606401610686565b505050505050565b60606003548210610dd05760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610686565b6000600a8054610ddf90611769565b905011610dfb5760405180602001604052806000815250610600565b600a610e06836110ba565b604051602001610e179291906115cd565b60405160208183030381529060405292915050565b6001546001600160a01b03163314610e4357600080fd5b6008805460ff1916911515919091179055565b6001546001600160a01b03163314610e6d57600080fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000818152600560205260409020546001600160a01b03848116911614610ee45760405162461bcd60e51b81526020600482015260096024820152683737ba1037bbb732b960b91b6044820152606401610686565b6001600160a01b0383166000908152600460205260408120805491610f0883611752565b90915550506001600160a01b0382166000908152600460205260408120805491610f31836117a4565b9091555050600081815260066020908152604080832080546001600160a01b0319908116909155600590925280832080546001600160a01b038781169190941681179091559051849391928716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600061014d600354610fb991906116dc565b610fca90662386f26fc100006116f0565b905090565b6000818152600560205260409020546001600160a01b0316156110255760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b6044820152606401610686565b60038054906000611035836117a4565b90915550506002805490600061104a836117a4565b90915550506001600160a01b038216600081815260046020908152604080832080546001019055848352600590915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060816110de5750506040805180820190915260018152600360fc1b602082015290565b8160005b811561110857806110f2816117a4565b91506111019050600a836116dc565b91506110e2565b60008167ffffffffffffffff81111561112357611123611815565b6040519080825280601f01601f19166020018201604052801561114d576020820181803683370190505b5090505b84156111b85761116260018361170f565b915061116f600a866117bf565b61117a9060306116c4565b60f81b81838151811061118f5761118f6117ff565b60200101906001600160f81b031916908160001a9053506111b1600a866116dc565b9450611151565b949350505050565b8280546111cc90611769565b90600052602060002090601f0160209004810192826111ee5760008555611234565b82601f1061120757805160ff1916838001178555611234565b82800160010185558215611234579182015b82811115611234578251825591602001919060010190611219565b50611240929150611244565b5090565b5b808211156112405760008155600101611245565b600067ffffffffffffffff8084111561127457611274611815565b604051601f8501601f19908116603f0116810190828211818310171561129c5761129c611815565b816040528093508581528686860111156112b557600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146112e657600080fd5b919050565b803580151581146112e657600080fd5b803560ff811681146112e657600080fd5b60006020828403121561131e57600080fd5b611327826112cf565b9392505050565b6000806040838503121561134157600080fd5b61134a836112cf565b9150611358602084016112cf565b90509250929050565b60008060006060848603121561137657600080fd5b61137f846112cf565b925061138d602085016112cf565b9150604084013590509250925092565b600080600080608085870312156113b357600080fd5b6113bc856112cf565b93506113ca602086016112cf565b925060408501359150606085013567ffffffffffffffff8111156113ed57600080fd5b8501601f810187136113fe57600080fd5b61140d87823560208401611259565b91505092959194509250565b6000806040838503121561142c57600080fd5b611435836112cf565b9150611358602084016112eb565b6000806040838503121561145657600080fd5b61145f836112cf565b946020939093013593505050565b6000806040838503121561148057600080fd5b611489836112cf565b9150611358602084016112fb565b6000602082840312156114a957600080fd5b611327826112eb565b6000602082840312156114c457600080fd5b81356113278161182b565b6000602082840312156114e157600080fd5b81516113278161182b565b6000602082840312156114fe57600080fd5b813567ffffffffffffffff81111561151557600080fd5b8201601f8101841361152657600080fd5b6111b884823560208401611259565b60006020828403121561154757600080fd5b5035919050565b60006020828403121561156057600080fd5b611327826112fb565b60008151808452611581816020860160208601611726565b601f01601f19169290920160200192915050565b600081516115a7818560208601611726565b9290920192915050565b600082516115c3818460208701611726565b9190910192915050565b600080845481600182811c9150808316806115e957607f831692505b602080841082141561160957634e487b7160e01b86526022600452602486fd5b81801561161d576001811461162e5761165b565b60ff1986168952848901965061165b565b60008b81526020902060005b868110156116535781548b82015290850190830161163a565b505084890196505b50505050505061166b8185611595565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906116a790830184611569565b9695505050505050565b6020815260006113276020830184611569565b600082198211156116d7576116d76117d3565b500190565b6000826116eb576116eb6117e9565b500490565b600081600019048311821515161561170a5761170a6117d3565b500290565b600082821015611721576117216117d3565b500390565b60005b83811015611741578181015183820152602001611729565b83811115610b605750506000910152565b600081611761576117616117d3565b506000190190565b600181811c9082168061177d57607f821691505b6020821081141561179e57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156117b8576117b86117d3565b5060010190565b6000826117ce576117ce6117e9565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461184157600080fd5b5056fea264697066735822122094b943e2b613b42ddf23ea93adbe70fedd2be7da41fd0d686b20ddb3f97e7f4864736f6c63430008070033

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.