ETH Price: $3,265.75 (-6.02%)

Contract

0xbbf20322B5c5A9D92114fB0d28fc2b92Ec90F064
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...188726632023-12-26 21:52:47388 days ago1703627567IN
0xbbf20322...2Ec90F064
0 ETH0.0007320915.84547343
Set Approval For...188035952023-12-17 5:12:35398 days ago1702789955IN
0xbbf20322...2Ec90F064
0 ETH0.0006590227.22575076
Set Approval For...182999602023-10-07 17:00:23469 days ago1696698023IN
0xbbf20322...2Ec90F064
0 ETH0.000164716.80455921
Set Approval For...181957022023-09-23 3:00:59483 days ago1695438059IN
0xbbf20322...2Ec90F064
0 ETH0.000195098.05960229
Set Approval For...168207352023-03-13 18:05:35677 days ago1678730735IN
0xbbf20322...2Ec90F064
0 ETH0.0016179635.08311297
Set Approval For...165891352023-02-09 5:33:11709 days ago1675920791IN
0xbbf20322...2Ec90F064
0 ETH0.0010791623.3574382
Set Approval For...165891222023-02-09 5:30:35709 days ago1675920635IN
0xbbf20322...2Ec90F064
0 ETH0.0011964125.94246906
Set Approval For...157625262022-10-16 18:40:35825 days ago1665945635IN
0xbbf20322...2Ec90F064
0 ETH0.0006011913.03611972
Set Approval For...155551972022-09-17 18:50:35854 days ago1663440635IN
0xbbf20322...2Ec90F064
0 ETH0.000291726.32559123
Set Approval For...155016402022-09-09 8:07:06862 days ago1662710826IN
0xbbf20322...2Ec90F064
0 ETH0.0005504711.93624281
Safe Transfer Fr...155016312022-09-09 8:04:09862 days ago1662710649IN
0xbbf20322...2Ec90F064
0 ETH0.00115510.6379301
Safe Transfer Fr...154506602022-09-01 3:58:03870 days ago1662004683IN
0xbbf20322...2Ec90F064
0 ETH0.0005991211.57381289
Safe Transfer Fr...154506572022-09-01 3:57:24870 days ago1662004644IN
0xbbf20322...2Ec90F064
0 ETH0.0009335112.95708336
Safe Transfer Fr...154506542022-09-01 3:56:35870 days ago1662004595IN
0xbbf20322...2Ec90F064
0 ETH0.000616411.90749016
Safe Transfer Fr...154503412022-09-01 2:49:21870 days ago1662000561IN
0xbbf20322...2Ec90F064
0 ETH0.0008613911.95597263
Safe Transfer Fr...154502832022-09-01 2:36:07870 days ago1661999767IN
0xbbf20322...2Ec90F064
0 ETH0.0013046717.18777055
Set Approval For...154093402022-08-25 13:27:33877 days ago1661434053IN
0xbbf20322...2Ec90F064
0 ETH0.0004817810.44673068
Set Approval For...154048542022-08-24 19:57:53878 days ago1661371073IN
0xbbf20322...2Ec90F064
0 ETH0.0004806119.85517061
Safe Transfer Fr...153954762022-08-23 8:18:28879 days ago1661242708IN
0xbbf20322...2Ec90F064
0 ETH0.0005302811.29089485
Set Approval For...153932202022-08-22 23:43:43879 days ago1661211823IN
0xbbf20322...2Ec90F064
0 ETH0.0008800119.08171651
Safe Transfer Fr...153861142022-08-21 20:39:09881 days ago1661114349IN
0xbbf20322...2Ec90F064
0 ETH0.00085359.5741616
Set Approval For...153785422022-08-20 16:04:43882 days ago1661011483IN
0xbbf20322...2Ec90F064
0 ETH0.0009477339.15299223
Safe Transfer Fr...153738522022-08-19 22:16:07882 days ago1660947367IN
0xbbf20322...2Ec90F064
0 ETH0.0041513731.57876625
Safe Transfer Fr...153738492022-08-19 22:14:16882 days ago1660947256IN
0xbbf20322...2Ec90F064
0 ETH0.0026963826.11716673
Safe Transfer Fr...153738472022-08-19 22:13:28882 days ago1660947208IN
0xbbf20322...2Ec90F064
0 ETH0.0032540223.49206792
View all transactions

Latest 10 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
153496632022-08-16 2:09:26886 days ago1660615766
0xbbf20322...2Ec90F064
4.2035625 ETH
153496632022-08-16 2:09:26886 days ago1660615766
0xbbf20322...2Ec90F064
0.066975 ETH
153496632022-08-16 2:09:26886 days ago1660615766
0xbbf20322...2Ec90F064
0.1004625 ETH
153496632022-08-16 2:09:26886 days ago1660615766
0xbbf20322...2Ec90F064
0.334875 ETH
153496632022-08-16 2:09:26886 days ago1660615766
0xbbf20322...2Ec90F064
0.334875 ETH
153496632022-08-16 2:09:26886 days ago1660615766
0xbbf20322...2Ec90F064
0.3525 ETH
153496632022-08-16 2:09:26886 days ago1660615766
0xbbf20322...2Ec90F064
0.564 ETH
153496632022-08-16 2:09:26886 days ago1660615766
0xbbf20322...2Ec90F064
0.74025 ETH
153496632022-08-16 2:09:26886 days ago1660615766
0xbbf20322...2Ec90F064
0.17625 ETH
153496632022-08-16 2:09:26886 days ago1660615766
0xbbf20322...2Ec90F064
0.17625 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Duckz2

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 20000 runs

Other Settings:
default evmVersion
File 1 of 13 : Duckz2.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";

