Contract 0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade35

Txn Hash Method
Block
From
To
Value [Txn Fee]
0xb2b6eba998b4019e77568c33262118cb1e3bc3335a6282128fbfd858ce24f623Set Approval For...132081212024-03-27 20:59:5515 hrs 29 mins ago0xb781359d8bb7f85b02eb2785f16aa439e4272fb0 IN  0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350 CRO0.14722770
0x6c58a07f40641607d65c6d30f0121feb4d44f9be02d8665404abea936525a26eSet Approval For...131792822024-03-25 23:38:052 days 12 hrs ago0xcc9c77e059431bc8d30e4c9b5ca036bdb6ce2879 IN  0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350 CRO0.12298770
0xc9c5f4f7383bdc72624c5a1fda160fc6f7872e175d2d8a35bc639ded1aae85e7Set Approval For...131788322024-03-25 22:55:392 days 13 hrs ago0xcc9c77e059431bc8d30e4c9b5ca036bdb6ce2879 IN  0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350 CRO0.12298770
0xcb8a1bb0249752141b8be9f57206f93c9bee83fba869ade1953ea449c041c568Set Approval For...131288902024-03-22 16:42:445 days 19 hrs ago0xa02a4a79d1ca83cccdae200ba3d499da433fd304 IN  0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350 CRO0.23364330
0x32ca5d232113aaeda8c365da9dd845772b512311f08d260d33e0904818f1aa4dSet Approval For...129505412024-03-11 2:48:0617 days 9 hrs ago0xe22485a9b6d2f0d1e019bcfe6560c6ceaef126fe IN  0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350 CRO0.46728660
0xd8499e2f6c9b2812ae1910dd04a6ca9c13007f574bcdb76c2ad8c190595239d5Set Approval For...129391212024-03-10 9:08:2518 days 3 hrs agoCronos ID Name masteringbitcoin.cro IN  0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350 CRO0.46728660
0x2cbe31b800e163eab92f321ef40cf04259b55d9cc30ce1ae66251da673c09011Set Approval For...129353402024-03-10 3:17:5818 days 9 hrs ago0x327c76fc9cbef970b454344ecc0f107d2b3d2517 IN  0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350 CRO0.46728660
0xd2f641fa7c7241dcbe31a7a8d398d2ce1f0a6e8757ee568128948703bc0471a4Set Approval For...129114962024-03-08 14:26:0419 days 22 hrs agoCronos ID Name mrdawson.cro IN  0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350 CRO0.46728660
0x439d411e1be6217c3e7c574f4c19a02af716b8ba2e62fda5215d917005d61efaSet Approval For...129089632024-03-08 10:30:4820 days 1 hr ago0x94040494d1a891b9764f5a1c8a22f2b176251ba6 IN  0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350 CRO0.46728660
0xa75a0cc9a364d88ea331ea43fbb937baf2bb24a14111c685e2238d5e17fa955bSet Approval For...129054822024-03-08 5:08:2920 days 7 hrs agoCronos ID Name coches.cro IN  0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350 CRO0.46728660
0x3a5578238d15d3cfc7b8b35ab0e529e9fc1d250fe9f995b952716345566a09f4Set Approval For...129051972024-03-08 4:42:0620 days 7 hrs agoCronos ID Name yuyus.cro IN  0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350 CRO0.46728660
0x2612f267d1bab81b4dee2152a3f66e703372cb6c147335141bf67fef46de046fSet Approval For...128690192024-03-05 20:52:0422 days 15 hrs ago0x75eeee61670248364bf579ec920e21d609c36d53 IN  0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350 CRO0.26629660
0x121d1a90fb9e0ad3a27de7def6d5ee09f967e4925fe2ea15bf895b53f36f03edSet Approval For...128679192024-03-05 19:09:0922 days 17 hrs ago0x1f2f8ed39c7ccc237980e41b0f99fce2f0b62fb5 IN  0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350 CRO0.46728660
0x39d842b6fbe9e234266d8a1da606a8600d51f4f9e4b780292dc4f12b758a8d0aSet Approval For...128192192024-03-02 15:47:5125 days 20 hrs ago0xe1994636626ee8f85fbdedeeedc0b70cc4c4dd0f IN  0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350 CRO0.46728660
0xe58bd007e3898e9bc83dbda0f12cc927fcc1cbf0ff54115ef35c8cfd69144ef2Set Approval For...127561352024-02-27 14:28:2829 days 22 hrs ago0xff0af60b317cd5fdf98abfb7202c5bf8644196d9 IN  0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350 CRO0.46728660
0x2d46dfe76bb749a7c6f66e5c9a238e69d646e18130c7790b71f27a3a55b2cab4Set Approval For...125857782024-02-16 12:53:0040 days 23 hrs ago0x8053a5754f97b7d32db9c887e405b28ceca00e48 IN  0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350 CRO0.467147802 10,097
0xe357cf9448f56eff34ef90d98266c5bff534a9d25f46739f6038b41365f48dffSet Approval For...125792852024-02-16 2:43:5641 days 9 hrs agoCronos ID Name hellzwonderland.cro IN  0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350 CRO0.46728660
0xed99f12d0406d26acdce07be82d9ece88cc75385dcbc656e58cd15902c21b3c5Set Approval For...125169812024-02-12 1:20:3045 days 11 hrs ago0x51e004a315dc8e455a38fceedeaf3621e061292d IN  0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350 CRO0.503432125983 10,881.254614268
0x9cf4a23ba74d1c15efe336ea0dc9eaa6cc772b0d2325bb70186c669d5de896d6Set Approval For...125158292024-02-11 23:32:2745 days 12 hrs agoCronos ID Name scouse.cro IN  0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350 CRO0.24597540
0x395c9eed6d692785991c1002e1b7f88d1d246ddf874e21e20fcae11aa5658f8cSafe Transfer Fr...124831412024-02-09 20:27:5547 days 16 hrs ago0x95974249612b9881691c4ff7996853e4031c43a7 IN  0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350 CRO0.88050790
0x6a8bb29e6f395dc9c3dd8582911eba4d64876dba3efee42522d08fba62653e18Safe Transfer Fr...124831352024-02-09 20:27:2147 days 16 hrs ago0x95974249612b9881691c4ff7996853e4031c43a7 IN  0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350 CRO0.88050790
0xb731564d146ee831b83fbf623e0ba6b48f80ec5b16a13146e10f688bf6325073Safe Transfer Fr...124831262024-02-09 20:26:3047 days 16 hrs ago0x95974249612b9881691c4ff7996853e4031c43a7 IN  0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350 CRO0.77653850
0x1470243487ae367639a1a10fbfd0a28dade057fbecbfef142c417c08e44f6d1bSafe Transfer Fr...124831212024-02-09 20:26:0247 days 16 hrs ago0x95974249612b9881691c4ff7996853e4031c43a7 IN  0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350 CRO0.88038670
0x5db9f4943f1f12d6cad5b21de8d0442327ab6e021a541c10113dff0818099761Safe Transfer Fr...124831162024-02-09 20:25:3447 days 16 hrs ago0x95974249612b9881691c4ff7996853e4031c43a7 IN  0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350 CRO0.77653850
0x4c8396e3b9ba1b066660f0e6104586b15aa2040bcf59014ff78e4501ce6ecc0dSafe Transfer Fr...124831102024-02-09 20:24:5947 days 16 hrs ago0x95974249612b9881691c4ff7996853e4031c43a7 IN  0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350 CRO0.77653850
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x15f44f18f84e4ba59c91b7d888592dfbe51c7ee789d1f6499861f8ec411a3c9f84099982023-05-20 8:01:45313 days 4 hrs ago 0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350xe7ade06aa0b3e754eba4344fb76524d1afa6da0b275 CRO
0xb01bcfc320dcaec17c9ee6781968aef06382a593604aaae8c510c5274325b3e684099582023-05-20 7:57:58313 days 4 hrs ago 0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350xe7ade06aa0b3e754eba4344fb76524d1afa6da0b550 CRO
0xd2bbe5fbfca03e32882c10cb647cc0ef7263878c8b3894f19bbc9775c9794ff883937122023-05-19 6:23:01314 days 6 hrs ago 0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350xe7ade06aa0b3e754eba4344fb76524d1afa6da0b825 CRO
0x462aca58c3f969a4096b0be34ef13ba21d19af7cbd1306e624d214931b505a7183894392023-05-18 23:39:21314 days 12 hrs ago 0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350xe7ade06aa0b3e754eba4344fb76524d1afa6da0b750 CRO
0x5d59af16fd6b5dcdb12279e91a07c50bafe28600b9fb40164ff3f28754fc7ccb83864002023-05-18 18:52:00314 days 17 hrs ago 0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350xe7ade06aa0b3e754eba4344fb76524d1afa6da0b2,750 CRO
0xbed37a2249e29efe08f4859a6c3ca501b574e7e57c87809df94345e86b19c9c383515342023-05-16 11:59:26317 days 29 mins ago 0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350xe7ade06aa0b3e754eba4344fb76524d1afa6da0b825 CRO
0x72c0501e8ffe12b8c23281fbb2174ba08590975f931fba7b7c68924f71b333bd83025792023-05-13 6:59:11320 days 5 hrs ago 0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350xe7ade06aa0b3e754eba4344fb76524d1afa6da0b275 CRO
0x3ac9d12dcbda6786b4dd8e18a259d54f43fce40b07488654ef864a28ca4087e582941952023-05-12 17:48:29320 days 18 hrs ago 0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350xe7ade06aa0b3e754eba4344fb76524d1afa6da0b275 CRO
0x7f6b0b03e32fe9426fbe0b62ed0f14518ce1e63507466ee4c5a56bcbb2de732582285772023-05-08 10:43:01325 days 1 hr ago 0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350xe7ade06aa0b3e754eba4344fb76524d1afa6da0b2,750 CRO
0x5cb8378e23f95619e70be3decc600ac5ad6289e26f8de64654cd6d536e550a0e79896942023-04-22 19:27:25340 days 17 hrs ago 0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350xe7ade06aa0b3e754eba4344fb76524d1afa6da0b500 CRO
0x148054ce8caed6d2e9675c07f5b07045f223b4e013124033612c64e33edd7f3376993102023-04-03 19:39:34359 days 16 hrs ago 0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350xe7ade06aa0b3e754eba4344fb76524d1afa6da0b350 CRO
0x56ec4ad92146ab30a7a256174f978e966bf1be82f4007f11b32b6da9bebd079573235612023-03-10 5:48:27384 days 6 hrs ago 0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350xe7ade06aa0b3e754eba4344fb76524d1afa6da0b350 CRO
0xbfe4454087ad739847b4adf5a47d5154fc450caf192fa9988cd452e6760b6cde73192802023-03-09 23:03:52384 days 13 hrs ago 0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350xe7ade06aa0b3e754eba4344fb76524d1afa6da0b350 CRO
0xfdfff49d27d59d6bda43e2149d098ae050c140d9fc3d050bb703ad9dc108728272779322023-03-07 6:13:44387 days 6 hrs ago 0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350xe7ade06aa0b3e754eba4344fb76524d1afa6da0b250 CRO
0xedd587ac5109ff1d32b76c6fd1654917448ffa17b4371760aedd593f8c359c0172779262023-03-07 6:13:10387 days 6 hrs ago 0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350xe7ade06aa0b3e754eba4344fb76524d1afa6da0b250 CRO
0x53d64c55e1d708a10bd61c48c10865f1cfbe5b1f668bb2b28822c53e5456433e71720512023-02-28 8:16:01394 days 4 hrs ago 0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350xe7ade06aa0b3e754eba4344fb76524d1afa6da0b1,050 CRO
0xdc0abbbb1559034021a08d698af691cb812fcdd62e2bdc9a68286e893a2277a564125382023-01-09 14:38:17443 days 21 hrs ago 0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350xe7ade06aa0b3e754eba4344fb76524d1afa6da0b350 CRO
0x354fdf48e90d6d25edb48147cd373863695053c87d5de035e1556e9a5a33fb3e63978592023-01-08 15:35:46444 days 20 hrs ago 0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350xe7ade06aa0b3e754eba4344fb76524d1afa6da0b350 CRO
0x9e79609f4f0ccae428f48ccf5d4b872986cfb48d79fc8d53d79334faed9100e363978302023-01-08 15:33:02444 days 20 hrs ago 0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350xe7ade06aa0b3e754eba4344fb76524d1afa6da0b350 CRO
0xcd0cb21fc06912bb4c87a1b60bf83ab0a78a0bdef049c072c76a40c4d308d0ee63978242023-01-08 15:32:29444 days 20 hrs ago 0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350xe7ade06aa0b3e754eba4344fb76524d1afa6da0b350 CRO
0x1b8a25814fbc06829de9ad541f594ac5db5d60e406bc10afeaba625a3994bbc063840062023-01-07 17:50:19445 days 18 hrs ago 0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350xe7ade06aa0b3e754eba4344fb76524d1afa6da0b250 CRO
0xdf2cdfff848aac9971c6c7440ea189fa4acd368460c975a579868b131ab9c64f63839882023-01-07 17:48:38445 days 18 hrs ago 0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350xe7ade06aa0b3e754eba4344fb76524d1afa6da0b250 CRO
0xbfe89520afa06ca29105f2783518ce4faee26d1009716827d0a5c2f9fdde1f7763713462023-01-06 21:58:35446 days 14 hrs ago 0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350xe7ade06aa0b3e754eba4344fb76524d1afa6da0b700 CRO
0x12514c1e3f94efb848454c32b8d48e8a1452afb8abbb89b4360a0c378d55b87663650662023-01-06 12:06:59447 days 22 mins ago 0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350xe7ade06aa0b3e754eba4344fb76524d1afa6da0b250 CRO
0x79a6b3ddec048bdeaf1af6cbe014fb03f8e33560ef2e64334fd6ea8fc6f9227963561142023-01-05 22:02:48447 days 14 hrs ago 0xfe320bb9830f6f62a3c7dd7f9b55c8609d0ade350xe7ade06aa0b3e754eba4344fb76524d1afa6da0b250 CRO
[ Download CSV Export 
Index Block
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FuryQuackGang

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : FuryQuackGang.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.15;

import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "./SafeMathLite.sol";
import "./SafePct.sol";

abstract contract FuryMouseGang {
    function balanceOf(address owner)
        external
        view
        virtual
        returns (uint256 balance);
}

contract FuryQuackGang is ERC721Enumerable, Ownable, ReentrancyGuard {
    using Strings for uint256;
    using SafePct for uint256;

    mapping(uint256 => uint256) private tokensMatrix;

    uint256 public _maxSupply = 3500;
    uint256 public quackCounter;
    uint256 public supplyRemaining;

    uint256 public publicPrice = 350 ether;
    uint256 public premintPrice = 250 ether;

    uint256 public immutable _maxPerTx = 10;
    uint256 public immutable _maxWL = 5;
    uint public startSaleTimestamp = 1664650800;

    bool public freeze;
    string public baseURI;

    address payable fqgWallet;
    FuryMouseGang fmgAddress;

    mapping(bytes32 => Sale) public sale;
    mapping(address => uint256) public presaleMintedBalance;

    struct Sale {
        uint128 saleStartTime;
        uint128 saleEndTime;
        uint price;
        bool paused;
    }

    struct Info {
        uint256 regularCost;
        uint256 whitelistCost;
        uint256 maxSupply;
        uint256 totalSupply;
        uint256 maxMintPerTx;
    }

    event SaleChange(bytes32 _name, Sale _sale);
    event quackMinted(address _minter, uint[] _tokenIDs);

    constructor(
        string memory _baseURI,
        address _fqgWallet,
        address _fmgAddress
    ) ERC721("Fury Quack Gang", "FQG") {
        setBaseURI(_baseURI);
        supplyRemaining = _maxSupply;

        fqgWallet = payable(_fqgWallet);
        fmgAddress = FuryMouseGang(_fmgAddress);
    }

    // Getters
    function isWhitelist(address _user) public view returns (bool) {
        return fmgAddress.balanceOf(_user) >= 1;
    }

    function tokensOfWallet(address _address)
        external
        view
        returns (uint256[] memory)
    {
        uint256 ownerTokenCount = balanceOf(_address);
        uint256[] memory tokenIds = new uint256[](ownerTokenCount);
        for (uint256 i; i < ownerTokenCount; i++) {
            tokenIds[i] = tokenOfOwnerByIndex(_address, i);
        }
        return tokenIds;
    }

    // Sales
    modifier isOpen(uint256 _count) {
        require(
            block.timestamp >= startSaleTimestamp,
            "ERROR: SALE IS NOT OPEN"
        );
        require(_count > 0, "ERROR: CANNOT MINT 0 NFT");
        require(_count <= _maxPerTx, "ERROR: MAX PER TX IS 15");
        require(
            totalSupply() + _count <= _maxSupply,
            "ERROR: SOLD OUT, TRY TO MINT LESS"
        );
        require(_count <= supplyRemaining, "ERROR: SOLDOUT");
        require(supplyRemaining > 0, "ERROR: COLLECTION ALREADY SOLDOUT");
        uint price;
        if (
            isWhitelist(_msgSender()) &&
            presaleMintedBalance[_msgSender()] + _count <= _maxWL
        ) {
            price = premintPrice;
        } else {
            price = publicPrice;
        }
        require(msg.value >= price * _count, "ERROR: INSUFFICIENT FUNDS");
        _;
    }

    modifier isNotFreeze() {
        require(!freeze, "ERROR: MINT IS FROZEN");
        _;
    }

    // Manage
    function setPrices(uint256 _newPublicPrice, uint256 _premintPrice)
        external
        onlyOwner
    {
        publicPrice = _newPublicPrice;
        premintPrice = _premintPrice;
    }

    function freezeNow() external onlyOwner isNotFreeze {
        freeze = true;
    }

    function unFreezeNow() external onlyOwner {
        require(!freeze, "ERROR: MINT IS NOT FROZEN");
        freeze = false;
    }

    // Mint
    function teamMint(uint _amount) external onlyOwner {
        require(
            _amount <= supplyRemaining,
            "ERROR: NOT ENOUGH REMAINING SUPPLY"
        );

        for (uint i = 0; i < _amount; i++) {
            supplyRemaining--;
            quackCounter++;

            uint256 tokenId = randomTokenId();
            _safeMint(_msgSender(), tokenId);
        }
    }

    function _mint(uint _amount)
        internal
        isOpen(_amount)
        isNotFreeze
        nonReentrant
    {
        uint[] memory tokenIdsBought = new uint[](_amount);
        uint totalCost;
        if (
            isWhitelist(_msgSender()) &&
            presaleMintedBalance[_msgSender()] + _amount <= _maxWL
        ) {
            totalCost = premintPrice * _amount;
            presaleMintedBalance[_msgSender()] += _amount;
        } else {
            totalCost = publicPrice * _amount;
        }

        (bool success, ) = fqgWallet.call{value: totalCost}("");
        require(success, "Transfer failed.");

        for (uint i = 0; i < _amount; i++) {
            quackCounter++;
            supplyRemaining--;

            uint256 tokenId = randomTokenId();
            _safeMint(_msgSender(), tokenId);
            tokenIdsBought[i] = tokenId;
        }

        emit quackMinted(_msgSender(), tokenIdsBought);
    }

    function randomTokenId() internal returns (uint256) {
        uint256 maxIndex = _maxSupply - totalSupply();

        uint256 random = uint256(
            keccak256(
                abi.encodePacked(
                    msg.sender,
                    block.coinbase,
                    block.difficulty,
                    block.gaslimit,
                    block.timestamp
                )
            )
        ) % maxIndex;

        uint256 value = 0;
        if (tokensMatrix[random] == 0) {
            value = random;
        } else {
            value = tokensMatrix[random];
        }

        if (tokensMatrix[maxIndex - 1] == 0) {
            tokensMatrix[random] = maxIndex - 1;
        } else {
            tokensMatrix[random] = tokensMatrix[maxIndex - 1];
        }

        return value + 1;
    }

    // Metadata
    function tokenURI(uint _tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(
            _exists(_tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );
        string memory _tokenURI = string(
            abi.encodePacked(baseURI, Strings.toString(_tokenId), ".json")
        );
        return _tokenURI;
    }

    function setBaseURI(string memory _newBaseURI) public onlyOwner {
        baseURI = _newBaseURI;
    }

    function mintCost(address _minter) external view returns (uint256) {
        if (isWhitelist(_minter) && presaleMintedBalance[_minter] < _maxWL) {
            return premintPrice;
        } else {
            return publicPrice;
        }
    }

    function maxSupply() external view returns (uint256) {
        return _maxSupply;
    }

    function canMint(address _minter) external view returns (uint256) {
        if (block.timestamp >= startSaleTimestamp) {
            if (
                isWhitelist(_minter) && presaleMintedBalance[_minter] < _maxWL
            ) {
                return (_maxWL - presaleMintedBalance[_minter]);
            }
            return (_maxPerTx);
        }
        return 0;
    }

    function mint(uint256 _amount) external payable {
        _mint(_amount);
    }

    function getInfo() external view returns (Info memory) {
        return (
            Info(
                publicPrice,
                premintPrice,
                _maxSupply,
                totalSupply(),
                _maxPerTx
            )
        );
    }

    function _withdrawAll() external onlyOwner {
        (bool success, ) = owner().call{value: address(this).balance}("");
        require(success, "Transfer failed.");
    }
}

File 2 of 16 : SafeMathLite.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
library SafeMathLite{

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }
}

File 3 of 16 : SafePct.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

/**
 * @dev Compute percentages safely without phantom overflows.
 *
 * Intermediate operations can overflow even when the result will always
 * fit into computed type. Developers usually
 * assume that overflows raise errors. `SafePct` restores this intuition by
 * reverting the transaction when such an operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 *
 * Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing
 * all math on `uint256` and `int256` and then downcasting.
 */

import "./SafeMathLite.sol";

library SafePct {
    using SafeMathLite for uint256;
    /**
     * Requirements:
     *
     * - intermediate operations must revert on overflow
     */
    function mulDiv(uint256 x, uint256 y, uint256 z) internal pure returns (uint256) {
        require(z > 0, "Division by zero");

        if (x == 0) return 0;
        uint256 xy = x * y;
        if (xy / x == y) { // no overflow happened - same as in SafeMath mul
            return xy / z;
        }

        //slither-disable-next-line divide-before-multiply
        uint256 a = x / z;
        uint256 b = x % z; // x = a * z + b

        //slither-disable-next-line divide-before-multiply
        uint256 c = y / z;
        uint256 d = y % z; // y = c * z + d

        return (a.mul(c).mul(z)).add(a.mul(d)).add(b.mul(c)).add(b.mul(d).div(z));
    }


}

File 4 of 16 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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);
    }
}

