ETH Price: $2,696.58 (+2.22%)

Contract

0xB3B814cCd178De120687a9Ad01C6886C56399198
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00
Transaction Hash
Method
Block
From
To
Set Approval For...208438552024-09-27 18:48:473 hrs ago1727462927IN
0xB3B814cC...C56399198
0 ETH0.0002909211.73824361
Set Approval For...208056362024-09-22 10:51:355 days ago1727002295IN
0xB3B814cC...C56399198
0 ETH0.000393488.44172707
Set Approval For...207936912024-09-20 18:48:117 days ago1726858091IN
0xB3B814cC...C56399198
0 ETH0.0007416615.91142215
Set Approval For...207690552024-09-17 8:12:1110 days ago1726560731IN
0xB3B814cC...C56399198
0 ETH0.000139062.98351949
Safe Transfer Fr...207605962024-09-16 3:47:5911 days ago1726458479IN
0xB3B814cC...C56399198
0 ETH0.000101631.6475748
Set Approval For...207431752024-09-13 17:26:4714 days ago1726248407IN
0xB3B814cC...C56399198
0 ETH0.000105514.25741107
Set Approval For...207193462024-09-10 9:33:3517 days ago1725960815IN
0xB3B814cC...C56399198
0 ETH0.000058062.34383167
Set Approval For...206916802024-09-06 12:53:5921 days ago1725627239IN
0xB3B814cC...C56399198
0 ETH0.000162856.59337393
Set Approval For...206537612024-09-01 5:54:4726 days ago1725170087IN
0xB3B814cC...C56399198
0 ETH0.000027960.6
Set Approval For...206477452024-08-31 9:45:5927 days ago1725097559IN
0xB3B814cC...C56399198
0 ETH0.00006951.49107427
Safe Transfer Fr...205866282024-08-22 20:46:5936 days ago1724359619IN
0xB3B814cC...C56399198
0 ETH0.000068071.10471555
Transfer From205846052024-08-22 14:00:3536 days ago1724335235IN
0xB3B814cC...C56399198
0 ETH0.000213623.63603891
Set Approval For...205247502024-08-14 5:22:3544 days ago1723612955IN
0xB3B814cC...C56399198
0 ETH0.000050991.09200726
Approve204585022024-08-04 23:32:5953 days ago1722814379IN
0xB3B814cC...C56399198
0 ETH0.000082961.68587042
Safe Transfer Fr...203615472024-07-22 10:42:4767 days ago1721644967IN
0xB3B814cC...C56399198
0 ETH0.00024643.70618244
Set Approval For...203233282024-07-17 2:42:2372 days ago1721184143IN
0xB3B814cC...C56399198
0 ETH0.000173567.02689978
Set Approval For...203186532024-07-16 11:04:3573 days ago1721127875IN
0xB3B814cC...C56399198
0 ETH0.000282346.05741467
Set Approval For...202561592024-07-07 17:35:1182 days ago1720373711IN
0xB3B814cC...C56399198
0 ETH0.00006982.81658687
Set Approval For...202556942024-07-07 16:01:3582 days ago1720368095IN
0xB3B814cC...C56399198
0 ETH0.000063792.57390047
Set Approval For...202556652024-07-07 15:55:4782 days ago1720367747IN
0xB3B814cC...C56399198
0 ETH0.000056742.28963836
Set Approval For...202540302024-07-07 10:26:5982 days ago1720348019IN
0xB3B814cC...C56399198
0 ETH0.000069541.49200154
Set Approval For...202535802024-07-07 8:56:2382 days ago1720342583IN
0xB3B814cC...C56399198
0 ETH0.000071321.53017956
Set Approval For...202519282024-07-07 3:23:5982 days ago1720322639IN
0xB3B814cC...C56399198
0 ETH0.000029721.20353253
Set Approval For...202167382024-07-02 5:26:4787 days ago1719898007IN
0xB3B814cC...C56399198
0 ETH0.00012812.74834912
Set Approval For...202095422024-07-01 5:20:2388 days ago1719811223IN
0xB3B814cC...C56399198
0 ETH0.000092221.974995
View all transactions

Latest 2 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
141185152022-02-01 6:19:22969 days ago1643696362
0xB3B814cC...C56399198
663.35 ETH
141155962022-01-31 19:39:51970 days ago1643657991
0xB3B814cC...C56399198
1,033.6 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TheWhitelist

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 20 : TheWhitelist.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.10;

/**
Learn more about our project on thewhitelist.io
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMXxclxddOxcdxllxKMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWk':O:.:' ';.'lKMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMXdkXkd0xcdxloxXMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMXKKKXWMMMNKKKXWMMMWKKKKNXKKKXWMMWXKKKXWWXKKKNNKKKKKKKKKKKKXNNKKKKKKKKKKXWNKKKKNMMMMMMWKkdkKWMMWNKOOOO0XWNXKKKKKKKKKKKNM
MWx...'xWMNo....dWMWd...:Ol...:KMMK:...cX0;...ld'...........,dd..........lXk'..'kMMMMMWx.   .xN0c'.    ..ld,...........xM
MMK,   ,KWk.    '0MO'  .dXc   '0MMK,   ;KO.   cx:,,.    .',;cxl    .,,,,;dNd.  .xWMMMMNl     cx'   .::;''xOc,,.    .',;OM
MMWx.   o0;      l0c   :XNc   .;cl;.   ;KO.   cXWWNd.   oNWWWNo   .;llllxXWd.  .xWMMMMMK;   ;0x.   .codxONWWNNk.   lXWWWM
MMMNc   .,.  ..  .,.  .kWXc            ;XO.   cNMMMx.   oWMMMWo         ;KWd.  .xWMMMMMNl   cNNx,.      .c0WMMO.   oWMMMM
MMMMO'      'ko       lNMNc   .cddl.   ;XO.   cNMMMx.   oWMMMWo   .:ddddkXWd.  .oXNNNNWK;   ;KMXkxxdl;.   cXMMO.   oWMMMM
MMMMWd.    .oNK,     ,KMMNc   '0MMK,   ;XO.   cNMMMx.   oWMMMWo    .'''''lKd.   .'''',xO'   .OK:..';;'   .dWMMO.   oWMMMM
MMMMMXc....cXMWk,...,kWMMNo...:KMMXc...lX0:...oNMMMO,..'xWMMMWx'.........:Kk,........'dk,...,k0c'......':kNMMM0;..'xWMMMM
MMMMMMXK000XWMMWK000KWMMMWX000XWMMWX000XWWK00KXMMMMNK00KNMMMMMNK000000000XWNK00000000KNNK000KNMWXKOOOO0XWMMMMMWK00KNMMMMM
*/

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./ERC2981.sol";
import "./MintpassValidator.sol";
import "./LibMintpass.sol";

/**
 * @dev Learn more about this project on thewhitelist.io.
 *
 * TheWhitelist is a ERC721 Contract that supports Burnable.
 * The minting process is processed in a public and a whitelist
 * sale.
 */
