ETH Price: $3,360.34 (-0.21%)

Token

Alternate Ending Beer Co. presents "Drink... (AEDYP)
 

Overview

Max Total Supply

114 AEDYP

Holders

56

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 AEDYP
0x048e9105902a30af525d219f3abfa7e84b8a3c39
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:
AlternateEnding

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
byzantium EvmVersion
File 1 of 16 : AlternateEnding.sol
// SPDX-License-Identifier: AGPL-3.0

pragma solidity ^0.8.0;

import "openzeppelin-solidity/contracts/token/ERC721/ERC721.sol";
import "openzeppelin-solidity/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "openzeppelin-solidity/contracts/access/Ownable.sol";
import "openzeppelin-solidity/contracts/security/ReentrancyGuard.sol";
import "openzeppelin-solidity/contracts/utils/Address.sol";
import "openzeppelin-solidity/contracts/utils/math/SafeMath.sol";
import "./opensea/ProxyRegistry.sol";

contract AlternateEnding is ERC721Enumerable, Ownable, ReentrancyGuard {
    using SafeMath for uint256;
    using Address for address;
    using Address for address payable;

    uint256 public PRICE;
    uint256 public MAX_TOTAL_MINT;

    // Fair distribution, thundering-herd mitigation and gas-wars prevention
    uint256 public MAX_TOTAL_MINT_PER_ADDRESS;
    uint256 public MAX_ALLOWED_GAS_FEE;

    bool public isPreSaleActive;
    uint256 public _publicSaleTime = 0;
    bool public isPurchaseEnabled;
    string private _contractURI;
    string private _placeholderURI;
    string private _baseTokenURI;
    address private _openSeaProxyRegistryAddress;

    uint256 private _currentTokenId = 0;
    address[] _payees;
    uint256[] _shares;
    uint256 _totalShares;

    mapping(address => bool) private _preSaleAllowList;

    constructor(
        string memory name,
        string memory symbol,
        uint256 price,
        uint256 maxTotalMint,
        address openSeaProxyRegistryAddress,
        uint256 publicSaleTime,
        bool purchaseEnabled,
        bool presaleActive,
        uint256 maxTotalMintPerAddress
    ) ERC721(name, symbol) {
        PRICE = price;
        MAX_TOTAL_MINT = maxTotalMint;
        MAX_ALLOWED_GAS_FEE = 0;

        _openSeaProxyRegistryAddress = openSeaProxyRegistryAddress;

        _publicSaleTime = publicSaleTime;
        isPurchaseEnabled = purchaseEnabled;
        isPreSaleActive = presaleActive;
        MAX_TOTAL_MINT_PER_ADDRESS = maxTotalMintPerAddress;
    }

    function setSaleInformation(
      uint256 publicSaleTime, bool purchaseEnabled, bool presaleActive,
      uint256 maxTotalMintPerAddress
    ) external onlyOwner {
      _publicSaleTime = publicSaleTime;
      isPurchaseEnabled = purchaseEnabled;
      isPreSaleActive = presaleActive;
      MAX_TOTAL_MINT_PER_ADDRESS = maxTotalMintPerAddress;
    }

    function setPayoutInformation(
      address[] calldata payees, uint256[] calldata shares
    ) external onlyOwner {
      require(payees.length == shares.length, "Withdraw: payees and shares length mismatch");

      _totalShares = 0;
      for (uint256 i = 0; i < shares.length; i++) {
        _totalShares += shares[i];
      }

      _payees = payees;
      _shares = shares;
    }

    function setPublicSaleTime(uint256 publicSaleTime) external onlyOwner {
      _publicSaleTime = publicSaleTime;
    }

    function togglePreSale(bool isActive) external onlyOwner {
        isPreSaleActive = isActive;
    }

    function togglePurchaseEnabled(bool isActive) external onlyOwner {
        isPurchaseEnabled = isActive;
    }

    function setBaseURI(string memory baseURI) external onlyOwner {
        _baseTokenURI = baseURI;
    }

    function setPlaceholderURI(string memory placeholderURI) external onlyOwner {
        _placeholderURI = placeholderURI;
    }

    function setContractURI(string memory uri) external onlyOwner {
        _contractURI = uri;
    }

    function setMaxAllowedGasFee(uint256 maxFeeGwei) external onlyOwner {
        MAX_ALLOWED_GAS_FEE = maxFeeGwei;
    }

    function setOpenSeaProxyRegistryAddress(address addr) external onlyOwner {
      _openSeaProxyRegistryAddress = addr;
    }

    function withdraw() external onlyOwner {
      require(_payees.length > 0, "Withdraw: no payees");

      uint256 currentBalance = address(this).balance;
      for (uint256 i = 0; i < _payees.length; i++) {
        payable(_payees[i]).transfer(currentBalance * _shares[i] / _totalShares);
      }
    }

    function contractURI() public view returns (string memory) {
      return _contractURI;
    }

    function tokenURI(uint256 _tokenId) override public view returns (string memory) {
      return bytes(_baseTokenURI).length > 0 ? string(abi.encodePacked(_baseTokenURI, Strings.toString(_tokenId))) : _placeholderURI;
    }

    /**
     * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings.
     */
    function isApprovedForAll(address owner, address operator)
    override
    public
    view
    returns (bool)
    {
      // Whitelist OpenSea proxy contract for easy trading.
      ProxyRegistry proxyRegistry = ProxyRegistry(_openSeaProxyRegistryAddress);
      if (address(proxyRegistry.proxies(owner)) == operator) {
        return true;
      }

      return super.isApprovedForAll(owner, operator);
    }

    function addToPreSaleAllowList(address[] calldata addresses) external onlyOwner {
      for (uint256 i = 0; i < addresses.length; i++) {
        require(addresses[i] != address(0), "Can't add the null address");

        _preSaleAllowList[addresses[i]] = true;
      }
    }

    function onPreSaleAllowList(address addr) external view returns (bool) {
      return _preSaleAllowList[addr];
    }

    function mint(address to, uint256 count) external nonReentrant onlyOwner {
      // Make sure minting is allowed
      requireMintingConditions(to, count);

      for (uint256 i = 0; i < count; i++) {
        uint256 newTokenId = _getNextTokenId();
        _safeMint(to, newTokenId);
        _incrementTokenId();
      }
    }

    /**
     * Accepts required payment and mints a specified number of tokens to an address.
     * This method also checks if direct purchase is enabled.
     */
    function purchase(uint256 count) public payable nonReentrant {
      require(!msg.sender.isContract(), 'BASE_COLLECTION/CONTRACT_CANNOT_CALL');
      requireMintingConditions(msg.sender, count);

      require(isPurchaseEnabled, 'BASE_COLLECTION/PURCHASE_DISABLED');

      require(
        (_publicSaleTime != 0 && _publicSaleTime < block.timestamp) || (isPreSaleActive && _preSaleAllowList[msg.sender]),
        "BASE_COLLECTION/CANNOT_MINT"
      );

      // Sent value matches required ETH amount
      require(PRICE * count <= msg.value, 'BASE_COLLECTION/INSUFFICIENT_ETH_AMOUNT');

      for (uint256 i = 0; i < count; i++) {
        uint256 newTokenId = _getNextTokenId();
        _safeMint(msg.sender, newTokenId);
        _incrementTokenId();
      }
    }

    function transferFromBulk(
        address from,
        address to,
        uint256[] memory tokenIds
    ) public virtual {
        for (uint256 i = 0; i < tokenIds.length; i++) {
          //solhint-disable-next-line max-line-length
          require(_isApprovedOrOwner(_msgSender(), tokenIds[i]), "ERC721: transfer caller is not owner nor approved");
          _transfer(from, to, tokenIds[i]);
        }
    }

    function requireMintingConditions(address to, uint256 count) internal view {
      require(totalSupply() + count <= MAX_TOTAL_MINT, "BASE_COLLECTION/EXCEEDS_MAX_SUPPLY");

      uint totalMintFromAddress = balanceOf(to) + count;
      require (totalMintFromAddress <= MAX_TOTAL_MINT_PER_ADDRESS, "BASE_COLLECTION/EXCEEDS_INDIVIDUAL_SUPPLY");

      if (MAX_ALLOWED_GAS_FEE > 0)
          require(tx.gasprice < MAX_ALLOWED_GAS_FEE * 1000000000, "BASE_COLLECTION/GAS_FEE_NOT_ALLOWED");
    }

    function _getNextTokenId() private view returns (uint256) {
        return _currentTokenId.add(1);
    }

    function _incrementTokenId() private {
        _currentTokenId++;
    }
}

