ETH Price: $2,514.04 (-0.14%)

0N1 Frame (FRAME)
 

Overview

TokenID

4312

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

IMPORTANT: 0N1 Frames are owned by their 0N1 Force NFTs. By selling your original 0N1 Force NFT you also give ownership of the 0N1 Frame to the wallet owner.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
FRAME

Compiler Version
v0.8.5+commit.a4f2e591

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.8;

import "./Ownable.sol";

interface ERC721TokenReceiver {
    function onERC721Received(
        address operator,
        address from,
        uint tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

// @author jolan.eth
contract FRAME is Ownable {
    string public symbol = "FRAME";
    string public name = "0N1 Frame";
    string public CID;

    address public NANOHUB;

    uint public totalSupply = 0;

    mapping (uint => address) owners;
    mapping (address => uint) balances;

    uint256[] private _allTokens;
    mapping(uint256 => uint256) private _allTokensIndex;
    mapping(uint256 => uint256) private _ownedTokensIndex;
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    event Transfer(address indexed from, address indexed to, uint indexed tokenId);

    constructor() {}

    function setCID(string memory _CID)
    public onlyOwner {
        CID = _CID;
    }

    function setNANOHUB(address _NANOHUB)
    public onlyOwner {
        NANOHUB = _NANOHUB;
    }

    function mintFRAME(address to, uint tokenId)
    public {
        require(msg.sender == NANOHUB, "error NANOHUB");
        _mint(to, tokenId);
    }

    function transferFrom(address from, address to, uint tokenId)
    public {
        require(msg.sender == NANOHUB, "error NANOHUB");
        _transfer(from, to, tokenId);
    }

    function exist(uint tokenId)
    public view returns (bool) {
        return owners[tokenId] != address(0);
    }

    function supportsInterface(bytes4 interfaceId)
    public pure returns (bool) {
        return interfaceId == 0x80ac58cd || interfaceId == 0x5b5e139f;
    }

    function balanceOf(address owner)
    public view returns (uint) {
        require(address(0) != owner, "error owner");
        return balances[owner];
    }

    function ownerOf(uint id)
    public view returns (address) {
        require(exist(id), "error exist");
        return owners[id];
    }

    function tokenURI(uint id)
    public view returns (string memory) {
        require(exist(id), "error exist");
        return string(
            abi.encodePacked("ipfs://", CID, "/", _toString(id))
        );
    }

    function _mint(address to, uint id)
    private {
        address from = address(0);
        require(to != address(0), "error to");
        require(owners[id] == address(0), "error owner");

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(id);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, id);
        }

        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(id);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, id);
        }

        balances[to]++;
        owners[id] = to;
        totalSupply++;

        emit Transfer(address(0), to, id);
        require(_checkOnERC721Received(address(0), to, id, ""), "error ERC721Receiver");
    }

    function _transfer(address from, address to, uint id)
    private {
        require(exist(id), "error exist");
        require(to != address(0), "error to");
        require(from == ownerOf(id), "error owner");

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(id);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, id);
        }

        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(id);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, id);
        }

        balances[from]--;
        balances[to]++;
        owners[id] = to;

        emit Transfer(from, to, id);
        require(_checkOnERC721Received(address(0), to, id, ""), "error ERC721Receiver");
    }

    function tokenOfOwnerByIndex(address owner, uint256 index)
    public view virtual returns (uint256) {
        require(index < balanceOf(owner), "error balanceOf");
        return _ownedTokens[owner][index];
    }

    function tokenByIndex(uint256 index)
    public view virtual returns (uint256) {
        require(index < totalSupply, "error totalSupply");
        return _allTokens[index];
    }

    function _addTokenToOwnerEnumeration(address to, uint256 id)
    private {
        uint256 length = balanceOf(to);
        _ownedTokens[to][length] = id;
        _ownedTokensIndex[id] = length;
    }

    function _addTokenToAllTokensEnumeration(uint256 id)
    private {
        _allTokensIndex[id] = _allTokens.length;
        _allTokens.push(id);
    }

    function _removeTokenFromOwnerEnumeration(address from, uint256 id)
    private {
        uint256 lastTokenIndex = balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[id];

        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId;
            _ownedTokensIndex[lastTokenId] = tokenIndex;
        }

        delete _ownedTokensIndex[id];
        delete _ownedTokens[from][lastTokenIndex];
    }

    function _removeTokenFromAllTokensEnumeration(uint256 id)
    private {
        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[id];

        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId;
        _allTokensIndex[lastTokenId] = tokenIndex;

        delete _allTokensIndex[id];
        _allTokens.pop();
    }

    function _checkOnERC721Received(address from, address to, uint id, bytes memory _data)
    internal returns (bool) {
        uint size;

        assembly {
            size := extcodesize(to)
        }

        if (size > 0)
            try ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, _data) returns (bytes4 retval) {
                return retval == ERC721TokenReceiver(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) revert("error ERC721Receiver");
                else assembly {
                        revert(add(32, reason), mload(reason))
                    }
            }
        else return true;
    }

    function _toString(uint value)
    private pure returns (string memory) {
        if (value == 0) return "0";

        uint digits;
        uint tmp = value;

        while (tmp != 0) {
            digits++;
            tmp /= 10;
        }

        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint(value % 10)));
            value /= 10;
        }

        return string(buffer);
    }
}