contract Duckz2 is ERC721A, Ownable {
    using SafeMath for uint256;
    
    //Sale States
    bool public isPresaleActive = false;
    bool public isBreadmintActive = false;
    bool public isPublicSaleActive = false;
    mapping (address => uint256) public voucherId;
    mapping (address => uint256) public duckMints;
    mapping (address => uint256) public allowListMints;
    
    //Privates
    string private _baseURIextended;  
    address private signer = 0x9A936666bA976722dDB109ba4EAB82dE2A253BF2;
    address private payoutWallet1 = 0x7f504FdbdD987fd1E0390DCEa0f3c9D6A4b8c7e3;
    address private payoutWallet2 = 0xEEe92B57337818A6D4718a8A3Ec092D3776e7d42;
    address private payoutWallet3 = 0x5c1F8EBA81507c2A0D83e6DE84cb083f2Fac98A7;
    address private payoutWallet4 = 0x857b371e3318b9fbfe13C04001FA4563Ff931cD2;
    address private payoutWallet5 = 0xa02291Bd4ccA0B604c85FF63FA0357E7d840Dd74;
    address private payoutWallet6 = 0xa2C219Eb7e10439a21E7F38E77DA661eb18295AF;
    address private payoutWallet7 = 0x87BB217C7B61f1b37037fc2612589E0B2BD83324;
    address private payoutWallet8 = 0x4F4c9D8F3424c56eC71835868aF042B2a5429c34;
    address private advisorWallet1 = 0xD0322cd77b6223F777b254E7f18FA55D74756B52;
    address private advisorWallet2 = 0x29e01eC68521FA1c3bd685aA4aDa59FAe1e7C048;

    //Constants
    uint256 public constant MAX_SUPPLY = 5555;
    uint256 public constant RESERVE_COUNT = 100;
    uint256 public constant PRICE_PER_TOKEN = 0.025 ether;
    uint256 public constant SALE_PRICE = 0.0125 ether;
    
    constructor() ERC721A("HypnoDuckzGen2", "DUCKZ2") {
    }

    //Mint flow
    function startPresale() external onlyOwner {
        isPresaleActive = true;
        isBreadmintActive = true;
    }

    function startPublicSale() external onlyOwner {
        isPresaleActive = false;
        isPublicSaleActive = true;
    }

    function endMint() external onlyOwner {
        isPublicSaleActive = false;
        isBreadmintActive = false;
    }

    //Presale
    function setIsPresaleActive(bool _isPresaleActive) external onlyOwner {
        isPresaleActive = _isPresaleActive;
    }

    function setIsBreadmintActive(bool _isBreadmintActive) external onlyOwner {
        isBreadmintActive = _isBreadmintActive;
    }

    function setSigner(address _signer) external onlyOwner {
        signer = _signer;
    }

    function _verifySignature(address _signer, bytes32 _hash, bytes memory _signature) private pure returns (bool) {
        return _signer == ECDSA.recover(ECDSA.toEthSignedMessageHash(_hash), _signature);
    }

    //Bread minting
    function mintBread(uint256 _voucherId, address _address, uint256 _amount, bytes calldata _voucher) external {
        uint256 ts = totalSupply();
        require(isBreadmintActive, "Breadmint is not active");
        require(voucherId[_address] == _voucherId, "Bad voucherId");
        require(ts + _amount < MAX_SUPPLY + 1, "Purchase would exceed max tokens");
        require(msg.sender == _address, "Not your voucher");

        bytes32 hash = keccak256(
            abi.encodePacked(_voucherId, _address, _amount, "bread")
        );
        require(_verifySignature(signer, hash, _voucher), "Invalid voucher");

        voucherId[_address]++;
        _safeMint(_address, _amount);
    }

    //Duck sale minting
    function mintSale(uint256 _amount, uint256 _max, address _address, bytes calldata _voucher) external payable {
        uint256 ts = totalSupply();
        require(isPresaleActive, "Presale is not active");
        require(duckMints[_address] + _amount < _max + 1, "Over mint limit");
        require(ts + _amount < MAX_SUPPLY + 1, "Purchase would exceed max tokens");
        require(msg.value + 1 > SALE_PRICE * _amount, "Ether value sent is not correct");
        require(msg.sender == _address, "Not your voucher");

        bytes32 hash = keccak256(
            abi.encodePacked(_max, _address, "salemint")
        );
        require(_verifySignature(signer, hash, _voucher), "Invalid voucher");

        duckMints[_address] += _amount;
        _safeMint(msg.sender, _amount + (_amount / 3));
    }

    //Allowlist minting
    function mintAllowList(uint256 _amount, address _address, bytes calldata _voucher) external payable {
        uint256 ts = totalSupply();
        require(isPresaleActive, "Presale is not active");
        require(allowListMints[_address] + _amount < 4, "Over mint limit");
        require(ts + _amount < MAX_SUPPLY + 1, "Purchase would exceed max tokens");
        require(msg.value + 1 > PRICE_PER_TOKEN * _amount , "Ether value sent is not correct");
        require(msg.sender == _address, "Not your voucher");

        bytes32 hash = keccak256(
            abi.encodePacked(_address, "allowlist")
        );
        require(_verifySignature(signer, hash, _voucher), "Invalid voucher");

        allowListMints[_address] += _amount;
        if (_amount == 3) {
            _safeMint(_address, 4);
        }
        else {
            _safeMint(_address, _amount);
        }
    }
    //
    
    //Public Minting
    function setPublicSaleState(bool _isPublicSaleActive) external onlyOwner {
        isPublicSaleActive = _isPublicSaleActive;
    }

    function mintNFT(uint256 _amount, address _address) external payable {
        uint256 ts = totalSupply();
        require(tx.origin == msg.sender, "No contracts");
        require(isPublicSaleActive, "Public sale is not active");
        require(_amount < 4, "Over mint limit");
        require(ts + _amount < MAX_SUPPLY + 1, "Purchase would exceed max tokens");
        require(msg.value + 1 > PRICE_PER_TOKEN * _amount , "Ether value sent is not correct");
        require(msg.sender == _address, "Bad address");

        if (_amount == 3 && ts + 4 < MAX_SUPPLY + 1) {
            _safeMint(_address, 4);
        }
        else {
            _safeMint(_address, _amount);
        }
    }
    //

    //Overrides
    function setBaseURI(string memory baseURI_) external onlyOwner() {
        _baseURIextended = baseURI_;
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return _baseURIextended;
    }

    function _startTokenId() internal view virtual override returns (uint256) {
        return 555;
    }
    //

    function reserve() external onlyOwner {
        require(totalSupply() == 0, "Tokens already reserved");
        _safeMint(msg.sender, RESERVE_COUNT);
    }
    
    //Withdraw balance
    function withdraw() external onlyOwner {
        uint256 balance = address(this).balance;
        //Gross
        payable(advisorWallet1).transfer(balance*25/1000);
        payable(advisorWallet2).transfer(balance*25/1000);
        uint256 newBalance = address(this).balance;
        //Gross
        payable(payoutWallet2).transfer(balance*105/1000);
        payable(payoutWallet3).transfer(balance*8/100);
        payable(payoutWallet4).transfer(balance*5/100);
        //Net
        payable(payoutWallet5).transfer(newBalance*5/100);
        payable(payoutWallet6).transfer(newBalance*5/100);
        payable(payoutWallet7).transfer(newBalance*15/1000);
        payable(payoutWallet8).transfer(newBalance*1/100);
        balance = address(this).balance;
        payable(payoutWallet1).transfer(balance);
    }
    //
}