File 2 of 16 : ProxyRegistry.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

contract OwnableDelegateProxy {}

contract ProxyRegistry {
  mapping(address => OwnableDelegateProxy) public proxies;
}

File 3 of 16 : SafeMath.sol
// SPDX-License-Identifier: MIT

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 no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

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

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

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

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

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

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

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

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

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

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

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

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

File 4 of 16 : IERC165.sol
// SPDX-License-Identifier: MIT

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 5 of 16 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 6 of 16 : Strings.sol
// SPDX-License-Identifier: MIT

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 7 of 16 : Context.sol
// SPDX-License-Identifier: MIT

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 8 of 16 : Address.sol
// SPDX-License-Identifier: MIT

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 9 of 16 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 10 of 16 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 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 11 of 16 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 12 of 16 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

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 13 of 16 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 14 of 16 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //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 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 15 of 16 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 16 of 16 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"maxTotalMint","type":"uint256"},{"internalType":"address","name":"openSeaProxyRegistryAddress","type":"address"},{"internalType":"uint256","name":"publicSaleTime","type":"uint256"},{"internalType":"bool","name":"purchaseEnabled","type":"bool"},{"internalType":"bool","name":"presaleActive","type":"bool"},{"internalType":"uint256","name":"maxTotalMintPerAddress","type":"uint256"}],"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":"MAX_ALLOWED_GAS_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOTAL_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOTAL_MINT_PER_ADDRESS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_publicSaleTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"addToPreSaleAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"isPreSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPurchaseEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"onPreSaleAllowList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"uint256","name":"count","type":"uint256"}],"name":"purchase","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxFeeGwei","type":"uint256"}],"name":"setMaxAllowedGasFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"setOpenSeaProxyRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"payees","type":"address[]"},{"internalType":"uint256[]","name":"shares","type":"uint256[]"}],"name":"setPayoutInformation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"placeholderURI","type":"string"}],"name":"setPlaceholderURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"publicSaleTime","type":"uint256"}],"name":"setPublicSaleTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"publicSaleTime","type":"uint256"},{"internalType":"bool","name":"purchaseEnabled","type":"bool"},{"internalType":"bool","name":"presaleActive","type":"bool"},{"internalType":"uint256","name":"maxTotalMintPerAddress","type":"uint256"}],"name":"setSaleInformation","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":"bool","name":"isActive","type":"bool"}],"name":"togglePreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isActive","type":"bool"}],"name":"togglePurchaseEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"transferFromBulk","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600060115560006017553480156200001b57600080fd5b5060405162003646380380620036468339810160408190526200003e91620002fc565b885189908990620000579060009060208501906200015a565b5080516200006d9060019060208401906200015a565b5050506200009c6200008d62000104640100000000026401000000009004565b64010000000062000108810204565b6001600b55600c96909655600d949094556000600f5560168054600160a060020a03909416600160a060020a0319909416939093179092556011556012805491151560ff199283161790556010805492151592909116919091179055600e55506200042c9050565b3390565b600a8054600160a060020a03838116600160a060020a0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200016890620003d6565b90600052602060002090601f0160209004810192826200018c5760008555620001d7565b82601f10620001a757805160ff1916838001178555620001d7565b82800160010185558215620001d7579182015b82811115620001d7578251825591602001919060010190620001ba565b50620001e5929150620001e9565b5090565b5b80821115620001e55760008155600101620001ea565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f8301126200024157600080fd5b81516001604060020a03808211156200025e576200025e62000200565b604051601f8301601f19908116603f0116810190828211818310171562000289576200028962000200565b81604052838152602092508683858801011115620002a657600080fd5b600091505b83821015620002ca5785820183015181830184015290820190620002ab565b83821115620002dc5760008385830101525b9695505050505050565b80518015158114620002f757600080fd5b919050565b60008060008060008060008060006101208a8c0312156200031c57600080fd5b89516001604060020a03808211156200033457600080fd5b620003428d838e016200022f565b9a5060208c01519150808211156200035957600080fd5b50620003688c828d016200022f565b60408c015160608d015160808e0151929b5090995097509050600160a060020a03811681146200039757600080fd5b60a08b01519095509350620003af60c08b01620002e6565b9250620003bf60e08b01620002e6565b91506101008a015190509295985092959850929598565b600281046001821680620003eb57607f821691505b6020821081141562000426577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b61320a806200043c6000396000f3fe608060405260043610610279576000357c0100000000000000000000000000000000000000000000000000000000900480636352211e11610161578063b85ef036116100d3578063e8a3d48511610097578063e8a3d48514610706578063e985e9c51461071b578063efef39a11461073b578063f02b18601461074e578063f1ace7191461076e578063f2fde38b1461078e57600080fd5b8063b85ef0361461067a578063b88d4fde14610690578063c87b56dd146106b0578063cf9e8e69146106d0578063d35ea456146106e657600080fd5b80638d859f3e116101255780638d859f3e146105d75780638da5cb5b146105ed578063938e3d7b1461060b57806395d89b411461062b5780639d044ed314610640578063a22cb4651461065a57600080fd5b80636352211e1461054c57806366cfb1f31461056c5780636a8db7eb1461058257806370a08231146105a2578063715018a6146105c257600080fd5b806327ae2b79116101fa5780633ccfd60b116101be5780633ccfd60b1461049d57806340c10f19146104b257806342842e0e146104d25780634f6ccce7146104f257806355f804b3146105125780635f14b71a1461053257600080fd5b806327ae2b79146103e45780632f745c591461040457806331b56fe6146104245780633574a2dd146104445780633b5f21881461046457600080fd5b8063095ea7b311610241578063095ea7b31461034f57806311b7e5e71461036f57806318160ddd1461038f57806323b872dd146103ae5780632439ee56146103ce57600080fd5b806301ffc9a71461027e578063059fb6f7146102b357806306fdde03146102d5578063081812fc146102f757806308abf0261461032f575b600080fd5b34801561028a57600080fd5b5061029e610299366004612924565b6107ae565b60405190151581526020015b60405180910390f35b3480156102bf57600080fd5b506102d36102ce3660046129a0565b6107f2565b005b3480156102e157600080fd5b506102ea610885565b6040516102aa9190612ac4565b34801561030357600080fd5b50610317610312366004612ad7565b610917565b604051600160a060020a0390911681526020016102aa565b34801561033b57600080fd5b506102d361034a366004612af0565b6109c0565b34801561035b57600080fd5b506102d361036a366004612b0d565b610a1c565b34801561037b57600080fd5b506102d361038a366004612ad7565b610b54565b34801561039b57600080fd5b506008545b6040519081526020016102aa565b3480156103ba57600080fd5b506102d36103c9366004612b39565b610b86565b3480156103da57600080fd5b506103a0600f5481565b3480156103f057600080fd5b506102d36103ff366004612ad7565b610bba565b34801561041057600080fd5b506103a061041f366004612b0d565b610bec565b34801561043057600080fd5b506102d361043f366004612bc5565b610c97565b34801561045057600080fd5b506102d361045f366004612c89565b610daf565b34801561047057600080fd5b5061029e61047f366004612af0565b600160a060020a03166000908152601b602052604090205460ff1690565b3480156104a957600080fd5b506102d3610df3565b3480156104be57600080fd5b506102d36104cd366004612b0d565b610f2f565b3480156104de57600080fd5b506102d36104ed366004612b39565b611007565b3480156104fe57600080fd5b506103a061050d366004612ad7565b611022565b34801561051e57600080fd5b506102d361052d366004612c89565b6110c9565b34801561053e57600080fd5b5060125461029e9060ff1681565b34801561055857600080fd5b50610317610567366004612ad7565b611109565b34801561057857600080fd5b506103a0600e5481565b34801561058e57600080fd5b506102d361059d366004612cd2565b611197565b3480156105ae57600080fd5b506103a06105bd366004612af0565b6112b9565b3480156105ce57600080fd5b506102d3611356565b3480156105e357600080fd5b506103a0600c5481565b3480156105f957600080fd5b50600a54600160a060020a0316610317565b34801561061757600080fd5b506102d3610626366004612c89565b61138f565b34801561063757600080fd5b506102ea6113cf565b34801561064c57600080fd5b5060105461029e9060ff1681565b34801561066657600080fd5b506102d3610675366004612d29565b6113de565b34801561068657600080fd5b506103a060115481565b34801561069c57600080fd5b506102d36106ab366004612d5e565b6114a6565b3480156106bc57600080fd5b506102ea6106cb366004612ad7565b6114db565b3480156106dc57600080fd5b506103a0600d5481565b3480156106f257600080fd5b506102d3610701366004612dde565b6115b4565b34801561071257600080fd5b506102ea6115f4565b34801561072757600080fd5b5061029e610736366004612df9565b611603565b6102d3610749366004612ad7565b6116ec565b34801561075a57600080fd5b506102d3610769366004612e32565b611996565b34801561077a57600080fd5b506102d3610789366004612dde565b6119ec565b34801561079a57600080fd5b506102d36107a9366004612af0565b611a2c565b6000600160e060020a031982167f780e9d630000000000000000000000000000000000000000000000000000000014806107ec57506107ec82611ae4565b92915050565b60005b815181101561087f576108213383838151811061081457610814612e76565b6020026020010151611b7f565b6108495760405160e560020a62461bcd02815260040161084090612e8f565b60405180910390fd5b61086d848484848151811061086057610860612e76565b6020026020010151611c62565b8061087781612f05565b9150506107f5565b50505050565b60606000805461089490612f20565b80601f01602080910402602001604051908101604052809291908181526020018280546108c090612f20565b801561090d5780601f106108e25761010080835404028352916020019161090d565b820191906000526020600020905b8154815290600101906020018083116108f057829003601f168201915b5050505050905090565b600081815260026020526040812054600160a060020a03166109a45760405160e560020a62461bcd02815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610840565b50600090815260046020526040902054600160a060020a031690565b600a54600160a060020a031633146109ed5760405160e560020a62461bcd02815260040161084090612f5e565b6016805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000610a2782611109565b905080600160a060020a031683600160a060020a03161415610ab45760405160e560020a62461bcd02815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610840565b33600160a060020a0382161480610ad05750610ad08133611603565b610b455760405160e560020a62461bcd02815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610840565b610b4f8383611e4d565b505050565b600a54600160a060020a03163314610b815760405160e560020a62461bcd02815260040161084090612f5e565b601155565b610b903382611b7f565b610baf5760405160e560020a62461bcd02815260040161084090612e8f565b610b4f838383611c62565b600a54600160a060020a03163314610be75760405160e560020a62461bcd02815260040161084090612f5e565b600f55565b6000610bf7836112b9565b8210610c6e5760405160e560020a62461bcd02815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610840565b50600160a060020a03919091166000908152600660209081526040808320938352929052205490565b600a54600160a060020a03163314610cc45760405160e560020a62461bcd02815260040161084090612f5e565b828114610d3c5760405160e560020a62461bcd02815260206004820152602b60248201527f57697468647261773a2070617965657320616e6420736861726573206c656e6760448201527f7468206d69736d617463680000000000000000000000000000000000000000006064820152608401610840565b6000601a8190555b81811015610d8e57828282818110610d5e57610d5e612e76565b90506020020135601a6000828254610d769190612f93565b90915550819050610d8681612f05565b915050610d44565b50610d9b601885856127da565b50610da86019838361284a565b5050505050565b600a54600160a060020a03163314610ddc5760405160e560020a62461bcd02815260040161084090612f5e565b8051610def906014906020840190612885565b5050565b600a54600160a060020a03163314610e205760405160e560020a62461bcd02815260040161084090612f5e565b601854610e725760405160e560020a62461bcd02815260206004820152601360248201527f57697468647261773a206e6f20706179656573000000000000000000000000006044820152606401610840565b303160005b601854811015610def5760188181548110610e9457610e94612e76565b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a03166108fc601a5460198481548110610ed457610ed4612e76565b906000526020600020015485610eea9190612fab565b610ef49190612fe3565b6040518115909202916000818181858888f19350505050158015610f1c573d6000803e3d6000fd5b5080610f2781612f05565b915050610e77565b6002600b541415610f855760405160e560020a62461bcd02815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610840565b6002600b55600a54600160a060020a03163314610fb75760405160e560020a62461bcd02815260040161084090612f5e565b610fc18282611ec8565b60005b81811015610ffd576000610fd6612079565b9050610fe2848261208f565b610fea6120a9565b5080610ff581612f05565b915050610fc4565b50506001600b5550565b610b4f838383604051806020016040528060008152506114a6565b600061102d60085490565b82106110a45760405160e560020a62461bcd02815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610840565b600882815481106110b7576110b7612e76565b90600052602060002001549050919050565b600a54600160a060020a031633146110f65760405160e560020a62461bcd02815260040161084090612f5e565b8051610def906015906020840190612885565b600081815260026020526040812054600160a060020a0316806107ec5760405160e560020a62461bcd02815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610840565b600a54600160a060020a031633146111c45760405160e560020a62461bcd02815260040161084090612f5e565b60005b81811015610b4f5760008383838181106111e3576111e3612e76565b90506020020160208101906111f89190612af0565b600160a060020a031614156112525760405160e560020a62461bcd02815260206004820152601a60248201527f43616e27742061646420746865206e756c6c20616464726573730000000000006044820152606401610840565b6001601b600085858581811061126a5761126a612e76565b905060200201602081019061127f9190612af0565b600160a060020a031681526020810191909152604001600020805460ff1916911515919091179055806112b181612f05565b9150506111c7565b6000600160a060020a03821661133a5760405160e560020a62461bcd02815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610840565b50600160a060020a031660009081526003602052604090205490565b600a54600160a060020a031633146113835760405160e560020a62461bcd02815260040161084090612f5e565b61138d60006120c0565b565b600a54600160a060020a031633146113bc5760405160e560020a62461bcd02815260040161084090612f5e565b8051610def906013906020840190612885565b60606001805461089490612f20565b600160a060020a03821633141561143a5760405160e560020a62461bcd02815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610840565b336000818152600560209081526040808320600160a060020a03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6114b03383611b7f565b6114cf5760405160e560020a62461bcd02815260040161084090612e8f565b61087f8484848461211f565b60606000601580546114ec90612f20565b905011611583576014805461150090612f20565b80601f016020809104026020016040519081016040528092919081815260200182805461152c90612f20565b80156115795780601f1061154e57610100808354040283529160200191611579565b820191906000526020600020905b81548152906001019060200180831161155c57829003601f168201915b50505050506107ec565b601561158e83612155565b60405160200161159f929190613013565b60405160208183030381529060405292915050565b600a54600160a060020a031633146115e15760405160e560020a62461bcd02815260040161084090612f5e565b6010805460ff1916911515919091179055565b60606013805461089490612f20565b6016546040517fc4552791000000000000000000000000000000000000000000000000000000008152600160a060020a03848116600483015260009281169190841690829063c45527919060240160206040518083038186803b15801561166957600080fd5b505afa15801561167d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116a191906130bd565b600160a060020a031614156116ba5760019150506107ec565b600160a060020a0380851660009081526005602090815260408083209387168352929052205460ff165b949350505050565b6002600b5414156117425760405160e560020a62461bcd02815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610840565b6002600b55333b156117be5760405160e560020a62461bcd028152602060048201526024808201527f424153455f434f4c4c454354494f4e2f434f4e54524143545f43414e4e4f545f60448201527f43414c4c000000000000000000000000000000000000000000000000000000006064820152608401610840565b6117c83382611ec8565b60125460ff166118435760405160e560020a62461bcd02815260206004820152602160248201527f424153455f434f4c4c454354494f4e2f50555243484153455f44495341424c4560448201527f44000000000000000000000000000000000000000000000000000000000000006064820152608401610840565b60115415801590611855575042601154105b8061187c575060105460ff16801561187c5750336000908152601b602052604090205460ff165b6118cb5760405160e560020a62461bcd02815260206004820152601b60248201527f424153455f434f4c4c454354494f4e2f43414e4e4f545f4d494e5400000000006044820152606401610840565b3481600c546118da9190612fab565b11156119515760405160e560020a62461bcd02815260206004820152602760248201527f424153455f434f4c4c454354494f4e2f494e53554646494349454e545f45544860448201527f5f414d4f554e54000000000000000000000000000000000000000000000000006064820152608401610840565b60005b8181101561198d576000611966612079565b9050611972338261208f565b61197a6120a9565b508061198581612f05565b915050611954565b50506001600b55565b600a54600160a060020a031633146119c35760405160e560020a62461bcd02815260040161084090612f5e565b6011939093556012805492151560ff199384161790556010805491151591909216179055600e55565b600a54600160a060020a03163314611a195760405160e560020a62461bcd02815260040161084090612f5e565b6012805460ff1916911515919091179055565b600a54600160a060020a03163314611a595760405160e560020a62461bcd02815260040161084090612f5e565b600160a060020a038116611ad85760405160e560020a62461bcd02815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610840565b611ae1816120c0565b50565b6000600160e060020a031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480611b475750600160e060020a031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806107ec57507f01ffc9a700000000000000000000000000000000000000000000000000000000600160e060020a03198316146107ec565b600081815260026020526040812054600160a060020a0316611c0c5760405160e560020a62461bcd02815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610840565b6000611c1783611109565b905080600160a060020a031684600160a060020a03161480611c52575083600160a060020a0316611c4784610917565b600160a060020a0316145b806116e457506116e48185611603565b82600160a060020a0316611c7582611109565b600160a060020a031614611cf45760405160e560020a62461bcd02815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610840565b600160a060020a038216611d725760405160e560020a62461bcd028152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610840565b611d7d8383836122a6565b611d88600082611e4d565b600160a060020a0383166000908152600360205260408120805460019290611db19084906130da565b9091555050600160a060020a0382166000908152600360205260408120805460019290611ddf908490612f93565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384169081179091558190611e8f82611109565b600160a060020a03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600d5481611ed560085490565b611edf9190612f93565b1115611f565760405160e560020a62461bcd02815260206004820152602260248201527f424153455f434f4c4c454354494f4e2f455843454544535f4d41585f5355505060448201527f4c590000000000000000000000000000000000000000000000000000000000006064820152608401610840565b600081611f62846112b9565b611f6c9190612f93565b9050600e54811115611fe95760405160e560020a62461bcd02815260206004820152602960248201527f424153455f434f4c4c454354494f4e2f455843454544535f494e44495649445560448201527f414c5f535550504c5900000000000000000000000000000000000000000000006064820152608401610840565b600f5415610b4f57600f5461200290633b9aca00612fab565b3a10610b4f5760405160e560020a62461bcd02815260206004820152602360248201527f424153455f434f4c4c454354494f4e2f4741535f4645455f4e4f545f414c4c4f60448201527f57454400000000000000000000000000000000000000000000000000000000006064820152608401610840565b60175460009061208a90600161235e565b905090565b610def828260405180602001604052806000815250612371565b601780549060006120b983612f05565b9190505550565b600a8054600160a060020a0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61212a848484611c62565b612136848484846123a7565b61087f5760405160e560020a62461bcd028152600401610840906130f1565b60608161219557505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156121bf57806121a981612f05565b91506121b89050600a83612fe3565b9150612199565b60008167ffffffffffffffff8111156121da576121da612956565b6040519080825280601f01601f191660200182016040528015612204576020820181803683370190505b5090505b84156116e4576122196001836130da565b9150612226600a8661314e565b612231906030612f93565b7f01000000000000000000000000000000000000000000000000000000000000000281838151811061226557612265612e76565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061229f600a86612fe3565b9450612208565b600160a060020a038316612301576122fc81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612324565b81600160a060020a031683600160a060020a0316146123245761232483826124e9565b600160a060020a03821661233b57610b4f81612586565b82600160a060020a031682600160a060020a031614610b4f57610b4f8282612635565b600061236a8284612f93565b9392505050565b61237b8383612679565b61238860008484846123a7565b610b4f5760405160e560020a62461bcd028152600401610840906130f1565b6000600160a060020a0384163b156124de576040517f150b7a02000000000000000000000000000000000000000000000000000000008152600160a060020a0385169063150b7a0290612404903390899088908890600401613162565b602060405180830381600087803b15801561241e57600080fd5b505af192505050801561244e575060408051601f3d908101601f1916820190925261244b9181019061319e565b60015b6124ab573d80801561247c576040519150601f19603f3d011682016040523d82523d6000602084013e612481565b606091505b5080516124a35760405160e560020a62461bcd028152600401610840906130f1565b805181602001fd5b600160e060020a0319167f150b7a02000000000000000000000000000000000000000000000000000000001490506116e4565b506001949350505050565b600060016124f6846112b9565b61250091906130da565b60008381526007602052604090205490915080821461255357600160a060020a03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b506000918252600760209081526040808420849055600160a060020a039094168352600681528383209183525290812055565b600854600090612598906001906130da565b600083815260096020526040812054600880549394509092849081106125c0576125c0612e76565b9060005260206000200154905080600883815481106125e1576125e1612e76565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612619576126196131bb565b6001900381819060005260206000200160009055905550505050565b6000612640836112b9565b600160a060020a039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b600160a060020a0382166126d25760405160e560020a62461bcd02815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610840565b600081815260026020526040902054600160a060020a03161561273a5760405160e560020a62461bcd02815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610840565b612746600083836122a6565b600160a060020a038216600090815260036020526040812080546001929061276f908490612f93565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805482825590600052602060002090810192821561283a579160200282015b8281111561283a57815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038435161782556020909201916001909101906127fa565b506128469291506128f9565b5090565b82805482825590600052602060002090810192821561283a579160200282015b8281111561283a57823582559160200191906001019061286a565b82805461289190612f20565b90600052602060002090601f0160209004810192826128b3576000855561283a565b82601f106128cc57805160ff191683800117855561283a565b8280016001018555821561283a579182015b8281111561283a5782518255916020019190600101906128de565b5b8082111561284657600081556001016128fa565b600160e060020a031981168114611ae157600080fd5b60006020828403121561293657600080fd5b813561236a8161290e565b600160a060020a0381168114611ae157600080fd5b60e060020a634e487b7102600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561299857612998612956565b604052919050565b6000806000606084860312156129b557600080fd5b83356129c081612941565b92506020848101356129d181612941565b9250604085013567ffffffffffffffff808211156129ee57600080fd5b818701915087601f830112612a0257600080fd5b813581811115612a1457612a14612956565b8381029150612a2484830161296f565b818152918301840191848101908a841115612a3e57600080fd5b938501935b83851015612a5c57843582529385019390850190612a43565b8096505050505050509250925092565b60005b83811015612a87578181015183820152602001612a6f565b8381111561087f5750506000910152565b60008151808452612ab0816020860160208601612a6c565b601f01601f19169290920160200192915050565b60208152600061236a6020830184612a98565b600060208284031215612ae957600080fd5b5035919050565b600060208284031215612b0257600080fd5b813561236a81612941565b60008060408385031215612b2057600080fd5b8235612b2b81612941565b946020939093013593505050565b600080600060608486031215612b4e57600080fd5b8335612b5981612941565b92506020840135612b6981612941565b929592945050506040919091013590565b60008083601f840112612b8c57600080fd5b50813567ffffffffffffffff811115612ba457600080fd5b6020830191508360208083028501011115612bbe57600080fd5b9250929050565b60008060008060408587031215612bdb57600080fd5b843567ffffffffffffffff80821115612bf357600080fd5b612bff88838901612b7a565b90965094506020870135915080821115612c1857600080fd5b50612c2587828801612b7a565b95989497509550505050565b600067ffffffffffffffff831115612c4b57612c4b612956565b612c5e601f8401601f191660200161296f565b9050828152838383011115612c7257600080fd5b828260208301376000602084830101529392505050565b600060208284031215612c9b57600080fd5b813567ffffffffffffffff811115612cb257600080fd5b8201601f81018413612cc357600080fd5b6116e484823560208401612c31565b60008060208385031215612ce557600080fd5b823567ffffffffffffffff811115612cfc57600080fd5b612d0885828601612b7a565b90969095509350505050565b80358015158114612d2457600080fd5b919050565b60008060408385031215612d3c57600080fd5b8235612d4781612941565b9150612d5560208401612d14565b90509250929050565b60008060008060808587031215612d7457600080fd5b8435612d7f81612941565b93506020850135612d8f81612941565b925060408501359150606085013567ffffffffffffffff811115612db257600080fd5b8501601f81018713612dc357600080fd5b612dd287823560208401612c31565b91505092959194509250565b600060208284031215612df057600080fd5b61236a82612d14565b60008060408385031215612e0c57600080fd5b8235612e1781612941565b91506020830135612e2781612941565b809150509250929050565b60008060008060808587031215612e4857600080fd5b84359350612e5860208601612d14565b9250612e6660408601612d14565b9396929550929360600135925050565b60e060020a634e487b7102600052603260045260246000fd5b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606082015260800190565b60e060020a634e487b7102600052601160045260246000fd5b6000600019821415612f1957612f19612eec565b5060010190565b600281046001821680612f3457607f821691505b60208210811415612f585760e060020a634e487b7102600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115612fa657612fa6612eec565b500190565b6000816000190483118215151615612fc557612fc5612eec565b500290565b60e060020a634e487b7102600052601260045260246000fd5b600082612ff257612ff2612fca565b500490565b60008151613009818560208601612a6c565b9290920192915050565b825460009081906002810460018083168061302f57607f831692505b60208084108214156130525760e060020a634e487b710286526022600452602486fd5b8180156130665760018114613077576130a4565b60ff198616895284890196506130a4565b60008b81526020902060005b8681101561309c5781548b820152908501908301613083565b505084890196505b5050505050506130b48185612ff7565b95945050505050565b6000602082840312156130cf57600080fd5b815161236a81612941565b6000828210156130ec576130ec612eec565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527f63656976657220696d706c656d656e7465720000000000000000000000000000606082015260800190565b60008261315d5761315d612fca565b500690565b6000600160a060020a038087168352808616602084015250836040830152608060608301526131946080830184612a98565b9695505050505050565b6000602082840312156131b057600080fd5b815161236a8161290e565b60e060020a634e487b7102600052603160045260246000fdfea264697066735822122074256963246822f9826f5ee21b063607bc78d650cadbeffb93c4065159a8577664736f6c6343000809003300000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000002714711487800000000000000000000000000000000000000000000000000000000000000002d0000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c10000000000000000000000000000000000000000000000000000000061bac7d0000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000003e416c7465726e61746520456e64696e67204265657220436f2e2070726573656e747320224472696e6b20596f7572205065617322204e4654204c6162656c000000000000000000000000000000000000000000000000000000000000000000054145445950000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405260043610610279576000357c0100000000000000000000000000000000000000000000000000000000900480636352211e11610161578063b85ef036116100d3578063e8a3d48511610097578063e8a3d48514610706578063e985e9c51461071b578063efef39a11461073b578063f02b18601461074e578063f1ace7191461076e578063f2fde38b1461078e57600080fd5b8063b85ef0361461067a578063b88d4fde14610690578063c87b56dd146106b0578063cf9e8e69146106d0578063d35ea456146106e657600080fd5b80638d859f3e116101255780638d859f3e146105d75780638da5cb5b146105ed578063938e3d7b1461060b57806395d89b411461062b5780639d044ed314610640578063a22cb4651461065a57600080fd5b80636352211e1461054c57806366cfb1f31461056c5780636a8db7eb1461058257806370a08231146105a2578063715018a6146105c257600080fd5b806327ae2b79116101fa5780633ccfd60b116101be5780633ccfd60b1461049d57806340c10f19146104b257806342842e0e146104d25780634f6ccce7146104f257806355f804b3146105125780635f14b71a1461053257600080fd5b806327ae2b79146103e45780632f745c591461040457806331b56fe6146104245780633574a2dd146104445780633b5f21881461046457600080fd5b8063095ea7b311610241578063095ea7b31461034f57806311b7e5e71461036f57806318160ddd1461038f57806323b872dd146103ae5780632439ee56146103ce57600080fd5b806301ffc9a71461027e578063059fb6f7146102b357806306fdde03146102d5578063081812fc146102f757806308abf0261461032f575b600080fd5b34801561028a57600080fd5b5061029e610299366004612924565b6107ae565b60405190151581526020015b60405180910390f35b3480156102bf57600080fd5b506102d36102ce3660046129a0565b6107f2565b005b3480156102e157600080fd5b506102ea610885565b6040516102aa9190612ac4565b34801561030357600080fd5b50610317610312366004612ad7565b610917565b604051600160a060020a0390911681526020016102aa565b34801561033b57600080fd5b506102d361034a366004612af0565b6109c0565b34801561035b57600080fd5b506102d361036a366004612b0d565b610a1c565b34801561037b57600080fd5b506102d361038a366004612ad7565b610b54565b34801561039b57600080fd5b506008545b6040519081526020016102aa565b3480156103ba57600080fd5b506102d36103c9366004612b39565b610b86565b3480156103da57600080fd5b506103a0600f5481565b3480156103f057600080fd5b506102d36103ff366004612ad7565b610bba565b34801561041057600080fd5b506103a061041f366004612b0d565b610bec565b34801561043057600080fd5b506102d361043f366004612bc5565b610c97565b34801561045057600080fd5b506102d361045f366004612c89565b610daf565b34801561047057600080fd5b5061029e61047f366004612af0565b600160a060020a03166000908152601b602052604090205460ff1690565b3480156104a957600080fd5b506102d3610df3565b3480156104be57600080fd5b506102d36104cd366004612b0d565b610f2f565b3480156104de57600080fd5b506102d36104ed366004612b39565b611007565b3480156104fe57600080fd5b506103a061050d366004612ad7565b611022565b34801561051e57600080fd5b506102d361052d366004612c89565b6110c9565b34801561053e57600080fd5b5060125461029e9060ff1681565b34801561055857600080fd5b50610317610567366004612ad7565b611109565b34801561057857600080fd5b506103a0600e5481565b34801561058e57600080fd5b506102d361059d366004612cd2565b611197565b3480156105ae57600080fd5b506103a06105bd366004612af0565b6112b9565b3480156105ce57600080fd5b506102d3611356565b3480156105e357600080fd5b506103a0600c5481565b3480156105f957600080fd5b50600a54600160a060020a0316610317565b34801561061757600080fd5b506102d3610626366004612c89565b61138f565b34801561063757600080fd5b506102ea6113cf565b34801561064c57600080fd5b5060105461029e9060ff1681565b34801561066657600080fd5b506102d3610675366004612d29565b6113de565b34801561068657600080fd5b506103a060115481565b34801561069c57600080fd5b506102d36106ab366004612d5e565b6114a6565b3480156106bc57600080fd5b506102ea6106cb366004612ad7565b6114db565b3480156106dc57600080fd5b506103a0600d5481565b3480156106f257600080fd5b506102d3610701366004612dde565b6115b4565b34801561071257600080fd5b506102ea6115f4565b34801561072757600080fd5b5061029e610736366004612df9565b611603565b6102d3610749366004612ad7565b6116ec565b34801561075a57600080fd5b506102d3610769366004612e32565b611996565b34801561077a57600080fd5b506102d3610789366004612dde565b6119ec565b34801561079a57600080fd5b506102d36107a9366004612af0565b611a2c565b6000600160e060020a031982167f780e9d630000000000000000000000000000000000000000000000000000000014806107ec57506107ec82611ae4565b92915050565b60005b815181101561087f576108213383838151811061081457610814612e76565b6020026020010151611b7f565b6108495760405160e560020a62461bcd02815260040161084090612e8f565b60405180910390fd5b61086d848484848151811061086057610860612e76565b6020026020010151611c62565b8061087781612f05565b9150506107f5565b50505050565b60606000805461089490612f20565b80601f01602080910402602001604051908101604052809291908181526020018280546108c090612f20565b801561090d5780601f106108e25761010080835404028352916020019161090d565b820191906000526020600020905b8154815290600101906020018083116108f057829003601f168201915b5050505050905090565b600081815260026020526040812054600160a060020a03166109a45760405160e560020a62461bcd02815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610840565b50600090815260046020526040902054600160a060020a031690565b600a54600160a060020a031633146109ed5760405160e560020a62461bcd02815260040161084090612f5e565b6016805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000610a2782611109565b905080600160a060020a031683600160a060020a03161415610ab45760405160e560020a62461bcd02815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610840565b33600160a060020a0382161480610ad05750610ad08133611603565b610b455760405160e560020a62461bcd02815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610840565b610b4f8383611e4d565b505050565b600a54600160a060020a03163314610b815760405160e560020a62461bcd02815260040161084090612f5e565b601155565b610b903382611b7f565b610baf5760405160e560020a62461bcd02815260040161084090612e8f565b610b4f838383611c62565b600a54600160a060020a03163314610be75760405160e560020a62461bcd02815260040161084090612f5e565b600f55565b6000610bf7836112b9565b8210610c6e5760405160e560020a62461bcd02815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610840565b50600160a060020a03919091166000908152600660209081526040808320938352929052205490565b600a54600160a060020a03163314610cc45760405160e560020a62461bcd02815260040161084090612f5e565b828114610d3c5760405160e560020a62461bcd02815260206004820152602b60248201527f57697468647261773a2070617965657320616e6420736861726573206c656e6760448201527f7468206d69736d617463680000000000000000000000000000000000000000006064820152608401610840565b6000601a8190555b81811015610d8e57828282818110610d5e57610d5e612e76565b90506020020135601a6000828254610d769190612f93565b90915550819050610d8681612f05565b915050610d44565b50610d9b601885856127da565b50610da86019838361284a565b5050505050565b600a54600160a060020a03163314610ddc5760405160e560020a62461bcd02815260040161084090612f5e565b8051610def906014906020840190612885565b5050565b600a54600160a060020a03163314610e205760405160e560020a62461bcd02815260040161084090612f5e565b601854610e725760405160e560020a62461bcd02815260206004820152601360248201527f57697468647261773a206e6f20706179656573000000000000000000000000006044820152606401610840565b303160005b601854811015610def5760188181548110610e9457610e94612e76565b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a03166108fc601a5460198481548110610ed457610ed4612e76565b906000526020600020015485610eea9190612fab565b610ef49190612fe3565b6040518115909202916000818181858888f19350505050158015610f1c573d6000803e3d6000fd5b5080610f2781612f05565b915050610e77565b6002600b541415610f855760405160e560020a62461bcd02815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610840565b6002600b55600a54600160a060020a03163314610fb75760405160e560020a62461bcd02815260040161084090612f5e565b610fc18282611ec8565b60005b81811015610ffd576000610fd6612079565b9050610fe2848261208f565b610fea6120a9565b5080610ff581612f05565b915050610fc4565b50506001600b5550565b610b4f838383604051806020016040528060008152506114a6565b600061102d60085490565b82106110a45760405160e560020a62461bcd02815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610840565b600882815481106110b7576110b7612e76565b90600052602060002001549050919050565b600a54600160a060020a031633146110f65760405160e560020a62461bcd02815260040161084090612f5e565b8051610def906015906020840190612885565b600081815260026020526040812054600160a060020a0316806107ec5760405160e560020a62461bcd02815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610840565b600a54600160a060020a031633146111c45760405160e560020a62461bcd02815260040161084090612f5e565b60005b81811015610b4f5760008383838181106111e3576111e3612e76565b90506020020160208101906111f89190612af0565b600160a060020a031614156112525760405160e560020a62461bcd02815260206004820152601a60248201527f43616e27742061646420746865206e756c6c20616464726573730000000000006044820152606401610840565b6001601b600085858581811061126a5761126a612e76565b905060200201602081019061127f9190612af0565b600160a060020a031681526020810191909152604001600020805460ff1916911515919091179055806112b181612f05565b9150506111c7565b6000600160a060020a03821661133a5760405160e560020a62461bcd02815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610840565b50600160a060020a031660009081526003602052604090205490565b600a54600160a060020a031633146113835760405160e560020a62461bcd02815260040161084090612f5e565b61138d60006120c0565b565b600a54600160a060020a031633146113bc5760405160e560020a62461bcd02815260040161084090612f5e565b8051610def906013906020840190612885565b60606001805461089490612f20565b600160a060020a03821633141561143a5760405160e560020a62461bcd02815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610840565b336000818152600560209081526040808320600160a060020a03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6114b03383611b7f565b6114cf5760405160e560020a62461bcd02815260040161084090612e8f565b61087f8484848461211f565b60606000601580546114ec90612f20565b905011611583576014805461150090612f20565b80601f016020809104026020016040519081016040528092919081815260200182805461152c90612f20565b80156115795780601f1061154e57610100808354040283529160200191611579565b820191906000526020600020905b81548152906001019060200180831161155c57829003601f168201915b50505050506107ec565b601561158e83612155565b60405160200161159f929190613013565b60405160208183030381529060405292915050565b600a54600160a060020a031633146115e15760405160e560020a62461bcd02815260040161084090612f5e565b6010805460ff1916911515919091179055565b60606013805461089490612f20565b6016546040517fc4552791000000000000000000000000000000000000000000000000000000008152600160a060020a03848116600483015260009281169190841690829063c45527919060240160206040518083038186803b15801561166957600080fd5b505afa15801561167d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116a191906130bd565b600160a060020a031614156116ba5760019150506107ec565b600160a060020a0380851660009081526005602090815260408083209387168352929052205460ff165b949350505050565b6002600b5414156117425760405160e560020a62461bcd02815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610840565b6002600b55333b156117be5760405160e560020a62461bcd028152602060048201526024808201527f424153455f434f4c4c454354494f4e2f434f4e54524143545f43414e4e4f545f60448201527f43414c4c000000000000000000000000000000000000000000000000000000006064820152608401610840565b6117c83382611ec8565b60125460ff166118435760405160e560020a62461bcd02815260206004820152602160248201527f424153455f434f4c4c454354494f4e2f50555243484153455f44495341424c4560448201527f44000000000000000000000000000000000000000000000000000000000000006064820152608401610840565b60115415801590611855575042601154105b8061187c575060105460ff16801561187c5750336000908152601b602052604090205460ff165b6118cb5760405160e560020a62461bcd02815260206004820152601b60248201527f424153455f434f4c4c454354494f4e2f43414e4e4f545f4d494e5400000000006044820152606401610840565b3481600c546118da9190612fab565b11156119515760405160e560020a62461bcd02815260206004820152602760248201527f424153455f434f4c4c454354494f4e2f494e53554646494349454e545f45544860448201527f5f414d4f554e54000000000000000000000000000000000000000000000000006064820152608401610840565b60005b8181101561198d576000611966612079565b9050611972338261208f565b61197a6120a9565b508061198581612f05565b915050611954565b50506001600b55565b600a54600160a060020a031633146119c35760405160e560020a62461bcd02815260040161084090612f5e565b6011939093556012805492151560ff199384161790556010805491151591909216179055600e55565b600a54600160a060020a03163314611a195760405160e560020a62461bcd02815260040161084090612f5e565b6012805460ff1916911515919091179055565b600a54600160a060020a03163314611a595760405160e560020a62461bcd02815260040161084090612f5e565b600160a060020a038116611ad85760405160e560020a62461bcd02815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610840565b611ae1816120c0565b50565b6000600160e060020a031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480611b475750600160e060020a031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806107ec57507f01ffc9a700000000000000000000000000000000000000000000000000000000600160e060020a03198316146107ec565b600081815260026020526040812054600160a060020a0316611c0c5760405160e560020a62461bcd02815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610840565b6000611c1783611109565b905080600160a060020a031684600160a060020a03161480611c52575083600160a060020a0316611c4784610917565b600160a060020a0316145b806116e457506116e48185611603565b82600160a060020a0316611c7582611109565b600160a060020a031614611cf45760405160e560020a62461bcd02815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610840565b600160a060020a038216611d725760405160e560020a62461bcd028152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610840565b611d7d8383836122a6565b611d88600082611e4d565b600160a060020a0383166000908152600360205260408120805460019290611db19084906130da565b9091555050600160a060020a0382166000908152600360205260408120805460019290611ddf908490612f93565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384169081179091558190611e8f82611109565b600160a060020a03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600d5481611ed560085490565b611edf9190612f93565b1115611f565760405160e560020a62461bcd02815260206004820152602260248201527f424153455f434f4c4c454354494f4e2f455843454544535f4d41585f5355505060448201527f4c590000000000000000000000000000000000000000000000000000000000006064820152608401610840565b600081611f62846112b9565b611f6c9190612f93565b9050600e54811115611fe95760405160e560020a62461bcd02815260206004820152602960248201527f424153455f434f4c4c454354494f4e2f455843454544535f494e44495649445560448201527f414c5f535550504c5900000000000000000000000000000000000000000000006064820152608401610840565b600f5415610b4f57600f5461200290633b9aca00612fab565b3a10610b4f5760405160e560020a62461bcd02815260206004820152602360248201527f424153455f434f4c4c454354494f4e2f4741535f4645455f4e4f545f414c4c4f60448201527f57454400000000000000000000000000000000000000000000000000000000006064820152608401610840565b60175460009061208a90600161235e565b905090565b610def828260405180602001604052806000815250612371565b601780549060006120b983612f05565b9190505550565b600a8054600160a060020a0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61212a848484611c62565b612136848484846123a7565b61087f5760405160e560020a62461bcd028152600401610840906130f1565b60608161219557505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156121bf57806121a981612f05565b91506121b89050600a83612fe3565b9150612199565b60008167ffffffffffffffff8111156121da576121da612956565b6040519080825280601f01601f191660200182016040528015612204576020820181803683370190505b5090505b84156116e4576122196001836130da565b9150612226600a8661314e565b612231906030612f93565b7f01000000000000000000000000000000000000000000000000000000000000000281838151811061226557612265612e76565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061229f600a86612fe3565b9450612208565b600160a060020a038316612301576122fc81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612324565b81600160a060020a031683600160a060020a0316146123245761232483826124e9565b600160a060020a03821661233b57610b4f81612586565b82600160a060020a031682600160a060020a031614610b4f57610b4f8282612635565b600061236a8284612f93565b9392505050565b61237b8383612679565b61238860008484846123a7565b610b4f5760405160e560020a62461bcd028152600401610840906130f1565b6000600160a060020a0384163b156124de576040517f150b7a02000000000000000000000000000000000000000000000000000000008152600160a060020a0385169063150b7a0290612404903390899088908890600401613162565b602060405180830381600087803b15801561241e57600080fd5b505af192505050801561244e575060408051601f3d908101601f1916820190925261244b9181019061319e565b60015b6124ab573d80801561247c576040519150601f19603f3d011682016040523d82523d6000602084013e612481565b606091505b5080516124a35760405160e560020a62461bcd028152600401610840906130f1565b805181602001fd5b600160e060020a0319167f150b7a02000000000000000000000000000000000000000000000000000000001490506116e4565b506001949350505050565b600060016124f6846112b9565b61250091906130da565b60008381526007602052604090205490915080821461255357600160a060020a03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b506000918252600760209081526040808420849055600160a060020a039094168352600681528383209183525290812055565b600854600090612598906001906130da565b600083815260096020526040812054600880549394509092849081106125c0576125c0612e76565b9060005260206000200154905080600883815481106125e1576125e1612e76565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612619576126196131bb565b6001900381819060005260206000200160009055905550505050565b6000612640836112b9565b600160a060020a039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b600160a060020a0382166126d25760405160e560020a62461bcd02815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610840565b600081815260026020526040902054600160a060020a03161561273a5760405160e560020a62461bcd02815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610840565b612746600083836122a6565b600160a060020a038216600090815260036020526040812080546001929061276f908490612f93565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805482825590600052602060002090810192821561283a579160200282015b8281111561283a57815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038435161782556020909201916001909101906127fa565b506128469291506128f9565b5090565b82805482825590600052602060002090810192821561283a579160200282015b8281111561283a57823582559160200191906001019061286a565b82805461289190612f20565b90600052602060002090601f0160209004810192826128b3576000855561283a565b82601f106128cc57805160ff191683800117855561283a565b8280016001018555821561283a579182015b8281111561283a5782518255916020019190600101906128de565b5b8082111561284657600081556001016128fa565b600160e060020a031981168114611ae157600080fd5b60006020828403121561293657600080fd5b813561236a8161290e565b600160a060020a0381168114611ae157600080fd5b60e060020a634e487b7102600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561299857612998612956565b604052919050565b6000806000606084860312156129b557600080fd5b83356129c081612941565b92506020848101356129d181612941565b9250604085013567ffffffffffffffff808211156129ee57600080fd5b818701915087601f830112612a0257600080fd5b813581811115612a1457612a14612956565b8381029150612a2484830161296f565b818152918301840191848101908a841115612a3e57600080fd5b938501935b83851015612a5c57843582529385019390850190612a43565b8096505050505050509250925092565b60005b83811015612a87578181015183820152602001612a6f565b8381111561087f5750506000910152565b60008151808452612ab0816020860160208601612a6c565b601f01601f19169290920160200192915050565b60208152600061236a6020830184612a98565b600060208284031215612ae957600080fd5b5035919050565b600060208284031215612b0257600080fd5b813561236a81612941565b60008060408385031215612b2057600080fd5b8235612b2b81612941565b946020939093013593505050565b600080600060608486031215612b4e57600080fd5b8335612b5981612941565b92506020840135612b6981612941565b929592945050506040919091013590565b60008083601f840112612b8c57600080fd5b50813567ffffffffffffffff811115612ba457600080fd5b6020830191508360208083028501011115612bbe57600080fd5b9250929050565b60008060008060408587031215612bdb57600080fd5b843567ffffffffffffffff80821115612bf357600080fd5b612bff88838901612b7a565b90965094506020870135915080821115612c1857600080fd5b50612c2587828801612b7a565b95989497509550505050565b600067ffffffffffffffff831115612c4b57612c4b612956565b612c5e601f8401601f191660200161296f565b9050828152838383011115612c7257600080fd5b828260208301376000602084830101529392505050565b600060208284031215612c9b57600080fd5b813567ffffffffffffffff811115612cb257600080fd5b8201601f81018413612cc357600080fd5b6116e484823560208401612c31565b60008060208385031215612ce557600080fd5b823567ffffffffffffffff811115612cfc57600080fd5b612d0885828601612b7a565b90969095509350505050565b80358015158114612d2457600080fd5b919050565b60008060408385031215612d3c57600080fd5b8235612d4781612941565b9150612d5560208401612d14565b90509250929050565b60008060008060808587031215612d7457600080fd5b8435612d7f81612941565b93506020850135612d8f81612941565b925060408501359150606085013567ffffffffffffffff811115612db257600080fd5b8501601f81018713612dc357600080fd5b612dd287823560208401612c31565b91505092959194509250565b600060208284031215612df057600080fd5b61236a82612d14565b60008060408385031215612e0c57600080fd5b8235612e1781612941565b91506020830135612e2781612941565b809150509250929050565b60008060008060808587031215612e4857600080fd5b84359350612e5860208601612d14565b9250612e6660408601612d14565b9396929550929360600135925050565b60e060020a634e487b7102600052603260045260246000fd5b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606082015260800190565b60e060020a634e487b7102600052601160045260246000fd5b6000600019821415612f1957612f19612eec565b5060010190565b600281046001821680612f3457607f821691505b60208210811415612f585760e060020a634e487b7102600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115612fa657612fa6612eec565b500190565b6000816000190483118215151615612fc557612fc5612eec565b500290565b60e060020a634e487b7102600052601260045260246000fd5b600082612ff257612ff2612fca565b500490565b60008151613009818560208601612a6c565b9290920192915050565b825460009081906002810460018083168061302f57607f831692505b60208084108214156130525760e060020a634e487b710286526022600452602486fd5b8180156130665760018114613077576130a4565b60ff198616895284890196506130a4565b60008b81526020902060005b8681101561309c5781548b820152908501908301613083565b505084890196505b5050505050506130b48185612ff7565b95945050505050565b6000602082840312156130cf57600080fd5b815161236a81612941565b6000828210156130ec576130ec612eec565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527f63656976657220696d706c656d656e7465720000000000000000000000000000606082015260800190565b60008261315d5761315d612fca565b500690565b6000600160a060020a038087168352808616602084015250836040830152608060608301526131946080830184612a98565b9695505050505050565b6000602082840312156131b057600080fd5b815161236a8161290e565b60e060020a634e487b7102600052603160045260246000fdfea264697066735822122074256963246822f9826f5ee21b063607bc78d650cadbeffb93c4065159a8577664736f6c63430008090033

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

