ERC-721
Overview
Max Total Supply
600 SNAP! UNIVERSE
Holders
136
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
4 SNAP! UNIVERSELoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SnapUniverse
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 License // www.snap-universe.com //MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM //MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM //MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM //MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWWWWWWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM //MMMMMMMMMMMMMMMMMMMMMMMMMMMWX0kdooolllllooooodxOXWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM //MMMMMMMMMMMMMMMMMMMMMMMWXkdlc:;:::cccccccc::;;;;cokXWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM //MMMMMMMMMMMMMMMMMMMMMW0dc;:cccccccccccccccccccccc:;cdKWWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM //MMMMMMMMMMMMMMMMMMMMWk::ccccccccccccccccccccccccccc:;;o0WMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM //MMMMMMMMMMMMMMMMMMMWk;:ccccccccccccccccccccccccccccccc;;oXMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM //MMMMMMMMMMMMMMMMMMMK:,ccccccccccccccccccccccccccccccccc:;:OWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM //MMMMMMMMMMMMMMMMMMWd,:ccccccccccccccccccccccccccccccccccc:;xWMMMMMMMMMMMMMMMMMMMMMMMMMMMMM //MMMMMMMMMMMMMMMMMMO:;ccccccccccccccccccccccccccccccccccccc;:0MMMMMMMMMMMMMMMMMMMMMMMMMMMMM //MMMMMMMMMMMMMMMMMXc,:cccccc::ccc::cccc:ccccccccccccccccccc::0MMMMMMMMMMMMMMMMMMMMMMMMMMMMM //MMMMMMMMMMMMMMMKdc,,::cccc:;::::::::c:;;:ccccccccccccccccc;cKMMMMMMMMMMMMMMMMMMMMMMMMMMMMM //MMMMMMMMMMMMMMWo,::;,;ccc:;;::::::::cc:;;:cccccccccccccccc;dWMMMMMMMMMMMMMMMMMMMMMMMMMMMMM //MMMMMMMMMMMMMMNo,;,;;';cc::;;,,;,,;;;::::;:cccccccccccccc:;kMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM //MMMMMMMMMMMMMMO::;'.,;:ccc:;,;;;;;:;,,,::::c::::ccccc:::c;cKMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM //MMMMMMMMMMMMMMO;::;,;c:::cccc::;,,,,,'.';::c:,,::::c:::::;oWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM //MMMMMMMMMMMMMMNo,c;,:::::::cc:::,..''...,;;;;;;;;::::::::,dWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM //MMMMMMMMMMMMMMWo'::,:c::;::::::cc:;,,..,;;,,;;,,;;:::;;;;;xMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM //MMMMMMMMMMMMMMO,':::ccc:;;;:cccccc::::c:::;;;''',,,;;;;;':0MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM //MMMMMMMMMMMMWO;';,,:ccccc:;::::cccccccccc;;c:,,,''...;::oKWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM //MMMMMMMMMMMXx,,:c;,:c:cccc;,;:ccccc:::cc::cc;';::;;,';d0WMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM //MMMMMWNK0kd;,,;c:,;c::::c:;;:cccc::,,;:ccc:;,,:cccc:;xWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM //0Oxdooc::;,;:::c:',c;;:c:;;:cccccc:;;;;;ccc:,,;cccc;oXMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM //;,;;:cccc:::;;ccc,.';;:c;;:c::::::cccc;;;;;;;;:c:;;oKMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM //ccc:::ccccc:;:ccc:. .';c;,::;,,;;;;::::::::cccc;':ONMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM //cccccccccccc:::ccc' .,c:;:c:::::::;,,;;:;;::;;,lXMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM //ccccccccccccc:;:cc,. .:c:ccccc:;;;;,,::;,;;;,,oXMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM //ccccc;;:ccccc;;:cc;. 'cccccccc::;;,;::;:::;;oXMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM //cc:,,',:::cc:,;ccc:. .;ccccccccccccccc:,,ckKNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM //:,.',;:::::;,;cccc:.... .:cccccccc:::cc:'..l0XNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM //..,:,:c:c:;,;ccccc:'';. ...',,,;;;;:cc,. .':lONMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM //..,,;:cc:,,;cc;;:c:',c,. ..'''.. ...,:d0NMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM //::;,,,,,',:cc:,,:c:,;c:;,,'.... .'''..''';;.,cdkKNNWWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM //..',:::;,,;;::;;:c:;::::;,,;,.. .. ..;:cccc:::c:;;;,,;;coxONWMMMMMMMMMMMMMMMMMMMMMMMMMMM //,,'',;::c:;;;,,',::;:c:,',:;... ...',..;cccccccccc;,''''''';cdONMMMMMMMMMMMMMMMMMMMMMMMMM //ccc::::cccccc:::;;,',c,.,::'.,;. ';',;'.,,;;;;::cc:::cccc:::c:;lkXMMMMMMMMMMMMMMMMMMMMMMM //ccccccccccccccccc:;'';',:;,'',;,..',,,,;,;;;:cc:::::ccccccccccccc:lOWMMMMMMMMMMMMMMMMMMMMM //cccccccccccccccccccc;,,;,,::::::::::cc::;;;;,,,'...';:ccccc:ccccc:,,xWMMMMMMMMMMMMMMMMMMMM //:::cccccccccccccccccc::::cccccccccccc:::::::::::;;;;;:::cccccccccc:',OMMMMMMMMMMMMMMMMMMMM //:::cccccccccccccccccc::cccccccccccccccccccccccccccccc:;,;c:ccccccccc;c0WMMMMMMMMMMMMMMMMMM //:::cccccccccccccccccc;,:c:cccccccccccccccccccccccccccc:,':cccccccccc:;:0WMMMMMMMMMMMMMMMMM //::ccccccccccccccccccc;,:c:ccccccccccccccccccccccccccccc:',cccccccccc::;:OWMMMMMMMMMMMMMMMM //::ccccccccccccccccccc;,::::ccccccccccccccccccccccccccccc,':c:ccccccc::c;cKMMMMMMMMMMMMMMMM pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract SnapUniverse is ERC721URIStorage, ERC721Pausable, Ownable { using SafeMath for uint256; using Address for address; using Counters for Counters.Counter; Counters.Counter private _tokenIds; uint256 public totalSupply; uint256 private fee; uint256 private buyLimitMintPass; uint256 private buyLimitWhitelist; uint256 private buyLimitPublicSale; uint256 private snapSupplyToMintPass; bool private modeWhitelist; string private _baseURIPrefix; address private snapAddress; address payable private cashOutWallet; address[] private cashOutCallers; address private constant _deadWalletAddress = 0x000000000000000000000000000000000000dEaD; mapping (address => bool) private mintPassClaimed; mapping (address => uint256) private mp; mapping (address => uint256) private mintedWhiteList; receive() external payable {} event MintPassClaimed(address wallet, uint256 count); constructor(address _snapAddress) ERC721("Snap! Universe", "SNAP! UNIVERSE") { totalSupply = 10_000; fee = 0.09 ether; buyLimitMintPass = 25; buyLimitWhitelist = totalSupply; buyLimitPublicSale = totalSupply; modeWhitelist = true; snapAddress =_snapAddress; snapSupplyToMintPass = 200000000000000000000; _baseURIPrefix = "ipfs://QmNTH97qJsBkzTy3U7vNsjMErSNeaTMmbdvxzCUFB2Cmrn/"; cashOutWallet = payable(0x751ee118d4C37896479de3C1C238e84a6Fde7cC7); cashOutCallers = [msg.sender, 0x071B6eb0199F81Bd23044B0B3456a8aABEc42AB5, 0xcbA1d08dEc5eECa6573Fd692037F483C97939716, 0x24736E4a794bc48844dBCE629bE83E859403bA4c, 0x98D9cE6C5AF6c3d28F59F76839BAd4bd673F3BE8, 0x345E4c008a5aaC91bc2b384cC636b0217210Fb49]; mp[0xcbA1d08dEc5eECa6573Fd692037F483C97939716] = 2; mp[0x8456f1C4f8e6B1b356E5DcdA43D3b51309ef6c8F] = 4; mp[0xb2843F7aC8d82322BC3438643fb5A1CE42DA20A4] = 2; mp[0xe982E27715265B6FE8fd10FcBb4F13C37526CBeE] = 1; mp[0x4579Ac723c85855F0cD945a41D4D8a70ABA589a3] = 1; mp[0xD5Ed3eab8733ac8Ded7BfCe5fdB8D6265ee5Acc9] = 1; mp[0x68326658D43995f9dCdaa34B4927DE48798A9cDa] = 2; mp[0x07587c046d4d4BD97C2d64EDBfAB1c1fE28A10E5] = 4; mp[0x3F049E5850229d18f01460DFda38c3ea6422b5a4] = 4; mp[0x0DB0f4506F5De744052D90f04E3fcA3D1dD3600d] = 1; mp[0x988ceCe1a783e62627cf2E95b7dcd46cD6217f15] = 3; mp[0x3EeA9Bfa4e1E348FBCA79bEC1BFD900775701C12] = 3; mp[0xc5BD4cbb6edF957AB6E4e27D2F14921ddc0f0dE0] = 3; mp[0xf3F9D042781dB15c19b02B77d55A2a15a45ae305] = 11; mp[0x22CAb0b36CC4EC24Bfd5732D07828b45E7547F9e] = 1; mp[0xD39a841f45D230d22413D80895e3Fd95c0daEd4A] = 2; mp[0x78E37187998bf8886e13c50252815f2571E4fC6E] = 1; mp[0xf92EF75557F11bd68ced35edE822A6622fB0F6fc] = 4; mp[0x483a3b616885ce3b2225B2AFaFE0CbE47b4BE1B9] = 1; mp[0xB78fD9E442EEf5f34c939AC9209319146654A361] = 3; mp[0x1D309f17AE5645e189268ff739DAf8FF68EBd312] = 3; mp[0x04C1F863Aad0604119c78faC46E74f5a1d65368D] = 2; mp[0xe24f1714203518c0972f9E81286E273b445980B5] = 4; mp[0x4Ca6c98A67c65Dc90d3106d0d090d74C6D53fbBb] = 1; mp[0x125377dBDB4Ed6B49F57a569A3D9282F8E3F5366] = 2; mp[0x14df5677aa90eC0D64c631621DaD80b44f9DeAFF] = 1; mp[0x04bfcB7b6bc81361F14c1E2C7592d712e3b9f456] = 4; mp[0x07B167B84021419F8385fA5fA1733F6230Ec0b27] = 1; mp[0xdCAff5C361fc6f36143394ADE1Ce84e5CDe439Ab] = 1; mp[0x83613775bEF3111Fe58479ABb94dB247245A051f] = 1; mp[0xCAee9112E87A90510dc280Ad6DfF500b092E383F] = 1; mp[0xb045985c32390d3cE12300f73cEB8Dd805673027] = 4; mp[0xd1177558b645e063f38AF09ae9454Cb3786BB9E0] = 3; mp[0x0B01fE5189d95c0fa890fd6b431928B5dF58D027] = 1; mp[0xC12c0577b0E1F47Ce2e2148996f6845DC24631b2] = 2; mp[0x1F2C87b25830C710a56B2aA7035342d99BC1cBbA] = 2; mp[0xDb925a4c46e8Ac000b80ccd82b1fdb472C70cb31] = 2; mp[0x5fd9C4368ee7E8fc79e48fBa390c148fd16453Ee] = 2; mp[0x88092758B19f330234CFc851Ab4Ef2B974665476] = 2; mp[0xad9F7000c2278c1D58554e6348866104e82c2E39] = 4; mp[0x236797eb343408668D6F5D34c0FF04387545AA3A] = 1; mp[0xf8e8dEda67cFB656cC067A42E170B5eA852111D5] = 3; mp[0x2bEae0f40aEE2D68fb9844B2CC70AD545B0e1150] = 1; mp[0xfC30085ad17D7340dd73bACeFb8D9f8C6b0F307F] = 1; mp[0x1821Ce945bbCD7253cA349c54EF0a302e88b2346] = 1; mp[0xC9a30725312B2d137CAFfdF2c707826cb641C206] = 1; mp[0x07211045B99A9f924c439988bbCbcDb3712f226D] = 1; mp[0x71cfe23928616DEd724ca9DC90a64409a071D29C] = 1; mp[0x74fac75DFd8f2B75AAebeD2614455E670be807af] = 1; mp[0x202c07Cbc8ae17Da8Fd9eE2563067250A0f546De] = 1; mp[0xF8D9624c05C668fee9FeB91505D273068901872d] = 1; mp[0x023B141c2cE8f79B19fcda0DaAEE4a4542f9a2B7] = 1; mp[0xD8bfDA9368e0DdA6d81ca79e78DDe703471dB283] = 1; mp[0x3141F76EF4c7709d978A27B38f2971751f88cF0F] = 1; mp[0x3Ee4c0ba4D05c3B1f7C3B3754E5ddf65e1CaC361] = 1; mp[0xAC7CF6bA79896d90f02FB61d76502918845c1947] = 1; mp[0x35066f85686C1f1aF829385c88CaD2DAb8a5A9b3] = 1; mp[0x48483532FdEaAE4c3EfD9fc0fe198FD9b205f83a] = 1; mp[0x4F3EdF987c6e434C9a57eCc2182f4e9B38B9D8dC] = 1; mp[0xeBdBFa365Efa6d1DA06d2b7CBf7E54D2B5Dd7185] = 2; mp[0x3D031Cd569400fD3b3f7FA9ADf6a3b131a43c197] = 1; mp[0x1f171834FeF16233ae93BB3acA99d83021EA00c4] = 1; mp[0x7d07B59090f481BA8FF7a67422C04595CB2C93B2] = 1; mp[0x1cd75A8387c0e36061b270af917AFb206634918c] = 1; mp[0x2C7F7Db1710B02F19cCB2Ab3f88Fc74A467fF5c9] = 1; mp[0xc2DfCFa2Bf1C871cB5af60b7eFBd95864984129D] = 1; mp[0xDe25b8bf8149913097AfA99EF52f9b6bF86De1eC] = 1; mp[0xCaC624276Df3bA84Bbb68270769a49a1e5c270d3] = 1; mp[0xc266672ab58f57C945fC5fe5cD89B2Ae591c6124] = 1; mp[0xf7C4e374e116b68c5324463949Ba3c5275B27236] = 1; mp[0x8b885f80feC49F397f0B53dB86aE8af4235C4763] = 1; mp[0x47923342988F3fD29EE6292Ad9A440728440ce4C] = 1; mp[0xd224c1061F9eD4bfbCddb1b45bB41eEa24b770e3] = 1; mp[0x205c726fE98b962530acd54C57EfD600f6AAfD50] = 1; mp[0xB45fCf6e1DAB1f15a21449d75F00Eef34fa7CB5e] = 1; mp[0xC43327b13ec860d8303e02CDC891b064BB5B7c4e] = 1; mp[0x45F8aef4DfaBfbF943416Db1e43f088e543bFDB6] = 1; mp[0x83D77D2199e8FB4aE195d464701de13D68C6671f] = 1; mp[0x18e4351436C02574b37c3526CF3D8C2057fa3Ca4] = 1; mp[0x57fbfe9726F7c0F8BD507d23113d892D6d541F45] = 1; mp[0x1183BDB0a24DC6ED62127F59eEe9De2fB410251A] = 1; mp[0xA32922d422F726AD0d10Dbf65d22B86e074aF68B] = 1; mp[0xd21f21Ed6B663028D6B9fC31f240e6D42A2E401b] = 1; mp[0x47B3A74eDa0042BbbD4C1a08c748171004233972] = 1; mp[0x4565F34C301f0b211854e025c67064A6a302837e] = 1; mp[0x5DCa0725DA4ABa4c253a17Dd3Bdae912CC9cCe97] = 1; mp[0x056161C77b4c4e51592bDff3dED1f4f14C600ECC] = 1; mp[0x64dc4cD18A82218BEaC92310Fbde8a46BD03a5fC] = 1; mintOwner(); _pause(); } function setBaseURI(string memory baseURIPrefix) external onlyOwner { _baseURIPrefix = baseURIPrefix; } function _baseURI() internal view override returns (string memory) { return _baseURIPrefix; } function tokenURI(uint256 tokenId) public view override(ERC721, ERC721URIStorage) returns (string memory) { return super.tokenURI(tokenId); } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal whenNotPaused override(ERC721, ERC721Pausable) { super._beforeTokenTransfer(from, to, tokenId); } function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) { super._burn(tokenId); } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } function beforeMint(uint256 numberOfMints) internal view { address sender = _msgSender(); require(!sender.isContract() && tx.origin == sender, "Bots have no power here!"); require(_tokenIds.current() + numberOfMints <= totalSupply, "Maximum amount of tokens already minted"); } function mintPass_EWa9pesKnnMe(address wallet) whenNotPaused external returns (uint256) { uint256 numberOfMints = getMintPass(wallet).mul(2); uint mpFromSnap = IERC20(snapAddress).balanceOf(wallet).div(snapSupplyToMintPass); numberOfMints = numberOfMints.add(mpFromSnap.mul(2)); if (numberOfMints > buyLimitMintPass) { numberOfMints = buyLimitMintPass; } require(numberOfMints > 0, "Cannot claim"); beforeMint(numberOfMints); require(numberOfMints <= buyLimitMintPass, "You reached buy limit from single tx"); require(!mintPassClaimed[wallet], "You reached wallet limit"); mintPassClaimed[wallet] = true; doMint(wallet, numberOfMints); emit MintPassClaimed(wallet, numberOfMints); return _tokenIds.current(); } function mintWhitelist_kJipc46qGX3K(address wallet, uint256 numberOfMints) whenNotPaused external payable returns (uint256) { beforeMint(numberOfMints); require(modeWhitelist, "Invoke same method but for public sale"); require(numberOfMints <= buyLimitWhitelist, "You reached buy limit from single tx"); require(mintedWhiteList[wallet].add(numberOfMints) <= buyLimitWhitelist, "You reached wallet limit"); require(msg.value >= fee * numberOfMints, "Fee is not correct."); mintedWhiteList[wallet] = mintedWhiteList[wallet].add(numberOfMints); doMint(wallet, numberOfMints); return _tokenIds.current(); } function mintPublic_NbrluxKI1WhB(address wallet, uint256 numberOfMints) whenNotPaused external payable returns (uint256) { beforeMint(numberOfMints); require(numberOfMints <= buyLimitPublicSale, "You reached buy limit from single tx"); require(msg.value >= fee * numberOfMints, "Fee is not correct."); doMint(wallet, numberOfMints); return _tokenIds.current(); } function doMint(address wallet, uint numberOfMints) private { for(uint i = 0; i < numberOfMints; i++) { _tokenIds.increment(); uint256 tokenId = _tokenIds.current(); _safeMint(wallet, tokenId); string memory tokenURISuffix = string(abi.encodePacked(toString(tokenId), ".json")); _setTokenURI(tokenId, tokenURISuffix); } } function mintOwner() private onlyOwner returns (uint256) { require(_tokenIds.current() == 0); doMint(msg.sender, 200); return _tokenIds.current(); } function mintSpecial(address wallet) external onlyOwner returns (uint256) { doMint(wallet, 1); totalSupply = totalSupply.add(1); return _tokenIds.current(); } function setTotalSupply(uint256 _totalSupply) external onlyOwner { totalSupply = _totalSupply; } function setFee(uint256 _fee) external onlyOwner { fee = _fee; } function setBuyLimitMintPass(uint256 _buyLimitMintPass) external onlyOwner { buyLimitMintPass = _buyLimitMintPass; } function setBuyLimitWhitelist(uint256 _buyLimitWhitelist) external onlyOwner { buyLimitWhitelist = _buyLimitWhitelist; } function setBuyLimitPublicSale(uint256 _buyLimitPublicSale) external onlyOwner { buyLimitPublicSale = _buyLimitPublicSale; } function getFee() external view returns (uint) { return fee; } function cashOut() external { require(msg.sender == cashOutCallers[0] || msg.sender == cashOutCallers[1] || msg.sender == cashOutCallers[2] || msg.sender == cashOutCallers[3] || msg.sender == cashOutCallers[4] || msg.sender == cashOutCallers[5], "Should be called with whitelisted wallet"); cashOutWallet.call{value: address(this).balance}(""); } function currentTokenId() external view returns (uint256) { return _tokenIds.current(); } function pause() external onlyOwner { _pause(); } function unpause() external onlyOwner { _unpause(); } function setModeWhitelist(bool _modeWhitelist) external onlyOwner { modeWhitelist = _modeWhitelist; } function setSnapAddress(address _snapAddress) external onlyOwner { snapAddress = _snapAddress; } function setSnapSupplyToMintPass(uint256 _snapSupplyToMintPass) external onlyOwner { snapSupplyToMintPass = _snapSupplyToMintPass; } function setMintPass(address a, uint256 tokens) external onlyOwner { if (tokens == 0) { delete mp[a]; } else { mp[a] = tokens; } } function getMintPass(address _address) public view returns (uint256) { return mp[_address]; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping (uint256 => address) private _owners; // Mapping owner address to token count mapping (address => uint256) private _balances; // Mapping from token ID to approved address mapping (uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping (address => mapping (address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor (string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ 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 See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden * in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require(_msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom(address from, address to, uint256 tokenId) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ 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"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ 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)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ 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"); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ 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"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ 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"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), 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; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping (uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../../security/Pausable.sol"; /** * @dev ERC721 token with pausable token transfers, minting and burning. * * Useful for scenarios such as preventing trades until the end of an evaluation * period, or having an emergency switch for freezing all token transfers in the * event of a large bug. */ abstract contract ERC721Pausable is ERC721, Pausable { /** * @dev See {ERC721-_beforeTokenTransfer}. * * Requirements: * * - the contract must not be paused. */ function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); require(!paused(), "ERC721Pausable: token transfer while paused"); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant alphabet = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = alphabet[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor () { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
{ "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":[{"internalType":"address","name":"_snapAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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":false,"internalType":"address","name":"wallet","type":"address"},{"indexed":false,"internalType":"uint256","name":"count","type":"uint256"}],"name":"MintPassClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","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":[],"name":"cashOut","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentTokenId","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":[],"name":"getFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getMintPass","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"address","name":"wallet","type":"address"}],"name":"mintPass_EWa9pesKnnMe","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint256","name":"numberOfMints","type":"uint256"}],"name":"mintPublic_NbrluxKI1WhB","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"mintSpecial","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint256","name":"numberOfMints","type":"uint256"}],"name":"mintWhitelist_kJipc46qGX3K","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","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":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"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":"string","name":"baseURIPrefix","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyLimitMintPass","type":"uint256"}],"name":"setBuyLimitMintPass","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyLimitPublicSale","type":"uint256"}],"name":"setBuyLimitPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyLimitWhitelist","type":"uint256"}],"name":"setBuyLimitWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"a","type":"address"},{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"setMintPass","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_modeWhitelist","type":"bool"}],"name":"setModeWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_snapAddress","type":"address"}],"name":"setSnapAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_snapSupplyToMintPass","type":"uint256"}],"name":"setSnapSupplyToMintPass","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_totalSupply","type":"uint256"}],"name":"setTotalSupply","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":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620046ae380380620046ae8339810160408190526200003491620017e6565b6040518060400160405280600e81526020016d536e61702120556e69766572736560901b8152506040518060400160405280600e81526020016d534e41502120554e49564552534560901b81525081600090805190602001906200009a929190620016e8565b508051620000b0906001906020840190620016e8565b5050600780546001600160a81b0319163361010081029190911790915560405190915081906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350612710600981905567013fbe85edc90000600a556019600b55600c819055600d55600f805460ff19166001179055601180546001600160a01b0383166001600160a01b0319909116179055680ad78ebc5ac6200000600e556040805160608101909152603680825262004678602083013980516200018591601091602090910190620016e8565b50601280546001600160a01b03191673751ee118d4c37896479de3c1c238e84a6fde7cc71790556040805160c08101825233815273071b6eb0199f81bd23044b0b3456a8aabec42ab5602082015273cba1d08dec5eeca6573fd692037f483c97939716918101919091527324736e4a794bc48844dbce629be83e859403ba4c60608201527398d9ce6c5af6c3d28f59f76839bad4bd673f3be8608082015273345e4c008a5aac91bc2b384cc636b0217210fb4960a08201526200024d90601390600662001777565b50601560205260027f7900c303aae7bbcb4b341dbb73cd01369d86fd6e84e752adda4740c22ce4369481905560047f1cf90800cac8ec622490711ab943fd3e2698d4520bce55857038722358b45c888190557fac4725ea631c94080ccb24f57b27e28815ea5a84f69bf8b729f905b5415a077982905560017f32e297f2488874fe1cc3718b093cbebca0c49c35880fcf7bed7c2926974e31df8190557f874bc67a4d24a159892811155bc5c1fd15e187c3bca0477dc630ceb65c247d728190557f1face87cda9b9cce541061d4076f1692b862b8a07f2488f15d4f0398aade66958190557f1ac8d436402ca77ffd8f5716356955d6bf851072df1653e49e62e59ea95ce58f8390557fd8780536e40c67229603899757aa03fd35d79af9dec740f1089cb4a14ab257ed8290557fcc3d721c1ddf34e6dbbde987ba862f2e285819f22e99f917f893442bb513c8e48290557f49c1f3368e7a65339c02315dee0e6206329f5b01b46781cc518227a37af1b04981905560037fea8921ab3f83caa779234562a39ddbd60929b97c4a0d4713a443e8a25a01b3fc8190557f017251e05f16d822198c77a7d567e56f6b03cbff5a90d8bdbcf364a4ad5cf7d18190557f7040c1e045fd81475abf20e82337533a9d39accf0f9ab9765c546e7e9bbc2093819055600b7f8adfb1b6e224e2eda77c2d50393bbf968bf9d4278b74dc7eb6ee3304f56f4234557f5da4cb686360c5fb53019a3e53c304fbcdb0e945623cf45f563ea37648c43ac18290557f72dba800f8403e9d51a74b70fed21305cef11f2c85713edeaab7f35e4f7bd3428490557f52b4712db6419499141a3edfe1f388ac1c81613cd758784394d7d941a88da71f8290557fc6dcd5f78e442235b3948d3f1cb57fbd63772a41e2fe63d03741d5d38af66dc08390557ff65839cb50614a8b7dc6c00721d86c29726d997a83af25336fe8bf28c0a05eaf8290557f5b41fb99c88bb40bfe141d1e7fc009b4a476fe41f6018bc1e756762fa1e6df398190557f5a80371bbba04ea2c37d2fd26247b1251b139f3dd9535b3588afe2ae9ae907058190557fc4738de44895be5961125ebb992c95b71347c130c10d1419dc97c2ebb40d268b8490557f9b563a7f2828215c46d294ef75310dd4d8cb34e3c979dfdfa0a1dc33f4f463828390557f345540f0ac9a60aebe74265045ce107624d9dbc30f6e00aaafa7206626159c9f8290557f100173a77b37c13f2a01d0237043dabe0a89eba147d8b65c77d506c1a5e9752b8490557f90bfec2de095acc83fe7a48d739f33a770442696f7c337ce4b72b41414eeb4208290557ffcee9a3e15c00a2094e69acce7c37f3f4b67d74d9b15cae3d0875225304b0a468390557fbb5363374d23675d0e0a88f81bf9c6adc93bdcc07fc74980826710791ccbc9ff8290557fa3a41fa78e495aca4cd4af9b575170eb6a1b23efb4c680f43427c289e2a070b48290557f2d80a7af253fdf4b00ed98fe6933369a9af56202566246d884e341dc6c6f89128290557ff4241dc859b24c0e261ac7247ae1c9e9ff0fbdeec6ab483f2a8807502312d7688290557fd95cc6e53c3f73c762388ae337a3b241c5877992436e32042fd329877a1951378390557f2ce04af6e929fdee104a15be69bda9e34c058e2480b06a5ed0932abcf06da8ba8190557fdf4295d21f069e98b83d959276024af56bf8c00f8af1932b30f23bf3befaee5c8290557f09a7b516c088e9bc96862ec7dcc95d4e2f85befc384a3809df57ec512597cfe38490557f7e215c1295d0b1f6c568c0d2a77e98ba967a171bf143e433ac90c8e31249ec7c8490557f3e1526f5ee4318954fee19e945b7e3773fd0235e4e3166693df44c14dcc8526e8490557f8e5b0fa7786ae6f1218e4e3978de350864cb7f72dd1ca932eaef1ac6249defee8490557f0dc41e7411f17479319949e84931a128c9dfdfae602f4f945164255ff1467d308490557fe689676f6a9290d1c7b5a6931b6eedb27f56892c4b79f36b99c2da89b061d7f4929092557f6bb89503062f68f844dc960820f291ce764c2d8326e487a173d96bf5f602aa208190557f1f45254770664463a5006197cf3f3965dab0b7775c16e6cf2896f25e42e7bc70919091557f59f2814e83af08ea4db7f57d5f55ad1a17a560120914b0ceb81f8f26697c628a8190557fcbc4d026828a40243f366e543c5f8bd94c94c6952cee1e3f6262728ec32310558190557fed07b3c7f4871baa800e1a93689bfe50bf232a1457ed5b2f40d46c7ab327ac338190557ff48a84d022389b7d5917274e0edd7d69232fa130b3e5216d011655ef155472b38190557fb021df5b9f278575a7ed0ae9a0e861eacf73b0d3396a491e8181a79411e120258190557f5a645cc7ea9a709af1ea93b7b4278dad3c355194c840a51e5f4772117c43df448190557f5d1483add292b91e9cf46bbe7d14727824b96b24c068cf6e4f8cbfa7e93df34c8190557f34041845c59822f2354606e8545bcf08ea2b6ff1373ed6746b03814b3c77b4ab8190557f3ccf97ba3de9c980bb93d64593edf02d1f8198ed1902579c11f2f5cf5ff53fb78190557fd078742068a66f27da207b7a33e273f4a7a26c6633f7bfc566d9054ccf4ff1758190557ff25ea14c0043bb0a41b57ff1419c17aaacbb2ac2869263f0c3b2d131edb360028190557fa5e240608460b24cce79a3319616d7c890726ca9a71660f295cbfe6847b587118190557f62ca5e813555fcf429a3f2f50e5bbbf86cdc69ba88695e37b1827c4ee5e87e9c8190557f2adb8e5d2fd80f9c63e5cf8675558526752729ae8a9fd067dc5711dd9ffcb0a18190557f5a62f0d8ce555d9d91f9c38978e4ae45ac18659246b09e3d2e34ad57d06831298190557f66f18531519c30f70f490369df0bc8d4c8585bc0ae50e4af99aaeba3f5b0f9118190557f6a536d8e1bd38856af6fdc2ec6f5d59d3c461ba6c776b10a19a384396e9b96b88190557f32e3a4ae620b09a625160da8808256ca066fe88ac1bbdc1331e98f89ec198ac0919091557f14665d76fc23a52e0b97897c3c84bb5a334e1b8fbec10d79205ea776ce79c22e8190557fda189edc6d30befae785e03a5b64492bcf08f281fc1a648671400acdf33c93df8190557fd1f1c30e18c2028fa08c156e9d4312be288cb31d28f0856e0eefbff84291e0da8190557f2e0a50f6f244e41513a96de68c34d7bc5b5b14b108e39b114e3a897cad24ee9e8190557f26741d5ad36025d5ef3f963c8bce04998d1ef85b2336ecf5bd4c9ecadc2a93468190557fb9c839e539d6fb8696ae79d9d3df513a9e742a307622270821a8c4256af335de8190557f0e68e88e4cf0915879bc9b2dc76066d99e02c6564a755fc252ee4b917a2b41d78190557f05b8b5fb59278d728511a9187ab856446aad79aa8cc19d2b770018ea70a8ae248190557f60467423e603f5acdc63756cd8a5d1ad449b58de88d1726c818d0bbdf4e498318190557f140bd819f708720b9c94517979bff4c198a8c5021640d64b029512b013498c378190557fab80ce736d4335e42a830737fdbc53349cdd10d165fb11f6e5c4e6d10e70e3228190557f4a18a189fd267b398911ee002f6f50062cf8ba678e4255802709aa323d0df3178190557f96f235ff259c292c7c7b90096eb0695e3854cdf4f1ffd07524b7662687ada3d38190557fcfed076569f6d878d8b11019d66bc3d9e55e9ddc8c6c9d2ce9c128472ddce4fc8190557f3d32b96b8d376f85ab59681752ad19efc9fd96fb49fe1e6fd091ae0d3ddc01028190557ff8c9812d90a38126426e30d6c7c32c4a29fabdb2dcde9c1e1d4c23010f54e8878190557f3410f11dd6a224a184ebb8e9e4611ccbe0a6b4f1320141bb2cb7a6a901c1b0ac8190557f1e55ec30a367a8c546e940cfd10d6bceb304dc2fa4a5880d63d6970eb3834d048190557f69a6d4e13e4900f52e14488f9da9a9d57d0634807a8db309ca58c4f219c524d58190557e73e4ac035f1898b0235abdc808a86efc5f555edfa9127b43184a72e83f5fd18190557f24320a4b4ad41544779496a327c6a8f1a85f7a433ae5d5c53e34f6db915f93e88190557f2d12232dc20272ac0b6b4e8f38c3c2d2453369dc6119eadc1425919f0b2f27628190557fa7a3ebd20ddf3c093ca1027f12638ab7f072b2adfd6d6c0a9f5199c0c9c96ab18190557f8b061cb87a49db77cb7c4b682c44ac6f3cc72520946b6aa7eaea0c6b2ad35cd58190557f4ecd57c14554da795959ed1cf268ee55310a4893a9f9582dc04b7a60131060da8190557f5e2e3276eaef34b93ac19d349ff822ebf6b46393085db60a1d7f6846523744cf8190557f5795870866a978e356c783fdd045984a991d1a71c3883f7398571d385679b2878190557364dc4cd18a82218beac92310fbde8a46bd03a5fc6000527fcff49fa25d5843a9ec9f8311bad6d37bf5188b2634dfc345419ddf125fbf733d5562000edd62000eef565b5062000ee862000fa3565b5062001a0e565b6007546000906001600160a01b0361010090910416331462000f585760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b62000f6f60086200103e60201b6200176c1760201c565b1562000f7a57600080fd5b62000f873360c862001042565b62000f9e60086200103e60201b6200176c1760201c565b905090565b60075460ff161562000feb5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640162000f4f565b6007805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620010213390565b6040516001600160a01b03909116815260200160405180910390a1565b5490565b60005b81811015620010e157620010656008620010e660201b620017701760201c565b60006200107e60086200103e60201b6200176c1760201c565b90506200108c8482620010ef565b6000620010998262001115565b604051602001620010ab919062001844565b60408051601f198184030181529190529050620010c9828262001232565b50508080620010d89062001981565b91505062001045565b505050565b80546001019055565b62001111828260405180602001604052806000815250620012d060201b60201c565b5050565b6060816200113a5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156200116a5780620011518162001981565b9150620011629050600a83620018e0565b91506200113e565b6000816001600160401b03811115620011875762001187620019f8565b6040519080825280601f01601f191660200182016040528015620011b2576020820181803683370190505b5090505b84156200122a57620011ca600183620018f7565b9150620011d9600a866200199f565b620011e6906030620018c5565b60f81b818381518110620011fe57620011fe620019e2565b60200101906001600160f81b031916908160001a90535062001222600a86620018e0565b9450620011b6565b949350505050565b6000828152600260205260409020546001600160a01b0316620012af5760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b606482015260840162000f4f565b60008281526006602090815260409091208251620010e192840190620016e8565b620012dc838362001343565b620012eb600084848462001499565b620010e15760405162461bcd60e51b815260206004820152603260248201526000805160206200465883398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840162000f4f565b6001600160a01b0382166200139b5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640162000f4f565b6000818152600260205260409020546001600160a01b031615620014025760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640162000f4f565b620014106000838362001601565b6001600160a01b03821660009081526003602052604081208054600192906200143b908490620018c5565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000620014ba846001600160a01b03166200166160201b620017791760201c565b15620015f657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290620014f49033908990889088906004016200186f565b602060405180830381600087803b1580156200150f57600080fd5b505af192505050801562001542575060408051601f3d908101601f191682019092526200153f9181019062001818565b60015b620015db573d80801562001573576040519150601f19603f3d011682016040523d82523d6000602084013e62001578565b606091505b508051620015d35760405162461bcd60e51b815260206004820152603260248201526000805160206200465883398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840162000f4f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506200122a565b506001949350505050565b60075460ff1615620016495760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640162000f4f565b620010e18383836200166760201b6200177f1760201c565b3b151590565b6200167f838383620010e160201b62000a501760201c565b60075460ff1615620010e15760405162461bcd60e51b815260206004820152602b60248201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760448201526a1a1a5b19481c185d5cd95960aa1b606482015260840162000f4f565b828054620016f69062001944565b90600052602060002090601f0160209004810192826200171a576000855562001765565b82601f106200173557805160ff191683800117855562001765565b8280016001018555821562001765579182015b828111156200176557825182559160200191906001019062001748565b5062001773929150620017cf565b5090565b82805482825590600052602060002090810192821562001765579160200282015b828111156200176557825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062001798565b5b80821115620017735760008155600101620017d0565b600060208284031215620017f957600080fd5b81516001600160a01b03811681146200181157600080fd5b9392505050565b6000602082840312156200182b57600080fd5b81516001600160e01b0319811681146200181157600080fd5b600082516200185881846020870162001911565b64173539b7b760d91b920191825250600501919050565b600060018060a01b038087168352808616602084015250836040830152608060608301528251806080840152620018ae8160a085016020870162001911565b601f01601f19169190910160a00195945050505050565b60008219821115620018db57620018db620019b6565b500190565b600082620018f257620018f2620019cc565b500490565b6000828210156200190c576200190c620019b6565b500390565b60005b838110156200192e57818101518382015260200162001914565b838111156200193e576000848401525b50505050565b600181811c908216806200195957607f821691505b602082108114156200197b57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415620019985762001998620019b6565b5060010190565b600082620019b157620019b1620019cc565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b612c3a8062001a1e6000396000f3fe6080604052600436106102285760003560e01c806363fe5cca11610123578063a22cb465116100ab578063d0f83a301161006f578063d0f83a301461061d578063d84e575b1461063d578063e985e9c514610673578063f2fde38b146106bc578063f7ea7a3d146106dc57600080fd5b8063a22cb46514610588578063b88d4fde146105a8578063c813f5fb146105c8578063c87b56dd146105e8578063ced72f871461060857600080fd5b8063793cd71e116100f2578063793cd71e146105065780638456cb591461051b5780638da5cb5b1461053057806395d89b4114610553578063a16a3e5a1461056857600080fd5b806363fe5cca1461049157806369fe0e2d146104b157806370a08231146104d1578063715018a6146104f157600080fd5b8063229c1160116101b1578063484664021161017557806348466402146103f95780634a4523281461041957806355f804b3146104395780635c975abb146104595780636352211e1461047157600080fd5b8063229c11601461037157806323b872dd146103845780633f4ba83a146103a45780634135149e146103b957806342842e0e146103d957600080fd5b8063081812fc116101f8578063081812fc146102c1578063095ea7b3146102f957806312e14cbf1461031b57806318160ddd1461033b5780631a7ab7461461035157600080fd5b80629a9b7b1461023457806301ffc9a71461025c57806306fba1c11461028c57806306fdde031461029f57600080fd5b3661022f57005b600080fd5b34801561024057600080fd5b506102496106fc565b6040519081526020015b60405180910390f35b34801561026857600080fd5b5061027c6102773660046127cc565b61070c565b6040519015158152602001610253565b61024961029a366004612787565b61075e565b3480156102ab57600080fd5b506102b4610825565b6040516102539190612942565b3480156102cd57600080fd5b506102e16102dc36600461284f565b6108b7565b6040516001600160a01b039091168152602001610253565b34801561030557600080fd5b50610319610314366004612787565b61093f565b005b34801561032757600080fd5b506103196103363660046127b1565b610a55565b34801561034757600080fd5b5061024960095481565b34801561035d57600080fd5b5061031961036c36600461284f565b610a98565b61024961037f366004612787565b610acd565b34801561039057600080fd5b5061031961039f3660046126a5565b610c8c565b3480156103b057600080fd5b50610319610cbd565b3480156103c557600080fd5b506103196103d436600461284f565b610cf7565b3480156103e557600080fd5b506103196103f43660046126a5565b610d2c565b34801561040557600080fd5b50610319610414366004612787565b610d47565b34801561042557600080fd5b5061031961043436600461284f565b610db7565b34801561044557600080fd5b50610319610454366004612806565b610dec565b34801561046557600080fd5b5060075460ff1661027c565b34801561047d57600080fd5b506102e161048c36600461284f565b610e2f565b34801561049d57600080fd5b506102496104ac366004612657565b610ea6565b3480156104bd57600080fd5b506103196104cc36600461284f565b610f02565b3480156104dd57600080fd5b506102496104ec366004612657565b610f37565b3480156104fd57600080fd5b50610319610fbe565b34801561051257600080fd5b5061031961103e565b34801561052757600080fd5b5061031961120d565b34801561053c57600080fd5b5060075461010090046001600160a01b03166102e1565b34801561055f57600080fd5b506102b4611245565b34801561057457600080fd5b50610319610583366004612657565b611254565b34801561059457600080fd5b506103196105a336600461275d565b6112a6565b3480156105b457600080fd5b506103196105c33660046126e1565b61136b565b3480156105d457600080fd5b506103196105e336600461284f565b6113a3565b3480156105f457600080fd5b506102b461060336600461284f565b6113d8565b34801561061457600080fd5b50600a54610249565b34801561062957600080fd5b50610249610638366004612657565b6113e3565b34801561064957600080fd5b50610249610658366004612657565b6001600160a01b031660009081526015602052604090205490565b34801561067f57600080fd5b5061027c61068e366004612672565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156106c857600080fd5b506103196106d7366004612657565b61163b565b3480156106e857600080fd5b506103196106f736600461284f565b611737565b600061070760085490565b905090565b60006001600160e01b031982166380ac58cd60e01b148061073d57506001600160e01b03198216635b5e139f60e01b145b8061075857506301ffc9a760e01b6001600160e01b03198316145b92915050565b600061076c60075460ff1690565b156107925760405162461bcd60e51b8152600401610789906129a7565b60405180910390fd5b61079b826117e6565b600d548211156107bd5760405162461bcd60e51b815260040161078990612a06565b81600a546107cb9190612ac7565b3410156108105760405162461bcd60e51b81526020600482015260136024820152722332b29034b9903737ba1031b7b93932b1ba1760691b6044820152606401610789565b61081a83836118bf565b6008545b9392505050565b60606000805461083490612b29565b80601f016020809104026020016040519081016040528092919081815260200182805461086090612b29565b80156108ad5780601f10610882576101008083540402835291602001916108ad565b820191906000526020600020905b81548152906001019060200180831161089057829003601f168201915b5050505050905090565b60006108c28261193a565b6109235760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610789565b506000908152600460205260409020546001600160a01b031690565b600061094a82610e2f565b9050806001600160a01b0316836001600160a01b031614156109b85760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610789565b336001600160a01b03821614806109d457506109d4813361068e565b610a465760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610789565b610a508383611957565b505050565b6007546001600160a01b03610100909104163314610a855760405162461bcd60e51b8152600401610789906129d1565b600f805460ff1916911515919091179055565b6007546001600160a01b03610100909104163314610ac85760405162461bcd60e51b8152600401610789906129d1565b600c55565b6000610adb60075460ff1690565b15610af85760405162461bcd60e51b8152600401610789906129a7565b610b01826117e6565b600f5460ff16610b625760405162461bcd60e51b815260206004820152602660248201527f496e766f6b652073616d65206d6574686f642062757420666f72207075626c69604482015265632073616c6560d01b6064820152608401610789565b600c54821115610b845760405162461bcd60e51b815260040161078990612a06565b600c546001600160a01b038416600090815260166020526040902054610baa90846119c5565b1115610bf35760405162461bcd60e51b8152602060048201526018602482015277165bdd481c995858da1959081dd85b1b195d081b1a5b5a5d60421b6044820152606401610789565b81600a54610c019190612ac7565b341015610c465760405162461bcd60e51b81526020600482015260136024820152722332b29034b9903737ba1031b7b93932b1ba1760691b6044820152606401610789565b6001600160a01b038316600090815260166020526040902054610c6990836119c5565b6001600160a01b03841660009081526016602052604090205561081a83836118bf565b610c9633826119d1565b610cb25760405162461bcd60e51b815260040161078990612a4a565b610a50838383611ab7565b6007546001600160a01b03610100909104163314610ced5760405162461bcd60e51b8152600401610789906129d1565b610cf5611c62565b565b6007546001600160a01b03610100909104163314610d275760405162461bcd60e51b8152600401610789906129d1565b600e55565b610a508383836040518060200160405280600081525061136b565b6007546001600160a01b03610100909104163314610d775760405162461bcd60e51b8152600401610789906129d1565b80610d9757506001600160a01b0316600090815260156020526040812055565b6001600160a01b03821660009081526015602052604090208190555b5050565b6007546001600160a01b03610100909104163314610de75760405162461bcd60e51b8152600401610789906129d1565b600d55565b6007546001600160a01b03610100909104163314610e1c5760405162461bcd60e51b8152600401610789906129d1565b8051610db3906010906020840190612521565b6000818152600260205260408120546001600160a01b0316806107585760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610789565b6007546000906001600160a01b03610100909104163314610ed95760405162461bcd60e51b8152600401610789906129d1565b610ee48260016118bf565b600954610ef29060016119c5565b600955600854610758565b919050565b6007546001600160a01b03610100909104163314610f325760405162461bcd60e51b8152600401610789906129d1565b600a55565b60006001600160a01b038216610fa25760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610789565b506001600160a01b031660009081526003602052604090205490565b6007546001600160a01b03610100909104163314610fee5760405162461bcd60e51b8152600401610789906129d1565b60075460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360078054610100600160a81b0319169055565b601360008154811061105257611052612bbf565b6000918252602090912001546001600160a01b031633148061109b5750601360018154811061108357611083612bbf565b6000918252602090912001546001600160a01b031633145b806110cd575060136002815481106110b5576110b5612bbf565b6000918252602090912001546001600160a01b031633145b806110ff575060136003815481106110e7576110e7612bbf565b6000918252602090912001546001600160a01b031633145b806111315750601360048154811061111957611119612bbf565b6000918252602090912001546001600160a01b031633145b806111635750601360058154811061114b5761114b612bbf565b6000918252602090912001546001600160a01b031633145b6111c05760405162461bcd60e51b815260206004820152602860248201527f53686f756c642062652063616c6c656420776974682077686974656c6973746560448201526719081dd85b1b195d60c21b6064820152608401610789565b6012546040516001600160a01b03909116904790600081818185875af1925050503d8060008114610a50576040519150601f19603f3d011682016040523d82523d6000602084013e505050565b6007546001600160a01b0361010090910416331461123d5760405162461bcd60e51b8152600401610789906129d1565b610cf5611cf5565b60606001805461083490612b29565b6007546001600160a01b036101009091041633146112845760405162461bcd60e51b8152600401610789906129d1565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0382163314156112ff5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610789565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61137533836119d1565b6113915760405162461bcd60e51b815260040161078990612a4a565b61139d84848484611d4d565b50505050565b6007546001600160a01b036101009091041633146113d35760405162461bcd60e51b8152600401610789906129d1565b600b55565b606061075882611d80565b60006113f160075460ff1690565b1561140e5760405162461bcd60e51b8152600401610789906129a7565b600061143a6002611434856001600160a01b031660009081526015602052604090205490565b90611ee2565b600e546011546040516370a0823160e01b81526001600160a01b0387811660048301529394506000936114c9939216906370a082319060240160206040518083038186803b15801561148b57600080fd5b505afa15801561149f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114c39190612868565b90611eee565b90506114e06114d9826002611ee2565b83906119c5565b9150600b548211156114f257600b5491505b600082116115315760405162461bcd60e51b815260206004820152600c60248201526b43616e6e6f7420636c61696d60a01b6044820152606401610789565b61153a826117e6565b600b5482111561155c5760405162461bcd60e51b815260040161078990612a06565b6001600160a01b03841660009081526014602052604090205460ff16156115c05760405162461bcd60e51b8152602060048201526018602482015277165bdd481c995858da1959081dd85b1b195d081b1a5b5a5d60421b6044820152606401610789565b6001600160a01b0384166000908152601460205260409020805460ff191660011790556115ed84836118bf565b604080516001600160a01b0386168152602081018490527fafe4474713392f779d4c2e8513dda8d46fb3a388d855f31f360f24d11318dc98910160405180910390a16008545b949350505050565b6007546001600160a01b0361010090910416331461166b5760405162461bcd60e51b8152600401610789906129d1565b6001600160a01b0381166116d05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610789565b6007546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600780546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6007546001600160a01b036101009091041633146117675760405162461bcd60e51b8152600401610789906129d1565b600955565b5490565b80546001019055565b3b151590565b60075460ff1615610a505760405162461bcd60e51b815260206004820152602b60248201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760448201526a1a1a5b19481c185d5cd95960aa1b6064820152608401610789565b33803b1580156117fe5750326001600160a01b038216145b61184a5760405162461bcd60e51b815260206004820152601860248201527f426f74732068617665206e6f20706f77657220686572652100000000000000006044820152606401610789565b6009548261185760085490565b6118619190612a9b565b1115610db35760405162461bcd60e51b815260206004820152602760248201527f4d6178696d756d20616d6f756e74206f6620746f6b656e7320616c7265616479604482015266081b5a5b9d195960ca1b6064820152608401610789565b60005b81811015610a50576118d8600880546001019055565b60006118e360085490565b90506118ef8482611efa565b60006118fa82611f14565b60405160200161190a91906128dc565b60405160208183030381529060405290506119258282612012565b5050808061193290612b64565b9150506118c2565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061198c82610e2f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061081e8284612a9b565b60006119dc8261193a565b611a3d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610789565b6000611a4883610e2f565b9050806001600160a01b0316846001600160a01b03161480611a835750836001600160a01b0316611a78846108b7565b6001600160a01b0316145b8061163357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff16611633565b826001600160a01b0316611aca82610e2f565b6001600160a01b031614611b325760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610789565b6001600160a01b038216611b945760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610789565b611b9f83838361209d565b611baa600082611957565b6001600160a01b0383166000908152600360205260408120805460019290611bd3908490612ae6565b90915550506001600160a01b0382166000908152600360205260408120805460019290611c01908490612a9b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60075460ff16611cab5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610789565b6007805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60075460ff1615611d185760405162461bcd60e51b8152600401610789906129a7565b6007805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611cd83390565b611d58848484611ab7565b611d64848484846120cb565b61139d5760405162461bcd60e51b815260040161078990612955565b6060611d8b8261193a565b611df15760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b6064820152608401610789565b60008281526006602052604081208054611e0a90612b29565b80601f0160208091040260200160405190810160405280929190818152602001828054611e3690612b29565b8015611e835780601f10611e5857610100808354040283529160200191611e83565b820191906000526020600020905b815481529060010190602001808311611e6657829003601f168201915b505050505090506000611e946121d8565b9050805160001415611ea7575092915050565b815115611ed9578082604051602001611ec19291906128ad565b60405160208183030381529060405292505050919050565b611633846121e7565b600061081e8284612ac7565b600061081e8284612ab3565b610db38282604051806020016040528060008152506122b1565b606081611f385750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611f625780611f4c81612b64565b9150611f5b9050600a83612ab3565b9150611f3c565b60008167ffffffffffffffff811115611f7d57611f7d612bd5565b6040519080825280601f01601f191660200182016040528015611fa7576020820181803683370190505b5090505b841561163357611fbc600183612ae6565b9150611fc9600a86612b7f565b611fd4906030612a9b565b60f81b818381518110611fe957611fe9612bbf565b60200101906001600160f81b031916908160001a90535061200b600a86612ab3565b9450611fab565b61201b8261193a565b61207e5760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b6064820152608401610789565b60008281526006602090815260409091208251610a5092840190612521565b60075460ff16156120c05760405162461bcd60e51b8152600401610789906129a7565b610a5083838361177f565b60006001600160a01b0384163b156121cd57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061210f903390899088908890600401612905565b602060405180830381600087803b15801561212957600080fd5b505af1925050508015612159575060408051601f3d908101601f19168201909252612156918101906127e9565b60015b6121b3573d808015612187576040519150601f19603f3d011682016040523d82523d6000602084013e61218c565b606091505b5080516121ab5760405162461bcd60e51b815260040161078990612955565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611633565b506001949350505050565b60606010805461083490612b29565b60606121f28261193a565b6122565760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610789565b60006122606121d8565b90506000815111612280576040518060200160405280600081525061081e565b8061228a846122e4565b60405160200161229b9291906128ad565b6040516020818303038152906040529392505050565b6122bb83836123e2565b6122c860008484846120cb565b610a505760405162461bcd60e51b815260040161078990612955565b6060816123085750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612332578061231c81612b64565b915061232b9050600a83612ab3565b915061230c565b60008167ffffffffffffffff81111561234d5761234d612bd5565b6040519080825280601f01601f191660200182016040528015612377576020820181803683370190505b5090505b84156116335761238c600183612ae6565b9150612399600a86612b7f565b6123a4906030612a9b565b60f81b8183815181106123b9576123b9612bbf565b60200101906001600160f81b031916908160001a9053506123db600a86612ab3565b945061237b565b6001600160a01b0382166124385760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610789565b6124418161193a565b1561248e5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610789565b61249a6000838361209d565b6001600160a01b03821660009081526003602052604081208054600192906124c3908490612a9b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461252d90612b29565b90600052602060002090601f01602090048101928261254f5760008555612595565b82601f1061256857805160ff1916838001178555612595565b82800160010185558215612595579182015b8281111561259557825182559160200191906001019061257a565b506125a19291506125a5565b5090565b5b808211156125a157600081556001016125a6565b600067ffffffffffffffff808411156125d5576125d5612bd5565b604051601f8501601f19908116603f011681019082821181831017156125fd576125fd612bd5565b8160405280935085815286868601111561261657600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114610efd57600080fd5b80358015158114610efd57600080fd5b60006020828403121561266957600080fd5b61081e82612630565b6000806040838503121561268557600080fd5b61268e83612630565b915061269c60208401612630565b90509250929050565b6000806000606084860312156126ba57600080fd5b6126c384612630565b92506126d160208501612630565b9150604084013590509250925092565b600080600080608085870312156126f757600080fd5b61270085612630565b935061270e60208601612630565b925060408501359150606085013567ffffffffffffffff81111561273157600080fd5b8501601f8101871361274257600080fd5b612751878235602084016125ba565b91505092959194509250565b6000806040838503121561277057600080fd5b61277983612630565b915061269c60208401612647565b6000806040838503121561279a57600080fd5b6127a383612630565b946020939093013593505050565b6000602082840312156127c357600080fd5b61081e82612647565b6000602082840312156127de57600080fd5b813561081e81612beb565b6000602082840312156127fb57600080fd5b815161081e81612beb565b60006020828403121561281857600080fd5b813567ffffffffffffffff81111561282f57600080fd5b8201601f8101841361284057600080fd5b611633848235602084016125ba565b60006020828403121561286157600080fd5b5035919050565b60006020828403121561287a57600080fd5b5051919050565b60008151808452612899816020860160208601612afd565b601f01601f19169290920160200192915050565b600083516128bf818460208801612afd565b8351908301906128d3818360208801612afd565b01949350505050565b600082516128ee818460208701612afd565b64173539b7b760d91b920191825250600501919050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061293890830184612881565b9695505050505050565b60208152600061081e6020830184612881565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526024908201527f596f75207265616368656420627579206c696d69742066726f6d2073696e676c6040820152630ca40e8f60e31b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115612aae57612aae612b93565b500190565b600082612ac257612ac2612ba9565b500490565b6000816000190483118215151615612ae157612ae1612b93565b500290565b600082821015612af857612af8612b93565b500390565b60005b83811015612b18578181015183820152602001612b00565b8381111561139d5750506000910152565b600181811c90821680612b3d57607f821691505b60208210811415612b5e57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612b7857612b78612b93565b5060010190565b600082612b8e57612b8e612ba9565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114612c0157600080fd5b5056fea26469706673582212209b34574c3ff0dcd1c0b5f143265955c9649f27e793502b80dc46e9f8a7b7446364736f6c634300080700334552433732313a207472616e7366657220746f206e6f6e204552433732315265697066733a2f2f516d4e54483937714a73426b7a5479335537764e736a4d4572534e6561544d6d626476787a4355464232436d726e2f0000000000000000000000004c5813b8c6fbbac76caa148aaf8910f236b56fdf
Deployed Bytecode
0x6080604052600436106102285760003560e01c806363fe5cca11610123578063a22cb465116100ab578063d0f83a301161006f578063d0f83a301461061d578063d84e575b1461063d578063e985e9c514610673578063f2fde38b146106bc578063f7ea7a3d146106dc57600080fd5b8063a22cb46514610588578063b88d4fde146105a8578063c813f5fb146105c8578063c87b56dd146105e8578063ced72f871461060857600080fd5b8063793cd71e116100f2578063793cd71e146105065780638456cb591461051b5780638da5cb5b1461053057806395d89b4114610553578063a16a3e5a1461056857600080fd5b806363fe5cca1461049157806369fe0e2d146104b157806370a08231146104d1578063715018a6146104f157600080fd5b8063229c1160116101b1578063484664021161017557806348466402146103f95780634a4523281461041957806355f804b3146104395780635c975abb146104595780636352211e1461047157600080fd5b8063229c11601461037157806323b872dd146103845780633f4ba83a146103a45780634135149e146103b957806342842e0e146103d957600080fd5b8063081812fc116101f8578063081812fc146102c1578063095ea7b3146102f957806312e14cbf1461031b57806318160ddd1461033b5780631a7ab7461461035157600080fd5b80629a9b7b1461023457806301ffc9a71461025c57806306fba1c11461028c57806306fdde031461029f57600080fd5b3661022f57005b600080fd5b34801561024057600080fd5b506102496106fc565b6040519081526020015b60405180910390f35b34801561026857600080fd5b5061027c6102773660046127cc565b61070c565b6040519015158152602001610253565b61024961029a366004612787565b61075e565b3480156102ab57600080fd5b506102b4610825565b6040516102539190612942565b3480156102cd57600080fd5b506102e16102dc36600461284f565b6108b7565b6040516001600160a01b039091168152602001610253565b34801561030557600080fd5b50610319610314366004612787565b61093f565b005b34801561032757600080fd5b506103196103363660046127b1565b610a55565b34801561034757600080fd5b5061024960095481565b34801561035d57600080fd5b5061031961036c36600461284f565b610a98565b61024961037f366004612787565b610acd565b34801561039057600080fd5b5061031961039f3660046126a5565b610c8c565b3480156103b057600080fd5b50610319610cbd565b3480156103c557600080fd5b506103196103d436600461284f565b610cf7565b3480156103e557600080fd5b506103196103f43660046126a5565b610d2c565b34801561040557600080fd5b50610319610414366004612787565b610d47565b34801561042557600080fd5b5061031961043436600461284f565b610db7565b34801561044557600080fd5b50610319610454366004612806565b610dec565b34801561046557600080fd5b5060075460ff1661027c565b34801561047d57600080fd5b506102e161048c36600461284f565b610e2f565b34801561049d57600080fd5b506102496104ac366004612657565b610ea6565b3480156104bd57600080fd5b506103196104cc36600461284f565b610f02565b3480156104dd57600080fd5b506102496104ec366004612657565b610f37565b3480156104fd57600080fd5b50610319610fbe565b34801561051257600080fd5b5061031961103e565b34801561052757600080fd5b5061031961120d565b34801561053c57600080fd5b5060075461010090046001600160a01b03166102e1565b34801561055f57600080fd5b506102b4611245565b34801561057457600080fd5b50610319610583366004612657565b611254565b34801561059457600080fd5b506103196105a336600461275d565b6112a6565b3480156105b457600080fd5b506103196105c33660046126e1565b61136b565b3480156105d457600080fd5b506103196105e336600461284f565b6113a3565b3480156105f457600080fd5b506102b461060336600461284f565b6113d8565b34801561061457600080fd5b50600a54610249565b34801561062957600080fd5b50610249610638366004612657565b6113e3565b34801561064957600080fd5b50610249610658366004612657565b6001600160a01b031660009081526015602052604090205490565b34801561067f57600080fd5b5061027c61068e366004612672565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156106c857600080fd5b506103196106d7366004612657565b61163b565b3480156106e857600080fd5b506103196106f736600461284f565b611737565b600061070760085490565b905090565b60006001600160e01b031982166380ac58cd60e01b148061073d57506001600160e01b03198216635b5e139f60e01b145b8061075857506301ffc9a760e01b6001600160e01b03198316145b92915050565b600061076c60075460ff1690565b156107925760405162461bcd60e51b8152600401610789906129a7565b60405180910390fd5b61079b826117e6565b600d548211156107bd5760405162461bcd60e51b815260040161078990612a06565b81600a546107cb9190612ac7565b3410156108105760405162461bcd60e51b81526020600482015260136024820152722332b29034b9903737ba1031b7b93932b1ba1760691b6044820152606401610789565b61081a83836118bf565b6008545b9392505050565b60606000805461083490612b29565b80601f016020809104026020016040519081016040528092919081815260200182805461086090612b29565b80156108ad5780601f10610882576101008083540402835291602001916108ad565b820191906000526020600020905b81548152906001019060200180831161089057829003601f168201915b5050505050905090565b60006108c28261193a565b6109235760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610789565b506000908152600460205260409020546001600160a01b031690565b600061094a82610e2f565b9050806001600160a01b0316836001600160a01b031614156109b85760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610789565b336001600160a01b03821614806109d457506109d4813361068e565b610a465760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610789565b610a508383611957565b505050565b6007546001600160a01b03610100909104163314610a855760405162461bcd60e51b8152600401610789906129d1565b600f805460ff1916911515919091179055565b6007546001600160a01b03610100909104163314610ac85760405162461bcd60e51b8152600401610789906129d1565b600c55565b6000610adb60075460ff1690565b15610af85760405162461bcd60e51b8152600401610789906129a7565b610b01826117e6565b600f5460ff16610b625760405162461bcd60e51b815260206004820152602660248201527f496e766f6b652073616d65206d6574686f642062757420666f72207075626c69604482015265632073616c6560d01b6064820152608401610789565b600c54821115610b845760405162461bcd60e51b815260040161078990612a06565b600c546001600160a01b038416600090815260166020526040902054610baa90846119c5565b1115610bf35760405162461bcd60e51b8152602060048201526018602482015277165bdd481c995858da1959081dd85b1b195d081b1a5b5a5d60421b6044820152606401610789565b81600a54610c019190612ac7565b341015610c465760405162461bcd60e51b81526020600482015260136024820152722332b29034b9903737ba1031b7b93932b1ba1760691b6044820152606401610789565b6001600160a01b038316600090815260166020526040902054610c6990836119c5565b6001600160a01b03841660009081526016602052604090205561081a83836118bf565b610c9633826119d1565b610cb25760405162461bcd60e51b815260040161078990612a4a565b610a50838383611ab7565b6007546001600160a01b03610100909104163314610ced5760405162461bcd60e51b8152600401610789906129d1565b610cf5611c62565b565b6007546001600160a01b03610100909104163314610d275760405162461bcd60e51b8152600401610789906129d1565b600e55565b610a508383836040518060200160405280600081525061136b565b6007546001600160a01b03610100909104163314610d775760405162461bcd60e51b8152600401610789906129d1565b80610d9757506001600160a01b0316600090815260156020526040812055565b6001600160a01b03821660009081526015602052604090208190555b5050565b6007546001600160a01b03610100909104163314610de75760405162461bcd60e51b8152600401610789906129d1565b600d55565b6007546001600160a01b03610100909104163314610e1c5760405162461bcd60e51b8152600401610789906129d1565b8051610db3906010906020840190612521565b6000818152600260205260408120546001600160a01b0316806107585760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610789565b6007546000906001600160a01b03610100909104163314610ed95760405162461bcd60e51b8152600401610789906129d1565b610ee48260016118bf565b600954610ef29060016119c5565b600955600854610758565b919050565b6007546001600160a01b03610100909104163314610f325760405162461bcd60e51b8152600401610789906129d1565b600a55565b60006001600160a01b038216610fa25760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610789565b506001600160a01b031660009081526003602052604090205490565b6007546001600160a01b03610100909104163314610fee5760405162461bcd60e51b8152600401610789906129d1565b60075460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360078054610100600160a81b0319169055565b601360008154811061105257611052612bbf565b6000918252602090912001546001600160a01b031633148061109b5750601360018154811061108357611083612bbf565b6000918252602090912001546001600160a01b031633145b806110cd575060136002815481106110b5576110b5612bbf565b6000918252602090912001546001600160a01b031633145b806110ff575060136003815481106110e7576110e7612bbf565b6000918252602090912001546001600160a01b031633145b806111315750601360048154811061111957611119612bbf565b6000918252602090912001546001600160a01b031633145b806111635750601360058154811061114b5761114b612bbf565b6000918252602090912001546001600160a01b031633145b6111c05760405162461bcd60e51b815260206004820152602860248201527f53686f756c642062652063616c6c656420776974682077686974656c6973746560448201526719081dd85b1b195d60c21b6064820152608401610789565b6012546040516001600160a01b03909116904790600081818185875af1925050503d8060008114610a50576040519150601f19603f3d011682016040523d82523d6000602084013e505050565b6007546001600160a01b0361010090910416331461123d5760405162461bcd60e51b8152600401610789906129d1565b610cf5611cf5565b60606001805461083490612b29565b6007546001600160a01b036101009091041633146112845760405162461bcd60e51b8152600401610789906129d1565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0382163314156112ff5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610789565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61137533836119d1565b6113915760405162461bcd60e51b815260040161078990612a4a565b61139d84848484611d4d565b50505050565b6007546001600160a01b036101009091041633146113d35760405162461bcd60e51b8152600401610789906129d1565b600b55565b606061075882611d80565b60006113f160075460ff1690565b1561140e5760405162461bcd60e51b8152600401610789906129a7565b600061143a6002611434856001600160a01b031660009081526015602052604090205490565b90611ee2565b600e546011546040516370a0823160e01b81526001600160a01b0387811660048301529394506000936114c9939216906370a082319060240160206040518083038186803b15801561148b57600080fd5b505afa15801561149f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114c39190612868565b90611eee565b90506114e06114d9826002611ee2565b83906119c5565b9150600b548211156114f257600b5491505b600082116115315760405162461bcd60e51b815260206004820152600c60248201526b43616e6e6f7420636c61696d60a01b6044820152606401610789565b61153a826117e6565b600b5482111561155c5760405162461bcd60e51b815260040161078990612a06565b6001600160a01b03841660009081526014602052604090205460ff16156115c05760405162461bcd60e51b8152602060048201526018602482015277165bdd481c995858da1959081dd85b1b195d081b1a5b5a5d60421b6044820152606401610789565b6001600160a01b0384166000908152601460205260409020805460ff191660011790556115ed84836118bf565b604080516001600160a01b0386168152602081018490527fafe4474713392f779d4c2e8513dda8d46fb3a388d855f31f360f24d11318dc98910160405180910390a16008545b949350505050565b6007546001600160a01b0361010090910416331461166b5760405162461bcd60e51b8152600401610789906129d1565b6001600160a01b0381166116d05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610789565b6007546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600780546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6007546001600160a01b036101009091041633146117675760405162461bcd60e51b8152600401610789906129d1565b600955565b5490565b80546001019055565b3b151590565b60075460ff1615610a505760405162461bcd60e51b815260206004820152602b60248201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760448201526a1a1a5b19481c185d5cd95960aa1b6064820152608401610789565b33803b1580156117fe5750326001600160a01b038216145b61184a5760405162461bcd60e51b815260206004820152601860248201527f426f74732068617665206e6f20706f77657220686572652100000000000000006044820152606401610789565b6009548261185760085490565b6118619190612a9b565b1115610db35760405162461bcd60e51b815260206004820152602760248201527f4d6178696d756d20616d6f756e74206f6620746f6b656e7320616c7265616479604482015266081b5a5b9d195960ca1b6064820152608401610789565b60005b81811015610a50576118d8600880546001019055565b60006118e360085490565b90506118ef8482611efa565b60006118fa82611f14565b60405160200161190a91906128dc565b60405160208183030381529060405290506119258282612012565b5050808061193290612b64565b9150506118c2565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061198c82610e2f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061081e8284612a9b565b60006119dc8261193a565b611a3d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610789565b6000611a4883610e2f565b9050806001600160a01b0316846001600160a01b03161480611a835750836001600160a01b0316611a78846108b7565b6001600160a01b0316145b8061163357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff16611633565b826001600160a01b0316611aca82610e2f565b6001600160a01b031614611b325760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610789565b6001600160a01b038216611b945760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610789565b611b9f83838361209d565b611baa600082611957565b6001600160a01b0383166000908152600360205260408120805460019290611bd3908490612ae6565b90915550506001600160a01b0382166000908152600360205260408120805460019290611c01908490612a9b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60075460ff16611cab5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610789565b6007805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60075460ff1615611d185760405162461bcd60e51b8152600401610789906129a7565b6007805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611cd83390565b611d58848484611ab7565b611d64848484846120cb565b61139d5760405162461bcd60e51b815260040161078990612955565b6060611d8b8261193a565b611df15760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b6064820152608401610789565b60008281526006602052604081208054611e0a90612b29565b80601f0160208091040260200160405190810160405280929190818152602001828054611e3690612b29565b8015611e835780601f10611e5857610100808354040283529160200191611e83565b820191906000526020600020905b815481529060010190602001808311611e6657829003601f168201915b505050505090506000611e946121d8565b9050805160001415611ea7575092915050565b815115611ed9578082604051602001611ec19291906128ad565b60405160208183030381529060405292505050919050565b611633846121e7565b600061081e8284612ac7565b600061081e8284612ab3565b610db38282604051806020016040528060008152506122b1565b606081611f385750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611f625780611f4c81612b64565b9150611f5b9050600a83612ab3565b9150611f3c565b60008167ffffffffffffffff811115611f7d57611f7d612bd5565b6040519080825280601f01601f191660200182016040528015611fa7576020820181803683370190505b5090505b841561163357611fbc600183612ae6565b9150611fc9600a86612b7f565b611fd4906030612a9b565b60f81b818381518110611fe957611fe9612bbf565b60200101906001600160f81b031916908160001a90535061200b600a86612ab3565b9450611fab565b61201b8261193a565b61207e5760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b6064820152608401610789565b60008281526006602090815260409091208251610a5092840190612521565b60075460ff16156120c05760405162461bcd60e51b8152600401610789906129a7565b610a5083838361177f565b60006001600160a01b0384163b156121cd57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061210f903390899088908890600401612905565b602060405180830381600087803b15801561212957600080fd5b505af1925050508015612159575060408051601f3d908101601f19168201909252612156918101906127e9565b60015b6121b3573d808015612187576040519150601f19603f3d011682016040523d82523d6000602084013e61218c565b606091505b5080516121ab5760405162461bcd60e51b815260040161078990612955565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611633565b506001949350505050565b60606010805461083490612b29565b60606121f28261193a565b6122565760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610789565b60006122606121d8565b90506000815111612280576040518060200160405280600081525061081e565b8061228a846122e4565b60405160200161229b9291906128ad565b6040516020818303038152906040529392505050565b6122bb83836123e2565b6122c860008484846120cb565b610a505760405162461bcd60e51b815260040161078990612955565b6060816123085750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612332578061231c81612b64565b915061232b9050600a83612ab3565b915061230c565b60008167ffffffffffffffff81111561234d5761234d612bd5565b6040519080825280601f01601f191660200182016040528015612377576020820181803683370190505b5090505b84156116335761238c600183612ae6565b9150612399600a86612b7f565b6123a4906030612a9b565b60f81b8183815181106123b9576123b9612bbf565b60200101906001600160f81b031916908160001a9053506123db600a86612ab3565b945061237b565b6001600160a01b0382166124385760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610789565b6124418161193a565b1561248e5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610789565b61249a6000838361209d565b6001600160a01b03821660009081526003602052604081208054600192906124c3908490612a9b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461252d90612b29565b90600052602060002090601f01602090048101928261254f5760008555612595565b82601f1061256857805160ff1916838001178555612595565b82800160010185558215612595579182015b8281111561259557825182559160200191906001019061257a565b506125a19291506125a5565b5090565b5b808211156125a157600081556001016125a6565b600067ffffffffffffffff808411156125d5576125d5612bd5565b604051601f8501601f19908116603f011681019082821181831017156125fd576125fd612bd5565b8160405280935085815286868601111561261657600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114610efd57600080fd5b80358015158114610efd57600080fd5b60006020828403121561266957600080fd5b61081e82612630565b6000806040838503121561268557600080fd5b61268e83612630565b915061269c60208401612630565b90509250929050565b6000806000606084860312156126ba57600080fd5b6126c384612630565b92506126d160208501612630565b9150604084013590509250925092565b600080600080608085870312156126f757600080fd5b61270085612630565b935061270e60208601612630565b925060408501359150606085013567ffffffffffffffff81111561273157600080fd5b8501601f8101871361274257600080fd5b612751878235602084016125ba565b91505092959194509250565b6000806040838503121561277057600080fd5b61277983612630565b915061269c60208401612647565b6000806040838503121561279a57600080fd5b6127a383612630565b946020939093013593505050565b6000602082840312156127c357600080fd5b61081e82612647565b6000602082840312156127de57600080fd5b813561081e81612beb565b6000602082840312156127fb57600080fd5b815161081e81612beb565b60006020828403121561281857600080fd5b813567ffffffffffffffff81111561282f57600080fd5b8201601f8101841361284057600080fd5b611633848235602084016125ba565b60006020828403121561286157600080fd5b5035919050565b60006020828403121561287a57600080fd5b5051919050565b60008151808452612899816020860160208601612afd565b601f01601f19169290920160200192915050565b600083516128bf818460208801612afd565b8351908301906128d3818360208801612afd565b01949350505050565b600082516128ee818460208701612afd565b64173539b7b760d91b920191825250600501919050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061293890830184612881565b9695505050505050565b60208152600061081e6020830184612881565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526024908201527f596f75207265616368656420627579206c696d69742066726f6d2073696e676c6040820152630ca40e8f60e31b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115612aae57612aae612b93565b500190565b600082612ac257612ac2612ba9565b500490565b6000816000190483118215151615612ae157612ae1612b93565b500290565b600082821015612af857612af8612b93565b500390565b60005b83811015612b18578181015183820152602001612b00565b8381111561139d5750506000910152565b600181811c90821680612b3d57607f821691505b60208210811415612b5e57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612b7857612b78612b93565b5060010190565b600082612b8e57612b8e612ba9565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114612c0157600080fd5b5056fea26469706673582212209b34574c3ff0dcd1c0b5f143265955c9649f27e793502b80dc46e9f8a7b7446364736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000004c5813b8c6fbbac76caa148aaf8910f236b56fdf
-----Decoded View---------------
Arg [0] : _snapAddress (address): 0x4c5813b8c6FbbAC76CAA148aAf8910f236B56fDF
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000004c5813b8c6fbbac76caa148aaf8910f236b56fdf
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.