ERC-721
Overview
Max Total Supply
500 AmaiversePass
Holders
271
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 AmaiversePassLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
AmaiversePass
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // // // // AAA MMMMMMMM MMMMMMMM AAA iiii // A:::A M:::::::M M:::::::M A:::A i::::i // A:::::A M::::::::M M::::::::M A:::::A iiii // A:::::::A M:::::::::M M:::::::::M A:::::::A // A:::::::::A M::::::::::M M::::::::::M A:::::::::A iiiiiii // A:::::A:::::A M:::::::::::M M:::::::::::M A:::::A:::::A i:::::i // A:::::A A:::::A M:::::::M::::M M::::M:::::::M A:::::A A:::::A i::::i // A:::::A A:::::A M::::::M M::::M M::::M M::::::M A:::::A A:::::A i::::i // A:::::A A:::::A M::::::M M::::M::::M M::::::M A:::::A A:::::A i::::i // A:::::AAAAAAAAA:::::A M::::::M M:::::::M M::::::M A:::::AAAAAAAAA:::::A i::::i // A:::::::::::::::::::::A M::::::M M:::::M M::::::M A:::::::::::::::::::::A i::::i // A:::::AAAAAAAAAAAAA:::::A M::::::M MMMMM M::::::M A:::::AAAAAAAAAAAAA:::::A i::::i // A:::::A A:::::A M::::::M M::::::M A:::::A A:::::A i::::::i // A:::::A A:::::A M::::::M M::::::M A:::::A A:::::A i::::::i // A:::::A A:::::A M::::::M M::::::M A:::::A A:::::A i::::::i //AAAAAAA AAAAAAAMMMMMMMM MMMMMMMMAAAAAAA AAAAAAAiiiiiiii // @0xZoom_ pragma solidity >=0.8.9 <0.9.0; import 'erc721a/contracts/extensions/ERC721AQueryable.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol'; import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; // Errors error URIQueryForNonexistentToken(); contract AmaiversePass is ERC721AQueryable, Ownable, ReentrancyGuard { using Strings for uint256; string public uriPrefix = 'https://data.zoomtopia.xyz/amai/amaipass/json/'; string public uriSuffix = '.json'; uint256 public cost = 0.069 ether; uint256 public maxSupply; bool public paused = true; bool public revealed = true; constructor( string memory _tokenName, string memory _tokenSymbol, uint256 _maxSupply ) ERC721A(_tokenName, _tokenSymbol) { maxSupply = _maxSupply; //to mint at contract deployment. Enter address and qty to mint _mint(address(0x8b008593562272fD65CD63CCcD9306bF7e8f4d51), 27); _mint(address(0x0918Bb6c7Ec474EE426BAfF2aDaD8d9b99a8450C), 59); _mint(address(0x55A9C5180DCAFC98D99d3f3E4B248E9156B12Ac1), 11); _mint(address(0xf10Dc48a05edF0b4A1e2beEC730b828C7298790D), 7); _mint(address(0x5FCc3D8E93790946aA1eBFFf29E3212E014C8ef0), 5); _mint(address(0x78f8C78a212d64CE1148355DEE3F26a6e029EbBa), 5); _mint(address(0xf10Dc48a05edF0b4A1e2beEC730b828C7298790D), 5); _mint(address(0x8D065b82f2B9A0B4De2C7FCd55bf5a7B608F88dA), 4); _mint(address(0xF74f8aD40B17887B0379D87C55C063DC2861aA2F), 4); _mint(address(0xA4dBA4a10d540a54C31534d9dCe37534e5D8CC22), 3); _mint(address(0xC05444251077C989b15D5460490538c983277163), 3); _mint(address(0x0064f54f2084758afA4E013B606A9fdD718Ec53c), 2); _mint(address(0x01E08b9566566B58cc63F2EDF6e7A94C9016117e), 2); _mint(address(0x0419c0a5d51A549fDb1eeDED70eD893b02dF89C8), 2); _mint(address(0x06915CE2113fF639dD3e0415ddE8b1dDe17Bfa01), 2); _mint(address(0x09Cd3208Dd33E409FD9a8b42bC8c3C0439bFC7b1), 2); _mint(address(0x0Ad76F6fe77683CD4408F21925c1cB03cf9270C3), 2); _mint(address(0x0C66FC6CE1103e84BA69C5205c90e09a1fcf58F9), 2); _mint(address(0x130D88903f9926ad7c1eBA2962c8B1b64bccd821), 2); _mint(address(0x134d645301538370406DF6d8b0803d569BaCc242), 2); _mint(address(0x13c8eB211b873CcD16E73B3a114303424863538a), 2); _mint(address(0x152d06cDAa573Cb48562680D8A9d383B3EeD4b5F), 2); _mint(address(0x16ec94931C1C3C4bbC8D3A9E8778E5f303a90ef3), 2); _mint(address(0x1781FaCf9e7098F64eB5C5bA503FBe3238115be9), 2); _mint(address(0x1aA666D676Fde62ae9477c75e7F501f214D1849c), 2); _mint(address(0x1b3B2d37bF022E2Dc10F959972A04e585e349dAa), 2); _mint(address(0x1C65841EDa71e91b0dC43DD17bd5aa52b03EE364), 2); _mint(address(0x1E9703Bb8846869FAed61A879Ac65735D3D6A4f2), 2); _mint(address(0x1f9573a3ABd613ce650f786F44E64B67b7EDBDf1), 2); _mint(address(0x282d656A9d95c64522F6Bc1a42EE759DE81e8dc0), 2); _mint(address(0x28beBBBf890Da864C0Db39e278B868493eB7c8e6), 2); _mint(address(0x2bF5b69DC1665FBf4370F29862A44d09d48b8cDE), 2); _mint(address(0x2Ca5D416d1fd797B598D0300Ad8fFf4aE32BaA4C), 2); _mint(address(0x2cDAAF054a63C2eaeA23A7A071E39bE872f2f808), 2); _mint(address(0x3013Ec0E1F8DD61dc7A10c5C1B9bc04f3A6B7AE6), 2); _mint(address(0x33F7b256548b12AE5aE2070f7E85BB31DF7a44E4), 2); _mint(address(0x35365aE5c8557EA978A63b35a6459f2560e809B9), 2); _mint(address(0x35B5Ace0115e72e11e5ea7Ddcb9267447c0267c1), 2); _mint(address(0x396E4f18D72799825cD814846Ec114f73389A625), 2); _mint(address(0x3B99CC55c357829FA8aC9bd21AB2CE43F4B56a9c), 2); _mint(address(0x3BF856111223340b1b0D84265c6836776630aB1a), 2); _mint(address(0x3C9d6d04C8d950e07666DCc30913Bfb3eF4f5fD0), 2); _mint(address(0x3cF826F719bb884b820ABa148dE0f387661D76f0), 2); _mint(address(0x3D259d96BC069418FEC9C4AFC7dcF8e7862664CB), 2); _mint(address(0x439019390f6E1F9FB3BFd893931626f1BcbCCF40), 2); _mint(address(0x44bffa8B2c11884396Ba62ceD8C77bEEc984b10d), 2); _mint(address(0x48eCdCcCF3F0f9da699c5f6D78E8E3B3F8dd99F2), 2); _mint(address(0x491C3D6638535f136c9d0Eb250468973981efd82), 2); _mint(address(0x4B30697B4Eba165510f98f18B11dd205530afAD0), 2); _mint(address(0x4C47077e33C9Ee5Fa81eF4f56133Bb9E86274da3), 2); _mint(address(0x4f6Ce0E463D2C19372b8a31f707ccC8bd71840e5), 2); _mint(address(0x51728EB00d21CD77d630e4F9ABd08f5b7131dc5a), 2); _mint(address(0x52f76f9C2B777cF6b15fbAeB0D6F24ee5aC2f91b), 2); _mint(address(0x537b2671238Dc3db1352668D0F4f4651da8ecc6D), 2); _mint(address(0x573cD2eD0e42Ab76C11f39Db3C749Cd9dd37745B), 2); _mint(address(0x579a28d03eb4099B784507e6f60eF8b1cD1d6e8d), 2); _mint(address(0x57f016d7f5A400B70055230f5E956Dc3aF93A424), 2); _mint(address(0x5d6eCAD3eCA7473958B2bB91a7faE6F740b1AB46), 2); _mint(address(0x6129a7863eDb39759Ada8ca4555251fC37cDd4c9), 2); _mint(address(0x613b82bddCec9c12CC298bbBd217EF05FF22db2d), 2); _mint(address(0x646eF0b780dbDbaEA2d8a44B39AbCD0DC44B8363), 2); _mint(address(0x66460709ce7FD585bb22dE1Fea871B87E096f34a), 2); _mint(address(0x673b0FFfCb155BEfF8532c94f5B25e9a7C0CBA5C), 2); _mint(address(0x67C589ADF79EC2d59EEfe17fC9c20d0485E4D284), 2); _mint(address(0x68a9360E07a5fe96a2209A64Fa486bB7B2dF217B), 2); _mint(address(0x69Da243B41aaE36E95742C3fbe15A06BCe190cbB), 2); _mint(address(0x6f33e7b6460daC803c53ab6e02da8C675633d516), 2); _mint(address(0x7261a3b25f410a2E90D12a79BF6A2EEA89A41993), 2); _mint(address(0x771810c156e9f77A0EDd3fb8f5683B4f150E35C1), 2); _mint(address(0x77F00a4676844AF2C576aB240a423DCd81664c8E), 2); _mint(address(0x7Aef2Ea455491912fBa986E2C285c5759C94A723), 2); _mint(address(0x7bb58319bA8D1434e78d5D86a8DeeE4c45F73a29), 2); _mint(address(0x7BcDC28950DFdc88eA44f4f74B893982B9794d81), 2); _mint(address(0x8028407DDEdb611686446edA47619754e299E005), 2); _mint(address(0x8186AfE9f4EE7C1667C9F22966b63528B3Cd1210), 2); _mint(address(0x83d0F5478948c88B2dB0378061C6e6140B872c5D), 2); _mint(address(0x85937d6b43b77ecA2F9fA96bc149739bFB48D5fd), 2); _mint(address(0x89CE794D2B4079D202C9de6a62c71C11193BE9b5), 2); _mint(address(0x8BAB28F68b87d10473299a9bB713820ae7b63DdE), 2); _mint(address(0x93A08C51F124AcCa06295Ca8F0B3435B071bFca0), 2); _mint(address(0x98532fa1DFeA60e03499ea02F747D7E12d801dC0), 2); _mint(address(0x99Bb6210d2111382c323800BA2641eAa42fea0E2), 2); _mint(address(0x9aE982ab0ACF01167Fb5713062b011Ffb396b805), 2); _mint(address(0x9B082a4Ca71E4f28C1789112F2B6F8c7c20099cf), 2); _mint(address(0x9Cbf45642acf39B23a0AeD84c319C46B169a05F7), 2); _mint(address(0x9F9F6d8646455d023418266F5084a99Bc312378F), 2); _mint(address(0xA5Df69C1F7a1eFF14Ff6F682733C7B8D6DA62ECc), 2); _mint(address(0xac18BAD4072a8dd2F5F6ac3dcA06d0f4BEC43e6B), 2); _mint(address(0xaf496250Dddb00a0B211ABb849460B69Ca5f27Dd), 2); _mint(address(0xB2e1c9C2FfAef4883ad7E01Cf4F772346C0A935b), 2); _mint(address(0xB500C39Ceedd505B4176927D09CDce053A1584f3), 2); _mint(address(0xB5c00ABaE4e6d6F942B3B8ee69Faab3C5301557a), 2); _mint(address(0xb5d74F8BDB8AB8bb346e09eD3D09d29495B16849), 2); _mint(address(0xbe7477f91Cda5a3CFdE46CA6e2D8fE8A1c51161c), 2); _mint(address(0xC0bd0a42De27dF27cBCEA25a8079e533BeCaf703), 2); _mint(address(0xc1307715330be41EADb48bCEE533994E57fe7Bce), 2); _mint(address(0xC21F167bC57e1b82931f3398bfd1Ec656310Ed89), 2); _mint(address(0xc4C2b2260579F4DD537B611F294b5eD85d269355), 2); _mint(address(0xC544aA98D0788a05A85Badb0F9D592463b8B332c), 2); _mint(address(0xC6d90EDF79Db0f0Ff3A5fc342e4be49531Df5F16), 2); _mint(address(0xCbe5688cd9F2B70DAD5026750Da77EE861a93957), 2); _mint(address(0xCF9263A1717384df814Cc87eb67d6Ad46E629dD5), 2); _mint(address(0xcFD51b98cF9D2378D5e6882969dA8E2e7be9D488), 2); _mint(address(0xD48ad0e91F911b1a9f95DbD8b626F10B3683d312), 2); _mint(address(0xD4a133E80DD0112Ca64473B6f9B8628de7dC3B2D), 2); _mint(address(0xd4e41C87b961D1270D970410f2b74EA7B989BF6B), 2); _mint(address(0xd53314c970059C003DE57C2cFcebFA45392B7F09), 2); _mint(address(0xd5DE6C8017AB7d3C86618fA73e9477FFfa3809A1), 2); _mint(address(0xD921F4A1EDdc1f2c9fFf254015d2428F91BF5c40), 2); _mint(address(0xdA49C840237177751625EDf87f549aCc558498d2), 2); _mint(address(0xdC9bAf5eAB3A767d390422Bd950B65a1b51b1a0A), 2); _mint(address(0xDF587e9C36f721AcA660387Ea6226efE5AfbbA19), 2); _mint(address(0xe06b37206ABb46630e6123b71834F2a6741d1442), 2); _mint(address(0xE3cb8B436E7e548F6aCC8C1f2EFae6b062Ac0aF9), 2); _mint(address(0xE69a4272E433BC13C05aeFbEd4bd4Ac059DD1b46), 2); _mint(address(0xe86474F97bE2506E8256DD75CB132099E389f520), 2); _mint(address(0xEC1d5CfB0bf18925aB722EeeBCB53Dc636834e8a), 2); _mint(address(0xedaDFDA063374cA9f7F7DDC0873E75c437Dd6E4a), 2); _mint(address(0xef3ff0AbDd9Ea122C841A878A36B89886eF0C273), 2); _mint(address(0xF095731c807A08009099B0a3EBa61FA2Cf09b10B), 2); _mint(address(0xF5092b6A846443FB93553Ad6a4f5Dec54b5Ce160), 2); _mint(address(0xf7A04E45F40BE7E4a310cF8052891f9538B007dd), 2); _mint(address(0xF848E384e41d09DCe3DcAeD37e1714418e68ea7F), 2); _mint(address(0x001A181aB8c41045e26DD2245fFCC12818ea742F), 1); _mint(address(0x009A950aC242a003D0eB6e2Fd1512E07A744Bd3d), 1); _mint(address(0x058FD36A48e1C9980B34b41eaC8a46C3EAF19A41), 1); _mint(address(0x070465efB322FCeac5a48B391cb1415825d696e1), 1); _mint(address(0x090941a93cf21c0811D880C43a93A89fDfac3000), 1); _mint(address(0x0b7293C15e988380F9D919E611996fc5e480d2A9), 1); _mint(address(0x0EE8951FE70b088B5Ecf63AF4491Ed230Bbd51A6), 1); _mint(address(0x12D0ced4220F5AcD0B0749bDa0747A2051fBB280), 1); _mint(address(0x14d2B8fE5A5F4B86B5eacCe1790E582956C92CD2), 1); _mint(address(0x1569Fe724EED1D194c9D11E77E70699deB6000Ba), 1); _mint(address(0x1EBe5a5E9b739755b5855f6eE4367EE47127d8c5), 1); _mint(address(0x2337304b24cA702707254C7FFd70a176cF5B7a1d), 1); _mint(address(0x242A6a875C09f7Da1c6DbA535C4736d1Fb3a8a5f), 1); _mint(address(0x24f854C69A7f654Dd8769Ac215F6F27C65E71fBc), 1); _mint(address(0x294AED5e032973987d6DF2f5434A4652C5Cd6054), 1); _mint(address(0x2B0be11CdDE5E055F7FcD7846923c8859062E262), 1); _mint(address(0x2cB05b0F6992Bf77dBAD4880A037856287b64D54), 1); _mint(address(0x2E0Ac148D7c2F5762241178076eB6Cccee23e547), 1); _mint(address(0x2f623b63EC0B567533034EDEC3d07837cFCC9feE), 1); _mint(address(0x304016F76ce884632f1119A8063711353936453A), 1); _mint(address(0x311AfE145aa7Ce5400C77EE92F2F19558166ea7c), 1); _mint(address(0x31E944CA60D7FA097657275d9Da109EB4688ba85), 1); _mint(address(0x375C8bE95978bd235420150281CE1A77C8AeCE09), 1); _mint(address(0x37Db1629458c7ACd1ECC0b6702AC0C6636341F99), 1); _mint(address(0x38118e79E96852121Ab4C7d067B648B34E0AAc88), 1); _mint(address(0x3866FE1B14D803D00377aFfde2F37f860b807c5e), 1); _mint(address(0x396156351Fa5ecFF68517149D131Fb7dE77d93DA), 1); _mint(address(0x39BB8569Cf6B4565AfcAd959574cdc6b53025a7f), 1); _mint(address(0x3aeEdCd329E91e352D6c3d42c2B90d4e33a9E7D5), 1); _mint(address(0x3D1F11373e6e19FaEA64CcD73c83b1064B737397), 1); _mint(address(0x3d9818129CfC721dFfF75dc8963d0e5ea4372534), 1); _mint(address(0x3f99FfA4b95e329a5cE92F24410d253C438606b0), 1); _mint(address(0x419684E4a857CBBfB478963C01525E0D4fdA9dC2), 1); _mint(address(0x41C4DA71429C9a156Bbde925949A2842DE98c2c5), 1); _mint(address(0x421C0D91feF38C1B4E9EfB1e810D6f7e12C7BAc9), 1); _mint(address(0x44E808C938ac021E98a2eA76416bFb26CfAec574), 1); _mint(address(0x4509F7051e0B5c18C70e86bF6b7CA808246D3F2c), 1); _mint(address(0x47e3B5CfD62242b3e7612D09f6e870b54eCE9971), 1); _mint(address(0x4bb1fe25A13fDfC766E4917A7FdC709e0fc15d1e), 1); _mint(address(0x55c6794647b9208F69413b8E0ABfFF00f4023ca4), 1); _mint(address(0x57c9aD6A5c450Bee5c1Bb5228DE6C2Fe1e22E811), 1); _mint(address(0x58A506e6b3744EcA4E600dc1b145bae7618Afd4F), 1); _mint(address(0x5B7BBBbB88fCE6e1d4CCC425e58CE144456e64d7), 1); _mint(address(0x5d44325f594cebBfF6D699603E82D20281b6165f), 1); _mint(address(0x5d6DA2bbFaf6C677e2397eF486DAa9040982C05e), 1); _mint(address(0x5e4FAe4CDFD9F91C3E7310E5D65ab2B93daB1Fb1), 1); _mint(address(0x5E9c7F04C0d7e7DB95D66AE5402b7226Bdd166C2), 1); _mint(address(0x5F5104b01bA807d6D48217D21ee3244c511163E8), 1); _mint(address(0x5fd858A44579ee3b794CE14d39A25C172E5a97A1), 1); _mint(address(0x605b2d5810ad080d89b3F4EC426F13790A3366E1), 1); _mint(address(0x61329C08bE7410b5fD905d982D2D06806E426ae3), 1); _mint(address(0x67a45dBe24117536EAe23e0C5FE742B8770E7b00), 1); _mint(address(0x688BC734E0f452DD46c6B36f23959Ea25F683177), 1); _mint(address(0x6fA65eB67D7570d172221d8f7E63865223ee0900), 1); _mint(address(0x6Fc769A80ECcb7D577D3E1924B05290D988BE3E6), 1); _mint(address(0x700704E7ee38469D15409b8641a2f66e66366556), 1); _mint(address(0x72194DAc7BeB999d01bD6b152f6787101E7a0B2E), 1); _mint(address(0x751fE2c89623E69E650207278B4757f6369e33e9), 1); _mint(address(0x754CDeB8386297b36bC2EBbEE11f9A886EE7c6b2), 1); _mint(address(0x77424437E320fc70Ab04D983e259CA6e6e205C86), 1); _mint(address(0x7908d3A0C312f032f68f168c7A2D8C25F191CcE0), 1); _mint(address(0x7d18504239Dec7672bC64c63E2ECe217557A1B9A), 1); _mint(address(0x7e5EDf76E2254d35f0327953AAE62D284D204949), 1); _mint(address(0x818b5f863419dc77a859431FB99dB936B58F93B3), 1); _mint(address(0x8209BC03C70fE0B6cBAd5ed1Ca817775D14B522f), 1); _mint(address(0x8365236b8b29EBe2A67eE167E605cFb7f28bd393), 1); _mint(address(0x83e71089349038eE3F8B0e4F2dB8Aa20F9C2e16F), 1); _mint(address(0x863Fcafe33e1049364D1B123cfDf6Fa70Bfd8fDA), 1); _mint(address(0x88937e9aD8b0C5988f0e56C705A8f3B7294F5CD0), 1); _mint(address(0x8D619F39dAEA4C37B6a1CE62fc3D71285834CEa3), 1); _mint(address(0x92B99779Bc3471706A8f9Eb0F3975331e6664678), 1); _mint(address(0x943D33A333cbB6471670F8dd82B48004993B0Dc1), 1); _mint(address(0x94570e4e3E204bb40B66838239c0b5c03089aa96), 1); _mint(address(0x953E9e00342dd8aB762350C70a6076DbE4Aa7054), 1); _mint(address(0x96846e86df08b2D4430C42A764349cF93279A474), 1); _mint(address(0x96aA593b3B1F6DB5fDc7e3d23D08cF3B55d40069), 1); _mint(address(0x97655DC25eC4B379A59B09061a0276a1b402443B), 1); _mint(address(0x9b4c2F3666dDc7802050038A29B884B4dAE2C319), 1); _mint(address(0x9b8c55E8f77618013fBA3Aca621E128593d8b96d), 1); _mint(address(0x9Bc124e5FEAcf85660C04a2D898bdC14F1D7CB81), 1); _mint(address(0x9CC1E3208dB2510f0919C474e602F3E7B5E07593), 1); _mint(address(0x9D95477f3852f3a9BbB4711982F53e7089ae62ee), 1); _mint(address(0x9e491c15e52E01cbB34c82882C669Ca14B88D0A6), 1); _mint(address(0x9fa03f422B5AAF9C74f0464E5AE7A3C9223d646D), 1); _mint(address(0xa0FE2486b4a9d860B9b246980A07F790e8fEfd77), 1); _mint(address(0xa47eF5846Be26376fB6A729FfF349d892aa1bb9f), 1); _mint(address(0xa4F11D739c1877dDa21A925DDea3988ACC80497C), 1); _mint(address(0xA5a53E5F629C09d4cB415F03174BF50E7412455C), 1); _mint(address(0xa67B4C7d0E152fB41b015318B72a748E362DdA35), 1); _mint(address(0xa754a4b33f4C4657F39E314704Db3aA84df2A6f9), 1); _mint(address(0xa81C0B1A399340456eF30216a2e006955F17ECE8), 1); _mint(address(0xaA993A40732873c430d29Fb8D8016BF861aD0614), 1); _mint(address(0xAc7d5CAE3496cB34269Fb9f41EDa1a676b173205), 1); _mint(address(0xaeA6B1284E0336F45853f540843b8E95ccF07225), 1); _mint(address(0xB2277c6567Be71F09AEBDE976Dbe280Cf073c8c8), 1); _mint(address(0xb3691FE1EC4d22Eba2840ba8199423d5231eB0f5), 1); _mint(address(0xb4647935dAf725D8ec140B7FE6055811BBEd7AaE), 1); _mint(address(0xb4Eb7610C445d25f616EDb02E8034C6FDd997CC9), 1); _mint(address(0xB527b6B0217A40a463f5f0bc56d263289FDEaD0c), 1); _mint(address(0xb646A14Fd2f387dbAa567cB7D7a6F3f5EB76954C), 1); _mint(address(0xB6E393487A67B3EB851C4C81e9f83A9018e4cD86), 1); _mint(address(0xb97A5CD956Ae1ce225A47CDC735097669f100415), 1); _mint(address(0xBa355ABbD461B1aE1C0aad8d9BC00481D3403DAd), 1); _mint(address(0xBc0b3fcCF30DE98E88871094af29caEB1e3329F2), 1); _mint(address(0xBD75f3591275420e573934B065C635286CB37f8e), 1); _mint(address(0xC235a646eA5284947ff5f351B0a23d1BcbBeE6FE), 1); _mint(address(0xC250689C9B1643914a710B6D646f6041140b3E03), 1); _mint(address(0xC41CfcEc2b5f65A2c6bF70869cbC116Aa0ec0Ada), 1); _mint(address(0xc4928d888FAf7865d51b519cA0A6123E5Ef1b02F), 1); _mint(address(0xc5e3612821BBa645D6F6980d2EFA6f2017e57210), 1); _mint(address(0xc72EA0B7f0Fe29E557117DB7b79a36af17Ddd4b5), 1); _mint(address(0xcC6104D516F720845b7A2ed405fe7d112879f89e), 1); _mint(address(0xcd1C78538E3Cc0D2ceadd87b8124357d86566365), 1); _mint(address(0xcd1f2390F69e8adED87d61497D331CD729c83fA4), 1); _mint(address(0xCd2ED66a85a0D4141Bc9760d47958dc253e8C962), 1); _mint(address(0xcDf3B9D5F41ba95E8fA576937afEfb66d0fFc9B1), 1); _mint(address(0xCE2461C6c8B7Ed3eb2cB6DbBb6E86716883AaC8c), 1); _mint(address(0xD0058288bdD23Da52bE35e9D175D4Fef11800D26), 1); _mint(address(0xd08B3A5254058375Fc85726dfA048E56B214C660), 1); _mint(address(0xd5562b10E0350Ec8751dA9a036BF9c653CE11C7b), 1); _mint(address(0xD5B3FD4FD1269d31A266Ac0b2A1238Be677483De), 1); _mint(address(0xd7368A7b3A01Ff775b7F93115423fCE4F293D87C), 1); _mint(address(0xD7Aaad8dDBD9E8Ac3B25839471d4A95086553858), 1); _mint(address(0xd7b98Be11A654965147B3F2BBc955086E96E49e6), 1); _mint(address(0xdb538460FcBe9C7991a58A5AB29239E4876eb178), 1); _mint(address(0xdf6398d0e5C6638a3dC0352935648e4E08707cd5), 1); _mint(address(0xE11D08e4EA85dc79d63020d99f02f659B17F36DB), 1); _mint(address(0xE1b73e9F3B507035f6f49c076a798BC258b0c104), 1); _mint(address(0xe3468A10580c77227cf39b8747a8cC8913FFfbbC), 1); _mint(address(0xE69031047dAbED1BF227a26c405718B9ca2d4877), 1); _mint(address(0xE8FF1f9029c6e9759D3C3A344161c4Fa229d441D), 1); _mint(address(0xec501b18Fddd1e6478221eAa8b1a38F7aA087C82), 1); _mint(address(0xeCcfC341614d93885B6E73E8ae8F63432D9FDB38), 1); _mint(address(0xed278A7a1A191EF365C1FA55373A8aF6638F5A02), 1); _mint(address(0xEd5F4B85b1b1E8ed831979AA3D4222969b7a81Fd), 1); _mint(address(0xEfe2E6f23985ca990253D44c7101733eB33c5EB8), 1); _mint(address(0xF4e23d45846C20f35760AA33570E0CD14390b5f4), 1); _mint(address(0xf681041Ec4F46100196B99a535eE928c50dD552f), 1); _mint(address(0xf7241B73BdD904f5f619DBB424077F8707DADd55), 1); _mint(address(0xF86f899a12fA652d29611bFab019226e2E60e9D4), 1); _mint(address(0xfB8089fF11C9A5A322d4f18f6DB905fD4288F144), 1); _mint(address(0xFdDda9224aE4558AF2882080d70959F6c3Fb06C7), 1); _mint(address(0xFefF0FC24C2831C550D34eBA9e4Cc8162dC20Bae), 1); } //Airdrop function - sends enetered number of NFTs to an address for free. Can only be called by Owner function airdrop(uint256 _mintAmount, address _receiver) public onlyOwner { _mint(_receiver, _mintAmount); } //Set token starting ID to 1 function _startTokenId() internal view virtual override returns (uint256) { return 1; } //return URI for a token based on whether collection is revealed or not function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { if (!_exists(_tokenId)) revert URIQueryForNonexistentToken(); string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), uriSuffix)) : ''; } //Reveal Collection -true or false function setRevealed(bool _state) public onlyOwner { revealed = _state; } //set revealed URI prefix function setUriPrefix(string memory _uriPrefix) public onlyOwner { uriPrefix = _uriPrefix; } //burn function function bonfire(uint256[] calldata tokenIds) public onlyOwner { uint256 num = tokenIds.length; for (uint256 i = 0; i < num; ++i) { uint256 tokenId = tokenIds[i]; _burn(tokenId); } } //set revealed URI suffix eg. .json function setUriSuffix(string memory _uriSuffix) public onlyOwner { uriSuffix = _uriSuffix; } //Function to pause the contract function setPaused(bool _state) public onlyOwner { paused = _state; } //Withdraw function function withdraw() public onlyOwner nonReentrant { //project wallet (bool hs, ) = payable(0xAb3dda1c8f298FC0f51F23998e47cf9832aD659b).call{value: address(this).balance * 965 / 1000}(''); require(hs); //dev fees (bool os, ) = payable(owner()).call{value: address(this).balance}(''); require(os); } function _baseURI() internal view virtual override returns (string memory) { return uriPrefix; } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v3.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721AQueryable.sol'; import '../ERC721A.sol'; /** * @title ERC721A Queryable * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * - `addr` = `address(0)` * - `startTimestamp` = `0` * - `burned` = `false` * * If the `tokenId` is burned: * - `addr` = `<Address of owner before token was burned>` * - `startTimestamp` = `<Timestamp when token was burned>` * - `burned = `true` * * Otherwise: * - `addr` = `<Address of owner>` * - `startTimestamp` = `<Timestamp of start of ownership>` * - `burned = `false` */ function explicitOwnershipOf(uint256 tokenId) public view override returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _currentIndex) { return ownership; } ownership = _ownerships[tokenId]; if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view override returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start` < `stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view override returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _currentIndex; // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, _currentIndex)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) { ownership = _ownerships[i]; if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(totalSupply) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K pfp collections should be fine). */ function tokensOfOwner(address owner) external view override returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownerships[i]; if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } }
// 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); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v3.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import '../IERC721A.sol'; /** * @dev Interface of an ERC721AQueryable compliant contract. */ interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * - `addr` = `address(0)` * - `startTimestamp` = `0` * - `burned` = `false` * * If the `tokenId` is burned: * - `addr` = `<Address of owner before token was burned>` * - `startTimestamp` = `<Timestamp when token was burned>` * - `burned = `true` * * Otherwise: * - `addr` = `<Address of owner>` * - `startTimestamp` = `<Timestamp of start of ownership>` * - `burned = `false` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start` < `stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(totalSupply) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K pfp collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); }
// SPDX-License-Identifier: MIT // ERC721A Contracts v3.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721A { using Address for address; using Strings for uint256; // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // 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; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @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 override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @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) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); 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 overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner) if(!isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _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 { _transfer(from, to, tokenId); if (to.isContract()) if(!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex < end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * 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, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // ERC721A Contracts v3.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A is IERC721, IERC721Metadata { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // 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 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 (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 `IERC721.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.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 (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 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/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; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_tokenName","type":"string"},{"internalType":"string","name":"_tokenSymbol","type":"string"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"bonfire","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"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":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60e0604052602e60808181529062004a3260a03980516200002991600a91602090910190620024b9565b5060408051808201909152600580825264173539b7b760d91b60209092019182526200005891600b91620024b9565b5066f5232269808000600c55600e805461ffff19166101011790553480156200008057600080fd5b5060405162004a6038038062004a60833981016040819052620000a3916200262c565b825183908390620000bc906002906020850190620024b9565b508051620000d2906003906020840190620024b9565b5050600160005550620000e5336200233f565b6001600955600d81905562000110738b008593562272fd65cd63cccd9306bf7e8f4d51601b62002391565b62000131730918bb6c7ec474ee426baff2adad8d9b99a8450c603b62002391565b620001527355a9c5180dcafc98d99d3f3e4b248e9156b12ac1600b62002391565b6200017373f10dc48a05edf0b4a1e2beec730b828c7298790d600762002391565b62000194735fcc3d8e93790946aa1ebfff29e3212e014c8ef0600562002391565b620001b57378f8c78a212d64ce1148355dee3f26a6e029ebba600562002391565b620001d673f10dc48a05edf0b4a1e2beec730b828c7298790d600562002391565b620001f7738d065b82f2b9a0b4de2c7fcd55bf5a7b608f88da600462002391565b6200021873f74f8ad40b17887b0379d87c55c063dc2861aa2f600462002391565b6200023973a4dba4a10d540a54c31534d9dce37534e5d8cc22600362002391565b6200025a73c05444251077c989b15d5460490538c983277163600362002391565b6200027a7264f54f2084758afa4e013b606a9fdd718ec53c600262002391565b6200029b7301e08b9566566b58cc63f2edf6e7a94c9016117e600262002391565b620002bc730419c0a5d51a549fdb1eeded70ed893b02df89c8600262002391565b620002dd7306915ce2113ff639dd3e0415dde8b1dde17bfa01600262002391565b620002fe7309cd3208dd33e409fd9a8b42bc8c3c0439bfc7b1600262002391565b6200031f730ad76f6fe77683cd4408f21925c1cb03cf9270c3600262002391565b62000340730c66fc6ce1103e84ba69c5205c90e09a1fcf58f9600262002391565b6200036173130d88903f9926ad7c1eba2962c8b1b64bccd821600262002391565b6200038273134d645301538370406df6d8b0803d569bacc242600262002391565b620003a37313c8eb211b873ccd16e73b3a114303424863538a600262002391565b620003c473152d06cdaa573cb48562680d8a9d383b3eed4b5f600262002391565b620003e57316ec94931c1c3c4bbc8d3a9e8778e5f303a90ef3600262002391565b62000406731781facf9e7098f64eb5c5ba503fbe3238115be9600262002391565b62000427731aa666d676fde62ae9477c75e7f501f214d1849c600262002391565b62000448731b3b2d37bf022e2dc10f959972a04e585e349daa600262002391565b62000469731c65841eda71e91b0dc43dd17bd5aa52b03ee364600262002391565b6200048a731e9703bb8846869faed61a879ac65735d3d6a4f2600262002391565b620004ab731f9573a3abd613ce650f786f44e64b67b7edbdf1600262002391565b620004cc73282d656a9d95c64522f6bc1a42ee759de81e8dc0600262002391565b620004ed7328bebbbf890da864c0db39e278b868493eb7c8e6600262002391565b6200050e732bf5b69dc1665fbf4370f29862a44d09d48b8cde600262002391565b6200052f732ca5d416d1fd797b598d0300ad8fff4ae32baa4c600262002391565b62000550732cdaaf054a63c2eaea23a7a071e39be872f2f808600262002391565b62000571733013ec0e1f8dd61dc7a10c5c1b9bc04f3a6b7ae6600262002391565b620005927333f7b256548b12ae5ae2070f7e85bb31df7a44e4600262002391565b620005b37335365ae5c8557ea978a63b35a6459f2560e809b9600262002391565b620005d47335b5ace0115e72e11e5ea7ddcb9267447c0267c1600262002391565b620005f573396e4f18d72799825cd814846ec114f73389a625600262002391565b62000616733b99cc55c357829fa8ac9bd21ab2ce43f4b56a9c600262002391565b62000637733bf856111223340b1b0d84265c6836776630ab1a600262002391565b62000658733c9d6d04c8d950e07666dcc30913bfb3ef4f5fd0600262002391565b62000679733cf826f719bb884b820aba148de0f387661d76f0600262002391565b6200069a733d259d96bc069418fec9c4afc7dcf8e7862664cb600262002391565b620006bb73439019390f6e1f9fb3bfd893931626f1bcbccf40600262002391565b620006dc7344bffa8b2c11884396ba62ced8c77beec984b10d600262002391565b620006fd7348ecdcccf3f0f9da699c5f6d78e8e3b3f8dd99f2600262002391565b6200071e73491c3d6638535f136c9d0eb250468973981efd82600262002391565b6200073f734b30697b4eba165510f98f18b11dd205530afad0600262002391565b62000760734c47077e33c9ee5fa81ef4f56133bb9e86274da3600262002391565b62000781734f6ce0e463d2c19372b8a31f707ccc8bd71840e5600262002391565b620007a27351728eb00d21cd77d630e4f9abd08f5b7131dc5a600262002391565b620007c37352f76f9c2b777cf6b15fbaeb0d6f24ee5ac2f91b600262002391565b620007e473537b2671238dc3db1352668d0f4f4651da8ecc6d600262002391565b6200080573573cd2ed0e42ab76c11f39db3c749cd9dd37745b600262002391565b6200082673579a28d03eb4099b784507e6f60ef8b1cd1d6e8d600262002391565b620008477357f016d7f5a400b70055230f5e956dc3af93a424600262002391565b62000868735d6ecad3eca7473958b2bb91a7fae6f740b1ab46600262002391565b62000889736129a7863edb39759ada8ca4555251fc37cdd4c9600262002391565b620008aa73613b82bddcec9c12cc298bbbd217ef05ff22db2d600262002391565b620008cb73646ef0b780dbdbaea2d8a44b39abcd0dc44b8363600262002391565b620008ec7366460709ce7fd585bb22de1fea871b87e096f34a600262002391565b6200090d73673b0fffcb155beff8532c94f5b25e9a7c0cba5c600262002391565b6200092e7367c589adf79ec2d59eefe17fc9c20d0485e4d284600262002391565b6200094f7368a9360e07a5fe96a2209a64fa486bb7b2df217b600262002391565b620009707369da243b41aae36e95742c3fbe15a06bce190cbb600262002391565b62000991736f33e7b6460dac803c53ab6e02da8c675633d516600262002391565b620009b2737261a3b25f410a2e90d12a79bf6a2eea89a41993600262002391565b620009d373771810c156e9f77a0edd3fb8f5683b4f150e35c1600262002391565b620009f47377f00a4676844af2c576ab240a423dcd81664c8e600262002391565b62000a15737aef2ea455491912fba986e2c285c5759c94a723600262002391565b62000a36737bb58319ba8d1434e78d5d86a8deee4c45f73a29600262002391565b62000a57737bcdc28950dfdc88ea44f4f74b893982b9794d81600262002391565b62000a78738028407ddedb611686446eda47619754e299e005600262002391565b62000a99738186afe9f4ee7c1667c9f22966b63528b3cd1210600262002391565b62000aba7383d0f5478948c88b2db0378061c6e6140b872c5d600262002391565b62000adb7385937d6b43b77eca2f9fa96bc149739bfb48d5fd600262002391565b62000afc7389ce794d2b4079d202c9de6a62c71c11193be9b5600262002391565b62000b1d738bab28f68b87d10473299a9bb713820ae7b63dde600262002391565b62000b3e7393a08c51f124acca06295ca8f0b3435b071bfca0600262002391565b62000b5f7398532fa1dfea60e03499ea02f747d7e12d801dc0600262002391565b62000b807399bb6210d2111382c323800ba2641eaa42fea0e2600262002391565b62000ba1739ae982ab0acf01167fb5713062b011ffb396b805600262002391565b62000bc2739b082a4ca71e4f28c1789112f2b6f8c7c20099cf600262002391565b62000be3739cbf45642acf39b23a0aed84c319c46b169a05f7600262002391565b62000c04739f9f6d8646455d023418266f5084a99bc312378f600262002391565b62000c2573a5df69c1f7a1eff14ff6f682733c7b8d6da62ecc600262002391565b62000c4673ac18bad4072a8dd2f5f6ac3dca06d0f4bec43e6b600262002391565b62000c6773af496250dddb00a0b211abb849460b69ca5f27dd600262002391565b62000c8873b2e1c9c2ffaef4883ad7e01cf4f772346c0a935b600262002391565b62000ca973b500c39ceedd505b4176927d09cdce053a1584f3600262002391565b62000cca73b5c00abae4e6d6f942b3b8ee69faab3c5301557a600262002391565b62000ceb73b5d74f8bdb8ab8bb346e09ed3d09d29495b16849600262002391565b62000d0c73be7477f91cda5a3cfde46ca6e2d8fe8a1c51161c600262002391565b62000d2d73c0bd0a42de27df27cbcea25a8079e533becaf703600262002391565b62000d4e73c1307715330be41eadb48bcee533994e57fe7bce600262002391565b62000d6f73c21f167bc57e1b82931f3398bfd1ec656310ed89600262002391565b62000d9073c4c2b2260579f4dd537b611f294b5ed85d269355600262002391565b62000db173c544aa98d0788a05a85badb0f9d592463b8b332c600262002391565b62000dd273c6d90edf79db0f0ff3a5fc342e4be49531df5f16600262002391565b62000df373cbe5688cd9f2b70dad5026750da77ee861a93957600262002391565b62000e1473cf9263a1717384df814cc87eb67d6ad46e629dd5600262002391565b62000e3573cfd51b98cf9d2378d5e6882969da8e2e7be9d488600262002391565b62000e5673d48ad0e91f911b1a9f95dbd8b626f10b3683d312600262002391565b62000e7773d4a133e80dd0112ca64473b6f9b8628de7dc3b2d600262002391565b62000e9873d4e41c87b961d1270d970410f2b74ea7b989bf6b600262002391565b62000eb973d53314c970059c003de57c2cfcebfa45392b7f09600262002391565b62000eda73d5de6c8017ab7d3c86618fa73e9477fffa3809a1600262002391565b62000efb73d921f4a1eddc1f2c9fff254015d2428f91bf5c40600262002391565b62000f1c73da49c840237177751625edf87f549acc558498d2600262002391565b62000f3d73dc9baf5eab3a767d390422bd950b65a1b51b1a0a600262002391565b62000f5e73df587e9c36f721aca660387ea6226efe5afbba19600262002391565b62000f7f73e06b37206abb46630e6123b71834f2a6741d1442600262002391565b62000fa073e3cb8b436e7e548f6acc8c1f2efae6b062ac0af9600262002391565b62000fc173e69a4272e433bc13c05aefbed4bd4ac059dd1b46600262002391565b62000fe273e86474f97be2506e8256dd75cb132099e389f520600262002391565b6200100373ec1d5cfb0bf18925ab722eeebcb53dc636834e8a600262002391565b6200102473edadfda063374ca9f7f7ddc0873e75c437dd6e4a600262002391565b6200104573ef3ff0abdd9ea122c841a878a36b89886ef0c273600262002391565b6200106673f095731c807a08009099b0a3eba61fa2cf09b10b600262002391565b6200108773f5092b6a846443fb93553ad6a4f5dec54b5ce160600262002391565b620010a873f7a04e45f40be7e4a310cf8052891f9538b007dd600262002391565b620010c973f848e384e41d09dce3dcaed37e1714418e68ea7f600262002391565b620010e9721a181ab8c41045e26dd2245ffcc12818ea742f600162002391565b62001109729a950ac242a003d0eb6e2fd1512e07a744bd3d600162002391565b6200112a73058fd36a48e1c9980b34b41eac8a46c3eaf19a41600162002391565b6200114b73070465efb322fceac5a48b391cb1415825d696e1600162002391565b6200116c73090941a93cf21c0811d880c43a93a89fdfac3000600162002391565b6200118d730b7293c15e988380f9d919e611996fc5e480d2a9600162002391565b620011ae730ee8951fe70b088b5ecf63af4491ed230bbd51a6600162002391565b620011cf7312d0ced4220f5acd0b0749bda0747a2051fbb280600162002391565b620011f07314d2b8fe5a5f4b86b5eacce1790e582956c92cd2600162002391565b62001211731569fe724eed1d194c9d11e77e70699deb6000ba600162002391565b62001232731ebe5a5e9b739755b5855f6ee4367ee47127d8c5600162002391565b62001253732337304b24ca702707254c7ffd70a176cf5b7a1d600162002391565b6200127473242a6a875c09f7da1c6dba535c4736d1fb3a8a5f600162002391565b620012957324f854c69a7f654dd8769ac215f6f27c65e71fbc600162002391565b620012b673294aed5e032973987d6df2f5434a4652c5cd6054600162002391565b620012d7732b0be11cdde5e055f7fcd7846923c8859062e262600162002391565b620012f8732cb05b0f6992bf77dbad4880a037856287b64d54600162002391565b62001319732e0ac148d7c2f5762241178076eb6cccee23e547600162002391565b6200133a732f623b63ec0b567533034edec3d07837cfcc9fee600162002391565b6200135b73304016f76ce884632f1119a8063711353936453a600162002391565b6200137c73311afe145aa7ce5400c77ee92f2f19558166ea7c600162002391565b6200139d7331e944ca60d7fa097657275d9da109eb4688ba85600162002391565b620013be73375c8be95978bd235420150281ce1a77c8aece09600162002391565b620013df7337db1629458c7acd1ecc0b6702ac0c6636341f99600162002391565b620014007338118e79e96852121ab4c7d067b648b34e0aac88600162002391565b62001421733866fe1b14d803d00377affde2f37f860b807c5e600162002391565b6200144273396156351fa5ecff68517149d131fb7de77d93da600162002391565b620014637339bb8569cf6b4565afcad959574cdc6b53025a7f600162002391565b62001484733aeedcd329e91e352d6c3d42c2b90d4e33a9e7d5600162002391565b620014a5733d1f11373e6e19faea64ccd73c83b1064b737397600162002391565b620014c6733d9818129cfc721dfff75dc8963d0e5ea4372534600162002391565b620014e7733f99ffa4b95e329a5ce92f24410d253c438606b0600162002391565b6200150873419684e4a857cbbfb478963c01525e0d4fda9dc2600162002391565b620015297341c4da71429c9a156bbde925949a2842de98c2c5600162002391565b6200154a73421c0d91fef38c1b4e9efb1e810d6f7e12c7bac9600162002391565b6200156b7344e808c938ac021e98a2ea76416bfb26cfaec574600162002391565b6200158c734509f7051e0b5c18c70e86bf6b7ca808246d3f2c600162002391565b620015ad7347e3b5cfd62242b3e7612d09f6e870b54ece9971600162002391565b620015ce734bb1fe25a13fdfc766e4917a7fdc709e0fc15d1e600162002391565b620015ef7355c6794647b9208f69413b8e0abfff00f4023ca4600162002391565b620016107357c9ad6a5c450bee5c1bb5228de6c2fe1e22e811600162002391565b620016317358a506e6b3744eca4e600dc1b145bae7618afd4f600162002391565b62001652735b7bbbbb88fce6e1d4ccc425e58ce144456e64d7600162002391565b62001673735d44325f594cebbff6d699603e82d20281b6165f600162002391565b62001694735d6da2bbfaf6c677e2397ef486daa9040982c05e600162002391565b620016b5735e4fae4cdfd9f91c3e7310e5d65ab2b93dab1fb1600162002391565b620016d6735e9c7f04c0d7e7db95d66ae5402b7226bdd166c2600162002391565b620016f7735f5104b01ba807d6d48217d21ee3244c511163e8600162002391565b62001718735fd858a44579ee3b794ce14d39a25c172e5a97a1600162002391565b6200173973605b2d5810ad080d89b3f4ec426f13790a3366e1600162002391565b6200175a7361329c08be7410b5fd905d982d2d06806e426ae3600162002391565b6200177b7367a45dbe24117536eae23e0c5fe742b8770e7b00600162002391565b6200179c73688bc734e0f452dd46c6b36f23959ea25f683177600162002391565b620017bd736fa65eb67d7570d172221d8f7e63865223ee0900600162002391565b620017de736fc769a80eccb7d577d3e1924b05290d988be3e6600162002391565b620017ff73700704e7ee38469d15409b8641a2f66e66366556600162002391565b620018207372194dac7beb999d01bd6b152f6787101e7a0b2e600162002391565b6200184173751fe2c89623e69e650207278b4757f6369e33e9600162002391565b6200186273754cdeb8386297b36bc2ebbee11f9a886ee7c6b2600162002391565b620018837377424437e320fc70ab04d983e259ca6e6e205c86600162002391565b620018a4737908d3a0c312f032f68f168c7a2d8c25f191cce0600162002391565b620018c5737d18504239dec7672bc64c63e2ece217557a1b9a600162002391565b620018e6737e5edf76e2254d35f0327953aae62d284d204949600162002391565b6200190773818b5f863419dc77a859431fb99db936b58f93b3600162002391565b62001928738209bc03c70fe0b6cbad5ed1ca817775d14b522f600162002391565b62001949738365236b8b29ebe2a67ee167e605cfb7f28bd393600162002391565b6200196a7383e71089349038ee3f8b0e4f2db8aa20f9c2e16f600162002391565b6200198b73863fcafe33e1049364d1b123cfdf6fa70bfd8fda600162002391565b620019ac7388937e9ad8b0c5988f0e56c705a8f3b7294f5cd0600162002391565b620019cd738d619f39daea4c37b6a1ce62fc3d71285834cea3600162002391565b620019ee7392b99779bc3471706a8f9eb0f3975331e6664678600162002391565b62001a0f73943d33a333cbb6471670f8dd82b48004993b0dc1600162002391565b62001a307394570e4e3e204bb40b66838239c0b5c03089aa96600162002391565b62001a5173953e9e00342dd8ab762350c70a6076dbe4aa7054600162002391565b62001a727396846e86df08b2d4430c42a764349cf93279a474600162002391565b62001a937396aa593b3b1f6db5fdc7e3d23d08cf3b55d40069600162002391565b62001ab47397655dc25ec4b379a59b09061a0276a1b402443b600162002391565b62001ad5739b4c2f3666ddc7802050038a29b884b4dae2c319600162002391565b62001af6739b8c55e8f77618013fba3aca621e128593d8b96d600162002391565b62001b17739bc124e5feacf85660c04a2d898bdc14f1d7cb81600162002391565b62001b38739cc1e3208db2510f0919c474e602f3e7b5e07593600162002391565b62001b59739d95477f3852f3a9bbb4711982f53e7089ae62ee600162002391565b62001b7a739e491c15e52e01cbb34c82882c669ca14b88d0a6600162002391565b62001b9b739fa03f422b5aaf9c74f0464e5ae7a3c9223d646d600162002391565b62001bbc73a0fe2486b4a9d860b9b246980a07f790e8fefd77600162002391565b62001bdd73a47ef5846be26376fb6a729fff349d892aa1bb9f600162002391565b62001bfe73a4f11d739c1877dda21a925ddea3988acc80497c600162002391565b62001c1f73a5a53e5f629c09d4cb415f03174bf50e7412455c600162002391565b62001c4073a67b4c7d0e152fb41b015318b72a748e362dda35600162002391565b62001c6173a754a4b33f4c4657f39e314704db3aa84df2a6f9600162002391565b62001c8273a81c0b1a399340456ef30216a2e006955f17ece8600162002391565b62001ca373aa993a40732873c430d29fb8d8016bf861ad0614600162002391565b62001cc473ac7d5cae3496cb34269fb9f41eda1a676b173205600162002391565b62001ce573aea6b1284e0336f45853f540843b8e95ccf07225600162002391565b62001d0673b2277c6567be71f09aebde976dbe280cf073c8c8600162002391565b62001d2773b3691fe1ec4d22eba2840ba8199423d5231eb0f5600162002391565b62001d4873b4647935daf725d8ec140b7fe6055811bbed7aae600162002391565b62001d6973b4eb7610c445d25f616edb02e8034c6fdd997cc9600162002391565b62001d8a73b527b6b0217a40a463f5f0bc56d263289fdead0c600162002391565b62001dab73b646a14fd2f387dbaa567cb7d7a6f3f5eb76954c600162002391565b62001dcc73b6e393487a67b3eb851c4c81e9f83a9018e4cd86600162002391565b62001ded73b97a5cd956ae1ce225a47cdc735097669f100415600162002391565b62001e0e73ba355abbd461b1ae1c0aad8d9bc00481d3403dad600162002391565b62001e2f73bc0b3fccf30de98e88871094af29caeb1e3329f2600162002391565b62001e5073bd75f3591275420e573934b065c635286cb37f8e600162002391565b62001e7173c235a646ea5284947ff5f351b0a23d1bcbbee6fe600162002391565b62001e9273c250689c9b1643914a710b6d646f6041140b3e03600162002391565b62001eb373c41cfcec2b5f65a2c6bf70869cbc116aa0ec0ada600162002391565b62001ed473c4928d888faf7865d51b519ca0a6123e5ef1b02f600162002391565b62001ef573c5e3612821bba645d6f6980d2efa6f2017e57210600162002391565b62001f1673c72ea0b7f0fe29e557117db7b79a36af17ddd4b5600162002391565b62001f3773cc6104d516f720845b7a2ed405fe7d112879f89e600162002391565b62001f5873cd1c78538e3cc0d2ceadd87b8124357d86566365600162002391565b62001f7973cd1f2390f69e8aded87d61497d331cd729c83fa4600162002391565b62001f9a73cd2ed66a85a0d4141bc9760d47958dc253e8c962600162002391565b62001fbb73cdf3b9d5f41ba95e8fa576937afefb66d0ffc9b1600162002391565b62001fdc73ce2461c6c8b7ed3eb2cb6dbbb6e86716883aac8c600162002391565b62001ffd73d0058288bdd23da52be35e9d175d4fef11800d26600162002391565b6200201e73d08b3a5254058375fc85726dfa048e56b214c660600162002391565b6200203f73d5562b10e0350ec8751da9a036bf9c653ce11c7b600162002391565b6200206073d5b3fd4fd1269d31a266ac0b2a1238be677483de600162002391565b6200208173d7368a7b3a01ff775b7f93115423fce4f293d87c600162002391565b620020a273d7aaad8ddbd9e8ac3b25839471d4a95086553858600162002391565b620020c373d7b98be11a654965147b3f2bbc955086e96e49e6600162002391565b620020e473db538460fcbe9c7991a58a5ab29239e4876eb178600162002391565b6200210573df6398d0e5c6638a3dc0352935648e4e08707cd5600162002391565b6200212673e11d08e4ea85dc79d63020d99f02f659b17f36db600162002391565b6200214773e1b73e9f3b507035f6f49c076a798bc258b0c104600162002391565b6200216873e3468a10580c77227cf39b8747a8cc8913fffbbc600162002391565b6200218973e69031047dabed1bf227a26c405718b9ca2d4877600162002391565b620021aa73e8ff1f9029c6e9759d3c3a344161c4fa229d441d600162002391565b620021cb73ec501b18fddd1e6478221eaa8b1a38f7aa087c82600162002391565b620021ec73eccfc341614d93885b6e73e8ae8f63432d9fdb38600162002391565b6200220d73ed278a7a1a191ef365c1fa55373a8af6638f5a02600162002391565b6200222e73ed5f4b85b1b1e8ed831979aa3d4222969b7a81fd600162002391565b6200224f73efe2e6f23985ca990253d44c7101733eb33c5eb8600162002391565b6200227073f4e23d45846c20f35760aa33570e0cd14390b5f4600162002391565b6200229173f681041ec4f46100196b99a535ee928c50dd552f600162002391565b620022b273f7241b73bdd904f5f619dbb424077f8707dadd55600162002391565b620022d373f86f899a12fa652d29611bfab019226e2e60e9d4600162002391565b620022f473fb8089ff11c9a5a322d4f18f6db905fd4288f144600162002391565b6200231573fddda9224ae4558af2882080d70959f6c3fb06c7600162002391565b6200233673feff0fc24c2831c550d34eba9e4cc8162dc20bae600162002391565b505050620026dc565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000546001600160a01b038316620023bb57604051622e076360e81b815260040160405180910390fd5b81620023da5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020908152604080832080546001600160801b031981166001600160401b038083168a018116918217680100000000000000006001600160401b031990941690921783900481168a01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b4290921691909102179055808083015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106200246c5750600055505050565b828054620024c7906200269f565b90600052602060002090601f016020900481019282620024eb576000855562002536565b82601f106200250657805160ff191683800117855562002536565b8280016001018555821562002536579182015b828111156200253657825182559160200191906001019062002519565b506200254492915062002548565b5090565b5b8082111562002544576000815560010162002549565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200258757600080fd5b81516001600160401b0380821115620025a457620025a46200255f565b604051601f8301601f19908116603f01168101908282118183101715620025cf57620025cf6200255f565b81604052838152602092508683858801011115620025ec57600080fd5b600091505b83821015620026105785820183015181830184015290820190620025f1565b83821115620026225760008385830101525b9695505050505050565b6000806000606084860312156200264257600080fd5b83516001600160401b03808211156200265a57600080fd5b620026688783880162002575565b945060208601519150808211156200267f57600080fd5b506200268e8682870162002575565b925050604084015190509250925092565b600181811c90821680620026b457607f821691505b60208210811415620026d657634e487b7160e01b600052602260045260246000fd5b50919050565b61234680620026ec6000396000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c80636352211e1161011a578063a22cb465116100ad578063c87b56dd1161007c578063c87b56dd1461044b578063d5abeb011461045e578063e0a8085314610467578063e985e9c51461047a578063f2fde38b1461048d57600080fd5b8063a22cb465146103f2578063b88d4fde14610405578063bc63f02e14610418578063c23dc68f1461042b57600080fd5b80638462151c116100e95780638462151c146103a65780638da5cb5b146103c657806395d89b41146103d757806399a2557a146103df57600080fd5b80636352211e1461036557806370a0823114610378578063715018a61461038b5780637ec4a6591461039357600080fd5b806318160ddd1161019d578063518302271161016c57806351830227146103165780635503a0e8146103285780635bbb2177146103305780635c975abb1461035057806362b99ad41461035d57600080fd5b806318160ddd146102d857806323b872dd146102e85780633ccfd60b146102fb57806342842e0e1461030357600080fd5b806313faede6116101d957806313faede61461028857806316ba10e01461029f57806316c38b3c146102b2578063179ba1f8146102c557600080fd5b806301ffc9a71461020b57806306fdde0314610233578063081812fc14610248578063095ea7b314610273575b600080fd5b61021e610219366004611b43565b6104a0565b60405190151581526020015b60405180910390f35b61023b6104f2565b60405161022a9190611bb8565b61025b610256366004611bcb565b610584565b6040516001600160a01b03909116815260200161022a565b610286610281366004611c00565b6105c8565b005b610291600c5481565b60405190815260200161022a565b6102866102ad366004611cc7565b61064f565b6102866102c0366004611d1f565b610699565b6102866102d3366004611d3a565b6106d6565b6001546000540360001901610291565b6102866102f6366004611dae565b610749565b610286610754565b610286610311366004611dae565b6108cf565b600e5461021e90610100900460ff1681565b61023b6108ea565b61034361033e366004611dea565b610978565b60405161022a9190611e8f565b600e5461021e9060ff1681565b61023b610a3e565b61025b610373366004611bcb565b610a4b565b610291610386366004611ef9565b610a5d565b610286610aab565b6102866103a1366004611cc7565b610ae1565b6103b96103b4366004611ef9565b610b1e565b60405161022a9190611f14565b6008546001600160a01b031661025b565b61023b610c6b565b6103b96103ed366004611f4c565b610c7a565b610286610400366004611f7f565b610e40565b610286610413366004611fb2565b610ed6565b61028661042636600461202d565b610f1a565b61043e610439366004611bcb565b610f4e565b60405161022a9190612050565b61023b610459366004611bcb565b611008565b610291600d5481565b610286610475366004611d1f565b61108e565b61021e610488366004612085565b6110d2565b61028661049b366004611ef9565b611100565b60006001600160e01b031982166380ac58cd60e01b14806104d157506001600160e01b03198216635b5e139f60e01b145b806104ec57506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060028054610501906120af565b80601f016020809104026020016040519081016040528092919081815260200182805461052d906120af565b801561057a5780601f1061054f5761010080835404028352916020019161057a565b820191906000526020600020905b81548152906001019060200180831161055d57829003601f168201915b5050505050905090565b600061058f8261119b565b6105ac576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006105d382610a4b565b9050806001600160a01b0316836001600160a01b031614156106085760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161461063f5761062281336110d2565b61063f576040516367d9dca160e11b815260040160405180910390fd5b61064a8383836111d4565b505050565b6008546001600160a01b031633146106825760405162461bcd60e51b8152600401610679906120ea565b60405180910390fd5b805161069590600b906020840190611a94565b5050565b6008546001600160a01b031633146106c35760405162461bcd60e51b8152600401610679906120ea565b600e805460ff1916911515919091179055565b6008546001600160a01b031633146107005760405162461bcd60e51b8152600401610679906120ea565b8060005b818110156107435760008484838181106107205761072061211f565b90506020020135905061073281611230565b5061073c8161214b565b9050610704565b50505050565b61064a83838361123b565b6008546001600160a01b0316331461077e5760405162461bcd60e51b8152600401610679906120ea565b600260095414156107d15760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610679565b6002600955600073ab3dda1c8f298fc0f51f23998e47cf9832ad659b6103e86107fc476103c5612166565b610806919061219b565b604051600081818185875af1925050503d8060008114610842576040519150601f19603f3d011682016040523d82523d6000602084013e610847565b606091505b505090508061085557600080fd5b60006108696008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d80600081146108b3576040519150601f19603f3d011682016040523d82523d6000602084013e6108b8565b606091505b50509050806108c657600080fd5b50506001600955565b61064a83838360405180602001604052806000815250610ed6565b600b80546108f7906120af565b80601f0160208091040260200160405190810160405280929190818152602001828054610923906120af565b80156109705780601f1061094557610100808354040283529160200191610970565b820191906000526020600020905b81548152906001019060200180831161095357829003601f168201915b505050505081565b80516060906000816001600160401b0381111561099757610997611c2a565b6040519080825280602002602001820160405280156109e257816020015b60408051606081018252600080825260208083018290529282015282526000199092019101816109b55790505b50905060005b828114610a3657610a11858281518110610a0457610a0461211f565b6020026020010151610f4e565b828281518110610a2357610a2361211f565b60209081029190910101526001016109e8565b509392505050565b600a80546108f7906120af565b6000610a5682611428565b5192915050565b60006001600160a01b038216610a86576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b03163314610ad55760405162461bcd60e51b8152600401610679906120ea565b610adf600061154a565b565b6008546001600160a01b03163314610b0b5760405162461bcd60e51b8152600401610679906120ea565b805161069590600a906020840190611a94565b60606000806000610b2e85610a5d565b90506000816001600160401b03811115610b4a57610b4a611c2a565b604051908082528060200260200182016040528015610b73578160200160208202803683370190505b509050610b99604080516060810182526000808252602082018190529181019190915290565b60015b838614610c5f57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16158015928201929092529250610c0257610c57565b81516001600160a01b031615610c1757815194505b876001600160a01b0316856001600160a01b03161415610c575780838780600101985081518110610c4a57610c4a61211f565b6020026020010181815250505b600101610b9c565b50909695505050505050565b606060038054610501906120af565b6060818310610c9c57604051631960ccad60e11b815260040160405180910390fd5b600080546001851015610cae57600194505b80841115610cba578093505b6000610cc587610a5d565b905084861015610ce45785850381811015610cde578091505b50610ce8565b5060005b6000816001600160401b03811115610d0257610d02611c2a565b604051908082528060200260200182016040528015610d2b578160200160208202803683370190505b50905081610d3e579350610e3992505050565b6000610d4988610f4e565b905060008160400151610d5a575080515b885b888114158015610d6c5750848714155b15610e2d57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16158015928201929092529350610dd057610e25565b82516001600160a01b031615610de557825191505b8a6001600160a01b0316826001600160a01b03161415610e255780848880600101995081518110610e1857610e1861211f565b6020026020010181815250505b600101610d5c565b50505092835250909150505b9392505050565b6001600160a01b038216331415610e6a5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ee184848461123b565b6001600160a01b0383163b1561074357610efd8484848461159c565b610743576040516368d2bf6b60e11b815260040160405180910390fd5b6008546001600160a01b03163314610f445760405162461bcd60e51b8152600401610679906120ea565b6106958183611694565b60408051606080820183526000808352602080840182905283850182905284519283018552818352820181905292810192909252906001831080610f9457506000548310155b15610f9f5792915050565b50600082815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161580159282019290925290610fff5792915050565b610e3983611428565b60606110138261119b565b61103057604051630a14c4b560e41b815260040160405180910390fd5b600061103a6117c3565b9050600081511161105a5760405180602001604052806000815250610e39565b80611064846117d2565b600b604051602001611078939291906121af565b6040516020818303038152906040529392505050565b6008546001600160a01b031633146110b85760405162461bcd60e51b8152600401610679906120ea565b600e80549115156101000261ff0019909216919091179055565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b0316331461112a5760405162461bcd60e51b8152600401610679906120ea565b6001600160a01b03811661118f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610679565b6111988161154a565b50565b6000816001111580156111af575060005482105b80156104ec575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6111988160006118cf565b600061124682611428565b9050836001600160a01b031681600001516001600160a01b03161461127d5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061129b575061129b85336110d2565b806112b65750336112ab84610584565b6001600160a01b0316145b9050806112d657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166112fd57604051633a954ecd60e21b815260040160405180910390fd5b611309600084876111d4565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166113dd5760005482146113dd57805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b604080516060810182526000808252602082018190529181019190915281806001116115315760005481101561153157600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff1615159181018290529061152f5780516001600160a01b0316156114c6579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff161515928101929092521561152a579392505050565b6114c6565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906115d1903390899088908890600401612273565b602060405180830381600087803b1580156115eb57600080fd5b505af192505050801561161b575060408051601f3d908101601f19168201909252611618918101906122b0565b60015b611676573d808015611649576040519150601f19603f3d011682016040523d82523d6000602084013e61164e565b606091505b50805161166e576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6000546001600160a01b0383166116bd57604051622e076360e81b815260040160405180910390fd5b816116db5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168a0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168a01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b4290921691909102179055808083015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106117775750600055505050565b6060600a8054610501906120af565b6060816117f65750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611820578061180a8161214b565b91506118199050600a8361219b565b91506117fa565b6000816001600160401b0381111561183a5761183a611c2a565b6040519080825280601f01601f191660200182016040528015611864576020820181803683370190505b5090505b841561168c576118796001836122cd565b9150611886600a866122e4565b6118919060306122f8565b60f81b8183815181106118a6576118a661211f565b60200101906001600160f81b031916908160001a9053506118c8600a8661219b565b9450611868565b60006118da83611428565b80519091508215611940576000336001600160a01b0383161480611903575061190382336110d2565b8061191e57503361191386610584565b6001600160a01b0316145b90508061193e57604051632ce44b5f60e11b815260040160405180910390fd5b505b61194c600085836111d4565b6001600160a01b0380821660008181526005602090815260408083208054600160801b6000196001600160401b0380841691909101811667ffffffffffffffff198416811783900482166001908101831690930277ffffffffffffffff0000000000000000ffffffffffffffff19909416179290921783558b86526004909452828520805460ff60e01b1942909316600160a01b026001600160e01b03199091169097179690961716600160e01b178555918901808452922080549194909116611a4a576000548214611a4a57805460208701516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038716171781555b5050604051869250600091506001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4505060018054810190555050565b828054611aa0906120af565b90600052602060002090601f016020900481019282611ac25760008555611b08565b82601f10611adb57805160ff1916838001178555611b08565b82800160010185558215611b08579182015b82811115611b08578251825591602001919060010190611aed565b50611b14929150611b18565b5090565b5b80821115611b145760008155600101611b19565b6001600160e01b03198116811461119857600080fd5b600060208284031215611b5557600080fd5b8135610e3981611b2d565b60005b83811015611b7b578181015183820152602001611b63565b838111156107435750506000910152565b60008151808452611ba4816020860160208601611b60565b601f01601f19169290920160200192915050565b602081526000610e396020830184611b8c565b600060208284031215611bdd57600080fd5b5035919050565b80356001600160a01b0381168114611bfb57600080fd5b919050565b60008060408385031215611c1357600080fd5b611c1c83611be4565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715611c6857611c68611c2a565b604052919050565b60006001600160401b03831115611c8957611c89611c2a565b611c9c601f8401601f1916602001611c40565b9050828152838383011115611cb057600080fd5b828260208301376000602084830101529392505050565b600060208284031215611cd957600080fd5b81356001600160401b03811115611cef57600080fd5b8201601f81018413611d0057600080fd5b61168c84823560208401611c70565b80358015158114611bfb57600080fd5b600060208284031215611d3157600080fd5b610e3982611d0f565b60008060208385031215611d4d57600080fd5b82356001600160401b0380821115611d6457600080fd5b818501915085601f830112611d7857600080fd5b813581811115611d8757600080fd5b8660208260051b8501011115611d9c57600080fd5b60209290920196919550909350505050565b600080600060608486031215611dc357600080fd5b611dcc84611be4565b9250611dda60208501611be4565b9150604084013590509250925092565b60006020808385031215611dfd57600080fd5b82356001600160401b0380821115611e1457600080fd5b818501915085601f830112611e2857600080fd5b813581811115611e3a57611e3a611c2a565b8060051b9150611e4b848301611c40565b8181529183018401918481019088841115611e6557600080fd5b938501935b83851015611e8357843582529385019390850190611e6a565b98975050505050505050565b6020808252825182820181905260009190848201906040850190845b81811015610c5f57611ee683855180516001600160a01b031682526020808201516001600160401b0316908301526040908101511515910152565b9284019260609290920191600101611eab565b600060208284031215611f0b57600080fd5b610e3982611be4565b6020808252825182820181905260009190848201906040850190845b81811015610c5f57835183529284019291840191600101611f30565b600080600060608486031215611f6157600080fd5b611f6a84611be4565b95602085013595506040909401359392505050565b60008060408385031215611f9257600080fd5b611f9b83611be4565b9150611fa960208401611d0f565b90509250929050565b60008060008060808587031215611fc857600080fd5b611fd185611be4565b9350611fdf60208601611be4565b92506040850135915060608501356001600160401b0381111561200157600080fd5b8501601f8101871361201257600080fd5b61202187823560208401611c70565b91505092959194509250565b6000806040838503121561204057600080fd5b82359150611fa960208401611be4565b81516001600160a01b031681526020808301516001600160401b031690820152604080830151151590820152606081016104ec565b6000806040838503121561209857600080fd5b6120a183611be4565b9150611fa960208401611be4565b600181811c908216806120c357607f821691505b602082108114156120e457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060001982141561215f5761215f612135565b5060010190565b600081600019048311821515161561218057612180612135565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826121aa576121aa612185565b500490565b6000845160206121c28285838a01611b60565b8551918401916121d58184848a01611b60565b8554920191600090600181811c90808316806121f257607f831692505b85831081141561221057634e487b7160e01b85526022600452602485fd5b808015612224576001811461223557612262565b60ff19851688528388019550612262565b60008b81526020902060005b8581101561225a5781548a820152908401908801612241565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906122a690830184611b8c565b9695505050505050565b6000602082840312156122c257600080fd5b8151610e3981611b2d565b6000828210156122df576122df612135565b500390565b6000826122f3576122f3612185565b500690565b6000821982111561230b5761230b612135565b50019056fea2646970667358221220e9d497b6109d936d3e67a5ca9c9a72f7a0a4a401705a96f704ef95d7f5d3f71964736f6c6343000809003368747470733a2f2f646174612e7a6f6f6d746f7069612e78797a2f616d61692f616d6169706173732f6a736f6e2f000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000000000000000000000000000000000000000000d416d616976657273655061737300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d416d616976657273655061737300000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102065760003560e01c80636352211e1161011a578063a22cb465116100ad578063c87b56dd1161007c578063c87b56dd1461044b578063d5abeb011461045e578063e0a8085314610467578063e985e9c51461047a578063f2fde38b1461048d57600080fd5b8063a22cb465146103f2578063b88d4fde14610405578063bc63f02e14610418578063c23dc68f1461042b57600080fd5b80638462151c116100e95780638462151c146103a65780638da5cb5b146103c657806395d89b41146103d757806399a2557a146103df57600080fd5b80636352211e1461036557806370a0823114610378578063715018a61461038b5780637ec4a6591461039357600080fd5b806318160ddd1161019d578063518302271161016c57806351830227146103165780635503a0e8146103285780635bbb2177146103305780635c975abb1461035057806362b99ad41461035d57600080fd5b806318160ddd146102d857806323b872dd146102e85780633ccfd60b146102fb57806342842e0e1461030357600080fd5b806313faede6116101d957806313faede61461028857806316ba10e01461029f57806316c38b3c146102b2578063179ba1f8146102c557600080fd5b806301ffc9a71461020b57806306fdde0314610233578063081812fc14610248578063095ea7b314610273575b600080fd5b61021e610219366004611b43565b6104a0565b60405190151581526020015b60405180910390f35b61023b6104f2565b60405161022a9190611bb8565b61025b610256366004611bcb565b610584565b6040516001600160a01b03909116815260200161022a565b610286610281366004611c00565b6105c8565b005b610291600c5481565b60405190815260200161022a565b6102866102ad366004611cc7565b61064f565b6102866102c0366004611d1f565b610699565b6102866102d3366004611d3a565b6106d6565b6001546000540360001901610291565b6102866102f6366004611dae565b610749565b610286610754565b610286610311366004611dae565b6108cf565b600e5461021e90610100900460ff1681565b61023b6108ea565b61034361033e366004611dea565b610978565b60405161022a9190611e8f565b600e5461021e9060ff1681565b61023b610a3e565b61025b610373366004611bcb565b610a4b565b610291610386366004611ef9565b610a5d565b610286610aab565b6102866103a1366004611cc7565b610ae1565b6103b96103b4366004611ef9565b610b1e565b60405161022a9190611f14565b6008546001600160a01b031661025b565b61023b610c6b565b6103b96103ed366004611f4c565b610c7a565b610286610400366004611f7f565b610e40565b610286610413366004611fb2565b610ed6565b61028661042636600461202d565b610f1a565b61043e610439366004611bcb565b610f4e565b60405161022a9190612050565b61023b610459366004611bcb565b611008565b610291600d5481565b610286610475366004611d1f565b61108e565b61021e610488366004612085565b6110d2565b61028661049b366004611ef9565b611100565b60006001600160e01b031982166380ac58cd60e01b14806104d157506001600160e01b03198216635b5e139f60e01b145b806104ec57506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060028054610501906120af565b80601f016020809104026020016040519081016040528092919081815260200182805461052d906120af565b801561057a5780601f1061054f5761010080835404028352916020019161057a565b820191906000526020600020905b81548152906001019060200180831161055d57829003601f168201915b5050505050905090565b600061058f8261119b565b6105ac576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006105d382610a4b565b9050806001600160a01b0316836001600160a01b031614156106085760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161461063f5761062281336110d2565b61063f576040516367d9dca160e11b815260040160405180910390fd5b61064a8383836111d4565b505050565b6008546001600160a01b031633146106825760405162461bcd60e51b8152600401610679906120ea565b60405180910390fd5b805161069590600b906020840190611a94565b5050565b6008546001600160a01b031633146106c35760405162461bcd60e51b8152600401610679906120ea565b600e805460ff1916911515919091179055565b6008546001600160a01b031633146107005760405162461bcd60e51b8152600401610679906120ea565b8060005b818110156107435760008484838181106107205761072061211f565b90506020020135905061073281611230565b5061073c8161214b565b9050610704565b50505050565b61064a83838361123b565b6008546001600160a01b0316331461077e5760405162461bcd60e51b8152600401610679906120ea565b600260095414156107d15760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610679565b6002600955600073ab3dda1c8f298fc0f51f23998e47cf9832ad659b6103e86107fc476103c5612166565b610806919061219b565b604051600081818185875af1925050503d8060008114610842576040519150601f19603f3d011682016040523d82523d6000602084013e610847565b606091505b505090508061085557600080fd5b60006108696008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d80600081146108b3576040519150601f19603f3d011682016040523d82523d6000602084013e6108b8565b606091505b50509050806108c657600080fd5b50506001600955565b61064a83838360405180602001604052806000815250610ed6565b600b80546108f7906120af565b80601f0160208091040260200160405190810160405280929190818152602001828054610923906120af565b80156109705780601f1061094557610100808354040283529160200191610970565b820191906000526020600020905b81548152906001019060200180831161095357829003601f168201915b505050505081565b80516060906000816001600160401b0381111561099757610997611c2a565b6040519080825280602002602001820160405280156109e257816020015b60408051606081018252600080825260208083018290529282015282526000199092019101816109b55790505b50905060005b828114610a3657610a11858281518110610a0457610a0461211f565b6020026020010151610f4e565b828281518110610a2357610a2361211f565b60209081029190910101526001016109e8565b509392505050565b600a80546108f7906120af565b6000610a5682611428565b5192915050565b60006001600160a01b038216610a86576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b03163314610ad55760405162461bcd60e51b8152600401610679906120ea565b610adf600061154a565b565b6008546001600160a01b03163314610b0b5760405162461bcd60e51b8152600401610679906120ea565b805161069590600a906020840190611a94565b60606000806000610b2e85610a5d565b90506000816001600160401b03811115610b4a57610b4a611c2a565b604051908082528060200260200182016040528015610b73578160200160208202803683370190505b509050610b99604080516060810182526000808252602082018190529181019190915290565b60015b838614610c5f57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16158015928201929092529250610c0257610c57565b81516001600160a01b031615610c1757815194505b876001600160a01b0316856001600160a01b03161415610c575780838780600101985081518110610c4a57610c4a61211f565b6020026020010181815250505b600101610b9c565b50909695505050505050565b606060038054610501906120af565b6060818310610c9c57604051631960ccad60e11b815260040160405180910390fd5b600080546001851015610cae57600194505b80841115610cba578093505b6000610cc587610a5d565b905084861015610ce45785850381811015610cde578091505b50610ce8565b5060005b6000816001600160401b03811115610d0257610d02611c2a565b604051908082528060200260200182016040528015610d2b578160200160208202803683370190505b50905081610d3e579350610e3992505050565b6000610d4988610f4e565b905060008160400151610d5a575080515b885b888114158015610d6c5750848714155b15610e2d57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16158015928201929092529350610dd057610e25565b82516001600160a01b031615610de557825191505b8a6001600160a01b0316826001600160a01b03161415610e255780848880600101995081518110610e1857610e1861211f565b6020026020010181815250505b600101610d5c565b50505092835250909150505b9392505050565b6001600160a01b038216331415610e6a5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ee184848461123b565b6001600160a01b0383163b1561074357610efd8484848461159c565b610743576040516368d2bf6b60e11b815260040160405180910390fd5b6008546001600160a01b03163314610f445760405162461bcd60e51b8152600401610679906120ea565b6106958183611694565b60408051606080820183526000808352602080840182905283850182905284519283018552818352820181905292810192909252906001831080610f9457506000548310155b15610f9f5792915050565b50600082815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161580159282019290925290610fff5792915050565b610e3983611428565b60606110138261119b565b61103057604051630a14c4b560e41b815260040160405180910390fd5b600061103a6117c3565b9050600081511161105a5760405180602001604052806000815250610e39565b80611064846117d2565b600b604051602001611078939291906121af565b6040516020818303038152906040529392505050565b6008546001600160a01b031633146110b85760405162461bcd60e51b8152600401610679906120ea565b600e80549115156101000261ff0019909216919091179055565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b0316331461112a5760405162461bcd60e51b8152600401610679906120ea565b6001600160a01b03811661118f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610679565b6111988161154a565b50565b6000816001111580156111af575060005482105b80156104ec575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6111988160006118cf565b600061124682611428565b9050836001600160a01b031681600001516001600160a01b03161461127d5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061129b575061129b85336110d2565b806112b65750336112ab84610584565b6001600160a01b0316145b9050806112d657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166112fd57604051633a954ecd60e21b815260040160405180910390fd5b611309600084876111d4565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166113dd5760005482146113dd57805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b604080516060810182526000808252602082018190529181019190915281806001116115315760005481101561153157600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff1615159181018290529061152f5780516001600160a01b0316156114c6579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff161515928101929092521561152a579392505050565b6114c6565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906115d1903390899088908890600401612273565b602060405180830381600087803b1580156115eb57600080fd5b505af192505050801561161b575060408051601f3d908101601f19168201909252611618918101906122b0565b60015b611676573d808015611649576040519150601f19603f3d011682016040523d82523d6000602084013e61164e565b606091505b50805161166e576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6000546001600160a01b0383166116bd57604051622e076360e81b815260040160405180910390fd5b816116db5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168a0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168a01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b4290921691909102179055808083015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106117775750600055505050565b6060600a8054610501906120af565b6060816117f65750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611820578061180a8161214b565b91506118199050600a8361219b565b91506117fa565b6000816001600160401b0381111561183a5761183a611c2a565b6040519080825280601f01601f191660200182016040528015611864576020820181803683370190505b5090505b841561168c576118796001836122cd565b9150611886600a866122e4565b6118919060306122f8565b60f81b8183815181106118a6576118a661211f565b60200101906001600160f81b031916908160001a9053506118c8600a8661219b565b9450611868565b60006118da83611428565b80519091508215611940576000336001600160a01b0383161480611903575061190382336110d2565b8061191e57503361191386610584565b6001600160a01b0316145b90508061193e57604051632ce44b5f60e11b815260040160405180910390fd5b505b61194c600085836111d4565b6001600160a01b0380821660008181526005602090815260408083208054600160801b6000196001600160401b0380841691909101811667ffffffffffffffff198416811783900482166001908101831690930277ffffffffffffffff0000000000000000ffffffffffffffff19909416179290921783558b86526004909452828520805460ff60e01b1942909316600160a01b026001600160e01b03199091169097179690961716600160e01b178555918901808452922080549194909116611a4a576000548214611a4a57805460208701516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038716171781555b5050604051869250600091506001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4505060018054810190555050565b828054611aa0906120af565b90600052602060002090601f016020900481019282611ac25760008555611b08565b82601f10611adb57805160ff1916838001178555611b08565b82800160010185558215611b08579182015b82811115611b08578251825591602001919060010190611aed565b50611b14929150611b18565b5090565b5b80821115611b145760008155600101611b19565b6001600160e01b03198116811461119857600080fd5b600060208284031215611b5557600080fd5b8135610e3981611b2d565b60005b83811015611b7b578181015183820152602001611b63565b838111156107435750506000910152565b60008151808452611ba4816020860160208601611b60565b601f01601f19169290920160200192915050565b602081526000610e396020830184611b8c565b600060208284031215611bdd57600080fd5b5035919050565b80356001600160a01b0381168114611bfb57600080fd5b919050565b60008060408385031215611c1357600080fd5b611c1c83611be4565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715611c6857611c68611c2a565b604052919050565b60006001600160401b03831115611c8957611c89611c2a565b611c9c601f8401601f1916602001611c40565b9050828152838383011115611cb057600080fd5b828260208301376000602084830101529392505050565b600060208284031215611cd957600080fd5b81356001600160401b03811115611cef57600080fd5b8201601f81018413611d0057600080fd5b61168c84823560208401611c70565b80358015158114611bfb57600080fd5b600060208284031215611d3157600080fd5b610e3982611d0f565b60008060208385031215611d4d57600080fd5b82356001600160401b0380821115611d6457600080fd5b818501915085601f830112611d7857600080fd5b813581811115611d8757600080fd5b8660208260051b8501011115611d9c57600080fd5b60209290920196919550909350505050565b600080600060608486031215611dc357600080fd5b611dcc84611be4565b9250611dda60208501611be4565b9150604084013590509250925092565b60006020808385031215611dfd57600080fd5b82356001600160401b0380821115611e1457600080fd5b818501915085601f830112611e2857600080fd5b813581811115611e3a57611e3a611c2a565b8060051b9150611e4b848301611c40565b8181529183018401918481019088841115611e6557600080fd5b938501935b83851015611e8357843582529385019390850190611e6a565b98975050505050505050565b6020808252825182820181905260009190848201906040850190845b81811015610c5f57611ee683855180516001600160a01b031682526020808201516001600160401b0316908301526040908101511515910152565b9284019260609290920191600101611eab565b600060208284031215611f0b57600080fd5b610e3982611be4565b6020808252825182820181905260009190848201906040850190845b81811015610c5f57835183529284019291840191600101611f30565b600080600060608486031215611f6157600080fd5b611f6a84611be4565b95602085013595506040909401359392505050565b60008060408385031215611f9257600080fd5b611f9b83611be4565b9150611fa960208401611d0f565b90509250929050565b60008060008060808587031215611fc857600080fd5b611fd185611be4565b9350611fdf60208601611be4565b92506040850135915060608501356001600160401b0381111561200157600080fd5b8501601f8101871361201257600080fd5b61202187823560208401611c70565b91505092959194509250565b6000806040838503121561204057600080fd5b82359150611fa960208401611be4565b81516001600160a01b031681526020808301516001600160401b031690820152604080830151151590820152606081016104ec565b6000806040838503121561209857600080fd5b6120a183611be4565b9150611fa960208401611be4565b600181811c908216806120c357607f821691505b602082108114156120e457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060001982141561215f5761215f612135565b5060010190565b600081600019048311821515161561218057612180612135565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826121aa576121aa612185565b500490565b6000845160206121c28285838a01611b60565b8551918401916121d58184848a01611b60565b8554920191600090600181811c90808316806121f257607f831692505b85831081141561221057634e487b7160e01b85526022600452602485fd5b808015612224576001811461223557612262565b60ff19851688528388019550612262565b60008b81526020902060005b8581101561225a5781548a820152908401908801612241565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906122a690830184611b8c565b9695505050505050565b6000602082840312156122c257600080fd5b8151610e3981611b2d565b6000828210156122df576122df612135565b500390565b6000826122f3576122f3612185565b500690565b6000821982111561230b5761230b612135565b50019056fea2646970667358221220e9d497b6109d936d3e67a5ca9c9a72f7a0a4a401705a96f704ef95d7f5d3f71964736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000000000000000000000000000000000000000000d416d616976657273655061737300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d416d616976657273655061737300000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _tokenName (string): AmaiversePass
Arg [1] : _tokenSymbol (string): AmaiversePass
Arg [2] : _maxSupply (uint256): 500
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [4] : 416d616976657273655061737300000000000000000000000000000000000000
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [6] : 416d616976657273655061737300000000000000000000000000000000000000
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.