00000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000002714711487800000000000000000000000000000000000000000000000000000000000000002d0000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c10000000000000000000000000000000000000000000000000000000061bac7d0000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000003e416c7465726e61746520456e64696e67204265657220436f2e2070726573656e747320224472696e6b20596f7572205065617322204e4654204c6162656c000000000000000000000000000000000000000000000000000000000000000000054145445950000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Alternate Ending Beer Co. presents "Drink Your Peas" NFT Label
Arg [1] : symbol (string): AEDYP
Arg [2] : price (uint256): 11000000000000000
Arg [3] : maxTotalMint (uint256): 720
Arg [4] : openSeaProxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
Arg [5] : publicSaleTime (uint256): 1639630800
Arg [6] : purchaseEnabled (bool): True
Arg [7] : presaleActive (bool): True
Arg [8] : maxTotalMintPerAddress (uint256): 50

-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [2] : 0000000000000000000000000000000000000000000000000027147114878000
Arg [3] : 00000000000000000000000000000000000000000000000000000000000002d0
Arg [4] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [5] : 0000000000000000000000000000000000000000000000000000000061bac7d0
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000032
Arg [9] : 000000000000000000000000000000000000000000000000000000000000003e
Arg [10] : 416c7465726e61746520456e64696e67204265657220436f2e2070726573656e
Arg [11] : 747320224472696e6b20596f7572205065617322204e4654204c6162656c0000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [13] : 4145445950000000000000000000000000000000000000000000000000000000


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.