ETH Price: $3,255.81 (+2.21%)
Gas: 2 Gwei

Token

Santametti (SANTA)
 

Overview

Max Total Supply

537 SANTA

Holders

132

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 SANTA
0x61d164ce94e335512ca39d7225f1cf80d1b53b3d
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Santametti

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-12-26
*/

//                                                  zr
//                                               Yt$$$.
//                                            .,e$$$$$F'
//                          4e r               $$$$$$$.
//                          d$$br            _z$$$$$$$F`
//                           ?$$b._          ^?$$$$$$$
//                            4$$$"     -eec.  ""JP" ..eee$%..
//                            -**N #c   -^***.eE  ^z$P$$$$$$$$$r-
//                   .ze$$$$$eu?$eu '$$$$b $=^*$$ .$$$$$$$$$$"
//                --."?$$$$$$$$$c"$$c .""" e$K  =""*?$$$P""""
//    ueee. `:`  $E !!h ?$$$$$$$$b R$N'~!! *$$F J"""C.  `
//   J  `"$$eu`!h !!!`4!!<?$$$$$$$P ?".eee-z.ee" ~$$e.br
//   'j$$Ne`?$$c`4!~`-e-:!:`$$$$$$$ $$**"z $^R$P  3 "$$$bJ
//    4$$$F".`?$$c`!! \).!!!`?$$$$F.$$$# $u$% ee*"^ :4`"$"?$q
//     ""`,!!!:`$$N.4!!~~.~~4 ?$$F'$$F.@.* -L.e@$$$$ec.      "
//     "Rr`!!!!h ?$$c`h: `# !! $F,r4$L***  e$$$$$$$$$$$$hc
//       #e'4!!!!L`$$b'!.:!h`~~ .$F'"    d$$$$$$$$$$$$$$$$$h,
//        ^$.`!!!!h $$b`!. -    $P /'   .$$$$$$$$$$$$$$$$$$$$$c
//          "$c`!!!h`$$.4~      $$$r'   <$$$$$$$$$$$$$$$$$$$P"""
//            ^te.`~ $$b        `Fue-   `$$$$$$$$$$$$$$P".:  !! "<
//               ^"=4$P"     .,,,. -^.   ?$$$$$$$$$$"?:. !! :!!~ ,,ec..
//                     ..z$$$$$$$$$h,    `$$$$$$P"..`!f :!f ~)Lze$$$P""""?i
//                   ud$$$$$$$$$$$$$$h    `?$$F <!!'<!>:~)ue$$P*"..:!!!!! J
//                 .K$$$$$$$$$$$$$$$$$,     P.>e'!f !~ ed$$P".:!!!!!!!!`.d"
//                z$$$$$$$$$$$$$$$$$$$$      4!!~\e$$$P`:!!!!!!!!!!'.eP'
//               -*". . "??$$$$$$$$$$$$       ~ `z$$$F".`!!!!!!!!!!',dP"
//             ." ):!!h i`!- ("?$$$$$$f        ,$$P":! ). `'!!!!`,d$F'
//        .ueeeu.J`-^.!h <-  ~`.. ??$$'       ,$$ :!!`e$$$$e `,e$F'
//     e$$$$$$$$$$$$$eeiC ")?:-<:%':^?        ?$f !!! ?$$$$",F"
//    P"....```""?$$$$$$$$$euL^.!..` .         "Tu._.,``""
//    $ !!!!!!!!!!::.""??$$$$$$eJ~^=.            ````
//    ?$.`!!!!!!!!!!!!!!:."??$$$$$c'.
//     "?b.`!!!!!!!!!!!!!!!!>."?$$$$c
//       ^?$c`'!!!!!!!!!!!',eeb, "$$$k
//          "?$e.`'!!!!!!! $$$$$ ;.?$$
//             "?$ee,``''!."?$P`i!! 3P
//                 ""??$bec,,.,ceeeP"
//                        `""""""


//Santametti (SANTA) is a fine art NFT collection from artist Pumpametti. This is a holiday free mint for all Metti ETH NFT holders. 
//Total 1000 SANTA available. 
//VIP reserved free mint for Pumpametti holders, 300 SANTA available. 
//First-come-frist-serve free mint Pettametti/Standametti/MettiLandscape holders, 700 SANTA available. 
//Only 1 SANTA per transaction.
//For Pumpa holders please select "PumpaFirstChoiceVIPMint".
//For Petta holders please select "PettaVernissageMint".
//For Standa holders please select "StandaPrivateMint".
//For MettiLandscape please select 'LandscapePrivateMint".
//No public mint, you have to own a Metti to mint a SANTA.
//Only mint from contract.
//https://www.pumpametti.com/santametti
//https://twitter.com/pumpametti

// File: @openzeppelin/contracts/utils/math/SafeMath.sol
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Strings.sol


// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Context.sol


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Address.sol


// OpenZeppelin Contracts v4.4.1 (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: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

// File: @openzeppelin/contracts/interfaces/IERC165.sol


// OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol)

pragma solidity ^0.8.0;


// File: @openzeppelin/contracts/interfaces/IERC2981.sol


// OpenZeppelin Contracts v4.4.1 (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/token/ERC721/IERC721.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;


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

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/token/ERC721/ERC721.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;