File 2 of 2 : Ownable.sol
//SPDX-License-Identifier: MIT

pragma solidity ^0.8;

abstract contract Ownable {
    address private _owner;
    
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
    
    modifier onlyOwner() {
        require(owner() == msg.sender, "error owner()");
        _;
    }

    constructor() { _transferOwnership(msg.sender); }

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

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

    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "error newOwner");
        _transferOwnership(newOwner);
    }

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

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":"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":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"CID","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NANOHUB","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mintFRAME","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_CID","type":"string"}],"name":"setCID","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_NANOHUB","type":"address"}],"name":"setNANOHUB","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","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":"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"}]

60c060405260056080819052644652414d4560d81b60a0908152620000289160019190620000d0565b5060408051808201909152600980825268304e31204672616d6560b81b60209092019182526200005b91600291620000d0565b5060006005553480156200006e57600080fd5b506200007a3362000080565b620001b3565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054620000de9062000176565b90600052602060002090601f0160209004810192826200010257600085556200014d565b82601f106200011d57805160ff19168380011785556200014d565b828001600101855582156200014d579182015b828111156200014d57825182559160200191906001019062000130565b506200015b9291506200015f565b5090565b5b808211156200015b576000815560010162000160565b600181811c908216806200018b57607f821691505b60208210811415620001ad57634e487b7160e01b600052602260045260246000fd5b50919050565b61159a80620001c36000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c806370a08231116100ad578063b461802211610071578063b461802214610265578063c098004c14610278578063c3d6ee7f14610280578063c87b56dd14610293578063f2fde38b146102a657600080fd5b806370a082311461021e578063715018a6146102315780638da5cb5b1461023957806395d89b411461024a578063aaf76e8e1461025257600080fd5b80632f745c59116100f45780632f745c591461018f5780634add9fb5146101a25780634ebbc92a146101cd5780634f6ccce7146101f85780636352211e1461020b57600080fd5b806301ffc9a71461012657806306fdde031461014e57806318160ddd1461016357806323b872dd1461017a575b600080fd5b610139610134366004611119565b6102b9565b60405190151581526020015b60405180910390f35b6101566102f0565b6040516101459190611368565b61016c60055481565b604051908152602001610145565b61018d6101883660046110b3565b61037e565b005b61016c61019d3660046110ef565b6103dd565b6004546101b5906001600160a01b031681565b6040516001600160a01b039091168152602001610145565b6101396101db366004611204565b6000908152600660205260409020546001600160a01b0316151590565b61016c610206366004611204565b610451565b6101b5610219366004611204565b6104bd565b61016c61022c366004611091565b61050d565b61018d610551565b6000546001600160a01b03166101b5565b610156610596565b61018d6102603660046110ef565b6105a3565b61018d610273366004611091565b6105fb565b610156610656565b61018d61028e366004611153565b610663565b6101566102a1366004611204565b6106af565b61018d6102b4366004611091565b610718565b60006380ac58cd60e01b6001600160e01b0319831614806102ea5750635b5e139f60e01b6001600160e01b03198316145b92915050565b600280546102fd90611476565b80601f016020809104026020016040519081016040528092919081815260200182805461032990611476565b80156103765780601f1061034b57610100808354040283529160200191610376565b820191906000526020600020905b81548152906001019060200180831161035957829003601f168201915b505050505081565b6004546001600160a01b031633146103cd5760405162461bcd60e51b815260206004820152600d60248201526c32b93937b9102720a727a42aa160991b60448201526064015b60405180910390fd5b6103d88383836107a4565b505050565b60006103e88361050d565b82106104285760405162461bcd60e51b815260206004820152600f60248201526e32b93937b9103130b630b731b2a7b360891b60448201526064016103c4565b506001600160a01b03919091166000908152600b60209081526040808320938352929052205490565b600060055482106104985760405162461bcd60e51b81526020600482015260116024820152706572726f7220746f74616c537570706c7960781b60448201526064016103c4565b600882815481106104ab576104ab611522565b90600052602060002001549050919050565b6000818152600660205260408120546001600160a01b03166104f15760405162461bcd60e51b81526004016103c4906113a0565b506000908152600660205260409020546001600160a01b031690565b60006001600160a01b0382166105355760405162461bcd60e51b81526004016103c49061137b565b506001600160a01b031660009081526007602052604090205490565b336105646000546001600160a01b031690565b6001600160a01b03161461058a5760405162461bcd60e51b81526004016103c4906113c5565b61059460006109d8565b565b600180546102fd90611476565b6004546001600160a01b031633146105ed5760405162461bcd60e51b815260206004820152600d60248201526c32b93937b9102720a727a42aa160991b60448201526064016103c4565b6105f78282610a28565b5050565b3361060e6000546001600160a01b031690565b6001600160a01b0316146106345760405162461bcd60e51b81526004016103c4906113c5565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b600380546102fd90611476565b336106766000546001600160a01b031690565b6001600160a01b03161461069c5760405162461bcd60e51b81526004016103c4906113c5565b80516105f7906003906020840190610fdc565b6000818152600660205260409020546060906001600160a01b03166106e65760405162461bcd60e51b81526004016103c4906113a0565b60036106f183610bd5565b604051602001610702929190611265565b6040516020818303038152906040529050919050565b3361072b6000546001600160a01b031690565b6001600160a01b0316146107515760405162461bcd60e51b81526004016103c4906113c5565b6001600160a01b0381166107985760405162461bcd60e51b815260206004820152600e60248201526d32b93937b9103732bba7bbb732b960911b60448201526064016103c4565b6107a1816109d8565b50565b6000818152600660205260409020546001600160a01b03166107d85760405162461bcd60e51b81526004016103c4906113a0565b6001600160a01b0382166108195760405162461bcd60e51b81526020600482015260086024820152676572726f7220746f60c01b60448201526064016103c4565b610822816104bd565b6001600160a01b0316836001600160a01b0316146108525760405162461bcd60e51b81526004016103c49061137b565b6001600160a01b03831661086e5761086981610cdb565b610891565b816001600160a01b0316836001600160a01b031614610891576108918382610d1f565b6001600160a01b0382166108ad576108a881610dbc565b6108d0565b826001600160a01b0316826001600160a01b0316146108d0576108d08282610e6b565b6001600160a01b03831660009081526007602052604081208054916108f48361145f565b90915550506001600160a01b038216600090815260076020526040812080549161091d836114b1565b909155505060008181526006602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a46109956000838360405180602001604052806000815250610eaf565b6103d85760405162461bcd60e51b815260206004820152601460248201527332b93937b91022a9219b9918a932b1b2b4bb32b960611b60448201526064016103c4565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006001600160a01b038316610a6b5760405162461bcd60e51b81526020600482015260086024820152676572726f7220746f60c01b60448201526064016103c4565b6000828152600660205260409020546001600160a01b031615610aa05760405162461bcd60e51b81526004016103c49061137b565b6001600160a01b038116610abc57610ab782610cdb565b610adf565b826001600160a01b0316816001600160a01b031614610adf57610adf8183610d1f565b6001600160a01b038316610afb57610af682610dbc565b610b1e565b806001600160a01b0316836001600160a01b031614610b1e57610b1e8383610e6b565b6001600160a01b0383166000908152600760205260408120805491610b42836114b1565b9091555050600082815260066020526040812080546001600160a01b0319166001600160a01b0386161790556005805491610b7c836114b1565b909155505060405182906001600160a01b038516906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46109956000848460405180602001604052806000815250610eaf565b606081610bf95750506040805180820190915260018152600360fc1b602082015290565b6000825b8015610c235781610c0d816114b1565b9250610c1c9050600a82611404565b9050610bfd565b60008267ffffffffffffffff811115610c3e57610c3e611538565b6040519080825280601f01601f191660200182016040528015610c68576020820181803683370190505b5090505b8415610cd357610c7d600184611418565b9250610c8a600a866114cc565b610c959060306113ec565b60f81b818481518110610caa57610caa611522565b60200101906001600160f81b031916908160001a905350610ccc600a86611404565b9450610c6c565b949350505050565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b60006001610d2c8461050d565b610d369190611418565b6000838152600a6020526040902054909150808214610d89576001600160a01b0384166000908152600b602090815260408083208584528252808320548484528184208190558352600a90915290208190555b506000918252600a602090815260408084208490556001600160a01b039094168352600b81528383209183525290812055565b600854600090610dce90600190611418565b60008381526009602052604081205460088054939450909284908110610df657610df6611522565b906000526020600020015490508060088381548110610e1757610e17611522565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480610e4f57610e4f61150c565b6001900381819060005260206000200160009055905550505050565b6000610e768361050d565b6001600160a01b039093166000908152600b602090815260408083208684528252808320859055938252600a9052919091209190915550565b6000833b8015610fd257604051630a85bd0160e11b81526001600160a01b0386169063150b7a0290610eeb9033908a9089908990600401611335565b602060405180830381600087803b158015610f0557600080fd5b505af1925050508015610f35575060408051601f3d908101601f19168201909252610f3291810190611136565b60015b610fb6573d808015610f63576040519150601f19603f3d011682016040523d82523d6000602084013e610f68565b606091505b508051610fae5760405162461bcd60e51b815260206004820152601460248201527332b93937b91022a9219b9918a932b1b2b4bb32b960611b60448201526064016103c4565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149150610cd39050565b6001915050610cd3565b828054610fe890611476565b90600052602060002090601f01602090048101928261100a5760008555611050565b82601f1061102357805160ff1916838001178555611050565b82800160010185558215611050579182015b82811115611050578251825591602001919060010190611035565b5061105c929150611060565b5090565b5b8082111561105c5760008155600101611061565b80356001600160a01b038116811461108c57600080fd5b919050565b6000602082840312156110a357600080fd5b6110ac82611075565b9392505050565b6000806000606084860312156110c857600080fd5b6110d184611075565b92506110df60208501611075565b9150604084013590509250925092565b6000806040838503121561110257600080fd5b61110b83611075565b946020939093013593505050565b60006020828403121561112b57600080fd5b81356110ac8161154e565b60006020828403121561114857600080fd5b81516110ac8161154e565b60006020828403121561116557600080fd5b813567ffffffffffffffff8082111561117d57600080fd5b818401915084601f83011261119157600080fd5b8135818111156111a3576111a3611538565b604051601f8201601f19908116603f011681019083821181831017156111cb576111cb611538565b816040528281528760208487010111156111e457600080fd5b826020860160208301376000928101602001929092525095945050505050565b60006020828403121561121657600080fd5b5035919050565b6000815180845261123581602086016020860161142f565b601f01601f19169290920160200192915050565b6000815161125b81856020860161142f565b9290920192915050565b66697066733a2f2f60c81b8152600060076000855481600182811c91508083168061129157607f831692505b60208084108214156112b157634e487b7160e01b86526022600452602486fd5b8180156112c557600181146112da5761130b565b60ff1986168a890152848a018801965061130b565b60008c81526020902060005b868110156113015781548c82018b01529085019083016112e6565b505087858b010196505b50505050505061132b61132582602f60f81b815260010190565b86611249565b9695505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061132b9083018461121d565b6020815260006110ac602083018461121d565b6020808252600b908201526a32b93937b91037bbb732b960a91b604082015260600190565b6020808252600b908201526a195c9c9bdc88195e1a5cdd60aa1b604082015260600190565b6020808252600d908201526c6572726f72206f776e6572282960981b604082015260600190565b600082198211156113ff576113ff6114e0565b500190565b600082611413576114136114f6565b500490565b60008282101561142a5761142a6114e0565b500390565b60005b8381101561144a578181015183820152602001611432565b83811115611459576000848401525b50505050565b60008161146e5761146e6114e0565b506000190190565b600181811c9082168061148a57607f821691505b602082108114156114ab57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156114c5576114c56114e0565b5060010190565b6000826114db576114db6114f6565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146107a157600080fdfea2646970667358221220212a95cf4769a28328ad4d7232219d3e1b226840cb69f3e5571a952b44a6d24964736f6c63430008050033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101215760003560e01c806370a08231116100ad578063b461802211610071578063b461802214610265578063c098004c14610278578063c3d6ee7f14610280578063c87b56dd14610293578063f2fde38b146102a657600080fd5b806370a082311461021e578063715018a6146102315780638da5cb5b1461023957806395d89b411461024a578063aaf76e8e1461025257600080fd5b80632f745c59116100f45780632f745c591461018f5780634add9fb5146101a25780634ebbc92a146101cd5780634f6ccce7146101f85780636352211e1461020b57600080fd5b806301ffc9a71461012657806306fdde031461014e57806318160ddd1461016357806323b872dd1461017a575b600080fd5b610139610134366004611119565b6102b9565b60405190151581526020015b60405180910390f35b6101566102f0565b6040516101459190611368565b61016c60055481565b604051908152602001610145565b61018d6101883660046110b3565b61037e565b005b61016c61019d3660046110ef565b6103dd565b6004546101b5906001600160a01b031681565b6040516001600160a01b039091168152602001610145565b6101396101db366004611204565b6000908152600660205260409020546001600160a01b0316151590565b61016c610206366004611204565b610451565b6101b5610219366004611204565b6104bd565b61016c61022c366004611091565b61050d565b61018d610551565b6000546001600160a01b03166101b5565b610156610596565b61018d6102603660046110ef565b6105a3565b61018d610273366004611091565b6105fb565b610156610656565b61018d61028e366004611153565b610663565b6101566102a1366004611204565b6106af565b61018d6102b4366004611091565b610718565b60006380ac58cd60e01b6001600160e01b0319831614806102ea5750635b5e139f60e01b6001600160e01b03198316145b92915050565b600280546102fd90611476565b80601f016020809104026020016040519081016040528092919081815260200182805461032990611476565b80156103765780601f1061034b57610100808354040283529160200191610376565b820191906000526020600020905b81548152906001019060200180831161035957829003601f168201915b505050505081565b6004546001600160a01b031633146103cd5760405162461bcd60e51b815260206004820152600d60248201526c32b93937b9102720a727a42aa160991b60448201526064015b60405180910390fd5b6103d88383836107a4565b505050565b60006103e88361050d565b82106104285760405162461bcd60e51b815260206004820152600f60248201526e32b93937b9103130b630b731b2a7b360891b60448201526064016103c4565b506001600160a01b03919091166000908152600b60209081526040808320938352929052205490565b600060055482106104985760405162461bcd60e51b81526020600482015260116024820152706572726f7220746f74616c537570706c7960781b60448201526064016103c4565b600882815481106104ab576104ab611522565b90600052602060002001549050919050565b6000818152600660205260408120546001600160a01b03166104f15760405162461bcd60e51b81526004016103c4906113a0565b506000908152600660205260409020546001600160a01b031690565b60006001600160a01b0382166105355760405162461bcd60e51b81526004016103c49061137b565b506001600160a01b031660009081526007602052604090205490565b336105646000546001600160a01b031690565b6001600160a01b03161461058a5760405162461bcd60e51b81526004016103c4906113c5565b61059460006109d8565b565b600180546102fd90611476565b6004546001600160a01b031633146105ed5760405162461bcd60e51b815260206004820152600d60248201526c32b93937b9102720a727a42aa160991b60448201526064016103c4565b6105f78282610a28565b5050565b3361060e6000546001600160a01b031690565b6001600160a01b0316146106345760405162461bcd60e51b81526004016103c4906113c5565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b600380546102fd90611476565b336106766000546001600160a01b031690565b6001600160a01b03161461069c5760405162461bcd60e51b81526004016103c4906113c5565b80516105f7906003906020840190610fdc565b6000818152600660205260409020546060906001600160a01b03166106e65760405162461bcd60e51b81526004016103c4906113a0565b60036106f183610bd5565b604051602001610702929190611265565b6040516020818303038152906040529050919050565b3361072b6000546001600160a01b031690565b6001600160a01b0316146107515760405162461bcd60e51b81526004016103c4906113c5565b6001600160a01b0381166107985760405162461bcd60e51b815260206004820152600e60248201526d32b93937b9103732bba7bbb732b960911b60448201526064016103c4565b6107a1816109d8565b50565b6000818152600660205260409020546001600160a01b03166107d85760405162461bcd60e51b81526004016103c4906113a0565b6001600160a01b0382166108195760405162461bcd60e51b81526020600482015260086024820152676572726f7220746f60c01b60448201526064016103c4565b610822816104bd565b6001600160a01b0316836001600160a01b0316146108525760405162461bcd60e51b81526004016103c49061137b565b6001600160a01b03831661086e5761086981610cdb565b610891565b816001600160a01b0316836001600160a01b031614610891576108918382610d1f565b6001600160a01b0382166108ad576108a881610dbc565b6108d0565b826001600160a01b0316826001600160a01b0316146108d0576108d08282610e6b565b6001600160a01b03831660009081526007602052604081208054916108f48361145f565b90915550506001600160a01b038216600090815260076020526040812080549161091d836114b1565b909155505060008181526006602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a46109956000838360405180602001604052806000815250610eaf565b6103d85760405162461bcd60e51b815260206004820152601460248201527332b93937b91022a9219b9918a932b1b2b4bb32b960611b60448201526064016103c4565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006001600160a01b038316610a6b5760405162461bcd60e51b81526020600482015260086024820152676572726f7220746f60c01b60448201526064016103c4565b6000828152600660205260409020546001600160a01b031615610aa05760405162461bcd60e51b81526004016103c49061137b565b6001600160a01b038116610abc57610ab782610cdb565b610adf565b826001600160a01b0316816001600160a01b031614610adf57610adf8183610d1f565b6001600160a01b038316610afb57610af682610dbc565b610b1e565b806001600160a01b0316836001600160a01b031614610b1e57610b1e8383610e6b565b6001600160a01b0383166000908152600760205260408120805491610b42836114b1565b9091555050600082815260066020526040812080546001600160a01b0319166001600160a01b0386161790556005805491610b7c836114b1565b909155505060405182906001600160a01b038516906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46109956000848460405180602001604052806000815250610eaf565b606081610bf95750506040805180820190915260018152600360fc1b602082015290565b6000825b8015610c235781610c0d816114b1565b9250610c1c9050600a82611404565b9050610bfd565b60008267ffffffffffffffff811115610c3e57610c3e611538565b6040519080825280601f01601f191660200182016040528015610c68576020820181803683370190505b5090505b8415610cd357610c7d600184611418565b9250610c8a600a866114cc565b610c959060306113ec565b60f81b818481518110610caa57610caa611522565b60200101906001600160f81b031916908160001a905350610ccc600a86611404565b9450610c6c565b949350505050565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b60006001610d2c8461050d565b610d369190611418565b6000838152600a6020526040902054909150808214610d89576001600160a01b0384166000908152600b602090815260408083208584528252808320548484528184208190558352600a90915290208190555b506000918252600a602090815260408084208490556001600160a01b039094168352600b81528383209183525290812055565b600854600090610dce90600190611418565b60008381526009602052604081205460088054939450909284908110610df657610df6611522565b906000526020600020015490508060088381548110610e1757610e17611522565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480610e4f57610e4f61150c565b6001900381819060005260206000200160009055905550505050565b6000610e768361050d565b6001600160a01b039093166000908152600b602090815260408083208684528252808320859055938252600a9052919091209190915550565b6000833b8015610fd257604051630a85bd0160e11b81526001600160a01b0386169063150b7a0290610eeb9033908a9089908990600401611335565b602060405180830381600087803b158015610f0557600080fd5b505af1925050508015610f35575060408051601f3d908101601f19168201909252610f3291810190611136565b60015b610fb6573d808015610f63576040519150601f19603f3d011682016040523d82523d6000602084013e610f68565b606091505b508051610fae5760405162461bcd60e51b815260206004820152601460248201527332b93937b91022a9219b9918a932b1b2b4bb32b960611b60448201526064016103c4565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149150610cd39050565b6001915050610cd3565b828054610fe890611476565b90600052602060002090601f01602090048101928261100a5760008555611050565b82601f1061102357805160ff1916838001178555611050565b82800160010185558215611050579182015b82811115611050578251825591602001919060010190611035565b5061105c929150611060565b5090565b5b8082111561105c5760008155600101611061565b80356001600160a01b038116811461108c57600080fd5b919050565b6000602082840312156110a357600080fd5b6110ac82611075565b9392505050565b6000806000606084860312156110c857600080fd5b6110d184611075565b92506110df60208501611075565b9150604084013590509250925092565b6000806040838503121561110257600080fd5b61110b83611075565b946020939093013593505050565b60006020828403121561112b57600080fd5b81356110ac8161154e565b60006020828403121561114857600080fd5b81516110ac8161154e565b60006020828403121561116557600080fd5b813567ffffffffffffffff8082111561117d57600080fd5b818401915084601f83011261119157600080fd5b8135818111156111a3576111a3611538565b604051601f8201601f19908116603f011681019083821181831017156111cb576111cb611538565b816040528281528760208487010111156111e457600080fd5b826020860160208301376000928101602001929092525095945050505050565b60006020828403121561121657600080fd5b5035919050565b6000815180845261123581602086016020860161142f565b601f01601f19169290920160200192915050565b6000815161125b81856020860161142f565b9290920192915050565b66697066733a2f2f60c81b8152600060076000855481600182811c91508083168061129157607f831692505b60208084108214156112b157634e487b7160e01b86526022600452602486fd5b8180156112c557600181146112da5761130b565b60ff1986168a890152848a018801965061130b565b60008c81526020902060005b868110156113015781548c82018b01529085019083016112e6565b505087858b010196505b50505050505061132b61132582602f60f81b815260010190565b86611249565b9695505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061132b9083018461121d565b6020815260006110ac602083018461121d565b6020808252600b908201526a32b93937b91037bbb732b960a91b604082015260600190565b6020808252600b908201526a195c9c9bdc88195e1a5cdd60aa1b604082015260600190565b6020808252600d908201526c6572726f72206f776e6572282960981b604082015260600190565b600082198211156113ff576113ff6114e0565b500190565b600082611413576114136114f6565b500490565b60008282101561142a5761142a6114e0565b500390565b60005b8381101561144a578181015183820152602001611432565b83811115611459576000848401525b50505050565b60008161146e5761146e6114e0565b506000190190565b600181811c9082168061148a57607f821691505b602082108114156114ab57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156114c5576114c56114e0565b5060010190565b6000826114db576114db6114f6565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146107a157600080fdfea2646970667358221220212a95cf4769a28328ad4d7232219d3e1b226840cb69f3e5571a952b44a6d24964736f6c63430008050033

Loading...
Loading
Loading...
Loading
[ 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.