contract TheWhitelist is MintpassValidator, ERC721Burnable, ERC2981, Ownable {
    using Counters for Counters.Counter;
    using Strings for uint256;

    // Token Limit and Mint Limits
    uint256 public TOKEN_LIMIT = 10000;
    uint256 public whitelistMintLimitPerWallet = 2;
    uint256 public publicMintLimitPerWallet = 5;

    // Price per Token depending on Category
    uint256 public whitelistMintPrice = 0.17 ether;
    uint256 public publicMintPrice = 0.19 ether;

    // Sale Stages Enabled / Disabled
    bool public whitelistMintEnabled = false;
    bool public publicMintEnabled = false;

    // Mapping from minter to minted amounts
    mapping(address => uint256) public boughtAmounts;
    mapping(address => uint256) public boughtWhitelistAmounts;

    // Mapping from mintpass signature to minted amounts (Free Mints)
    mapping(bytes => uint256) public mintpassRedemptions;

    // Optional mapping to overwrite specific token URIs
    mapping(uint256 => string) private _tokenURIs;

    // counter for tracking current token id
    Counters.Counter private _tokenIdTracker;

    // _abseTokenURI serving nft metadata per token
    string private _baseTokenURI = "https://api.thewhitelist.io/tokens/";

    event TokenUriChanged(
        address indexed _address,
        uint256 indexed _tokenId,
        string _tokenURI
    );

    /**
     * @dev ERC721 Constructor
     */
    constructor(string memory name, string memory symbol) ERC721(name, symbol) {
        _setDefaultRoyalty(msg.sender, 700);
        ACE_WALLET = 0x8F564ad0FBdf89b4925c91Be37b3891244544Abf;
    }

    /**
     * @dev Withrawal all Funds sent to the contract to Owner
     *
     * Requirements:
     * - `msg.sender` needs to be Owner and payable
     */
    function withdrawalAll() external onlyOwner {
        require(payable(msg.sender).send(address(this).balance));
    }

    /**
     * @dev Function to mint Tokens for only Gas. This function is used
     * for Community Wallet Mints, Raffle Winners and Cooperation Partners.
     * Redemptions are tracked and can be done in chunks.
     *
     * @param quantity amount of tokens to be minted
     * @param mintpass issued by thewhitelist.io
     * @param mintpassSignature issued by thewhitelist.io and signed by ACE_WALLET
     *
     * Requirements:
     * - `quantity` can't be higher than mintpass.amount
     * - `mintpass` needs to match the signature contents
     * - `mintpassSignature` needs to be obtained from thewhitelist.io and
     *    signed by ACE_WALLET
     */
    function freeMint(
        uint256 quantity,
        LibMintpass.Mintpass memory mintpass,
        bytes memory mintpassSignature
    ) public {
        require(
            whitelistMintEnabled == true || publicMintEnabled == true,
            "TheWhitelist: Minting is not Enabled"
        );
        require(
            mintpass.minterAddress == msg.sender,
            "TheWhitelist: Mintpass Address and Sender do not match"
        );
        require(
            mintpassRedemptions[mintpassSignature] + quantity <=
                mintpass.amount,
            "TheWhitelist: Mintpass already redeemed"
        );
        require(
            mintpass.minterCategory == 99,
            "TheWhitelist: Mintpass not a Free Mint"
        );

        validateMintpass(mintpass, mintpassSignature);
        mintQuantityToWallet(quantity, mintpass.minterAddress);
        mintpassRedemptions[mintpassSignature] =
            mintpassRedemptions[mintpassSignature] +
            quantity;
    }

    /**
     * @dev Function to mint Tokens during Whitelist Sale. This function is
     * should only be called on thewhitelist.io minting page to ensure
     * signature validity.
     *
     * @param quantity amount of tokens to be minted
     * @param mintpass issued by thewhitelist.io
     * @param mintpassSignature issued by thewhitelist.io and signed by ACE_WALLET
     *
     * Requirements:
     * - `quantity` can't be higher than {whitelistMintLimitPerWallet}
     * - `mintpass` needs to match the signature contents
     * - `mintpassSignature` needs to be obtained from thewhitelist.io and
     *    signed by ACE_WALLET
     */
    function mintWhitelist(
        uint256 quantity,
        LibMintpass.Mintpass memory mintpass,
        bytes memory mintpassSignature
    ) public payable {
        require(
            whitelistMintEnabled == true,
            "TheWhitelist: Whitelist Minting is not Enabled"
        );
        require(
            mintpass.minterAddress == msg.sender,
            "TheWhitelist: Mintpass Address and Sender do not match"
        );
        require(
            msg.value >= whitelistMintPrice * quantity,
            "TheWhitelist: Insufficient Amount"
        );
        require(
            boughtWhitelistAmounts[mintpass.minterAddress] + quantity <=
                whitelistMintLimitPerWallet,
            "TheWhitelist: Maximum Whitelist per Wallet reached"
        );

        validateMintpass(mintpass, mintpassSignature);
        mintQuantityToWallet(quantity, mintpass.minterAddress);
        boughtWhitelistAmounts[mintpass.minterAddress] =
            boughtWhitelistAmounts[mintpass.minterAddress] +
            quantity;
    }

    /**
     * @dev Public Mint Function.
     *
     * @param quantity amount of tokens to be minted
     *
     * Requirements:
     * - `quantity` can't be higher than {publicMintLimitPerWallet}
     */
    function mint(uint256 quantity) public payable {
        require(
            publicMintEnabled == true,
            "TheWhitelist: Public Minting is not Enabled"
        );
        require(
            msg.value >= publicMintPrice * quantity,
            "TheWhitelist: Insufficient Amount"
        );
        require(
            boughtAmounts[msg.sender] + quantity <= publicMintLimitPerWallet,
            "TheWhitelist: Maximum per Wallet reached"
        );

        mintQuantityToWallet(quantity, msg.sender);
        boughtAmounts[msg.sender] = boughtAmounts[msg.sender] + quantity;
    }

    /**
     * @dev internal mintQuantityToWallet function used to mint tokens
     * to a wallet (cpt. obivous out). We start with tokenId 1.
     *
     * @param quantity amount of tokens to be minted
     * @param minterAddress address that receives the tokens
     *
     * Requirements:
     * - `TOKEN_LIMIT` should not be reahed
     */
    function mintQuantityToWallet(uint256 quantity, address minterAddress)
        internal
        virtual
    {
        require(
            TOKEN_LIMIT >= quantity + _tokenIdTracker.current(),
            "TheWhitelist: Token Limit reached"
        );

        for (uint256 i; i < quantity; i++) {
            _mint(minterAddress, _tokenIdTracker.current() + 1);
            _tokenIdTracker.increment();
        }
    }

    /**
     * @dev Function to change the ACE_WALLET by contract owner.
     * Learn more about the ACE_WALLET on our Roadmap.
     * This wallet is used to verify mintpass signatures and is allowed to
     * change tokenURIs for specific tokens.
     *
     * @param _ace_wallet The new ACE_WALLET address
     */
    function setAceWallet(address _ace_wallet) public virtual onlyOwner {
        ACE_WALLET = _ace_wallet;
    }

    /**
     */
    function setMintingLimits(
        uint256 _whitelistMintLimitPerWallet,
        uint256 _publicMintLimitPerWallet
    ) public virtual onlyOwner {
        whitelistMintLimitPerWallet = _whitelistMintLimitPerWallet;
        publicMintLimitPerWallet = _publicMintLimitPerWallet;
    }

    /**
     * @dev Function to be called by contract owner to enable / disable
     * different mint stages
     *
     * @param _whitelistMintEnabled true/false
     * @param _publicMintEnabled true/false
     */
    function setMintingEnabled(
        bool _whitelistMintEnabled,
        bool _publicMintEnabled
    ) public virtual onlyOwner {
        whitelistMintEnabled = _whitelistMintEnabled;
        publicMintEnabled = _publicMintEnabled;
    }

    /**
     * @dev Helper to replace _baseURI
     */
    function _baseURI() internal view virtual override returns (string memory) {
        return _baseTokenURI;
    }

    /**
     * @dev Can be called by owner to change base URI. This is recommend to be used
     * after tokens are revealed to freeze metadata on IPFS or similar.
     *
     * @param permanentBaseURI URI to be prefixed before tokenId
     */
    function setBaseURI(string memory permanentBaseURI)
        public
        virtual
        onlyOwner
    {
        _baseTokenURI = permanentBaseURI;
    }

    /**
     * @dev _tokenURIs setter for a tokenId. This can only be done by owner or our
     * ACE_WALLET. Learn more about this on our Roadmap.
     *
     * Emits TokenUriChanged Event
     *
     * @param tokenId tokenId that should be updated
     * @param permanentTokenURI URI to OVERWRITE the entire tokenURI
     *
     * Requirements:
     * - `msg.sender` needs to be owner or {ACE_WALLET}
     */
    function setTokenURI(uint256 tokenId, string memory permanentTokenURI)
        public
        virtual
    {
        require(
            (msg.sender == ACE_WALLET || msg.sender == owner()),
            "TheWhitelist: Can only be modified by ACE"
        );
        require(_exists(tokenId), "TheWhitelist: URI set of nonexistent token");
        _tokenURIs[tokenId] = permanentTokenURI;
        emit TokenUriChanged(msg.sender, tokenId, permanentTokenURI);
    }

    function mintedTokenCount() public view returns (uint256) {
        return _tokenIdTracker.current();
    }

    /**
     * @dev _tokenURIs getter for a tokenId. If tokenURIs has an entry for
     * this tokenId we return this URL. Otherwise we fallback to baseURI with
     * tokenID.
     *
     * @param tokenId URI requested for this tokenId
     *
     * Requirements:
     * - `tokenID` needs to exist
     */
    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(
            _exists(tokenId),
            "TheWhitelist: URI query for nonexistent token"
        );

        string memory _tokenURI = _tokenURIs[tokenId];

        if (bytes(_tokenURI).length > 0) {
            return _tokenURI;
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Extends default burn behaviour with deletion of overwritten tokenURI
     * if it exists. Calls super._burn before deletion of tokenURI; Reset Token Royality if set
     *
     * @param tokenId tokenID that should be burned
     *
     * Requirements:
     * - `tokenID` needs to exist
     * - `msg.sender` needs to be current token Owner
     */
    function _burn(uint256 tokenId) internal virtual override {
        super._burn(tokenId);

        _resetTokenRoyalty(tokenId);
        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function setDefaultRoyalty(address receiver, uint96 feeNumerator)
        public
        virtual
        onlyOwner
    {
        _setDefaultRoyalty(receiver, feeNumerator);
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC721, ERC2981)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }
}

File 2 of 20 : MintpassValidator.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.10;

import "./LibMintpass.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol";

/**
 * @dev EIP712 based contract module which validates a Mintpass Issued by
 * The Whitelist. The signer is {ACE_WALLET} and checks for integrity of
 * minterCategory, amount and Address. {mintpass} is struct defined in
 * LibMintpass.
 *
 */
abstract contract MintpassValidator is EIP712 {
    constructor() EIP712("TheWhitelist", "1") {}

    // Wallet that signs our mintpasses
    address public ACE_WALLET;

    /**
     * @dev Validates if {mintpass} was signed by {ACE_WALLET} and created {signature}.
     *
     * @param mintpass Struct with mintpass properties
     * @param signature Signature to decode and compare
     */
    function validateMintpass(LibMintpass.Mintpass memory mintpass, bytes memory signature)
        internal
        view
    {
        bytes32 mintpassHash = LibMintpass.mintpassHash(mintpass);
        bytes32 digest = _hashTypedDataV4(mintpassHash);
        address signer = ECDSA.recover(digest, signature);

        require(
            signer == ACE_WALLET,
            "MintpassValidator: Mintpass signature verification error"
        );
    }
}

File 3 of 20 : LibMintpass.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.10;

/**
 * @dev Mintpass Struct definition used to validate EIP712.
 *
 * {minterAddress} is the mintpass owner (It's reommenced to
 * check if it matches msg.sender in your call function)
 * {amount} is the maximum mintable amount, only used for Free Mints.
 * {minterCategory} determines what type of minter is calling:
 * (1, default) Whitelist, (99) Freemint
 */
library LibMintpass {
    bytes32 private constant MINTPASS_TYPE =
        keccak256(
            "Mintpass(address minterAddress,uint256 amount,uint256 minterCategory)"
        );

    struct Mintpass {
        address minterAddress;
        uint256 amount;
        uint256 minterCategory;
    }

    function mintpassHash(Mintpass memory mintpass) internal pure returns (bytes32) {
        return
            keccak256(
                abi.encode(
                    MINTPASS_TYPE,
                    mintpass.minterAddress,
                    mintpass.amount,
                    mintpass.minterCategory
                )
            );
    }
}

File 4 of 20 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/interfaces/IERC2981.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice)
        external
        view
        virtual
        override
        returns (address, uint256)
    {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `tokenId` must be already minted.
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

File 5 of 20 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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);
}

File 6 of 20 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 20 : draft-EIP712.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/cryptography/draft-EIP712.sol)

pragma solidity ^0.8.0;

import "./ECDSA.sol";

/**
 * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
 *
 * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
 * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
 * they need in their contracts using a combination of `abi.encode` and `keccak256`.
 *
 * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
 * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
 * ({_hashTypedDataV4}).
 *
 * The implementation of the domain separator was designed to be as efficient as possible while still properly updating
 * the chain id to protect against replay attacks on an eventual fork of the chain.
 *
 * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
 * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
 *
 * _Available since v3.4._
 */
abstract contract EIP712 {
    /* solhint-disable var-name-mixedcase */
    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
    // invalidate the cached domain separator if the chain id changes.
    bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
    uint256 private immutable _CACHED_CHAIN_ID;
    address private immutable _CACHED_THIS;

    bytes32 private immutable _HASHED_NAME;
    bytes32 private immutable _HASHED_VERSION;
    bytes32 private immutable _TYPE_HASH;

    /* solhint-enable var-name-mixedcase */

    /**
     * @dev Initializes the domain separator and parameter caches.
     *
     * The meaning of `name` and `version` is specified in
     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
     *
     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
     * - `version`: the current major version of the signing domain.
     *
     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
     * contract upgrade].
     */
    constructor(string memory name, string memory version) {
        bytes32 hashedName = keccak256(bytes(name));
        bytes32 hashedVersion = keccak256(bytes(version));
        bytes32 typeHash = keccak256(
            "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"
        );
        _HASHED_NAME = hashedName;
        _HASHED_VERSION = hashedVersion;
        _CACHED_CHAIN_ID = block.chainid;
        _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
        _CACHED_THIS = address(this);
        _TYPE_HASH = typeHash;
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view returns (bytes32) {
        if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) {
            return _CACHED_DOMAIN_SEPARATOR;
        } else {
            return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);
        }
    }

    function _buildDomainSeparator(
        bytes32 typeHash,
        bytes32 nameHash,
        bytes32 versionHash
    ) private view returns (bytes32) {
        return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this)));
    }

    /**
     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
     * function returns the hash of the fully encoded EIP712 message for this domain.
     *
     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
     *
     * ```solidity
     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
     *     keccak256("Mail(address to,string contents)"),
     *     mailTo,
     *     keccak256(bytes(mailContents))
     * )));
     * address signer = ECDSA.recover(digest, signature);
     * ```
     */
    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
        return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
    }
}