/**
 * @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: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;



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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: contracts/Santametti.sol

//                                                  zr
//                                               Yt$$$.
//                                            .,e$$$$$F'
//                          4e r               $$$$$$$.
//                          d$$br            _z$$$$$$$F`
//                           ?$$b._          ^?$$$$$$$
//                            4$$$"     -eec.  ""JP" ..eee$%..
//                            -**N #c   -^***.eE  ^z$P$$$$$$$$$r-
//                   .ze$$$$$eu?$eu '$$$$b $=^*$$ .$$$$$$$$$$"
//                --."?$$$$$$$$$c"$$c .""" e$K  =""*?$$$P""""
//    ueee. `:`  $E !!h ?$$$$$$$$b R$N'~!! *$$F J"""C.  `
//   J  `"$$eu`!h !!!`4!!<?$$$$$$$P ?".eee-z.ee" ~$$e.br
//   'j$$Ne`?$$c`4!~`-e-:!:`$$$$$$$ $$**"z $^R$P  3 "$$$bJ
//    4$$$F".`?$$c`!! \).!!!`?$$$$F.$$$# $u$% ee*"^ :4`"$"?$q
//     ""`,!!!:`$$N.4!!~~.~~4 ?$$F'$$F.@.* -L.e@$$$$ec.      "
//     "Rr`!!!!h ?$$c`h: `# !! $F,r4$L***  e$$$$$$$$$$$$hc
//       #e'4!!!!L`$$b'!.:!h`~~ .$F'"    d$$$$$$$$$$$$$$$$$h,
//        ^$.`!!!!h $$b`!. -    $P /'   .$$$$$$$$$$$$$$$$$$$$$c
//          "$c`!!!h`$$.4~      $$$r'   <$$$$$$$$$$$$$$$$$$$P"""
//            ^te.`~ $$b        `Fue-   `$$$$$$$$$$$$$$P".:  !! "<
//               ^"=4$P"     .,,,. -^.   ?$$$$$$$$$$"?:. !! :!!~ ,,ec..
//                     ..z$$$$$$$$$h,    `$$$$$$P"..`!f :!f ~)Lze$$$P""""?i
//                   ud$$$$$$$$$$$$$$h    `?$$F <!!'<!>:~)ue$$P*"..:!!!!! J
//                 .K$$$$$$$$$$$$$$$$$,     P.>e'!f !~ ed$$P".:!!!!!!!!`.d"
//                z$$$$$$$$$$$$$$$$$$$$      4!!~\e$$$P`:!!!!!!!!!!'.eP'
//               -*". . "??$$$$$$$$$$$$       ~ `z$$$F".`!!!!!!!!!!',dP"
//             ." ):!!h i`!- ("?$$$$$$f        ,$$P":! ). `'!!!!`,d$F'
//        .ueeeu.J`-^.!h <-  ~`.. ??$$'       ,$$ :!!`e$$$$e `,e$F'
//     e$$$$$$$$$$$$$eeiC ")?:-<:%':^?        ?$f !!! ?$$$$",F"
//    P"....```""?$$$$$$$$$euL^.!..` .         "Tu._.,``""
//    $ !!!!!!!!!!::.""??$$$$$$eJ~^=.            ````
//    ?$.`!!!!!!!!!!!!!!:."??$$$$$c'.
//     "?b.`!!!!!!!!!!!!!!!!>."?$$$$c
//       ^?$c`'!!!!!!!!!!!',eeb, "$$$k
//          "?$e.`'!!!!!!! $$$$$ ;.?$$
//             "?$ee,``''!."?$P`i!! 3P
//                 ""??$bec,,.,ceeeP"
//                        `""""""


//Santametti (SANTA) is a fine art NFT collection from artist Pumpametti. This is a holiday free mint for all Metti ETH NFT holders. 
//Total 1000 SANTA available. 
//VIP reserved free mint for Pumpametti holders, 300 SANTA available. 
//First-come-frist-serve free mint Pettametti/Standametti/MettiLandscape holders, 700 SANTA available. 
//Only 1 SANTA per transaction.
//For Pumpa holders please select "PumpaFirstChoiceVIPMint".
//For Petta holders please select "PettaVernissageMint".
//For Standa holders please select "StandaPrivateMint".
//For MettiLandscape please select 'LandscapePrivateMint".
//No public mint, you have to own a Metti to mint a SANTA.
//Only mint from contract.
//https://www.pumpametti.com/santametti
//https://twitter.com/pumpametti


//SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

interface PumpaInterface {
    function ownerOf(uint256 tokenId) external view returns (address owner);
    function balanceOf(address owner) external view returns (uint256 balance);
    function tokenOfOwnerByIndex(address owner, uint256 index)
        external
        view
        returns (uint256 tokenId);
}

interface PettaInterface {
    function ownerOf(uint256 tokenId) external view returns (address owner);
    function balanceOf(address owner) external view returns (uint256 balance);
    function tokenOfOwnerByIndex(address owner, uint256 index)
        external
        view
        returns (uint256 tokenId);
}

interface StandaInterface {
    function ownerOf(uint256 tokenId) external view returns (address owner);
    function balanceOf(address owner) external view returns (uint256 balance);
    function tokenOfOwnerByIndex(address owner, uint256 index)
        external
        view
        returns (uint256 tokenId);
}

interface LandscapeInterface {
    function ownerOf(uint256 tokenId) external view returns (address owner);
    function balanceOf(address owner) external view returns (uint256 balance);
    function tokenOfOwnerByIndex(address owner, uint256 index)
        external
        view
        returns (uint256 tokenId);
}






contract Santametti is ERC721Enumerable, Ownable, IERC2981 {
  using Strings for uint256;
  using SafeMath for uint256;
 
  string public baseURI;
  string public baseExtension = ".json";
  string public notRevealedUri;
  uint256 public cost = 0.0001 ether;
  uint256 public maxPumpaSupply = 300;
  uint256 public maxPettaStandaLandscapeSupply = 700;
  uint256 public maxMintAmount = 1;
  bool public paused = false;
  bool public revealed = false;
  
  uint16 internal royalty = 700; // base 10000, 7%
  uint16 public constant BASE = 10000;

  address public PumpaAddress = 0x09646c5c1e42ede848A57d6542382C32f2877164;
  PumpaInterface PumpaContract = PumpaInterface(PumpaAddress);
  uint public PumpaOwnersSupplyMinted = 0;
  uint public PettaStandaLandscapeSupplyMinted = 0;

  address public PettaAddress = 0x52474FBF6b678a280d0C69F2314d6d95548b3DAF;
  PettaInterface PettaContract = PettaInterface(PettaAddress);

  address public StandaAddress = 0xFC6Bc5D50912354e89bAd4daBf053Bca2d7Cd817;
  StandaInterface StandaContract = StandaInterface(StandaAddress);

  address public LandscapeAddress = 0x6067E1963Fe613609eE61E93588E4736Cbfc7800;
  LandscapeInterface LandscapeContract = LandscapeInterface(LandscapeAddress);

  constructor( 
    string memory _initBaseURI,
    string memory _initNotRevealedUri
  ) ERC721("Santametti", "SANTA") {
    setBaseURI(_initBaseURI);
    setNotRevealedURI(_initNotRevealedUri);
  }

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

  function PumpaFirstChoiceVIPMint(uint PumpaId) public payable {
    require(PumpaId > 0 && PumpaId <= 300, "Token ID invalid");
    require(PumpaContract.ownerOf(PumpaId) == msg.sender, "Not the owner of this Pumpa");

    _safeMint(msg.sender, PumpaId);
  }

  function PettaVernissageMint(uint PettaId, uint _mintAmount) public payable {
    require(PettaContract.ownerOf(PettaId) == msg.sender, "Not the owner of this Petta");
    require(msg.value >= 0.0001 ether * _mintAmount);
    require(!paused);
    require(_mintAmount > 0);
    require(_mintAmount <= maxMintAmount);
    require(PettaStandaLandscapeSupplyMinted + _mintAmount <= maxPettaStandaLandscapeSupply, "No more PettaStandaLandscape supply left");

    for (uint256 i = 1; i <= _mintAmount; i++) {
      _safeMint(msg.sender, maxPumpaSupply + PettaStandaLandscapeSupplyMinted + i);
    }
    PettaStandaLandscapeSupplyMinted = PettaStandaLandscapeSupplyMinted + _mintAmount;
}

  function StandaPrivateMint(uint StandaId, uint _mintAmount) public payable {
    require(StandaContract.ownerOf(StandaId) == msg.sender, "Not the owner of this Standa");
    require(msg.value >= 0.0001 ether * _mintAmount);
    require(!paused);
    require(_mintAmount > 0);
    require(_mintAmount <= maxMintAmount);
    require(PettaStandaLandscapeSupplyMinted + _mintAmount <= maxPettaStandaLandscapeSupply, "No more PettaStandaLandscape supply left");

    for (uint256 i = 1; i <= _mintAmount; i++) {
      _safeMint(msg.sender, maxPumpaSupply + PettaStandaLandscapeSupplyMinted + i);
    }
    PettaStandaLandscapeSupplyMinted = PettaStandaLandscapeSupplyMinted + _mintAmount;
  }

    function LandscapePrivateMint(uint LandscapeId, uint _mintAmount) public payable {
    require(LandscapeContract.ownerOf(LandscapeId) == msg.sender, "Not the owner of this Landscape");
    require(msg.value >= 0.0001 ether * _mintAmount);
    require(!paused);
    require(_mintAmount > 0);
    require(_mintAmount <= maxMintAmount);
    require(PettaStandaLandscapeSupplyMinted + _mintAmount <= maxPettaStandaLandscapeSupply, "No more PettaStandaLandscape supply left");

    for (uint256 i = 1; i <= _mintAmount; i++) {
      _safeMint(msg.sender, maxPumpaSupply + PettaStandaLandscapeSupplyMinted + i);
    }
    PettaStandaLandscapeSupplyMinted = PettaStandaLandscapeSupplyMinted + _mintAmount;
  }

  function tokenURI(uint256 tokenId)
    public
    view
    virtual
    override
    returns (string memory)
  {
    require(
      _exists(tokenId),
      "ERC721Metadata: URI query for nonexistent token"
    );
    
    if(revealed == false) {
        return notRevealedUri;
    }

    string memory currentBaseURI = _baseURI();
    return bytes(currentBaseURI).length > 0
        ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), baseExtension))
        : "";
  }
  
  //onlyOwner
  
  function reveal() public onlyOwner {
      revealed = true;
  }
  
  function setBaseURI(string memory _newBaseURI) public onlyOwner {
    baseURI = _newBaseURI;
  }

  function setBaseExtension(string memory _newBaseExtension) public onlyOwner {
    baseExtension = _newBaseExtension;
  }
  
  function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner {
    notRevealedUri = _notRevealedURI;
  }

  function pause(bool _state) public onlyOwner {
    paused = _state;
  }
  
  function royaltyInfo(uint256, uint256 _salePrice)
        external
        view
        override
        returns (address receiver, uint256 royaltyAmount)
    {
        return (address(this), (_salePrice * royalty) / BASE);
    }

  function setRoyalty(uint16 _royalty) public virtual onlyOwner {
        require(_royalty >= 0 && _royalty <= 1000, 'Royalty must be between 0% and 10%.');

        royalty = _royalty;
    }

  function withdraw() public payable onlyOwner {
    require(payable(msg.sender).send(address(this).balance));
  }
  
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"string","name":"_initNotRevealedUri","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":"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":"BASE","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LandscapeAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"LandscapeId","type":"uint256"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"LandscapePrivateMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"PettaAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PettaStandaLandscapeSupplyMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"PettaId","type":"uint256"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"PettaVernissageMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"PumpaAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"PumpaId","type":"uint256"}],"name":"PumpaFirstChoiceVIPMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"PumpaOwnersSupplyMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"StandaAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"StandaId","type":"uint256"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"StandaPrivateMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPettaStandaLandscapeSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPumpaSupply","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":"notRevealedUri","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":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_royalty","type":"uint16"}],"name":"setRoyalty","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

60c06040526005608081905264173539b7b760d91b60a09081526200002891600c91906200030e565b50655af3107a4000600e5561012c600f556102bc6010556001601155601280546001600160c01b0319167709646c5c1e42ede848a57d6542382c32f287716402bc00001790819055601380546001600160a01b03640100000000909304929092166001600160a01b031992831617905560006014819055601555601680547352474fbf6b678a280d0c69f2314d6d95548b3daf908316811790915560178054831690911790556018805473fc6bc5d50912354e89bad4dabf053bca2d7cd81790831681179091556019805483169091179055601a8054736067e1963fe613609ee61e93588e4736cbfc78009083168117909155601b80549092161790553480156200013257600080fd5b506040516200305f3803806200305f83398101604081905262000155916200046b565b604080518082018252600a81526953616e74616d6574746960b01b60208083019182528351808501909452600584526453414e544160d81b908401528151919291620001a4916000916200030e565b508051620001ba9060019060208401906200030e565b505050620001d7620001d1620001f560201b60201c565b620001f9565b620001e2826200024b565b620001ed81620002b3565b505062000528565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600a546001600160a01b031633146200029a5760405162461bcd60e51b815260206004820181905260248201526000805160206200303f83398151915260448201526064015b60405180910390fd5b8051620002af90600b9060208401906200030e565b5050565b600a546001600160a01b03163314620002fe5760405162461bcd60e51b815260206004820181905260248201526000805160206200303f833981519152604482015260640162000291565b8051620002af90600d9060208401905b8280546200031c90620004d5565b90600052602060002090601f0160209004810192826200034057600085556200038b565b82601f106200035b57805160ff19168380011785556200038b565b828001600101855582156200038b579182015b828111156200038b5782518255916020019190600101906200036e565b50620003999291506200039d565b5090565b5b808211156200039957600081556001016200039e565b600082601f830112620003c657600080fd5b81516001600160401b0380821115620003e357620003e362000512565b604051601f8301601f19908116603f011681019082821181831017156200040e576200040e62000512565b816040528381526020925086838588010111156200042b57600080fd5b600091505b838210156200044f578582018301518183018401529082019062000430565b83821115620004615760008385830101525b9695505050505050565b600080604083850312156200047f57600080fd5b82516001600160401b03808211156200049757600080fd5b620004a586838701620003b4565b93506020850151915080821115620004bc57600080fd5b50620004cb85828601620003b4565b9150509250929050565b600181811c90821680620004ea57607f821691505b602082108114156200050c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b612b0780620005386000396000f3fe6080604052600436106102885760003560e01c80636c0360eb1161015a578063b88d4fde116100c1578063da3ef23f1161007a578063da3ef23f14610742578063e6614bc014610762578063e985e9c514610775578063ec342ad0146107be578063f2c4ce1e146107e7578063f2fde38b1461080757600080fd5b8063b88d4fde14610685578063bbe9a8d2146106a5578063c6682862146106cd578063c87b56dd146106e2578063cf06904e14610702578063d248b3561461072257600080fd5b806383ba5c621161011357806383ba5c62146105f75780638da5cb5b1461060a57806395d89b4114610628578063a22cb4651461063d578063a475b5dd1461065d578063ac361ff11461067257600080fd5b80636c0360eb1461056157806370a0823114610576578063715018a6146105965780637babdd87146105ab5780638372c0e2146105c1578063837ea8e9146105d757600080fd5b80632d183503116101fe5780634f6ccce7116101b75780634f6ccce7146104b257806351830227146104d257806355f804b3146104f157806356c8cdd1146105115780635c975abb146105275780636352211e1461054157600080fd5b80632d183503146104215780632f745c591461043757806336e79a5a146104575780633ccfd60b1461047757806342842e0e1461047f57806344e3c5501461049f57600080fd5b8063095ea7b311610250578063095ea7b31461035357806313faede61461037357806318160ddd14610397578063239c70ae146103ac57806323b872dd146103c25780632a55205a146103e257600080fd5b806301ffc9a71461028d57806302329a29146102c257806306fdde03146102e4578063081812fc14610306578063081c8c441461033e575b600080fd5b34801561029957600080fd5b506102ad6102a83660046125fe565b610827565b60405190151581526020015b60405180910390f35b3480156102ce57600080fd5b506102e26102dd3660046125e3565b610852565b005b3480156102f057600080fd5b506102f9610898565b6040516102b9919061280d565b34801561031257600080fd5b506103266103213660046126a5565b61092a565b6040516001600160a01b0390911681526020016102b9565b34801561034a57600080fd5b506102f96109bf565b34801561035f57600080fd5b506102e261036e3660046125b7565b610a4d565b34801561037f57600080fd5b50610389600e5481565b6040519081526020016102b9565b3480156103a357600080fd5b50600854610389565b3480156103b857600080fd5b5061038960115481565b3480156103ce57600080fd5b506102e26103dd3660046124c1565b610b63565b3480156103ee57600080fd5b506104026103fd3660046126be565b610b94565b604080516001600160a01b0390931683526020830191909152016102b9565b34801561042d57600080fd5b50610389600f5481565b34801561044357600080fd5b506103896104523660046125b7565b610bcb565b34801561046357600080fd5b506102e2610472366004612681565b610c61565b6102e2610d0d565b34801561048b57600080fd5b506102e261049a3660046124c1565b610d5d565b6102e26104ad3660046126be565b610d78565b3480156104be57600080fd5b506103896104cd3660046126a5565b610f17565b3480156104de57600080fd5b506012546102ad90610100900460ff1681565b3480156104fd57600080fd5b506102e261050c366004612638565b610faa565b34801561051d57600080fd5b5061038960145481565b34801561053357600080fd5b506012546102ad9060ff1681565b34801561054d57600080fd5b5061032661055c3660046126a5565b610feb565b34801561056d57600080fd5b506102f9611062565b34801561058257600080fd5b5061038961059136600461244e565b61106f565b3480156105a257600080fd5b506102e26110f6565b3480156105b757600080fd5b5061038960155481565b3480156105cd57600080fd5b5061038960105481565b3480156105e357600080fd5b50601a54610326906001600160a01b031681565b6102e26106053660046126be565b61112a565b34801561061657600080fd5b50600a546001600160a01b0316610326565b34801561063457600080fd5b506102f96112a4565b34801561064957600080fd5b506102e2610658366004612582565b6112b3565b34801561066957600080fd5b506102e26112be565b6102e26106803660046126a5565b6112f9565b34801561069157600080fd5b506102e26106a0366004612502565b611429565b3480156106b157600080fd5b506012546103269064010000000090046001600160a01b031681565b3480156106d957600080fd5b506102f9611461565b3480156106ee57600080fd5b506102f96106fd3660046126a5565b61146e565b34801561070e57600080fd5b50601854610326906001600160a01b031681565b34801561072e57600080fd5b50601654610326906001600160a01b031681565b34801561074e57600080fd5b506102e261075d366004612638565b6115ed565b6102e26107703660046126be565b61162a565b34801561078157600080fd5b506102ad610790366004612488565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156107ca57600080fd5b506107d461271081565b60405161ffff90911681526020016102b9565b3480156107f357600080fd5b506102e2610802366004612638565b6117a4565b34801561081357600080fd5b506102e261082236600461244e565b6117e1565b60006001600160e01b0319821663780e9d6360e01b148061084c575061084c82611879565b92915050565b600a546001600160a01b031633146108855760405162461bcd60e51b815260040161087c906128ba565b60405180910390fd5b6012805460ff1916911515919091179055565b6060600080546108a7906129ce565b80601f01602080910402602001604051908101604052809291908181526020018280546108d3906129ce565b80156109205780601f106108f557610100808354040283529160200191610920565b820191906000526020600020905b81548152906001019060200180831161090357829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166109a35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161087c565b506000908152600460205260409020546001600160a01b031690565b600d80546109cc906129ce565b80601f01602080910402602001604051908101604052809291908181526020018280546109f8906129ce565b8015610a455780601f10610a1a57610100808354040283529160200191610a45565b820191906000526020600020905b815481529060010190602001808311610a2857829003601f168201915b505050505081565b6000610a5882610feb565b9050806001600160a01b0316836001600160a01b03161415610ac65760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161087c565b336001600160a01b0382161480610ae25750610ae28133610790565b610b545760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161087c565b610b5e83836118c9565b505050565b610b6d3382611937565b610b895760405162461bcd60e51b815260040161087c906128ef565b610b5e838383611a2e565b6012546000908190309061271090610bb69062010000900461ffff168661296c565b610bc09190612958565b915091509250929050565b6000610bd68361106f565b8210610c385760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161087c565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610c8b5760405162461bcd60e51b815260040161087c906128ba565b6103e88161ffff161115610ced5760405162461bcd60e51b815260206004820152602360248201527f526f79616c7479206d757374206265206265747765656e20302520616e64203160448201526218129760e91b606482015260840161087c565b6012805461ffff909216620100000263ffff000019909216919091179055565b600a546001600160a01b03163314610d375760405162461bcd60e51b815260040161087c906128ba565b60405133904780156108fc02916000818181858888f19350505050610d5b57600080fd5b565b610b5e83838360405180602001604052806000815250611429565b6019546040516331a9108f60e11b81526004810184905233916001600160a01b031690636352211e9060240160206040518083038186803b158015610dbc57600080fd5b505afa158015610dd0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df4919061246b565b6001600160a01b031614610e4a5760405162461bcd60e51b815260206004820152601c60248201527f4e6f7420746865206f776e6572206f662074686973205374616e646100000000604482015260640161087c565b610e5a81655af3107a400061296c565b341015610e6657600080fd5b60125460ff1615610e7657600080fd5b60008111610e8357600080fd5b601154811115610e9257600080fd5b60105481601554610ea39190612940565b1115610ec15760405162461bcd60e51b815260040161087c90612872565b60015b818111610f0157610eef3382601554600f54610ee09190612940565b610eea9190612940565b611bd9565b80610ef981612a09565b915050610ec4565b5080601554610f109190612940565b6015555050565b6000610f2260085490565b8210610f855760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161087c565b60088281548110610f9857610f98612a7a565b90600052602060002001549050919050565b600a546001600160a01b03163314610fd45760405162461bcd60e51b815260040161087c906128ba565b8051610fe790600b90602084019061232a565b5050565b6000818152600260205260408120546001600160a01b03168061084c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161087c565b600b80546109cc906129ce565b60006001600160a01b0382166110da5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161087c565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146111205760405162461bcd60e51b815260040161087c906128ba565b610d5b6000611bf3565b6017546040516331a9108f60e11b81526004810184905233916001600160a01b031690636352211e9060240160206040518083038186803b15801561116e57600080fd5b505afa158015611182573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a6919061246b565b6001600160a01b0316146111fc5760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420746865206f776e6572206f6620746869732050657474610000000000604482015260640161087c565b61120c81655af3107a400061296c565b34101561121857600080fd5b60125460ff161561122857600080fd5b6000811161123557600080fd5b60115481111561124457600080fd5b601054816015546112559190612940565b11156112735760405162461bcd60e51b815260040161087c90612872565b60015b818111610f01576112923382601554600f54610ee09190612940565b8061129c81612a09565b915050611276565b6060600180546108a7906129ce565b610fe7338383611c45565b600a546001600160a01b031633146112e85760405162461bcd60e51b815260040161087c906128ba565b6012805461ff001916610100179055565b60008111801561130b575061012c8111155b61134a5760405162461bcd60e51b815260206004820152601060248201526f151bdad95b881251081a5b9d985b1a5960821b604482015260640161087c565b6013546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e9060240160206040518083038186803b15801561138e57600080fd5b505afa1580156113a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113c6919061246b565b6001600160a01b03161461141c5760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420746865206f776e6572206f6620746869732050756d70610000000000604482015260640161087c565b6114263382611bd9565b50565b6114333383611937565b61144f5760405162461bcd60e51b815260040161087c906128ef565b61145b84848484611d14565b50505050565b600c80546109cc906129ce565b6000818152600260205260409020546060906001600160a01b03166114ed5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161087c565b601254610100900460ff1661158e57600d8054611509906129ce565b80601f0160208091040260200160405190810160405280929190818152602001828054611535906129ce565b80156115825780601f1061155757610100808354040283529160200191611582565b820191906000526020600020905b81548152906001019060200180831161156557829003601f168201915b50505050509050919050565b6000611598611d47565b905060008151116115b857604051806020016040528060008152506115e6565b806115c284611d56565b600c6040516020016115d69392919061270c565b6040516020818303038152906040525b9392505050565b600a546001600160a01b031633146116175760405162461bcd60e51b815260040161087c906128ba565b8051610fe790600c90602084019061232a565b601b546040516331a9108f60e11b81526004810184905233916001600160a01b031690636352211e9060240160206040518083038186803b15801561166e57600080fd5b505afa158015611682573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116a6919061246b565b6001600160a01b0316146116fc5760405162461bcd60e51b815260206004820152601f60248201527f4e6f7420746865206f776e6572206f662074686973204c616e64736361706500604482015260640161087c565b61170c81655af3107a400061296c565b34101561171857600080fd5b60125460ff161561172857600080fd5b6000811161173557600080fd5b60115481111561174457600080fd5b601054816015546117559190612940565b11156117735760405162461bcd60e51b815260040161087c90612872565b60015b818111610f01576117923382601554600f54610ee09190612940565b8061179c81612a09565b915050611776565b600a546001600160a01b031633146117ce5760405162461bcd60e51b815260040161087c906128ba565b8051610fe790600d90602084019061232a565b600a546001600160a01b0316331461180b5760405162461bcd60e51b815260040161087c906128ba565b6001600160a01b0381166118705760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161087c565b61142681611bf3565b60006001600160e01b031982166380ac58cd60e01b14806118aa57506001600160e01b03198216635b5e139f60e01b145b8061084c57506301ffc9a760e01b6001600160e01b031983161461084c565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906118fe82610feb565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166119b05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161087c565b60006119bb83610feb565b9050806001600160a01b0316846001600160a01b031614806119f65750836001600160a01b03166119eb8461092a565b6001600160a01b0316145b80611a2657506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611a4182610feb565b6001600160a01b031614611aa95760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161087c565b6001600160a01b038216611b0b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161087c565b611b16838383611e54565b611b216000826118c9565b6001600160a01b0383166000908152600360205260408120805460019290611b4a90849061298b565b90915550506001600160a01b0382166000908152600360205260408120805460019290611b78908490612940565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610fe7828260405180602001604052806000815250611f0c565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415611ca75760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161087c565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611d1f848484611a2e565b611d2b84848484611f3f565b61145b5760405162461bcd60e51b815260040161087c90612820565b6060600b80546108a7906129ce565b606081611d7a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611da45780611d8e81612a09565b9150611d9d9050600a83612958565b9150611d7e565b60008167ffffffffffffffff811115611dbf57611dbf612a90565b6040519080825280601f01601f191660200182016040528015611de9576020820181803683370190505b5090505b8415611a2657611dfe60018361298b565b9150611e0b600a86612a24565b611e16906030612940565b60f81b818381518110611e2b57611e2b612a7a565b60200101906001600160f81b031916908160001a905350611e4d600a86612958565b9450611ded565b6001600160a01b038316611eaf57611eaa81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611ed2565b816001600160a01b0316836001600160a01b031614611ed257611ed2838261204c565b6001600160a01b038216611ee957610b5e816120e9565b826001600160a01b0316826001600160a01b031614610b5e57610b5e8282612198565b611f1683836121dc565b611f236000848484611f3f565b610b5e5760405162461bcd60e51b815260040161087c90612820565b60006001600160a01b0384163b1561204157604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611f839033908990889088906004016127d0565b602060405180830381600087803b158015611f9d57600080fd5b505af1925050508015611fcd575060408051601f3d908101601f19168201909252611fca9181019061261b565b60015b612027573d808015611ffb576040519150601f19603f3d011682016040523d82523d6000602084013e612000565b606091505b50805161201f5760405162461bcd60e51b815260040161087c90612820565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611a26565b506001949350505050565b600060016120598461106f565b612063919061298b565b6000838152600760205260409020549091508082146120b6576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906120fb9060019061298b565b6000838152600960205260408120546008805493945090928490811061212357612123612a7a565b90600052602060002001549050806008838154811061214457612144612a7a565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061217c5761217c612a64565b6001900381819060005260206000200160009055905550505050565b60006121a38361106f565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166122325760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161087c565b6000818152600260205260409020546001600160a01b0316156122975760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161087c565b6122a360008383611e54565b6001600160a01b03821660009081526003602052604081208054600192906122cc908490612940565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054612336906129ce565b90600052602060002090601f016020900481019282612358576000855561239e565b82601f1061237157805160ff191683800117855561239e565b8280016001018555821561239e579182015b8281111561239e578251825591602001919060010190612383565b506123aa9291506123ae565b5090565b5b808211156123aa57600081556001016123af565b600067ffffffffffffffff808411156123de576123de612a90565b604051601f8501601f19908116603f0116810190828211818310171561240657612406612a90565b8160405280935085815286868601111561241f57600080fd5b858560208301376000602087830101525050509392505050565b8035801515811461244957600080fd5b919050565b60006020828403121561246057600080fd5b81356115e681612aa6565b60006020828403121561247d57600080fd5b81516115e681612aa6565b6000806040838503121561249b57600080fd5b82356124a681612aa6565b915060208301356124b681612aa6565b809150509250929050565b6000806000606084860312156124d657600080fd5b83356124e181612aa6565b925060208401356124f181612aa6565b929592945050506040919091013590565b6000806000806080858703121561251857600080fd5b843561252381612aa6565b9350602085013561253381612aa6565b925060408501359150606085013567ffffffffffffffff81111561255657600080fd5b8501601f8101871361256757600080fd5b612576878235602084016123c3565b91505092959194509250565b6000806040838503121561259557600080fd5b82356125a081612aa6565b91506125ae60208401612439565b90509250929050565b600080604083850312156125ca57600080fd5b82356125d581612aa6565b946020939093013593505050565b6000602082840312156125f557600080fd5b6115e682612439565b60006020828403121561261057600080fd5b81356115e681612abb565b60006020828403121561262d57600080fd5b81516115e681612abb565b60006020828403121561264a57600080fd5b813567ffffffffffffffff81111561266157600080fd5b8201601f8101841361267257600080fd5b611a26848235602084016123c3565b60006020828403121561269357600080fd5b813561ffff811681146115e657600080fd5b6000602082840312156126b757600080fd5b5035919050565b600080604083850312156126d157600080fd5b50508035926020909101359150565b600081518084526126f88160208601602086016129a2565b601f01601f19169290920160200192915050565b60008451602061271f8285838a016129a2565b8551918401916127328184848a016129a2565b8554920191600090600181811c908083168061274f57607f831692505b85831081141561276d57634e487b7160e01b85526022600452602485fd5b8080156127815760018114612792576127bf565b60ff198516885283880195506127bf565b60008b81526020902060005b858110156127b75781548a82015290840190880161279e565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612803908301846126e0565b9695505050505050565b6020815260006115e660208301846126e0565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526028908201527f4e6f206d6f72652050657474615374616e64614c616e647363617065207375706040820152671c1b1e481b19599d60c21b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000821982111561295357612953612a38565b500190565b60008261296757612967612a4e565b500490565b600081600019048311821515161561298657612986612a38565b500290565b60008282101561299d5761299d612a38565b500390565b60005b838110156129bd5781810151838201526020016129a5565b8381111561145b5750506000910152565b600181811c908216806129e257607f821691505b60208210811415612a0357634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612a1d57612a1d612a38565b5060010190565b600082612a3357612a33612a4e565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461142657600080fd5b6001600160e01b03198116811461142657600080fdfea2646970667358221220f7ac181dfed62cbc0b1f5551734b16258500d244376c396acdd662ee49a70fcb64736f6c634300080700334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000004a68747470733a2f2f697066732e696f2f697066732f516d5873746d624b4531436d4d34744a63664a38504e4668415a6a6772676168716435746639676f513138616a332f312e6a736f6e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004a68747470733a2f2f697066732e696f2f697066732f516d5873746d624b4531436d4d34744a63664a38504e4668415a6a6772676168716435746639676f513138616a332f312e6a736f6e00000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102885760003560e01c80636c0360eb1161015a578063b88d4fde116100c1578063da3ef23f1161007a578063da3ef23f14610742578063e6614bc014610762578063e985e9c514610775578063ec342ad0146107be578063f2c4ce1e146107e7578063f2fde38b1461080757600080fd5b8063b88d4fde14610685578063bbe9a8d2146106a5578063c6682862146106cd578063c87b56dd146106e2578063cf06904e14610702578063d248b3561461072257600080fd5b806383ba5c621161011357806383ba5c62146105f75780638da5cb5b1461060a57806395d89b4114610628578063a22cb4651461063d578063a475b5dd1461065d578063ac361ff11461067257600080fd5b80636c0360eb1461056157806370a0823114610576578063715018a6146105965780637babdd87146105ab5780638372c0e2146105c1578063837ea8e9146105d757600080fd5b80632d183503116101fe5780634f6ccce7116101b75780634f6ccce7146104b257806351830227146104d257806355f804b3146104f157806356c8cdd1146105115780635c975abb146105275780636352211e1461054157600080fd5b80632d183503146104215780632f745c591461043757806336e79a5a146104575780633ccfd60b1461047757806342842e0e1461047f57806344e3c5501461049f57600080fd5b8063095ea7b311610250578063095ea7b31461035357806313faede61461037357806318160ddd14610397578063239c70ae146103ac57806323b872dd146103c25780632a55205a146103e257600080fd5b806301ffc9a71461028d57806302329a29146102c257806306fdde03146102e4578063081812fc14610306578063081c8c441461033e575b600080fd5b34801561029957600080fd5b506102ad6102a83660046125fe565b610827565b60405190151581526020015b60405180910390f35b3480156102ce57600080fd5b506102e26102dd3660046125e3565b610852565b005b3480156102f057600080fd5b506102f9610898565b6040516102b9919061280d565b34801561031257600080fd5b506103266103213660046126a5565b61092a565b6040516001600160a01b0390911681526020016102b9565b34801561034a57600080fd5b506102f96109bf565b34801561035f57600080fd5b506102e261036e3660046125b7565b610a4d565b34801561037f57600080fd5b50610389600e5481565b6040519081526020016102b9565b3480156103a357600080fd5b50600854610389565b3480156103b857600080fd5b5061038960115481565b3480156103ce57600080fd5b506102e26103dd3660046124c1565b610b63565b3480156103ee57600080fd5b506104026103fd3660046126be565b610b94565b604080516001600160a01b0390931683526020830191909152016102b9565b34801561042d57600080fd5b50610389600f5481565b34801561044357600080fd5b506103896104523660046125b7565b610bcb565b34801561046357600080fd5b506102e2610472366004612681565b610c61565b6102e2610d0d565b34801561048b57600080fd5b506102e261049a3660046124c1565b610d5d565b6102e26104ad3660046126be565b610d78565b3480156104be57600080fd5b506103896104cd3660046126a5565b610f17565b3480156104de57600080fd5b506012546102ad90610100900460ff1681565b3480156104fd57600080fd5b506102e261050c366004612638565b610faa565b34801561051d57600080fd5b5061038960145481565b34801561053357600080fd5b506012546102ad9060ff1681565b34801561054d57600080fd5b5061032661055c3660046126a5565b610feb565b34801561056d57600080fd5b506102f9611062565b34801561058257600080fd5b5061038961059136600461244e565b61106f565b3480156105a257600080fd5b506102e26110f6565b3480156105b757600080fd5b5061038960155481565b3480156105cd57600080fd5b5061038960105481565b3480156105e357600080fd5b50601a54610326906001600160a01b031681565b6102e26106053660046126be565b61112a565b34801561061657600080fd5b50600a546001600160a01b0316610326565b34801561063457600080fd5b506102f96112a4565b34801561064957600080fd5b506102e2610658366004612582565b6112b3565b34801561066957600080fd5b506102e26112be565b6102e26106803660046126a5565b6112f9565b34801561069157600080fd5b506102e26106a0366004612502565b611429565b3480156106b157600080fd5b506012546103269064010000000090046001600160a01b031681565b3480156106d957600080fd5b506102f9611461565b3480156106ee57600080fd5b506102f96106fd3660046126a5565b61146e565b34801561070e57600080fd5b50601854610326906001600160a01b031681565b34801561072e57600080fd5b50601654610326906001600160a01b031681565b34801561074e57600080fd5b506102e261075d366004612638565b6115ed565b6102e26107703660046126be565b61162a565b34801561078157600080fd5b506102ad610790366004612488565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156107ca57600080fd5b506107d461271081565b60405161ffff90911681526020016102b9565b3480156107f357600080fd5b506102e2610802366004612638565b6117a4565b34801561081357600080fd5b506102e261082236600461244e565b6117e1565b60006001600160e01b0319821663780e9d6360e01b148061084c575061084c82611879565b92915050565b600a546001600160a01b031633146108855760405162461bcd60e51b815260040161087c906128ba565b60405180910390fd5b6012805460ff1916911515919091179055565b6060600080546108a7906129ce565b80601f01602080910402602001604051908101604052809291908181526020018280546108d3906129ce565b80156109205780601f106108f557610100808354040283529160200191610920565b820191906000526020600020905b81548152906001019060200180831161090357829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166109a35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161087c565b506000908152600460205260409020546001600160a01b031690565b600d80546109cc906129ce565b80601f01602080910402602001604051908101604052809291908181526020018280546109f8906129ce565b8015610a455780601f10610a1a57610100808354040283529160200191610a45565b820191906000526020600020905b815481529060010190602001808311610a2857829003601f168201915b505050505081565b6000610a5882610feb565b9050806001600160a01b0316836001600160a01b03161415610ac65760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161087c565b336001600160a01b0382161480610ae25750610ae28133610790565b610b545760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161087c565b610b5e83836118c9565b505050565b610b6d3382611937565b610b895760405162461bcd60e51b815260040161087c906128ef565b610b5e838383611a2e565b6012546000908190309061271090610bb69062010000900461ffff168661296c565b610bc09190612958565b915091509250929050565b6000610bd68361106f565b8210610c385760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161087c565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610c8b5760405162461bcd60e51b815260040161087c906128ba565b6103e88161ffff161115610ced5760405162461bcd60e51b815260206004820152602360248201527f526f79616c7479206d757374206265206265747765656e20302520616e64203160448201526218129760e91b606482015260840161087c565b6012805461ffff909216620100000263ffff000019909216919091179055565b600a546001600160a01b03163314610d375760405162461bcd60e51b815260040161087c906128ba565b60405133904780156108fc02916000818181858888f19350505050610d5b57600080fd5b565b610b5e83838360405180602001604052806000815250611429565b6019546040516331a9108f60e11b81526004810184905233916001600160a01b031690636352211e9060240160206040518083038186803b158015610dbc57600080fd5b505afa158015610dd0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df4919061246b565b6001600160a01b031614610e4a5760405162461bcd60e51b815260206004820152601c60248201527f4e6f7420746865206f776e6572206f662074686973205374616e646100000000604482015260640161087c565b610e5a81655af3107a400061296c565b341015610e6657600080fd5b60125460ff1615610e7657600080fd5b60008111610e8357600080fd5b601154811115610e9257600080fd5b60105481601554610ea39190612940565b1115610ec15760405162461bcd60e51b815260040161087c90612872565b60015b818111610f0157610eef3382601554600f54610ee09190612940565b610eea9190612940565b611bd9565b80610ef981612a09565b915050610ec4565b5080601554610f109190612940565b6015555050565b6000610f2260085490565b8210610f855760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161087c565b60088281548110610f9857610f98612a7a565b90600052602060002001549050919050565b600a546001600160a01b03163314610fd45760405162461bcd60e51b815260040161087c906128ba565b8051610fe790600b90602084019061232a565b5050565b6000818152600260205260408120546001600160a01b03168061084c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161087c565b600b80546109cc906129ce565b60006001600160a01b0382166110da5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161087c565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146111205760405162461bcd60e51b815260040161087c906128ba565b610d5b6000611bf3565b6017546040516331a9108f60e11b81526004810184905233916001600160a01b031690636352211e9060240160206040518083038186803b15801561116e57600080fd5b505afa158015611182573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a6919061246b565b6001600160a01b0316146111fc5760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420746865206f776e6572206f6620746869732050657474610000000000604482015260640161087c565b61120c81655af3107a400061296c565b34101561121857600080fd5b60125460ff161561122857600080fd5b6000811161123557600080fd5b60115481111561124457600080fd5b601054816015546112559190612940565b11156112735760405162461bcd60e51b815260040161087c90612872565b60015b818111610f01576112923382601554600f54610ee09190612940565b8061129c81612a09565b915050611276565b6060600180546108a7906129ce565b610fe7338383611c45565b600a546001600160a01b031633146112e85760405162461bcd60e51b815260040161087c906128ba565b6012805461ff001916610100179055565b60008111801561130b575061012c8111155b61134a5760405162461bcd60e51b815260206004820152601060248201526f151bdad95b881251081a5b9d985b1a5960821b604482015260640161087c565b6013546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e9060240160206040518083038186803b15801561138e57600080fd5b505afa1580156113a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113c6919061246b565b6001600160a01b03161461141c5760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420746865206f776e6572206f6620746869732050756d70610000000000604482015260640161087c565b6114263382611bd9565b50565b6114333383611937565b61144f5760405162461bcd60e51b815260040161087c906128ef565b61145b84848484611d14565b50505050565b600c80546109cc906129ce565b6000818152600260205260409020546060906001600160a01b03166114ed5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161087c565b601254610100900460ff1661158e57600d8054611509906129ce565b80601f0160208091040260200160405190810160405280929190818152602001828054611535906129ce565b80156115825780601f1061155757610100808354040283529160200191611582565b820191906000526020600020905b81548152906001019060200180831161156557829003601f168201915b50505050509050919050565b6000611598611d47565b905060008151116115b857604051806020016040528060008152506115e6565b806115c284611d56565b600c6040516020016115d69392919061270c565b6040516020818303038152906040525b9392505050565b600a546001600160a01b031633146116175760405162461bcd60e51b815260040161087c906128ba565b8051610fe790600c90602084019061232a565b601b546040516331a9108f60e11b81526004810184905233916001600160a01b031690636352211e9060240160206040518083038186803b15801561166e57600080fd5b505afa158015611682573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116a6919061246b565b6001600160a01b0316146116fc5760405162461bcd60e51b815260206004820152601f60248201527f4e6f7420746865206f776e6572206f662074686973204c616e64736361706500604482015260640161087c565b61170c81655af3107a400061296c565b34101561171857600080fd5b60125460ff161561172857600080fd5b6000811161173557600080fd5b60115481111561174457600080fd5b601054816015546117559190612940565b11156117735760405162461bcd60e51b815260040161087c90612872565b60015b818111610f01576117923382601554600f54610ee09190612940565b8061179c81612a09565b915050611776565b600a546001600160a01b031633146117ce5760405162461bcd60e51b815260040161087c906128ba565b8051610fe790600d90602084019061232a565b600a546001600160a01b0316331461180b5760405162461bcd60e51b815260040161087c906128ba565b6001600160a01b0381166118705760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161087c565b61142681611bf3565b60006001600160e01b031982166380ac58cd60e01b14806118aa57506001600160e01b03198216635b5e139f60e01b145b8061084c57506301ffc9a760e01b6001600160e01b031983161461084c565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906118fe82610feb565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166119b05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161087c565b60006119bb83610feb565b9050806001600160a01b0316846001600160a01b031614806119f65750836001600160a01b03166119eb8461092a565b6001600160a01b0316145b80611a2657506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611a4182610feb565b6001600160a01b031614611aa95760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161087c565b6001600160a01b038216611b0b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161087c565b611b16838383611e54565b611b216000826118c9565b6001600160a01b0383166000908152600360205260408120805460019290611b4a90849061298b565b90915550506001600160a01b0382166000908152600360205260408120805460019290611b78908490612940565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610fe7828260405180602001604052806000815250611f0c565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415611ca75760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161087c565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611d1f848484611a2e565b611d2b84848484611f3f565b61145b5760405162461bcd60e51b815260040161087c90612820565b6060600b80546108a7906129ce565b606081611d7a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611da45780611d8e81612a09565b9150611d9d9050600a83612958565b9150611d7e565b60008167ffffffffffffffff811115611dbf57611dbf612a90565b6040519080825280601f01601f191660200182016040528015611de9576020820181803683370190505b5090505b8415611a2657611dfe60018361298b565b9150611e0b600a86612a24565b611e16906030612940565b60f81b818381518110611e2b57611e2b612a7a565b60200101906001600160f81b031916908160001a905350611e4d600a86612958565b9450611ded565b6001600160a01b038316611eaf57611eaa81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611ed2565b816001600160a01b0316836001600160a01b031614611ed257611ed2838261204c565b6001600160a01b038216611ee957610b5e816120e9565b826001600160a01b0316826001600160a01b031614610b5e57610b5e8282612198565b611f1683836121dc565b611f236000848484611f3f565b610b5e5760405162461bcd60e51b815260040161087c90612820565b60006001600160a01b0384163b1561204157604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611f839033908990889088906004016127d0565b602060405180830381600087803b158015611f9d57600080fd5b505af1925050508015611fcd575060408051601f3d908101601f19168201909252611fca9181019061261b565b60015b612027573d808015611ffb576040519150601f19603f3d011682016040523d82523d6000602084013e612000565b606091505b50805161201f5760405162461bcd60e51b815260040161087c90612820565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611a26565b506001949350505050565b600060016120598461106f565b612063919061298b565b6000838152600760205260409020549091508082146120b6576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906120fb9060019061298b565b6000838152600960205260408120546008805493945090928490811061212357612123612a7a565b90600052602060002001549050806008838154811061214457612144612a7a565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061217c5761217c612a64565b6001900381819060005260206000200160009055905550505050565b60006121a38361106f565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166122325760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161087c565b6000818152600260205260409020546001600160a01b0316156122975760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161087c565b6122a360008383611e54565b6001600160a01b03821660009081526003602052604081208054600192906122cc908490612940565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054612336906129ce565b90600052602060002090601f016020900481019282612358576000855561239e565b82601f1061237157805160ff191683800117855561239e565b8280016001018555821561239e579182015b8281111561239e578251825591602001919060010190612383565b506123aa9291506123ae565b5090565b5b808211156123aa57600081556001016123af565b600067ffffffffffffffff808411156123de576123de612a90565b604051601f8501601f19908116603f0116810190828211818310171561240657612406612a90565b8160405280935085815286868601111561241f57600080fd5b858560208301376000602087830101525050509392505050565b8035801515811461244957600080fd5b919050565b60006020828403121561246057600080fd5b81356115e681612aa6565b60006020828403121561247d57600080fd5b81516115e681612aa6565b6000806040838503121561249b57600080fd5b82356124a681612aa6565b915060208301356124b681612aa6565b809150509250929050565b6000806000606084860312156124d657600080fd5b83356124e181612aa6565b925060208401356124f181612aa6565b929592945050506040919091013590565b6000806000806080858703121561251857600080fd5b843561252381612aa6565b9350602085013561253381612aa6565b925060408501359150606085013567ffffffffffffffff81111561255657600080fd5b8501601f8101871361256757600080fd5b612576878235602084016123c3565b91505092959194509250565b6000806040838503121561259557600080fd5b82356125a081612aa6565b91506125ae60208401612439565b90509250929050565b600080604083850312156125ca57600080fd5b82356125d581612aa6565b946020939093013593505050565b6000602082840312156125f557600080fd5b6115e682612439565b60006020828403121561261057600080fd5b81356115e681612abb565b60006020828403121561262d57600080fd5b81516115e681612abb565b60006020828403121561264a57600080fd5b813567ffffffffffffffff81111561266157600080fd5b8201601f8101841361267257600080fd5b611a26848235602084016123c3565b60006020828403121561269357600080fd5b813561ffff811681146115e657600080fd5b6000602082840312156126b757600080fd5b5035919050565b600080604083850312156126d157600080fd5b50508035926020909101359150565b600081518084526126f88160208601602086016129a2565b601f01601f19169290920160200192915050565b60008451602061271f8285838a016129a2565b8551918401916127328184848a016129a2565b8554920191600090600181811c908083168061274f57607f831692505b85831081141561276d57634e487b7160e01b85526022600452602485fd5b8080156127815760018114612792576127bf565b60ff198516885283880195506127bf565b60008b81526020902060005b858110156127b75781548a82015290840190880161279e565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612803908301846126e0565b9695505050505050565b6020815260006115e660208301846126e0565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526028908201527f4e6f206d6f72652050657474615374616e64614c616e647363617065207375706040820152671c1b1e481b19599d60c21b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000821982111561295357612953612a38565b500190565b60008261296757612967612a4e565b500490565b600081600019048311821515161561298657612986612a38565b500290565b60008282101561299d5761299d612a38565b500390565b60005b838110156129bd5781810151838201526020016129a5565b8381111561145b5750506000910152565b600181811c908216806129e257607f821691505b60208210811415612a0357634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612a1d57612a1d612a38565b5060010190565b600082612a3357612a33612a4e565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461142657600080fd5b6001600160e01b03198116811461142657600080fdfea2646970667358221220f7ac181dfed62cbc0b1f5551734b16258500d244376c396acdd662ee49a70fcb64736f6c63430008070033

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

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000004a68747470733a2f2f697066732e696f2f697066732f516d5873746d624b4531436d4d34744a63664a38504e4668415a6a6772676168716435746639676f513138616a332f312e6a736f6e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004a68747470733a2f2f697066732e696f2f697066732f516d5873746d624b4531436d4d34744a63664a38504e4668415a6a6772676168716435746639676f513138616a332f312e6a736f6e00000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _initBaseURI (string): https://ipfs.io/ipfs/QmXstmbKE1CmM4tJcfJ8PNFhAZjgrgahqd5tf9goQ18aj3/1.json
Arg [1] : _initNotRevealedUri (string): https://ipfs.io/ipfs/QmXstmbKE1CmM4tJcfJ8PNFhAZjgrgahqd5tf9goQ18aj3/1.json

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 000000000000000000000000000000000000000000000000000000000000004a
Arg [3] : 68747470733a2f2f697066732e696f2f697066732f516d5873746d624b453143
Arg [4] : 6d4d34744a63664a38504e4668415a6a6772676168716435746639676f513138
Arg [5] : 616a332f312e6a736f6e00000000000000000000000000000000000000000000
Arg [6] : 000000000000000000000000000000000000000000000000000000000000004a
Arg [7] : 68747470733a2f2f697066732e696f2f697066732f516d5873746d624b453143
Arg [8] : 6d4d34744a63664a38504e4668415a6a6772676168716435746639676f513138
Arg [9] : 616a332f312e6a736f6e00000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

59920:5585:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49311:224;;;;;;;;;;-1:-1:-1;49311:224:0;;;;;:::i;:::-;;:::i;:::-;;;8414:14:1;;8407:22;8389:41;;8377:2;8362:18;49311:224:0;;;;;;;;64862:73;;;;;;;;;;-1:-1:-1;64862:73:0;;;;;:::i;:::-;;:::i;:::-;;36805:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;38364:221::-;;;;;;;;;;-1:-1:-1;38364:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7433:32:1;;;7415:51;;7403:2;7388:18;38364:221:0;7269:203:1;60116:28:0;;;;;;;;;;;;;:::i;37887:411::-;;;;;;;;;;-1:-1:-1;37887:411:0;;;;;:::i;:::-;;:::i;60149:34::-;;;;;;;;;;;;;;;;;;;18798:25:1;;;18786:2;18771:18;60149:34:0;18652:177:1;49951:113:0;;;;;;;;;;-1:-1:-1;50039:10:0;:17;49951:113;;60283:32;;;;;;;;;;;;;;;;39114:339;;;;;;;;;;-1:-1:-1;39114:339:0;;;;;:::i;:::-;;:::i;64943:236::-;;;;;;;;;;-1:-1:-1;64943:236:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;8162:32:1;;;8144:51;;8226:2;8211:18;;8204:34;;;;8117:18;64943:236:0;7970:274:1;60188:35:0;;;;;;;;;;;;;;;;49619:256;;;;;;;;;;-1:-1:-1;49619:256:0;;;;;:::i;:::-;;:::i;65185:193::-;;;;;;;;;;-1:-1:-1;65185:193:0;;;;;:::i;:::-;;:::i;65384:114::-;;;:::i;39524:185::-;;;;;;;;;;-1:-1:-1;39524:185:0;;;;;:::i;:::-;;:::i;62478:699::-;;;;;;:::i;:::-;;:::i;50141:233::-;;;;;;;;;;-1:-1:-1;50141:233:0;;;;;:::i;:::-;;:::i;60351:28::-;;;;;;;;;;-1:-1:-1;60351:28:0;;;;;;;;;;;64502:98;;;;;;;;;;-1:-1:-1;64502:98:0;;;;;:::i;:::-;;:::i;60623:39::-;;;;;;;;;;;;;;;;60320:26;;;;;;;;;;-1:-1:-1;60320:26:0;;;;;;;;36499:239;;;;;;;;;;-1:-1:-1;36499:239:0;;;;;:::i;:::-;;:::i;60048:21::-;;;;;;;;;;;;;:::i;36229:208::-;;;;;;;;;;-1:-1:-1;36229:208:0;;;;;:::i;:::-;;:::i;14807:103::-;;;;;;;;;;;;;:::i;60667:48::-;;;;;;;;;;;;;;;;60228:50;;;;;;;;;;;;;;;;61013:76;;;;;;;;;;-1:-1:-1;61013:76:0;;;;-1:-1:-1;;;;;61013:76:0;;;61777:695;;;;;;:::i;:::-;;:::i;14156:87::-;;;;;;;;;;-1:-1:-1;14229:6:0;;-1:-1:-1;;;;;14229:6:0;14156:87;;36974:104;;;;;;;;;;;;;:::i;38657:155::-;;;;;;;;;;-1:-1:-1;38657:155:0;;;;;:::i;:::-;;:::i;64429:65::-;;;;;;;;;;;;;:::i;61508:263::-;;;;;;:::i;:::-;;:::i;39780:328::-;;;;;;;;;;-1:-1:-1;39780:328:0;;;;;:::i;:::-;;:::i;60482:72::-;;;;;;;;;;-1:-1:-1;60482:72:0;;;;;;;-1:-1:-1;;;;;60482:72:0;;;60074:37;;;;;;;;;;;;;:::i;63905:497::-;;;;;;;;;;-1:-1:-1;63905:497:0;;;;;:::i;:::-;;:::i;60865:73::-;;;;;;;;;;-1:-1:-1;60865:73:0;;;;-1:-1:-1;;;;;60865:73:0;;;60722:72;;;;;;;;;;-1:-1:-1;60722:72:0;;;;-1:-1:-1;;;;;60722:72:0;;;64606:122;;;;;;;;;;-1:-1:-1;64606:122:0;;;;;:::i;:::-;;:::i;63185:714::-;;;;;;:::i;:::-;;:::i;38883:164::-;;;;;;;;;;-1:-1:-1;38883:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;39004:25:0;;;38980:4;39004:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;38883:164;60440:35;;;;;;;;;;;;60470:5;60440:35;;;;;18633:6:1;18621:19;;;18603:38;;18591:2;18576:18;60440:35:0;18459:188:1;64736:120:0;;;;;;;;;;-1:-1:-1;64736:120:0;;;;;:::i;:::-;;:::i;15065:201::-;;;;;;;;;;-1:-1:-1;15065:201:0;;;;;:::i;:::-;;:::i;49311:224::-;49413:4;-1:-1:-1;;;;;;49437:50:0;;-1:-1:-1;;;49437:50:0;;:90;;;49491:36;49515:11;49491:23;:36::i;:::-;49430:97;49311:224;-1:-1:-1;;49311:224:0:o;64862:73::-;14229:6;;-1:-1:-1;;;;;14229:6:0;12960:10;14376:23;14368:68;;;;-1:-1:-1;;;14368:68:0;;;;;;;:::i;:::-;;;;;;;;;64914:6:::1;:15:::0;;-1:-1:-1;;64914:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;64862:73::o;36805:100::-;36859:13;36892:5;36885:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36805:100;:::o;38364:221::-;38440:7;41707:16;;;:7;:16;;;;;;-1:-1:-1;;;;;41707:16:0;38460:73;;;;-1:-1:-1;;;38460:73:0;;15127:2:1;38460:73:0;;;15109:21:1;15166:2;15146:18;;;15139:30;15205:34;15185:18;;;15178:62;-1:-1:-1;;;15256:18:1;;;15249:42;15308:19;;38460:73:0;14925:408:1;38460:73:0;-1:-1:-1;38553:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;38553:24:0;;38364:221::o;60116:28::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;37887:411::-;37968:13;37984:23;37999:7;37984:14;:23::i;:::-;37968:39;;38032:5;-1:-1:-1;;;;;38026:11:0;:2;-1:-1:-1;;;;;38026:11:0;;;38018:57;;;;-1:-1:-1;;;38018:57:0;;17072:2:1;38018:57:0;;;17054:21:1;17111:2;17091:18;;;17084:30;17150:34;17130:18;;;17123:62;-1:-1:-1;;;17201:18:1;;;17194:31;17242:19;;38018:57:0;16870:397:1;38018:57:0;12960:10;-1:-1:-1;;;;;38110:21:0;;;;:62;;-1:-1:-1;38135:37:0;38152:5;12960:10;38883:164;:::i;38135:37::-;38088:168;;;;-1:-1:-1;;;38088:168:0;;12398:2:1;38088:168:0;;;12380:21:1;12437:2;12417:18;;;12410:30;12476:34;12456:18;;;12449:62;12547:26;12527:18;;;12520:54;12591:19;;38088:168:0;12196:420:1;38088:168:0;38269:21;38278:2;38282:7;38269:8;:21::i;:::-;37957:341;37887:411;;:::o;39114:339::-;39309:41;12960:10;39342:7;39309:18;:41::i;:::-;39301:103;;;;-1:-1:-1;;;39301:103:0;;;;;;;:::i;:::-;39417:28;39427:4;39433:2;39437:7;39417:9;:28::i;64943:236::-;65155:7;;65061:16;;;;65134:4;;60470:5;;65142:20;;65155:7;;;65141:29;65155:7;65142:10;:20;:::i;:::-;65141:29;;;;:::i;:::-;65118:53;;;;64943:236;;;;;:::o;49619:256::-;49716:7;49752:23;49769:5;49752:16;:23::i;:::-;49744:5;:31;49736:87;;;;-1:-1:-1;;;49736:87:0;;8867:2:1;49736:87:0;;;8849:21:1;8906:2;8886:18;;;8879:30;8945:34;8925:18;;;8918:62;-1:-1:-1;;;8996:18:1;;;8989:41;9047:19;;49736:87:0;8665:407:1;49736:87:0;-1:-1:-1;;;;;;49841:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;49619:256::o;65185:193::-;14229:6;;-1:-1:-1;;;;;14229:6:0;12960:10;14376:23;14368:68;;;;-1:-1:-1;;;14368:68:0;;;;;;;:::i;:::-;65295:4:::1;65283:8;:16;;;;65258:81;;;::::0;-1:-1:-1;;;65258:81:0;;11994:2:1;65258:81:0::1;::::0;::::1;11976:21:1::0;12033:2;12013:18;;;12006:30;12072:34;12052:18;;;12045:62;-1:-1:-1;;;12123:18:1;;;12116:33;12166:19;;65258:81:0::1;11792:399:1::0;65258:81:0::1;65352:7;:18:::0;;::::1;::::0;;::::1;::::0;::::1;-1:-1:-1::0;;65352:18:0;;::::1;::::0;;;::::1;::::0;;65185:193::o;65384:114::-;14229:6;;-1:-1:-1;;;;;14229:6:0;12960:10;14376:23;14368:68;;;;-1:-1:-1;;;14368:68:0;;;;;;;:::i;:::-;65444:47:::1;::::0;65452:10:::1;::::0;65469:21:::1;65444:47:::0;::::1;;;::::0;::::1;::::0;;;65469:21;65452:10;65444:47;::::1;;;;;;65436:56;;;::::0;::::1;;65384:114::o:0;39524:185::-;39662:39;39679:4;39685:2;39689:7;39662:39;;;;;;;;;;;;:16;:39::i;62478:699::-;62568:14;;:32;;-1:-1:-1;;;62568:32:0;;;;;18798:25:1;;;62604:10:0;;-1:-1:-1;;;;;62568:14:0;;:22;;18771:18:1;;62568:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;62568:46:0;;62560:87;;;;-1:-1:-1;;;62560:87:0;;14000:2:1;62560:87:0;;;13982:21:1;14039:2;14019:18;;;14012:30;14078;14058:18;;;14051:58;14126:18;;62560:87:0;13798:352:1;62560:87:0;62675:26;62690:11;62675:12;:26;:::i;:::-;62662:9;:39;;62654:48;;;;;;62718:6;;;;62717:7;62709:16;;;;;;62754:1;62740:11;:15;62732:24;;;;;;62786:13;;62771:11;:28;;62763:37;;;;;;62865:29;;62850:11;62815:32;;:46;;;;:::i;:::-;:79;;62807:132;;;;-1:-1:-1;;;62807:132:0;;;;;;;:::i;:::-;62965:1;62948:136;62973:11;62968:1;:16;62948:136;;63000:76;63010:10;63074:1;63039:32;;63022:14;;:49;;;;:::i;:::-;:53;;;;:::i;:::-;63000:9;:76::i;:::-;62986:3;;;;:::i;:::-;;;;62948:136;;;;63160:11;63125:32;;:46;;;;:::i;:::-;63090:32;:81;-1:-1:-1;;62478:699:0:o;50141:233::-;50216:7;50252:30;50039:10;:17;;49951:113;50252:30;50244:5;:38;50236:95;;;;-1:-1:-1;;;50236:95:0;;17892:2:1;50236:95:0;;;17874:21:1;17931:2;17911:18;;;17904:30;17970:34;17950:18;;;17943:62;-1:-1:-1;;;18021:18:1;;;18014:42;18073:19;;50236:95:0;17690:408:1;50236:95:0;50349:10;50360:5;50349:17;;;;;;;;:::i;:::-;;;;;;;;;50342:24;;50141:233;;;:::o;64502:98::-;14229:6;;-1:-1:-1;;;;;14229:6:0;12960:10;14376:23;14368:68;;;;-1:-1:-1;;;14368:68:0;;;;;;;:::i;:::-;64573:21;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;:::-;;64502:98:::0;:::o;36499:239::-;36571:7;36607:16;;;:7;:16;;;;;;-1:-1:-1;;;;;36607:16:0;36642:19;36634:73;;;;-1:-1:-1;;;36634:73:0;;13234:2:1;36634:73:0;;;13216:21:1;13273:2;13253:18;;;13246:30;13312:34;13292:18;;;13285:62;-1:-1:-1;;;13363:18:1;;;13356:39;13412:19;;36634:73:0;13032:405:1;60048:21:0;;;;;;;:::i;36229:208::-;36301:7;-1:-1:-1;;;;;36329:19:0;;36321:74;;;;-1:-1:-1;;;36321:74:0;;12823:2:1;36321:74:0;;;12805:21:1;12862:2;12842:18;;;12835:30;12901:34;12881:18;;;12874:62;-1:-1:-1;;;12952:18:1;;;12945:40;13002:19;;36321:74:0;12621:406:1;36321:74:0;-1:-1:-1;;;;;;36413:16:0;;;;;:9;:16;;;;;;;36229:208::o;14807:103::-;14229:6;;-1:-1:-1;;;;;14229:6:0;12960:10;14376:23;14368:68;;;;-1:-1:-1;;;14368:68:0;;;;;;;:::i;:::-;14872:30:::1;14899:1;14872:18;:30::i;61777:695::-:0;61868:13;;:30;;-1:-1:-1;;;61868:30:0;;;;;18798:25:1;;;61902:10:0;;-1:-1:-1;;;;;61868:13:0;;:21;;18771:18:1;;61868:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;61868:44:0;;61860:84;;;;-1:-1:-1;;;61860:84:0;;13644:2:1;61860:84:0;;;13626:21:1;13683:2;13663:18;;;13656:30;13722:29;13702:18;;;13695:57;13769:18;;61860:84:0;13442:351:1;61860:84:0;61972:26;61987:11;61972:12;:26;:::i;:::-;61959:9;:39;;61951:48;;;;;;62015:6;;;;62014:7;62006:16;;;;;;62051:1;62037:11;:15;62029:24;;;;;;62083:13;;62068:11;:28;;62060:37;;;;;;62162:29;;62147:11;62112:32;;:46;;;;:::i;:::-;:79;;62104:132;;;;-1:-1:-1;;;62104:132:0;;;;;;;:::i;:::-;62262:1;62245:136;62270:11;62265:1;:16;62245:136;;62297:76;62307:10;62371:1;62336:32;;62319:14;;:49;;;;:::i;62297:76::-;62283:3;;;;:::i;:::-;;;;62245:136;;36974:104;37030:13;37063:7;37056:14;;;;;:::i;38657:155::-;38752:52;12960:10;38785:8;38795;38752:18;:52::i;64429:65::-;14229:6;;-1:-1:-1;;;;;14229:6:0;12960:10;14376:23;14368:68;;;;-1:-1:-1;;;14368:68:0;;;;;;;:::i;:::-;64473:8:::1;:15:::0;;-1:-1:-1;;64473:15:0::1;;;::::0;;64429:65::o;61508:263::-;61595:1;61585:7;:11;:29;;;;;61611:3;61600:7;:14;;61585:29;61577:58;;;;-1:-1:-1;;;61577:58:0;;15901:2:1;61577:58:0;;;15883:21:1;15940:2;15920:18;;;15913:30;-1:-1:-1;;;15959:18:1;;;15952:46;16015:18;;61577:58:0;15699:340:1;61577:58:0;61650:13;;:30;;-1:-1:-1;;;61650:30:0;;;;;18798:25:1;;;61684:10:0;;-1:-1:-1;;;;;61650:13:0;;:21;;18771:18:1;;61650:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;61650:44:0;;61642:84;;;;-1:-1:-1;;;61642:84:0;;18305:2:1;61642:84:0;;;18287:21:1;18344:2;18324:18;;;18317:30;18383:29;18363:18;;;18356:57;18430:18;;61642:84:0;18103:351:1;61642:84:0;61735:30;61745:10;61757:7;61735:9;:30::i;:::-;61508:263;:::o;39780:328::-;39955:41;12960:10;39988:7;39955:18;:41::i;:::-;39947:103;;;;-1:-1:-1;;;39947:103:0;;;;;;;:::i;:::-;40061:39;40075:4;40081:2;40085:7;40094:5;40061:13;:39::i;:::-;39780:328;;;;:::o;60074:37::-;;;;;;;:::i;63905:497::-;41683:4;41707:16;;;:7;:16;;;;;;64003:13;;-1:-1:-1;;;;;41707:16:0;64028:97;;;;-1:-1:-1;;;64028:97:0;;16656:2:1;64028:97:0;;;16638:21:1;16695:2;16675:18;;;16668:30;16734:34;16714:18;;;16707:62;-1:-1:-1;;;16785:18:1;;;16778:45;16840:19;;64028:97:0;16454:411:1;64028:97:0;64141:8;;;;;;;64138:62;;64178:14;64171:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63905:497;;;:::o;64138:62::-;64208:28;64239:10;:8;:10::i;:::-;64208:41;;64294:1;64269:14;64263:28;:32;:133;;;;;;;;;;;;;;;;;64331:14;64347:18;:7;:16;:18::i;:::-;64367:13;64314:67;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;64263:133;64256:140;63905:497;-1:-1:-1;;;63905:497:0:o;64606:122::-;14229:6;;-1:-1:-1;;;;;14229:6:0;12960:10;14376:23;14368:68;;;;-1:-1:-1;;;14368:68:0;;;;;;;:::i;:::-;64689:33;;::::1;::::0;:13:::1;::::0;:33:::1;::::0;::::1;::::0;::::1;:::i;63185:714::-:0;63281:17;;:38;;-1:-1:-1;;;63281:38:0;;;;;18798:25:1;;;63323:10:0;;-1:-1:-1;;;;;63281:17:0;;:25;;18771:18:1;;63281:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;63281:52:0;;63273:96;;;;-1:-1:-1;;;63273:96:0;;10462:2:1;63273:96:0;;;10444:21:1;10501:2;10481:18;;;10474:30;10540:33;10520:18;;;10513:61;10591:18;;63273:96:0;10260:355:1;63273:96:0;63397:26;63412:11;63397:12;:26;:::i;:::-;63384:9;:39;;63376:48;;;;;;63440:6;;;;63439:7;63431:16;;;;;;63476:1;63462:11;:15;63454:24;;;;;;63508:13;;63493:11;:28;;63485:37;;;;;;63587:29;;63572:11;63537:32;;:46;;;;:::i;:::-;:79;;63529:132;;;;-1:-1:-1;;;63529:132:0;;;;;;;:::i;:::-;63687:1;63670:136;63695:11;63690:1;:16;63670:136;;63722:76;63732:10;63796:1;63761:32;;63744:14;;:49;;;;:::i;63722:76::-;63708:3;;;;:::i;:::-;;;;63670:136;;64736:120;14229:6;;-1:-1:-1;;;;;14229:6:0;12960:10;14376:23;14368:68;;;;-1:-1:-1;;;14368:68:0;;;;;;;:::i;:::-;64818:32;;::::1;::::0;:14:::1;::::0;:32:::1;::::0;::::1;::::0;::::1;:::i;15065:201::-:0;14229:6;;-1:-1:-1;;;;;14229:6:0;12960:10;14376:23;14368:68;;;;-1:-1:-1;;;14368:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;15154:22:0;::::1;15146:73;;;::::0;-1:-1:-1;;;15146:73:0;;9698:2:1;15146:73:0::1;::::0;::::1;9680:21:1::0;9737:2;9717:18;;;9710:30;9776:34;9756:18;;;9749:62;-1:-1:-1;;;9827:18:1;;;9820:36;9873:19;;15146:73:0::1;9496:402:1::0;15146:73:0::1;15230:28;15249:8;15230:18;:28::i;35860:305::-:0;35962:4;-1:-1:-1;;;;;;35999:40:0;;-1:-1:-1;;;35999:40:0;;:105;;-1:-1:-1;;;;;;;36056:48:0;;-1:-1:-1;;;36056:48:0;35999:105;:158;;;-1:-1:-1;;;;;;;;;;27665:40:0;;;36121:36;27556:157;45600:174;45675:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;45675:29:0;-1:-1:-1;;;;;45675:29:0;;;;;;;;:24;;45729:23;45675:24;45729:14;:23::i;:::-;-1:-1:-1;;;;;45720:46:0;;;;;;;;;;;45600:174;;:::o;41912:348::-;42005:4;41707:16;;;:7;:16;;;;;;-1:-1:-1;;;;;41707:16:0;42022:73;;;;-1:-1:-1;;;42022:73:0;;11581:2:1;42022:73:0;;;11563:21:1;11620:2;11600:18;;;11593:30;11659:34;11639:18;;;11632:62;-1:-1:-1;;;11710:18:1;;;11703:42;11762:19;;42022:73:0;11379:408:1;42022:73:0;42106:13;42122:23;42137:7;42122:14;:23::i;:::-;42106:39;;42175:5;-1:-1:-1;;;;;42164:16:0;:7;-1:-1:-1;;;;;42164:16:0;;:51;;;;42208:7;-1:-1:-1;;;;;42184:31:0;:20;42196:7;42184:11;:20::i;:::-;-1:-1:-1;;;;;42184:31:0;;42164:51;:87;;;-1:-1:-1;;;;;;39004:25:0;;;38980:4;39004:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;42219:32;42156:96;41912:348;-1:-1:-1;;;;41912:348:0:o;44904:578::-;45063:4;-1:-1:-1;;;;;45036:31:0;:23;45051:7;45036:14;:23::i;:::-;-1:-1:-1;;;;;45036:31:0;;45028:85;;;;-1:-1:-1;;;45028:85:0;;16246:2:1;45028:85:0;;;16228:21:1;16285:2;16265:18;;;16258:30;16324:34;16304:18;;;16297:62;-1:-1:-1;;;16375:18:1;;;16368:39;16424:19;;45028:85:0;16044:405:1;45028:85:0;-1:-1:-1;;;;;45132:16:0;;45124:65;;;;-1:-1:-1;;;45124:65:0;;10822:2:1;45124:65:0;;;10804:21:1;10861:2;10841:18;;;10834:30;10900:34;10880:18;;;10873:62;-1:-1:-1;;;10951:18:1;;;10944:34;10995:19;;45124:65:0;10620:400:1;45124:65:0;45202:39;45223:4;45229:2;45233:7;45202:20;:39::i;:::-;45306:29;45323:1;45327:7;45306:8;:29::i;:::-;-1:-1:-1;;;;;45348:15:0;;;;;;:9;:15;;;;;:20;;45367:1;;45348:15;:20;;45367:1;;45348:20;:::i;:::-;;;;-1:-1:-1;;;;;;;45379:13:0;;;;;;:9;:13;;;;;:18;;45396:1;;45379:13;:18;;45396:1;;45379:18;:::i;:::-;;;;-1:-1:-1;;45408:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;45408:21:0;-1:-1:-1;;;;;45408:21:0;;;;;;;;;45447:27;;45408:16;;45447:27;;;;;;;44904:578;;;:::o;42602:110::-;42678:26;42688:2;42692:7;42678:26;;;;;;;;;;;;:9;:26::i;15426:191::-;15519:6;;;-1:-1:-1;;;;;15536:17:0;;;-1:-1:-1;;;;;;15536:17:0;;;;;;;15569:40;;15519:6;;;15536:17;15519:6;;15569:40;;15500:16;;15569:40;15489:128;15426:191;:::o;45916:315::-;46071:8;-1:-1:-1;;;;;46062:17:0;:5;-1:-1:-1;;;;;46062:17:0;;;46054:55;;;;-1:-1:-1;;;46054:55:0;;11227:2:1;46054:55:0;;;11209:21:1;11266:2;11246:18;;;11239:30;11305:27;11285:18;;;11278:55;11350:18;;46054:55:0;11025:349:1;46054:55:0;-1:-1:-1;;;;;46120:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;46120:46:0;;;;;;;;;;46182:41;;8389::1;;;46182::0;;8362:18:1;46182:41:0;;;;;;;45916:315;;;:::o;40990:::-;41147:28;41157:4;41163:2;41167:7;41147:9;:28::i;:::-;41194:48;41217:4;41223:2;41227:7;41236:5;41194:22;:48::i;:::-;41186:111;;;;-1:-1:-1;;;41186:111:0;;;;;;;:::i;61400:102::-;61460:13;61489:7;61482:14;;;;;:::i;10442:723::-;10498:13;10719:10;10715:53;;-1:-1:-1;;10746:10:0;;;;;;;;;;;;-1:-1:-1;;;10746:10:0;;;;;10442:723::o;10715:53::-;10793:5;10778:12;10834:78;10841:9;;10834:78;;10867:8;;;;:::i;:::-;;-1:-1:-1;10890:10:0;;-1:-1:-1;10898:2:0;10890:10;;:::i;:::-;;;10834:78;;;10922:19;10954:6;10944:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10944:17:0;;10922:39;;10972:154;10979:10;;10972:154;;11006:11;11016:1;11006:11;;:::i;:::-;;-1:-1:-1;11075:10:0;11083:2;11075:5;:10;:::i;:::-;11062:24;;:2;:24;:::i;:::-;11049:39;;11032:6;11039;11032:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;11032:56:0;;;;;;;;-1:-1:-1;11103:11:0;11112:2;11103:11;;:::i;:::-;;;10972:154;;50987:589;-1:-1:-1;;;;;51193:18:0;;51189:187;;51228:40;51260:7;52403:10;:17;;52376:24;;;;:15;:24;;;;;:44;;;52431:24;;;;;;;;;;;;52299:164;51228:40;51189:187;;;51298:2;-1:-1:-1;;;;;51290:10:0;:4;-1:-1:-1;;;;;51290:10:0;;51286:90;;51317:47;51350:4;51356:7;51317:32;:47::i;:::-;-1:-1:-1;;;;;51390:16:0;;51386:183;;51423:45;51460:7;51423:36;:45::i;51386:183::-;51496:4;-1:-1:-1;;;;;51490:10:0;:2;-1:-1:-1;;;;;51490:10:0;;51486:83;;51517:40;51545:2;51549:7;51517:27;:40::i;42939:321::-;43069:18;43075:2;43079:7;43069:5;:18::i;:::-;43120:54;43151:1;43155:2;43159:7;43168:5;43120:22;:54::i;:::-;43098:154;;;;-1:-1:-1;;;43098:154:0;;;;;;;:::i;46796:799::-;46951:4;-1:-1:-1;;;;;46972:13:0;;16767:20;16815:8;46968:620;;47008:72;;-1:-1:-1;;;47008:72:0;;-1:-1:-1;;;;;47008:36:0;;;;;:72;;12960:10;;47059:4;;47065:7;;47074:5;;47008:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47008:72:0;;;;;;;;-1:-1:-1;;47008:72:0;;;;;;;;;;;;:::i;:::-;;;47004:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47250:13:0;;47246:272;;47293:60;;-1:-1:-1;;;47293:60:0;;;;;;;:::i;47246:272::-;47468:6;47462:13;47453:6;47449:2;47445:15;47438:38;47004:529;-1:-1:-1;;;;;;47131:51:0;-1:-1:-1;;;47131:51:0;;-1:-1:-1;47124:58:0;;46968:620;-1:-1:-1;47572:4:0;46796:799;;;;;;:::o;53090:988::-;53356:22;53406:1;53381:22;53398:4;53381:16;:22::i;:::-;:26;;;;:::i;:::-;53418:18;53439:26;;;:17;:26;;;;;;53356:51;;-1:-1:-1;53572:28:0;;;53568:328;;-1:-1:-1;;;;;53639:18:0;;53617:19;53639:18;;;:12;:18;;;;;;;;:34;;;;;;;;;53690:30;;;;;;:44;;;53807:30;;:17;:30;;;;;:43;;;53568:328;-1:-1:-1;53992:26:0;;;;:17;:26;;;;;;;;53985:33;;;-1:-1:-1;;;;;54036:18:0;;;;;:12;:18;;;;;:34;;;;;;;54029:41;53090:988::o;54373:1079::-;54651:10;:17;54626:22;;54651:21;;54671:1;;54651:21;:::i;:::-;54683:18;54704:24;;;:15;:24;;;;;;55077:10;:26;;54626:46;;-1:-1:-1;54704:24:0;;54626:46;;55077:26;;;;;;:::i;:::-;;;;;;;;;55055:48;;55141:11;55116:10;55127;55116:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;55221:28;;;:15;:28;;;;;;;:41;;;55393:24;;;;;55386:31;55428:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;54444:1008;;;54373:1079;:::o;51877:221::-;51962:14;51979:20;51996:2;51979:16;:20::i;:::-;-1:-1:-1;;;;;52010:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;52055:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;51877:221:0:o;43596:382::-;-1:-1:-1;;;;;43676:16:0;;43668:61;;;;-1:-1:-1;;;43668:61:0;;14357:2:1;43668:61:0;;;14339:21:1;;;14376:18;;;14369:30;14435:34;14415:18;;;14408:62;14487:18;;43668:61:0;14155:356:1;43668:61:0;41683:4;41707:16;;;:7;:16;;;;;;-1:-1:-1;;;;;41707:16:0;:30;43740:58;;;;-1:-1:-1;;;43740:58:0;;10105:2:1;43740:58:0;;;10087:21:1;10144:2;10124:18;;;10117:30;10183;10163:18;;;10156:58;10231:18;;43740:58:0;9903:352:1;43740:58:0;43811:45;43840:1;43844:2;43848:7;43811:20;:45::i;:::-;-1:-1:-1;;;;;43869:13:0;;;;;;:9;:13;;;;;:18;;43886:1;;43869:13;:18;;43886:1;;43869:18;:::i;:::-;;;;-1:-1:-1;;43898:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;43898:21:0;-1:-1:-1;;;;;43898:21:0;;;;;;;;43937:33;;43898:16;;;43937:33;;43898:16;;43937:33;43596:382;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:160::-;715:20;;771:13;;764:21;754:32;;744:60;;800:1;797;790:12;744:60;650:160;;;:::o;815:247::-;874:6;927:2;915:9;906:7;902:23;898:32;895:52;;;943:1;940;933:12;895:52;982:9;969:23;1001:31;1026:5;1001:31;:::i;1067:251::-;1137:6;1190:2;1178:9;1169:7;1165:23;1161:32;1158:52;;;1206:1;1203;1196:12;1158:52;1238:9;1232:16;1257:31;1282:5;1257:31;:::i;1323:388::-;1391:6;1399;1452:2;1440:9;1431:7;1427:23;1423:32;1420:52;;;1468:1;1465;1458:12;1420:52;1507:9;1494:23;1526:31;1551:5;1526:31;:::i;:::-;1576:5;-1:-1:-1;1633:2:1;1618:18;;1605:32;1646:33;1605:32;1646:33;:::i;:::-;1698:7;1688:17;;;1323:388;;;;;:::o;1716:456::-;1793:6;1801;1809;1862:2;1850:9;1841:7;1837:23;1833:32;1830:52;;;1878:1;1875;1868:12;1830:52;1917:9;1904:23;1936:31;1961:5;1936:31;:::i;:::-;1986:5;-1:-1:-1;2043:2:1;2028:18;;2015:32;2056:33;2015:32;2056:33;:::i;:::-;1716:456;;2108:7;;-1:-1:-1;;;2162:2:1;2147:18;;;;2134:32;;1716:456::o;2177:794::-;2272:6;2280;2288;2296;2349:3;2337:9;2328:7;2324:23;2320:33;2317:53;;;2366:1;2363;2356:12;2317:53;2405:9;2392:23;2424:31;2449:5;2424:31;:::i;:::-;2474:5;-1:-1:-1;2531:2:1;2516:18;;2503:32;2544:33;2503:32;2544:33;:::i;:::-;2596:7;-1:-1:-1;2650:2:1;2635:18;;2622:32;;-1:-1:-1;2705:2:1;2690:18;;2677:32;2732:18;2721:30;;2718:50;;;2764:1;2761;2754:12;2718:50;2787:22;;2840:4;2832:13;;2828:27;-1:-1:-1;2818:55:1;;2869:1;2866;2859:12;2818:55;2892:73;2957:7;2952:2;2939:16;2934:2;2930;2926:11;2892:73;:::i;:::-;2882:83;;;2177:794;;;;;;;:::o;2976:315::-;3041:6;3049;3102:2;3090:9;3081:7;3077:23;3073:32;3070:52;;;3118:1;3115;3108:12;3070:52;3157:9;3144:23;3176:31;3201:5;3176:31;:::i;:::-;3226:5;-1:-1:-1;3250:35:1;3281:2;3266:18;;3250:35;:::i;:::-;3240:45;;2976:315;;;;;:::o;3296:::-;3364:6;3372;3425:2;3413:9;3404:7;3400:23;3396:32;3393:52;;;3441:1;3438;3431:12;3393:52;3480:9;3467:23;3499:31;3524:5;3499:31;:::i;:::-;3549:5;3601:2;3586:18;;;;3573:32;;-1:-1:-1;;;3296:315:1:o;3616:180::-;3672:6;3725:2;3713:9;3704:7;3700:23;3696:32;3693:52;;;3741:1;3738;3731:12;3693:52;3764:26;3780:9;3764:26;:::i;3801:245::-;3859:6;3912:2;3900:9;3891:7;3887:23;3883:32;3880:52;;;3928:1;3925;3918:12;3880:52;3967:9;3954:23;3986:30;4010:5;3986:30;:::i;4051:249::-;4120:6;4173:2;4161:9;4152:7;4148:23;4144:32;4141:52;;;4189:1;4186;4179:12;4141:52;4221:9;4215:16;4240:30;4264:5;4240:30;:::i;4305:450::-;4374:6;4427:2;4415:9;4406:7;4402:23;4398:32;4395:52;;;4443:1;4440;4433:12;4395:52;4483:9;4470:23;4516:18;4508:6;4505:30;4502:50;;;4548:1;4545;4538:12;4502:50;4571:22;;4624:4;4616:13;;4612:27;-1:-1:-1;4602:55:1;;4653:1;4650;4643:12;4602:55;4676:73;4741:7;4736:2;4723:16;4718:2;4714;4710:11;4676:73;:::i;4760:272::-;4818:6;4871:2;4859:9;4850:7;4846:23;4842:32;4839:52;;;4887:1;4884;4877:12;4839:52;4926:9;4913:23;4976:6;4969:5;4965:18;4958:5;4955:29;4945:57;;4998:1;4995;4988:12;5037:180;5096:6;5149:2;5137:9;5128:7;5124:23;5120:32;5117:52;;;5165:1;5162;5155:12;5117:52;-1:-1:-1;5188:23:1;;5037:180;-1:-1:-1;5037:180:1:o;5222:248::-;5290:6;5298;5351:2;5339:9;5330:7;5326:23;5322:32;5319:52;;;5367:1;5364;5357:12;5319:52;-1:-1:-1;;5390:23:1;;;5460:2;5445:18;;;5432:32;;-1:-1:-1;5222:248:1:o;5475:257::-;5516:3;5554:5;5548:12;5581:6;5576:3;5569:19;5597:63;5653:6;5646:4;5641:3;5637:14;5630:4;5623:5;5619:16;5597:63;:::i;:::-;5714:2;5693:15;-1:-1:-1;;5689:29:1;5680:39;;;;5721:4;5676:50;;5475:257;-1:-1:-1;;5475:257:1:o;5737:1527::-;5961:3;5999:6;5993:13;6025:4;6038:51;6082:6;6077:3;6072:2;6064:6;6060:15;6038:51;:::i;:::-;6152:13;;6111:16;;;;6174:55;6152:13;6111:16;6196:15;;;6174:55;:::i;:::-;6318:13;;6251:20;;;6291:1;;6378;6400:18;;;;6453;;;;6480:93;;6558:4;6548:8;6544:19;6532:31;;6480:93;6621:2;6611:8;6608:16;6588:18;6585:40;6582:167;;;-1:-1:-1;;;6648:33:1;;6704:4;6701:1;6694:15;6734:4;6655:3;6722:17;6582:167;6765:18;6792:110;;;;6916:1;6911:328;;;;6758:481;;6792:110;-1:-1:-1;;6827:24:1;;6813:39;;6872:20;;;;-1:-1:-1;6792:110:1;;6911:328;18907:1;18900:14;;;18944:4;18931:18;;7006:1;7020:169;7034:8;7031:1;7028:15;7020:169;;;7116:14;;7101:13;;;7094:37;7159:16;;;;7051:10;;7020:169;;;7024:3;;7220:8;7213:5;7209:20;7202:27;;6758:481;-1:-1:-1;7255:3:1;;5737:1527;-1:-1:-1;;;;;;;;;;;5737:1527:1:o;7477:488::-;-1:-1:-1;;;;;7746:15:1;;;7728:34;;7798:15;;7793:2;7778:18;;7771:43;7845:2;7830:18;;7823:34;;;7893:3;7888:2;7873:18;;7866:31;;;7671:4;;7914:45;;7939:19;;7931:6;7914:45;:::i;:::-;7906:53;7477:488;-1:-1:-1;;;;;;7477:488:1:o;8441:219::-;8590:2;8579:9;8572:21;8553:4;8610:44;8650:2;8639:9;8635:18;8627:6;8610:44;:::i;9077:414::-;9279:2;9261:21;;;9318:2;9298:18;;;9291:30;9357:34;9352:2;9337:18;;9330:62;-1:-1:-1;;;9423:2:1;9408:18;;9401:48;9481:3;9466:19;;9077:414::o;14516:404::-;14718:2;14700:21;;;14757:2;14737:18;;;14730:30;14796:34;14791:2;14776:18;;14769:62;-1:-1:-1;;;14862:2:1;14847:18;;14840:38;14910:3;14895:19;;14516:404::o;15338:356::-;15540:2;15522:21;;;15559:18;;;15552:30;15618:34;15613:2;15598:18;;15591:62;15685:2;15670:18;;15338:356::o;17272:413::-;17474:2;17456:21;;;17513:2;17493:18;;;17486:30;17552:34;17547:2;17532:18;;17525:62;-1:-1:-1;;;17618:2:1;17603:18;;17596:47;17675:3;17660:19;;17272:413::o;18960:128::-;19000:3;19031:1;19027:6;19024:1;19021:13;19018:39;;;19037:18;;:::i;:::-;-1:-1:-1;19073:9:1;;18960:128::o;19093:120::-;19133:1;19159;19149:35;;19164:18;;:::i;:::-;-1:-1:-1;19198:9:1;;19093:120::o;19218:168::-;19258:7;19324:1;19320;19316:6;19312:14;19309:1;19306:21;19301:1;19294:9;19287:17;19283:45;19280:71;;;19331:18;;:::i;:::-;-1:-1:-1;19371:9:1;;19218:168::o;19391:125::-;19431:4;19459:1;19456;19453:8;19450:34;;;19464:18;;:::i;:::-;-1:-1:-1;19501:9:1;;19391:125::o;19521:258::-;19593:1;19603:113;19617:6;19614:1;19611:13;19603:113;;;19693:11;;;19687:18;19674:11;;;19667:39;19639:2;19632:10;19603:113;;;19734:6;19731:1;19728:13;19725:48;;;-1:-1:-1;;19769:1:1;19751:16;;19744:27;19521:258::o;19784:380::-;19863:1;19859:12;;;;19906;;;19927:61;;19981:4;19973:6;19969:17;19959:27;;19927:61;20034:2;20026:6;20023:14;20003:18;20000:38;19997:161;;;20080:10;20075:3;20071:20;20068:1;20061:31;20115:4;20112:1;20105:15;20143:4;20140:1;20133:15;19997:161;;19784:380;;;:::o;20169:135::-;20208:3;-1:-1:-1;;20229:17:1;;20226:43;;;20249:18;;:::i;:::-;-1:-1:-1;20296:1:1;20285:13;;20169:135::o;20309:112::-;20341:1;20367;20357:35;;20372:18;;:::i;:::-;-1:-1:-1;20406:9:1;;20309:112::o;20426:127::-;20487:10;20482:3;20478:20;20475:1;20468:31;20518:4;20515:1;20508:15;20542:4;20539:1;20532:15;20558:127;20619:10;20614:3;20610:20;20607:1;20600:31;20650:4;20647:1;20640:15;20674:4;20671:1;20664:15;20690:127;20751:10;20746:3;20742:20;20739:1;20732:31;20782:4;20779:1;20772:15;20806:4;20803:1;20796:15;20822:127;20883:10;20878:3;20874:20;20871:1;20864:31;20914:4;20911:1;20904:15;20938:4;20935:1;20928:15;20954:127;21015:10;21010:3;21006:20;21003:1;20996:31;21046:4;21043:1;21036:15;21070:4;21067:1;21060:15;21086:131;-1:-1:-1;;;;;21161:31:1;;21151:42;;21141:70;;21207:1;21204;21197:12;21222:131;-1:-1:-1;;;;;;21296:32:1;;21286:43;;21276:71;;21343:1;21340;21333:12

Swarm Source

ipfs://f7ac181dfed62cbc0b1f5551734b16258500d244376c396acdd662ee49a70fcb
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.