Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
0 WORDS
Holders
79
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 WORDSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Words
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
Yes with 2000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity 0.8.10; interface IERC721Events { event Transfer( address indexed from, address indexed to, uint256 indexed tokenId ); event Approval( address indexed owner, address indexed approved, uint256 indexed tokenId ); event ApprovalForAll( address indexed owner, address indexed operator, bool approved ); } interface IERC721Metadata { function name() external view returns (string memory); function symbol() external view returns (string memory); function tokenURI(uint256 tokenId) external view returns (string memory); } interface IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } interface IERC721 { function balanceOf(address owner) external view returns (uint256 balance); function ownerOf(uint256 tokenId) external view returns (address owner); function safeTransferFrom( address from, address to, uint256 tokenId ) external; function transferFrom( address from, address to, uint256 tokenId ) external; function approve(address to, uint256 tokenId) external; function getApproved(uint256 tokenId) external view returns (address operator); function setApprovalForAll(address operator, bool _approved) external; function isApprovedForAll(address owner, address operator) external view returns (bool); function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; } interface IERC165 { function supportsInterface(bytes4 interfaceId) external view returns (bool); } abstract contract ERC165 is IERC165 { function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } /** * Based on: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/ERC721.sol */ contract ERC721 is ERC165, IERC721, IERC721Events { mapping(uint256 => address) private _owners; mapping(address => uint256) private _balances; mapping(uint256 => address) private _tokenApprovals; mapping(address => mapping(address => bool)) private _operatorApprovals; function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } function balanceOf(address owner) public view virtual override returns (uint256) { require( owner != address(0), "ERC721: balance query for the zero address" ); return _balances[owner]; } function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require( owner != address(0), "ERC721: owner query for nonexistent token" ); return owner; } /** * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden * in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( msg.sender == owner || isApprovedForAll(owner, msg.sender), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } function getApproved(uint256 tokenId) public view virtual override returns (address) { require( _exists(tokenId), "ERC721: approved query for nonexistent token" ); return _tokenApprovals[tokenId]; } function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != msg.sender, "ERC721: approve to caller"); _operatorApprovals[msg.sender][operator] = approved; emit ApprovalForAll(msg.sender, operator, approved); } function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require( _isApprovedOrOwner(msg.sender, tokenId), "ERC721: transfer caller is not owner nor approved" ); _transfer(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require( _isApprovedOrOwner(msg.sender, tokenId), "ERC721: transfer caller is not owner nor approved" ); _safeTransfer(from, to, tokenId, _data); } function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require( _exists(tokenId), "ERC721: operator query for nonexistent token" ); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } function _transfer( address from, address to, uint256 tokenId ) internal virtual { require( ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own" ); require(to != address(0), "ERC721: transfer to the zero address"); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (isContract(to)) { try IERC721Receiver(to).onERC721Received( msg.sender, from, tokenId, _data ) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert( "ERC721: transfer to non ERC721Receiver implementer" ); } else { // solhint-disable-next-line no-inline-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } // https://github.com/OpenZeppelin/openzeppelin-contracts/blob/7f6a1666fac8ecff5dd467d0938069bc221ea9e0/contracts/utils/Address.sol function isContract(address account) internal view returns (bool) { uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } } interface IWords { function mint(string memory text_) external returns (uint256); } /** * @title Words * @author MirrorXYZ */ contract Words is IWords, ERC721, IERC721Metadata { string public override name = "Words"; string public override symbol = "WORDS"; uint256 public tokenId; mapping(uint256 => string) public text; function mint(string memory text_) external override returns (uint256) { _mint(msg.sender, tokenId); text[tokenId] = text_; return tokenId++; } // Mostly looted from Loot: https://etherscan.io/address/0xff9c1b15b16263c61d017ee9f65c50e4ae0113d7#code function tokenURI(uint256 tokenId_) external view override returns (string memory) { require(_exists(tokenId_), "nonexistent token"); string[3] memory parts; parts[ 0 ] = '<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" viewBox="0 0 350 350"><style>.base { fill: white; font-family: serif; font-size: 14px; }</style><rect width="100%" height="100%" fill="black" /><text x="10" y="20" class="base">'; parts[1] = text[tokenId_]; parts[2] = "</text></svg>"; string memory output = string( abi.encodePacked(parts[0], parts[1], parts[2]) ); string memory json = Base64.encode( bytes( string( abi.encodePacked( '{"name": "TokenId #', toString(tokenId_), '", "description": "Test", "image": "data:image/svg+xml;base64,', Base64.encode(bytes(output)), '"}' ) ) ) ); output = string( abi.encodePacked("data:application/json;base64,", json) ); return output; } function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT license // 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); } } /// [MIT License] /// @title Base64 /// @notice Provides a function for encoding some bytes in base64 /// @author Brecht Devos <[email protected]> library Base64 { bytes internal constant TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; /// @notice Encodes some bytes to the base64 representation function encode(bytes memory data) internal pure returns (string memory) { uint256 len = data.length; if (len == 0) return ""; // multiply by 4/3 rounded up uint256 encodedLen = 4 * ((len + 2) / 3); // Add some extra buffer at the end bytes memory result = new bytes(encodedLen + 32); bytes memory table = TABLE; assembly { let tablePtr := add(table, 1) let resultPtr := add(result, 32) for { let i := 0 } lt(i, len) { } { i := add(i, 3) let input := and(mload(add(data, i)), 0xffffff) let out := mload(add(tablePtr, and(shr(18, input), 0x3F))) out := shl(8, out) out := add( out, and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF) ) out := shl(8, out) out := add( out, and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF) ) out := shl(8, out) out := add( out, and(mload(add(tablePtr, and(input, 0x3F))), 0xFF) ) out := shl(224, out) mstore(resultPtr, out) resultPtr := add(resultPtr, 4) } switch mod(len, 3) case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) } case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) } mstore(result, encodedLen) } return string(result); } }
{ "optimizer": { "enabled": true, "runs": 2000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","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":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"text_","type":"string"}],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"text","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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"}]
Contract Creation Code
60c06040526005608081905264576f72647360d81b60a09081526200002891600491906200006a565b5060408051808201909152600580825264574f52445360d81b60209092019182526200005591816200006a565b503480156200006357600080fd5b506200014d565b828054620000789062000110565b90600052602060002090601f0160209004810192826200009c5760008555620000e7565b82601f10620000b757805160ff1916838001178555620000e7565b82800160010185558215620000e7579182015b82811115620000e7578251825591602001919060010190620000ca565b50620000f5929150620000f9565b5090565b5b80821115620000f55760008155600101620000fa565b600181811c908216806200012557607f821691505b602082108114156200014757634e487b7160e01b600052602260045260246000fd5b50919050565b611db4806200015d6000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80636352211e11610097578063b88d4fde11610066578063b88d4fde14610213578063c87b56dd14610226578063d85d3d2714610239578063e985e9c51461024c57600080fd5b80636352211e146101d257806370a08231146101e557806395d89b41146101f8578063a22cb4651461020057600080fd5b806310bb7050116100d357806310bb70501461018257806317d70f7c1461019557806323b872dd146101ac57806342842e0e146101bf57600080fd5b806301ffc9a71461010557806306fdde031461012d578063081812fc14610142578063095ea7b31461016d575b600080fd5b61011861011336600461167c565b610288565b60405190151581526020015b60405180910390f35b61013561036d565b60405161012491906116f8565b61015561015036600461170b565b6103fb565b6040516001600160a01b039091168152602001610124565b61018061017b366004611740565b6104a6565b005b61013561019036600461170b565b6105f6565b61019e60065481565b604051908152602001610124565b6101806101ba36600461176a565b61060f565b6101806101cd36600461176a565b610696565b6101556101e036600461170b565b6106b1565b61019e6101f33660046117a6565b61073c565b6101356107d6565b61018061020e3660046117c1565b6107e3565b610180610221366004611889565b6108c6565b61013561023436600461170b565b610954565b61019e610247366004611905565b610b83565b61011861025a36600461194e565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205460ff1690565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061031b57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061036757507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6004805461037a90611981565b80601f01602080910402602001604051908101604052809291908181526020018280546103a690611981565b80156103f35780601f106103c8576101008083540402835291602001916103f3565b820191906000526020600020905b8154815290600101906020018083116103d657829003601f168201915b505050505081565b6000818152602081905260408120546001600160a01b031661048a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600260205260409020546001600160a01b031690565b60006104b1826106b1565b9050806001600160a01b0316836001600160a01b0316141561053b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610481565b336001600160a01b038216148061057557506001600160a01b038116600090815260036020908152604080832033845290915290205460ff165b6105e75760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610481565b6105f18383610bce565b505050565b6007602052600090815260409020805461037a90611981565b6106193382610c49565b61068b5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610481565b6105f1838383610d51565b6105f1838383604051806020016040528060008152506108c6565b6000818152602081905260408120546001600160a01b0316806103675760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610481565b60006001600160a01b0382166107ba5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610481565b506001600160a01b031660009081526001602052604090205490565b6005805461037a90611981565b6001600160a01b03821633141561083c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610481565b3360008181526003602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6108d03383610c49565b6109425760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610481565b61094e84848484610f2f565b50505050565b6000818152602081905260409020546060906001600160a01b03166109bb5760405162461bcd60e51b815260206004820152601160248201527f6e6f6e6578697374656e7420746f6b656e0000000000000000000000000000006044820152606401610481565b6109c361158b565b60405180610120016040528060fd8152602001611c4260fd91398152600083815260076020526040902080546109f890611981565b80601f0160208091040260200160405190810160405280929190818152602001828054610a2490611981565b8015610a715780601f10610a4657610100808354040283529160200191610a71565b820191906000526020600020905b815481529060010190602001808311610a5457829003601f168201915b505050505081600160038110610a8957610a896119bc565b60200201819052506040518060400160405280600d81526020017f3c2f746578743e3c2f7376673e0000000000000000000000000000000000000081525081600260038110610ada57610ada6119bc565b602002015260008181602002015182600160200201518360026020020151604051602001610b0a939291906119d2565b60405160208183030381529060405290506000610b57610b2986610fb8565b610b32846110ea565b604051602001610b43929190611a15565b6040516020818303038152906040526110ea565b905080604051602001610b6a9190611ae6565b60408051601f1981840301815291905295945050505050565b6000610b91336006546112a5565b60065460009081526007602090815260409091208351610bb3928501906115b2565b5060068054906000610bc483611b41565b9091555092915050565b6000818152600260205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384169081179091558190610c10826106b1565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152602081905260408120546001600160a01b0316610cd35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610481565b6000610cde836106b1565b9050806001600160a01b0316846001600160a01b03161480610d195750836001600160a01b0316610d0e846103fb565b6001600160a01b0316145b80610d4957506001600160a01b0380821660009081526003602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316610d64826106b1565b6001600160a01b031614610de05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610481565b6001600160a01b038216610e5b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610481565b610e66600082610bce565b6001600160a01b03831660009081526001602081905260408220805491929091610e91908490611b5c565b90915550506001600160a01b03821660009081526001602081905260408220805491929091610ec1908490611b73565b9091555050600081815260208190526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610f3a848484610d51565b610f46848484846113f6565b61094e5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610481565b606081610ff857505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611022578061100c81611b41565b915061101b9050600a83611ba1565b9150610ffc565b60008167ffffffffffffffff81111561103d5761103d6117fd565b6040519080825280601f01601f191660200182016040528015611067576020820181803683370190505b5090505b8415610d495761107c600183611b5c565b9150611089600a86611bb5565b611094906030611b73565b60f81b8183815181106110a9576110a96119bc565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506110e3600a86611ba1565b945061106b565b80516060908061110a575050604080516020810190915260008152919050565b60006003611119836002611b73565b6111239190611ba1565b61112e906004611bc9565b9050600061113d826020611b73565b67ffffffffffffffff811115611155576111556117fd565b6040519080825280601f01601f19166020018201604052801561117f576020820181803683370190505b5090506000604051806060016040528060408152602001611d3f604091399050600181016020830160005b8681101561120b576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b8352600490920191016111aa565b506003860660018114611225576002811461126f57611297565b7f3d3d0000000000000000000000000000000000000000000000000000000000007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe830152611297565b7f3d000000000000000000000000000000000000000000000000000000000000006000198301525b505050918152949350505050565b6001600160a01b0382166112fb5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610481565b6000818152602081905260409020546001600160a01b0316156113605760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610481565b6001600160a01b0382166000908152600160208190526040822080549192909161138b908490611b73565b9091555050600081815260208190526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000833b15611580576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a029061144a903390899088908890600401611be8565b6020604051808303816000875af1925050508015611485575060408051601f3d908101601f1916820190925261148291810190611c24565b60015b611535573d8080156114b3576040519150601f19603f3d011682016040523d82523d6000602084013e6114b8565b606091505b50805161152d5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610481565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050610d49565b506001949350505050565b60405180606001604052806003905b606081526020019060019003908161159a5790505090565b8280546115be90611981565b90600052602060002090601f0160209004810192826115e05760008555611626565b82601f106115f957805160ff1916838001178555611626565b82800160010185558215611626579182015b8281111561162657825182559160200191906001019061160b565b50611632929150611636565b5090565b5b808211156116325760008155600101611637565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461167957600080fd5b50565b60006020828403121561168e57600080fd5b81356116998161164b565b9392505050565b60005b838110156116bb5781810151838201526020016116a3565b8381111561094e5750506000910152565b600081518084526116e48160208601602086016116a0565b601f01601f19169290920160200192915050565b60208152600061169960208301846116cc565b60006020828403121561171d57600080fd5b5035919050565b80356001600160a01b038116811461173b57600080fd5b919050565b6000806040838503121561175357600080fd5b61175c83611724565b946020939093013593505050565b60008060006060848603121561177f57600080fd5b61178884611724565b925061179660208501611724565b9150604084013590509250925092565b6000602082840312156117b857600080fd5b61169982611724565b600080604083850312156117d457600080fd5b6117dd83611724565b9150602083013580151581146117f257600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561182e5761182e6117fd565b604051601f8501601f19908116603f01168101908282118183101715611856576118566117fd565b8160405280935085815286868601111561186f57600080fd5b858560208301376000602087830101525050509392505050565b6000806000806080858703121561189f57600080fd5b6118a885611724565b93506118b660208601611724565b925060408501359150606085013567ffffffffffffffff8111156118d957600080fd5b8501601f810187136118ea57600080fd5b6118f987823560208401611813565b91505092959194509250565b60006020828403121561191757600080fd5b813567ffffffffffffffff81111561192e57600080fd5b8201601f8101841361193f57600080fd5b610d4984823560208401611813565b6000806040838503121561196157600080fd5b61196a83611724565b915061197860208401611724565b90509250929050565b600181811c9082168061199557607f821691505b602082108114156119b657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b600084516119e48184602089016116a0565b8451908301906119f88183602089016116a0565b8451910190611a0b8183602088016116a0565b0195945050505050565b7f7b226e616d65223a2022546f6b656e4964202300000000000000000000000000815260008351611a4d8160138501602088016116a0565b7f222c20226465736372697074696f6e223a202254657374222c2022696d6167656013918401918201527f223a2022646174613a696d6167652f7376672b786d6c3b6261736536342c000060338201528351611ab08160518401602088016116a0565b7f227d00000000000000000000000000000000000000000000000000000000000060519290910191820152605301949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251611b1e81601d8501602087016116a0565b91909101601d0192915050565b634e487b7160e01b600052601160045260246000fd5b6000600019821415611b5557611b55611b2b565b5060010190565b600082821015611b6e57611b6e611b2b565b500390565b60008219821115611b8657611b86611b2b565b500190565b634e487b7160e01b600052601260045260246000fd5b600082611bb057611bb0611b8b565b500490565b600082611bc457611bc4611b8b565b500690565b6000816000190483118215151615611be357611be3611b2b565b500290565b60006001600160a01b03808716835280861660208401525083604083015260806060830152611c1a60808301846116cc565b9695505050505050565b600060208284031215611c3657600080fd5b81516116998161164b56fe3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f73766722207072657365727665417370656374526174696f3d22784d696e594d696e206d656574222076696577426f783d223020302033353020333530223e3c7374796c653e2e62617365207b2066696c6c3a2077686974653b20666f6e742d66616d696c793a2073657269663b20666f6e742d73697a653a20313470783b207d3c2f7374796c653e3c726563742077696474683d223130302522206865696768743d2231303025222066696c6c3d22626c61636b22202f3e3c7465787420783d2231302220793d2232302220636c6173733d2262617365223e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220d9e56c89100b21c3f0f9c0b581e3c1a1af6403f13333ad57dadceaef76303bd464736f6c634300080a0033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101005760003560e01c80636352211e11610097578063b88d4fde11610066578063b88d4fde14610213578063c87b56dd14610226578063d85d3d2714610239578063e985e9c51461024c57600080fd5b80636352211e146101d257806370a08231146101e557806395d89b41146101f8578063a22cb4651461020057600080fd5b806310bb7050116100d357806310bb70501461018257806317d70f7c1461019557806323b872dd146101ac57806342842e0e146101bf57600080fd5b806301ffc9a71461010557806306fdde031461012d578063081812fc14610142578063095ea7b31461016d575b600080fd5b61011861011336600461167c565b610288565b60405190151581526020015b60405180910390f35b61013561036d565b60405161012491906116f8565b61015561015036600461170b565b6103fb565b6040516001600160a01b039091168152602001610124565b61018061017b366004611740565b6104a6565b005b61013561019036600461170b565b6105f6565b61019e60065481565b604051908152602001610124565b6101806101ba36600461176a565b61060f565b6101806101cd36600461176a565b610696565b6101556101e036600461170b565b6106b1565b61019e6101f33660046117a6565b61073c565b6101356107d6565b61018061020e3660046117c1565b6107e3565b610180610221366004611889565b6108c6565b61013561023436600461170b565b610954565b61019e610247366004611905565b610b83565b61011861025a36600461194e565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205460ff1690565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061031b57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061036757507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6004805461037a90611981565b80601f01602080910402602001604051908101604052809291908181526020018280546103a690611981565b80156103f35780601f106103c8576101008083540402835291602001916103f3565b820191906000526020600020905b8154815290600101906020018083116103d657829003601f168201915b505050505081565b6000818152602081905260408120546001600160a01b031661048a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600260205260409020546001600160a01b031690565b60006104b1826106b1565b9050806001600160a01b0316836001600160a01b0316141561053b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610481565b336001600160a01b038216148061057557506001600160a01b038116600090815260036020908152604080832033845290915290205460ff165b6105e75760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610481565b6105f18383610bce565b505050565b6007602052600090815260409020805461037a90611981565b6106193382610c49565b61068b5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610481565b6105f1838383610d51565b6105f1838383604051806020016040528060008152506108c6565b6000818152602081905260408120546001600160a01b0316806103675760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610481565b60006001600160a01b0382166107ba5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610481565b506001600160a01b031660009081526001602052604090205490565b6005805461037a90611981565b6001600160a01b03821633141561083c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610481565b3360008181526003602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6108d03383610c49565b6109425760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610481565b61094e84848484610f2f565b50505050565b6000818152602081905260409020546060906001600160a01b03166109bb5760405162461bcd60e51b815260206004820152601160248201527f6e6f6e6578697374656e7420746f6b656e0000000000000000000000000000006044820152606401610481565b6109c361158b565b60405180610120016040528060fd8152602001611c4260fd91398152600083815260076020526040902080546109f890611981565b80601f0160208091040260200160405190810160405280929190818152602001828054610a2490611981565b8015610a715780601f10610a4657610100808354040283529160200191610a71565b820191906000526020600020905b815481529060010190602001808311610a5457829003601f168201915b505050505081600160038110610a8957610a896119bc565b60200201819052506040518060400160405280600d81526020017f3c2f746578743e3c2f7376673e0000000000000000000000000000000000000081525081600260038110610ada57610ada6119bc565b602002015260008181602002015182600160200201518360026020020151604051602001610b0a939291906119d2565b60405160208183030381529060405290506000610b57610b2986610fb8565b610b32846110ea565b604051602001610b43929190611a15565b6040516020818303038152906040526110ea565b905080604051602001610b6a9190611ae6565b60408051601f1981840301815291905295945050505050565b6000610b91336006546112a5565b60065460009081526007602090815260409091208351610bb3928501906115b2565b5060068054906000610bc483611b41565b9091555092915050565b6000818152600260205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384169081179091558190610c10826106b1565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152602081905260408120546001600160a01b0316610cd35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610481565b6000610cde836106b1565b9050806001600160a01b0316846001600160a01b03161480610d195750836001600160a01b0316610d0e846103fb565b6001600160a01b0316145b80610d4957506001600160a01b0380821660009081526003602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316610d64826106b1565b6001600160a01b031614610de05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610481565b6001600160a01b038216610e5b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610481565b610e66600082610bce565b6001600160a01b03831660009081526001602081905260408220805491929091610e91908490611b5c565b90915550506001600160a01b03821660009081526001602081905260408220805491929091610ec1908490611b73565b9091555050600081815260208190526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610f3a848484610d51565b610f46848484846113f6565b61094e5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610481565b606081610ff857505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611022578061100c81611b41565b915061101b9050600a83611ba1565b9150610ffc565b60008167ffffffffffffffff81111561103d5761103d6117fd565b6040519080825280601f01601f191660200182016040528015611067576020820181803683370190505b5090505b8415610d495761107c600183611b5c565b9150611089600a86611bb5565b611094906030611b73565b60f81b8183815181106110a9576110a96119bc565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506110e3600a86611ba1565b945061106b565b80516060908061110a575050604080516020810190915260008152919050565b60006003611119836002611b73565b6111239190611ba1565b61112e906004611bc9565b9050600061113d826020611b73565b67ffffffffffffffff811115611155576111556117fd565b6040519080825280601f01601f19166020018201604052801561117f576020820181803683370190505b5090506000604051806060016040528060408152602001611d3f604091399050600181016020830160005b8681101561120b576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b8352600490920191016111aa565b506003860660018114611225576002811461126f57611297565b7f3d3d0000000000000000000000000000000000000000000000000000000000007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe830152611297565b7f3d000000000000000000000000000000000000000000000000000000000000006000198301525b505050918152949350505050565b6001600160a01b0382166112fb5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610481565b6000818152602081905260409020546001600160a01b0316156113605760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610481565b6001600160a01b0382166000908152600160208190526040822080549192909161138b908490611b73565b9091555050600081815260208190526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000833b15611580576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a029061144a903390899088908890600401611be8565b6020604051808303816000875af1925050508015611485575060408051601f3d908101601f1916820190925261148291810190611c24565b60015b611535573d8080156114b3576040519150601f19603f3d011682016040523d82523d6000602084013e6114b8565b606091505b50805161152d5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610481565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050610d49565b506001949350505050565b60405180606001604052806003905b606081526020019060019003908161159a5790505090565b8280546115be90611981565b90600052602060002090601f0160209004810192826115e05760008555611626565b82601f106115f957805160ff1916838001178555611626565b82800160010185558215611626579182015b8281111561162657825182559160200191906001019061160b565b50611632929150611636565b5090565b5b808211156116325760008155600101611637565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461167957600080fd5b50565b60006020828403121561168e57600080fd5b81356116998161164b565b9392505050565b60005b838110156116bb5781810151838201526020016116a3565b8381111561094e5750506000910152565b600081518084526116e48160208601602086016116a0565b601f01601f19169290920160200192915050565b60208152600061169960208301846116cc565b60006020828403121561171d57600080fd5b5035919050565b80356001600160a01b038116811461173b57600080fd5b919050565b6000806040838503121561175357600080fd5b61175c83611724565b946020939093013593505050565b60008060006060848603121561177f57600080fd5b61178884611724565b925061179660208501611724565b9150604084013590509250925092565b6000602082840312156117b857600080fd5b61169982611724565b600080604083850312156117d457600080fd5b6117dd83611724565b9150602083013580151581146117f257600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561182e5761182e6117fd565b604051601f8501601f19908116603f01168101908282118183101715611856576118566117fd565b8160405280935085815286868601111561186f57600080fd5b858560208301376000602087830101525050509392505050565b6000806000806080858703121561189f57600080fd5b6118a885611724565b93506118b660208601611724565b925060408501359150606085013567ffffffffffffffff8111156118d957600080fd5b8501601f810187136118ea57600080fd5b6118f987823560208401611813565b91505092959194509250565b60006020828403121561191757600080fd5b813567ffffffffffffffff81111561192e57600080fd5b8201601f8101841361193f57600080fd5b610d4984823560208401611813565b6000806040838503121561196157600080fd5b61196a83611724565b915061197860208401611724565b90509250929050565b600181811c9082168061199557607f821691505b602082108114156119b657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b600084516119e48184602089016116a0565b8451908301906119f88183602089016116a0565b8451910190611a0b8183602088016116a0565b0195945050505050565b7f7b226e616d65223a2022546f6b656e4964202300000000000000000000000000815260008351611a4d8160138501602088016116a0565b7f222c20226465736372697074696f6e223a202254657374222c2022696d6167656013918401918201527f223a2022646174613a696d6167652f7376672b786d6c3b6261736536342c000060338201528351611ab08160518401602088016116a0565b7f227d00000000000000000000000000000000000000000000000000000000000060519290910191820152605301949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251611b1e81601d8501602087016116a0565b91909101601d0192915050565b634e487b7160e01b600052601160045260246000fd5b6000600019821415611b5557611b55611b2b565b5060010190565b600082821015611b6e57611b6e611b2b565b500390565b60008219821115611b8657611b86611b2b565b500190565b634e487b7160e01b600052601260045260246000fd5b600082611bb057611bb0611b8b565b500490565b600082611bc457611bc4611b8b565b500690565b6000816000190483118215151615611be357611be3611b2b565b500290565b60006001600160a01b03808716835280861660208401525083604083015260806060830152611c1a60808301846116cc565b9695505050505050565b600060208284031215611c3657600080fd5b81516116998161164b56fe3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f73766722207072657365727665417370656374526174696f3d22784d696e594d696e206d656574222076696577426f783d223020302033353020333530223e3c7374796c653e2e62617365207b2066696c6c3a2077686974653b20666f6e742d66616d696c793a2073657269663b20666f6e742d73697a653a20313470783b207d3c2f7374796c653e3c726563742077696474683d223130302522206865696768743d2231303025222066696c6c3d22626c61636b22202f3e3c7465787420783d2231302220793d2232302220636c6173733d2262617365223e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220d9e56c89100b21c3f0f9c0b581e3c1a1af6403f13333ad57dadceaef76303bd464736f6c634300080a0033
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.