File 5 of 16 : Context.sol
// 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;
    }
}

File 6 of 16 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @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);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 7 of 16 : ReentrancyGuard.sol
// 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;
    }
}

File 8 of 16 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) {
        return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 9 of 16 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: invalid token ID");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not token owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");
        _safeTransfer(from, to, tokenId, data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits an {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 10 of 16 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 11 of 16 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 12 of 16 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}

File 13 of 16 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 14 of 16 : ERC165.sol
// 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;
    }
}

File 15 of 16 : IERC721Metadata.sol
// 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);
}

File 16 of 16 : IERC165.sol
// 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);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"address","name":"_fqgWallet","type":"address"},{"internalType":"address","name":"_fmgAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"_name","type":"bytes32"},{"components":[{"internalType":"uint128","name":"saleStartTime","type":"uint128"},{"internalType":"uint128","name":"saleEndTime","type":"uint128"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"bool","name":"paused","type":"bool"}],"indexed":false,"internalType":"struct FuryQuackGang.Sale","name":"_sale","type":"tuple"}],"name":"SaleChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_minter","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"_tokenIDs","type":"uint256[]"}],"name":"quackMinted","type":"event"},{"inputs":[],"name":"_maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxWL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_withdrawAll","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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_minter","type":"address"}],"name":"canMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeze","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freezeNow","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getInfo","outputs":[{"components":[{"internalType":"uint256","name":"regularCost","type":"uint256"},{"internalType":"uint256","name":"whitelistCost","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"totalSupply","type":"uint256"},{"internalType":"uint256","name":"maxMintPerTx","type":"uint256"}],"internalType":"struct FuryQuackGang.Info","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"isWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_minter","type":"address"}],"name":"mintCost","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":"premintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presaleMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"quackCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"sale","outputs":[{"internalType":"uint128","name":"saleStartTime","type":"uint128"},{"internalType":"uint128","name":"saleEndTime","type":"uint128"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"bool","name":"paused","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPublicPrice","type":"uint256"},{"internalType":"uint256","name":"_premintPrice","type":"uint256"}],"name":"setPrices","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSaleTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"supplyRemaining","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"tokensOfWallet","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":"unFreezeNow","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c0604052610dac600d556812f939c99edab80000601055680d8d726b7177a80000601155600a608052600560a0526363388e306012553480156200004357600080fd5b50604051620032dd380380620032dd833981016040819052620000669162000236565b6040518060400160405280600f81526020016e4675727920517561636b2047616e6760881b8152506040518060400160405280600381526020016246514760e81b8152508160009081620000bb9190620003c8565b506001620000ca8282620003c8565b505050620000e7620000e16200013060201b60201c565b62000134565b6001600b55620000f78362000186565b600d54600f55601580546001600160a01b039384166001600160a01b031991821617909155601680549290931691161790555062000494565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b62000190620001a2565b60146200019e8282620003c8565b5050565b600a546001600160a01b03163314620002015760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b634e487b7160e01b600052604160045260246000fd5b80516001600160a01b03811681146200023157600080fd5b919050565b6000806000606084860312156200024c57600080fd5b83516001600160401b03808211156200026457600080fd5b818601915086601f8301126200027957600080fd5b8151818111156200028e576200028e62000203565b604051601f8201601f19908116603f01168101908382118183101715620002b957620002b962000203565b81604052828152602093508984848701011115620002d657600080fd5b600091505b82821015620002fa5784820184015181830185015290830190620002db565b828211156200030c5760008484830101525b96506200031e91505086820162000219565b93505050620003306040850162000219565b90509250925092565b600181811c908216806200034e57607f821691505b6020821081036200036f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620003c357600081815260208120601f850160051c810160208610156200039e5750805b601f850160051c820191505b81811015620003bf57828155600101620003aa565b5050505b505050565b81516001600160401b03811115620003e457620003e462000203565b620003fc81620003f5845462000339565b8462000375565b602080601f8311600181146200043457600084156200041b5750858301515b600019600386901b1c1916600185901b178555620003bf565b600085815260208120601f198616915b82811015620004655788860151825594840194600190910190840162000444565b5085821015620004845787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a051612deb620004f2600039600081816107ca01528181610aef015281816111a5015281816111ea01528181611bcf0152611d760152600081816106eb01528181610e11015281816112110152611a2f0152612deb6000f3fe6080604052600436106102675760003560e01c806370a0823111610144578063adaebc9b116100b6578063d5abeb011161007a578063d5abeb01146107a3578063dc52c3c0146107b8578063e985e9c5146107ec578063eb9372fa14610835578063ed3d161d1461084a578063f2fde38b1461086057600080fd5b8063adaebc9b1461070d578063b88d4fde14610723578063c2ba474414610743578063c683630d14610763578063c87b56dd1461078357600080fd5b80638da5cb5b116101085780638da5cb5b1461065d57806395d89b411461067b578063a0712d6814610690578063a22cb465146106a3578063a945bf80146106c3578063ab5e246f146106d957600080fd5b806370a08231146105d0578063715018a6146105f057806375935d1114610605578063801d8c9a146106325780638ac8f1dd1461064857600080fd5b80632fbba115116101dd5780634f6ccce7116101a15780634f6ccce7146104ea57806355f804b31461050a5780635a9b0b891461052a57806362a5af3b146105815780636352211e1461059b5780636c0360eb146105bb57600080fd5b80632fbba115146103ff5780633d4437821461041f5780633e38fe801461043457806342842e0e1461044a5780634672d7bf1461046a57600080fd5b806318160ddd1161022f57806318160ddd1461033d57806322f4596f1461035c57806323b872dd146103725780632acc659e146103925780632e221808146103b25780632f745c59146103df57600080fd5b806301ffc9a71461026c57806305fefda7146102a157806306fdde03146102c3578063081812fc146102e5578063095ea7b31461031d575b600080fd5b34801561027857600080fd5b5061028c610287366004612631565b610880565b60405190151581526020015b60405180910390f35b3480156102ad57600080fd5b506102c16102bc366004612655565b6108ab565b005b3480156102cf57600080fd5b506102d86108be565b60405161029891906126cf565b3480156102f157600080fd5b506103056103003660046126e2565b610950565b6040516001600160a01b039091168152602001610298565b34801561032957600080fd5b506102c1610338366004612712565b610977565b34801561034957600080fd5b506008545b604051908152602001610298565b34801561036857600080fd5b5061034e600d5481565b34801561037e57600080fd5b506102c161038d36600461273c565b610a91565b34801561039e57600080fd5b5061034e6103ad366004612778565b610ac2565b3480156103be57600080fd5b5061034e6103cd366004612778565b60186020526000908152604090205481565b3480156103eb57600080fd5b5061034e6103fa366004612712565b610b2a565b34801561040b57600080fd5b506102c161041a3660046126e2565b610bc0565b34801561042b57600080fd5b506102c1610c88565b34801561044057600080fd5b5061034e600f5481565b34801561045657600080fd5b506102c161046536600461273c565b610cea565b34801561047657600080fd5b506104bd6104853660046126e2565b6017602052600090815260409020805460018201546002909201546001600160801b0380831693600160801b90930416919060ff1684565b604080516001600160801b0395861681529490931660208501529183015215156060820152608001610298565b3480156104f657600080fd5b5061034e6105053660046126e2565b610d05565b34801561051657600080fd5b506102c161052536600461281f565b610d98565b34801561053657600080fd5b5061053f610dac565b6040516102989190600060a082019050825182526020830151602083015260408301516040830152606083015160608301526080830151608083015292915050565b34801561058d57600080fd5b5060135461028c9060ff1681565b3480156105a757600080fd5b506103056105b63660046126e2565b610e38565b3480156105c757600080fd5b506102d8610e98565b3480156105dc57600080fd5b5061034e6105eb366004612778565b610f26565b3480156105fc57600080fd5b506102c1610fac565b34801561061157600080fd5b50610625610620366004612778565b610fc0565b60405161029891906128a3565b34801561063e57600080fd5b5061034e60115481565b34801561065457600080fd5b506102c1611062565b34801561066957600080fd5b50600a546001600160a01b0316610305565b34801561068757600080fd5b506102d8611114565b6102c161069e3660046126e2565b611123565b3480156106af57600080fd5b506102c16106be3660046128b6565b61112c565b3480156106cf57600080fd5b5061034e60105481565b3480156106e557600080fd5b5061034e7f000000000000000000000000000000000000000000000000000000000000000081565b34801561071957600080fd5b5061034e600e5481565b34801561072f57600080fd5b506102c161073e3660046128f2565b611137565b34801561074f57600080fd5b5061034e61075e366004612778565b61116f565b34801561076f57600080fd5b5061028c61077e366004612778565b61123d565b34801561078f57600080fd5b506102d861079e3660046126e2565b6112b8565b3480156107af57600080fd5b50600d5461034e565b3480156107c457600080fd5b5061034e7f000000000000000000000000000000000000000000000000000000000000000081565b3480156107f857600080fd5b5061028c61080736600461296e565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561084157600080fd5b506102c161136c565b34801561085657600080fd5b5061034e60125481565b34801561086c57600080fd5b506102c161087b366004612778565b6113d3565b60006001600160e01b0319821663780e9d6360e01b14806108a557506108a582611449565b92915050565b6108b3611499565b601091909155601155565b6060600080546108cd906129a1565b80601f01602080910402602001604051908101604052809291908181526020018280546108f9906129a1565b80156109465780601f1061091b57610100808354040283529160200191610946565b820191906000526020600020905b81548152906001019060200180831161092957829003601f168201915b5050505050905090565b600061095b826114f3565b506000908152600460205260409020546001600160a01b031690565b600061098282610e38565b9050806001600160a01b0316836001600160a01b0316036109f45760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b0382161480610a105750610a108133610807565b610a825760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c000060648201526084016109eb565b610a8c8383611552565b505050565b610a9b33826115c0565b610ab75760405162461bcd60e51b81526004016109eb906129db565b610a8c83838361163f565b6000610acd8261123d565b8015610b1057506001600160a01b0382166000908152601860205260409020547f0000000000000000000000000000000000000000000000000000000000000000115b15610b1d57505060115490565b505060105490565b919050565b6000610b3583610f26565b8210610b975760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016109eb565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610bc8611499565b600f54811115610c255760405162461bcd60e51b815260206004820152602260248201527f4552524f523a204e4f5420454e4f5547482052454d41494e494e4720535550506044820152614c5960f01b60648201526084016109eb565b60005b81811015610c8457600f8054906000610c4083612a3f565b9091555050600e8054906000610c5583612a56565b91905055506000610c646117e6565b9050610c71335b8261191e565b5080610c7c81612a56565b915050610c28565b5050565b610c90611499565b60135460ff1615610cdb5760405162461bcd60e51b815260206004820152601560248201527422a92927a91d1026a4a72a1024a990232927ad22a760591b60448201526064016109eb565b6013805460ff19166001179055565b610a8c83838360405180602001604052806000815250611137565b6000610d1060085490565b8210610d735760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016109eb565b60088281548110610d8657610d86612a6f565b90600052602060002001549050919050565b610da0611499565b6014610c848282612ad3565b610dde6040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b6040518060a0016040528060105481526020016011548152602001600d548152602001610e0a60085490565b81526020017f0000000000000000000000000000000000000000000000000000000000000000815250905090565b6000818152600260205260408120546001600160a01b0316806108a55760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016109eb565b60148054610ea5906129a1565b80601f0160208091040260200160405190810160405280929190818152602001828054610ed1906129a1565b8015610f1e5780601f10610ef357610100808354040283529160200191610f1e565b820191906000526020600020905b815481529060010190602001808311610f0157829003601f168201915b505050505081565b60006001600160a01b038216610f905760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016109eb565b506001600160a01b031660009081526003602052604090205490565b610fb4611499565b610fbe6000611938565b565b60606000610fcd83610f26565b905060008167ffffffffffffffff811115610fea57610fea612793565b604051908082528060200260200182016040528015611013578160200160208202803683370190505b50905060005b8281101561105a5761102b8582610b2a565b82828151811061103d5761103d612a6f565b60209081029190910101528061105281612a56565b915050611019565b509392505050565b61106a611499565b600061107e600a546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d80600081146110c8576040519150601f19603f3d011682016040523d82523d6000602084013e6110cd565b606091505b50509050806111115760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016109eb565b50565b6060600180546108cd906129a1565b6111118161198a565b610c84338383611f4f565b61114133836115c0565b61115d5760405162461bcd60e51b81526004016109eb906129db565b6111698484848461201d565b50505050565b60006012544210611235576111838261123d565b80156111c657506001600160a01b0382166000908152601860205260409020547f0000000000000000000000000000000000000000000000000000000000000000115b1561120e576001600160a01b0382166000908152601860205260409020546108a5907f0000000000000000000000000000000000000000000000000000000000000000612b93565b507f0000000000000000000000000000000000000000000000000000000000000000919050565b506000919050565b6016546040516370a0823160e01b81526001600160a01b0383811660048301526000926001929116906370a0823190602401602060405180830381865afa15801561128c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b09190612baa565b101592915050565b6000818152600260205260409020546060906001600160a01b03166113375760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109eb565b6000601461134484612050565b604051602001611355929190612bc3565b60408051601f198184030181529190529392505050565b611374611499565b60135460ff16156113c75760405162461bcd60e51b815260206004820152601960248201527f4552524f523a204d494e54204953204e4f542046524f5a454e0000000000000060448201526064016109eb565b6013805460ff19169055565b6113db611499565b6001600160a01b0381166114405760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109eb565b61111181611938565b60006001600160e01b031982166380ac58cd60e01b148061147a57506001600160e01b03198216635b5e139f60e01b145b806108a557506301ffc9a760e01b6001600160e01b03198316146108a5565b600a546001600160a01b03163314610fbe5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109eb565b6000818152600260205260409020546001600160a01b03166111115760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016109eb565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061158782610e38565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806115cc83610e38565b9050806001600160a01b0316846001600160a01b0316148061161357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806116375750836001600160a01b031661162c84610950565b6001600160a01b0316145b949350505050565b826001600160a01b031661165282610e38565b6001600160a01b0316146116b65760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016109eb565b6001600160a01b0382166117185760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016109eb565b611723838383612151565b61172e600082611552565b6001600160a01b0383166000908152600360205260408120805460019290611757908490612b93565b90915550506001600160a01b0382166000908152600360205260408120805460019290611785908490612c5a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000806117f260085490565b600d546117ff9190612b93565b6040516bffffffffffffffffffffffff1933606090811b8216602084015241901b166034820152446048820152456068820152426088820152909150600090829060a8016040516020818303038152906040528051906020012060001c6118669190612c88565b6000818152600c6020526040812054919250908103611886575080611897565b506000818152600c60205260409020545b600c60006118a6600186612b93565b8152602001908152602001600020546000036118db576118c7600184612b93565b6000838152600c602052604090205561190b565b600c60006118ea600186612b93565b81526020808201929092526040908101600090812054858252600c90935220555b611916816001612c5a565b935050505090565b610c84828260405180602001604052806000815250612209565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b806012544210156119dd5760405162461bcd60e51b815260206004820152601760248201527f4552524f523a2053414c45204953204e4f54204f50454e00000000000000000060448201526064016109eb565b60008111611a2d5760405162461bcd60e51b815260206004820152601860248201527f4552524f523a2043414e4e4f54204d494e542030204e4654000000000000000060448201526064016109eb565b7f0000000000000000000000000000000000000000000000000000000000000000811115611a9d5760405162461bcd60e51b815260206004820152601760248201527f4552524f523a204d41582050455220545820495320313500000000000000000060448201526064016109eb565b600d5481611aaa60085490565b611ab49190612c5a565b1115611b0c5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a20534f4c44204f55542c2054525920544f204d494e54204c45536044820152605360f81b60648201526084016109eb565b600f54811115611b4f5760405162461bcd60e51b815260206004820152600e60248201526d11549493d48e8814d3d31113d55560921b60448201526064016109eb565b6000600f5411611bab5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a20434f4c4c454354494f4e20414c524541445920534f4c444f556044820152601560fa1b60648201526084016109eb565b6000611bb63361123d565b8015611bfd5750336000908152601860205260409020547f000000000000000000000000000000000000000000000000000000000000000090611bfa908490612c5a565b11155b15611c0b5750601154611c10565b506010545b611c1a8282612c9c565b341015611c695760405162461bcd60e51b815260206004820152601960248201527f4552524f523a20494e53554646494349454e542046554e44530000000000000060448201526064016109eb565b60135460ff1615611cb45760405162461bcd60e51b815260206004820152601560248201527422a92927a91d1026a4a72a1024a990232927ad22a760591b60448201526064016109eb565b6002600b5403611d065760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109eb565b6002600b5560008367ffffffffffffffff811115611d2657611d26612793565b604051908082528060200260200182016040528015611d4f578160200160208202803683370190505b5090506000611d5d3361123d565b8015611da45750336000908152601860205260409020547f000000000000000000000000000000000000000000000000000000000000000090611da1908790612c5a565b11155b15611de65784601154611db79190612c9c565b33600090815260186020526040812080549293508792909190611ddb908490612c5a565b90915550611df79050565b84601054611df49190612c9c565b90505b6015546040516000916001600160a01b03169083908381818185875af1925050503d8060008114611e44576040519150601f19603f3d011682016040523d82523d6000602084013e611e49565b606091505b5050905080611e8d5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016109eb565b60005b86811015611f0857600e8054906000611ea883612a56565b9091555050600f8054906000611ebd83612a3f565b91905055506000611ecc6117e6565b9050611ed733610c6b565b80858381518110611eea57611eea612a6f565b60209081029190910101525080611f0081612a56565b915050611e90565b507fe88494cf6e65c53b5adfa8130635a7ede169f932b9b4007041f258466301892f3384604051611f3a929190612cbb565b60405180910390a150506001600b5550505050565b816001600160a01b0316836001600160a01b031603611fb05760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109eb565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61202884848461163f565b6120348484848461223c565b6111695760405162461bcd60e51b81526004016109eb90612cdf565b6060816000036120775750506040805180820190915260018152600360fc1b602082015290565b8160005b81156120a1578061208b81612a56565b915061209a9050600a83612d31565b915061207b565b60008167ffffffffffffffff8111156120bc576120bc612793565b6040519080825280601f01601f1916602001820160405280156120e6576020820181803683370190505b5090505b8415611637576120fb600183612b93565b9150612108600a86612c88565b612113906030612c5a565b60f81b81838151811061212857612128612a6f565b60200101906001600160f81b031916908160001a90535061214a600a86612d31565b94506120ea565b6001600160a01b0383166121ac576121a781600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6121cf565b816001600160a01b0316836001600160a01b0316146121cf576121cf838261233d565b6001600160a01b0382166121e657610a8c816123da565b826001600160a01b0316826001600160a01b031614610a8c57610a8c8282612489565b61221383836124cd565b612220600084848461223c565b610a8c5760405162461bcd60e51b81526004016109eb90612cdf565b60006001600160a01b0384163b1561233257604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612280903390899088908890600401612d45565b6020604051808303816000875af19250505080156122bb575060408051601f3d908101601f191682019092526122b891810190612d82565b60015b612318573d8080156122e9576040519150601f19603f3d011682016040523d82523d6000602084013e6122ee565b606091505b5080516000036123105760405162461bcd60e51b81526004016109eb90612cdf565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611637565b506001949350505050565b6000600161234a84610f26565b6123549190612b93565b6000838152600760205260409020549091508082146123a7576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906123ec90600190612b93565b6000838152600960205260408120546008805493945090928490811061241457612414612a6f565b90600052602060002001549050806008838154811061243557612435612a6f565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061246d5761246d612d9f565b6001900381819060005260206000200160009055905550505050565b600061249483610f26565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166125235760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109eb565b6000818152600260205260409020546001600160a01b0316156125885760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109eb565b61259460008383612151565b6001600160a01b03821660009081526003602052604081208054600192906125bd908490612c5a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b03198116811461111157600080fd5b60006020828403121561264357600080fd5b813561264e8161261b565b9392505050565b6000806040838503121561266857600080fd5b50508035926020909101359150565b60005b8381101561269257818101518382015260200161267a565b838111156111695750506000910152565b600081518084526126bb816020860160208601612677565b601f01601f19169290920160200192915050565b60208152600061264e60208301846126a3565b6000602082840312156126f457600080fd5b5035919050565b80356001600160a01b0381168114610b2557600080fd5b6000806040838503121561272557600080fd5b61272e836126fb565b946020939093013593505050565b60008060006060848603121561275157600080fd5b61275a846126fb565b9250612768602085016126fb565b9150604084013590509250925092565b60006020828403121561278a57600080fd5b61264e826126fb565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156127c4576127c4612793565b604051601f8501601f19908116603f011681019082821181831017156127ec576127ec612793565b8160405280935085815286868601111561280557600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561283157600080fd5b813567ffffffffffffffff81111561284857600080fd5b8201601f8101841361285957600080fd5b611637848235602084016127a9565b600081518084526020808501945080840160005b838110156128985781518752958201959082019060010161287c565b509495945050505050565b60208152600061264e6020830184612868565b600080604083850312156128c957600080fd5b6128d2836126fb565b9150602083013580151581146128e757600080fd5b809150509250929050565b6000806000806080858703121561290857600080fd5b612911856126fb565b935061291f602086016126fb565b925060408501359150606085013567ffffffffffffffff81111561294257600080fd5b8501601f8101871361295357600080fd5b612962878235602084016127a9565b91505092959194509250565b6000806040838503121561298157600080fd5b61298a836126fb565b9150612998602084016126fb565b90509250929050565b600181811c908216806129b557607f821691505b6020821081036129d557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600081612a4e57612a4e612a29565b506000190190565b600060018201612a6857612a68612a29565b5060010190565b634e487b7160e01b600052603260045260246000fd5b601f821115610a8c57600081815260208120601f850160051c81016020861015612aac5750805b601f850160051c820191505b81811015612acb57828155600101612ab8565b505050505050565b815167ffffffffffffffff811115612aed57612aed612793565b612b0181612afb84546129a1565b84612a85565b602080601f831160018114612b365760008415612b1e5750858301515b600019600386901b1c1916600185901b178555612acb565b600085815260208120601f198616915b82811015612b6557888601518255948401946001909101908401612b46565b5085821015612b835787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082821015612ba557612ba5612a29565b500390565b600060208284031215612bbc57600080fd5b5051919050565b6000808454612bd1816129a1565b60018281168015612be95760018114612bfe57612c2d565b60ff1984168752821515830287019450612c2d565b8860005260208060002060005b85811015612c245781548a820152908401908201612c0b565b50505082870194505b505050508351612c41818360208801612677565b64173539b7b760d91b9101908152600501949350505050565b60008219821115612c6d57612c6d612a29565b500190565b634e487b7160e01b600052601260045260246000fd5b600082612c9757612c97612c72565b500690565b6000816000190483118215151615612cb657612cb6612a29565b500290565b6001600160a01b038316815260406020820181905260009061163790830184612868565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600082612d4057612d40612c72565b500490565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612d78908301846126a3565b9695505050505050565b600060208284031215612d9457600080fd5b815161264e8161261b565b634e487b7160e01b600052603160045260246000fdfea264697066735822122041d073eb479bc0cafa3c7b1ba829e96010cc40d564decd427c783a24ff26aeb464736f6c634300080f00330000000000000000000000000000000000000000000000000000000000000060000000000000000000000000e7ade06aa0b3e754eba4344fb76524d1afa6da0b000000000000000000000000b0a48bdcbb08a1817c8edf51e940bd3e74572a140000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5a74574a31576d46445746774d735a6a4c59466a4e784d3378364a53717856464171674176733676676158702f00000000000000000000