File 2 of 13 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 3 of 13 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

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

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

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

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

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 4 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 5 of 13 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerQueryForNonexistentToken();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex;

    // The number of tokens burned.
    uint256 internal _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

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

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

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    /**
     * To change the starting tokenId, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to _startTokenId()
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    function walletOfOwner(address owner) public view returns(uint256[] memory) {
        uint256 tokenCount = balanceOf(owner);

        uint256[] memory tokenIds = new uint256[](tokenCount);
        if (tokenCount == 0)
        {
            return tokenIds;
        }

        uint256 numMintedSoFar = totalSupply() + _startTokenId();
        uint256 tokenIdsIdx = 0;
        address currOwnershipAddr = address(0);
        for (uint256 i = _startTokenId(); i < numMintedSoFar; i++) {
            TokenOwnership memory ownership = _ownerships[i];
            if (ownership.addr != address(0)) {
                currOwnershipAddr = ownership.addr;
            }
            if (currOwnershipAddr == owner) {
                tokenIds[tokenIdsIdx] = i;
                tokenIdsIdx++;
                if (tokenIdsIdx == tokenCount) {
                    return tokenIds;
                }
            }
        }
        revert("ERC721A: unable to get walletOfOwner");
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return _addressData[owner].aux;
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        _addressData[owner].aux = aux;
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant:
                    // There will always be an ownership that has an address and is not burned
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return _ownershipOf(tokenId).addr;
    }

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

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

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

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

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

        if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) {
            revert ApprovalCallerNotOwnerNorApproved();
        }

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

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

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

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

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity, _data, true);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (safe && to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex != end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex != end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSender() == from ||
            isApprovedForAll(from, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = to;
            currSlot.startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev This is equivalent to _burn(tokenId, false)
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        address from = prevOwnership.addr;

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSender() == from ||
                isApprovedForAll(from, _msgSender()) ||
                getApproved(tokenId) == _msgSender());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            AddressData storage addressData = _addressData[from];
            addressData.balance -= 1;
            addressData.numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = from;
            currSlot.startTimestamp = uint64(block.timestamp);
            currSlot.burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        address owner
    ) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

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

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

File 6 of 13 : 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 7 of 13 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 8 of 13 : 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 9 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 10 of 13 : 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 11 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 12 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 13 of 13 : 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": 20000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE_PER_TOKEN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVE_COUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowListMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"duckMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endMint","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":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isBreadmintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPresaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_address","type":"address"},{"internalType":"bytes","name":"_voucher","type":"bytes"}],"name":"mintAllowList","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_voucherId","type":"uint256"},{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_voucher","type":"bytes"}],"name":"mintBread","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_address","type":"address"}],"name":"mintNFT","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_max","type":"uint256"},{"internalType":"address","name":"_address","type":"address"},{"internalType":"bytes","name":"_voucher","type":"bytes"}],"name":"mintSale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isBreadmintActive","type":"bool"}],"name":"setIsBreadmintActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPresaleActive","type":"bool"}],"name":"setIsPresaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPublicSaleActive","type":"bool"}],"name":"setPublicSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signer","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"voucherId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526008805462ffffff60a01b19169055600d80546001600160a01b0319908116739a936666ba976722ddb109ba4eab82de2a253bf217909155600e80548216737f504fdbdd987fd1e0390dcea0f3c9d6a4b8c7e3179055600f8054821673eee92b57337818a6d4718a8a3ec092d3776e7d42179055601080548216735c1f8eba81507c2a0d83e6de84cb083f2fac98a717905560118054821673857b371e3318b9fbfe13c04001fa4563ff931cd217905560128054821673a02291bd4cca0b604c85ff63fa0357e7d840dd7417905560138054821673a2c219eb7e10439a21e7f38e77da661eb18295af1790556014805482167387bb217c7b61f1b37037fc2612589e0b2bd83324179055601580548216734f4c9d8f3424c56ec71835868af042b2a5429c3417905560168054821673d0322cd77b6223f777b254e7f18fa55d74756b52179055601780549091167329e01ec68521fa1c3bd685aa4ada59fae1e7c0481790553480156200017657600080fd5b50604080518082018252600e81526d243cb83737a23ab1b5bd23b2b71960911b602080830191825283518085019094526006845265222aa1a5ad1960d11b908401528151919291620001cb916002916200024d565b508051620001e19060039060208401906200024d565b505061022b60005550620001f533620001fb565b62000330565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200025b90620002f3565b90600052602060002090601f0160209004810192826200027f5760008555620002ca565b82601f106200029a57805160ff1916838001178555620002ca565b82800160010185558215620002ca579182015b82811115620002ca578251825591602001919060010190620002ad565b50620002d8929150620002dc565b5090565b5b80821115620002d85760008155600101620002dd565b600181811c908216806200030857607f821691505b602082108114156200032a57634e487b7160e01b600052602260045260246000fd5b50919050565b6142d280620003406000396000f3fe6080604052600436106102d15760003560e01c80636352211e1161017957806391954c74116100d6578063b88d4fde1161008a578063cd3293de11610064578063cd3293de14610809578063e985e9c51461081e578063f2fde38b1461087457600080fd5b8063b88d4fde146107b4578063c7837ef1146107d4578063c87b56dd146107e957600080fd5b806395d89b41116100bb57806395d89b41146107525780639a4bdd3414610767578063a22cb4651461079457600080fd5b806391954c74146106ff5780639293a5c71461073257600080fd5b80637f205a741161012d57806388af088b1161011257806388af088b146106875780638da5cb5b146106a757806390ad4bdf146106d257600080fd5b80637f205a7414610651578063833b94991461066c57600080fd5b80636c19e7831161015e5780636c19e783146105fc57806370a082311461061c578063715018a61461063c57600080fd5b80636352211e146105c9578063669f5a51146105e957600080fd5b80631beb2ab7116102325780633ccfd60b116101e6578063443da2a2116101c0578063443da2a21461055757806355f804b31461057757806360d938dc1461059757600080fd5b80633ccfd60b146104f557806342842e0e1461050a578063438b63001461052a57600080fd5b806323b872dd1161021757806323b872dd1461049257806332464a38146104b257806332cb6b0c146104df57600080fd5b80631beb2ab71461044b5780631e84c4131461045e57600080fd5b8063095ea7b31161028957806316f182be1161026e57806316f182be146103d357806318160ddd146103f35780631bbd3e541461043857600080fd5b8063095ea7b31461039e5780630c1c972a146103be57600080fd5b806304c98b2b116102ba57806304c98b2b1461032257806306fdde0314610337578063081812fc1461035957600080fd5b8063017043a5146102d657806301ffc9a7146102ed575b600080fd5b3480156102e257600080fd5b506102eb610894565b005b3480156102f957600080fd5b5061030d610308366004613d51565b61092a565b60405190151581526020015b60405180910390f35b34801561032e57600080fd5b506102eb610a0f565b34801561034357600080fd5b5061034c610ab8565b6040516103199190614023565b34801561036557600080fd5b50610379610374366004613dd4565b610b4a565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610319565b3480156103aa57600080fd5b506102eb6103b9366004613d0c565b610bb4565b3480156103ca57600080fd5b506102eb610c9b565b3480156103df57600080fd5b506102eb6103ee366004613d36565b610d45565b3480156103ff57600080fd5b50600154600054037ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdd5015b604051908152602001610319565b6102eb610446366004613e10565b610df7565b6102eb610459366004613ed2565b6111e3565b34801561046a57600080fd5b5060085461030d90760100000000000000000000000000000000000000000000900460ff1681565b34801561049e57600080fd5b506102eb6104ad366004613c2a565b6115e2565b3480156104be57600080fd5b5061042a6104cd366004613bdc565b60096020526000908152604090205481565b3480156104eb57600080fd5b5061042a6115b381565b34801561050157600080fd5b506102eb6115ed565b34801561051657600080fd5b506102eb610525366004613c2a565b6119e2565b34801561053657600080fd5b5061054a610545366004613bdc565b6119fd565b6040516103199190613fdf565b34801561056357600080fd5b506102eb610572366004613d36565b611c3a565b34801561058357600080fd5b506102eb610592366004613d8b565b611ceb565b3480156105a357600080fd5b5060085461030d9074010000000000000000000000000000000000000000900460ff1681565b3480156105d557600080fd5b506103796105e4366004613dd4565b611d69565b6102eb6105f7366004613ded565b611d7b565b34801561060857600080fd5b506102eb610617366004613bdc565b61202c565b34801561062857600080fd5b5061042a610637366004613bdc565b6120da565b34801561064857600080fd5b506102eb61215c565b34801561065d57600080fd5b5061042a662c68af0bb1400081565b34801561067857600080fd5b5061042a6658d15e1762800081565b34801561069357600080fd5b506102eb6106a2366004613e6a565b6121cf565b3480156106b357600080fd5b5060085473ffffffffffffffffffffffffffffffffffffffff16610379565b3480156106de57600080fd5b5061042a6106ed366004613bdc565b600b6020526000908152604090205481565b34801561070b57600080fd5b5060085461030d907501000000000000000000000000000000000000000000900460ff1681565b34801561073e57600080fd5b506102eb61074d366004613d36565b612510565b34801561075e57600080fd5b5061034c6125c3565b34801561077357600080fd5b5061042a610782366004613bdc565b600a6020526000908152604090205481565b3480156107a057600080fd5b506102eb6107af366004613ce2565b6125d2565b3480156107c057600080fd5b506102eb6107cf366004613c66565b6126b9565b3480156107e057600080fd5b5061042a606481565b3480156107f557600080fd5b5061034c610804366004613dd4565b612730565b34801561081557600080fd5b506102eb6127ce565b34801561082a57600080fd5b5061030d610839366004613bf7565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561088057600080fd5b506102eb61088f366004613bdc565b6128b6565b60085473ffffffffffffffffffffffffffffffffffffffff1633146109005760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600880547fffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffffff169055565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806109bd57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610a0957507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b60085473ffffffffffffffffffffffffffffffffffffffff163314610a765760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f7565b600880547fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff167501010000000000000000000000000000000000000000179055565b606060028054610ac7906140e2565b80601f0160208091040260200160405190810160405280929190818152602001828054610af3906140e2565b8015610b405780601f10610b1557610100808354040283529160200191610b40565b820191906000526020600020905b815481529060010190602001808311610b2357829003601f168201915b5050505050905090565b6000610b55826129b2565b610b8b576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5060009081526006602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610bbf82611d69565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c27576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff821614801590610c545750610c528133610839565b155b15610c8b576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c96838383612a05565b505050565b60085473ffffffffffffffffffffffffffffffffffffffff163314610d025760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f7565b600880547fffffffffffffffffff00ff00ffffffffffffffffffffffffffffffffffffffff16760100000000000000000000000000000000000000000000179055565b60085473ffffffffffffffffffffffffffffffffffffffff163314610dac5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f7565b600880549115157501000000000000000000000000000000000000000000027fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff909216919091179055565b6000610e2a6001546000547ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdd59190030190565b60085490915074010000000000000000000000000000000000000000900460ff16610e975760405162461bcd60e51b815260206004820152601560248201527f50726573616c65206973206e6f7420616374697665000000000000000000000060448201526064016108f7565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600b6020526040902054600490610ecb908790614036565b10610f185760405162461bcd60e51b815260206004820152600f60248201527f4f766572206d696e74206c696d6974000000000000000000000000000000000060448201526064016108f7565b610f256115b36001614036565b610f2f8683614036565b10610f7c5760405162461bcd60e51b815260206004820181905260248201527f507572636861736520776f756c6420657863656564206d617820746f6b656e7360448201526064016108f7565b610f8d856658d15e17628000614062565b610f98346001614036565b11610fe55760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f72726563740060448201526064016108f7565b3373ffffffffffffffffffffffffffffffffffffffff85161461104a5760405162461bcd60e51b815260206004820152601060248201527f4e6f7420796f757220766f75636865720000000000000000000000000000000060448201526064016108f7565b6040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606086901b1660208201527f616c6c6f776c69737400000000000000000000000000000000000000000000006034820152600090603d01604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181528282528051602091820120600d54601f880183900483028501830190935286845293506111329273ffffffffffffffffffffffffffffffffffffffff9092169184918890889081908401838280828437600092019190915250612a8692505050565b61117e5760405162461bcd60e51b815260206004820152600f60248201527f496e76616c696420766f7563686572000000000000000000000000000000000060448201526064016108f7565b73ffffffffffffffffffffffffffffffffffffffff85166000908152600b6020526040812080548892906111b3908490614036565b909155505060038614156111d1576111cc856004612b1f565b6111db565b6111db8587612b1f565b505050505050565b60006112166001546000547ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdd59190030190565b60085490915074010000000000000000000000000000000000000000900460ff166112835760405162461bcd60e51b815260206004820152601560248201527f50726573616c65206973206e6f7420616374697665000000000000000000000060448201526064016108f7565b61128e856001614036565b73ffffffffffffffffffffffffffffffffffffffff85166000908152600a60205260409020546112bf908890614036565b1061130c5760405162461bcd60e51b815260206004820152600f60248201527f4f766572206d696e74206c696d6974000000000000000000000000000000000060448201526064016108f7565b6113196115b36001614036565b6113238783614036565b106113705760405162461bcd60e51b815260206004820181905260248201527f507572636861736520776f756c6420657863656564206d617820746f6b656e7360448201526064016108f7565b61138186662c68af0bb14000614062565b61138c346001614036565b116113d95760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f72726563740060448201526064016108f7565b3373ffffffffffffffffffffffffffffffffffffffff85161461143e5760405162461bcd60e51b815260206004820152601060248201527f4e6f7420796f757220766f75636865720000000000000000000000000000000060448201526064016108f7565b600085856040516020016114a792919091825260601b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000001660208201527f73616c656d696e740000000000000000000000000000000000000000000000006034820152603c0190565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181528282528051602091820120600d54601f880183900483028501830190935286845293506115349273ffffffffffffffffffffffffffffffffffffffff9092169184918890889081908401838280828437600092019190915250612a8692505050565b6115805760405162461bcd60e51b815260206004820152600f60248201527f496e76616c696420766f7563686572000000000000000000000000000000000060448201526064016108f7565b73ffffffffffffffffffffffffffffffffffffffff85166000908152600a6020526040812080548992906115b5908490614036565b909155506115d99050336115ca60038a61404e565b6115d4908a614036565b612b1f565b50505050505050565b610c96838383612b39565b60085473ffffffffffffffffffffffffffffffffffffffff1633146116545760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f7565b601654479073ffffffffffffffffffffffffffffffffffffffff166108fc6103e8611680846019614062565b61168a919061404e565b6040518115909202916000818181858888f193505050501580156116b2573d6000803e3d6000fd5b5060175473ffffffffffffffffffffffffffffffffffffffff166108fc6103e86116dd846019614062565b6116e7919061404e565b6040518115909202916000818181858888f1935050505015801561170f573d6000803e3d6000fd5b50600f54479073ffffffffffffffffffffffffffffffffffffffff166108fc6103e861173c856069614062565b611746919061404e565b6040518115909202916000818181858888f1935050505015801561176e573d6000803e3d6000fd5b5060105473ffffffffffffffffffffffffffffffffffffffff166108fc6064611798856008614062565b6117a2919061404e565b6040518115909202916000818181858888f193505050501580156117ca573d6000803e3d6000fd5b5060115473ffffffffffffffffffffffffffffffffffffffff166108fc60646117f4856005614062565b6117fe919061404e565b6040518115909202916000818181858888f19350505050158015611826573d6000803e3d6000fd5b5060125473ffffffffffffffffffffffffffffffffffffffff166108fc6064611850846005614062565b61185a919061404e565b6040518115909202916000818181858888f19350505050158015611882573d6000803e3d6000fd5b5060135473ffffffffffffffffffffffffffffffffffffffff166108fc60646118ac846005614062565b6118b6919061404e565b6040518115909202916000818181858888f193505050501580156118de573d6000803e3d6000fd5b5060145473ffffffffffffffffffffffffffffffffffffffff166108fc6103e861190984600f614062565b611913919061404e565b6040518115909202916000818181858888f1935050505015801561193b573d6000803e3d6000fd5b5060155473ffffffffffffffffffffffffffffffffffffffff166108fc6064611965846001614062565b61196f919061404e565b6040518115909202916000818181858888f19350505050158015611997573d6000803e3d6000fd5b50600e5460405147935073ffffffffffffffffffffffffffffffffffffffff9091169083156108fc029084906000818181858888f19350505050158015610c96573d6000803e3d6000fd5b610c96838383604051806020016040528060008152506126b9565b60606000611a0a836120da565b905060008167ffffffffffffffff811115611a2757611a2761423f565b604051908082528060200260200182016040528015611a50578160200160208202803683370190505b50905081611a5f579392505050565b600061022b611a956001546000547ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdd59190030190565b611a9f9190614036565b905060008061022b5b83811015611bcc576000818152600460209081526040918290208251606081018452905473ffffffffffffffffffffffffffffffffffffffff811680835274010000000000000000000000000000000000000000820467ffffffffffffffff16938301939093527c0100000000000000000000000000000000000000000000000000000000900460ff1615159281019290925215611b4557805192505b8873ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611bb95781868581518110611b8c57611b8c614210565b602090810291909101015283611ba181614136565b94505086841415611bb9575093979650505050505050565b5080611bc481614136565b915050611aa8565b5060405162461bcd60e51b8152602060048201526024808201527f455243373231413a20756e61626c6520746f206765742077616c6c65744f664f60448201527f776e65720000000000000000000000000000000000000000000000000000000060648201526084016108f7565b60085473ffffffffffffffffffffffffffffffffffffffff163314611ca15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f7565b6008805491151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b60085473ffffffffffffffffffffffffffffffffffffffff163314611d525760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f7565b8051611d6590600c906020840190613a34565b5050565b6000611d7482612e71565b5192915050565b6000611dae6001546000547ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdd59190030190565b9050323314611dff5760405162461bcd60e51b815260206004820152600c60248201527f4e6f20636f6e747261637473000000000000000000000000000000000000000060448201526064016108f7565b600854760100000000000000000000000000000000000000000000900460ff16611e6b5760405162461bcd60e51b815260206004820152601960248201527f5075626c69632073616c65206973206e6f74206163746976650000000000000060448201526064016108f7565b60048310611ebb5760405162461bcd60e51b815260206004820152600f60248201527f4f766572206d696e74206c696d6974000000000000000000000000000000000060448201526064016108f7565b611ec86115b36001614036565b611ed28483614036565b10611f1f5760405162461bcd60e51b815260206004820181905260248201527f507572636861736520776f756c6420657863656564206d617820746f6b656e7360448201526064016108f7565b611f30836658d15e17628000614062565b611f3b346001614036565b11611f885760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f72726563740060448201526064016108f7565b3373ffffffffffffffffffffffffffffffffffffffff831614611fed5760405162461bcd60e51b815260206004820152600b60248201527f426164206164647265737300000000000000000000000000000000000000000060448201526064016108f7565b82600314801561201257506120056115b36001614036565b612010826004614036565b105b1561202257610c96826004612b1f565b610c968284612b1f565b60085473ffffffffffffffffffffffffffffffffffffffff1633146120935760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f7565b600d80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600073ffffffffffffffffffffffffffffffffffffffff8216612129576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5073ffffffffffffffffffffffffffffffffffffffff1660009081526005602052604090205467ffffffffffffffff1690565b60085473ffffffffffffffffffffffffffffffffffffffff1633146121c35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f7565b6121cd600061304d565b565b60006122026001546000547ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdd59190030190565b6008549091507501000000000000000000000000000000000000000000900460ff166122705760405162461bcd60e51b815260206004820152601760248201527f42726561646d696e74206973206e6f742061637469766500000000000000000060448201526064016108f7565b73ffffffffffffffffffffffffffffffffffffffff851660009081526009602052604090205486146122e45760405162461bcd60e51b815260206004820152600d60248201527f42616420766f756368657249640000000000000000000000000000000000000060448201526064016108f7565b6122f16115b36001614036565b6122fb8583614036565b106123485760405162461bcd60e51b815260206004820181905260248201527f507572636861736520776f756c6420657863656564206d617820746f6b656e7360448201526064016108f7565b3373ffffffffffffffffffffffffffffffffffffffff8616146123ad5760405162461bcd60e51b815260206004820152601060248201527f4e6f7420796f757220766f75636865720000000000000000000000000000000060448201526064016108f7565b604080516020808201899052606088901b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000001682840152605482018790527f627265616400000000000000000000000000000000000000000000000000000060748301528251605981840301815260798301808552815191830191909120600d546099601f890185900490940285018401909552868252936124849373ffffffffffffffffffffffffffffffffffffffff9091169285929189918991829101838280828437600092019190915250612a8692505050565b6124d05760405162461bcd60e51b815260206004820152600f60248201527f496e76616c696420766f7563686572000000000000000000000000000000000060448201526064016108f7565b73ffffffffffffffffffffffffffffffffffffffff8616600090815260096020526040812080549161250183614136565b91905055506115d98686612b1f565b60085473ffffffffffffffffffffffffffffffffffffffff1633146125775760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f7565b60088054911515760100000000000000000000000000000000000000000000027fffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffff909216919091179055565b606060038054610ac7906140e2565b73ffffffffffffffffffffffffffffffffffffffff8216331415612622576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b33600081815260076020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6126c4848484612b39565b73ffffffffffffffffffffffffffffffffffffffff83163b151580156126f357506126f1848484846130c4565b155b1561272a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b606061273b826129b2565b612771576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061277b61324a565b905080516000141561279c57604051806020016040528060008152506127c7565b806127a684613259565b6040516020016127b7929190613f67565b6040516020818303038152906040525b9392505050565b60085473ffffffffffffffffffffffffffffffffffffffff1633146128355760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f7565b600154600054037ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdd501156128ab5760405162461bcd60e51b815260206004820152601760248201527f546f6b656e7320616c726561647920726573657276656400000000000000000060448201526064016108f7565b6121cd336064612b1f565b60085473ffffffffffffffffffffffffffffffffffffffff16331461291d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f7565b73ffffffffffffffffffffffffffffffffffffffff81166129a65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016108f7565b6129af8161304d565b50565b60008161022b111580156129c7575060005482105b8015610a095750506000908152600460205260409020547c0100000000000000000000000000000000000000000000000000000000900460ff161590565b60008281526006602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000612ae8612ae2846040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b8361338b565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161490509392505050565b611d658282604051806020016040528060008152506133af565b6000612b4482612e71565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612baf576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff86161480612bda5750612bda8533610839565b80612c02575033612bea84610b4a565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612c3b576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8416612c88576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612c9460008487612a05565b73ffffffffffffffffffffffffffffffffffffffff858116600090815260056020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffff000000000000000080821667ffffffffffffffff9283167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080547fffffffff00000000000000000000000000000000000000000000000000000000169094177401000000000000000000000000000000000000000042909216919091021783558701808452922080549193909116612e0b576000548214612e0b578054602086015167ffffffffffffffff1674010000000000000000000000000000000000000000027fffffffff0000000000000000000000000000000000000000000000000000000090911673ffffffffffffffffffffffffffffffffffffffff8a16171781555b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6040805160608101825260008082526020820181905291810191909152818061022b11158015612ea2575060005481105b1561301b576000818152600460209081526040918290208251606081018452905473ffffffffffffffffffffffffffffffffffffffff8116825274010000000000000000000000000000000000000000810467ffffffffffffffff16928201929092527c010000000000000000000000000000000000000000000000000000000090910460ff1615159181018290529061301957805173ffffffffffffffffffffffffffffffffffffffff1615612f5a579392505050565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff016000818152600460209081526040918290208251606081018452905473ffffffffffffffffffffffffffffffffffffffff811680835274010000000000000000000000000000000000000000820467ffffffffffffffff16938301939093527c0100000000000000000000000000000000000000000000000000000000900460ff1615159281019290925215613014579392505050565b612f5a565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6008805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040517f150b7a0200000000000000000000000000000000000000000000000000000000815260009073ffffffffffffffffffffffffffffffffffffffff85169063150b7a029061311f903390899088908890600401613f96565b602060405180830381600087803b15801561313957600080fd5b505af1925050508015613187575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261318491810190613d6e565b60015b6131fb573d8080156131b5576040519150601f19603f3d011682016040523d82523d6000602084013e6131ba565b606091505b5080516131f3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490505b949350505050565b6060600c8054610ac7906140e2565b60608161329957505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156132c357806132ad81614136565b91506132bc9050600a8361404e565b915061329d565b60008167ffffffffffffffff8111156132de576132de61423f565b6040519080825280601f01601f191660200182016040528015613308576020820181803683370190505b5090505b84156132425761331d60018361409f565b915061332a600a8661416f565b613335906030614036565b60f81b81838151811061334a5761334a614210565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613384600a8661404e565b945061330c565b600080600061339a85856133bc565b915091506133a78161342c565b509392505050565b610c96838383600161361d565b6000808251604114156133f35760208301516040840151606085015160001a6133e7878285856138ca565b94509450505050613425565b82516040141561341d57602083015160408401516134128683836139e2565b935093505050613425565b506000905060025b9250929050565b6000816004811115613440576134406141e1565b14156134495750565b600181600481111561345d5761345d6141e1565b14156134ab5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016108f7565b60028160048111156134bf576134bf6141e1565b141561350d5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016108f7565b6003816004811115613521576135216141e1565b14156135955760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f756500000000000000000000000000000000000000000000000000000000000060648201526084016108f7565b60048160048111156135a9576135a96141e1565b14156129af5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c60448201527f756500000000000000000000000000000000000000000000000000000000000060648201526084016108f7565b60005473ffffffffffffffffffffffffffffffffffffffff851661366d576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b836136a4576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8516600081815260056020908152604080832080547fffffffffffffffffffffffffffffffff00000000000000000000000000000000811667ffffffffffffffff8083168c018116918217680100000000000000007fffffffffffffffffffffffffffffffffffffffffffffffff000000000000000090941690921783900481168c01811690920217909155858452600490925290912080547fffffffff0000000000000000000000000000000000000000000000000000000016909217740100000000000000000000000000000000000000004290921691909102179055808085018380156137bf575073ffffffffffffffffffffffffffffffffffffffff87163b15155b1561386e575b604051829073ffffffffffffffffffffffffffffffffffffffff8916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461381d60008884806001019550886130c4565b613853576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156137c557826000541461386957600080fd5b6138c1565b5b60405160018301929073ffffffffffffffffffffffffffffffffffffffff8916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082141561386f575b50600055612e6a565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561390157506000905060036139d9565b8460ff16601b1415801561391957508460ff16601c14155b1561392a57506000905060046139d9565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561397e573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff81166139d2576000600192509250506139d9565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831681613a1860ff86901c601b614036565b9050613a26878288856138ca565b935093505050935093915050565b828054613a40906140e2565b90600052602060002090601f016020900481019282613a625760008555613aa8565b82601f10613a7b57805160ff1916838001178555613aa8565b82800160010185558215613aa8579182015b82811115613aa8578251825591602001919060010190613a8d565b50613ab4929150613ab8565b5090565b5b80821115613ab45760008155600101613ab9565b600067ffffffffffffffff80841115613ae857613ae861423f565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908282118183101715613b2e57613b2e61423f565b81604052809350858152868686011115613b4757600080fd5b858560208301376000602087830101525050509392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114613b8557600080fd5b919050565b80358015158114613b8557600080fd5b60008083601f840112613bac57600080fd5b50813567ffffffffffffffff811115613bc457600080fd5b60208301915083602082850101111561342557600080fd5b600060208284031215613bee57600080fd5b6127c782613b61565b60008060408385031215613c0a57600080fd5b613c1383613b61565b9150613c2160208401613b61565b90509250929050565b600080600060608486031215613c3f57600080fd5b613c4884613b61565b9250613c5660208501613b61565b9150604084013590509250925092565b60008060008060808587031215613c7c57600080fd5b613c8585613b61565b9350613c9360208601613b61565b925060408501359150606085013567ffffffffffffffff811115613cb657600080fd5b8501601f81018713613cc757600080fd5b613cd687823560208401613acd565b91505092959194509250565b60008060408385031215613cf557600080fd5b613cfe83613b61565b9150613c2160208401613b8a565b60008060408385031215613d1f57600080fd5b613d2883613b61565b946020939093013593505050565b600060208284031215613d4857600080fd5b6127c782613b8a565b600060208284031215613d6357600080fd5b81356127c78161426e565b600060208284031215613d8057600080fd5b81516127c78161426e565b600060208284031215613d9d57600080fd5b813567ffffffffffffffff811115613db457600080fd5b8201601f81018413613dc557600080fd5b61324284823560208401613acd565b600060208284031215613de657600080fd5b5035919050565b60008060408385031215613e0057600080fd5b82359150613c2160208401613b61565b60008060008060608587031215613e2657600080fd5b84359350613e3660208601613b61565b9250604085013567ffffffffffffffff811115613e5257600080fd5b613e5e87828801613b9a565b95989497509550505050565b600080600080600060808688031215613e8257600080fd5b85359450613e9260208701613b61565b935060408601359250606086013567ffffffffffffffff811115613eb557600080fd5b613ec188828901613b9a565b969995985093965092949392505050565b600080600080600060808688031215613eea57600080fd5b8535945060208601359350613f0160408701613b61565b9250606086013567ffffffffffffffff811115613eb557600080fd5b60008151808452613f358160208601602086016140b6565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60008351613f798184602088016140b6565b835190830190613f8d8183602088016140b6565b01949350505050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152613fd56080830184613f1d565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561401757835183529284019291840191600101613ffb565b50909695505050505050565b6020815260006127c76020830184613f1d565b6000821982111561404957614049614183565b500190565b60008261405d5761405d6141b2565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561409a5761409a614183565b500290565b6000828210156140b1576140b1614183565b500390565b60005b838110156140d15781810151838201526020016140b9565b8381111561272a5750506000910152565b600181811c908216806140f657607f821691505b60208210811415614130577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561416857614168614183565b5060010190565b60008261417e5761417e6141b2565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7fffffffff00000000000000000000000000000000000000000000000000000000811681146129af57600080fdfea264697066735822122032fc5d6c6b1028746f299678266ca2f637274df8168c26bcf8a2a69aa02a000864736f6c63430008070033

Deployed Bytecode

0x6080604052600436106102d15760003560e01c80636352211e1161017957806391954c74116100d6578063b88d4fde1161008a578063cd3293de11610064578063cd3293de14610809578063e985e9c51461081e578063f2fde38b1461087457600080fd5b8063b88d4fde146107b4578063c7837ef1146107d4578063c87b56dd146107e957600080fd5b806395d89b41116100bb57806395d89b41146107525780639a4bdd3414610767578063a22cb4651461079457600080fd5b806391954c74146106ff5780639293a5c71461073257600080fd5b80637f205a741161012d57806388af088b1161011257806388af088b146106875780638da5cb5b146106a757806390ad4bdf146106d257600080fd5b80637f205a7414610651578063833b94991461066c57600080fd5b80636c19e7831161015e5780636c19e783146105fc57806370a082311461061c578063715018a61461063c57600080fd5b80636352211e146105c9578063669f5a51146105e957600080fd5b80631beb2ab7116102325780633ccfd60b116101e6578063443da2a2116101c0578063443da2a21461055757806355f804b31461057757806360d938dc1461059757600080fd5b80633ccfd60b146104f557806342842e0e1461050a578063438b63001461052a57600080fd5b806323b872dd1161021757806323b872dd1461049257806332464a38146104b257806332cb6b0c146104df57600080fd5b80631beb2ab71461044b5780631e84c4131461045e57600080fd5b8063095ea7b31161028957806316f182be1161026e57806316f182be146103d357806318160ddd146103f35780631bbd3e541461043857600080fd5b8063095ea7b31461039e5780630c1c972a146103be57600080fd5b806304c98b2b116102ba57806304c98b2b1461032257806306fdde0314610337578063081812fc1461035957600080fd5b8063017043a5146102d657806301ffc9a7146102ed575b600080fd5b3480156102e257600080fd5b506102eb610894565b005b3480156102f957600080fd5b5061030d610308366004613d51565b61092a565b60405190151581526020015b60405180910390f35b34801561032e57600080fd5b506102eb610a0f565b34801561034357600080fd5b5061034c610ab8565b6040516103199190614023565b34801561036557600080fd5b50610379610374366004613dd4565b610b4a565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610319565b3480156103aa57600080fd5b506102eb6103b9366004613d0c565b610bb4565b3480156103ca57600080fd5b506102eb610c9b565b3480156103df57600080fd5b506102eb6103ee366004613d36565b610d45565b3480156103ff57600080fd5b50600154600054037ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdd5015b604051908152602001610319565b6102eb610446366004613e10565b610df7565b6102eb610459366004613ed2565b6111e3565b34801561046a57600080fd5b5060085461030d90760100000000000000000000000000000000000000000000900460ff1681565b34801561049e57600080fd5b506102eb6104ad366004613c2a565b6115e2565b3480156104be57600080fd5b5061042a6104cd366004613bdc565b60096020526000908152604090205481565b3480156104eb57600080fd5b5061042a6115b381565b34801561050157600080fd5b506102eb6115ed565b34801561051657600080fd5b506102eb610525366004613c2a565b6119e2565b34801561053657600080fd5b5061054a610545366004613bdc565b6119fd565b6040516103199190613fdf565b34801561056357600080fd5b506102eb610572366004613d36565b611c3a565b34801561058357600080fd5b506102eb610592366004613d8b565b611ceb565b3480156105a357600080fd5b5060085461030d9074010000000000000000000000000000000000000000900460ff1681565b3480156105d557600080fd5b506103796105e4366004613dd4565b611d69565b6102eb6105f7366004613ded565b611d7b565b34801561060857600080fd5b506102eb610617366004613bdc565b61202c565b34801561062857600080fd5b5061042a610637366004613bdc565b6120da565b34801561064857600080fd5b506102eb61215c565b34801561065d57600080fd5b5061042a662c68af0bb1400081565b34801561067857600080fd5b5061042a6658d15e1762800081565b34801561069357600080fd5b506102eb6106a2366004613e6a565b6121cf565b3480156106b357600080fd5b5060085473ffffffffffffffffffffffffffffffffffffffff16610379565b3480156106de57600080fd5b5061042a6106ed366004613bdc565b600b6020526000908152604090205481565b34801561070b57600080fd5b5060085461030d907501000000000000000000000000000000000000000000900460ff1681565b34801561073e57600080fd5b506102eb61074d366004613d36565b612510565b34801561075e57600080fd5b5061034c6125c3565b34801561077357600080fd5b5061042a610782366004613bdc565b600a6020526000908152604090205481565b3480156107a057600080fd5b506102eb6107af366004613ce2565b6125d2565b3480156107c057600080fd5b506102eb6107cf366004613c66565b6126b9565b3480156107e057600080fd5b5061042a606481565b3480156107f557600080fd5b5061034c610804366004613dd4565b612730565b34801561081557600080fd5b506102eb6127ce565b34801561082a57600080fd5b5061030d610839366004613bf7565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561088057600080fd5b506102eb61088f366004613bdc565b6128b6565b60085473ffffffffffffffffffffffffffffffffffffffff1633146109005760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600880547fffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffffff169055565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806109bd57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610a0957507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b60085473ffffffffffffffffffffffffffffffffffffffff163314610a765760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f7565b600880547fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff167501010000000000000000000000000000000000000000179055565b606060028054610ac7906140e2565b80601f0160208091040260200160405190810160405280929190818152602001828054610af3906140e2565b8015610b405780601f10610b1557610100808354040283529160200191610b40565b820191906000526020600020905b815481529060010190602001808311610b2357829003601f168201915b5050505050905090565b6000610b55826129b2565b610b8b576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5060009081526006602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610bbf82611d69565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c27576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff821614801590610c545750610c528133610839565b155b15610c8b576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c96838383612a05565b505050565b60085473ffffffffffffffffffffffffffffffffffffffff163314610d025760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f7565b600880547fffffffffffffffffff00ff00ffffffffffffffffffffffffffffffffffffffff16760100000000000000000000000000000000000000000000179055565b60085473ffffffffffffffffffffffffffffffffffffffff163314610dac5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f7565b600880549115157501000000000000000000000000000000000000000000027fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff909216919091179055565b6000610e2a6001546000547ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdd59190030190565b60085490915074010000000000000000000000000000000000000000900460ff16610e975760405162461bcd60e51b815260206004820152601560248201527f50726573616c65206973206e6f7420616374697665000000000000000000000060448201526064016108f7565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600b6020526040902054600490610ecb908790614036565b10610f185760405162461bcd60e51b815260206004820152600f60248201527f4f766572206d696e74206c696d6974000000000000000000000000000000000060448201526064016108f7565b610f256115b36001614036565b610f2f8683614036565b10610f7c5760405162461bcd60e51b815260206004820181905260248201527f507572636861736520776f756c6420657863656564206d617820746f6b656e7360448201526064016108f7565b610f8d856658d15e17628000614062565b610f98346001614036565b11610fe55760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f72726563740060448201526064016108f7565b3373ffffffffffffffffffffffffffffffffffffffff85161461104a5760405162461bcd60e51b815260206004820152601060248201527f4e6f7420796f757220766f75636865720000000000000000000000000000000060448201526064016108f7565b6040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606086901b1660208201527f616c6c6f776c69737400000000000000000000000000000000000000000000006034820152600090603d01604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181528282528051602091820120600d54601f880183900483028501830190935286845293506111329273ffffffffffffffffffffffffffffffffffffffff9092169184918890889081908401838280828437600092019190915250612a8692505050565b61117e5760405162461bcd60e51b815260206004820152600f60248201527f496e76616c696420766f7563686572000000000000000000000000000000000060448201526064016108f7565b73ffffffffffffffffffffffffffffffffffffffff85166000908152600b6020526040812080548892906111b3908490614036565b909155505060038614156111d1576111cc856004612b1f565b6111db565b6111db8587612b1f565b505050505050565b60006112166001546000547ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdd59190030190565b60085490915074010000000000000000000000000000000000000000900460ff166112835760405162461bcd60e51b815260206004820152601560248201527f50726573616c65206973206e6f7420616374697665000000000000000000000060448201526064016108f7565b61128e856001614036565b73ffffffffffffffffffffffffffffffffffffffff85166000908152600a60205260409020546112bf908890614036565b1061130c5760405162461bcd60e51b815260206004820152600f60248201527f4f766572206d696e74206c696d6974000000000000000000000000000000000060448201526064016108f7565b6113196115b36001614036565b6113238783614036565b106113705760405162461bcd60e51b815260206004820181905260248201527f507572636861736520776f756c6420657863656564206d617820746f6b656e7360448201526064016108f7565b61138186662c68af0bb14000614062565b61138c346001614036565b116113d95760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f72726563740060448201526064016108f7565b3373ffffffffffffffffffffffffffffffffffffffff85161461143e5760405162461bcd60e51b815260206004820152601060248201527f4e6f7420796f757220766f75636865720000000000000000000000000000000060448201526064016108f7565b600085856040516020016114a792919091825260601b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000001660208201527f73616c656d696e740000000000000000000000000000000000000000000000006034820152603c0190565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181528282528051602091820120600d54601f880183900483028501830190935286845293506115349273ffffffffffffffffffffffffffffffffffffffff9092169184918890889081908401838280828437600092019190915250612a8692505050565b6115805760405162461bcd60e51b815260206004820152600f60248201527f496e76616c696420766f7563686572000000000000000000000000000000000060448201526064016108f7565b73ffffffffffffffffffffffffffffffffffffffff85166000908152600a6020526040812080548992906115b5908490614036565b909155506115d99050336115ca60038a61404e565b6115d4908a614036565b612b1f565b50505050505050565b610c96838383612b39565b60085473ffffffffffffffffffffffffffffffffffffffff1633146116545760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f7565b601654479073ffffffffffffffffffffffffffffffffffffffff166108fc6103e8611680846019614062565b61168a919061404e565b6040518115909202916000818181858888f193505050501580156116b2573d6000803e3d6000fd5b5060175473ffffffffffffffffffffffffffffffffffffffff166108fc6103e86116dd846019614062565b6116e7919061404e565b6040518115909202916000818181858888f1935050505015801561170f573d6000803e3d6000fd5b50600f54479073ffffffffffffffffffffffffffffffffffffffff166108fc6103e861173c856069614062565b611746919061404e565b6040518115909202916000818181858888f1935050505015801561176e573d6000803e3d6000fd5b5060105473ffffffffffffffffffffffffffffffffffffffff166108fc6064611798856008614062565b6117a2919061404e565b6040518115909202916000818181858888f193505050501580156117ca573d6000803e3d6000fd5b5060115473ffffffffffffffffffffffffffffffffffffffff166108fc60646117f4856005614062565b6117fe919061404e565b6040518115909202916000818181858888f19350505050158015611826573d6000803e3d6000fd5b5060125473ffffffffffffffffffffffffffffffffffffffff166108fc6064611850846005614062565b61185a919061404e565b6040518115909202916000818181858888f19350505050158015611882573d6000803e3d6000fd5b5060135473ffffffffffffffffffffffffffffffffffffffff166108fc60646118ac846005614062565b6118b6919061404e565b6040518115909202916000818181858888f193505050501580156118de573d6000803e3d6000fd5b5060145473ffffffffffffffffffffffffffffffffffffffff166108fc6103e861190984600f614062565b611913919061404e565b6040518115909202916000818181858888f1935050505015801561193b573d6000803e3d6000fd5b5060155473ffffffffffffffffffffffffffffffffffffffff166108fc6064611965846001614062565b61196f919061404e565b6040518115909202916000818181858888f19350505050158015611997573d6000803e3d6000fd5b50600e5460405147935073ffffffffffffffffffffffffffffffffffffffff9091169083156108fc029084906000818181858888f19350505050158015610c96573d6000803e3d6000fd5b610c96838383604051806020016040528060008152506126b9565b60606000611a0a836120da565b905060008167ffffffffffffffff811115611a2757611a2761423f565b604051908082528060200260200182016040528015611a50578160200160208202803683370190505b50905081611a5f579392505050565b600061022b611a956001546000547ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdd59190030190565b611a9f9190614036565b905060008061022b5b83811015611bcc576000818152600460209081526040918290208251606081018452905473ffffffffffffffffffffffffffffffffffffffff811680835274010000000000000000000000000000000000000000820467ffffffffffffffff16938301939093527c0100000000000000000000000000000000000000000000000000000000900460ff1615159281019290925215611b4557805192505b8873ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611bb95781868581518110611b8c57611b8c614210565b602090810291909101015283611ba181614136565b94505086841415611bb9575093979650505050505050565b5080611bc481614136565b915050611aa8565b5060405162461bcd60e51b8152602060048201526024808201527f455243373231413a20756e61626c6520746f206765742077616c6c65744f664f60448201527f776e65720000000000000000000000000000000000000000000000000000000060648201526084016108f7565b60085473ffffffffffffffffffffffffffffffffffffffff163314611ca15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f7565b6008805491151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b60085473ffffffffffffffffffffffffffffffffffffffff163314611d525760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f7565b8051611d6590600c906020840190613a34565b5050565b6000611d7482612e71565b5192915050565b6000611dae6001546000547ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdd59190030190565b9050323314611dff5760405162461bcd60e51b815260206004820152600c60248201527f4e6f20636f6e747261637473000000000000000000000000000000000000000060448201526064016108f7565b600854760100000000000000000000000000000000000000000000900460ff16611e6b5760405162461bcd60e51b815260206004820152601960248201527f5075626c69632073616c65206973206e6f74206163746976650000000000000060448201526064016108f7565b60048310611ebb5760405162461bcd60e51b815260206004820152600f60248201527f4f766572206d696e74206c696d6974000000000000000000000000000000000060448201526064016108f7565b611ec86115b36001614036565b611ed28483614036565b10611f1f5760405162461bcd60e51b815260206004820181905260248201527f507572636861736520776f756c6420657863656564206d617820746f6b656e7360448201526064016108f7565b611f30836658d15e17628000614062565b611f3b346001614036565b11611f885760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f72726563740060448201526064016108f7565b3373ffffffffffffffffffffffffffffffffffffffff831614611fed5760405162461bcd60e51b815260206004820152600b60248201527f426164206164647265737300000000000000000000000000000000000000000060448201526064016108f7565b82600314801561201257506120056115b36001614036565b612010826004614036565b105b1561202257610c96826004612b1f565b610c968284612b1f565b60085473ffffffffffffffffffffffffffffffffffffffff1633146120935760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f7565b600d80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600073ffffffffffffffffffffffffffffffffffffffff8216612129576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5073ffffffffffffffffffffffffffffffffffffffff1660009081526005602052604090205467ffffffffffffffff1690565b60085473ffffffffffffffffffffffffffffffffffffffff1633146121c35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f7565b6121cd600061304d565b565b60006122026001546000547ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdd59190030190565b6008549091507501000000000000000000000000000000000000000000900460ff166122705760405162461bcd60e51b815260206004820152601760248201527f42726561646d696e74206973206e6f742061637469766500000000000000000060448201526064016108f7565b73ffffffffffffffffffffffffffffffffffffffff851660009081526009602052604090205486146122e45760405162461bcd60e51b815260206004820152600d60248201527f42616420766f756368657249640000000000000000000000000000000000000060448201526064016108f7565b6122f16115b36001614036565b6122fb8583614036565b106123485760405162461bcd60e51b815260206004820181905260248201527f507572636861736520776f756c6420657863656564206d617820746f6b656e7360448201526064016108f7565b3373ffffffffffffffffffffffffffffffffffffffff8616146123ad5760405162461bcd60e51b815260206004820152601060248201527f4e6f7420796f757220766f75636865720000000000000000000000000000000060448201526064016108f7565b604080516020808201899052606088901b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000001682840152605482018790527f627265616400000000000000000000000000000000000000000000000000000060748301528251605981840301815260798301808552815191830191909120600d546099601f890185900490940285018401909552868252936124849373ffffffffffffffffffffffffffffffffffffffff9091169285929189918991829101838280828437600092019190915250612a8692505050565b6124d05760405162461bcd60e51b815260206004820152600f60248201527f496e76616c696420766f7563686572000000000000000000000000000000000060448201526064016108f7565b73ffffffffffffffffffffffffffffffffffffffff8616600090815260096020526040812080549161250183614136565b91905055506115d98686612b1f565b60085473ffffffffffffffffffffffffffffffffffffffff1633146125775760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f7565b60088054911515760100000000000000000000000000000000000000000000027fffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffff909216919091179055565b606060038054610ac7906140e2565b73ffffffffffffffffffffffffffffffffffffffff8216331415612622576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b33600081815260076020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6126c4848484612b39565b73ffffffffffffffffffffffffffffffffffffffff83163b151580156126f357506126f1848484846130c4565b155b1561272a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b606061273b826129b2565b612771576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061277b61324a565b905080516000141561279c57604051806020016040528060008152506127c7565b806127a684613259565b6040516020016127b7929190613f67565b6040516020818303038152906040525b9392505050565b60085473ffffffffffffffffffffffffffffffffffffffff1633146128355760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f7565b600154600054037ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdd501156128ab5760405162461bcd60e51b815260206004820152601760248201527f546f6b656e7320616c726561647920726573657276656400000000000000000060448201526064016108f7565b6121cd336064612b1f565b60085473ffffffffffffffffffffffffffffffffffffffff16331461291d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f7565b73ffffffffffffffffffffffffffffffffffffffff81166129a65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016108f7565b6129af8161304d565b50565b60008161022b111580156129c7575060005482105b8015610a095750506000908152600460205260409020547c0100000000000000000000000000000000000000000000000000000000900460ff161590565b60008281526006602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000612ae8612ae2846040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b8361338b565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161490509392505050565b611d658282604051806020016040528060008152506133af565b6000612b4482612e71565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612baf576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff86161480612bda5750612bda8533610839565b80612c02575033612bea84610b4a565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612c3b576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8416612c88576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612c9460008487612a05565b73ffffffffffffffffffffffffffffffffffffffff858116600090815260056020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffff000000000000000080821667ffffffffffffffff9283167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080547fffffffff00000000000000000000000000000000000000000000000000000000169094177401000000000000000000000000000000000000000042909216919091021783558701808452922080549193909116612e0b576000548214612e0b578054602086015167ffffffffffffffff1674010000000000000000000000000000000000000000027fffffffff0000000000000000000000000000000000000000000000000000000090911673ffffffffffffffffffffffffffffffffffffffff8a16171781555b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6040805160608101825260008082526020820181905291810191909152818061022b11158015612ea2575060005481105b1561301b576000818152600460209081526040918290208251606081018452905473ffffffffffffffffffffffffffffffffffffffff8116825274010000000000000000000000000000000000000000810467ffffffffffffffff16928201929092527c010000000000000000000000000000000000000000000000000000000090910460ff1615159181018290529061301957805173ffffffffffffffffffffffffffffffffffffffff1615612f5a579392505050565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff016000818152600460209081526040918290208251606081018452905473ffffffffffffffffffffffffffffffffffffffff811680835274010000000000000000000000000000000000000000820467ffffffffffffffff16938301939093527c0100000000000000000000000000000000000000000000000000000000900460ff1615159281019290925215613014579392505050565b612f5a565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6008805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040517f150b7a0200000000000000000000000000000000000000000000000000000000815260009073ffffffffffffffffffffffffffffffffffffffff85169063150b7a029061311f903390899088908890600401613f96565b602060405180830381600087803b15801561313957600080fd5b505af1925050508015613187575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261318491810190613d6e565b60015b6131fb573d8080156131b5576040519150601f19603f3d011682016040523d82523d6000602084013e6131ba565b606091505b5080516131f3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490505b949350505050565b6060600c8054610ac7906140e2565b60608161329957505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156132c357806132ad81614136565b91506132bc9050600a8361404e565b915061329d565b60008167ffffffffffffffff8111156132de576132de61423f565b6040519080825280601f01601f191660200182016040528015613308576020820181803683370190505b5090505b84156132425761331d60018361409f565b915061332a600a8661416f565b613335906030614036565b60f81b81838151811061334a5761334a614210565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613384600a8661404e565b945061330c565b600080600061339a85856133bc565b915091506133a78161342c565b509392505050565b610c96838383600161361d565b6000808251604114156133f35760208301516040840151606085015160001a6133e7878285856138ca565b94509450505050613425565b82516040141561341d57602083015160408401516134128683836139e2565b935093505050613425565b506000905060025b9250929050565b6000816004811115613440576134406141e1565b14156134495750565b600181600481111561345d5761345d6141e1565b14156134ab5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016108f7565b60028160048111156134bf576134bf6141e1565b141561350d5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016108f7565b6003816004811115613521576135216141e1565b14156135955760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f756500000000000000000000000000000000000000000000000000000000000060648201526084016108f7565b60048160048111156135a9576135a96141e1565b14156129af5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c60448201527f756500000000000000000000000000000000000000000000000000000000000060648201526084016108f7565b60005473ffffffffffffffffffffffffffffffffffffffff851661366d576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b836136a4576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8516600081815260056020908152604080832080547fffffffffffffffffffffffffffffffff00000000000000000000000000000000811667ffffffffffffffff8083168c018116918217680100000000000000007fffffffffffffffffffffffffffffffffffffffffffffffff000000000000000090941690921783900481168c01811690920217909155858452600490925290912080547fffffffff0000000000000000000000000000000000000000000000000000000016909217740100000000000000000000000000000000000000004290921691909102179055808085018380156137bf575073ffffffffffffffffffffffffffffffffffffffff87163b15155b1561386e575b604051829073ffffffffffffffffffffffffffffffffffffffff8916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461381d60008884806001019550886130c4565b613853576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156137c557826000541461386957600080fd5b6138c1565b5b60405160018301929073ffffffffffffffffffffffffffffffffffffffff8916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082141561386f575b50600055612e6a565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561390157506000905060036139d9565b8460ff16601b1415801561391957508460ff16601c14155b1561392a57506000905060046139d9565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561397e573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff81166139d2576000600192509250506139d9565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831681613a1860ff86901c601b614036565b9050613a26878288856138ca565b935093505050935093915050565b828054613a40906140e2565b90600052602060002090601f016020900481019282613a625760008555613aa8565b82601f10613a7b57805160ff1916838001178555613aa8565b82800160010185558215613aa8579182015b82811115613aa8578251825591602001919060010190613a8d565b50613ab4929150613ab8565b5090565b5b80821115613ab45760008155600101613ab9565b600067ffffffffffffffff80841115613ae857613ae861423f565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908282118183101715613b2e57613b2e61423f565b81604052809350858152868686011115613b4757600080fd5b858560208301376000602087830101525050509392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114613b8557600080fd5b919050565b80358015158114613b8557600080fd5b60008083601f840112613bac57600080fd5b50813567ffffffffffffffff811115613bc457600080fd5b60208301915083602082850101111561342557600080fd5b600060208284031215613bee57600080fd5b6127c782613b61565b60008060408385031215613c0a57600080fd5b613c1383613b61565b9150613c2160208401613b61565b90509250929050565b600080600060608486031215613c3f57600080fd5b613c4884613b61565b9250613c5660208501613b61565b9150604084013590509250925092565b60008060008060808587031215613c7c57600080fd5b613c8585613b61565b9350613c9360208601613b61565b925060408501359150606085013567ffffffffffffffff811115613cb657600080fd5b8501601f81018713613cc757600080fd5b613cd687823560208401613acd565b91505092959194509250565b60008060408385031215613cf557600080fd5b613cfe83613b61565b9150613c2160208401613b8a565b60008060408385031215613d1f57600080fd5b613d2883613b61565b946020939093013593505050565b600060208284031215613d4857600080fd5b6127c782613b8a565b600060208284031215613d6357600080fd5b81356127c78161426e565b600060208284031215613d8057600080fd5b81516127c78161426e565b600060208284031215613d9d57600080fd5b813567ffffffffffffffff811115613db457600080fd5b8201601f81018413613dc557600080fd5b61324284823560208401613acd565b600060208284031215613de657600080fd5b5035919050565b60008060408385031215613e0057600080fd5b82359150613c2160208401613b61565b60008060008060608587031215613e2657600080fd5b84359350613e3660208601613b61565b9250604085013567ffffffffffffffff811115613e5257600080fd5b613e5e87828801613b9a565b95989497509550505050565b600080600080600060808688031215613e8257600080fd5b85359450613e9260208701613b61565b935060408601359250606086013567ffffffffffffffff811115613eb557600080fd5b613ec188828901613b9a565b969995985093965092949392505050565b600080600080600060808688031215613eea57600080fd5b8535945060208601359350613f0160408701613b61565b9250606086013567ffffffffffffffff811115613eb557600080fd5b60008151808452613f358160208601602086016140b6565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60008351613f798184602088016140b6565b835190830190613f8d8183602088016140b6565b01949350505050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152613fd56080830184613f1d565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561401757835183529284019291840191600101613ffb565b50909695505050505050565b6020815260006127c76020830184613f1d565b6000821982111561404957614049614183565b500190565b60008261405d5761405d6141b2565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561409a5761409a614183565b500290565b6000828210156140b1576140b1614183565b500390565b60005b838110156140d15781810151838201526020016140b9565b8381111561272a5750506000910152565b600181811c908216806140f657607f821691505b60208210811415614130577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561416857614168614183565b5060010190565b60008261417e5761417e6141b2565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7fffffffff00000000000000000000000000000000000000000000000000000000811681146129af57600080fdfea264697066735822122032fc5d6c6b1028746f299678266ca2f637274df8168c26bcf8a2a69aa02a000864736f6c63430008070033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.