File 8 of 20 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.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;
        uint8 v;
        assembly {
            s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
            v := add(shr(255, vs), 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 9 of 20 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 10 of 20 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 11 of 20 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 12 of 20 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

        (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 13 of 20 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 14 of 20 : ERC721Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/ERC721Burnable.sol)

pragma solidity ^0.8.0;

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

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}

File 15 of 20 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 16 of 20 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, 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 17 of 20 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

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

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

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

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

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

File 18 of 20 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Called with the sale price to determine how much royalty is owed and to whom.
     * @param tokenId - the NFT asset queried for royalty information
     * @param salePrice - the sale price of the NFT asset specified by `tokenId`
     * @return receiver - address of who should be sent the royalty payment
     * @return royaltyAmount - the royalty payment amount for `salePrice`
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 19 of 20 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (interfaces/IERC165.sol)

pragma solidity ^0.8.0;

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

File 20 of 20 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_address","type":"address"},{"indexed":true,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"_tokenURI","type":"string"}],"name":"TokenUriChanged","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":"ACE_WALLET","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOKEN_LIMIT","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":"boughtAmounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"boughtWhitelistAmounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"components":[{"internalType":"address","name":"minterAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minterCategory","type":"uint256"}],"internalType":"struct LibMintpass.Mintpass","name":"mintpass","type":"tuple"},{"internalType":"bytes","name":"mintpassSignature","type":"bytes"}],"name":"freeMint","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":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"components":[{"internalType":"address","name":"minterAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minterCategory","type":"uint256"}],"internalType":"struct LibMintpass.Mintpass","name":"mintpass","type":"tuple"},{"internalType":"bytes","name":"mintpassSignature","type":"bytes"}],"name":"mintWhitelist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintedTokenCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"","type":"bytes"}],"name":"mintpassRedemptions","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintLimitPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"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":"_ace_wallet","type":"address"}],"name":"setAceWallet","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":"permanentBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_whitelistMintEnabled","type":"bool"},{"internalType":"bool","name":"_publicMintEnabled","type":"bool"}],"name":"setMintingEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_whitelistMintLimitPerWallet","type":"uint256"},{"internalType":"uint256","name":"_publicMintLimitPerWallet","type":"uint256"}],"name":"setMintingLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"permanentTokenURI","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistMintLimitPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawalAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