Deployed Bytecode

0x6080604052600436106102675760003560e01c806370a0823111610144578063adaebc9b116100b6578063d5abeb011161007a578063d5abeb01146107a3578063dc52c3c0146107b8578063e985e9c5146107ec578063eb9372fa14610835578063ed3d161d1461084a578063f2fde38b1461086057600080fd5b8063adaebc9b1461070d578063b88d4fde14610723578063c2ba474414610743578063c683630d14610763578063c87b56dd1461078357600080fd5b80638da5cb5b116101085780638da5cb5b1461065d57806395d89b411461067b578063a0712d6814610690578063a22cb465146106a3578063a945bf80146106c3578063ab5e246f146106d957600080fd5b806370a08231146105d0578063715018a6146105f057806375935d1114610605578063801d8c9a146106325780638ac8f1dd1461064857600080fd5b80632fbba115116101dd5780634f6ccce7116101a15780634f6ccce7146104ea57806355f804b31461050a5780635a9b0b891461052a57806362a5af3b146105815780636352211e1461059b5780636c0360eb146105bb57600080fd5b80632fbba115146103ff5780633d4437821461041f5780633e38fe801461043457806342842e0e1461044a5780634672d7bf1461046a57600080fd5b806318160ddd1161022f57806318160ddd1461033d57806322f4596f1461035c57806323b872dd146103725780632acc659e146103925780632e221808146103b25780632f745c59146103df57600080fd5b806301ffc9a71461026c57806305fefda7146102a157806306fdde03146102c3578063081812fc146102e5578063095ea7b31461031d575b600080fd5b34801561027857600080fd5b5061028c610287366004612631565b610880565b60405190151581526020015b60405180910390f35b3480156102ad57600080fd5b506102c16102bc366004612655565b6108ab565b005b3480156102cf57600080fd5b506102d86108be565b60405161029891906126cf565b3480156102f157600080fd5b506103056103003660046126e2565b610950565b6040516001600160a01b039091168152602001610298565b34801561032957600080fd5b506102c1610338366004612712565b610977565b34801561034957600080fd5b506008545b604051908152602001610298565b34801561036857600080fd5b5061034e600d5481565b34801561037e57600080fd5b506102c161038d36600461273c565b610a91565b34801561039e57600080fd5b5061034e6103ad366004612778565b610ac2565b3480156103be57600080fd5b5061034e6103cd366004612778565b60186020526000908152604090205481565b3480156103eb57600080fd5b5061034e6103fa366004612712565b610b2a565b34801561040b57600080fd5b506102c161041a3660046126e2565b610bc0565b34801561042b57600080fd5b506102c1610c88565b34801561044057600080fd5b5061034e600f5481565b34801561045657600080fd5b506102c161046536600461273c565b610cea565b34801561047657600080fd5b506104bd6104853660046126e2565b6017602052600090815260409020805460018201546002909201546001600160801b0380831693600160801b90930416919060ff1684565b604080516001600160801b0395861681529490931660208501529183015215156060820152608001610298565b3480156104f657600080fd5b5061034e6105053660046126e2565b610d05565b34801561051657600080fd5b506102c161052536600461281f565b610d98565b34801561053657600080fd5b5061053f610dac565b6040516102989190600060a082019050825182526020830151602083015260408301516040830152606083015160608301526080830151608083015292915050565b34801561058d57600080fd5b5060135461028c9060ff1681565b3480156105a757600080fd5b506103056105b63660046126e2565b610e38565b3480156105c757600080fd5b506102d8610e98565b3480156105dc57600080fd5b5061034e6105eb366004612778565b610f26565b3480156105fc57600080fd5b506102c1610fac565b34801561061157600080fd5b50610625610620366004612778565b610fc0565b60405161029891906128a3565b34801561063e57600080fd5b5061034e60115481565b34801561065457600080fd5b506102c1611062565b34801561066957600080fd5b50600a546001600160a01b0316610305565b34801561068757600080fd5b506102d8611114565b6102c161069e3660046126e2565b611123565b3480156106af57600080fd5b506102c16106be3660046128b6565b61112c565b3480156106cf57600080fd5b5061034e60105481565b3480156106e557600080fd5b5061034e7f000000000000000000000000000000000000000000000000000000000000000a81565b34801561071957600080fd5b5061034e600e5481565b34801561072f57600080fd5b506102c161073e3660046128f2565b611137565b34801561074f57600080fd5b5061034e61075e366004612778565b61116f565b34801561076f57600080fd5b5061028c61077e366004612778565b61123d565b34801561078f57600080fd5b506102d861079e3660046126e2565b6112b8565b3480156107af57600080fd5b50600d5461034e565b3480156107c457600080fd5b5061034e7f000000000000000000000000000000000000000000000000000000000000000581565b3480156107f857600080fd5b5061028c61080736600461296e565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561084157600080fd5b506102c161136c565b34801561085657600080fd5b5061034e60125481565b34801561086c57600080fd5b506102c161087b366004612778565b6113d3565b60006001600160e01b0319821663780e9d6360e01b14806108a557506108a582611449565b92915050565b6108b3611499565b601091909155601155565b6060600080546108cd906129a1565b80601f01602080910402602001604051908101604052809291908181526020018280546108f9906129a1565b80156109465780601f1061091b57610100808354040283529160200191610946565b820191906000526020600020905b81548152906001019060200180831161092957829003601f168201915b5050505050905090565b600061095b826114f3565b506000908152600460205260409020546001600160a01b031690565b600061098282610e38565b9050806001600160a01b0316836001600160a01b0316036109f45760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b0382161480610a105750610a108133610807565b610a825760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c000060648201526084016109eb565b610a8c8383611552565b505050565b610a9b33826115c0565b610ab75760405162461bcd60e51b81526004016109eb906129db565b610a8c83838361163f565b6000610acd8261123d565b8015610b1057506001600160a01b0382166000908152601860205260409020547f0000000000000000000000000000000000000000000000000000000000000005115b15610b1d57505060115490565b505060105490565b919050565b6000610b3583610f26565b8210610b975760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016109eb565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610bc8611499565b600f54811115610c255760405162461bcd60e51b815260206004820152602260248201527f4552524f523a204e4f5420454e4f5547482052454d41494e494e4720535550506044820152614c5960f01b60648201526084016109eb565b60005b81811015610c8457600f8054906000610c4083612a3f565b9091555050600e8054906000610c5583612a56565b91905055506000610c646117e6565b9050610c71335b8261191e565b5080610c7c81612a56565b915050610c28565b5050565b610c90611499565b60135460ff1615610cdb5760405162461bcd60e51b815260206004820152601560248201527422a92927a91d1026a4a72a1024a990232927ad22a760591b60448201526064016109eb565b6013805460ff19166001179055565b610a8c83838360405180602001604052806000815250611137565b6000610d1060085490565b8210610d735760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016109eb565b60088281548110610d8657610d86612a6f565b90600052602060002001549050919050565b610da0611499565b6014610c848282612ad3565b610dde6040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b6040518060a0016040528060105481526020016011548152602001600d548152602001610e0a60085490565b81526020017f000000000000000000000000000000000000000000000000000000000000000a815250905090565b6000818152600260205260408120546001600160a01b0316806108a55760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016109eb565b60148054610ea5906129a1565b80601f0160208091040260200160405190810160405280929190818152602001828054610ed1906129a1565b8015610f1e5780601f10610ef357610100808354040283529160200191610f1e565b820191906000526020600020905b815481529060010190602001808311610f0157829003601f168201915b505050505081565b60006001600160a01b038216610f905760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016109eb565b506001600160a01b031660009081526003602052604090205490565b610fb4611499565b610fbe6000611938565b565b60606000610fcd83610f26565b905060008167ffffffffffffffff811115610fea57610fea612793565b604051908082528060200260200182016040528015611013578160200160208202803683370190505b50905060005b8281101561105a5761102b8582610b2a565b82828151811061103d5761103d612a6f565b60209081029190910101528061105281612a56565b915050611019565b509392505050565b61106a611499565b600061107e600a546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d80600081146110c8576040519150601f19603f3d011682016040523d82523d6000602084013e6110cd565b606091505b50509050806111115760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016109eb565b50565b6060600180546108cd906129a1565b6111118161198a565b610c84338383611f4f565b61114133836115c0565b61115d5760405162461bcd60e51b81526004016109eb906129db565b6111698484848461201d565b50505050565b60006012544210611235576111838261123d565b80156111c657506001600160a01b0382166000908152601860205260409020547f0000000000000000000000000000000000000000000000000000000000000005115b1561120e576001600160a01b0382166000908152601860205260409020546108a5907f0000000000000000000000000000000000000000000000000000000000000005612b93565b507f000000000000000000000000000000000000000000000000000000000000000a919050565b506000919050565b6016546040516370a0823160e01b81526001600160a01b0383811660048301526000926001929116906370a0823190602401602060405180830381865afa15801561128c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b09190612baa565b101592915050565b6000818152600260205260409020546060906001600160a01b03166113375760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109eb565b6000601461134484612050565b604051602001611355929190612bc3565b60408051601f198184030181529190529392505050565b611374611499565b60135460ff16156113c75760405162461bcd60e51b815260206004820152601960248201527f4552524f523a204d494e54204953204e4f542046524f5a454e0000000000000060448201526064016109eb565b6013805460ff19169055565b6113db611499565b6001600160a01b0381166114405760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109eb565b61111181611938565b60006001600160e01b031982166380ac58cd60e01b148061147a57506001600160e01b03198216635b5e139f60e01b145b806108a557506301ffc9a760e01b6001600160e01b03198316146108a5565b600a546001600160a01b03163314610fbe5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109eb565b6000818152600260205260409020546001600160a01b03166111115760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016109eb565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061158782610e38565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806115cc83610e38565b9050806001600160a01b0316846001600160a01b0316148061161357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806116375750836001600160a01b031661162c84610950565b6001600160a01b0316145b949350505050565b826001600160a01b031661165282610e38565b6001600160a01b0316146116b65760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016109eb565b6001600160a01b0382166117185760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016109eb565b611723838383612151565b61172e600082611552565b6001600160a01b0383166000908152600360205260408120805460019290611757908490612b93565b90915550506001600160a01b0382166000908152600360205260408120805460019290611785908490612c5a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000806117f260085490565b600d546117ff9190612b93565b6040516bffffffffffffffffffffffff1933606090811b8216602084015241901b166034820152446048820152456068820152426088820152909150600090829060a8016040516020818303038152906040528051906020012060001c6118669190612c88565b6000818152600c6020526040812054919250908103611886575080611897565b506000818152600c60205260409020545b600c60006118a6600186612b93565b8152602001908152602001600020546000036118db576118c7600184612b93565b6000838152600c602052604090205561190b565b600c60006118ea600186612b93565b81526020808201929092526040908101600090812054858252600c90935220555b611916816001612c5a565b935050505090565b610c84828260405180602001604052806000815250612209565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b806012544210156119dd5760405162461bcd60e51b815260206004820152601760248201527f4552524f523a2053414c45204953204e4f54204f50454e00000000000000000060448201526064016109eb565b60008111611a2d5760405162461bcd60e51b815260206004820152601860248201527f4552524f523a2043414e4e4f54204d494e542030204e4654000000000000000060448201526064016109eb565b7f000000000000000000000000000000000000000000000000000000000000000a811115611a9d5760405162461bcd60e51b815260206004820152601760248201527f4552524f523a204d41582050455220545820495320313500000000000000000060448201526064016109eb565b600d5481611aaa60085490565b611ab49190612c5a565b1115611b0c5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a20534f4c44204f55542c2054525920544f204d494e54204c45536044820152605360f81b60648201526084016109eb565b600f54811115611b4f5760405162461bcd60e51b815260206004820152600e60248201526d11549493d48e8814d3d31113d55560921b60448201526064016109eb565b6000600f5411611bab5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a20434f4c4c454354494f4e20414c524541445920534f4c444f556044820152601560fa1b60648201526084016109eb565b6000611bb63361123d565b8015611bfd5750336000908152601860205260409020547f000000000000000000000000000000000000000000000000000000000000000590611bfa908490612c5a565b11155b15611c0b5750601154611c10565b506010545b611c1a8282612c9c565b341015611c695760405162461bcd60e51b815260206004820152601960248201527f4552524f523a20494e53554646494349454e542046554e44530000000000000060448201526064016109eb565b60135460ff1615611cb45760405162461bcd60e51b815260206004820152601560248201527422a92927a91d1026a4a72a1024a990232927ad22a760591b60448201526064016109eb565b6002600b5403611d065760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109eb565b6002600b5560008367ffffffffffffffff811115611d2657611d26612793565b604051908082528060200260200182016040528015611d4f578160200160208202803683370190505b5090506000611d5d3361123d565b8015611da45750336000908152601860205260409020547f000000000000000000000000000000000000000000000000000000000000000590611da1908790612c5a565b11155b15611de65784601154611db79190612c9c565b33600090815260186020526040812080549293508792909190611ddb908490612c5a565b90915550611df79050565b84601054611df49190612c9c565b90505b6015546040516000916001600160a01b03169083908381818185875af1925050503d8060008114611e44576040519150601f19603f3d011682016040523d82523d6000602084013e611e49565b606091505b5050905080611e8d5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016109eb565b60005b86811015611f0857600e8054906000611ea883612a56565b9091555050600f8054906000611ebd83612a3f565b91905055506000611ecc6117e6565b9050611ed733610c6b565b80858381518110611eea57611eea612a6f565b60209081029190910101525080611f0081612a56565b915050611e90565b507fe88494cf6e65c53b5adfa8130635a7ede169f932b9b4007041f258466301892f3384604051611f3a929190612cbb565b60405180910390a150506001600b5550505050565b816001600160a01b0316836001600160a01b031603611fb05760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109eb565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61202884848461163f565b6120348484848461223c565b6111695760405162461bcd60e51b81526004016109eb90612cdf565b6060816000036120775750506040805180820190915260018152600360fc1b602082015290565b8160005b81156120a1578061208b81612a56565b915061209a9050600a83612d31565b915061207b565b60008167ffffffffffffffff8111156120bc576120bc612793565b6040519080825280601f01601f1916602001820160405280156120e6576020820181803683370190505b5090505b8415611637576120fb600183612b93565b9150612108600a86612c88565b612113906030612c5a565b60f81b81838151811061212857612128612a6f565b60200101906001600160f81b031916908160001a90535061214a600a86612d31565b94506120ea565b6001600160a01b0383166121ac576121a781600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6121cf565b816001600160a01b0316836001600160a01b0316146121cf576121cf838261233d565b6001600160a01b0382166121e657610a8c816123da565b826001600160a01b0316826001600160a01b031614610a8c57610a8c8282612489565b61221383836124cd565b612220600084848461223c565b610a8c5760405162461bcd60e51b81526004016109eb90612cdf565b60006001600160a01b0384163b1561233257604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612280903390899088908890600401612d45565b6020604051808303816000875af19250505080156122bb575060408051601f3d908101601f191682019092526122b891810190612d82565b60015b612318573d8080156122e9576040519150601f19603f3d011682016040523d82523d6000602084013e6122ee565b606091505b5080516000036123105760405162461bcd60e51b81526004016109eb90612cdf565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611637565b506001949350505050565b6000600161234a84610f26565b6123549190612b93565b6000838152600760205260409020549091508082146123a7576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906123ec90600190612b93565b6000838152600960205260408120546008805493945090928490811061241457612414612a6f565b90600052602060002001549050806008838154811061243557612435612a6f565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061246d5761246d612d9f565b6001900381819060005260206000200160009055905550505050565b600061249483610f26565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166125235760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109eb565b6000818152600260205260409020546001600160a01b0316156125885760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109eb565b61259460008383612151565b6001600160a01b03821660009081526003602052604081208054600192906125bd908490612c5a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b03198116811461111157600080fd5b60006020828403121561264357600080fd5b813561264e8161261b565b9392505050565b6000806040838503121561266857600080fd5b50508035926020909101359150565b60005b8381101561269257818101518382015260200161267a565b838111156111695750506000910152565b600081518084526126bb816020860160208601612677565b601f01601f19169290920160200192915050565b60208152600061264e60208301846126a3565b6000602082840312156126f457600080fd5b5035919050565b80356001600160a01b0381168114610b2557600080fd5b6000806040838503121561272557600080fd5b61272e836126fb565b946020939093013593505050565b60008060006060848603121561275157600080fd5b61275a846126fb565b9250612768602085016126fb565b9150604084013590509250925092565b60006020828403121561278a57600080fd5b61264e826126fb565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156127c4576127c4612793565b604051601f8501601f19908116603f011681019082821181831017156127ec576127ec612793565b8160405280935085815286868601111561280557600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561283157600080fd5b813567ffffffffffffffff81111561284857600080fd5b8201601f8101841361285957600080fd5b611637848235602084016127a9565b600081518084526020808501945080840160005b838110156128985781518752958201959082019060010161287c565b509495945050505050565b60208152600061264e6020830184612868565b600080604083850312156128c957600080fd5b6128d2836126fb565b9150602083013580151581146128e757600080fd5b809150509250929050565b6000806000806080858703121561290857600080fd5b612911856126fb565b935061291f602086016126fb565b925060408501359150606085013567ffffffffffffffff81111561294257600080fd5b8501601f8101871361295357600080fd5b612962878235602084016127a9565b91505092959194509250565b6000806040838503121561298157600080fd5b61298a836126fb565b9150612998602084016126fb565b90509250929050565b600181811c908216806129b557607f821691505b6020821081036129d557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600081612a4e57612a4e612a29565b506000190190565b600060018201612a6857612a68612a29565b5060010190565b634e487b7160e01b600052603260045260246000fd5b601f821115610a8c57600081815260208120601f850160051c81016020861015612aac5750805b601f850160051c820191505b81811015612acb57828155600101612ab8565b505050505050565b815167ffffffffffffffff811115612aed57612aed612793565b612b0181612afb84546129a1565b84612a85565b602080601f831160018114612b365760008415612b1e5750858301515b600019600386901b1c1916600185901b178555612acb565b600085815260208120601f198616915b82811015612b6557888601518255948401946001909101908401612b46565b5085821015612b835787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082821015612ba557612ba5612a29565b500390565b600060208284031215612bbc57600080fd5b5051919050565b6000808454612bd1816129a1565b60018281168015612be95760018114612bfe57612c2d565b60ff1984168752821515830287019450612c2d565b8860005260208060002060005b85811015612c245781548a820152908401908201612c0b565b50505082870194505b505050508351612c41818360208801612677565b64173539b7b760d91b9101908152600501949350505050565b60008219821115612c6d57612c6d612a29565b500190565b634e487b7160e01b600052601260045260246000fd5b600082612c9757612c97612c72565b500690565b6000816000190483118215151615612cb657612cb6612a29565b500290565b6001600160a01b038316815260406020820181905260009061163790830184612868565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600082612d4057612d40612c72565b500490565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612d78908301846126a3565b9695505050505050565b600060208284031215612d9457600080fd5b815161264e8161261b565b634e487b7160e01b600052603160045260246000fdfea264697066735822122041d073eb479bc0cafa3c7b1ba829e96010cc40d564decd427c783a24ff26aeb464736f6c634300080f0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000e7ade06aa0b3e754eba4344fb76524d1afa6da0b000000000000000000000000b0a48bdcbb08a1817c8edf51e940bd3e74572a140000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5a74574a31576d46445746774d735a6a4c59466a4e784d3378364a53717856464171674176733676676158702f00000000000000000000

-----Decoded View---------------
Arg [0] : _baseURI (string): ipfs://QmZtWJ1WmFDWFwMsZjLYFjNxM3x6JSqxVFAqgAvs6vgaXp/
Arg [1] : _fqgWallet (address): 0xe7ade06aa0b3e754eba4344fb76524d1afa6da0b
Arg [2] : _fmgAddress (address): 0xb0a48bdcbb08a1817c8edf51e940bd3e74572a14

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 000000000000000000000000e7ade06aa0b3e754eba4344fb76524d1afa6da0b
Arg [2] : 000000000000000000000000b0a48bdcbb08a1817c8edf51e940bd3e74572a14
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [4] : 697066733a2f2f516d5a74574a31576d46445746774d735a6a4c59466a4e784d
Arg [5] : 3378364a53717856464171674176733676676158702f00000000000000000000


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.