ERC-721
Overview
Max Total Supply
808 NADO
Holders
234
Total Transfers
-
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Tornado
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.7; /* RIP Tornado Cash 08/2019 - 08/2022 Public Goods Can Never Die */ /// @author ynot | Taken from 0xBasset | Taken from Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol) contract Tornado { uint256 constant ONE_PERCENT = type(uint256).max / 100; uint256 constant MAX_PER_USER = 1; /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event Transfer(address indexed from, address indexed to, uint256 indexed id); event Approval(address indexed owner, address indexed spender, uint256 indexed id); event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /*////////////////////////////////////////////////////////////// METADATA STORAGE/LOGIC //////////////////////////////////////////////////////////////*/ string public name = "CRYPTONADOS"; string public symbol = "NADO"; /*////////////////////////////////////////////////////////////// STORAGE //////////////////////////////////////////////////////////////*/ address public owner; address public renderer; address public mineableToken; uint256 public startEpoch = 210699; uint256 public maxSupply = 808; uint256 public totalSupply; mapping(uint256 => Data) internal _tokenData; mapping(address => AddressData) internal _balanceOf; mapping(uint256 => address) public getApproved; mapping(address => mapping(address => bool)) public isApprovedForAll; struct Data { address owner; Details details; } struct AddressData { uint128 balance; uint128 minted; } struct Details { uint8 tornadoType; // What is the 'nado made out of? uint8 fujitaScale; // How strong is it tho? } /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor() { owner = msg.sender; } function mint(uint256 amount) external { require(IERC918(mineableToken).epochCount() >= startEpoch, "sale not started"); require(msg.sender == tx.origin, "not allowed"); require(totalSupply + amount <= maxSupply, "max supply reached"); require(_balanceOf[msg.sender].minted + amount <= MAX_PER_USER, "already minted"); for (uint256 i = 0; i < amount; i++) { _mint(msg.sender); } } function zMint(uint256 amount, address to) external { require(msg.sender == owner, "not allowed"); for (uint256 i = 0; i < amount; i++) { _mint(to); } } /*////////////////////////////////////////////////////////////// ADMIN FUNCTIONS //////////////////////////////////////////////////////////////*/ function setERC918(address mineableToken_) external { require(msg.sender == owner, "not owner"); mineableToken = mineableToken_; } function setRenderer(address rend_) external { require(msg.sender == owner, "not owner"); renderer = rend_; } function setOwner(address owner_) external { require(msg.sender == owner, "not owner"); owner = owner_; } function withdraw(address recipient) external { require(msg.sender == owner, "not owner"); (bool succ, ) = payable(recipient).call{value: address(this).balance }(""); require(succ, "withdraw failed"); } function setStartEpoch(uint256 startEpoch_) external { require(msg.sender == owner, "not owner"); startEpoch = startEpoch_; } /*////////////////////////////////////////////////////////////// ERC721 LOGIC //////////////////////////////////////////////////////////////*/ function approve(address spender, uint256 id) public virtual { require(msg.sender == _tokenData[id].owner || isApprovedForAll[owner][msg.sender], "NOT_AUTHORIZED"); getApproved[id] = spender; emit Approval(owner, spender, id); } function setApprovalForAll(address operator, bool approved) public virtual { isApprovedForAll[msg.sender][operator] = approved; emit ApprovalForAll(msg.sender, operator, approved); } function transferFrom( address from, address to, uint256 id ) public virtual { require(from == _tokenData[id].owner, "WRONG_FROM"); require(to != address(0), "INVALID_RECIPIENT"); require( msg.sender == from || isApprovedForAll[from][msg.sender] || msg.sender == getApproved[id], "NOT_AUTHORIZED" ); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. unchecked { _balanceOf[from].balance--; _balanceOf[to].balance++; } _tokenData[id].owner = to; delete getApproved[id]; emit Transfer(from, to, id); } function safeTransferFrom( address from, address to, uint256 id ) public virtual { transferFrom(from, to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, "") == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } function safeTransferFrom( address from, address to, uint256 id, bytes calldata data ) public virtual { transferFrom(from, to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, data) == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } /*////////////////////////////////////////////////////////////// ERC165 LOGIC //////////////////////////////////////////////////////////////*/ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165 interfaceId == 0x80ac58cd || // ERC165 Interface ID for ERC721 interfaceId == 0x5b5e139f; // ERC165 Interface ID for ERC721Metadata } /*////////////////////////////////////////////////////////////// VIEW FUNCTIONS //////////////////////////////////////////////////////////////*/ function tokenURI(uint256 id) public view returns (string memory) { Details memory details = _tokenData[id].details; return RendererLike(renderer).getURI(id, details.tornadoType, details.fujitaScale); } function ownerOf(uint256 id) public view virtual returns (address owner_) { // Details memory details = _tokenData[id].details; owner_ = _tokenData[id].owner; require(owner_ != address(0), "NOT_MINTED"); } function balanceOf(address owner_) public view virtual returns (uint256) { require(owner_ != address(0), "ZERO_ADDRESS"); return _balanceOf[owner_].balance; } function minted(address owner_) public view virtual returns (uint256) { require(owner_ != address(0), "ZERO_ADDRESS"); return _balanceOf[owner_].minted; } function getTraits(uint256 id_) public view returns (uint256 tornadoType_, uint256 fujitaScale_) { Details memory details = _tokenData[id_].details; tornadoType_ = details.tornadoType; fujitaScale_ = details.fujitaScale; } /*////////////////////////////////////////////////////////////// INTERNAL MINT/BURN LOGIC //////////////////////////////////////////////////////////////*/ function _mint(address account) internal { // Generate token uint256 id = ++totalSupply; // Not the strongest entropy, but good enough for a mint uint256 entropy = uint256(keccak256(abi.encode(account, block.coinbase, id, "entropy"))); // Tornado Type uint256 typeEntropy = uint256(uint256(keccak256(abi.encode(entropy, "TYPE")))); uint8 tornadoType = uint8(typeEntropy % 10 + 1); _tokenData[id].details.tornadoType = tornadoType; // Tornado Strength uint256 fujitaEntropy = uint256(uint256(keccak256(abi.encode(entropy, "FUJITA")))); uint8 fujitaScale = uint8( // If entropy smaller than 50 %, is F0 or F1 fujitaEntropy <= 70 * ONE_PERCENT ? (fujitaEntropy % 2): // If entropy between 50% and 85%, is F2 or F3 fujitaEntropy <= 93 * ONE_PERCENT ? (fujitaEntropy % 2) + 2: // If entropy between 85% and 98%, is F4 fujitaEntropy <= (99 * ONE_PERCENT ) + (ONE_PERCENT / 2) ? 4: // F5 tornado mother fucker 5); _tokenData[id].details.fujitaScale = fujitaScale; _mint(account, id); } function _mint(address to, uint256 id) internal virtual { require(to != address(0), "INVALID_RECIPIENT"); require(_tokenData[id].owner == address(0), "ALREADY_MINTED"); // Counter overflow is incredibly unrealistic. unchecked { _balanceOf[to].balance++; _balanceOf[to].minted++; } _tokenData[id].owner = to; emit Transfer(address(0), to, id); } function _burn(uint256 id) internal virtual { address owner_ = _tokenData[id].owner; require(owner_ != address(0), "NOT_MINTED"); // Ownership check above ensures no underflow. unchecked { _balanceOf[owner_].balance--; } delete _tokenData[id]; delete getApproved[id]; emit Transfer(owner_, address(0), id); } /*////////////////////////////////////////////////////////////// INTERNAL SAFE MINT LOGIC //////////////////////////////////////////////////////////////*/ function _safeMint(address to, uint256 id) internal virtual { _mint(to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, "") == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } function _safeMint( address to, uint256 id, bytes memory data ) internal virtual { _mint(to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, data) == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } } /*////////////////////////////////////////////////////////////// INTERFACES //////////////////////////////////////////////////////////////*/ /// @notice A generic interface for a contract which properly accepts ERC721 tokens. /// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol) abstract contract ERC721TokenReceiver { function onERC721Received( address, address, uint256, bytes calldata ) external virtual returns (bytes4) { return ERC721TokenReceiver.onERC721Received.selector; } } interface IERC918 { function epochCount() external view returns (uint); } interface RendererLike { function getURI(uint256 id, uint256 tornadoType, uint256 fujitaScale) external pure returns(string memory uri); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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":"id","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":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","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":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id_","type":"uint256"}],"name":"getTraits","outputs":[{"internalType":"uint256","name":"tornadoType_","type":"uint256"},{"internalType":"uint256","name":"fujitaScale_","type":"uint256"}],"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":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mineableToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"}],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner_","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renderer","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":"id","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":"id","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":"address","name":"mineableToken_","type":"address"}],"name":"setERC918","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"rend_","type":"address"}],"name":"setRenderer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"startEpoch_","type":"uint256"}],"name":"setStartEpoch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startEpoch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"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":"id","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"zMint","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c0604052600b60808190526a43525950544f4e41444f5360a81b60a09081526200002e916000919062000090565b50604080518082019091526004808252634e41444f60e01b60209092019182526200005c9160019162000090565b506203370b6005556103286006553480156200007757600080fd5b50600280546001600160a01b0319163317905562000173565b8280546200009e9062000136565b90600052602060002090601f016020900481019282620000c257600085556200010d565b82601f10620000dd57805160ff19168380011785556200010d565b828001600101855582156200010d579182015b828111156200010d578251825591602001919060010190620000f0565b506200011b9291506200011f565b5090565b5b808211156200011b576000815560010162000120565b600181811c908216806200014b57607f821691505b602082108114156200016d57634e487b7160e01b600052602260045260246000fd5b50919050565b61192480620001836000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c806370a08231116100f9578063a2c8b17711610097578063d5abeb0111610071578063d5abeb01146103c7578063d99cb21f146103d0578063e1dc0761146103e3578063e985e9c51461043d57600080fd5b8063a2c8b17714610398578063b88d4fde146103a1578063c87b56dd146103b457600080fd5b80638e4cd432116100d35780638e4cd4321461035757806395d89b411461036a578063a0712d6814610372578063a22cb4651461038557600080fd5b806370a082311461031e5780638ada6b0f146103315780638da5cb5b1461034457600080fd5b806323b872dd116101665780634608d5b2116101405780634608d5b2146102d257806351cff8d9146102e557806356d3163d146102f85780636352211e1461030b57600080fd5b806323b872dd1461029957806342842e0e146102ac5780634350618e146102bf57600080fd5b8063095ea7b3116101a2578063095ea7b31461024757806313af40351461025c57806318160ddd1461026f5780631e7269c51461028657600080fd5b806301ffc9a7146101c957806306fdde03146101f1578063081812fc14610206575b600080fd5b6101dc6101d73660046115c8565b61046b565b60405190151581526020015b60405180910390f35b6101f96104bd565b6040516101e89190611758565b61022f6102143660046116af565b600a602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016101e8565b61025a61025536600461159e565b61054b565b005b61025a61026a36600461143d565b610638565b61027860075481565b6040519081526020016101e8565b61027861029436600461143d565b610684565b61025a6102a736600461148b565b6106f7565b61025a6102ba36600461148b565b6108e6565b61025a6102cd36600461143d565b6109ed565b61025a6102e03660046116af565b610a39565b61025a6102f336600461143d565b610a68565b61025a61030636600461143d565b610b2b565b61022f6103193660046116af565b610b77565b61027861032c36600461143d565b610bce565b60035461022f906001600160a01b031681565b60025461022f906001600160a01b031681565b61025a6103653660046116e1565b610c3a565b6101f9610ca8565b61025a6103803660046116af565b610cb5565b61025a610393366004611562565b610e97565b61027860055481565b61025a6103af3660046114c7565b610f03565b6101f96103c23660046116af565b610ffa565b61027860065481565b60045461022f906001600160a01b031681565b6104286103f13660046116af565b60009081526008602090815260409182902082518084019093526001015460ff808216808552610100909204169290910182905291565b604080519283526020830191909152016101e8565b6101dc61044b366004611458565b600b60209081526000928352604080842090915290825290205460ff1681565b60006301ffc9a760e01b6001600160e01b03198316148061049c57506380ac58cd60e01b6001600160e01b03198316145b806104b75750635b5e139f60e01b6001600160e01b03198316145b92915050565b600080546104ca90611829565b80601f01602080910402602001604051908101604052809291908181526020018280546104f690611829565b80156105435780601f1061051857610100808354040283529160200191610543565b820191906000526020600020905b81548152906001019060200180831161052657829003601f168201915b505050505081565b6000818152600860205260409020546001600160a01b031633148061059557506002546001600160a01b03166000908152600b6020908152604080832033845290915290205460ff165b6105d75760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064015b60405180910390fd5b6000818152600a602052604080822080546001600160a01b0319166001600160a01b03868116918217909255600254925185949193909216917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259190a45050565b6002546001600160a01b031633146106625760405162461bcd60e51b81526004016105ce9061178b565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b0382166106cb5760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b60448201526064016105ce565b506001600160a01b0316600090815260096020526040902054600160801b90046001600160801b031690565b6000818152600860205260409020546001600160a01b0384811691161461074d5760405162461bcd60e51b815260206004820152600a60248201526957524f4e475f46524f4d60b01b60448201526064016105ce565b6001600160a01b0382166107975760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b60448201526064016105ce565b336001600160a01b03841614806107d157506001600160a01b0383166000908152600b6020908152604080832033845290915290205460ff165b806107f257506000818152600a60205260409020546001600160a01b031633145b61082f5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064016105ce565b6001600160a01b03838116600081815260096020908152604080832080546001600160801b03198082166001600160801b03928316600019018316179092559588168085528285208054928316928816600101909716919091179095558583526008825280832080546001600160a01b03199081168717909155600a909252808320805490921690915551849392917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6108f18383836106f7565b6001600160a01b0382163b15806109a95750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a401602060405180830381600087803b15801561096557600080fd5b505af1158015610979573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099d91906115e5565b6001600160e01b031916145b6109e85760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b60448201526064016105ce565b505050565b6002546001600160a01b03163314610a175760405162461bcd60e51b81526004016105ce9061178b565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6002546001600160a01b03163314610a635760405162461bcd60e51b81526004016105ce9061178b565b600555565b6002546001600160a01b03163314610a925760405162461bcd60e51b81526004016105ce9061178b565b6000816001600160a01b03164760405160006040518083038185875af1925050503d8060008114610adf576040519150601f19603f3d011682016040523d82523d6000602084013e610ae4565b606091505b5050905080610b275760405162461bcd60e51b815260206004820152600f60248201526e1dda5d1a191c985dc819985a5b1959608a1b60448201526064016105ce565b5050565b6002546001600160a01b03163314610b555760405162461bcd60e51b81526004016105ce9061178b565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000818152600860205260409020546001600160a01b031680610bc95760405162461bcd60e51b815260206004820152600a6024820152691393d517d3525395115160b21b60448201526064016105ce565b919050565b60006001600160a01b038216610c155760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b60448201526064016105ce565b506001600160a01b03166000908152600960205260409020546001600160801b031690565b6002546001600160a01b03163314610c825760405162461bcd60e51b815260206004820152600b60248201526a1b9bdd08185b1b1bddd95960aa1b60448201526064016105ce565b60005b828110156109e857610c96826110c9565b80610ca081611864565b915050610c85565b600180546104ca90611829565b60055460048054604080516320a6597360e21b815290516001600160a01b039092169263829965cc928282019260209290829003018186803b158015610cfa57600080fd5b505afa158015610d0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3291906116c8565b1015610d735760405162461bcd60e51b815260206004820152601060248201526f1cd85b19481b9bdd081cdd185c9d195960821b60448201526064016105ce565b333214610db05760405162461bcd60e51b815260206004820152600b60248201526a1b9bdd08185b1b1bddd95960aa1b60448201526064016105ce565b60065481600754610dc191906117ae565b1115610e045760405162461bcd60e51b81526020600482015260126024820152711b585e081cdd5c1c1b1e481c995858da195960721b60448201526064016105ce565b33600090815260096020526040902054600190610e32908390600160801b90046001600160801b03166117ae565b1115610e715760405162461bcd60e51b815260206004820152600e60248201526d185b1c9958591e481b5a5b9d195960921b60448201526064016105ce565b60005b81811015610b2757610e85336110c9565b80610e8f81611864565b915050610e74565b336000818152600b602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f0e8585856106f7565b6001600160a01b0384163b1580610fb45750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610f569033908a90899089908990600401611704565b602060405180830381600087803b158015610f7057600080fd5b505af1158015610f84573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa891906115e5565b6001600160e01b031916145b610ff35760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b60448201526064016105ce565b5050505050565b6000818152600860209081526040918290208251808401845260019091015460ff80821680845261010090920416928201839052600354935163baa79caf60e01b8152600481018690526024810191909152604481019290925260609290916001600160a01b039091169063baa79caf9060640160006040518083038186803b15801561108657600080fd5b505afa15801561109a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526110c29190810190611602565b9392505050565b60006007600081546110da90611864565b9182905550604080516001600160a01b0385166020820152419181019190915260608101829052608080820152600760a082015266656e74726f707960c81b60c082015290915060009060e00160408051808303601f1901815282825280516020918201209083018190528282019190915260046060830152635459504560e01b6080830152915060009060a00160408051601f1981840301815291905280516020909101209050600061118f600a8361187f565b61119a9060016117ae565b6000858152600860209081526040808320600101805460ff191660ff8616179055805191820187905281810152600660608201526546554a49544160d01b60808201529192509060a00160408051601f1981840301815291905280516020909101209050600061120d60646000196117c6565b6112189060466117da565b8211156112ad5761122c60646000196117c6565b61123790605d6117da565b82111561129257600261124d60646000196117c6565b61125791906117c6565b61126460646000196117c6565b61126f9060636117da565b61127991906117ae565b82111561128757600561128a565b60045b60ff166112b8565b61129d60028361187f565b6112a89060026117ae565b6112b8565b6112b860028361187f565b6000878152600860205260409020600101805461ff00191661010060ff84160217905590506112e787876112f0565b50505050505050565b6001600160a01b03821661133a5760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b60448201526064016105ce565b6000818152600860205260409020546001600160a01b0316156113905760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b60448201526064016105ce565b6001600160a01b03821660008181526009602090815260408083208054600160801b6001600160801b03808316600190810182166001600160801b031990941684178390048216011602179055848352600890915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b80356001600160a01b0381168114610bc957600080fd5b60006020828403121561144f57600080fd5b6110c282611426565b6000806040838503121561146b57600080fd5b61147483611426565b915061148260208401611426565b90509250929050565b6000806000606084860312156114a057600080fd5b6114a984611426565b92506114b760208501611426565b9150604084013590509250925092565b6000806000806000608086880312156114df57600080fd5b6114e886611426565b94506114f660208701611426565b935060408601359250606086013567ffffffffffffffff8082111561151a57600080fd5b818801915088601f83011261152e57600080fd5b81358181111561153d57600080fd5b89602082850101111561154f57600080fd5b9699959850939650602001949392505050565b6000806040838503121561157557600080fd5b61157e83611426565b91506020830135801515811461159357600080fd5b809150509250929050565b600080604083850312156115b157600080fd5b6115ba83611426565b946020939093013593505050565b6000602082840312156115da57600080fd5b81356110c2816118d5565b6000602082840312156115f757600080fd5b81516110c2816118d5565b60006020828403121561161457600080fd5b815167ffffffffffffffff8082111561162c57600080fd5b818401915084601f83011261164057600080fd5b815181811115611652576116526118bf565b604051601f8201601f19908116603f0116810190838211818310171561167a5761167a6118bf565b8160405282815287602084870101111561169357600080fd5b6116a48360208301602088016117f9565b979650505050505050565b6000602082840312156116c157600080fd5b5035919050565b6000602082840312156116da57600080fd5b5051919050565b600080604083850312156116f457600080fd5b8235915061148260208401611426565b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290526000828460a0840137600060a0848401015260a0601f19601f85011683010190509695505050505050565b60208152600082518060208401526117778160408501602087016117f9565b601f01601f19169190910160400192915050565b6020808252600990820152683737ba1037bbb732b960b91b604082015260600190565b600082198211156117c1576117c1611893565b500190565b6000826117d5576117d56118a9565b500490565b60008160001904831182151516156117f4576117f4611893565b500290565b60005b838110156118145781810151838201526020016117fc565b83811115611823576000848401525b50505050565b600181811c9082168061183d57607f821691505b6020821081141561185e57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561187857611878611893565b5060010190565b60008261188e5761188e6118a9565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146118eb57600080fd5b5056fea2646970667358221220b887b3c0e4342aaf5e7babdc5db08805525e6e5523e2dd1f974c4afbf1dfd11e64736f6c63430008070033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101c45760003560e01c806370a08231116100f9578063a2c8b17711610097578063d5abeb0111610071578063d5abeb01146103c7578063d99cb21f146103d0578063e1dc0761146103e3578063e985e9c51461043d57600080fd5b8063a2c8b17714610398578063b88d4fde146103a1578063c87b56dd146103b457600080fd5b80638e4cd432116100d35780638e4cd4321461035757806395d89b411461036a578063a0712d6814610372578063a22cb4651461038557600080fd5b806370a082311461031e5780638ada6b0f146103315780638da5cb5b1461034457600080fd5b806323b872dd116101665780634608d5b2116101405780634608d5b2146102d257806351cff8d9146102e557806356d3163d146102f85780636352211e1461030b57600080fd5b806323b872dd1461029957806342842e0e146102ac5780634350618e146102bf57600080fd5b8063095ea7b3116101a2578063095ea7b31461024757806313af40351461025c57806318160ddd1461026f5780631e7269c51461028657600080fd5b806301ffc9a7146101c957806306fdde03146101f1578063081812fc14610206575b600080fd5b6101dc6101d73660046115c8565b61046b565b60405190151581526020015b60405180910390f35b6101f96104bd565b6040516101e89190611758565b61022f6102143660046116af565b600a602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016101e8565b61025a61025536600461159e565b61054b565b005b61025a61026a36600461143d565b610638565b61027860075481565b6040519081526020016101e8565b61027861029436600461143d565b610684565b61025a6102a736600461148b565b6106f7565b61025a6102ba36600461148b565b6108e6565b61025a6102cd36600461143d565b6109ed565b61025a6102e03660046116af565b610a39565b61025a6102f336600461143d565b610a68565b61025a61030636600461143d565b610b2b565b61022f6103193660046116af565b610b77565b61027861032c36600461143d565b610bce565b60035461022f906001600160a01b031681565b60025461022f906001600160a01b031681565b61025a6103653660046116e1565b610c3a565b6101f9610ca8565b61025a6103803660046116af565b610cb5565b61025a610393366004611562565b610e97565b61027860055481565b61025a6103af3660046114c7565b610f03565b6101f96103c23660046116af565b610ffa565b61027860065481565b60045461022f906001600160a01b031681565b6104286103f13660046116af565b60009081526008602090815260409182902082518084019093526001015460ff808216808552610100909204169290910182905291565b604080519283526020830191909152016101e8565b6101dc61044b366004611458565b600b60209081526000928352604080842090915290825290205460ff1681565b60006301ffc9a760e01b6001600160e01b03198316148061049c57506380ac58cd60e01b6001600160e01b03198316145b806104b75750635b5e139f60e01b6001600160e01b03198316145b92915050565b600080546104ca90611829565b80601f01602080910402602001604051908101604052809291908181526020018280546104f690611829565b80156105435780601f1061051857610100808354040283529160200191610543565b820191906000526020600020905b81548152906001019060200180831161052657829003601f168201915b505050505081565b6000818152600860205260409020546001600160a01b031633148061059557506002546001600160a01b03166000908152600b6020908152604080832033845290915290205460ff165b6105d75760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064015b60405180910390fd5b6000818152600a602052604080822080546001600160a01b0319166001600160a01b03868116918217909255600254925185949193909216917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259190a45050565b6002546001600160a01b031633146106625760405162461bcd60e51b81526004016105ce9061178b565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b0382166106cb5760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b60448201526064016105ce565b506001600160a01b0316600090815260096020526040902054600160801b90046001600160801b031690565b6000818152600860205260409020546001600160a01b0384811691161461074d5760405162461bcd60e51b815260206004820152600a60248201526957524f4e475f46524f4d60b01b60448201526064016105ce565b6001600160a01b0382166107975760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b60448201526064016105ce565b336001600160a01b03841614806107d157506001600160a01b0383166000908152600b6020908152604080832033845290915290205460ff165b806107f257506000818152600a60205260409020546001600160a01b031633145b61082f5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064016105ce565b6001600160a01b03838116600081815260096020908152604080832080546001600160801b03198082166001600160801b03928316600019018316179092559588168085528285208054928316928816600101909716919091179095558583526008825280832080546001600160a01b03199081168717909155600a909252808320805490921690915551849392917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6108f18383836106f7565b6001600160a01b0382163b15806109a95750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a401602060405180830381600087803b15801561096557600080fd5b505af1158015610979573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099d91906115e5565b6001600160e01b031916145b6109e85760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b60448201526064016105ce565b505050565b6002546001600160a01b03163314610a175760405162461bcd60e51b81526004016105ce9061178b565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6002546001600160a01b03163314610a635760405162461bcd60e51b81526004016105ce9061178b565b600555565b6002546001600160a01b03163314610a925760405162461bcd60e51b81526004016105ce9061178b565b6000816001600160a01b03164760405160006040518083038185875af1925050503d8060008114610adf576040519150601f19603f3d011682016040523d82523d6000602084013e610ae4565b606091505b5050905080610b275760405162461bcd60e51b815260206004820152600f60248201526e1dda5d1a191c985dc819985a5b1959608a1b60448201526064016105ce565b5050565b6002546001600160a01b03163314610b555760405162461bcd60e51b81526004016105ce9061178b565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000818152600860205260409020546001600160a01b031680610bc95760405162461bcd60e51b815260206004820152600a6024820152691393d517d3525395115160b21b60448201526064016105ce565b919050565b60006001600160a01b038216610c155760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b60448201526064016105ce565b506001600160a01b03166000908152600960205260409020546001600160801b031690565b6002546001600160a01b03163314610c825760405162461bcd60e51b815260206004820152600b60248201526a1b9bdd08185b1b1bddd95960aa1b60448201526064016105ce565b60005b828110156109e857610c96826110c9565b80610ca081611864565b915050610c85565b600180546104ca90611829565b60055460048054604080516320a6597360e21b815290516001600160a01b039092169263829965cc928282019260209290829003018186803b158015610cfa57600080fd5b505afa158015610d0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3291906116c8565b1015610d735760405162461bcd60e51b815260206004820152601060248201526f1cd85b19481b9bdd081cdd185c9d195960821b60448201526064016105ce565b333214610db05760405162461bcd60e51b815260206004820152600b60248201526a1b9bdd08185b1b1bddd95960aa1b60448201526064016105ce565b60065481600754610dc191906117ae565b1115610e045760405162461bcd60e51b81526020600482015260126024820152711b585e081cdd5c1c1b1e481c995858da195960721b60448201526064016105ce565b33600090815260096020526040902054600190610e32908390600160801b90046001600160801b03166117ae565b1115610e715760405162461bcd60e51b815260206004820152600e60248201526d185b1c9958591e481b5a5b9d195960921b60448201526064016105ce565b60005b81811015610b2757610e85336110c9565b80610e8f81611864565b915050610e74565b336000818152600b602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f0e8585856106f7565b6001600160a01b0384163b1580610fb45750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610f569033908a90899089908990600401611704565b602060405180830381600087803b158015610f7057600080fd5b505af1158015610f84573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa891906115e5565b6001600160e01b031916145b610ff35760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b60448201526064016105ce565b5050505050565b6000818152600860209081526040918290208251808401845260019091015460ff80821680845261010090920416928201839052600354935163baa79caf60e01b8152600481018690526024810191909152604481019290925260609290916001600160a01b039091169063baa79caf9060640160006040518083038186803b15801561108657600080fd5b505afa15801561109a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526110c29190810190611602565b9392505050565b60006007600081546110da90611864565b9182905550604080516001600160a01b0385166020820152419181019190915260608101829052608080820152600760a082015266656e74726f707960c81b60c082015290915060009060e00160408051808303601f1901815282825280516020918201209083018190528282019190915260046060830152635459504560e01b6080830152915060009060a00160408051601f1981840301815291905280516020909101209050600061118f600a8361187f565b61119a9060016117ae565b6000858152600860209081526040808320600101805460ff191660ff8616179055805191820187905281810152600660608201526546554a49544160d01b60808201529192509060a00160408051601f1981840301815291905280516020909101209050600061120d60646000196117c6565b6112189060466117da565b8211156112ad5761122c60646000196117c6565b61123790605d6117da565b82111561129257600261124d60646000196117c6565b61125791906117c6565b61126460646000196117c6565b61126f9060636117da565b61127991906117ae565b82111561128757600561128a565b60045b60ff166112b8565b61129d60028361187f565b6112a89060026117ae565b6112b8565b6112b860028361187f565b6000878152600860205260409020600101805461ff00191661010060ff84160217905590506112e787876112f0565b50505050505050565b6001600160a01b03821661133a5760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b60448201526064016105ce565b6000818152600860205260409020546001600160a01b0316156113905760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b60448201526064016105ce565b6001600160a01b03821660008181526009602090815260408083208054600160801b6001600160801b03808316600190810182166001600160801b031990941684178390048216011602179055848352600890915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b80356001600160a01b0381168114610bc957600080fd5b60006020828403121561144f57600080fd5b6110c282611426565b6000806040838503121561146b57600080fd5b61147483611426565b915061148260208401611426565b90509250929050565b6000806000606084860312156114a057600080fd5b6114a984611426565b92506114b760208501611426565b9150604084013590509250925092565b6000806000806000608086880312156114df57600080fd5b6114e886611426565b94506114f660208701611426565b935060408601359250606086013567ffffffffffffffff8082111561151a57600080fd5b818801915088601f83011261152e57600080fd5b81358181111561153d57600080fd5b89602082850101111561154f57600080fd5b9699959850939650602001949392505050565b6000806040838503121561157557600080fd5b61157e83611426565b91506020830135801515811461159357600080fd5b809150509250929050565b600080604083850312156115b157600080fd5b6115ba83611426565b946020939093013593505050565b6000602082840312156115da57600080fd5b81356110c2816118d5565b6000602082840312156115f757600080fd5b81516110c2816118d5565b60006020828403121561161457600080fd5b815167ffffffffffffffff8082111561162c57600080fd5b818401915084601f83011261164057600080fd5b815181811115611652576116526118bf565b604051601f8201601f19908116603f0116810190838211818310171561167a5761167a6118bf565b8160405282815287602084870101111561169357600080fd5b6116a48360208301602088016117f9565b979650505050505050565b6000602082840312156116c157600080fd5b5035919050565b6000602082840312156116da57600080fd5b5051919050565b600080604083850312156116f457600080fd5b8235915061148260208401611426565b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290526000828460a0840137600060a0848401015260a0601f19601f85011683010190509695505050505050565b60208152600082518060208401526117778160408501602087016117f9565b601f01601f19169190910160400192915050565b6020808252600990820152683737ba1037bbb732b960b91b604082015260600190565b600082198211156117c1576117c1611893565b500190565b6000826117d5576117d56118a9565b500490565b60008160001904831182151516156117f4576117f4611893565b500290565b60005b838110156118145781810151838201526020016117fc565b83811115611823576000848401525b50505050565b600181811c9082168061183d57607f821691505b6020821081141561185e57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561187857611878611893565b5060010190565b60008261188e5761188e6118a9565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146118eb57600080fd5b5056fea2646970667358221220b887b3c0e4342aaf5e7babdc5db08805525e6e5523e2dd1f974c4afbf1dfd11e64736f6c63430008070033
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.