610140604052612710600a556002600b556005600c5567025bf6196bd10000600d556702a303fe4b530000600e556000600f60006101000a81548160ff0219169083151502179055506000600f60016101000a81548160ff0219169083151502179055506040518060600160405280602381526020016200697360239139601590805190602001906200009492919062000564565b50348015620000a257600080fd5b5060405162006996380380620069968339818101604052810190620000c89190620007b1565b81816040518060400160405280600c81526020017f54686557686974656c69737400000000000000000000000000000000000000008152506040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525060008280519060200120905060008280519060200120905060007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f90508260e081815250508161010081815250504660a081815250506200019f818484620002ac60201b60201c565b608081815250503073ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1681525050806101208181525050505050505081600190805190602001906200020092919062000564565b5080600290805190602001906200021992919062000564565b5050506200023c62000230620002e860201b60201c565b620002f060201b60201c565b62000250336102bc620003b660201b60201c565b738f564ad0fbdf89b4925c91be37b3891244544abf6000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505062000a8e565b60008383834630604051602001620002c9959493929190620008b1565b6040516020818303038152906040528051906020012090509392505050565b600033905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620003c66200055a60201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111562000427576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200041e9062000995565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200049a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004919062000a07565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600760008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000612710905090565b828054620005729062000a58565b90600052602060002090601f016020900481019282620005965760008555620005e2565b82601f10620005b157805160ff1916838001178555620005e2565b82800160010185558215620005e2579182015b82811115620005e1578251825591602001919060010190620005c4565b5b509050620005f19190620005f5565b5090565b5b8082111562000610576000816000905550600101620005f6565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200067d8262000632565b810181811067ffffffffffffffff821117156200069f576200069e62000643565b5b80604052505050565b6000620006b462000614565b9050620006c2828262000672565b919050565b600067ffffffffffffffff821115620006e557620006e462000643565b5b620006f08262000632565b9050602081019050919050565b60005b838110156200071d57808201518184015260208101905062000700565b838111156200072d576000848401525b50505050565b60006200074a6200074484620006c7565b620006a8565b9050828152602081018484840111156200076957620007686200062d565b5b62000776848285620006fd565b509392505050565b600082601f83011262000796576200079562000628565b5b8151620007a884826020860162000733565b91505092915050565b60008060408385031215620007cb57620007ca6200061e565b5b600083015167ffffffffffffffff811115620007ec57620007eb62000623565b5b620007fa858286016200077e565b925050602083015167ffffffffffffffff8111156200081e576200081d62000623565b5b6200082c858286016200077e565b9150509250929050565b6000819050919050565b6200084b8162000836565b82525050565b6000819050919050565b620008668162000851565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000899826200086c565b9050919050565b620008ab816200088c565b82525050565b600060a082019050620008c8600083018862000840565b620008d7602083018762000840565b620008e6604083018662000840565b620008f560608301856200085b565b620009046080830184620008a0565b9695505050505050565b600082825260208201905092915050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b60006200097d602a836200090e565b91506200098a826200091f565b604082019050919050565b60006020820190508181036000830152620009b0816200096e565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000620009ef6019836200090e565b9150620009fc82620009b7565b602082019050919050565b6000602082019050818103600083015262000a2281620009e0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000a7157607f821691505b6020821081141562000a885762000a8762000a29565b5b50919050565b60805160a05160c05160e0516101005161012051615e9562000ade600039600061357e015260006135c00152600061359f015260006134d40152600061352a015260006135530152615e956000f3fe60806040526004361061023b5760003560e01c80636352211e1161012e578063a0712d68116100ab578063e69ae0f91161006f578063e69ae0f91461087a578063e985e9c5146108a3578063f2fde38b146108e0578063f44b79b314610909578063fdf5a49f146109205761023b565b8063a0712d68146107a4578063a22cb465146107c0578063b88d4fde146107e9578063c87b56dd14610812578063dc53fd921461084f5761023b565b806384f302f1116100f257806384f302f1146106bd5780638da5cb5b146106e657806395d89b4114610711578063981ef04a1461073c5780639f6bef83146107675761023b565b80636352211e146105c457806368c91d8f146106015780636caede3d1461063e57806370a0823114610669578063715018a6146106a65761023b565b80632a55205a116101bc5780634ef91421116101805780634ef91421146104ee5780634f1e55d01461050a57806355f804b31461053557806359429c2a1461055e5780635eb5ab2b146105875761023b565b80632a55205a1461040a57806331c515b81461044857806335c6aaf81461047157806342842e0e1461049c57806342966c68146104c55761023b565b8063095ea7b311610203578063095ea7b3146103395780630b9e5965146103625780630f4161aa1461038d578063162094c4146103b857806323b872dd146103e15761023b565b806301ffc9a714610240578063031bd4c41461027d57806304634d8d146102a857806306fdde03146102d1578063081812fc146102fc575b600080fd5b34801561024c57600080fd5b5061026760048036038101906102629190613b6c565b61094b565b6040516102749190613bb4565b60405180910390f35b34801561028957600080fd5b5061029261095d565b60405161029f9190613be8565b60405180910390f35b3480156102b457600080fd5b506102cf60048036038101906102ca9190613ca5565b610963565b005b3480156102dd57600080fd5b506102e66109ed565b6040516102f39190613d7e565b60405180910390f35b34801561030857600080fd5b50610323600480360381019061031e9190613dcc565b610a7f565b6040516103309190613e08565b60405180910390f35b34801561034557600080fd5b50610360600480360381019061035b9190613e23565b610b04565b005b34801561036e57600080fd5b50610377610c1c565b6040516103849190613be8565b60405180910390f35b34801561039957600080fd5b506103a2610c22565b6040516103af9190613bb4565b60405180910390f35b3480156103c457600080fd5b506103df60048036038101906103da9190613f98565b610c35565b005b3480156103ed57600080fd5b5061040860048036038101906104039190613ff4565b610dc3565b005b34801561041657600080fd5b50610431600480360381019061042c9190614047565b610e23565b60405161043f929190614087565b60405180910390f35b34801561045457600080fd5b5061046f600480360381019061046a91906140dc565b61100e565b005b34801561047d57600080fd5b506104866110c2565b6040516104939190613be8565b60405180910390f35b3480156104a857600080fd5b506104c360048036038101906104be9190613ff4565b6110c8565b005b3480156104d157600080fd5b506104ec60048036038101906104e79190613dcc565b6110e8565b005b61050860048036038101906105039190614226565b611144565b005b34801561051657600080fd5b5061051f6113a2565b60405161052c9190613be8565b60405180910390f35b34801561054157600080fd5b5061055c60048036038101906105579190614295565b6113a8565b005b34801561056a57600080fd5b5061058560048036038101906105809190614226565b61143e565b005b34801561059357600080fd5b506105ae60048036038101906105a991906142de565b611644565b6040516105bb9190613be8565b60405180910390f35b3480156105d057600080fd5b506105eb60048036038101906105e69190613dcc565b61165c565b6040516105f89190613e08565b60405180910390f35b34801561060d57600080fd5b50610628600480360381019061062391906142de565b61170e565b6040516106359190613be8565b60405180910390f35b34801561064a57600080fd5b50610653611726565b6040516106609190613bb4565b60405180910390f35b34801561067557600080fd5b50610690600480360381019061068b91906142de565b611739565b60405161069d9190613be8565b60405180910390f35b3480156106b257600080fd5b506106bb6117f1565b005b3480156106c957600080fd5b506106e460048036038101906106df9190614047565b611879565b005b3480156106f257600080fd5b506106fb611907565b6040516107089190613e08565b60405180910390f35b34801561071d57600080fd5b50610726611931565b6040516107339190613d7e565b60405180910390f35b34801561074857600080fd5b506107516119c3565b60405161075e9190613e08565b60405180910390f35b34801561077357600080fd5b5061078e6004803603810190610789919061430b565b6119e7565b60405161079b9190613be8565b60405180910390f35b6107be60048036038101906107b99190613dcc565b611a15565b005b3480156107cc57600080fd5b506107e760048036038101906107e29190614354565b611be5565b005b3480156107f557600080fd5b50610810600480360381019061080b9190614394565b611bfb565b005b34801561081e57600080fd5b5061083960048036038101906108349190613dcc565b611c5d565b6040516108469190613d7e565b60405180910390f35b34801561085b57600080fd5b50610864611d6c565b6040516108719190613be8565b60405180910390f35b34801561088657600080fd5b506108a1600480360381019061089c91906142de565b611d72565b005b3480156108af57600080fd5b506108ca60048036038101906108c59190614417565b611e31565b6040516108d79190613bb4565b60405180910390f35b3480156108ec57600080fd5b50610907600480360381019061090291906142de565b611ec5565b005b34801561091557600080fd5b5061091e611fbd565b005b34801561092c57600080fd5b50610935612079565b6040516109429190613be8565b60405180910390f35b60006109568261208a565b9050919050565b600a5481565b61096b612104565b73ffffffffffffffffffffffffffffffffffffffff16610989611907565b73ffffffffffffffffffffffffffffffffffffffff16146109df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d6906144a3565b60405180910390fd5b6109e9828261210c565b5050565b6060600180546109fc906144f2565b80601f0160208091040260200160405190810160405280929190818152602001828054610a28906144f2565b8015610a755780601f10610a4a57610100808354040283529160200191610a75565b820191906000526020600020905b815481529060010190602001808311610a5857829003601f168201915b5050505050905090565b6000610a8a826122a2565b610ac9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac090614596565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b0f8261165c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7790614628565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b9f612104565b73ffffffffffffffffffffffffffffffffffffffff161480610bce5750610bcd81610bc8612104565b611e31565b5b610c0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c04906146ba565b60405180910390fd5b610c17838361230e565b505050565b600c5481565b600f60019054906101000a900460ff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610cc15750610c92611907565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610d00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf79061474c565b60405180910390fd5b610d09826122a2565b610d48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3f906147de565b60405180910390fd5b80601360008481526020019081526020016000209080519060200190610d6f929190613a1d565b50813373ffffffffffffffffffffffffffffffffffffffff167fc7868dbe1cad60d57d886befc1900d24ad0479e09f729e67507abfdb4332cd1e83604051610db79190613d7e565b60405180910390a35050565b610dd4610dce612104565b826123c7565b610e13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0a90614870565b60405180910390fd5b610e1e8383836124a5565b505050565b6000806000600860008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161415610fb95760076040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610fc3612701565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610fef91906148bf565b610ff99190614948565b90508160000151819350935050509250929050565b611016612104565b73ffffffffffffffffffffffffffffffffffffffff16611034611907565b73ffffffffffffffffffffffffffffffffffffffff161461108a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611081906144a3565b60405180910390fd5b81600f60006101000a81548160ff02191690831515021790555080600f60016101000a81548160ff0219169083151502179055505050565b600d5481565b6110e383838360405180602001604052806000815250611bfb565b505050565b6110f96110f3612104565b826123c7565b611138576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112f906149eb565b60405180910390fd5b6111418161270b565b50565b60011515600f60009054906101000a900460ff1615151461119a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119190614a7d565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461120c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120390614b0f565b60405180910390fd5b82600d5461121a91906148bf565b34101561125c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125390614ba1565b60405180910390fd5b600b548360116000856000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546112ae9190614bc1565b11156112ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e690614c89565b60405180910390fd5b6112f98282612767565b611307838360000151612824565b8260116000846000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113569190614bc1565b60116000846000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050565b600b5481565b6113b0612104565b73ffffffffffffffffffffffffffffffffffffffff166113ce611907565b73ffffffffffffffffffffffffffffffffffffffff1614611424576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141b906144a3565b60405180910390fd5b806015908051906020019061143a929190613a1d565b5050565b60011515600f60009054906101000a900460ff1615151480611473575060011515600f60019054906101000a900460ff161515145b6114b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a990614d1b565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611524576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151b90614b0f565b60405180910390fd5b81602001518360128360405161153a9190614d82565b9081526020016040518091039020546115539190614bc1565b1115611594576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158b90614e0b565b60405180910390fd5b60638260400151146115db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d290614e9d565b60405180910390fd5b6115e58282612767565b6115f3838360000151612824565b826012826040516116049190614d82565b90815260200160405180910390205461161d9190614bc1565b60128260405161162d9190614d82565b908152602001604051809103902081905550505050565b60116020528060005260406000206000915090505481565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611705576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116fc90614f2f565b60405180910390fd5b80915050919050565b60106020528060005260406000206000915090505481565b600f60009054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a190614fc1565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6117f9612104565b73ffffffffffffffffffffffffffffffffffffffff16611817611907565b73ffffffffffffffffffffffffffffffffffffffff161461186d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611864906144a3565b60405180910390fd5b61187760006128c9565b565b611881612104565b73ffffffffffffffffffffffffffffffffffffffff1661189f611907565b73ffffffffffffffffffffffffffffffffffffffff16146118f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ec906144a3565b60405180910390fd5b81600b8190555080600c819055505050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054611940906144f2565b80601f016020809104026020016040519081016040528092919081815260200182805461196c906144f2565b80156119b95780601f1061198e576101008083540402835291602001916119b9565b820191906000526020600020905b81548152906001019060200180831161199c57829003601f168201915b5050505050905090565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6012818051602081018201805184825260208301602085012081835280955050505050506000915090505481565b60011515600f60019054906101000a900460ff16151514611a6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6290615053565b60405180910390fd5b80600e54611a7991906148bf565b341015611abb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab290614ba1565b60405180910390fd5b600c5481601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b099190614bc1565b1115611b4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b41906150e5565b60405180910390fd5b611b548133612824565b80601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b9f9190614bc1565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b611bf7611bf0612104565b838361298f565b5050565b611c0c611c06612104565b836123c7565b611c4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4290614870565b60405180910390fd5b611c5784848484612afc565b50505050565b6060611c68826122a2565b611ca7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9e90615177565b60405180910390fd5b6000601360008481526020019081526020016000208054611cc7906144f2565b80601f0160208091040260200160405190810160405280929190818152602001828054611cf3906144f2565b8015611d405780601f10611d1557610100808354040283529160200191611d40565b820191906000526020600020905b815481529060010190602001808311611d2357829003601f168201915b50505050509050600081511115611d5a5780915050611d67565b611d6383612b58565b9150505b919050565b600e5481565b611d7a612104565b73ffffffffffffffffffffffffffffffffffffffff16611d98611907565b73ffffffffffffffffffffffffffffffffffffffff1614611dee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de5906144a3565b60405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611ecd612104565b73ffffffffffffffffffffffffffffffffffffffff16611eeb611907565b73ffffffffffffffffffffffffffffffffffffffff1614611f41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f38906144a3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611fb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa890615209565b60405180910390fd5b611fba816128c9565b50565b611fc5612104565b73ffffffffffffffffffffffffffffffffffffffff16611fe3611907565b73ffffffffffffffffffffffffffffffffffffffff1614612039576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612030906144a3565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505061207757600080fd5b565b60006120856014612bff565b905090565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806120fd57506120fc82612c0d565b5b9050919050565b600033905090565b612114612701565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612172576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121699061529b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d990615307565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600760008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166123818361165c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006123d2826122a2565b612411576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240890615399565b60405180910390fd5b600061241c8361165c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061248b57508373ffffffffffffffffffffffffffffffffffffffff1661247384610a7f565b73ffffffffffffffffffffffffffffffffffffffff16145b8061249c575061249b8185611e31565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166124c58261165c565b73ffffffffffffffffffffffffffffffffffffffff161461251b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125129061542b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561258b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612582906154bd565b60405180910390fd5b612596838383612cef565b6125a160008261230e565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125f191906154dd565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126489190614bc1565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000612710905090565b61271481612cf4565b61271d81612e05565b600060136000838152602001908152602001600020805461273d906144f2565b905014612764576013600082815260200190815260200160002060006127639190613aa3565b5b50565b600061277283612e64565b9050600061277f82612ec6565b9050600061278d8285612ee0565b905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461281d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281490615583565b60405180910390fd5b5050505050565b61282e6014612bff565b826128399190614bc1565b600a54101561287d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287490615615565b60405180910390fd5b60005b828110156128c4576128a78260016128986014612bff565b6128a29190614bc1565b612f07565b6128b160146130d5565b80806128bc90615635565b915050612880565b505050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156129fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129f5906156ca565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612aef9190613bb4565b60405180910390a3505050565b612b078484846124a5565b612b13848484846130eb565b612b52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b499061575c565b60405180910390fd5b50505050565b6060612b63826122a2565b612ba2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b99906157ee565b60405180910390fd5b6000612bac613273565b90506000815111612bcc5760405180602001604052806000815250612bf7565b80612bd684613305565b604051602001612be792919061584a565b6040516020818303038152906040525b915050919050565b600081600001549050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612cd857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612ce85750612ce782613466565b5b9050919050565b505050565b6000612cff8261165c565b9050612d0d81600084612cef565b612d1860008361230e565b6001600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d6891906154dd565b925050819055506003600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60086000828152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000820160146101000a8154906bffffffffffffffffffffffff0219169055505050565b60007fa5050e90a6971a8fc2e6b7e922a439e60e7f44aba7c49fa4e337b85766c3855f826000015183602001518460400151604051602001612ea99493929190615887565b604051602081830303815290604052805190602001209050919050565b6000612ed9612ed36134d0565b836135ea565b9050919050565b6000806000612eef858561361d565b91509150612efc816136a0565b819250505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f6e90615918565b60405180910390fd5b612f80816122a2565b15612fc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fb790615984565b60405180910390fd5b612fcc60008383612cef565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461301c9190614bc1565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6001816000016000828254019250508190555050565b600061310c8473ffffffffffffffffffffffffffffffffffffffff16613875565b15613266578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613135612104565b8786866040518563ffffffff1660e01b815260040161315794939291906159ee565b6020604051808303816000875af192505050801561319357506040513d601f19601f820116820180604052508101906131909190615a4f565b60015b613216573d80600081146131c3576040519150601f19603f3d011682016040523d82523d6000602084013e6131c8565b606091505b5060008151141561320e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132059061575c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061326b565b600190505b949350505050565b606060158054613282906144f2565b80601f01602080910402602001604051908101604052809291908181526020018280546132ae906144f2565b80156132fb5780601f106132d0576101008083540402835291602001916132fb565b820191906000526020600020905b8154815290600101906020018083116132de57829003601f168201915b5050505050905090565b6060600082141561334d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613461565b600082905060005b6000821461337f57808061336890615635565b915050600a826133789190614948565b9150613355565b60008167ffffffffffffffff81111561339b5761339a613e6d565b5b6040519080825280601f01601f1916602001820160405280156133cd5781602001600182028036833780820191505090505b5090505b6000851461345a576001826133e691906154dd565b9150600a856133f59190615a7c565b60306134019190614bc1565b60f81b81838151811061341757613416615aad565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856134539190614948565b94506133d1565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff1614801561354c57507f000000000000000000000000000000000000000000000000000000000000000046145b15613579577f000000000000000000000000000000000000000000000000000000000000000090506135e7565b6135e47f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000613888565b90505b90565b600082826040516020016135ff929190615b49565b60405160208183030381529060405280519060200120905092915050565b60008060418351141561365f5760008060006020860151925060408601519150606086015160001a9050613653878285856138c2565b94509450505050613699565b6040835114156136905760008060208501519150604085015190506136858683836139cf565b935093505050613699565b60006002915091505b9250929050565b600060048111156136b4576136b3615b80565b5b8160048111156136c7576136c6615b80565b5b14156136d257613872565b600160048111156136e6576136e5615b80565b5b8160048111156136f9576136f8615b80565b5b141561373a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161373190615bfb565b60405180910390fd5b6002600481111561374e5761374d615b80565b5b81600481111561376157613760615b80565b5b14156137a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161379990615c67565b60405180910390fd5b600360048111156137b6576137b5615b80565b5b8160048111156137c9576137c8615b80565b5b141561380a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161380190615cf9565b60405180910390fd5b60048081111561381d5761381c615b80565b5b8160048111156138305761382f615b80565b5b1415613871576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161386890615d8b565b60405180910390fd5b5b50565b600080823b905060008111915050919050565b600083838346306040516020016138a3959493929190615dab565b6040516020818303038152906040528051906020012090509392505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156138fd5760006003915091506139c6565b601b8560ff16141580156139155750601c8560ff1614155b156139275760006004915091506139c6565b60006001878787876040516000815260200160405260405161394c9493929190615e1a565b6020604051602081039080840390855afa15801561396e573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156139bd576000600192509250506139c6565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050613a0f878288856138c2565b935093505050935093915050565b828054613a29906144f2565b90600052602060002090601f016020900481019282613a4b5760008555613a92565b82601f10613a6457805160ff1916838001178555613a92565b82800160010185558215613a92579182015b82811115613a91578251825591602001919060010190613a76565b5b509050613a9f9190613ae3565b5090565b508054613aaf906144f2565b6000825580601f10613ac15750613ae0565b601f016020900490600052602060002090810190613adf9190613ae3565b5b50565b5b80821115613afc576000816000905550600101613ae4565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613b4981613b14565b8114613b5457600080fd5b50565b600081359050613b6681613b40565b92915050565b600060208284031215613b8257613b81613b0a565b5b6000613b9084828501613b57565b91505092915050565b60008115159050919050565b613bae81613b99565b82525050565b6000602082019050613bc96000830184613ba5565b92915050565b6000819050919050565b613be281613bcf565b82525050565b6000602082019050613bfd6000830184613bd9565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613c2e82613c03565b9050919050565b613c3e81613c23565b8114613c4957600080fd5b50565b600081359050613c5b81613c35565b92915050565b60006bffffffffffffffffffffffff82169050919050565b613c8281613c61565b8114613c8d57600080fd5b50565b600081359050613c9f81613c79565b92915050565b60008060408385031215613cbc57613cbb613b0a565b5b6000613cca85828601613c4c565b9250506020613cdb85828601613c90565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613d1f578082015181840152602081019050613d04565b83811115613d2e576000848401525b50505050565b6000601f19601f8301169050919050565b6000613d5082613ce5565b613d5a8185613cf0565b9350613d6a818560208601613d01565b613d7381613d34565b840191505092915050565b60006020820190508181036000830152613d988184613d45565b905092915050565b613da981613bcf565b8114613db457600080fd5b50565b600081359050613dc681613da0565b92915050565b600060208284031215613de257613de1613b0a565b5b6000613df084828501613db7565b91505092915050565b613e0281613c23565b82525050565b6000602082019050613e1d6000830184613df9565b92915050565b60008060408385031215613e3a57613e39613b0a565b5b6000613e4885828601613c4c565b9250506020613e5985828601613db7565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613ea582613d34565b810181811067ffffffffffffffff82111715613ec457613ec3613e6d565b5b80604052505050565b6000613ed7613b00565b9050613ee38282613e9c565b919050565b600067ffffffffffffffff821115613f0357613f02613e6d565b5b613f0c82613d34565b9050602081019050919050565b82818337600083830152505050565b6000613f3b613f3684613ee8565b613ecd565b905082815260208101848484011115613f5757613f56613e68565b5b613f62848285613f19565b509392505050565b600082601f830112613f7f57613f7e613e63565b5b8135613f8f848260208601613f28565b91505092915050565b60008060408385031215613faf57613fae613b0a565b5b6000613fbd85828601613db7565b925050602083013567ffffffffffffffff811115613fde57613fdd613b0f565b5b613fea85828601613f6a565b9150509250929050565b60008060006060848603121561400d5761400c613b0a565b5b600061401b86828701613c4c565b935050602061402c86828701613c4c565b925050604061403d86828701613db7565b9150509250925092565b6000806040838503121561405e5761405d613b0a565b5b600061406c85828601613db7565b925050602061407d85828601613db7565b9150509250929050565b600060408201905061409c6000830185613df9565b6140a96020830184613bd9565b9392505050565b6140b981613b99565b81146140c457600080fd5b50565b6000813590506140d6816140b0565b92915050565b600080604083850312156140f3576140f2613b0a565b5b6000614101858286016140c7565b9250506020614112858286016140c7565b9150509250929050565b600080fd5b6000606082840312156141375761413661411c565b5b6141416060613ecd565b9050600061415184828501613c4c565b600083015250602061416584828501613db7565b602083015250604061417984828501613db7565b60408301525092915050565b600067ffffffffffffffff8211156141a05761419f613e6d565b5b6141a982613d34565b9050602081019050919050565b60006141c96141c484614185565b613ecd565b9050828152602081018484840111156141e5576141e4613e68565b5b6141f0848285613f19565b509392505050565b600082601f83011261420d5761420c613e63565b5b813561421d8482602086016141b6565b91505092915050565b600080600060a0848603121561423f5761423e613b0a565b5b600061424d86828701613db7565b935050602061425e86828701614121565b925050608084013567ffffffffffffffff81111561427f5761427e613b0f565b5b61428b868287016141f8565b9150509250925092565b6000602082840312156142ab576142aa613b0a565b5b600082013567ffffffffffffffff8111156142c9576142c8613b0f565b5b6142d584828501613f6a565b91505092915050565b6000602082840312156142f4576142f3613b0a565b5b600061430284828501613c4c565b91505092915050565b60006020828403121561432157614320613b0a565b5b600082013567ffffffffffffffff81111561433f5761433e613b0f565b5b61434b848285016141f8565b91505092915050565b6000806040838503121561436b5761436a613b0a565b5b600061437985828601613c4c565b925050602061438a858286016140c7565b9150509250929050565b600080600080608085870312156143ae576143ad613b0a565b5b60006143bc87828801613c4c565b94505060206143cd87828801613c4c565b93505060406143de87828801613db7565b925050606085013567ffffffffffffffff8111156143ff576143fe613b0f565b5b61440b878288016141f8565b91505092959194509250565b6000806040838503121561442e5761442d613b0a565b5b600061443c85828601613c4c565b925050602061444d85828601613c4c565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061448d602083613cf0565b915061449882614457565b602082019050919050565b600060208201905081810360008301526144bc81614480565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061450a57607f821691505b6020821081141561451e5761451d6144c3565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614580602c83613cf0565b915061458b82614524565b604082019050919050565b600060208201905081810360008301526145af81614573565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614612602183613cf0565b915061461d826145b6565b604082019050919050565b6000602082019050818103600083015261464181614605565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006146a4603883613cf0565b91506146af82614648565b604082019050919050565b600060208201905081810360008301526146d381614697565b9050919050565b7f54686557686974656c6973743a2043616e206f6e6c79206265206d6f6469666960008201527f6564206279204143450000000000000000000000000000000000000000000000602082015250565b6000614736602983613cf0565b9150614741826146da565b604082019050919050565b6000602082019050818103600083015261476581614729565b9050919050565b7f54686557686974656c6973743a2055524920736574206f66206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b60006147c8602a83613cf0565b91506147d38261476c565b604082019050919050565b600060208201905081810360008301526147f7816147bb565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061485a603183613cf0565b9150614865826147fe565b604082019050919050565b600060208201905081810360008301526148898161484d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006148ca82613bcf565b91506148d583613bcf565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561490e5761490d614890565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061495382613bcf565b915061495e83613bcf565b92508261496e5761496d614919565b5b828204905092915050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b60006149d5603083613cf0565b91506149e082614979565b604082019050919050565b60006020820190508181036000830152614a04816149c8565b9050919050565b7f54686557686974656c6973743a2057686974656c697374204d696e74696e672060008201527f6973206e6f7420456e61626c6564000000000000000000000000000000000000602082015250565b6000614a67602e83613cf0565b9150614a7282614a0b565b604082019050919050565b60006020820190508181036000830152614a9681614a5a565b9050919050565b7f54686557686974656c6973743a204d696e74706173732041646472657373206160008201527f6e642053656e64657220646f206e6f74206d6174636800000000000000000000602082015250565b6000614af9603683613cf0565b9150614b0482614a9d565b604082019050919050565b60006020820190508181036000830152614b2881614aec565b9050919050565b7f54686557686974656c6973743a20496e73756666696369656e7420416d6f756e60008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b6000614b8b602183613cf0565b9150614b9682614b2f565b604082019050919050565b60006020820190508181036000830152614bba81614b7e565b9050919050565b6000614bcc82613bcf565b9150614bd783613bcf565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614c0c57614c0b614890565b5b828201905092915050565b7f54686557686974656c6973743a204d6178696d756d2057686974656c6973742060008201527f7065722057616c6c657420726561636865640000000000000000000000000000602082015250565b6000614c73603283613cf0565b9150614c7e82614c17565b604082019050919050565b60006020820190508181036000830152614ca281614c66565b9050919050565b7f54686557686974656c6973743a204d696e74696e67206973206e6f7420456e6160008201527f626c656400000000000000000000000000000000000000000000000000000000602082015250565b6000614d05602483613cf0565b9150614d1082614ca9565b604082019050919050565b60006020820190508181036000830152614d3481614cf8565b9050919050565b600081519050919050565b600081905092915050565b6000614d5c82614d3b565b614d668185614d46565b9350614d76818560208601613d01565b80840191505092915050565b6000614d8e8284614d51565b915081905092915050565b7f54686557686974656c6973743a204d696e747061737320616c7265616479207260008201527f656465656d656400000000000000000000000000000000000000000000000000602082015250565b6000614df5602783613cf0565b9150614e0082614d99565b604082019050919050565b60006020820190508181036000830152614e2481614de8565b9050919050565b7f54686557686974656c6973743a204d696e7470617373206e6f7420612046726560008201527f65204d696e740000000000000000000000000000000000000000000000000000602082015250565b6000614e87602683613cf0565b9150614e9282614e2b565b604082019050919050565b60006020820190508181036000830152614eb681614e7a565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614f19602983613cf0565b9150614f2482614ebd565b604082019050919050565b60006020820190508181036000830152614f4881614f0c565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614fab602a83613cf0565b9150614fb682614f4f565b604082019050919050565b60006020820190508181036000830152614fda81614f9e565b9050919050565b7f54686557686974656c6973743a205075626c6963204d696e74696e672069732060008201527f6e6f7420456e61626c6564000000000000000000000000000000000000000000602082015250565b600061503d602b83613cf0565b915061504882614fe1565b604082019050919050565b6000602082019050818103600083015261506c81615030565b9050919050565b7f54686557686974656c6973743a204d6178696d756d207065722057616c6c657460008201527f2072656163686564000000000000000000000000000000000000000000000000602082015250565b60006150cf602883613cf0565b91506150da82615073565b604082019050919050565b600060208201905081810360008301526150fe816150c2565b9050919050565b7f54686557686974656c6973743a2055524920717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b6000615161602d83613cf0565b915061516c82615105565b604082019050919050565b6000602082019050818103600083015261519081615154565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006151f3602683613cf0565b91506151fe82615197565b604082019050919050565b60006020820190508181036000830152615222816151e6565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000615285602a83613cf0565b915061529082615229565b604082019050919050565b600060208201905081810360008301526152b481615278565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b60006152f1601983613cf0565b91506152fc826152bb565b602082019050919050565b60006020820190508181036000830152615320816152e4565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000615383602c83613cf0565b915061538e82615327565b604082019050919050565b600060208201905081810360008301526153b281615376565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000615415602983613cf0565b9150615420826153b9565b604082019050919050565b6000602082019050818103600083015261544481615408565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006154a7602483613cf0565b91506154b28261544b565b604082019050919050565b600060208201905081810360008301526154d68161549a565b9050919050565b60006154e882613bcf565b91506154f383613bcf565b92508282101561550657615505614890565b5b828203905092915050565b7f4d696e747061737356616c696461746f723a204d696e7470617373207369676e60008201527f617475726520766572696669636174696f6e206572726f720000000000000000602082015250565b600061556d603883613cf0565b915061557882615511565b604082019050919050565b6000602082019050818103600083015261559c81615560565b9050919050565b7f54686557686974656c6973743a20546f6b656e204c696d69742072656163686560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b60006155ff602183613cf0565b915061560a826155a3565b604082019050919050565b6000602082019050818103600083015261562e816155f2565b9050919050565b600061564082613bcf565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561567357615672614890565b5b600182019050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006156b4601983613cf0565b91506156bf8261567e565b602082019050919050565b600060208201905081810360008301526156e3816156a7565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615746603283613cf0565b9150615751826156ea565b604082019050919050565b6000602082019050818103600083015261577581615739565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006157d8602f83613cf0565b91506157e38261577c565b604082019050919050565b60006020820190508181036000830152615807816157cb565b9050919050565b600081905092915050565b600061582482613ce5565b61582e818561580e565b935061583e818560208601613d01565b80840191505092915050565b60006158568285615819565b91506158628284615819565b91508190509392505050565b6000819050919050565b6158818161586e565b82525050565b600060808201905061589c6000830187615878565b6158a96020830186613df9565b6158b66040830185613bd9565b6158c36060830184613bd9565b95945050505050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615902602083613cf0565b915061590d826158cc565b602082019050919050565b60006020820190508181036000830152615931816158f5565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061596e601c83613cf0565b915061597982615938565b602082019050919050565b6000602082019050818103600083015261599d81615961565b9050919050565b600082825260208201905092915050565b60006159c082614d3b565b6159ca81856159a4565b93506159da818560208601613d01565b6159e381613d34565b840191505092915050565b6000608082019050615a036000830187613df9565b615a106020830186613df9565b615a1d6040830185613bd9565b8181036060830152615a2f81846159b5565b905095945050505050565b600081519050615a4981613b40565b92915050565b600060208284031215615a6557615a64613b0a565b5b6000615a7384828501615a3a565b91505092915050565b6000615a8782613bcf565b9150615a9283613bcf565b925082615aa257615aa1614919565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b6000615b1260028361580e565b9150615b1d82615adc565b600282019050919050565b6000819050919050565b615b43615b3e8261586e565b615b28565b82525050565b6000615b5482615b05565b9150615b608285615b32565b602082019150615b708284615b32565b6020820191508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615be5601883613cf0565b9150615bf082615baf565b602082019050919050565b60006020820190508181036000830152615c1481615bd8565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615c51601f83613cf0565b9150615c5c82615c1b565b602082019050919050565b60006020820190508181036000830152615c8081615c44565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615ce3602283613cf0565b9150615cee82615c87565b604082019050919050565b60006020820190508181036000830152615d1281615cd6565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615d75602283613cf0565b9150615d8082615d19565b604082019050919050565b60006020820190508181036000830152615da481615d68565b9050919050565b600060a082019050615dc06000830188615878565b615dcd6020830187615878565b615dda6040830186615878565b615de76060830185613bd9565b615df46080830184613df9565b9695505050505050565b600060ff82169050919050565b615e1481615dfe565b82525050565b6000608082019050615e2f6000830187615878565b615e3c6020830186615e0b565b615e496040830185615878565b615e566060830184615878565b9594505050505056fea2646970667358221220f7a8a213c0df17a9dc1f31ef74bebd75be2a1f503761d6ec999574cc50bae1c864736f6c634300080a003368747470733a2f2f6170692e74686577686974656c6973742e696f2f746f6b656e732f00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000c54686557686974656c697374000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034143450000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061023b5760003560e01c80636352211e1161012e578063a0712d68116100ab578063e69ae0f91161006f578063e69ae0f91461087a578063e985e9c5146108a3578063f2fde38b146108e0578063f44b79b314610909578063fdf5a49f146109205761023b565b8063a0712d68146107a4578063a22cb465146107c0578063b88d4fde146107e9578063c87b56dd14610812578063dc53fd921461084f5761023b565b806384f302f1116100f257806384f302f1146106bd5780638da5cb5b146106e657806395d89b4114610711578063981ef04a1461073c5780639f6bef83146107675761023b565b80636352211e146105c457806368c91d8f146106015780636caede3d1461063e57806370a0823114610669578063715018a6146106a65761023b565b80632a55205a116101bc5780634ef91421116101805780634ef91421146104ee5780634f1e55d01461050a57806355f804b31461053557806359429c2a1461055e5780635eb5ab2b146105875761023b565b80632a55205a1461040a57806331c515b81461044857806335c6aaf81461047157806342842e0e1461049c57806342966c68146104c55761023b565b8063095ea7b311610203578063095ea7b3146103395780630b9e5965146103625780630f4161aa1461038d578063162094c4146103b857806323b872dd146103e15761023b565b806301ffc9a714610240578063031bd4c41461027d57806304634d8d146102a857806306fdde03146102d1578063081812fc146102fc575b600080fd5b34801561024c57600080fd5b5061026760048036038101906102629190613b6c565b61094b565b6040516102749190613bb4565b60405180910390f35b34801561028957600080fd5b5061029261095d565b60405161029f9190613be8565b60405180910390f35b3480156102b457600080fd5b506102cf60048036038101906102ca9190613ca5565b610963565b005b3480156102dd57600080fd5b506102e66109ed565b6040516102f39190613d7e565b60405180910390f35b34801561030857600080fd5b50610323600480360381019061031e9190613dcc565b610a7f565b6040516103309190613e08565b60405180910390f35b34801561034557600080fd5b50610360600480360381019061035b9190613e23565b610b04565b005b34801561036e57600080fd5b50610377610c1c565b6040516103849190613be8565b60405180910390f35b34801561039957600080fd5b506103a2610c22565b6040516103af9190613bb4565b60405180910390f35b3480156103c457600080fd5b506103df60048036038101906103da9190613f98565b610c35565b005b3480156103ed57600080fd5b5061040860048036038101906104039190613ff4565b610dc3565b005b34801561041657600080fd5b50610431600480360381019061042c9190614047565b610e23565b60405161043f929190614087565b60405180910390f35b34801561045457600080fd5b5061046f600480360381019061046a91906140dc565b61100e565b005b34801561047d57600080fd5b506104866110c2565b6040516104939190613be8565b60405180910390f35b3480156104a857600080fd5b506104c360048036038101906104be9190613ff4565b6110c8565b005b3480156104d157600080fd5b506104ec60048036038101906104e79190613dcc565b6110e8565b005b61050860048036038101906105039190614226565b611144565b005b34801561051657600080fd5b5061051f6113a2565b60405161052c9190613be8565b60405180910390f35b34801561054157600080fd5b5061055c60048036038101906105579190614295565b6113a8565b005b34801561056a57600080fd5b5061058560048036038101906105809190614226565b61143e565b005b34801561059357600080fd5b506105ae60048036038101906105a991906142de565b611644565b6040516105bb9190613be8565b60405180910390f35b3480156105d057600080fd5b506105eb60048036038101906105e69190613dcc565b61165c565b6040516105f89190613e08565b60405180910390f35b34801561060d57600080fd5b50610628600480360381019061062391906142de565b61170e565b6040516106359190613be8565b60405180910390f35b34801561064a57600080fd5b50610653611726565b6040516106609190613bb4565b60405180910390f35b34801561067557600080fd5b50610690600480360381019061068b91906142de565b611739565b60405161069d9190613be8565b60405180910390f35b3480156106b257600080fd5b506106bb6117f1565b005b3480156106c957600080fd5b506106e460048036038101906106df9190614047565b611879565b005b3480156106f257600080fd5b506106fb611907565b6040516107089190613e08565b60405180910390f35b34801561071d57600080fd5b50610726611931565b6040516107339190613d7e565b60405180910390f35b34801561074857600080fd5b506107516119c3565b60405161075e9190613e08565b60405180910390f35b34801561077357600080fd5b5061078e6004803603810190610789919061430b565b6119e7565b60405161079b9190613be8565b60405180910390f35b6107be60048036038101906107b99190613dcc565b611a15565b005b3480156107cc57600080fd5b506107e760048036038101906107e29190614354565b611be5565b005b3480156107f557600080fd5b50610810600480360381019061080b9190614394565b611bfb565b005b34801561081e57600080fd5b5061083960048036038101906108349190613dcc565b611c5d565b6040516108469190613d7e565b60405180910390f35b34801561085b57600080fd5b50610864611d6c565b6040516108719190613be8565b60405180910390f35b34801561088657600080fd5b506108a1600480360381019061089c91906142de565b611d72565b005b3480156108af57600080fd5b506108ca60048036038101906108c59190614417565b611e31565b6040516108d79190613bb4565b60405180910390f35b3480156108ec57600080fd5b50610907600480360381019061090291906142de565b611ec5565b005b34801561091557600080fd5b5061091e611fbd565b005b34801561092c57600080fd5b50610935612079565b6040516109429190613be8565b60405180910390f35b60006109568261208a565b9050919050565b600a5481565b61096b612104565b73ffffffffffffffffffffffffffffffffffffffff16610989611907565b73ffffffffffffffffffffffffffffffffffffffff16146109df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d6906144a3565b60405180910390fd5b6109e9828261210c565b5050565b6060600180546109fc906144f2565b80601f0160208091040260200160405190810160405280929190818152602001828054610a28906144f2565b8015610a755780601f10610a4a57610100808354040283529160200191610a75565b820191906000526020600020905b815481529060010190602001808311610a5857829003601f168201915b5050505050905090565b6000610a8a826122a2565b610ac9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac090614596565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b0f8261165c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7790614628565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b9f612104565b73ffffffffffffffffffffffffffffffffffffffff161480610bce5750610bcd81610bc8612104565b611e31565b5b610c0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c04906146ba565b60405180910390fd5b610c17838361230e565b505050565b600c5481565b600f60019054906101000a900460ff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610cc15750610c92611907565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610d00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf79061474c565b60405180910390fd5b610d09826122a2565b610d48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3f906147de565b60405180910390fd5b80601360008481526020019081526020016000209080519060200190610d6f929190613a1d565b50813373ffffffffffffffffffffffffffffffffffffffff167fc7868dbe1cad60d57d886befc1900d24ad0479e09f729e67507abfdb4332cd1e83604051610db79190613d7e565b60405180910390a35050565b610dd4610dce612104565b826123c7565b610e13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0a90614870565b60405180910390fd5b610e1e8383836124a5565b505050565b6000806000600860008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161415610fb95760076040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610fc3612701565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610fef91906148bf565b610ff99190614948565b90508160000151819350935050509250929050565b611016612104565b73ffffffffffffffffffffffffffffffffffffffff16611034611907565b73ffffffffffffffffffffffffffffffffffffffff161461108a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611081906144a3565b60405180910390fd5b81600f60006101000a81548160ff02191690831515021790555080600f60016101000a81548160ff0219169083151502179055505050565b600d5481565b6110e383838360405180602001604052806000815250611bfb565b505050565b6110f96110f3612104565b826123c7565b611138576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112f906149eb565b60405180910390fd5b6111418161270b565b50565b60011515600f60009054906101000a900460ff1615151461119a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119190614a7d565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461120c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120390614b0f565b60405180910390fd5b82600d5461121a91906148bf565b34101561125c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125390614ba1565b60405180910390fd5b600b548360116000856000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546112ae9190614bc1565b11156112ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e690614c89565b60405180910390fd5b6112f98282612767565b611307838360000151612824565b8260116000846000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113569190614bc1565b60116000846000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050565b600b5481565b6113b0612104565b73ffffffffffffffffffffffffffffffffffffffff166113ce611907565b73ffffffffffffffffffffffffffffffffffffffff1614611424576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141b906144a3565b60405180910390fd5b806015908051906020019061143a929190613a1d565b5050565b60011515600f60009054906101000a900460ff1615151480611473575060011515600f60019054906101000a900460ff161515145b6114b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a990614d1b565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611524576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151b90614b0f565b60405180910390fd5b81602001518360128360405161153a9190614d82565b9081526020016040518091039020546115539190614bc1565b1115611594576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158b90614e0b565b60405180910390fd5b60638260400151146115db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d290614e9d565b60405180910390fd5b6115e58282612767565b6115f3838360000151612824565b826012826040516116049190614d82565b90815260200160405180910390205461161d9190614bc1565b60128260405161162d9190614d82565b908152602001604051809103902081905550505050565b60116020528060005260406000206000915090505481565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611705576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116fc90614f2f565b60405180910390fd5b80915050919050565b60106020528060005260406000206000915090505481565b600f60009054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a190614fc1565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6117f9612104565b73ffffffffffffffffffffffffffffffffffffffff16611817611907565b73ffffffffffffffffffffffffffffffffffffffff161461186d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611864906144a3565b60405180910390fd5b61187760006128c9565b565b611881612104565b73ffffffffffffffffffffffffffffffffffffffff1661189f611907565b73ffffffffffffffffffffffffffffffffffffffff16146118f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ec906144a3565b60405180910390fd5b81600b8190555080600c819055505050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054611940906144f2565b80601f016020809104026020016040519081016040528092919081815260200182805461196c906144f2565b80156119b95780601f1061198e576101008083540402835291602001916119b9565b820191906000526020600020905b81548152906001019060200180831161199c57829003601f168201915b5050505050905090565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6012818051602081018201805184825260208301602085012081835280955050505050506000915090505481565b60011515600f60019054906101000a900460ff16151514611a6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6290615053565b60405180910390fd5b80600e54611a7991906148bf565b341015611abb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab290614ba1565b60405180910390fd5b600c5481601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b099190614bc1565b1115611b4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b41906150e5565b60405180910390fd5b611b548133612824565b80601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b9f9190614bc1565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b611bf7611bf0612104565b838361298f565b5050565b611c0c611c06612104565b836123c7565b611c4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4290614870565b60405180910390fd5b611c5784848484612afc565b50505050565b6060611c68826122a2565b611ca7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9e90615177565b60405180910390fd5b6000601360008481526020019081526020016000208054611cc7906144f2565b80601f0160208091040260200160405190810160405280929190818152602001828054611cf3906144f2565b8015611d405780601f10611d1557610100808354040283529160200191611d40565b820191906000526020600020905b815481529060010190602001808311611d2357829003601f168201915b50505050509050600081511115611d5a5780915050611d67565b611d6383612b58565b9150505b919050565b600e5481565b611d7a612104565b73ffffffffffffffffffffffffffffffffffffffff16611d98611907565b73ffffffffffffffffffffffffffffffffffffffff1614611dee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de5906144a3565b60405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611ecd612104565b73ffffffffffffffffffffffffffffffffffffffff16611eeb611907565b73ffffffffffffffffffffffffffffffffffffffff1614611f41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f38906144a3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611fb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa890615209565b60405180910390fd5b611fba816128c9565b50565b611fc5612104565b73ffffffffffffffffffffffffffffffffffffffff16611fe3611907565b73ffffffffffffffffffffffffffffffffffffffff1614612039576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612030906144a3565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505061207757600080fd5b565b60006120856014612bff565b905090565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806120fd57506120fc82612c0d565b5b9050919050565b600033905090565b612114612701565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612172576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121699061529b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d990615307565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600760008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166123818361165c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006123d2826122a2565b612411576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240890615399565b60405180910390fd5b600061241c8361165c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061248b57508373ffffffffffffffffffffffffffffffffffffffff1661247384610a7f565b73ffffffffffffffffffffffffffffffffffffffff16145b8061249c575061249b8185611e31565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166124c58261165c565b73ffffffffffffffffffffffffffffffffffffffff161461251b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125129061542b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561258b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612582906154bd565b60405180910390fd5b612596838383612cef565b6125a160008261230e565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125f191906154dd565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126489190614bc1565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000612710905090565b61271481612cf4565b61271d81612e05565b600060136000838152602001908152602001600020805461273d906144f2565b905014612764576013600082815260200190815260200160002060006127639190613aa3565b5b50565b600061277283612e64565b9050600061277f82612ec6565b9050600061278d8285612ee0565b905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461281d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281490615583565b60405180910390fd5b5050505050565b61282e6014612bff565b826128399190614bc1565b600a54101561287d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287490615615565b60405180910390fd5b60005b828110156128c4576128a78260016128986014612bff565b6128a29190614bc1565b612f07565b6128b160146130d5565b80806128bc90615635565b915050612880565b505050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156129fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129f5906156ca565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612aef9190613bb4565b60405180910390a3505050565b612b078484846124a5565b612b13848484846130eb565b612b52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b499061575c565b60405180910390fd5b50505050565b6060612b63826122a2565b612ba2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b99906157ee565b60405180910390fd5b6000612bac613273565b90506000815111612bcc5760405180602001604052806000815250612bf7565b80612bd684613305565b604051602001612be792919061584a565b6040516020818303038152906040525b915050919050565b600081600001549050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612cd857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612ce85750612ce782613466565b5b9050919050565b505050565b6000612cff8261165c565b9050612d0d81600084612cef565b612d1860008361230e565b6001600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d6891906154dd565b925050819055506003600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60086000828152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000820160146101000a8154906bffffffffffffffffffffffff0219169055505050565b60007fa5050e90a6971a8fc2e6b7e922a439e60e7f44aba7c49fa4e337b85766c3855f826000015183602001518460400151604051602001612ea99493929190615887565b604051602081830303815290604052805190602001209050919050565b6000612ed9612ed36134d0565b836135ea565b9050919050565b6000806000612eef858561361d565b91509150612efc816136a0565b819250505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f6e90615918565b60405180910390fd5b612f80816122a2565b15612fc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fb790615984565b60405180910390fd5b612fcc60008383612cef565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461301c9190614bc1565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6001816000016000828254019250508190555050565b600061310c8473ffffffffffffffffffffffffffffffffffffffff16613875565b15613266578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613135612104565b8786866040518563ffffffff1660e01b815260040161315794939291906159ee565b6020604051808303816000875af192505050801561319357506040513d601f19601f820116820180604052508101906131909190615a4f565b60015b613216573d80600081146131c3576040519150601f19603f3d011682016040523d82523d6000602084013e6131c8565b606091505b5060008151141561320e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132059061575c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061326b565b600190505b949350505050565b606060158054613282906144f2565b80601f01602080910402602001604051908101604052809291908181526020018280546132ae906144f2565b80156132fb5780601f106132d0576101008083540402835291602001916132fb565b820191906000526020600020905b8154815290600101906020018083116132de57829003601f168201915b5050505050905090565b6060600082141561334d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613461565b600082905060005b6000821461337f57808061336890615635565b915050600a826133789190614948565b9150613355565b60008167ffffffffffffffff81111561339b5761339a613e6d565b5b6040519080825280601f01601f1916602001820160405280156133cd5781602001600182028036833780820191505090505b5090505b6000851461345a576001826133e691906154dd565b9150600a856133f59190615a7c565b60306134019190614bc1565b60f81b81838151811061341757613416615aad565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856134539190614948565b94506133d1565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60007f000000000000000000000000b3b814ccd178de120687a9ad01c6886c5639919873ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff1614801561354c57507f000000000000000000000000000000000000000000000000000000000000000146145b15613579577ff30851d5a5afc9ffd21e2c824d3c8c508e06ec6c5cec92f402091f75834203ac90506135e7565b6135e47f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7f770b5785f0ceb35e71d9cc9be803eb9b8dab95741c22000905924bb7d251a0557fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6613888565b90505b90565b600082826040516020016135ff929190615b49565b60405160208183030381529060405280519060200120905092915050565b60008060418351141561365f5760008060006020860151925060408601519150606086015160001a9050613653878285856138c2565b94509450505050613699565b6040835114156136905760008060208501519150604085015190506136858683836139cf565b935093505050613699565b60006002915091505b9250929050565b600060048111156136b4576136b3615b80565b5b8160048111156136c7576136c6615b80565b5b14156136d257613872565b600160048111156136e6576136e5615b80565b5b8160048111156136f9576136f8615b80565b5b141561373a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161373190615bfb565b60405180910390fd5b6002600481111561374e5761374d615b80565b5b81600481111561376157613760615b80565b5b14156137a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161379990615c67565b60405180910390fd5b600360048111156137b6576137b5615b80565b5b8160048111156137c9576137c8615b80565b5b141561380a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161380190615cf9565b60405180910390fd5b60048081111561381d5761381c615b80565b5b8160048111156138305761382f615b80565b5b1415613871576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161386890615d8b565b60405180910390fd5b5b50565b600080823b905060008111915050919050565b600083838346306040516020016138a3959493929190615dab565b6040516020818303038152906040528051906020012090509392505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156138fd5760006003915091506139c6565b601b8560ff16141580156139155750601c8560ff1614155b156139275760006004915091506139c6565b60006001878787876040516000815260200160405260405161394c9493929190615e1a565b6020604051602081039080840390855afa15801561396e573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156139bd576000600192509250506139c6565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050613a0f878288856138c2565b935093505050935093915050565b828054613a29906144f2565b90600052602060002090601f016020900481019282613a4b5760008555613a92565b82601f10613a6457805160ff1916838001178555613a92565b82800160010185558215613a92579182015b82811115613a91578251825591602001919060010190613a76565b5b509050613a9f9190613ae3565b5090565b508054613aaf906144f2565b6000825580601f10613ac15750613ae0565b601f016020900490600052602060002090810190613adf9190613ae3565b5b50565b5b80821115613afc576000816000905550600101613ae4565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613b4981613b14565b8114613b5457600080fd5b50565b600081359050613b6681613b40565b92915050565b600060208284031215613b8257613b81613b0a565b5b6000613b9084828501613b57565b91505092915050565b60008115159050919050565b613bae81613b99565b82525050565b6000602082019050613bc96000830184613ba5565b92915050565b6000819050919050565b613be281613bcf565b82525050565b6000602082019050613bfd6000830184613bd9565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613c2e82613c03565b9050919050565b613c3e81613c23565b8114613c4957600080fd5b50565b600081359050613c5b81613c35565b92915050565b60006bffffffffffffffffffffffff82169050919050565b613c8281613c61565b8114613c8d57600080fd5b50565b600081359050613c9f81613c79565b92915050565b60008060408385031215613cbc57613cbb613b0a565b5b6000613cca85828601613c4c565b9250506020613cdb85828601613c90565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613d1f578082015181840152602081019050613d04565b83811115613d2e576000848401525b50505050565b6000601f19601f8301169050919050565b6000613d5082613ce5565b613d5a8185613cf0565b9350613d6a818560208601613d01565b613d7381613d34565b840191505092915050565b60006020820190508181036000830152613d988184613d45565b905092915050565b613da981613bcf565b8114613db457600080fd5b50565b600081359050613dc681613da0565b92915050565b600060208284031215613de257613de1613b0a565b5b6000613df084828501613db7565b91505092915050565b613e0281613c23565b82525050565b6000602082019050613e1d6000830184613df9565b92915050565b60008060408385031215613e3a57613e39613b0a565b5b6000613e4885828601613c4c565b9250506020613e5985828601613db7565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613ea582613d34565b810181811067ffffffffffffffff82111715613ec457613ec3613e6d565b5b80604052505050565b6000613ed7613b00565b9050613ee38282613e9c565b919050565b600067ffffffffffffffff821115613f0357613f02613e6d565b5b613f0c82613d34565b9050602081019050919050565b82818337600083830152505050565b6000613f3b613f3684613ee8565b613ecd565b905082815260208101848484011115613f5757613f56613e68565b5b613f62848285613f19565b509392505050565b600082601f830112613f7f57613f7e613e63565b5b8135613f8f848260208601613f28565b91505092915050565b60008060408385031215613faf57613fae613b0a565b5b6000613fbd85828601613db7565b925050602083013567ffffffffffffffff811115613fde57613fdd613b0f565b5b613fea85828601613f6a565b9150509250929050565b60008060006060848603121561400d5761400c613b0a565b5b600061401b86828701613c4c565b935050602061402c86828701613c4c565b925050604061403d86828701613db7565b9150509250925092565b6000806040838503121561405e5761405d613b0a565b5b600061406c85828601613db7565b925050602061407d85828601613db7565b9150509250929050565b600060408201905061409c6000830185613df9565b6140a96020830184613bd9565b9392505050565b6140b981613b99565b81146140c457600080fd5b50565b6000813590506140d6816140b0565b92915050565b600080604083850312156140f3576140f2613b0a565b5b6000614101858286016140c7565b9250506020614112858286016140c7565b9150509250929050565b600080fd5b6000606082840312156141375761413661411c565b5b6141416060613ecd565b9050600061415184828501613c4c565b600083015250602061416584828501613db7565b602083015250604061417984828501613db7565b60408301525092915050565b600067ffffffffffffffff8211156141a05761419f613e6d565b5b6141a982613d34565b9050602081019050919050565b60006141c96141c484614185565b613ecd565b9050828152602081018484840111156141e5576141e4613e68565b5b6141f0848285613f19565b509392505050565b600082601f83011261420d5761420c613e63565b5b813561421d8482602086016141b6565b91505092915050565b600080600060a0848603121561423f5761423e613b0a565b5b600061424d86828701613db7565b935050602061425e86828701614121565b925050608084013567ffffffffffffffff81111561427f5761427e613b0f565b5b61428b868287016141f8565b9150509250925092565b6000602082840312156142ab576142aa613b0a565b5b600082013567ffffffffffffffff8111156142c9576142c8613b0f565b5b6142d584828501613f6a565b91505092915050565b6000602082840312156142f4576142f3613b0a565b5b600061430284828501613c4c565b91505092915050565b60006020828403121561432157614320613b0a565b5b600082013567ffffffffffffffff81111561433f5761433e613b0f565b5b61434b848285016141f8565b91505092915050565b6000806040838503121561436b5761436a613b0a565b5b600061437985828601613c4c565b925050602061438a858286016140c7565b9150509250929050565b600080600080608085870312156143ae576143ad613b0a565b5b60006143bc87828801613c4c565b94505060206143cd87828801613c4c565b93505060406143de87828801613db7565b925050606085013567ffffffffffffffff8111156143ff576143fe613b0f565b5b61440b878288016141f8565b91505092959194509250565b6000806040838503121561442e5761442d613b0a565b5b600061443c85828601613c4c565b925050602061444d85828601613c4c565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061448d602083613cf0565b915061449882614457565b602082019050919050565b600060208201905081810360008301526144bc81614480565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061450a57607f821691505b6020821081141561451e5761451d6144c3565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614580602c83613cf0565b915061458b82614524565b604082019050919050565b600060208201905081810360008301526145af81614573565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614612602183613cf0565b915061461d826145b6565b604082019050919050565b6000602082019050818103600083015261464181614605565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006146a4603883613cf0565b91506146af82614648565b604082019050919050565b600060208201905081810360008301526146d381614697565b9050919050565b7f54686557686974656c6973743a2043616e206f6e6c79206265206d6f6469666960008201527f6564206279204143450000000000000000000000000000000000000000000000602082015250565b6000614736602983613cf0565b9150614741826146da565b604082019050919050565b6000602082019050818103600083015261476581614729565b9050919050565b7f54686557686974656c6973743a2055524920736574206f66206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b60006147c8602a83613cf0565b91506147d38261476c565b604082019050919050565b600060208201905081810360008301526147f7816147bb565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061485a603183613cf0565b9150614865826147fe565b604082019050919050565b600060208201905081810360008301526148898161484d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006148ca82613bcf565b91506148d583613bcf565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561490e5761490d614890565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061495382613bcf565b915061495e83613bcf565b92508261496e5761496d614919565b5b828204905092915050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b60006149d5603083613cf0565b91506149e082614979565b604082019050919050565b60006020820190508181036000830152614a04816149c8565b9050919050565b7f54686557686974656c6973743a2057686974656c697374204d696e74696e672060008201527f6973206e6f7420456e61626c6564000000000000000000000000000000000000602082015250565b6000614a67602e83613cf0565b9150614a7282614a0b565b604082019050919050565b60006020820190508181036000830152614a9681614a5a565b9050919050565b7f54686557686974656c6973743a204d696e74706173732041646472657373206160008201527f6e642053656e64657220646f206e6f74206d6174636800000000000000000000602082015250565b6000614af9603683613cf0565b9150614b0482614a9d565b604082019050919050565b60006020820190508181036000830152614b2881614aec565b9050919050565b7f54686557686974656c6973743a20496e73756666696369656e7420416d6f756e60008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b6000614b8b602183613cf0565b9150614b9682614b2f565b604082019050919050565b60006020820190508181036000830152614bba81614b7e565b9050919050565b6000614bcc82613bcf565b9150614bd783613bcf565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614c0c57614c0b614890565b5b828201905092915050565b7f54686557686974656c6973743a204d6178696d756d2057686974656c6973742060008201527f7065722057616c6c657420726561636865640000000000000000000000000000602082015250565b6000614c73603283613cf0565b9150614c7e82614c17565b604082019050919050565b60006020820190508181036000830152614ca281614c66565b9050919050565b7f54686557686974656c6973743a204d696e74696e67206973206e6f7420456e6160008201527f626c656400000000000000000000000000000000000000000000000000000000602082015250565b6000614d05602483613cf0565b9150614d1082614ca9565b604082019050919050565b60006020820190508181036000830152614d3481614cf8565b9050919050565b600081519050919050565b600081905092915050565b6000614d5c82614d3b565b614d668185614d46565b9350614d76818560208601613d01565b80840191505092915050565b6000614d8e8284614d51565b915081905092915050565b7f54686557686974656c6973743a204d696e747061737320616c7265616479207260008201527f656465656d656400000000000000000000000000000000000000000000000000602082015250565b6000614df5602783613cf0565b9150614e0082614d99565b604082019050919050565b60006020820190508181036000830152614e2481614de8565b9050919050565b7f54686557686974656c6973743a204d696e7470617373206e6f7420612046726560008201527f65204d696e740000000000000000000000000000000000000000000000000000602082015250565b6000614e87602683613cf0565b9150614e9282614e2b565b604082019050919050565b60006020820190508181036000830152614eb681614e7a565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614f19602983613cf0565b9150614f2482614ebd565b604082019050919050565b60006020820190508181036000830152614f4881614f0c565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614fab602a83613cf0565b9150614fb682614f4f565b604082019050919050565b60006020820190508181036000830152614fda81614f9e565b9050919050565b7f54686557686974656c6973743a205075626c6963204d696e74696e672069732060008201527f6e6f7420456e61626c6564000000000000000000000000000000000000000000602082015250565b600061503d602b83613cf0565b915061504882614fe1565b604082019050919050565b6000602082019050818103600083015261506c81615030565b9050919050565b7f54686557686974656c6973743a204d6178696d756d207065722057616c6c657460008201527f2072656163686564000000000000000000000000000000000000000000000000602082015250565b60006150cf602883613cf0565b91506150da82615073565b604082019050919050565b600060208201905081810360008301526150fe816150c2565b9050919050565b7f54686557686974656c6973743a2055524920717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b6000615161602d83613cf0565b915061516c82615105565b604082019050919050565b6000602082019050818103600083015261519081615154565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006151f3602683613cf0565b91506151fe82615197565b604082019050919050565b60006020820190508181036000830152615222816151e6565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000615285602a83613cf0565b915061529082615229565b604082019050919050565b600060208201905081810360008301526152b481615278565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b60006152f1601983613cf0565b91506152fc826152bb565b602082019050919050565b60006020820190508181036000830152615320816152e4565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000615383602c83613cf0565b915061538e82615327565b604082019050919050565b600060208201905081810360008301526153b281615376565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000615415602983613cf0565b9150615420826153b9565b604082019050919050565b6000602082019050818103600083015261544481615408565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006154a7602483613cf0565b91506154b28261544b565b604082019050919050565b600060208201905081810360008301526154d68161549a565b9050919050565b60006154e882613bcf565b91506154f383613bcf565b92508282101561550657615505614890565b5b828203905092915050565b7f4d696e747061737356616c696461746f723a204d696e7470617373207369676e60008201527f617475726520766572696669636174696f6e206572726f720000000000000000602082015250565b600061556d603883613cf0565b915061557882615511565b604082019050919050565b6000602082019050818103600083015261559c81615560565b9050919050565b7f54686557686974656c6973743a20546f6b656e204c696d69742072656163686560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b60006155ff602183613cf0565b915061560a826155a3565b604082019050919050565b6000602082019050818103600083015261562e816155f2565b9050919050565b600061564082613bcf565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561567357615672614890565b5b600182019050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006156b4601983613cf0565b91506156bf8261567e565b602082019050919050565b600060208201905081810360008301526156e3816156a7565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615746603283613cf0565b9150615751826156ea565b604082019050919050565b6000602082019050818103600083015261577581615739565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006157d8602f83613cf0565b91506157e38261577c565b604082019050919050565b60006020820190508181036000830152615807816157cb565b9050919050565b600081905092915050565b600061582482613ce5565b61582e818561580e565b935061583e818560208601613d01565b80840191505092915050565b60006158568285615819565b91506158628284615819565b91508190509392505050565b6000819050919050565b6158818161586e565b82525050565b600060808201905061589c6000830187615878565b6158a96020830186613df9565b6158b66040830185613bd9565b6158c36060830184613bd9565b95945050505050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615902602083613cf0565b915061590d826158cc565b602082019050919050565b60006020820190508181036000830152615931816158f5565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061596e601c83613cf0565b915061597982615938565b602082019050919050565b6000602082019050818103600083015261599d81615961565b9050919050565b600082825260208201905092915050565b60006159c082614d3b565b6159ca81856159a4565b93506159da818560208601613d01565b6159e381613d34565b840191505092915050565b6000608082019050615a036000830187613df9565b615a106020830186613df9565b615a1d6040830185613bd9565b8181036060830152615a2f81846159b5565b905095945050505050565b600081519050615a4981613b40565b92915050565b600060208284031215615a6557615a64613b0a565b5b6000615a7384828501615a3a565b91505092915050565b6000615a8782613bcf565b9150615a9283613bcf565b925082615aa257615aa1614919565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b6000615b1260028361580e565b9150615b1d82615adc565b600282019050919050565b6000819050919050565b615b43615b3e8261586e565b615b28565b82525050565b6000615b5482615b05565b9150615b608285615b32565b602082019150615b708284615b32565b6020820191508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615be5601883613cf0565b9150615bf082615baf565b602082019050919050565b60006020820190508181036000830152615c1481615bd8565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615c51601f83613cf0565b9150615c5c82615c1b565b602082019050919050565b60006020820190508181036000830152615c8081615c44565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615ce3602283613cf0565b9150615cee82615c87565b604082019050919050565b60006020820190508181036000830152615d1281615cd6565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615d75602283613cf0565b9150615d8082615d19565b604082019050919050565b60006020820190508181036000830152615da481615d68565b9050919050565b600060a082019050615dc06000830188615878565b615dcd6020830187615878565b615dda6040830186615878565b615de76060830185613bd9565b615df46080830184613df9565b9695505050505050565b600060ff82169050919050565b615e1481615dfe565b82525050565b6000608082019050615e2f6000830187615878565b615e3c6020830186615e0b565b615e496040830185615878565b615e566060830184615878565b9594505050505056fea2646970667358221220f7a8a213c0df17a9dc1f31ef74bebd75be2a1f503761d6ec999574cc50bae1c864736f6c634300080a0033

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000c54686557686974656c697374000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034143450000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): TheWhitelist
Arg [1] : symbol (string): ACE

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [3] : 54686557686974656c6973740000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [5] : 4143450000000000000000000000000000000000000000000000000000000000


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.