ERC-721
Overview
Max Total Supply
249 WOP
Holders
96
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 WOPLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
WarriorsOfPeace
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.7; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/interfaces/IERC2981.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; contract WarriorsOfPeace is ERC721, Ownable, IERC2981 { using Strings for uint256; using Counters for Counters.Counter; using SafeERC20 for IERC20; Counters.Counter private supply; string private contractUri; string public baseURI; string public baseExtension = ".json"; uint256 public constant MAX_SUPPLY = 1390; uint256 public constant MINT_COST = 0.05 ether; uint256 public constant WHITELIST_MINT_COST = 0.005 ether; uint256 public constant MAX_MINT_AMOUNT = 10; uint256 public constant ROYALTY_PERCENT = 5; uint256 public constant SALE_START = 1660089599; uint256 public constant SALE_STOP = 1660885199; mapping(address => bool) public whitelist; mapping(address => bool) public minted; event RoyaltiesReceived( address indexed _royaltyRecipient, address indexed _buyer, uint256 indexed _tokenId, address _tokenPaid, uint256 _amount, bytes32 _metadata ); constructor() ERC721("Warriors of Peace", "WOP") { contractUri = "https://warriorsofpeacenft.com/nft/jsons/collection.json"; baseURI = "https://warriorsofpeacenft.com/nft/jsons/"; initWhitelist(); transferOwnership(0xAAf67c8333Fa0D65e38c11e3657cd36f79a6f3bD); } /** * @notice get contract uri * @return contract uri */ function contractURI() external view returns (string memory) { return contractUri; } /** * @notice get token uri * @param tokenId token id to get uri * @return token uri */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "URI query for nonexistent token"); string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string( abi.encodePacked( currentBaseURI, tokenId.toString(), baseExtension ) ) : ""; } /** * @notice mint tokens * @param amount qty to mint */ function mint(uint256 amount) external payable { // solhint-disable-next-line not-rely-on-time require(block.timestamp >= SALE_START, "Not started"); // solhint-disable-next-line not-rely-on-time require(block.timestamp <= SALE_STOP, "Finished"); require(amount > 0, "Mint amount should be > 0"); require(amount <= MAX_MINT_AMOUNT, "Max mint amount overflow"); require(supply.current() + amount <= MAX_SUPPLY, "Max supply overflow"); require(msg.value == MINT_COST * amount, "Wrong ETH amount"); for (uint256 i = 1; i <= amount; i++) { supply.increment(); uint256 newTokenId = supply.current(); _mint(msg.sender, newTokenId); } } /** * @notice mint token by owner * @param tokenId token id to mint * @dev callable only by contract owner */ function mintWithOwner(uint256 tokenId) external onlyOwner { // solhint-disable-next-line not-rely-on-time require(block.timestamp > SALE_STOP, "Not allowed"); require(MAX_SUPPLY > supply.current(), "Max supply is reached"); require(tokenId <= MAX_SUPPLY, "Token id is not allowed"); require(!_exists(tokenId), "Token already minted"); supply.increment(); _mint(owner(), tokenId); } /** * @notice mint tokens for free for whitelist */ function mintWhitelist() external payable { // solhint-disable-next-line not-rely-on-time require(block.timestamp >= SALE_START, "Not started"); // solhint-disable-next-line not-rely-on-time require(block.timestamp <= SALE_STOP, "Finished"); require(whitelist[msg.sender], "Not allowed"); require(!minted[msg.sender], "Already minted"); require(supply.current() + 1 <= MAX_SUPPLY, "Max supply overflow"); require(msg.value == WHITELIST_MINT_COST, "Wrong ETH amount"); minted[msg.sender] = true; supply.increment(); uint256 newTokenId = supply.current(); _mint(msg.sender, newTokenId); } /** * @notice get total supply * @return total supply of tokens */ function totalSupply() external view returns (uint256) { return supply.current(); } /** * @notice update contract uri * @param newURI new contract uri * @dev callable only by contract owner */ function setContractURI(string memory newURI) external onlyOwner { contractUri = newURI; } /** * @notice update base uri * @param newBaseURI new base uri * @dev callable only by contract owner */ function setBaseURI(string memory newBaseURI) public onlyOwner { baseURI = newBaseURI; } /** * @notice update base extension * @param newBaseExtension new base extension * @dev callable only by contract owner */ function setBaseExtension(string memory newBaseExtension) public onlyOwner { baseExtension = newBaseExtension; } /** * @notice get base uri, internal */ function _baseURI() internal view virtual override returns (string memory) { return baseURI; } /** * @notice check if contract supports interface id * @param interfaceId interface Id * @dev callable only by contract owner */ function supportsInterface(bytes4 interfaceId) public view override(ERC721, IERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @notice Returns royalty reciever address and royalty amount * @param tokenId Token Id * @param salePrice Value to calculate royalty from * @return receiver Royalty reciever address * @return royaltyAmount Royalty amount */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view override returns (address receiver, uint256 royaltyAmount) { require(_exists(tokenId), "Query for nonexistent token"); return (this.owner(), salePrice * ROYALTY_PERCENT / 100); } /** * @notice Calls when royalty recieved */ function onRoyaltiesReceived( address _royaltyRecipient, address _buyer, uint256 _tokenId, address _tokenPaid, uint256 _amount, bytes32 _metadata ) external returns (bytes4) { emit RoyaltiesReceived( _royaltyRecipient, _buyer, _tokenId, _tokenPaid, _amount, _metadata ); return bytes4( keccak256( "onRoyaltiesReceived(address,address,uint256,address,uint256,bytes32)" ) ); } /** * @notice It allows the admins to get tokens sent to the contract * @param tokenAddress: the address of the token to withdraw * @param tokenAmount: the number of token amount to withdraw * @dev Only callable by contract owner. */ function recoverTokens(address tokenAddress, uint256 tokenAmount) external onlyOwner { require(tokenAddress != address(0), "Address can not be zero!"); IERC20(tokenAddress).safeTransfer(address(msg.sender), tokenAmount); } /** * @notice withdraw ETH * @dev callable only by contract owner */ function withdraw() external onlyOwner { require( payable(msg.sender).send(address(this).balance), "Can not withdraw" ); } function initWhitelist() internal { address[230] memory accounts = [ 0x2E10Fd3884dce04F992a3b68D52f807014b41237, 0x3341DD81D325F231aa744efD603B8255D8cc3515, 0x44500A3D9B73B605aE860D0C12d7cbF31a2Da5E5, 0x7B01429e5ade22C5b4002F0DA287717E8aD05375, 0x9474F08CB0B82863A04bdCd26238E274BaaAE42a, 0x3686A4b272C646ef6fBE34377337d95Db7356E63, 0xaC880de77E5DD805E7B724F1DEC0a85602e57FB5, 0xe738052de24CDadb701Be3a5F92516b72541f74B, 0xB32B4350C25141e779D392C1DBe857b62b60B4c9, 0x0D439E560aa68b1C5A4580084d55D251C8F5bEF9, 0x98EF61a73A79A61D2eAb1C9fB388566cAeA11fc0, 0x5449209b61b472124708100f699e36d2217154c5, 0x20eC02894D748C59c01B6bF08FE283D7bB75A5d2, 0x058a9BBaA8E8e4Dbd3DEfB383aEe69D617e83d6A, 0xD651E2c626eE210Fc38676124D5007Ac822AD749, 0xab4787b17BfB2004C4B074Ea64871dfA238bd50c, 0x2eC5EBac21b1a03FaCBff9EDbF4C906737f9E8f5, 0x6E63a4CAeCcb4F341EE9C9175c9Cc554bDB6d10B, 0xAd5C955274B7B66330c070417C79e5896BA91E75, 0x935584a2e880B8eB225b44Bd9ED6A52EAE538f3c, 0x6207405Ef8E92Dbe7Ae67a256211D85BCdB63799, 0x591631285F17e0e3aE23c2695b632575B2455A1C, 0x7bd083591D46381b606813b5F6670A55363e5947, 0x2F7B9F2F5f00Dd2293b159B6E580a01E8dA7ACb1, 0x588a4C42c3Bd422a02F96041dFCc65Eec59b7CC4, 0x34f3802366A59d96565ffDEd9BB601d5e28A3b82, 0x825449d201aB8FBb27e339141d0bd75C2EF7CE21, 0x3fF66e83e8D0219363cB27AaAD8ee34b93BF757A, 0x9a33ac1be5833cdAA83D88e121cac3Ebc5A7BD5f, 0xfee4DB0e8Bb10B4D5c50B67A3fd073A434910d28, 0x067d3A2c55086C4080ffb3f42c70F5721Bb63d5D, 0x001DaaA0b2e05A6a102437e525042ce2F11f4818, 0xD35231F0d9Ac7BbcE8A985C75EBe855d054d1BeC, 0x1BF66cB6114E8BA9Ed2D32B021cc2DDc7c785c50, 0x11360F0c5552443b33720a44408aba01a809905e, 0x0a61693925F8092040c3E5ff950DaA58F8EF263E, 0xAB83996cF53b6eB77a2fB27Fb101b278670CD440, 0x6f583c478e61f08FdE0097bDCb8AE7A88a28255b, 0x1E3C06381A11375AAeE09c0A368c81E950211EA7, 0x7dC86FAb58672F39435F5249f6751B937244D663, 0x1cA42bb6d30D13ad38B54BEeB7c0E1eb2abEB5CD, 0xd7189A81961CB3cC0Dd6eC6a1f90Bc5f95DfD7f0, 0x9C4d96683af2329Edd49c257D5411deFFF4B8D5C, 0x010462E09d11875B5b17e1d800951919423F9616, 0xA00373e6cfDC3839619Bf2B645C2028ca83f7580, 0x4E984E6c138BD8Dc8637eD9e082117cce062A94B, 0x44D5a0B1E165A17c16d940ca774a28e62D4b44b0, 0xE82660AA4fdbaBAc5c9fEa0F1A217B8CEaF050Cc, 0x1EC19d4A0521E1F915327715e0C0c2CD73B4dC74, 0x6d25415569524DeB1780eCC9b6F66097134AF29E, 0x65FDC1863a34d51bd40BE0E8582554ee42769d4b, 0x228f9fD74F35080771A9e858f9575451d3ccF7ED, 0x2BaFc1e12704563e329cbFE8332695D72065Ba19, 0x3c1D98Cbc61109D49373d2944B3AE3700be923Ed, 0x8d2f3a76a76f055D62A931678ab16b042E7BADeb, 0xB8ef7f2082a0783aef1a8F85ecf89f06CD94F812, 0x2D9C503c98707611a7f94a8ae5127713bd24b790, 0xd6e3D88e5c3d7D3D204497aB53Cc212Ebde663Df, 0x53b244E43dEFaDD6c3c62AAb90B8FC9C483264f6, 0x6a8d75c3f7cAB0d65a4BaACc2633FE3E31b8F278, 0x504C11bDBE6E29b46E23e9A15d9c8d2e2e795709, 0xb9E6c686A6E091036Fa9d5fe9c0b2Bd0537CB95c, 0x341F196BeBA72155E7cB67a3ad02C67DBE54Ea48, 0x42a60D2f2FfA2150C568010A8D425f0AAD284fd2, 0xC13483CeDE1433A4ea42BFa6e05Ef03B427c9EE2, 0x4df20811f63519532D0C6dc68DEF530f52C4e06E, 0xb2ecf0a0d4361E243dcc5206b71aaF2Dff0b805D, 0xF7c66bCD6EA3607174DA0bC8458bd1508027e539, 0x3F6224798FCC06C5710C60a60FB57E4edBa6b839, 0x73fFfb65b2C8f61Cb2a11548E88a94Fd9fc7dc0B, 0xA1D112C61544Bb72C83A866a08155E1b18831028, 0xFda21479846B909a9B64A955B6644c725feEc4b3, 0x435EA0FbF0c516FF31D88e990b773EB84e8cDBe5, 0xf013E5F697E84C6831220A21a96556242Ee9AD86, 0xF97f757Ed3Aa1eF705F2957698A2b3B2CF2dcEBb, 0x3Db405ED4023aa389843297385bd65Cae0b46621, 0x25F89312F39938314b615e85211Ff03d5D0088c0, 0x84C42a0F1DFf1bb673BCCd63bCa73e672225EDA2, 0x889cC8342C4AE6C390D74BceF706F656F85E5aC2, 0x62F9ACbD11350FB05B3215507dD1f6e05ed27aF5, 0x067AA2fFdC80E558A2b01C349190eef0c6a773cf, 0x8E72ae54eC2C556070C1D395a0bE8397A1E66474, 0x720E7be35069a46596D96dc0E58Cb40675ebCfdf, 0x9dD6eDe5b1cF2d975a5c831A288B8ed7Eca24f80, 0x68233a413A6B48B348f2AE3E646BAaaa839ca245, 0x1Ee8657Df36C16753359EF1B9Ef876e300740CC2, 0x72b9B8643B008240F6dFA0c684614DBb60458d38, 0x08e7dc763EA6F6f9865A76675DAcccF3D3981fdA, 0x925c559c7A4015fd25B47db32c85a4902c021952, 0x2865ec116A7742A0f3A0caD741f994E2C01Ee6dc, 0x6B916D50869CDF9955fEcb5dAcB75278E31b2174, 0x75e06a34c1Ef068fC43ad56A1a5193f3778bF0B2, 0xc160BCf9a40532E3c1c4cE83020469CB851081cC, 0x477b6F91c9481fC64E9080ffD00527CD53563dD6, 0x3dfe98db80ecf45760F23e5517eFe29423571eb1, 0x24B34FD24BbBc51fF9161D8f3782a1519a3c0d14, 0xF3aBCcC785165d1600DEF7F44c505DBFCDdCF0E4, 0xd6a984153aCB6c9E2d788f08C2465a1358BB89A7, 0xF8beB91324Bd3A4b201D23Ded9EB4a9F7d6A072C, 0x85DE83464ddE6D3557cC86bBB5EDE4E73C787e8f, 0xdA793c60c22Afe53e3b0bD39c3E49D44D6aF4F1e, 0x7C6823F61223b71e9Fd0b62bD43E326732D3B147, 0xB092e3F536Ed6bce2d166b72aA27465a0Ffd8a4F, 0x9d185b6146b50541F510aDf722d13071e8A237ac, 0x6d4b3a607450005fB8f807940733F73974a08435, 0xf817B32dCBdACCCAeD4d80c70d57d03A8C238902, 0x1Bb01159AB168ACD0Cc055eAD980729A2ADAe919, 0xd82E0032A9030835cf5A384344638faa8b18A219, 0x12f16863343061BDFbF85292A414a159dD92Dafb, 0x589DBECe842C413be18a603E44E0dabCe4908cde, 0x231E9bd5C74caF431F17e421d103E0F121B66f1c, 0x50ab88046E972ef974755B9b0bCE6053702abA19, 0x04Fb523ef05daDC443F61ae6ef59C5dBBB4406a9, 0xeF984Be913C22645Bdd7Dc1388b3D2B9C5744092, 0x0d75b5214B1b2181FE4D1830CA428AE860aAC5a9, 0x3Ee3d0cceF50bc9a6Ac43e763180C0c870fd2787, 0x1C4e90fC8bdAdE442aeD58f8011db5A17A2E7199, 0x6e6561f85DCc43c8dc717Be06b4000B06D8c7DcB, 0x34548011fB8e54418A90d004b9FC3224F8C65051, 0xE6DC5a552E55824625703Fa015C568Fbd3171875, 0x8f40496973fC78d389571812c0D43620369102c6, 0xA2089abCe87Ed0D44401f35aA4A1e2073f32C318, 0xdfb7B991CD8d36e747f81495DA43AB429489Bf9d, 0xA7230946A4421a68EFC625b9E420D916c3924722, 0x79b651B0c9819d9DF785E20F05a53f06E487542A, 0x28c122c94De37ec0eeC4D7DD3dEf807CE13f8A25, 0xa0c08f25FB30F43bc83346aD3049295dB5EcF5b6, 0xf60B4342cf2a83451CBc17b40C0f9527908f6C0d, 0x4E99667ad4A71F00486C01082F515E71422E786d, 0xBf26925f736E90E1715ce4E04cD9c289dD1bc002, 0x90e5aa59a9dF2ADd394df81521DbBEd5F3c4A1A3, 0x6e58309CD851A5B124E3A56768a42d12f3B6D104, 0xBedAF1ed65daF1E076fd1C49E1E893027005a1bB, 0x0f9079c3a101eAfa19bd5d83857efbA8D34df047, 0x29f9ef8286dcc4F9a94340278DB01f12c3483988, 0x3Be320A51bc61feb5C3EDF65ffb225A39362cF1B, 0xcC3d6ac59CF8ED1f5528cAD140266c9Ce3d3c41B, 0x66c17Dcef1B364014573Ae0F869ad1c05fe01c89, 0x66bDc08a0dB3A83D374670a57aA8ECd5b51b55e5, 0x7742e29f398329d0A60246CE55DB226b76893578, 0x547b166Bdf86eEc60b269564553F37838C6f1C0a, 0x98f973f10Dd3263ae811CB1d7c9df31D1db12995, 0x669631DBfeEAF801d221079f9F4ED22b96e0529E, 0xc851D9C6A6a5bF109493Dc909e3FAA311E0B220D, 0x322Af0da66D00be980C7aa006377FCaaEee3BDFD, 0x9fF50B3C3aEd6638Cb5B631d09ce682b0D3Ad9b2, 0x3168f1B642401234D48890ee9c30F67feEC02c21, 0x74f54b4435eff8d5f680644Cc6482434eB9221dB, 0x53c3fDE3A71880Af3A692266ee9778c938248874, 0xFa34804390a2f6e14C547aFa976d4479F5f660E2, 0xd011EFb7aC56497ba459FC0Ea593F06bcA97B3dD, 0x2D631a9C0FF16B57E6c85789341ef2C1BC7d0a2b, 0xA2bdFe560084E1Cd2AD6BCEFf045F123D633dD56, 0x0B32b6a775cCF57ff75078a702249A65c8A581Fe, 0x200167320bD54CbF3732da291AC907BEeD6B7365, 0xD5Bce7d1DD106b6Eb0f5caA590f75BCf561eb7B2, 0xaB268c14e235e65c1c2f4aBc673B3b03Ae6FbF9E, 0x5c6Ec56843182FE04271715c6BE04BbC7Edf0F84, 0xFABCEe287b5E76A128E3c8E876E2Ab2Edb9ca101, 0xf9B2b433Fc953C209957D754A5e4334f2C8676Cf, 0x707357F2d99f4432225195d5304A3112200d2Cfc, 0xb46782E99CDdc4Ef6e235ad84b16DdFE9b807D41, 0x6FD5E120dc8Af1dcB2Ecb73DE4eD408a4ED46569, 0x06e28C3c956D47eb163C8462F77CF52e3E00C2F8, 0x50367bE5Fde4EC65eDA56461F9675B95C2144a02, 0x4B41775Ab35e75982fb1A3027D7fBA786B47cF15, 0x076610A4494528a637A4Fa0CF1119c6d15a66754, 0xBB4571aC427690c869Fb98D0EE41e31Bd2EE3332, 0xD492c4971eF568F33a1255a8B346f572ba65173b, 0xc800363b8b19C4a0f5E35047e87dAb4B31C6e99F, 0x375c8d30eA2363e374915FC341f0412D001587Cb, 0x4f896dae9f8016871a802F059E1F5B9a287eD79f, 0xe2EA08D1fF6Eb2D238086b57D7b2441ebF045512, 0x201B7B11A4d2f7b9227d86aCBfdcB60687FC1154, 0xDEc096F829AAc7bF4b9D927903eF08F51De34a21, 0xc08A111F737C5FFc07A2558c554dFc4DE5694EC0, 0x6f2d9b59F562d3148845676646eA053cDA537632, 0x4f4531df6F06a5A29ce19158bbe81f940c0cC886, 0x2e02Cc491d5B7ca08e58a3b40b1AD76f3FdeA149, 0xfAE8F86710e97dc8b667DDb55dF5D62C3307e5f3, 0x5db123ed2656f3E1dBA4AdC6AA7250684A3AA072, 0x0f5a6c496fa973b961cd76707D653424e615e17b, 0x66Eb811Fd65677d7A320bF673db3DBE01EA688bB, 0x7B943e4Cb3bE59E52A41eF0c232B0d2daB9CB7FD, 0x028b19906cF2C423621CE818505c97da5d3283F0, 0xCc48857242141CC7F4f8555f8a3d5bED03556C19, 0xA327a16b71bA107393E0dC046B0Be0908AA667aD, 0xaC359Bb02E4F5fbf0EADA1a3410086fF7F648f5e, 0x9B31a51DF352C7Cc0372b013172DaD16Cb40E314, 0x9F387401b2C566f621081989f7753B7cbDd1fe77, 0x198e62b7d6aC3e41c009346e51B5cF53dB019aF7, 0xB158572Fc732Ab7F4b3616871840726abC6A8015, 0x151d74A53E886980A9F0Afc7d392C37E48A743ba, 0xfB5Cb3c7d2C04f17B1c8b3c742d0d508BF481928, 0x690Da1F118eF4ad056785A1bb0A63D77F84c1Ca7, 0x563b26BA6a2dB99EB40Aa4566aEe341011Dc70f3, 0x6E7013Ef472Cd749Ffb04C74fD9C2525888bE5c6, 0x05Cc51F9d3c90E5438D26bEc7cA1983d6d9a04a2, 0x2fa510caf46f88Ae7Cab8DaEc696aBBc299f8D20, 0xB9858685c5F4478FFa22A32107036782878305B9, 0x258A3Cc3b154B090ae37A0aBBA9965f24E012cA6, 0x4D2Fb20B25E39cc6Db1E673aCBb8C6C467b7c594, 0xa75d6cd046b55c808c23bD2e4eFC0B8910F3C7Cf, 0xba8BAFF5bc5CC65749A62b51F328BE91786Ffde1, 0xc7CFf3E96e553eAAF434749f88A0DF920588cBCC, 0xBEdAef8720A3c265919D051F3951bA5fB9c220Ae, 0xD825cD88c7Ce286350a734DCeE2CCdb2D3149EC3, 0x241Ed4222CE93fABe19892E15DBeC5b640e6CC3f, 0xe73e90fc400c0256Bc271C83e576ACb97603452b, 0x8BB900A63D240F6B8f9aC3C1432760b1C2e79710, 0x6AB16923dAA8109153680F4338028a98eaC04725, 0xa0faE875F761c933C90c7706a51239D73233770C, 0xE310e94B4c239396BeAC0E3A6498E5b296C37616, 0x0047b224C56cfb6E3cfdF1ee3CC1d99527d67aEa, 0x111B99d48B2e4Ec1d059061314EFA941FDadf25A, 0xb0708326673D57738eA85b2ECE055B9fD114Ce25, 0xD59753c4AD33D78e3E7Dfa79c5cde5834167817b, 0x4D10AFe09aE7EeD0bEAa46207D381C71D315E43A, 0x9a3c2b07B8A305A38C3dBdb4c2f076b44cAEB175, 0x682065D9136F6a3397ed3623F7b62F7693D6B0d9, 0x40A0Bdc98adDe176a359B071c91eCDad6F995e5d, 0xca2E2B6e1973cfA495A877481999B90FDBf2920f, 0x840A1068f5825E983cD0Eb9e82E489905Dd456fb, 0xC9B3d0AB776c9CaAB78Feb4D2AafA87a24cB5d87, 0x94Cf72b0f97072aF598Add966aC90aCCe801FF1f, 0xF53366d315D4Aa114227F886045980789F698797, 0x766E5ccdf4593BF6CC3CD482745e7529133dD698, 0x6bE91ABF32d3aAe75Ac78Bc4bf53D9eC66708A14, 0xEe85Ad2378B50B5d693Cc29184e74b245Bb45819, 0x6Bb4958A7F95e63Ee2b2cf5aCb4ae3D1aa9A895B ]; for (uint16 i = 0; i < accounts.length; i++) { whitelist[accounts[i]] = true; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) 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 // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) 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 // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "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] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. 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; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) 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) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 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"); (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"); (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"); (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"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal 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 assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) 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 // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) 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 `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) 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`. * * 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; /** * @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 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 the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol) 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}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden 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 { _setApprovalForAll(_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 || isApprovedForAll(owner, spender) || getApproved(tokenId) == 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); _afterTokenTransfer(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); _afterTokenTransfer(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 from incorrect owner"); 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); _afterTokenTransfer(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 Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @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.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { 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` and `to` are never both zero. * * 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 {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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); /** * @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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) 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() { _transferOwnership(_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 { _transferOwnership(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"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_royaltyRecipient","type":"address"},{"indexed":true,"internalType":"address","name":"_buyer","type":"address"},{"indexed":true,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"_tokenPaid","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"bytes32","name":"_metadata","type":"bytes32"}],"name":"RoyaltiesReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_MINT_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_COST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROYALTY_PERCENT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SALE_START","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SALE_STOP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITELIST_MINT_COST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"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":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintWhitelist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mintWithOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_royaltyRecipient","type":"address"},{"internalType":"address","name":"_buyer","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_tokenPaid","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes32","name":"_metadata","type":"bytes32"}],"name":"onRoyaltiesReceived","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"recoverTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"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":"newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"setContractURI","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":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c06040526005608081905264173539b7b760d91b60a09081526200002891600a919062001b35565b503480156200003657600080fd5b50604080518082018252601181527057617272696f7273206f6620506561636560781b6020808301918252835180850190945260038452620574f560ec1b9084015281519192916200008b9160009162001b35565b508051620000a190600190602084019062001b35565b505050620000be620000b86200014f60201b60201c565b62000153565b604051806060016040528060388152602001620044b3603891398051620000ee9160089160209091019062001b35565b50604051806060016040528060298152602001620044eb6029913980516200011f9160099160209091019062001b35565b506200012a620001a5565b6200014973aaf67c8333fa0d65e38c11e3657cd36f79a6f3bd62001a60565b62001c5f565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051611cc081018252732e10fd3884dce04f992a3b68d52f807014b412378152733341dd81d325f231aa744efd603b8255d8cc351560208201527344500a3d9b73b605ae860d0c12d7cbf31a2da5e591810191909152737b01429e5ade22c5b4002f0da287717e8ad053756060820152739474f08cb0b82863a04bdcd26238e274baaae42a6080820152733686a4b272c646ef6fbe34377337d95db7356e6360a082015273ac880de77e5dd805e7b724f1dec0a85602e57fb560c082015273e738052de24cdadb701be3a5f92516b72541f74b60e082015273b32b4350c25141e779d392c1dbe857b62b60b4c9610100820152730d439e560aa68b1c5a4580084d55d251c8f5bef96101208201527398ef61a73a79a61d2eab1c9fb388566caea11fc0610140820152735449209b61b472124708100f699e36d2217154c56101608201527320ec02894d748c59c01b6bf08fe283d7bb75a5d261018082015273058a9bbaa8e8e4dbd3defb383aee69d617e83d6a6101a082015273d651e2c626ee210fc38676124d5007ac822ad7496101c082015273ab4787b17bfb2004c4b074ea64871dfa238bd50c6101e0820152732ec5ebac21b1a03facbff9edbf4c906737f9e8f5610200820152736e63a4caeccb4f341ee9c9175c9cc554bdb6d10b61022082015273ad5c955274b7b66330c070417c79e5896ba91e7561024082015273935584a2e880b8eb225b44bd9ed6a52eae538f3c610260820152736207405ef8e92dbe7ae67a256211d85bcdb6379961028082015273591631285f17e0e3ae23c2695b632575b2455a1c6102a0820152737bd083591d46381b606813b5f6670a55363e59476102c0820152732f7b9f2f5f00dd2293b159b6e580a01e8da7acb16102e082015273588a4c42c3bd422a02f96041dfcc65eec59b7cc46103008201527334f3802366a59d96565ffded9bb601d5e28a3b8261032082015273825449d201ab8fbb27e339141d0bd75c2ef7ce21610340820152733ff66e83e8d0219363cb27aaad8ee34b93bf757a610360820152739a33ac1be5833cdaa83d88e121cac3ebc5a7bd5f61038082015273fee4db0e8bb10b4d5c50b67a3fd073a434910d286103a082015273067d3a2c55086c4080ffb3f42c70f5721bb63d5d6103c0820152721daaa0b2e05a6a102437e525042ce2f11f48186103e082015273d35231f0d9ac7bbce8a985c75ebe855d054d1bec610400820152731bf66cb6114e8ba9ed2d32b021cc2ddc7c785c506104208201527311360f0c5552443b33720a44408aba01a809905e610440820152730a61693925f8092040c3e5ff950daa58f8ef263e61046082015273ab83996cf53b6eb77a2fb27fb101b278670cd440610480820152736f583c478e61f08fde0097bdcb8ae7a88a28255b6104a0820152731e3c06381a11375aaee09c0a368c81e950211ea76104c0820152737dc86fab58672f39435f5249f6751b937244d6636104e0820152731ca42bb6d30d13ad38b54beeb7c0e1eb2abeb5cd61050082015273d7189a81961cb3cc0dd6ec6a1f90bc5f95dfd7f0610520820152739c4d96683af2329edd49c257d5411defff4b8d5c61054082015273010462e09d11875b5b17e1d800951919423f961661056082015273a00373e6cfdc3839619bf2b645c2028ca83f7580610580820152734e984e6c138bd8dc8637ed9e082117cce062a94b6105a08201527344d5a0b1e165a17c16d940ca774a28e62d4b44b06105c082015273e82660aa4fdbabac5c9fea0f1a217b8ceaf050cc6105e0820152731ec19d4a0521e1f915327715e0c0c2cd73b4dc74610600820152736d25415569524deb1780ecc9b6f66097134af29e6106208201527365fdc1863a34d51bd40be0e8582554ee42769d4b61064082015273228f9fd74f35080771a9e858f9575451d3ccf7ed610660820152732bafc1e12704563e329cbfe8332695d72065ba19610680820152733c1d98cbc61109d49373d2944b3ae3700be923ed6106a0820152738d2f3a76a76f055d62a931678ab16b042e7badeb6106c082015273b8ef7f2082a0783aef1a8f85ecf89f06cd94f8126106e0820152732d9c503c98707611a7f94a8ae5127713bd24b79061070082015273d6e3d88e5c3d7d3d204497ab53cc212ebde663df6107208201527353b244e43defadd6c3c62aab90b8fc9c483264f6610740820152736a8d75c3f7cab0d65a4baacc2633fe3e31b8f27861076082015273504c11bdbe6e29b46e23e9a15d9c8d2e2e79570961078082015273b9e6c686a6e091036fa9d5fe9c0b2bd0537cb95c6107a082015273341f196beba72155e7cb67a3ad02c67dbe54ea486107c08201527342a60d2f2ffa2150c568010a8d425f0aad284fd26107e082015273c13483cede1433a4ea42bfa6e05ef03b427c9ee2610800820152734df20811f63519532d0c6dc68def530f52c4e06e61082082015273b2ecf0a0d4361e243dcc5206b71aaf2dff0b805d61084082015273f7c66bcd6ea3607174da0bc8458bd1508027e539610860820152733f6224798fcc06c5710c60a60fb57e4edba6b8396108808201527373fffb65b2c8f61cb2a11548e88a94fd9fc7dc0b6108a082015273a1d112c61544bb72c83a866a08155e1b188310286108c082015273fda21479846b909a9b64a955b6644c725feec4b36108e082015273435ea0fbf0c516ff31d88e990b773eb84e8cdbe561090082015273f013e5f697e84c6831220a21a96556242ee9ad8661092082015273f97f757ed3aa1ef705f2957698a2b3b2cf2dcebb610940820152733db405ed4023aa389843297385bd65cae0b466216109608201527325f89312f39938314b615e85211ff03d5d0088c06109808201527384c42a0f1dff1bb673bccd63bca73e672225eda26109a082015273889cc8342c4ae6c390d74bcef706f656f85e5ac26109c08201527362f9acbd11350fb05b3215507dd1f6e05ed27af56109e082015273067aa2ffdc80e558a2b01c349190eef0c6a773cf610a00820152738e72ae54ec2c556070c1d395a0be8397a1e66474610a2082015273720e7be35069a46596d96dc0e58cb40675ebcfdf610a40820152739dd6ede5b1cf2d975a5c831a288b8ed7eca24f80610a608201527368233a413a6b48b348f2ae3e646baaaa839ca245610a80820152731ee8657df36c16753359ef1b9ef876e300740cc2610aa08201527372b9b8643b008240f6dfa0c684614dbb60458d38610ac08201527308e7dc763ea6f6f9865a76675dacccf3d3981fda610ae082015273925c559c7a4015fd25b47db32c85a4902c021952610b00820152732865ec116a7742a0f3a0cad741f994e2c01ee6dc610b20820152736b916d50869cdf9955fecb5dacb75278e31b2174610b408201527375e06a34c1ef068fc43ad56a1a5193f3778bf0b2610b6082015273c160bcf9a40532e3c1c4ce83020469cb851081cc610b8082015273477b6f91c9481fc64e9080ffd00527cd53563dd6610ba0820152733dfe98db80ecf45760f23e5517efe29423571eb1610bc08201527324b34fd24bbbc51ff9161d8f3782a1519a3c0d14610be082015273f3abccc785165d1600def7f44c505dbfcddcf0e4610c0082015273d6a984153acb6c9e2d788f08c2465a1358bb89a7610c2082015273f8beb91324bd3a4b201d23ded9eb4a9f7d6a072c610c408201527385de83464dde6d3557cc86bbb5ede4e73c787e8f610c6082015273da793c60c22afe53e3b0bd39c3e49d44d6af4f1e610c80820152737c6823f61223b71e9fd0b62bd43e326732d3b147610ca082015273b092e3f536ed6bce2d166b72aa27465a0ffd8a4f610cc0820152739d185b6146b50541f510adf722d13071e8a237ac610ce0820152736d4b3a607450005fb8f807940733f73974a08435610d0082015273f817b32dcbdacccaed4d80c70d57d03a8c238902610d20820152731bb01159ab168acd0cc055ead980729a2adae919610d4082015273d82e0032a9030835cf5a384344638faa8b18a219610d608201527312f16863343061bdfbf85292a414a159dd92dafb610d8082015273589dbece842c413be18a603e44e0dabce4908cde610da082015273231e9bd5c74caf431f17e421d103e0f121b66f1c610dc08201527350ab88046e972ef974755b9b0bce6053702aba19610de08201527304fb523ef05dadc443f61ae6ef59c5dbbb4406a9610e0082015273ef984be913c22645bdd7dc1388b3d2b9c5744092610e20820152730d75b5214b1b2181fe4d1830ca428ae860aac5a9610e40820152733ee3d0ccef50bc9a6ac43e763180c0c870fd2787610e60820152731c4e90fc8bdade442aed58f8011db5a17a2e7199610e80820152736e6561f85dcc43c8dc717be06b4000b06d8c7dcb610ea08201527334548011fb8e54418a90d004b9fc3224f8c65051610ec082015273e6dc5a552e55824625703fa015c568fbd3171875610ee0820152738f40496973fc78d389571812c0d43620369102c6610f0082015273a2089abce87ed0d44401f35aa4a1e2073f32c318610f2082015273dfb7b991cd8d36e747f81495da43ab429489bf9d610f4082015273a7230946a4421a68efc625b9e420d916c3924722610f608201527379b651b0c9819d9df785e20f05a53f06e487542a610f808201527328c122c94de37ec0eec4d7dd3def807ce13f8a25610fa082015273a0c08f25fb30f43bc83346ad3049295db5ecf5b6610fc082015273f60b4342cf2a83451cbc17b40c0f9527908f6c0d610fe0820152734e99667ad4a71f00486c01082f515e71422e786d61100082015273bf26925f736e90e1715ce4e04cd9c289dd1bc0026110208201527390e5aa59a9df2add394df81521dbbed5f3c4a1a3611040820152736e58309cd851a5b124e3a56768a42d12f3b6d10461106082015273bedaf1ed65daf1e076fd1c49e1e893027005a1bb611080820152730f9079c3a101eafa19bd5d83857efba8d34df0476110a08201527329f9ef8286dcc4f9a94340278db01f12c34839886110c0820152733be320a51bc61feb5c3edf65ffb225a39362cf1b6110e082015273cc3d6ac59cf8ed1f5528cad140266c9ce3d3c41b6111008201527366c17dcef1b364014573ae0f869ad1c05fe01c896111208201527366bdc08a0db3a83d374670a57aa8ecd5b51b55e5611140820152737742e29f398329d0a60246ce55db226b7689357861116082015273547b166bdf86eec60b269564553f37838c6f1c0a6111808201527398f973f10dd3263ae811cb1d7c9df31d1db129956111a082015273669631dbfeeaf801d221079f9f4ed22b96e0529e6111c082015273c851d9c6a6a5bf109493dc909e3faa311e0b220d6111e082015273322af0da66d00be980c7aa006377fcaaeee3bdfd611200820152739ff50b3c3aed6638cb5b631d09ce682b0d3ad9b2611220820152733168f1b642401234d48890ee9c30f67feec02c216112408201527374f54b4435eff8d5f680644cc6482434eb9221db6112608201527353c3fde3a71880af3a692266ee9778c93824887461128082015273fa34804390a2f6e14c547afa976d4479f5f660e26112a082015273d011efb7ac56497ba459fc0ea593f06bca97b3dd6112c0820152732d631a9c0ff16b57e6c85789341ef2c1bc7d0a2b6112e082015273a2bdfe560084e1cd2ad6bceff045f123d633dd56611300820152730b32b6a775ccf57ff75078a702249a65c8a581fe61132082015273200167320bd54cbf3732da291ac907beed6b736561134082015273d5bce7d1dd106b6eb0f5caa590f75bcf561eb7b261136082015273ab268c14e235e65c1c2f4abc673b3b03ae6fbf9e611380820152735c6ec56843182fe04271715c6be04bbc7edf0f846113a082015273fabcee287b5e76a128e3c8e876e2ab2edb9ca1016113c082015273f9b2b433fc953c209957d754a5e4334f2c8676cf6113e082015273707357f2d99f4432225195d5304a3112200d2cfc61140082015273b46782e99cddc4ef6e235ad84b16ddfe9b807d41611420820152736fd5e120dc8af1dcb2ecb73de4ed408a4ed465696114408201527306e28c3c956d47eb163c8462f77cf52e3e00c2f86114608201527350367be5fde4ec65eda56461f9675b95c2144a02611480820152734b41775ab35e75982fb1a3027d7fba786b47cf156114a082015273076610a4494528a637a4fa0cf1119c6d15a667546114c082015273bb4571ac427690c869fb98d0ee41e31bd2ee33326114e082015273d492c4971ef568f33a1255a8b346f572ba65173b61150082015273c800363b8b19c4a0f5e35047e87dab4b31c6e99f61152082015273375c8d30ea2363e374915fc341f0412d001587cb611540820152734f896dae9f8016871a802f059e1f5b9a287ed79f61156082015273e2ea08d1ff6eb2d238086b57d7b2441ebf04551261158082015273201b7b11a4d2f7b9227d86acbfdcb60687fc11546115a082015273dec096f829aac7bf4b9d927903ef08f51de34a216115c082015273c08a111f737c5ffc07a2558c554dfc4de5694ec06115e0820152736f2d9b59f562d3148845676646ea053cda537632611600820152734f4531df6f06a5a29ce19158bbe81f940c0cc886611620820152732e02cc491d5b7ca08e58a3b40b1ad76f3fdea14961164082015273fae8f86710e97dc8b667ddb55df5d62c3307e5f3611660820152735db123ed2656f3e1dba4adc6aa7250684a3aa072611680820152730f5a6c496fa973b961cd76707d653424e615e17b6116a08201527366eb811fd65677d7a320bf673db3dbe01ea688bb6116c0820152737b943e4cb3be59e52a41ef0c232b0d2dab9cb7fd6116e082015273028b19906cf2c423621ce818505c97da5d3283f061170082015273cc48857242141cc7f4f8555f8a3d5bed03556c1961172082015273a327a16b71ba107393e0dc046b0be0908aa667ad61174082015273ac359bb02e4f5fbf0eada1a3410086ff7f648f5e611760820152739b31a51df352c7cc0372b013172dad16cb40e314611780820152739f387401b2c566f621081989f7753b7cbdd1fe776117a082015273198e62b7d6ac3e41c009346e51b5cf53db019af76117c082015273b158572fc732ab7f4b3616871840726abc6a80156117e082015273151d74a53e886980a9f0afc7d392c37e48a743ba61180082015273fb5cb3c7d2c04f17b1c8b3c742d0d508bf48192861182082015273690da1f118ef4ad056785a1bb0a63d77f84c1ca761184082015273563b26ba6a2db99eb40aa4566aee341011dc70f3611860820152736e7013ef472cd749ffb04c74fd9c2525888be5c66118808201527305cc51f9d3c90e5438d26bec7ca1983d6d9a04a26118a0820152732fa510caf46f88ae7cab8daec696abbc299f8d206118c082015273b9858685c5f4478ffa22a32107036782878305b96118e082015273258a3cc3b154b090ae37a0abba9965f24e012ca6611900820152734d2fb20b25e39cc6db1e673acbb8c6c467b7c59461192082015273a75d6cd046b55c808c23bd2e4efc0b8910f3c7cf61194082015273ba8baff5bc5cc65749a62b51f328be91786ffde161196082015273c7cff3e96e553eaaf434749f88a0df920588cbcc61198082015273bedaef8720a3c265919d051f3951ba5fb9c220ae6119a082015273d825cd88c7ce286350a734dcee2ccdb2d3149ec36119c082015273241ed4222ce93fabe19892e15dbec5b640e6cc3f6119e082015273e73e90fc400c0256bc271c83e576acb97603452b611a00820152738bb900a63d240f6b8f9ac3c1432760b1c2e79710611a20820152736ab16923daa8109153680f4338028a98eac04725611a4082015273a0fae875f761c933c90c7706a51239d73233770c611a6082015273e310e94b4c239396beac0e3a6498e5b296c37616611a808201527247b224c56cfb6e3cfdf1ee3cc1d99527d67aea611aa082015273111b99d48b2e4ec1d059061314efa941fdadf25a611ac082015273b0708326673d57738ea85b2ece055b9fd114ce25611ae082015273d59753c4ad33d78e3e7dfa79c5cde5834167817b611b00820152734d10afe09ae7eed0beaa46207d381c71d315e43a611b20820152739a3c2b07b8a305a38c3dbdb4c2f076b44caeb175611b4082015273682065d9136f6a3397ed3623f7b62f7693d6b0d9611b608201527340a0bdc98adde176a359b071c91ecdad6f995e5d611b8082015273ca2e2b6e1973cfa495a877481999b90fdbf2920f611ba082015273840a1068f5825e983cd0eb9e82e489905dd456fb611bc082015273c9b3d0ab776c9caab78feb4d2aafa87a24cb5d87611be08201527394cf72b0f97072af598add966ac90acce801ff1f611c0082015273f53366d315d4aa114227f886045980789f698797611c2082015273766e5ccdf4593bf6cc3cd482745e7529133dd698611c40820152736be91abf32d3aae75ac78bc4bf53d9ec66708a14611c6082015273ee85ad2378b50b5d693cc29184e74b245bb45819611c80820152736bb4958a7f95e63ee2b2cf5acb4ae3d1aa9a895b611ca082015260005b60e68161ffff16101562001a5c576001600b6000848461ffff1660e6811062001a175762001a1762001c49565b602090810291909101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558062001a538162001c18565b915050620019ea565b5050565b6006546001600160a01b0316331462001ac05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b03811662001b275760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840162001ab7565b62001b328162000153565b50565b82805462001b439062001bdb565b90600052602060002090601f01602090048101928262001b67576000855562001bb2565b82601f1062001b8257805160ff191683800117855562001bb2565b8280016001018555821562001bb2579182015b8281111562001bb257825182559160200191906001019062001b95565b5062001bc092915062001bc4565b5090565b5b8082111562001bc0576000815560010162001bc5565b600181811c9082168062001bf057607f821691505b6020821081141562001c1257634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff8083168181141562001c3f57634e487b7160e01b600052601160045260246000fd5b6001019392505050565b634e487b7160e01b600052603260045260246000fd5b6128448062001c6f6000396000f3fe6080604052600436106102305760003560e01c8063715018a61161012e578063c87b56dd116100ab578063e8cb9d991161006f578063e8cb9d9914610658578063e985e9c514610691578063ee37e91e146106da578063f2fde38b146106f2578063fa9b70181461071257600080fd5b8063c87b56dd146105d3578063cdcd897e146105f3578063da3ef23f14610608578063e3d1a7be14610628578063e8a3d4851461064357600080fd5b8063a0712d68116100f2578063a0712d6814610550578063a22cb46514610563578063b88d4fde14610583578063c662e481146105a3578063c6682862146105be57600080fd5b8063715018a6146104b85780638da5cb5b146104cd578063938e3d7b146104eb57806395d89b411461050b5780639b19251a1461052057600080fd5b80632a55205a116101bc57806355f804b31161018057806355f804b3146104235780636070f791146104435780636352211e146104635780636c0360eb1461048357806370a082311461049857600080fd5b80632a55205a146103915780632d3df31f146103d057806332cb6b0c146103d85780633ccfd60b146103ee57806342842e0e1461040357600080fd5b8063095ea7b311610203578063095ea7b3146102e657806318160ddd146103065780631e7269c514610329578063226730301461035957806323b872dd1461037157600080fd5b806301ffc9a714610235578063069c9fae1461026a57806306fdde031461028c578063081812fc146102ae575b600080fd5b34801561024157600080fd5b50610255610250366004612393565b610727565b60405190151581526020015b60405180910390f35b34801561027657600080fd5b5061028a61028536600461234a565b610752565b005b34801561029857600080fd5b506102a16107f3565b604051610261919061259a565b3480156102ba57600080fd5b506102ce6102c9366004612416565b610885565b6040516001600160a01b039091168152602001610261565b3480156102f257600080fd5b5061028a61030136600461234a565b61090d565b34801561031257600080fd5b5061031b610a23565b604051908152602001610261565b34801561033557600080fd5b50610255610344366004612183565b600c6020526000908152604090205460ff1681565b34801561036557600080fd5b5061031b6362f2f4ff81565b34801561037d57600080fd5b5061028a61038c3660046121f6565b610a33565b34801561039d57600080fd5b506103b16103ac36600461242f565b610a64565b604080516001600160a01b039093168352602083019190915201610261565b61028a610b4f565b3480156103e457600080fd5b5061031b61056e81565b3480156103fa57600080fd5b5061028a610d54565b34801561040f57600080fd5b5061028a61041e3660046121f6565b610dda565b34801561042f57600080fd5b5061028a61043e3660046123cd565b610df5565b34801561044f57600080fd5b5061028a61045e366004612416565b610e32565b34801561046f57600080fd5b506102ce61047e366004612416565b610fb0565b34801561048f57600080fd5b506102a1611027565b3480156104a457600080fd5b5061031b6104b3366004612183565b6110b5565b3480156104c457600080fd5b5061028a61113c565b3480156104d957600080fd5b506006546001600160a01b03166102ce565b3480156104f757600080fd5b5061028a6105063660046123cd565b611170565b34801561051757600080fd5b506102a16111ad565b34801561052c57600080fd5b5061025561053b366004612183565b600b6020526000908152604090205460ff1681565b61028a61055e366004612416565b6111bc565b34801561056f57600080fd5b5061028a61057e36600461231c565b6113cd565b34801561058f57600080fd5b5061028a61059e36600461229c565b6113d8565b3480156105af57600080fd5b5061031b66b1a2bc2ec5000081565b3480156105ca57600080fd5b506102a1611410565b3480156105df57600080fd5b506102a16105ee366004612416565b61141d565b3480156105ff57600080fd5b5061031b600581565b34801561061457600080fd5b5061028a6106233660046123cd565b6114d3565b34801561063457600080fd5b5061031b6611c37937e0800081565b34801561064f57600080fd5b506102a1611510565b34801561066457600080fd5b50610678610673366004612237565b61151f565b6040516001600160e01b03199091168152602001610261565b34801561069d57600080fd5b506102556106ac3660046121bd565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156106e657600080fd5b5061031b6362ff18cf81565b3480156106fe57600080fd5b5061028a61070d366004612183565b6115a2565b34801561071e57600080fd5b5061031b600a81565b60006001600160e01b0319821663152a902d60e11b148061074c575061074c8261163a565b92915050565b6006546001600160a01b031633146107855760405162461bcd60e51b815260040161077c906125ff565b60405180910390fd5b6001600160a01b0382166107db5760405162461bcd60e51b815260206004820152601860248201527f416464726573732063616e206e6f74206265207a65726f210000000000000000604482015260640161077c565b6107ef6001600160a01b038316338361168a565b5050565b60606000805461080290612713565b80601f016020809104026020016040519081016040528092919081815260200182805461082e90612713565b801561087b5780601f106108505761010080835404028352916020019161087b565b820191906000526020600020905b81548152906001019060200180831161085e57829003601f168201915b5050505050905090565b6000610890826116dc565b6108f15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161077c565b506000908152600460205260409020546001600160a01b031690565b600061091882610fb0565b9050806001600160a01b0316836001600160a01b031614156109865760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161077c565b336001600160a01b03821614806109a257506109a281336106ac565b610a145760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161077c565b610a1e83836116f9565b505050565b6000610a2e60075490565b905090565b610a3d3382611767565b610a595760405162461bcd60e51b815260040161077c90612634565b610a1e838383611851565b600080610a70846116dc565b610abc5760405162461bcd60e51b815260206004820152601b60248201527f517565727920666f72206e6f6e6578697374656e7420746f6b656e0000000000604482015260640161077c565b306001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610af557600080fd5b505afa158015610b09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b2d91906121a0565b6064610b3a6005866126b1565b610b44919061269d565b915091509250929050565b6362f2f4ff421015610b915760405162461bcd60e51b815260206004820152600b60248201526a139bdd081cdd185c9d195960aa1b604482015260640161077c565b6362ff18cf421115610bd05760405162461bcd60e51b8152602060048201526008602482015267119a5b9a5cda195960c21b604482015260640161077c565b336000908152600b602052604090205460ff16610c1d5760405162461bcd60e51b815260206004820152600b60248201526a139bdd08185b1b1bddd95960aa1b604482015260640161077c565b336000908152600c602052604090205460ff1615610c6e5760405162461bcd60e51b815260206004820152600e60248201526d105b1c9958591e481b5a5b9d195960921b604482015260640161077c565b61056e610c7a60075490565b610c85906001612685565b1115610cc95760405162461bcd60e51b81526020600482015260136024820152724d617820737570706c79206f766572666c6f7760681b604482015260640161077c565b6611c37937e080003414610d125760405162461bcd60e51b815260206004820152601060248201526f15dc9bdb99c811551208185b5bdd5b9d60821b604482015260640161077c565b336000908152600c60205260409020805460ff19166001179055610d3a600780546001019055565b6000610d4560075490565b9050610d5133826119ed565b50565b6006546001600160a01b03163314610d7e5760405162461bcd60e51b815260040161077c906125ff565b60405133904780156108fc02916000818181858888f19350505050610dd85760405162461bcd60e51b815260206004820152601060248201526f43616e206e6f7420776974686472617760801b604482015260640161077c565b565b610a1e838383604051806020016040528060008152506113d8565b6006546001600160a01b03163314610e1f5760405162461bcd60e51b815260040161077c906125ff565b80516107ef906009906020840190612074565b6006546001600160a01b03163314610e5c5760405162461bcd60e51b815260040161077c906125ff565b6362ff18cf4211610e9d5760405162461bcd60e51b815260206004820152600b60248201526a139bdd08185b1b1bddd95960aa1b604482015260640161077c565b60075461056e11610ee85760405162461bcd60e51b815260206004820152601560248201527413585e081cdd5c1c1b1e481a5cc81c995858da1959605a1b604482015260640161077c565b61056e811115610f3a5760405162461bcd60e51b815260206004820152601760248201527f546f6b656e206964206973206e6f7420616c6c6f776564000000000000000000604482015260640161077c565b610f43816116dc565b15610f875760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88185b1c9958591e481b5a5b9d195960621b604482015260640161077c565b610f95600780546001019055565b610d51610faa6006546001600160a01b031690565b826119ed565b6000818152600260205260408120546001600160a01b03168061074c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161077c565b6009805461103490612713565b80601f016020809104026020016040519081016040528092919081815260200182805461106090612713565b80156110ad5780601f10611082576101008083540402835291602001916110ad565b820191906000526020600020905b81548152906001019060200180831161109057829003601f168201915b505050505081565b60006001600160a01b0382166111205760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161077c565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146111665760405162461bcd60e51b815260040161077c906125ff565b610dd86000611b20565b6006546001600160a01b0316331461119a5760405162461bcd60e51b815260040161077c906125ff565b80516107ef906008906020840190612074565b60606001805461080290612713565b6362f2f4ff4210156111fe5760405162461bcd60e51b815260206004820152600b60248201526a139bdd081cdd185c9d195960aa1b604482015260640161077c565b6362ff18cf42111561123d5760405162461bcd60e51b8152602060048201526008602482015267119a5b9a5cda195960c21b604482015260640161077c565b6000811161128d5760405162461bcd60e51b815260206004820152601960248201527f4d696e7420616d6f756e742073686f756c64206265203e203000000000000000604482015260640161077c565b600a8111156112de5760405162461bcd60e51b815260206004820152601860248201527f4d6178206d696e7420616d6f756e74206f766572666c6f770000000000000000604482015260640161077c565b61056e816112eb60075490565b6112f59190612685565b11156113395760405162461bcd60e51b81526020600482015260136024820152724d617820737570706c79206f766572666c6f7760681b604482015260640161077c565b61134a8166b1a2bc2ec500006126b1565b341461138b5760405162461bcd60e51b815260206004820152601060248201526f15dc9bdb99c811551208185b5bdd5b9d60821b604482015260640161077c565b60015b8181116107ef576113a3600780546001019055565b60006113ae60075490565b90506113ba33826119ed565b50806113c58161274e565b91505061138e565b6107ef338383611b72565b6113e23383611767565b6113fe5760405162461bcd60e51b815260040161077c90612634565b61140a84848484611c41565b50505050565b600a805461103490612713565b6060611428826116dc565b6114745760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00604482015260640161077c565b600061147e611c74565b9050600081511161149e57604051806020016040528060008152506114cc565b806114a884611c83565b600a6040516020016114bc93929190612499565b6040516020818303038152906040525b9392505050565b6006546001600160a01b031633146114fd5760405162461bcd60e51b815260040161077c906125ff565b80516107ef90600a906020840190612074565b60606008805461080290612713565b604080516001600160a01b038581168252602082018590529181018390526000918691818916918a16907f0fb6148a1327df610b19fe6e8b3721091048fabcee4e029d0fc14af6ac6b98469060600160405180910390a4507fe8cb9d992e917b09efbea9011da19409f5d85d7ec2a0d2b9861b32ef44c757c89695505050505050565b6006546001600160a01b031633146115cc5760405162461bcd60e51b815260040161077c906125ff565b6001600160a01b0381166116315760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161077c565b610d5181611b20565b60006001600160e01b031982166380ac58cd60e01b148061166b57506001600160e01b03198216635b5e139f60e01b145b8061074c57506301ffc9a760e01b6001600160e01b031983161461074c565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610a1e908490611d81565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061172e82610fb0565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611772826116dc565b6117d35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161077c565b60006117de83610fb0565b9050806001600160a01b0316846001600160a01b0316148061182557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806118495750836001600160a01b031661183e84610885565b6001600160a01b0316145b949350505050565b826001600160a01b031661186482610fb0565b6001600160a01b0316146118c85760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161077c565b6001600160a01b03821661192a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161077c565b6119356000826116f9565b6001600160a01b038316600090815260036020526040812080546001929061195e9084906126d0565b90915550506001600160a01b038216600090815260036020526040812080546001929061198c908490612685565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b038216611a435760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161077c565b611a4c816116dc565b15611a995760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161077c565b6001600160a01b0382166000908152600360205260408120805460019290611ac2908490612685565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415611bd45760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161077c565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611c4c848484611851565b611c5884848484611e53565b61140a5760405162461bcd60e51b815260040161077c906125ad565b60606009805461080290612713565b606081611ca75750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611cd15780611cbb8161274e565b9150611cca9050600a8361269d565b9150611cab565b60008167ffffffffffffffff811115611cec57611cec6127bf565b6040519080825280601f01601f191660200182016040528015611d16576020820181803683370190505b5090505b841561184957611d2b6001836126d0565b9150611d38600a86612769565b611d43906030612685565b60f81b818381518110611d5857611d586127a9565b60200101906001600160f81b031916908160001a905350611d7a600a8661269d565b9450611d1a565b6000611dd6826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611f609092919063ffffffff16565b805190915015610a1e5780806020019051810190611df49190612376565b610a1e5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161077c565b60006001600160a01b0384163b15611f5557604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611e9790339089908890889060040161255d565b602060405180830381600087803b158015611eb157600080fd5b505af1925050508015611ee1575060408051601f3d908101601f19168201909252611ede918101906123b0565b60015b611f3b573d808015611f0f576040519150601f19603f3d011682016040523d82523d6000602084013e611f14565b606091505b508051611f335760405162461bcd60e51b815260040161077c906125ad565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611849565b506001949350505050565b60606118498484600085856001600160a01b0385163b611fc25760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161077c565b600080866001600160a01b03168587604051611fde919061247d565b60006040518083038185875af1925050503d806000811461201b576040519150601f19603f3d011682016040523d82523d6000602084013e612020565b606091505b509150915061203082828661203b565b979650505050505050565b6060831561204a5750816114cc565b82511561205a5782518084602001fd5b8160405162461bcd60e51b815260040161077c919061259a565b82805461208090612713565b90600052602060002090601f0160209004810192826120a257600085556120e8565b82601f106120bb57805160ff19168380011785556120e8565b828001600101855582156120e8579182015b828111156120e85782518255916020019190600101906120cd565b506120f49291506120f8565b5090565b5b808211156120f457600081556001016120f9565b600067ffffffffffffffff80841115612128576121286127bf565b604051601f8501601f19908116603f01168101908282118183101715612150576121506127bf565b8160405280935085815286868601111561216957600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561219557600080fd5b81356114cc816127d5565b6000602082840312156121b257600080fd5b81516114cc816127d5565b600080604083850312156121d057600080fd5b82356121db816127d5565b915060208301356121eb816127d5565b809150509250929050565b60008060006060848603121561220b57600080fd5b8335612216816127d5565b92506020840135612226816127d5565b929592945050506040919091013590565b60008060008060008060c0878903121561225057600080fd5b863561225b816127d5565b9550602087013561226b816127d5565b9450604087013593506060870135612282816127d5565b9598949750929560808101359460a0909101359350915050565b600080600080608085870312156122b257600080fd5b84356122bd816127d5565b935060208501356122cd816127d5565b925060408501359150606085013567ffffffffffffffff8111156122f057600080fd5b8501601f8101871361230157600080fd5b6123108782356020840161210d565b91505092959194509250565b6000806040838503121561232f57600080fd5b823561233a816127d5565b915060208301356121eb816127ea565b6000806040838503121561235d57600080fd5b8235612368816127d5565b946020939093013593505050565b60006020828403121561238857600080fd5b81516114cc816127ea565b6000602082840312156123a557600080fd5b81356114cc816127f8565b6000602082840312156123c257600080fd5b81516114cc816127f8565b6000602082840312156123df57600080fd5b813567ffffffffffffffff8111156123f657600080fd5b8201601f8101841361240757600080fd5b6118498482356020840161210d565b60006020828403121561242857600080fd5b5035919050565b6000806040838503121561244257600080fd5b50508035926020909101359150565b600081518084526124698160208601602086016126e7565b601f01601f19169290920160200192915050565b6000825161248f8184602087016126e7565b9190910192915050565b6000845160206124ac8285838a016126e7565b8551918401916124bf8184848a016126e7565b8554920191600090600181811c90808316806124dc57607f831692505b8583108114156124fa57634e487b7160e01b85526022600452602485fd5b80801561250e576001811461251f5761254c565b60ff1985168852838801955061254c565b60008b81526020902060005b858110156125445781548a82015290840190880161252b565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061259090830184612451565b9695505050505050565b6020815260006114cc6020830184612451565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156126985761269861277d565b500190565b6000826126ac576126ac612793565b500490565b60008160001904831182151516156126cb576126cb61277d565b500290565b6000828210156126e2576126e261277d565b500390565b60005b838110156127025781810151838201526020016126ea565b8381111561140a5750506000910152565b600181811c9082168061272757607f821691505b6020821081141561274857634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156127625761276261277d565b5060010190565b60008261277857612778612793565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610d5157600080fd5b8015158114610d5157600080fd5b6001600160e01b031981168114610d5157600080fdfea26469706673582212204dc91e3bc48b331516ea73cfff4e82bf1602944c7a0bfa52ff39ba5ba5242ec264736f6c6343000807003368747470733a2f2f77617272696f72736f6670656163656e66742e636f6d2f6e66742f6a736f6e732f636f6c6c656374696f6e2e6a736f6e68747470733a2f2f77617272696f72736f6670656163656e66742e636f6d2f6e66742f6a736f6e732f
Deployed Bytecode
0x6080604052600436106102305760003560e01c8063715018a61161012e578063c87b56dd116100ab578063e8cb9d991161006f578063e8cb9d9914610658578063e985e9c514610691578063ee37e91e146106da578063f2fde38b146106f2578063fa9b70181461071257600080fd5b8063c87b56dd146105d3578063cdcd897e146105f3578063da3ef23f14610608578063e3d1a7be14610628578063e8a3d4851461064357600080fd5b8063a0712d68116100f2578063a0712d6814610550578063a22cb46514610563578063b88d4fde14610583578063c662e481146105a3578063c6682862146105be57600080fd5b8063715018a6146104b85780638da5cb5b146104cd578063938e3d7b146104eb57806395d89b411461050b5780639b19251a1461052057600080fd5b80632a55205a116101bc57806355f804b31161018057806355f804b3146104235780636070f791146104435780636352211e146104635780636c0360eb1461048357806370a082311461049857600080fd5b80632a55205a146103915780632d3df31f146103d057806332cb6b0c146103d85780633ccfd60b146103ee57806342842e0e1461040357600080fd5b8063095ea7b311610203578063095ea7b3146102e657806318160ddd146103065780631e7269c514610329578063226730301461035957806323b872dd1461037157600080fd5b806301ffc9a714610235578063069c9fae1461026a57806306fdde031461028c578063081812fc146102ae575b600080fd5b34801561024157600080fd5b50610255610250366004612393565b610727565b60405190151581526020015b60405180910390f35b34801561027657600080fd5b5061028a61028536600461234a565b610752565b005b34801561029857600080fd5b506102a16107f3565b604051610261919061259a565b3480156102ba57600080fd5b506102ce6102c9366004612416565b610885565b6040516001600160a01b039091168152602001610261565b3480156102f257600080fd5b5061028a61030136600461234a565b61090d565b34801561031257600080fd5b5061031b610a23565b604051908152602001610261565b34801561033557600080fd5b50610255610344366004612183565b600c6020526000908152604090205460ff1681565b34801561036557600080fd5b5061031b6362f2f4ff81565b34801561037d57600080fd5b5061028a61038c3660046121f6565b610a33565b34801561039d57600080fd5b506103b16103ac36600461242f565b610a64565b604080516001600160a01b039093168352602083019190915201610261565b61028a610b4f565b3480156103e457600080fd5b5061031b61056e81565b3480156103fa57600080fd5b5061028a610d54565b34801561040f57600080fd5b5061028a61041e3660046121f6565b610dda565b34801561042f57600080fd5b5061028a61043e3660046123cd565b610df5565b34801561044f57600080fd5b5061028a61045e366004612416565b610e32565b34801561046f57600080fd5b506102ce61047e366004612416565b610fb0565b34801561048f57600080fd5b506102a1611027565b3480156104a457600080fd5b5061031b6104b3366004612183565b6110b5565b3480156104c457600080fd5b5061028a61113c565b3480156104d957600080fd5b506006546001600160a01b03166102ce565b3480156104f757600080fd5b5061028a6105063660046123cd565b611170565b34801561051757600080fd5b506102a16111ad565b34801561052c57600080fd5b5061025561053b366004612183565b600b6020526000908152604090205460ff1681565b61028a61055e366004612416565b6111bc565b34801561056f57600080fd5b5061028a61057e36600461231c565b6113cd565b34801561058f57600080fd5b5061028a61059e36600461229c565b6113d8565b3480156105af57600080fd5b5061031b66b1a2bc2ec5000081565b3480156105ca57600080fd5b506102a1611410565b3480156105df57600080fd5b506102a16105ee366004612416565b61141d565b3480156105ff57600080fd5b5061031b600581565b34801561061457600080fd5b5061028a6106233660046123cd565b6114d3565b34801561063457600080fd5b5061031b6611c37937e0800081565b34801561064f57600080fd5b506102a1611510565b34801561066457600080fd5b50610678610673366004612237565b61151f565b6040516001600160e01b03199091168152602001610261565b34801561069d57600080fd5b506102556106ac3660046121bd565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156106e657600080fd5b5061031b6362ff18cf81565b3480156106fe57600080fd5b5061028a61070d366004612183565b6115a2565b34801561071e57600080fd5b5061031b600a81565b60006001600160e01b0319821663152a902d60e11b148061074c575061074c8261163a565b92915050565b6006546001600160a01b031633146107855760405162461bcd60e51b815260040161077c906125ff565b60405180910390fd5b6001600160a01b0382166107db5760405162461bcd60e51b815260206004820152601860248201527f416464726573732063616e206e6f74206265207a65726f210000000000000000604482015260640161077c565b6107ef6001600160a01b038316338361168a565b5050565b60606000805461080290612713565b80601f016020809104026020016040519081016040528092919081815260200182805461082e90612713565b801561087b5780601f106108505761010080835404028352916020019161087b565b820191906000526020600020905b81548152906001019060200180831161085e57829003601f168201915b5050505050905090565b6000610890826116dc565b6108f15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161077c565b506000908152600460205260409020546001600160a01b031690565b600061091882610fb0565b9050806001600160a01b0316836001600160a01b031614156109865760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161077c565b336001600160a01b03821614806109a257506109a281336106ac565b610a145760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161077c565b610a1e83836116f9565b505050565b6000610a2e60075490565b905090565b610a3d3382611767565b610a595760405162461bcd60e51b815260040161077c90612634565b610a1e838383611851565b600080610a70846116dc565b610abc5760405162461bcd60e51b815260206004820152601b60248201527f517565727920666f72206e6f6e6578697374656e7420746f6b656e0000000000604482015260640161077c565b306001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610af557600080fd5b505afa158015610b09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b2d91906121a0565b6064610b3a6005866126b1565b610b44919061269d565b915091509250929050565b6362f2f4ff421015610b915760405162461bcd60e51b815260206004820152600b60248201526a139bdd081cdd185c9d195960aa1b604482015260640161077c565b6362ff18cf421115610bd05760405162461bcd60e51b8152602060048201526008602482015267119a5b9a5cda195960c21b604482015260640161077c565b336000908152600b602052604090205460ff16610c1d5760405162461bcd60e51b815260206004820152600b60248201526a139bdd08185b1b1bddd95960aa1b604482015260640161077c565b336000908152600c602052604090205460ff1615610c6e5760405162461bcd60e51b815260206004820152600e60248201526d105b1c9958591e481b5a5b9d195960921b604482015260640161077c565b61056e610c7a60075490565b610c85906001612685565b1115610cc95760405162461bcd60e51b81526020600482015260136024820152724d617820737570706c79206f766572666c6f7760681b604482015260640161077c565b6611c37937e080003414610d125760405162461bcd60e51b815260206004820152601060248201526f15dc9bdb99c811551208185b5bdd5b9d60821b604482015260640161077c565b336000908152600c60205260409020805460ff19166001179055610d3a600780546001019055565b6000610d4560075490565b9050610d5133826119ed565b50565b6006546001600160a01b03163314610d7e5760405162461bcd60e51b815260040161077c906125ff565b60405133904780156108fc02916000818181858888f19350505050610dd85760405162461bcd60e51b815260206004820152601060248201526f43616e206e6f7420776974686472617760801b604482015260640161077c565b565b610a1e838383604051806020016040528060008152506113d8565b6006546001600160a01b03163314610e1f5760405162461bcd60e51b815260040161077c906125ff565b80516107ef906009906020840190612074565b6006546001600160a01b03163314610e5c5760405162461bcd60e51b815260040161077c906125ff565b6362ff18cf4211610e9d5760405162461bcd60e51b815260206004820152600b60248201526a139bdd08185b1b1bddd95960aa1b604482015260640161077c565b60075461056e11610ee85760405162461bcd60e51b815260206004820152601560248201527413585e081cdd5c1c1b1e481a5cc81c995858da1959605a1b604482015260640161077c565b61056e811115610f3a5760405162461bcd60e51b815260206004820152601760248201527f546f6b656e206964206973206e6f7420616c6c6f776564000000000000000000604482015260640161077c565b610f43816116dc565b15610f875760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88185b1c9958591e481b5a5b9d195960621b604482015260640161077c565b610f95600780546001019055565b610d51610faa6006546001600160a01b031690565b826119ed565b6000818152600260205260408120546001600160a01b03168061074c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161077c565b6009805461103490612713565b80601f016020809104026020016040519081016040528092919081815260200182805461106090612713565b80156110ad5780601f10611082576101008083540402835291602001916110ad565b820191906000526020600020905b81548152906001019060200180831161109057829003601f168201915b505050505081565b60006001600160a01b0382166111205760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161077c565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146111665760405162461bcd60e51b815260040161077c906125ff565b610dd86000611b20565b6006546001600160a01b0316331461119a5760405162461bcd60e51b815260040161077c906125ff565b80516107ef906008906020840190612074565b60606001805461080290612713565b6362f2f4ff4210156111fe5760405162461bcd60e51b815260206004820152600b60248201526a139bdd081cdd185c9d195960aa1b604482015260640161077c565b6362ff18cf42111561123d5760405162461bcd60e51b8152602060048201526008602482015267119a5b9a5cda195960c21b604482015260640161077c565b6000811161128d5760405162461bcd60e51b815260206004820152601960248201527f4d696e7420616d6f756e742073686f756c64206265203e203000000000000000604482015260640161077c565b600a8111156112de5760405162461bcd60e51b815260206004820152601860248201527f4d6178206d696e7420616d6f756e74206f766572666c6f770000000000000000604482015260640161077c565b61056e816112eb60075490565b6112f59190612685565b11156113395760405162461bcd60e51b81526020600482015260136024820152724d617820737570706c79206f766572666c6f7760681b604482015260640161077c565b61134a8166b1a2bc2ec500006126b1565b341461138b5760405162461bcd60e51b815260206004820152601060248201526f15dc9bdb99c811551208185b5bdd5b9d60821b604482015260640161077c565b60015b8181116107ef576113a3600780546001019055565b60006113ae60075490565b90506113ba33826119ed565b50806113c58161274e565b91505061138e565b6107ef338383611b72565b6113e23383611767565b6113fe5760405162461bcd60e51b815260040161077c90612634565b61140a84848484611c41565b50505050565b600a805461103490612713565b6060611428826116dc565b6114745760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00604482015260640161077c565b600061147e611c74565b9050600081511161149e57604051806020016040528060008152506114cc565b806114a884611c83565b600a6040516020016114bc93929190612499565b6040516020818303038152906040525b9392505050565b6006546001600160a01b031633146114fd5760405162461bcd60e51b815260040161077c906125ff565b80516107ef90600a906020840190612074565b60606008805461080290612713565b604080516001600160a01b038581168252602082018590529181018390526000918691818916918a16907f0fb6148a1327df610b19fe6e8b3721091048fabcee4e029d0fc14af6ac6b98469060600160405180910390a4507fe8cb9d992e917b09efbea9011da19409f5d85d7ec2a0d2b9861b32ef44c757c89695505050505050565b6006546001600160a01b031633146115cc5760405162461bcd60e51b815260040161077c906125ff565b6001600160a01b0381166116315760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161077c565b610d5181611b20565b60006001600160e01b031982166380ac58cd60e01b148061166b57506001600160e01b03198216635b5e139f60e01b145b8061074c57506301ffc9a760e01b6001600160e01b031983161461074c565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610a1e908490611d81565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061172e82610fb0565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611772826116dc565b6117d35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161077c565b60006117de83610fb0565b9050806001600160a01b0316846001600160a01b0316148061182557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806118495750836001600160a01b031661183e84610885565b6001600160a01b0316145b949350505050565b826001600160a01b031661186482610fb0565b6001600160a01b0316146118c85760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161077c565b6001600160a01b03821661192a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161077c565b6119356000826116f9565b6001600160a01b038316600090815260036020526040812080546001929061195e9084906126d0565b90915550506001600160a01b038216600090815260036020526040812080546001929061198c908490612685565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b038216611a435760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161077c565b611a4c816116dc565b15611a995760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161077c565b6001600160a01b0382166000908152600360205260408120805460019290611ac2908490612685565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415611bd45760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161077c565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611c4c848484611851565b611c5884848484611e53565b61140a5760405162461bcd60e51b815260040161077c906125ad565b60606009805461080290612713565b606081611ca75750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611cd15780611cbb8161274e565b9150611cca9050600a8361269d565b9150611cab565b60008167ffffffffffffffff811115611cec57611cec6127bf565b6040519080825280601f01601f191660200182016040528015611d16576020820181803683370190505b5090505b841561184957611d2b6001836126d0565b9150611d38600a86612769565b611d43906030612685565b60f81b818381518110611d5857611d586127a9565b60200101906001600160f81b031916908160001a905350611d7a600a8661269d565b9450611d1a565b6000611dd6826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611f609092919063ffffffff16565b805190915015610a1e5780806020019051810190611df49190612376565b610a1e5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161077c565b60006001600160a01b0384163b15611f5557604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611e9790339089908890889060040161255d565b602060405180830381600087803b158015611eb157600080fd5b505af1925050508015611ee1575060408051601f3d908101601f19168201909252611ede918101906123b0565b60015b611f3b573d808015611f0f576040519150601f19603f3d011682016040523d82523d6000602084013e611f14565b606091505b508051611f335760405162461bcd60e51b815260040161077c906125ad565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611849565b506001949350505050565b60606118498484600085856001600160a01b0385163b611fc25760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161077c565b600080866001600160a01b03168587604051611fde919061247d565b60006040518083038185875af1925050503d806000811461201b576040519150601f19603f3d011682016040523d82523d6000602084013e612020565b606091505b509150915061203082828661203b565b979650505050505050565b6060831561204a5750816114cc565b82511561205a5782518084602001fd5b8160405162461bcd60e51b815260040161077c919061259a565b82805461208090612713565b90600052602060002090601f0160209004810192826120a257600085556120e8565b82601f106120bb57805160ff19168380011785556120e8565b828001600101855582156120e8579182015b828111156120e85782518255916020019190600101906120cd565b506120f49291506120f8565b5090565b5b808211156120f457600081556001016120f9565b600067ffffffffffffffff80841115612128576121286127bf565b604051601f8501601f19908116603f01168101908282118183101715612150576121506127bf565b8160405280935085815286868601111561216957600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561219557600080fd5b81356114cc816127d5565b6000602082840312156121b257600080fd5b81516114cc816127d5565b600080604083850312156121d057600080fd5b82356121db816127d5565b915060208301356121eb816127d5565b809150509250929050565b60008060006060848603121561220b57600080fd5b8335612216816127d5565b92506020840135612226816127d5565b929592945050506040919091013590565b60008060008060008060c0878903121561225057600080fd5b863561225b816127d5565b9550602087013561226b816127d5565b9450604087013593506060870135612282816127d5565b9598949750929560808101359460a0909101359350915050565b600080600080608085870312156122b257600080fd5b84356122bd816127d5565b935060208501356122cd816127d5565b925060408501359150606085013567ffffffffffffffff8111156122f057600080fd5b8501601f8101871361230157600080fd5b6123108782356020840161210d565b91505092959194509250565b6000806040838503121561232f57600080fd5b823561233a816127d5565b915060208301356121eb816127ea565b6000806040838503121561235d57600080fd5b8235612368816127d5565b946020939093013593505050565b60006020828403121561238857600080fd5b81516114cc816127ea565b6000602082840312156123a557600080fd5b81356114cc816127f8565b6000602082840312156123c257600080fd5b81516114cc816127f8565b6000602082840312156123df57600080fd5b813567ffffffffffffffff8111156123f657600080fd5b8201601f8101841361240757600080fd5b6118498482356020840161210d565b60006020828403121561242857600080fd5b5035919050565b6000806040838503121561244257600080fd5b50508035926020909101359150565b600081518084526124698160208601602086016126e7565b601f01601f19169290920160200192915050565b6000825161248f8184602087016126e7565b9190910192915050565b6000845160206124ac8285838a016126e7565b8551918401916124bf8184848a016126e7565b8554920191600090600181811c90808316806124dc57607f831692505b8583108114156124fa57634e487b7160e01b85526022600452602485fd5b80801561250e576001811461251f5761254c565b60ff1985168852838801955061254c565b60008b81526020902060005b858110156125445781548a82015290840190880161252b565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061259090830184612451565b9695505050505050565b6020815260006114cc6020830184612451565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156126985761269861277d565b500190565b6000826126ac576126ac612793565b500490565b60008160001904831182151516156126cb576126cb61277d565b500290565b6000828210156126e2576126e261277d565b500390565b60005b838110156127025781810151838201526020016126ea565b8381111561140a5750506000910152565b600181811c9082168061272757607f821691505b6020821081141561274857634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156127625761276261277d565b5060010190565b60008261277857612778612793565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610d5157600080fd5b8015158114610d5157600080fd5b6001600160e01b031981168114610d5157600080fdfea26469706673582212204dc91e3bc48b331516ea73cfff4e82bf1602944c7a0bfa52ff39ba5ba5242ec264736f6c63430008070033
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.