ETH Price: $3,608.36 (-2.09%)

Token

Polymorphs (MORPH)
 

Overview

Max Total Supply

7,956 MORPH

Holders

1,843

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
30 MORPH
0x9654617220e021f942e844855621ed08ac9154c1
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The Polymorphs are a collection of morphing NFTs, with 11 available base skins and 200+ traits. The Polymorph’s DNA can be scrambled by its owner, which can change the Polymorph’s base skin, outfit, and wearable items.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
PolymorphWithGeneChanger

Compiler Version
v0.7.5+commit.eb77ed08

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Unlicense license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-06-27
*/

// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.7.0;



/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
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) {
        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) {
        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) {
        // 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) {
        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) {
        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) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

    /**
     * @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) {
        require(b <= a, "SafeMath: subtraction overflow");
        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) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    /**
     * @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. 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) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        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) {
        require(b > 0, "SafeMath: modulo by zero");
        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) {
        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.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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) {
        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) {
        require(b > 0, errorMessage);
        return a % b;
    }
}


/**
 * @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;
        // solhint-disable-next-line no-inline-assembly
        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");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}


library PolymorphGeneGenerator {

    struct Gene {
		uint256 lastRandom;
    }

    function random(Gene storage g) internal returns (uint256) {
		g.lastRandom = uint256(keccak256(abi.encode(keccak256(abi.encodePacked(msg.sender, tx.origin, gasleft(), g.lastRandom, block.timestamp, block.number, blockhash(block.number), blockhash(block.number-100))))));
		return g.lastRandom;
    }

}



/**
 * @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 () internal {
        _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;
    }
}


/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 * Since it is not possible to overflow a 256 bit integer with increments of one, `increment` can skip the {SafeMath}
 * overflow check, thereby saving gas. This does assume however correct usage, in that the underlying `_value` is never
 * directly accessed.
 */
library Counters {
    using SafeMath for uint256;

    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

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

    function increment(Counter storage counter) internal {
        // The {SafeMath} overflow check can be skipped here, see the comment at the top
        counter._value += 1;
    }

    function decrement(Counter storage counter) internal {
        counter._value = counter._value.sub(1);
    }
}



/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}



/*
 * @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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}




/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context {
    using EnumerableSet for EnumerableSet.AddressSet;
    using Address for address;

    struct RoleData {
        EnumerableSet.AddressSet members;
        bytes32 adminRole;
    }

    mapping (bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view returns (bool) {
        return _roles[role].members.contains(account);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view returns (uint256) {
        return _roles[role].members.length();
    }

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view returns (address) {
        return _roles[role].members.at(index);
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual {
        require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to grant");

        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual {
        require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to revoke");

        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        emit RoleAdminChanged(role, _roles[role].adminRole, adminRole);
        _roles[role].adminRole = adminRole;
    }

    function _grantRole(bytes32 role, address account) private {
        if (_roles[role].members.add(account)) {
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (_roles[role].members.remove(account)) {
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}



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


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


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


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



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


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts may inherit from this and call {_registerInterface} to declare
 * their support of an interface.
 */
abstract contract ERC165 is IERC165 {
    /*
     * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7
     */
    bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;

    /**
     * @dev Mapping of interface ids to whether or not it's supported.
     */
    mapping(bytes4 => bool) private _supportedInterfaces;

    constructor () internal {
        // Derived contracts need only register support for their own interfaces,
        // we register support for ERC165 itself here
        _registerInterface(_INTERFACE_ID_ERC165);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     *
     * Time complexity O(1), guaranteed to always use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return _supportedInterfaces[interfaceId];
    }

    /**
     * @dev Registers the contract as an implementer of the interface defined by
     * `interfaceId`. Support of the actual ERC165 interface is automatic and
     * registering its interface id is not required.
     *
     * See {IERC165-supportsInterface}.
     *
     * Requirements:
     *
     * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).
     */
    function _registerInterface(bytes4 interfaceId) internal virtual {
        require(interfaceId != 0xffffffff, "ERC165: invalid interface id");
        _supportedInterfaces[interfaceId] = true;
    }
}



/**
 * @dev Library for managing an enumerable variant of Solidity's
 * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]
 * type.
 *
 * Maps have the following properties:
 *
 * - Entries are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Entries are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableMap for EnumerableMap.UintToAddressMap;
 *
 *     // Declare a set state variable
 *     EnumerableMap.UintToAddressMap private myMap;
 * }
 * ```
 *
 * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are
 * supported.
 */
library EnumerableMap {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Map type with
    // bytes32 keys and values.
    // The Map implementation uses private functions, and user-facing
    // implementations (such as Uint256ToAddressMap) are just wrappers around
    // the underlying Map.
    // This means that we can only create new EnumerableMaps for types that fit
    // in bytes32.

    struct MapEntry {
        bytes32 _key;
        bytes32 _value;
    }

    struct Map {
        // Storage of map keys and values
        MapEntry[] _entries;

        // Position of the entry defined by a key in the `entries` array, plus 1
        // because index 0 means a key is not in the map.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Adds a key-value pair to a map, or updates the value for an existing
     * key. O(1).
     *
     * Returns true if the key was added to the map, that is if it was not
     * already present.
     */
    function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {
        // We read and store the key's index to prevent multiple reads from the same storage slot
        uint256 keyIndex = map._indexes[key];

        if (keyIndex == 0) { // Equivalent to !contains(map, key)
            map._entries.push(MapEntry({ _key: key, _value: value }));
            // The entry is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            map._indexes[key] = map._entries.length;
            return true;
        } else {
            map._entries[keyIndex - 1]._value = value;
            return false;
        }
    }

    /**
     * @dev Removes a key-value pair from a map. O(1).
     *
     * Returns true if the key was removed from the map, that is if it was present.
     */
    function _remove(Map storage map, bytes32 key) private returns (bool) {
        // We read and store the key's index to prevent multiple reads from the same storage slot
        uint256 keyIndex = map._indexes[key];

        if (keyIndex != 0) { // Equivalent to contains(map, key)
            // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one
            // in the array, and then remove the last entry (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = keyIndex - 1;
            uint256 lastIndex = map._entries.length - 1;

            // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            MapEntry storage lastEntry = map._entries[lastIndex];

            // Move the last entry to the index where the entry to delete is
            map._entries[toDeleteIndex] = lastEntry;
            // Update the index for the moved entry
            map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved entry was stored
            map._entries.pop();

            // Delete the index for the deleted slot
            delete map._indexes[key];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the key is in the map. O(1).
     */
    function _contains(Map storage map, bytes32 key) private view returns (bool) {
        return map._indexes[key] != 0;
    }

    /**
     * @dev Returns the number of key-value pairs in the map. O(1).
     */
    function _length(Map storage map) private view returns (uint256) {
        return map._entries.length;
    }

   /**
    * @dev Returns the key-value pair stored at position `index` in the map. O(1).
    *
    * Note that there are no guarantees on the ordering of entries inside the
    * array, and it may change when more entries are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {
        require(map._entries.length > index, "EnumerableMap: index out of bounds");

        MapEntry storage entry = map._entries[index];
        return (entry._key, entry._value);
    }

    /**
     * @dev Tries to returns the value associated with `key`.  O(1).
     * Does not revert if `key` is not in the map.
     */
    function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {
        uint256 keyIndex = map._indexes[key];
        if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key)
        return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based
    }

    /**
     * @dev Returns the value associated with `key`.  O(1).
     *
     * Requirements:
     *
     * - `key` must be in the map.
     */
    function _get(Map storage map, bytes32 key) private view returns (bytes32) {
        uint256 keyIndex = map._indexes[key];
        require(keyIndex != 0, "EnumerableMap: nonexistent key"); // Equivalent to contains(map, key)
        return map._entries[keyIndex - 1]._value; // All indexes are 1-based
    }

    /**
     * @dev Same as {_get}, with a custom error message when `key` is not in the map.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {_tryGet}.
     */
    function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {
        uint256 keyIndex = map._indexes[key];
        require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)
        return map._entries[keyIndex - 1]._value; // All indexes are 1-based
    }

    // UintToAddressMap

    struct UintToAddressMap {
        Map _inner;
    }

    /**
     * @dev Adds a key-value pair to a map, or updates the value for an existing
     * key. O(1).
     *
     * Returns true if the key was added to the map, that is if it was not
     * already present.
     */
    function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {
        return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the key was removed from the map, that is if it was present.
     */
    function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {
        return _remove(map._inner, bytes32(key));
    }

    /**
     * @dev Returns true if the key is in the map. O(1).
     */
    function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {
        return _contains(map._inner, bytes32(key));
    }

    /**
     * @dev Returns the number of elements in the map. O(1).
     */
    function length(UintToAddressMap storage map) internal view returns (uint256) {
        return _length(map._inner);
    }

   /**
    * @dev Returns the element stored at position `index` in the set. O(1).
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {
        (bytes32 key, bytes32 value) = _at(map._inner, index);
        return (uint256(key), address(uint160(uint256(value))));
    }

    /**
     * @dev Tries to returns the value associated with `key`.  O(1).
     * Does not revert if `key` is not in the map.
     *
     * _Available since v3.4._
     */
    function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {
        (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key));
        return (success, address(uint160(uint256(value))));
    }

    /**
     * @dev Returns the value associated with `key`.  O(1).
     *
     * Requirements:
     *
     * - `key` must be in the map.
     */
    function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {
        return address(uint160(uint256(_get(map._inner, bytes32(key)))));
    }

    /**
     * @dev Same as {get}, with a custom error message when `key` is not in the map.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryGet}.
     */
    function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {
        return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage))));
    }
}


/**
 * @dev String operations.
 */
library Strings {
    /**
     * @dev Converts a `uint256` to its ASCII `string` 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);
        uint256 index = digits - 1;
        temp = value;
        while (temp != 0) {
            buffer[index--] = bytes1(uint8(48 + temp % 10));
            temp /= 10;
        }
        return string(buffer);
    }
}


/**
 * @title ERC721 Non-Fungible Token Standard basic implementation
 * @dev see https://eips.ethereum.org/EIPS/eip-721
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using SafeMath for uint256;
    using Address for address;
    using EnumerableSet for EnumerableSet.UintSet;
    using EnumerableMap for EnumerableMap.UintToAddressMap;
    using Strings for uint256;

    // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`
    // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`
    bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;

    // Mapping from holder address to their (enumerable) set of owned tokens
    mapping (address => EnumerableSet.UintSet) private _holderTokens;

    // Enumerable mapping from token ids to their owners
    EnumerableMap.UintToAddressMap private _tokenOwners;

    // 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;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Optional mapping for token URIs
    mapping (uint256 => string) private _tokenURIs;

    // Base URI
    string private _baseURI;

    /*
     *     bytes4(keccak256('balanceOf(address)')) == 0x70a08231
     *     bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e
     *     bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3
     *     bytes4(keccak256('getApproved(uint256)')) == 0x081812fc
     *     bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465
     *     bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5
     *     bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde
     *
     *     => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^
     *        0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd
     */
    bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;

    /*
     *     bytes4(keccak256('name()')) == 0x06fdde03
     *     bytes4(keccak256('symbol()')) == 0x95d89b41
     *     bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd
     *
     *     => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f
     */
    bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;

    /*
     *     bytes4(keccak256('totalSupply()')) == 0x18160ddd
     *     bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59
     *     bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7
     *
     *     => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63
     */
    bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;

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

        // register the supported interfaces to conform to ERC721 via ERC165
        _registerInterface(_INTERFACE_ID_ERC721);
        _registerInterface(_INTERFACE_ID_ERC721_METADATA);
        _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);
    }

    /**
     * @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 _holderTokens[owner].length();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token");
    }

    /**
     * @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 _tokenURI = _tokenURIs[tokenId];
        string memory base = baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }
        // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.
        return string(abi.encodePacked(base, tokenId.toString()));
    }

    /**
    * @dev Returns the base URI set via {_setBaseURI}. This will be
    * automatically added as a prefix in {tokenURI} to each token's URI, or
    * to the token ID if no specific URI is set for that token ID.
    */
    function baseURI() public view virtual returns (string memory) {
        return _baseURI;
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        return _holderTokens[owner].at(index);
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds
        return _tokenOwners.length();
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        (uint256 tokenId, ) = _tokenOwners.at(index);
        return tokenId;
    }

    /**
     * @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 || ERC721.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 _tokenOwners.contains(tokenId);
    }

    /**
     * @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 || ERC721.isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     d*
     * - `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);

        _holderTokens[to].add(tokenId);

        _tokenOwners.set(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); // internal owner

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

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

        // Clear metadata (if any)
        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }

        _holderTokens[owner].remove(tokenId);

        _tokenOwners.remove(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"); // internal owner
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

        _holderTokens[from].remove(tokenId);
        _holderTokens[to].add(tokenId);

        _tokenOwners.set(tokenId, to);

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @dev Internal function to set the base URI for all token IDs. It is
     * automatically added as a prefix to the value returned in {tokenURI},
     * or to the token ID if {tokenURI} is empty.
     */
    function _setBaseURI(string memory baseURI_) internal virtual {
        _baseURI = baseURI_;
    }

    /**
     * @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()) {
            return true;
        }
        bytes memory returndata = to.functionCall(abi.encodeWithSelector(
            IERC721Receiver(to).onERC721Received.selector,
            _msgSender(),
            from,
            tokenId,
            _data
        ), "ERC721: transfer to non ERC721Receiver implementer");
        bytes4 retval = abi.decode(returndata, (bytes4));
        return (retval == _ERC721_RECEIVED);
    }

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

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



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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor () internal {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}


/**
 * @dev ERC721 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 */
abstract contract ERC721Pausable is ERC721, Pausable {
    /**
     * @dev See {ERC721-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        require(!paused(), "ERC721Pausable: token transfer while paused");
    }
}



/**
 * @dev {ERC721} token, including:
 *
 *  - ability for holders to burn (destroy) their tokens
 *  - a minter role that allows for token minting (creation)
 *  - a pauser role that allows to stop all token transfers
 *  - token ID and URI autogeneration
 *
 * This contract uses {AccessControl} to lock permissioned functions using the
 * different roles - head to its documentation for details.
 *
 * The account that deploys the contract will be granted the minter and pauser
 * roles, as well as the default admin role, which will let it grant both minter
 * and pauser roles to other accounts.
 */
contract ERC721PresetMinterPauserAutoId is Context, AccessControl, ERC721Burnable, ERC721Pausable {
    using Counters for Counters.Counter;

    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");

    Counters.Counter internal _tokenIdTracker;

    /**
     * @dev Grants `DEFAULT_ADMIN_ROLE`, `MINTER_ROLE` and `PAUSER_ROLE` to the
     * account that deploys the contract.
     *
     * Token URIs will be autogenerated based on `baseURI` and their token IDs.
     * See {ERC721-tokenURI}.
     */
    constructor(string memory name, string memory symbol, string memory baseURI) public ERC721(name, symbol) {
        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());

        _setupRole(MINTER_ROLE, _msgSender());
        _setupRole(PAUSER_ROLE, _msgSender());

        _setBaseURI(baseURI);
    }

    /**
     * @dev Creates a new token for `to`. Its token ID will be automatically
     * assigned (and available on the emitted {IERC721-Transfer} event), and the token
     * URI autogenerated based on the base URI passed at construction.
     *
     * See {ERC721-_mint}.
     *
     * Requirements:
     *
     * - the caller must have the `MINTER_ROLE`.
     */
    function mint(address to) public virtual {
        require(hasRole(MINTER_ROLE, _msgSender()), "ERC721PresetMinterPauserAutoId: must have minter role to mint");

        // We cannot just use balanceOf to create the new tokenId because tokens
        // can be burned (destroyed), so we need a separate counter.
        _mint(to, _tokenIdTracker.current());
        _tokenIdTracker.increment();
    }

    /**
     * @dev Pauses all token transfers.
     *
     * See {ERC721Pausable} and {Pausable-_pause}.
     *
     * Requirements:
     *
     * - the caller must have the `PAUSER_ROLE`.
     */
    function pause() public virtual {
        require(hasRole(PAUSER_ROLE, _msgSender()), "ERC721PresetMinterPauserAutoId: must have pauser role to pause");
        _pause();
    }

    /**
     * @dev Unpauses all token transfers.
     *
     * See {ERC721Pausable} and {Pausable-_unpause}.
     *
     * Requirements:
     *
     * - the caller must have the `PAUSER_ROLE`.
     */
    function unpause() public virtual {
        require(hasRole(PAUSER_ROLE, _msgSender()), "ERC721PresetMinterPauserAutoId: must have pauser role to unpause");
        _unpause();
    }

    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override(ERC721, ERC721Pausable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }
}


interface IPolymorph is IERC721 {

    function geneOf(uint256 tokenId) external view returns (uint256 gene);
    function mint() external payable;
    function bulkBuy(uint256 amount) external payable;
    function lastTokenId() external view returns (uint256 tokenId);
    function setPolymorphPrice(uint256 newPolymorphPrice) external virtual;
    function setMaxSupply(uint256 maxSupply) external virtual;
    function setBulkBuyLimit(uint256 bulkBuyLimit) external virtual;

}



contract Polymorph is IPolymorph, ERC721PresetMinterPauserAutoId, ReentrancyGuard {
    using PolymorphGeneGenerator for PolymorphGeneGenerator.Gene;
    using SafeMath for uint256;
    using Counters for Counters.Counter;

    PolymorphGeneGenerator.Gene internal geneGenerator;

    address payable public daoAddress;
    uint256 public polymorphPrice;
    uint256 public maxSupply;
    uint256 public bulkBuyLimit;
    string public arweaveAssetsJSON;

    event TokenMorphed(uint256 indexed tokenId, uint256 oldGene, uint256 newGene, uint256 price, Polymorph.PolymorphEventType eventType);
    event TokenMinted(uint256 indexed tokenId, uint256 newGene);
    event PolymorphPriceChanged(uint256 newPolymorphPrice);
    event MaxSupplyChanged(uint256 newMaxSupply);
    event BulkBuyLimitChanged(uint256 newBulkBuyLimit);
    event BaseURIChanged(string baseURI);
    event arweaveAssetsJSONChanged(string arweaveAssetsJSON);
    
    enum PolymorphEventType { MINT, MORPH, TRANSFER }

     // Optional mapping for token URIs
    mapping (uint256 => uint256) internal _genes;

    constructor(string memory name, string memory symbol, string memory baseURI, address payable _daoAddress, uint premintedTokensCount, uint256 _polymorphPrice, uint256 _maxSupply, uint256 _bulkBuyLimit, string memory _arweaveAssetsJSON) ERC721PresetMinterPauserAutoId(name, symbol, baseURI) public {
        daoAddress = _daoAddress;
        polymorphPrice = _polymorphPrice;
        maxSupply = _maxSupply;
        bulkBuyLimit = _bulkBuyLimit;
        arweaveAssetsJSON = _arweaveAssetsJSON;
        geneGenerator.random();

        _preMint(premintedTokensCount);
    }

    function _preMint(uint256 amountToMint) internal { 
        for (uint i = 0; i < amountToMint; i++) {
            _tokenIdTracker.increment();
            uint256 tokenId = _tokenIdTracker.current();
            _genes[tokenId] = geneGenerator.random();
            _mint(_msgSender(), tokenId); 
        }
    }

    modifier onlyDAO() {
        require(msg.sender == daoAddress, "Not called from the dao");
        _;
    }

    function geneOf(uint256 tokenId) public view virtual override returns (uint256 gene) {
        return _genes[tokenId];
    }

    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override(ERC721PresetMinterPauserAutoId) {
        ERC721PresetMinterPauserAutoId._beforeTokenTransfer(from, to, tokenId);
        emit TokenMorphed(tokenId, _genes[tokenId], _genes[tokenId], 0, PolymorphEventType.TRANSFER);
    }

    function mint() public override payable nonReentrant {
        require(_tokenIdTracker.current() < maxSupply, "Total supply reached");

        _tokenIdTracker.increment();

        uint256 tokenId = _tokenIdTracker.current();
        _genes[tokenId] = geneGenerator.random();
        
        (bool transferToDaoStatus, ) = daoAddress.call{value:polymorphPrice}("");
        require(transferToDaoStatus, "Address: unable to send value, recipient may have reverted");

        uint256 excessAmount = msg.value.sub(polymorphPrice);
        if (excessAmount > 0) {
            (bool returnExcessStatus, ) = _msgSender().call{value: excessAmount}("");
            require(returnExcessStatus, "Failed to return excess.");
        }
        
        _mint(_msgSender(), tokenId);

        emit TokenMinted(tokenId, _genes[tokenId]);
        emit TokenMorphed(tokenId, 0, _genes[tokenId], polymorphPrice, PolymorphEventType.MINT);
    }

    function bulkBuy(uint256 amount) public override payable nonReentrant {
        require(amount <= bulkBuyLimit, "Cannot bulk buy more than the preset limit");
        require(_tokenIdTracker.current().add(amount) <= maxSupply, "Total supply reached");
        
        (bool transferToDaoStatus, ) = daoAddress.call{value:polymorphPrice.mul(amount)}("");
        require(transferToDaoStatus, "Address: unable to send value, recipient may have reverted");

        uint256 excessAmount = msg.value.sub(polymorphPrice.mul(amount));
        if (excessAmount > 0) {
            (bool returnExcessStatus, ) = _msgSender().call{value: excessAmount}("");
            require(returnExcessStatus, "Failed to return excess.");
        }

        for (uint256 i = 0; i < amount; i++) {
            _tokenIdTracker.increment();
            
            uint256 tokenId = _tokenIdTracker.current();
            _genes[tokenId] = geneGenerator.random();
            _mint(_msgSender(), tokenId);
            
            emit TokenMinted(tokenId, _genes[tokenId]);
            emit TokenMorphed(tokenId, 0, _genes[tokenId], polymorphPrice, PolymorphEventType.MINT); 
        }
        
    }

    function lastTokenId() public override view returns (uint256 tokenId) {
        return _tokenIdTracker.current();
    }

    function mint(address to) public override(ERC721PresetMinterPauserAutoId) {
        revert("Should not use this one");
    }

    function setPolymorphPrice(uint256 newPolymorphPrice) public override virtual onlyDAO {
        polymorphPrice = newPolymorphPrice;

        emit PolymorphPriceChanged(newPolymorphPrice);
    }

    function setMaxSupply(uint256 _maxSupply) public override virtual onlyDAO {
        maxSupply = _maxSupply;

        emit MaxSupplyChanged(maxSupply);
    }

    function setBulkBuyLimit(uint256 _bulkBuyLimit) public override virtual onlyDAO {
        bulkBuyLimit = _bulkBuyLimit;

        emit BulkBuyLimitChanged(_bulkBuyLimit);
    }

    function setBaseURI(string memory _baseURI) public virtual onlyDAO { 
        _setBaseURI(_baseURI);

        emit BaseURIChanged(_baseURI);
    }

    function setArweaveAssetsJSON(string memory _arweaveAssetsJSON) public virtual onlyDAO {
        arweaveAssetsJSON = _arweaveAssetsJSON;

        emit arweaveAssetsJSONChanged(_arweaveAssetsJSON);
    }

    receive() external payable {
        mint();
    }
    
}



interface IPolymorphWithGeneChanger is IPolymorph {

    function morphGene(uint256 tokenId, uint256 genePosition) external payable;
    function randomizeGenome(uint256 tokenId) external payable virtual;
    function priceForGenomeChange(uint256 tokenId) external virtual view returns(uint256 price);
    function changeBaseGenomeChangePrice(uint256 newGenomeChangePrice) external virtual;
    function changeRandomizeGenomePrice(uint256 newRandomizeGenomePrice) external virtual;

}







contract PolymorphWithGeneChanger is IPolymorphWithGeneChanger, Polymorph {
    using PolymorphGeneGenerator for PolymorphGeneGenerator.Gene;
    using SafeMath for uint256;
    using Address for address;

    mapping(uint256 => uint256) internal _genomeChanges;
    uint256 public baseGenomeChangePrice;
    uint256 public randomizeGenomePrice;

    event BaseGenomeChangePriceChanged(uint256 newGenomeChange);
    event RandomizeGenomePriceChanged(uint256 newRandomizeGenomePriceChange);

    constructor(string memory name, string memory symbol, string memory baseURI, address payable _daoAddress, uint premintedTokensCount, uint256 _baseGenomeChangePrice, uint256 _polymorphPrice, uint256 totalSupply, uint256 _randomizeGenomePrice, uint256 _bulkBuyLimit, string memory _arweaveAssetsJSON) Polymorph(name, symbol, baseURI, _daoAddress, premintedTokensCount, _polymorphPrice, totalSupply, _bulkBuyLimit, _arweaveAssetsJSON) {
        baseGenomeChangePrice = _baseGenomeChangePrice;
        randomizeGenomePrice = _randomizeGenomePrice;
    }

    function changeBaseGenomeChangePrice(uint256 newGenomeChangePrice)  public override virtual onlyDAO {
        baseGenomeChangePrice = newGenomeChangePrice;
        emit BaseGenomeChangePriceChanged(newGenomeChangePrice);
    }

    function changeRandomizeGenomePrice(uint256 newRandomizeGenomePrice)  public override virtual onlyDAO {
        randomizeGenomePrice = newRandomizeGenomePrice;
        emit RandomizeGenomePriceChanged(newRandomizeGenomePrice);
    }

    function morphGene(uint256 tokenId, uint256 genePosition) public payable virtual override nonReentrant {
        require(genePosition > 0, "Base character not morphable");
        _beforeGenomeChange(tokenId);
        uint256 price = priceForGenomeChange(tokenId);
        
        (bool transferToDaoStatus, ) = daoAddress.call{value:price}("");
        require(transferToDaoStatus, "Address: unable to send value, recipient may have reverted");

        uint256 excessAmount = msg.value.sub(price);
        if (excessAmount > 0) {
            (bool returnExcessStatus, ) = _msgSender().call{value: excessAmount}("");
            require(returnExcessStatus, "Failed to return excess.");
        }

        uint256 oldGene = _genes[tokenId];
        uint256 newTrait = geneGenerator.random()%100;
        _genes[tokenId] = replaceGene(oldGene, newTrait, genePosition);
        _genomeChanges[tokenId]++;
        emit TokenMorphed(tokenId, oldGene, oldGene, price, PolymorphEventType.MORPH);
    }

    function replaceGene(uint256 genome, uint256 replacement, uint256 genePosition) internal virtual pure returns(uint256 newGene) {
        require(genePosition < 38, "Bad gene position");
        uint256 mod = 0;
        if (genePosition > 0) {
            mod = genome.mod(10**(genePosition * 2)); // Each gene is 2 digits long
        }
        uint256 div = genome.div(10 ** ((genePosition + 1) * 2)).mul(10 ** ((genePosition + 1) * 2));
        uint256 insert = replacement * (10 ** (genePosition * 2));
        newGene = div.add(insert).add(mod);
        return newGene;
    }

    function randomizeGenome(uint256 tokenId) public payable override virtual nonReentrant {
        _beforeGenomeChange(tokenId);

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

        uint256 excessAmount = msg.value.sub(randomizeGenomePrice);
        if (excessAmount > 0) {
            (bool returnExcessStatus, ) = _msgSender().call{value: excessAmount}("");
            require(returnExcessStatus, "Failed to return excess.");
        }
        
        uint256 oldGene = _genes[tokenId];
        _genes[tokenId] = geneGenerator.random();
        _genomeChanges[tokenId] = 0;
        emit TokenMorphed(tokenId, oldGene, _genes[tokenId], randomizeGenomePrice, PolymorphEventType.MORPH);
    }

    function priceForGenomeChange(uint256 tokenId) public override virtual view returns(uint256 price) {
        uint256 pastChanges = _genomeChanges[tokenId];

        return baseGenomeChangePrice.mul(1 << pastChanges);
    }

    function _beforeGenomeChange(uint256 tokenId) internal virtual {
        require(!address(_msgSender()).isContract(), "Caller cannot be a contract");
        require(ownerOf(tokenId) == _msgSender(), "PolymorphWithGeneChanger: cannot change genome of token that is not own");
    }
    
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"address payable","name":"_daoAddress","type":"address"},{"internalType":"uint256","name":"premintedTokensCount","type":"uint256"},{"internalType":"uint256","name":"_baseGenomeChangePrice","type":"uint256"},{"internalType":"uint256","name":"_polymorphPrice","type":"uint256"},{"internalType":"uint256","name":"totalSupply","type":"uint256"},{"internalType":"uint256","name":"_randomizeGenomePrice","type":"uint256"},{"internalType":"uint256","name":"_bulkBuyLimit","type":"uint256"},{"internalType":"string","name":"_arweaveAssetsJSON","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newGenomeChange","type":"uint256"}],"name":"BaseGenomeChangePriceChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"baseURI","type":"string"}],"name":"BaseURIChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newBulkBuyLimit","type":"uint256"}],"name":"BulkBuyLimitChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"MaxSupplyChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newPolymorphPrice","type":"uint256"}],"name":"PolymorphPriceChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newRandomizeGenomePriceChange","type":"uint256"}],"name":"RandomizeGenomePriceChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newGene","type":"uint256"}],"name":"TokenMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"oldGene","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newGene","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":false,"internalType":"enum Polymorph.PolymorphEventType","name":"eventType","type":"uint8"}],"name":"TokenMorphed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"arweaveAssetsJSON","type":"string"}],"name":"arweaveAssetsJSONChanged","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"arweaveAssetsJSON","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseGenomeChangePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"bulkBuy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"bulkBuyLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newGenomeChangePrice","type":"uint256"}],"name":"changeBaseGenomeChangePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newRandomizeGenomePrice","type":"uint256"}],"name":"changeRandomizeGenomePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"daoAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"geneOf","outputs":[{"internalType":"uint256","name":"gene","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"lastTokenId","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"genePosition","type":"uint256"}],"name":"morphGene","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"polymorphPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"priceForGenomeChange","outputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"randomizeGenome","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"randomizeGenomePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","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":"_arweaveAssetsJSON","type":"string"}],"name":"setArweaveAssetsJSON","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_bulkBuyLimit","type":"uint256"}],"name":"setBulkBuyLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPolymorphPrice","type":"uint256"}],"name":"setPolymorphPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b5060405162004f5138038062004f5183398181016040526101608110156200003857600080fd5b81019080805160405193929190846401000000008211156200005957600080fd5b9083019060208201858111156200006f57600080fd5b82516401000000008111828201881017156200008a57600080fd5b82525081516020918201929091019080838360005b83811015620000b95781810151838201526020016200009f565b50505050905090810190601f168015620000e75780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200010b57600080fd5b9083019060208201858111156200012157600080fd5b82516401000000008111828201881017156200013c57600080fd5b82525081516020918201929091019080838360005b838110156200016b57818101518382015260200162000151565b50505050905090810190601f168015620001995780820380516001836020036101000a031916815260200191505b5060405260200180516040519392919084640100000000821115620001bd57600080fd5b908301906020820185811115620001d357600080fd5b8251640100000000811182820188101715620001ee57600080fd5b82525081516020918201929091019080838360005b838110156200021d57818101518382015260200162000203565b50505050905090810190601f1680156200024b5780820380516001836020036101000a031916815260200191505b5060408181526020830151908301516060840151608085015160a086015160c087015160e08801516101009098018051969a9599949893979296919593949293929184640100000000821115620002a157600080fd5b908301906020820185811115620002b757600080fd5b8251640100000000811182820188101715620002d257600080fd5b82525081516020918201929091019080838360005b8381101562000301578181015183820152602001620002e7565b50505050905090810190601f1680156200032f5780820380516001836020036101000a031916815260200191505b50604052508c91508b90508a8a8a898988888888888282620003586301ffc9a760e01b620004d5565b81516200036d90600790602085019062000afb565b5080516200038390600890602084019062000afb565b50620003966380ac58cd60e01b620004d5565b620003a8635b5e139f60e01b620004d5565b620003ba63780e9d6360e01b620004d5565b5050600b805460ff19169055620003dc6000620003d66200055d565b62000561565b6200040b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6620003d66200055d565b6200043a7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a620003d66200055d565b620004458162000571565b50506001600d5550600f80546001600160a01b0319166001600160a01b03881617905560108490556011839055601282905580516200048c90601390602084019062000afb565b50620004a4600e6200058660201b620029651760201c565b50620004b08562000626565b50505060169b909b555050506017949094555062000ba79a5050505050505050505050565b6001600160e01b0319808216141562000535576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152600160208190526040909120805460ff19169091179055565b3390565b6200056d8282620006a9565b5050565b80516200056d90600a90602084019062000afb565b600033325a8454604080516001600160601b0319606096871b81166020808401919091529590961b9095166034860152604885019290925260688401524260888401524360a88401819052804060c8850152606319014060e8808501919091528151808503909101815261010884018252805190830120610128808501919091528151808503909101815261014890930190528151910120918290555090565b60005b818110156200056d5762000649600c6200072260201b62002a0a1760201c565b600062000662600c6200072b60201b62002a131760201c565b90506200067b600e6200058660201b620029651760201c565b6000828152601460205260409020556200069f620006986200055d565b826200072f565b5060010162000629565b600082815260208181526040909120620006ce91839062002a1762000883821b17901c565b156200056d57620006de6200055d565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b80546001019055565b5490565b6001600160a01b0382166200078b576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b6200079681620008a3565b15620007e9576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b620007f760008383620008c0565b6001600160a01b03821660009081526002602090815260409091206200082891839062002a2c62000935821b17901c565b5062000846818360036200094360201b62002a38179092919060201c565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006200089a836001600160a01b03841662000965565b90505b92915050565b60006200089d826003620009b460201b62002a561790919060201c565b620008d8838383620009c260201b62002a621760201c565b6000818152601460209081526040808320548151818152928301528181019290925260026060820152905182917f8c0bdd7bca83c4e0c810cbecf44bc544a9dc0b9f265664e31ce0ce85f07a052b919081900360800190a2505050565b60006200089a838362000965565b60006200095b84846001600160a01b038516620009df565b90505b9392505050565b600062000973838362000a7a565b620009ab575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556200089d565b5060006200089d565b60006200089a838362000a7a565b620009da83838362000a9260201b62002a691760201c565b505050565b60008281526001840160205260408120548062000a465750506040805180820182528381526020808201848152865460018181018955600089815284812095516002909302909501918255915190820155865486845281880190925292909120556200095e565b8285600001600183038154811062000a5a57fe5b90600052602060002090600202016001018190555060009150506200095e565b60009081526001919091016020526040902054151590565b62000aaa838383620009da60201b620012d71760201c565b62000ab462000af2565b15620009da5760405162461bcd60e51b815260040180806020018281038252602b81526020018062004f26602b913960400191505060405180910390fd5b600b5460ff1690565b828054600181600116156101000203166002900490600052602060002090601f01602090048101928262000b33576000855562000b7e565b82601f1062000b4e57805160ff191683800117855562000b7e565b8280016001018555821562000b7e579182015b8281111562000b7e57825182559160200191906001019062000b61565b5062000b8c92915062000b90565b5090565b5b8082111562000b8c576000815560010162000b91565b61436f8062000bb76000396000f3fe60806040526004361061031e5760003560e01c80636c0360eb116101ab578063b88d4fde116100f7578063d5a83d3e11610095578063e985e9c51161006f578063e985e9c514610cef578063ec9c074c14610d2a578063f528a62714610d3f578063f84ddf0b14610d545761032d565b8063d5a83d3e14610ca8578063d5abeb0114610cc5578063e63ab1e914610cda5761032d565b8063ce14617d116100d1578063ce14617d14610c1b578063d45351e514610c30578063d539139314610c5a578063d547741f14610c6f5761032d565b8063b88d4fde14610af4578063c87b56dd14610bc7578063ca15c87314610bf15761032d565b806391d14854116101645780639e7bb4671161013e5780639e7bb46714610a72578063a217fddf14610a8f578063a22cb46514610aa4578063a49bccca14610adf5761032d565b806391d14854146109fa57806395d89b4114610a3357806398c5c07814610a485761032d565b80636c0360eb1461092e5780636f8b44b014610943578063704ec0361461096d57806370a08231146109825780638456cb59146109b55780639010d07c146109ca5761032d565b806336568abe1161026a57806356a5c926116102235780635e468dfd116101fd5780635e468dfd1461087d5780636352211e146108a75780636a5be686146108d15780636a627842146108fb5761032d565b806356a5c9261461079257806356b1b300146107b55780635c975abb146108685761032d565b806336568abe146105fa5780633f4ba83a1461063357806342842e0e1461064857806342966c681461068b5780634f6ccce7146106b557806355f804b3146106df5761032d565b806318160ddd116102d7578063248a9ca3116102b1578063248a9ca314610534578063289ea0a91461055e5780632f2ff15d146105885780632f745c59146105c15761032d565b806318160ddd146104b55780632131c68c146104dc57806323b872dd146104f15761032d565b8063017f1e341461033257806301ffc9a71461035c57806306fdde03146103a4578063081812fc1461042e578063095ea7b3146104745780631249c58b146104ad5761032d565b3661032d5761032b610d69565b005b600080fd5b34801561033e57600080fd5b5061032b6004803603602081101561035557600080fd5b503561105e565b34801561036857600080fd5b506103906004803603602081101561037f57600080fd5b50356001600160e01b0319166110e6565b604080519115158252519081900360200190f35b3480156103b057600080fd5b506103b9611109565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103f35781810151838201526020016103db565b50505050905090810190601f1680156104205780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561043a57600080fd5b506104586004803603602081101561045157600080fd5b503561119f565b604080516001600160a01b039092168252519081900360200190f35b34801561048057600080fd5b5061032b6004803603604081101561049757600080fd5b506001600160a01b038135169060200135611201565b61032b610d69565b3480156104c157600080fd5b506104ca6112dc565b60408051918252519081900360200190f35b3480156104e857600080fd5b506104586112ed565b3480156104fd57600080fd5b5061032b6004803603606081101561051457600080fd5b506001600160a01b038135811691602081013590911690604001356112fc565b34801561054057600080fd5b506104ca6004803603602081101561055757600080fd5b5035611353565b34801561056a57600080fd5b5061032b6004803603602081101561058157600080fd5b5035611368565b34801561059457600080fd5b5061032b600480360360408110156105ab57600080fd5b50803590602001356001600160a01b03166113f0565b3480156105cd57600080fd5b506104ca600480360360408110156105e457600080fd5b506001600160a01b03813516906020013561145c565b34801561060657600080fd5b5061032b6004803603604081101561061d57600080fd5b50803590602001356001600160a01b0316611487565b34801561063f57600080fd5b5061032b6114e8565b34801561065457600080fd5b5061032b6004803603606081101561066b57600080fd5b506001600160a01b03813581169160208101359091169060400135611559565b34801561069757600080fd5b5061032b600480360360208110156106ae57600080fd5b5035611574565b3480156106c157600080fd5b506104ca600480360360208110156106d857600080fd5b50356115c6565b3480156106eb57600080fd5b5061032b6004803603602081101561070257600080fd5b81019060208101813564010000000081111561071d57600080fd5b82018360208201111561072f57600080fd5b8035906020019184600183028401116401000000008311171561075157600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506115dc945050505050565b61032b600480360360408110156107a857600080fd5b50803590602001356116ce565b3480156107c157600080fd5b5061032b600480360360208110156107d857600080fd5b8101906020810181356401000000008111156107f357600080fd5b82018360208201111561080557600080fd5b8035906020019184600183028401116401000000008311171561082757600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611970945050505050565b34801561087457600080fd5b50610390611a2c565b34801561088957600080fd5b5061032b600480360360208110156108a057600080fd5b5035611a35565b3480156108b357600080fd5b50610458600480360360208110156108ca57600080fd5b5035611abd565b3480156108dd57600080fd5b506104ca600480360360208110156108f457600080fd5b5035611ae5565b34801561090757600080fd5b5061032b6004803603602081101561091e57600080fd5b50356001600160a01b0316611af7565b34801561093a57600080fd5b506103b9611b44565b34801561094f57600080fd5b5061032b6004803603602081101561096657600080fd5b5035611ba5565b34801561097957600080fd5b506104ca611c2d565b34801561098e57600080fd5b506104ca600480360360208110156109a557600080fd5b50356001600160a01b0316611c33565b3480156109c157600080fd5b5061032b611c9b565b3480156109d657600080fd5b50610458600480360360408110156109ed57600080fd5b5080359060200135611d0a565b348015610a0657600080fd5b5061039060048036036040811015610a1d57600080fd5b50803590602001356001600160a01b0316611d22565b348015610a3f57600080fd5b506103b9611d3a565b348015610a5457600080fd5b5061032b60048036036020811015610a6b57600080fd5b5035611d9b565b61032b60048036036020811015610a8857600080fd5b5035611e23565b348015610a9b57600080fd5b506104ca612055565b348015610ab057600080fd5b5061032b60048036036040811015610ac757600080fd5b506001600160a01b038135169060200135151561205a565b348015610aeb57600080fd5b506104ca61215f565b348015610b0057600080fd5b5061032b60048036036080811015610b1757600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135640100000000811115610b5257600080fd5b820183602082011115610b6457600080fd5b80359060200191846001830284011164010000000083111715610b8657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612165945050505050565b348015610bd357600080fd5b506103b960048036036020811015610bea57600080fd5b50356121c3565b348015610bfd57600080fd5b506104ca60048036036020811015610c1457600080fd5b5035612446565b348015610c2757600080fd5b506104ca61245d565b348015610c3c57600080fd5b506104ca60048036036020811015610c5357600080fd5b5035612463565b348015610c6657600080fd5b506104ca612489565b348015610c7b57600080fd5b5061032b60048036036040811015610c9257600080fd5b50803590602001356001600160a01b03166124ad565b61032b60048036036020811015610cbe57600080fd5b5035612506565b348015610cd157600080fd5b506104ca61286d565b348015610ce657600080fd5b506104ca612873565b348015610cfb57600080fd5b5061039060048036036040811015610d1257600080fd5b506001600160a01b0381358116916020013516612897565b348015610d3657600080fd5b506104ca6128c5565b348015610d4b57600080fd5b506103b96128cb565b348015610d6057600080fd5b506104ca612959565b6002600d541415610daf576040805162461bcd60e51b815260206004820152601f6024820152600080516020613efc833981519152604482015290519081900360640190fd5b6002600d55601154610dc1600c612a13565b10610e0a576040805162461bcd60e51b8152602060048201526014602482015273151bdd185b081cdd5c1c1b1e481c995858da195960621b604482015290519081900360640190fd5b610e14600c612a0a565b6000610e20600c612a13565b9050610e2c600e612965565b60008281526014602052604080822092909255600f54601054925191926001600160a01b03909116918381818185875af1925050503d8060008114610e8d576040519150601f19603f3d011682016040523d82523d6000602084013e610e92565b606091505b5050905080610ed25760405162461bcd60e51b815260040180806020018281038252603a815260200180614041603a913960400191505060405180910390fd5b6000610ee960105434612ab890919063ffffffff16565b90508015610f9e576000610efb612b15565b6040516001600160a01b0391909116908390600081818185875af1925050503d8060008114610f46576040519150601f19603f3d011682016040523d82523d6000602084013e610f4b565b606091505b5050905080610f9c576040805162461bcd60e51b81526020600482015260186024820152772330b4b632b2103a37903932ba3ab9371032bc31b2b9b99760411b604482015290519081900360640190fd5b505b610faf610fa9612b15565b84612b19565b600083815260146020908152604091829020548251908152915185927f5f7666687319b40936f33c188908d86aea154abd3f4127b4fa0a3f04f303c7da92908290030190a2826000805160206141848339815191526000601460008781526020019081526020016000205460105460006040518085815260200184815260200183815260200182600281111561104157fe5b815260200194505050505060405180910390a250506001600d5550565b600f546001600160a01b031633146110ab576040805162461bcd60e51b81526020600482015260176024820152600080516020614021833981519152604482015290519081900360640190fd5b60108190556040805182815290517f6a08b3bba14e54ee218389c7c7444e619f3897465dc06757938cfd01a6957f6c9181900360200190a150565b6001600160e01b0319811660009081526001602052604090205460ff165b919050565b60078054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156111955780601f1061116a57610100808354040283529160200191611195565b820191906000526020600020905b81548152906001019060200180831161117857829003601f168201915b5050505050905090565b60006111aa82612c47565b6111e55760405162461bcd60e51b815260040180806020018281038252602c8152602001806141c5602c913960400191505060405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061120c82611abd565b9050806001600160a01b0316836001600160a01b0316141561125f5760405162461bcd60e51b81526004018080602001828103825260218152602001806142496021913960400191505060405180910390fd5b806001600160a01b0316611271612b15565b6001600160a01b0316148061129257506112928161128d612b15565b612897565b6112cd5760405162461bcd60e51b81526004018080602001828103825260388152602001806140d76038913960400191505060405180910390fd5b6112d78383612c54565b505050565b60006112e86003612cc2565b905090565b600f546001600160a01b031681565b61130d611307612b15565b82612ccd565b6113485760405162461bcd60e51b815260040180806020018281038252603181526020018061426a6031913960400191505060405180910390fd5b6112d7838383612d69565b60009081526020819052604090206002015490565b600f546001600160a01b031633146113b5576040805162461bcd60e51b81526020600482015260176024820152600080516020614021833981519152604482015290519081900360640190fd5b60168190556040805182815290517fb1d78271daba9a366098d40b64d642a1399cabaa22c5234bacc87e92cef82ae69181900360200190a150565b6000828152602081905260409020600201546114139061140e612b15565b611d22565b61144e5760405162461bcd60e51b815260040180806020018281038252602f815260200180613ecd602f913960400191505060405180910390fd5b6114588282612eb5565b5050565b6001600160a01b038216600090815260026020526040812061147e9083612f1e565b90505b92915050565b61148f612b15565b6001600160a01b0316816001600160a01b0316146114de5760405162461bcd60e51b815260040180806020018281038252602f81526020018061430b602f913960400191505060405180910390fd5b6114588282612f2a565b6115147f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61140e612b15565b61154f5760405162461bcd60e51b81526004018080602001828103825260408152602001806142cb6040913960400191505060405180910390fd5b611557612f93565b565b6112d783838360405180602001604052806000815250612165565b61157f611307612b15565b6115ba5760405162461bcd60e51b815260040180806020018281038252603081526020018061429b6030913960400191505060405180910390fd5b6115c381613033565b50565b6000806115d4600384613100565b509392505050565b600f546001600160a01b03163314611629576040805162461bcd60e51b81526020600482015260176024820152600080516020614021833981519152604482015290519081900360640190fd5b6116328161311c565b7f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf6816040518080602001828103825283818151815260200191508051906020019080838360005b83811015611691578181015183820152602001611679565b50505050905090810190601f1680156116be5780820380516001836020036101000a031916815260200191505b509250505060405180910390a150565b6002600d541415611714576040805162461bcd60e51b815260206004820152601f6024820152600080516020613efc833981519152604482015290519081900360640190fd5b6002600d558061176b576040805162461bcd60e51b815260206004820152601c60248201527f4261736520636861726163746572206e6f74206d6f72706861626c6500000000604482015290519081900360640190fd5b6117748261312f565b600061177f83612463565b600f546040519192506000916001600160a01b039091169083908381818185875af1925050503d80600081146117d1576040519150601f19603f3d011682016040523d82523d6000602084013e6117d6565b606091505b50509050806118165760405162461bcd60e51b815260040180806020018281038252603a815260200180614041603a913960400191505060405180910390fd5b60006118223484612ab8565b905080156118d7576000611834612b15565b6040516001600160a01b0391909116908390600081818185875af1925050503d806000811461187f576040519150601f19603f3d011682016040523d82523d6000602084013e611884565b606091505b50509050806118d5576040805162461bcd60e51b81526020600482015260186024820152772330b4b632b2103a37903932ba3ab9371032bc31b2b9b99760411b604482015290519081900360640190fd5b505b6000858152601460205260408120549060646118f3600e612965565b816118fa57fe5b0690506119088282886131f9565b6000888152601460209081526040808320939093556015815290829020805460019081019091558251858152918201859052818301889052606082015290518891600080516020614184833981519152919081900360800190a250506001600d555050505050565b600f546001600160a01b031633146119bd576040805162461bcd60e51b81526020600482015260176024820152600080516020614021833981519152604482015290519081900360640190fd5b80516119d0906013906020840190613d9e565b5060408051602080825283518183015283517fe1ea6e62a0b360acc613f2021ab3c5d36492a25bce6d0d9940a6b497c87363df938593928392918301919085019080838360008315611691578181015183820152602001611679565b600b5460ff1690565b600f546001600160a01b03163314611a82576040805162461bcd60e51b81526020600482015260176024820152600080516020614021833981519152604482015290519081900360640190fd5b60128190556040805182815290517fa0e0113404674c6f545b966e8ec54db3066a6c720a0054f0bc4b0c900cfff2439181900360200190a150565b60006114818260405180606001604052806029815260200161413960299139600391906132a2565b60009081526014602052604090205490565b6040805162461bcd60e51b815260206004820152601760248201527f53686f756c64206e6f74207573652074686973206f6e65000000000000000000604482015290519081900360640190fd5b600a8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156111955780601f1061116a57610100808354040283529160200191611195565b600f546001600160a01b03163314611bf2576040805162461bcd60e51b81526020600482015260176024820152600080516020614021833981519152604482015290519081900360640190fd5b60118190556040805182815290517f28a10a2e0b5582da7164754cb994f6214b8af6aa7f7e003305fbc09e7106c5139181900360200190a150565b60105481565b60006001600160a01b038216611c7a5760405162461bcd60e51b815260040180806020018281038252602a81526020018061410f602a913960400191505060405180910390fd5b6001600160a01b038216600090815260026020526040902061148190612cc2565b611cc77f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61140e612b15565b611d025760405162461bcd60e51b815260040180806020018281038252603e815260200180613f95603e913960400191505060405180910390fd5b6115576132af565b600082815260208190526040812061147e9083612f1e565b600082815260208190526040812061147e9083613332565b60088054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156111955780601f1061116a57610100808354040283529160200191611195565b600f546001600160a01b03163314611de8576040805162461bcd60e51b81526020600482015260176024820152600080516020614021833981519152604482015290519081900360640190fd5b60178190556040805182815290517fff4da8d01e7184cc8c9d6c57d64b336b1de6d676b6215408967bd071c8da7e3d9181900360200190a150565b6002600d541415611e69576040805162461bcd60e51b815260206004820152601f6024820152600080516020613efc833981519152604482015290519081900360640190fd5b6002600d55611e778161312f565b600f546017546040516000926001600160a01b031691908381818185875af1925050503d8060008114611ec6576040519150601f19603f3d011682016040523d82523d6000602084013e611ecb565b606091505b5050905080611f0b5760405162461bcd60e51b815260040180806020018281038252603a815260200180614041603a913960400191505060405180910390fd5b6000611f2260175434612ab890919063ffffffff16565b90508015611fd7576000611f34612b15565b6040516001600160a01b0391909116908390600081818185875af1925050503d8060008114611f7f576040519150601f19603f3d011682016040523d82523d6000602084013e611f84565b606091505b5050905080611fd5576040805162461bcd60e51b81526020600482015260186024820152772330b4b632b2103a37903932ba3ab9371032bc31b2b9b99760411b604482015290519081900360640190fd5b505b600083815260146020526040902054611ff0600e612965565b6000858152601460208181526040808420948555601582528084209390935590815291546017548251858152938401919091528282015260016060830152518591600080516020614184833981519152919081900360800190a250506001600d555050565b600081565b612062612b15565b6001600160a01b0316826001600160a01b031614156120c8576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b80600660006120d5612b15565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155612119612b15565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b60125481565b612176612170612b15565b83612ccd565b6121b15760405162461bcd60e51b815260040180806020018281038252603181526020018061426a6031913960400191505060405180910390fd5b6121bd84848484613347565b50505050565b60606121ce82612c47565b6122095760405162461bcd60e51b815260040180806020018281038252602f81526020018061421a602f913960400191505060405180910390fd5b60008281526009602090815260409182902080548351601f600260001961010060018616150201909316929092049182018490048402810184019094528084526060939283018282801561229e5780601f106122735761010080835404028352916020019161229e565b820191906000526020600020905b81548152906001019060200180831161228157829003601f168201915b5050505050905060606122af611b44565b90508051600014156122c357509050611104565b8151156123845780826040516020018083805190602001908083835b602083106122fe5780518252601f1990920191602091820191016122df565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b602083106123465780518252601f199092019160209182019101612327565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050611104565b8061238e85613399565b6040516020018083805190602001908083835b602083106123c05780518252601f1990920191602091820191016123a1565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b602083106124085780518252601f1990920191602091820191016123e9565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050919050565b600081815260208190526040812061148190612cc2565b60165481565b600081815260156020526040812054601654612482906001831b613474565b9392505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6000828152602081905260409020600201546124cb9061140e612b15565b6114de5760405162461bcd60e51b81526004018080602001828103825260308152602001806140a76030913960400191505060405180910390fd5b6002600d54141561254c576040805162461bcd60e51b815260206004820152601f6024820152600080516020613efc833981519152604482015290519081900360640190fd5b6002600d556012548111156125925760405162461bcd60e51b815260040180806020018281038252602a815260200180613ff7602a913960400191505060405180910390fd5b6011546125a9826125a3600c612a13565b906134cd565b11156125f3576040805162461bcd60e51b8152602060048201526014602482015273151bdd185b081cdd5c1c1b1e481c995858da195960621b604482015290519081900360640190fd5b600f546010546000916001600160a01b0316906126109084613474565b604051600081818185875af1925050503d806000811461264c576040519150601f19603f3d011682016040523d82523d6000602084013e612651565b606091505b50509050806126915760405162461bcd60e51b815260040180806020018281038252603a815260200180614041603a913960400191505060405180910390fd5b60006126b26126ab8460105461347490919063ffffffff16565b3490612ab8565b905080156127675760006126c4612b15565b6040516001600160a01b0391909116908390600081818185875af1925050503d806000811461270f576040519150601f19603f3d011682016040523d82523d6000602084013e612714565b606091505b5050905080612765576040805162461bcd60e51b81526020600482015260186024820152772330b4b632b2103a37903932ba3ab9371032bc31b2b9b99760411b604482015290519081900360640190fd5b505b60005b838110156128625761277c600c612a0a565b6000612788600c612a13565b9050612794600e612965565b6000828152601460205260409020556127b46127ae612b15565b82612b19565b600081815260146020908152604091829020548251908152915183927f5f7666687319b40936f33c188908d86aea154abd3f4127b4fa0a3f04f303c7da92908290030190a2806000805160206141848339815191526000601460008581526020019081526020016000205460105460006040518085815260200184815260200183815260200182600281111561284657fe5b815260200194505050505060405180910390a25060010161276a565b50506001600d555050565b60115481565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b60175481565b6013805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156129515780601f1061292657610100808354040283529160200191612951565b820191906000526020600020905b81548152906001019060200180831161293457829003601f168201915b505050505081565b60006112e8600c612a13565b600033325a8454604080516bffffffffffffffffffffffff19606096871b81166020808401919091529590961b9095166034860152604885019290925260688401524260888401524360a88401819052804060c8850152606319014060e8808501919091528151808503909101815261010884018252805190830120610128808501919091528151808503909101815261014890930190528151910120918290555090565b80546001019055565b5490565b600061147e836001600160a01b038416613527565b600061147e8383613527565b6000612a4e84846001600160a01b038516613571565b949350505050565b600061147e8383613608565b6112d78383835b612a748383836112d7565b612a7c611a2c565b156112d75760405162461bcd60e51b815260040180806020018281038252602b815260200180613ea2602b913960400191505060405180910390fd5b600082821115612b0f576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b3390565b6001600160a01b038216612b74576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b612b7d81612c47565b15612bcf576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b612bdb60008383613620565b6001600160a01b0382166000908152600260205260409020612bfd9082612a2c565b50612c0a60038284612a38565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000611481600383612a56565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612c8982611abd565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061148182612a13565b6000612cd882612c47565b612d135760405162461bcd60e51b815260040180806020018281038252602c81526020018061407b602c913960400191505060405180910390fd5b6000612d1e83611abd565b9050806001600160a01b0316846001600160a01b03161480612d595750836001600160a01b0316612d4e8461119f565b6001600160a01b0316145b80612a4e5750612a4e8185612897565b826001600160a01b0316612d7c82611abd565b6001600160a01b031614612dc15760405162461bcd60e51b81526004018080602001828103825260298152602001806141f16029913960400191505060405180910390fd5b6001600160a01b038216612e065760405162461bcd60e51b8152600401808060200182810382526024815260200180613fd36024913960400191505060405180910390fd5b612e11838383613620565b612e1c600082612c54565b6001600160a01b0383166000908152600260205260409020612e3e9082613676565b506001600160a01b0382166000908152600260205260409020612e619082612a2c565b50612e6e60038284612a38565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000828152602081905260409020612ecd9082612a17565b1561145857612eda612b15565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600061147e8383613682565b6000828152602081905260409020612f4290826136e6565b1561145857612f4f612b15565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b612f9b611a2c565b612fe3576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b600b805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa613016612b15565b604080516001600160a01b039092168252519081900360200190a1565b600061303e82611abd565b905061304c81600084613620565b613057600083612c54565b600082815260096020526040902054600260001961010060018416150201909116041561309557600082815260096020526040812061309591613e2a565b6001600160a01b03811660009081526002602052604090206130b79083613676565b506130c36003836136fb565b5060405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600080808061310f8686613707565b9097909650945050505050565b805161145890600a906020840190613d9e565b61314861313a612b15565b6001600160a01b0316613782565b1561319a576040805162461bcd60e51b815260206004820152601b60248201527f43616c6c65722063616e6e6f74206265206120636f6e74726163740000000000604482015290519081900360640190fd5b6131a2612b15565b6001600160a01b03166131b482611abd565b6001600160a01b0316146115c35760405162461bcd60e51b8152600401808060200182810382526047815260200180613f4e6047913960600191505060405180910390fd5b600060268210613244576040805162461bcd60e51b81526020600482015260116024820152702130b21033b2b732903837b9b4ba34b7b760791b604482015290519081900360640190fd5b6000821561325f5761325c8560028502600a0a613788565b90505b600061327e60026001860102600a0a61327888826137ef565b90613474565b905060028402600a0a8502613297836125a384846134cd565b979650505050505050565b6000612a4e848484613856565b6132b7611a2c565b156132fc576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b600b805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258613016612b15565b600061147e836001600160a01b038416613608565b613352848484612d69565b61335e84848484613920565b6121bd5760405162461bcd60e51b8152600401808060200182810382526032815260200180613f1c6032913960400191505060405180910390fd5b6060816133be57506040805180820190915260018152600360fc1b6020820152611104565b8160005b81156133d657600101600a820491506133c2565b60608167ffffffffffffffff811180156133ef57600080fd5b506040519080825280601f01601f19166020018201604052801561341a576020820181803683370190505b50859350905060001982015b831561346b57600a840660300160f81b8282806001900393508151811061344957fe5b60200101906001600160f81b031916908160001a905350600a84049350613426565b50949350505050565b60008261348357506000611481565b8282028284828161349057fe5b041461147e5760405162461bcd60e51b81526004018080602001828103825260218152602001806141a46021913960400191505060405180910390fd5b60008282018381101561147e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60006135338383613608565b61356957508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155611481565b506000611481565b6000828152600184016020526040812054806135d6575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055612482565b828560000160018303815481106135e957fe5b9060005260206000209060020201600101819055506000915050612482565b60009081526001919091016020526040902054151590565b61362b838383612a62565b600081815260146020908152604080832054815181815292830152818101929092526002606082015290518291600080516020614184833981519152919081900360800190a2505050565b600061147e8383613a88565b815460009082106136c45760405162461bcd60e51b8152600401808060200182810382526022815260200180613e806022913960400191505060405180910390fd5b8260000182815481106136d357fe5b9060005260206000200154905092915050565b600061147e836001600160a01b038416613a88565b600061147e8383613b4e565b81546000908190831061374b5760405162461bcd60e51b81526004018080602001828103825260228152602001806141626022913960400191505060405180910390fd5b600084600001848154811061375c57fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b3b151590565b60008082116137de576040805162461bcd60e51b815260206004820152601860248201527f536166654d6174683a206d6f64756c6f206279207a65726f0000000000000000604482015290519081900360640190fd5b8183816137e757fe5b069392505050565b6000808211613845576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161384e57fe5b049392505050565b600082815260018401602052604081205482816138f15760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156138b657818101518382015260200161389e565b50505050905090810190601f1680156138e35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5084600001600182038154811061390457fe5b9060005260206000209060020201600101549150509392505050565b6000613934846001600160a01b0316613782565b61394057506001612a4e565b6060613a4e630a85bd0160e11b613955612b15565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156139bc5781810151838201526020016139a4565b50505050905090810190601f1680156139e95780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001613f1c603291396001600160a01b0388169190613c22565b90506000818060200190516020811015613a6757600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b60008181526001830160205260408120548015613b445783546000198083019190810190600090879083908110613abb57fe5b9060005260206000200154905080876000018481548110613ad857fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080613b0857fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050611481565b6000915050611481565b60008181526001830160205260408120548015613b445783546000198083019190810190600090879083908110613b8157fe5b9060005260206000209060020201905080876000018481548110613ba157fe5b600091825260208083208454600290930201918255600193840154918401919091558354825289830190526040902090840190558654879080613be057fe5b60008281526020808220600260001990940193840201828155600190810183905592909355888152898201909252604082209190915594506114819350505050565b6060612a4e848460008585613c3685613782565b613c87576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310613cc65780518252601f199092019160209182019101613ca7565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613d28576040519150601f19603f3d011682016040523d82523d6000602084013e613d2d565b606091505b509150915061329782828660608315613d47575081612482565b825115613d575782518084602001fd5b60405162461bcd60e51b81526020600482018181528451602484015284518593919283926044019190850190808383600083156138b657818101518382015260200161389e565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282613dd45760008555613e1a565b82601f10613ded57805160ff1916838001178555613e1a565b82800160010185558215613e1a579182015b82811115613e1a578251825591602001919060010190613dff565b50613e26929150613e6a565b5090565b50805460018160011615610100020316600290046000825580601f10613e5057506115c3565b601f0160209004906000526020600020908101906115c391905b5b80821115613e265760008155600101613e6b56fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732315061757361626c653a20746f6b656e207472616e73666572207768696c6520706175736564416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e745265656e7472616e637947756172643a207265656e7472616e742063616c6c004552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572506f6c796d6f7270685769746847656e654368616e6765723a2063616e6e6f74206368616e67652067656e6f6d65206f6620746f6b656e2074686174206973206e6f74206f776e4552433732315072657365744d696e7465725061757365724175746f49643a206d75737420686176652070617573657220726f6c6520746f2070617573654552433732313a207472616e7366657220746f20746865207a65726f206164647265737343616e6e6f742062756c6b20627579206d6f7265207468616e2074686520707265736574206c696d69744e6f742063616c6c65642066726f6d207468652064616f000000000000000000416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d617920686176652072657665727465644552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b654552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64738c0bdd7bca83c4e0c810cbecf44bc544a9dc0b9f265664e31ce0ce85f07a052b536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f7665644552433732314275726e61626c653a2063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f7665644552433732315072657365744d696e7465725061757365724175746f49643a206d75737420686176652070617573657220726f6c6520746f20756e7061757365416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a26469706673582212201aa051dc3eba1dd5c12b965849920dadeeda117fdb58fe2d214245b6ca2dde7964736f6c634300070500334552433732315061757361626c653a20746f6b656e207472616e73666572207768696c6520706175736564000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000a8047c2a86d5a188b0e15c3c10e2bc144cb272c20000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002386f26fc1000000000000000000000000000000000000000000000000000001140bbd030c40000000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000002386f26fc1000000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000260000000000000000000000000000000000000000000000000000000000000000a506f6c796d6f727068730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054d4f525048000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c68747470733a2f2f75732d63656e7472616c312d706f6c796d6f7270686d657461646174612e636c6f756466756e6374696f6e732e6e65742f696d616765732d66756e6374696f6e3f69643d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003f68747470733a2f2f617277656176652e6e65742f354b4444524135454539702d4277323972794239557a3653764d524e4d4379584b6b4f7a575f5a5439674100

Deployed Bytecode

0x60806040526004361061031e5760003560e01c80636c0360eb116101ab578063b88d4fde116100f7578063d5a83d3e11610095578063e985e9c51161006f578063e985e9c514610cef578063ec9c074c14610d2a578063f528a62714610d3f578063f84ddf0b14610d545761032d565b8063d5a83d3e14610ca8578063d5abeb0114610cc5578063e63ab1e914610cda5761032d565b8063ce14617d116100d1578063ce14617d14610c1b578063d45351e514610c30578063d539139314610c5a578063d547741f14610c6f5761032d565b8063b88d4fde14610af4578063c87b56dd14610bc7578063ca15c87314610bf15761032d565b806391d14854116101645780639e7bb4671161013e5780639e7bb46714610a72578063a217fddf14610a8f578063a22cb46514610aa4578063a49bccca14610adf5761032d565b806391d14854146109fa57806395d89b4114610a3357806398c5c07814610a485761032d565b80636c0360eb1461092e5780636f8b44b014610943578063704ec0361461096d57806370a08231146109825780638456cb59146109b55780639010d07c146109ca5761032d565b806336568abe1161026a57806356a5c926116102235780635e468dfd116101fd5780635e468dfd1461087d5780636352211e146108a75780636a5be686146108d15780636a627842146108fb5761032d565b806356a5c9261461079257806356b1b300146107b55780635c975abb146108685761032d565b806336568abe146105fa5780633f4ba83a1461063357806342842e0e1461064857806342966c681461068b5780634f6ccce7146106b557806355f804b3146106df5761032d565b806318160ddd116102d7578063248a9ca3116102b1578063248a9ca314610534578063289ea0a91461055e5780632f2ff15d146105885780632f745c59146105c15761032d565b806318160ddd146104b55780632131c68c146104dc57806323b872dd146104f15761032d565b8063017f1e341461033257806301ffc9a71461035c57806306fdde03146103a4578063081812fc1461042e578063095ea7b3146104745780631249c58b146104ad5761032d565b3661032d5761032b610d69565b005b600080fd5b34801561033e57600080fd5b5061032b6004803603602081101561035557600080fd5b503561105e565b34801561036857600080fd5b506103906004803603602081101561037f57600080fd5b50356001600160e01b0319166110e6565b604080519115158252519081900360200190f35b3480156103b057600080fd5b506103b9611109565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103f35781810151838201526020016103db565b50505050905090810190601f1680156104205780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561043a57600080fd5b506104586004803603602081101561045157600080fd5b503561119f565b604080516001600160a01b039092168252519081900360200190f35b34801561048057600080fd5b5061032b6004803603604081101561049757600080fd5b506001600160a01b038135169060200135611201565b61032b610d69565b3480156104c157600080fd5b506104ca6112dc565b60408051918252519081900360200190f35b3480156104e857600080fd5b506104586112ed565b3480156104fd57600080fd5b5061032b6004803603606081101561051457600080fd5b506001600160a01b038135811691602081013590911690604001356112fc565b34801561054057600080fd5b506104ca6004803603602081101561055757600080fd5b5035611353565b34801561056a57600080fd5b5061032b6004803603602081101561058157600080fd5b5035611368565b34801561059457600080fd5b5061032b600480360360408110156105ab57600080fd5b50803590602001356001600160a01b03166113f0565b3480156105cd57600080fd5b506104ca600480360360408110156105e457600080fd5b506001600160a01b03813516906020013561145c565b34801561060657600080fd5b5061032b6004803603604081101561061d57600080fd5b50803590602001356001600160a01b0316611487565b34801561063f57600080fd5b5061032b6114e8565b34801561065457600080fd5b5061032b6004803603606081101561066b57600080fd5b506001600160a01b03813581169160208101359091169060400135611559565b34801561069757600080fd5b5061032b600480360360208110156106ae57600080fd5b5035611574565b3480156106c157600080fd5b506104ca600480360360208110156106d857600080fd5b50356115c6565b3480156106eb57600080fd5b5061032b6004803603602081101561070257600080fd5b81019060208101813564010000000081111561071d57600080fd5b82018360208201111561072f57600080fd5b8035906020019184600183028401116401000000008311171561075157600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506115dc945050505050565b61032b600480360360408110156107a857600080fd5b50803590602001356116ce565b3480156107c157600080fd5b5061032b600480360360208110156107d857600080fd5b8101906020810181356401000000008111156107f357600080fd5b82018360208201111561080557600080fd5b8035906020019184600183028401116401000000008311171561082757600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611970945050505050565b34801561087457600080fd5b50610390611a2c565b34801561088957600080fd5b5061032b600480360360208110156108a057600080fd5b5035611a35565b3480156108b357600080fd5b50610458600480360360208110156108ca57600080fd5b5035611abd565b3480156108dd57600080fd5b506104ca600480360360208110156108f457600080fd5b5035611ae5565b34801561090757600080fd5b5061032b6004803603602081101561091e57600080fd5b50356001600160a01b0316611af7565b34801561093a57600080fd5b506103b9611b44565b34801561094f57600080fd5b5061032b6004803603602081101561096657600080fd5b5035611ba5565b34801561097957600080fd5b506104ca611c2d565b34801561098e57600080fd5b506104ca600480360360208110156109a557600080fd5b50356001600160a01b0316611c33565b3480156109c157600080fd5b5061032b611c9b565b3480156109d657600080fd5b50610458600480360360408110156109ed57600080fd5b5080359060200135611d0a565b348015610a0657600080fd5b5061039060048036036040811015610a1d57600080fd5b50803590602001356001600160a01b0316611d22565b348015610a3f57600080fd5b506103b9611d3a565b348015610a5457600080fd5b5061032b60048036036020811015610a6b57600080fd5b5035611d9b565b61032b60048036036020811015610a8857600080fd5b5035611e23565b348015610a9b57600080fd5b506104ca612055565b348015610ab057600080fd5b5061032b60048036036040811015610ac757600080fd5b506001600160a01b038135169060200135151561205a565b348015610aeb57600080fd5b506104ca61215f565b348015610b0057600080fd5b5061032b60048036036080811015610b1757600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135640100000000811115610b5257600080fd5b820183602082011115610b6457600080fd5b80359060200191846001830284011164010000000083111715610b8657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612165945050505050565b348015610bd357600080fd5b506103b960048036036020811015610bea57600080fd5b50356121c3565b348015610bfd57600080fd5b506104ca60048036036020811015610c1457600080fd5b5035612446565b348015610c2757600080fd5b506104ca61245d565b348015610c3c57600080fd5b506104ca60048036036020811015610c5357600080fd5b5035612463565b348015610c6657600080fd5b506104ca612489565b348015610c7b57600080fd5b5061032b60048036036040811015610c9257600080fd5b50803590602001356001600160a01b03166124ad565b61032b60048036036020811015610cbe57600080fd5b5035612506565b348015610cd157600080fd5b506104ca61286d565b348015610ce657600080fd5b506104ca612873565b348015610cfb57600080fd5b5061039060048036036040811015610d1257600080fd5b506001600160a01b0381358116916020013516612897565b348015610d3657600080fd5b506104ca6128c5565b348015610d4b57600080fd5b506103b96128cb565b348015610d6057600080fd5b506104ca612959565b6002600d541415610daf576040805162461bcd60e51b815260206004820152601f6024820152600080516020613efc833981519152604482015290519081900360640190fd5b6002600d55601154610dc1600c612a13565b10610e0a576040805162461bcd60e51b8152602060048201526014602482015273151bdd185b081cdd5c1c1b1e481c995858da195960621b604482015290519081900360640190fd5b610e14600c612a0a565b6000610e20600c612a13565b9050610e2c600e612965565b60008281526014602052604080822092909255600f54601054925191926001600160a01b03909116918381818185875af1925050503d8060008114610e8d576040519150601f19603f3d011682016040523d82523d6000602084013e610e92565b606091505b5050905080610ed25760405162461bcd60e51b815260040180806020018281038252603a815260200180614041603a913960400191505060405180910390fd5b6000610ee960105434612ab890919063ffffffff16565b90508015610f9e576000610efb612b15565b6040516001600160a01b0391909116908390600081818185875af1925050503d8060008114610f46576040519150601f19603f3d011682016040523d82523d6000602084013e610f4b565b606091505b5050905080610f9c576040805162461bcd60e51b81526020600482015260186024820152772330b4b632b2103a37903932ba3ab9371032bc31b2b9b99760411b604482015290519081900360640190fd5b505b610faf610fa9612b15565b84612b19565b600083815260146020908152604091829020548251908152915185927f5f7666687319b40936f33c188908d86aea154abd3f4127b4fa0a3f04f303c7da92908290030190a2826000805160206141848339815191526000601460008781526020019081526020016000205460105460006040518085815260200184815260200183815260200182600281111561104157fe5b815260200194505050505060405180910390a250506001600d5550565b600f546001600160a01b031633146110ab576040805162461bcd60e51b81526020600482015260176024820152600080516020614021833981519152604482015290519081900360640190fd5b60108190556040805182815290517f6a08b3bba14e54ee218389c7c7444e619f3897465dc06757938cfd01a6957f6c9181900360200190a150565b6001600160e01b0319811660009081526001602052604090205460ff165b919050565b60078054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156111955780601f1061116a57610100808354040283529160200191611195565b820191906000526020600020905b81548152906001019060200180831161117857829003601f168201915b5050505050905090565b60006111aa82612c47565b6111e55760405162461bcd60e51b815260040180806020018281038252602c8152602001806141c5602c913960400191505060405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061120c82611abd565b9050806001600160a01b0316836001600160a01b0316141561125f5760405162461bcd60e51b81526004018080602001828103825260218152602001806142496021913960400191505060405180910390fd5b806001600160a01b0316611271612b15565b6001600160a01b0316148061129257506112928161128d612b15565b612897565b6112cd5760405162461bcd60e51b81526004018080602001828103825260388152602001806140d76038913960400191505060405180910390fd5b6112d78383612c54565b505050565b60006112e86003612cc2565b905090565b600f546001600160a01b031681565b61130d611307612b15565b82612ccd565b6113485760405162461bcd60e51b815260040180806020018281038252603181526020018061426a6031913960400191505060405180910390fd5b6112d7838383612d69565b60009081526020819052604090206002015490565b600f546001600160a01b031633146113b5576040805162461bcd60e51b81526020600482015260176024820152600080516020614021833981519152604482015290519081900360640190fd5b60168190556040805182815290517fb1d78271daba9a366098d40b64d642a1399cabaa22c5234bacc87e92cef82ae69181900360200190a150565b6000828152602081905260409020600201546114139061140e612b15565b611d22565b61144e5760405162461bcd60e51b815260040180806020018281038252602f815260200180613ecd602f913960400191505060405180910390fd5b6114588282612eb5565b5050565b6001600160a01b038216600090815260026020526040812061147e9083612f1e565b90505b92915050565b61148f612b15565b6001600160a01b0316816001600160a01b0316146114de5760405162461bcd60e51b815260040180806020018281038252602f81526020018061430b602f913960400191505060405180910390fd5b6114588282612f2a565b6115147f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61140e612b15565b61154f5760405162461bcd60e51b81526004018080602001828103825260408152602001806142cb6040913960400191505060405180910390fd5b611557612f93565b565b6112d783838360405180602001604052806000815250612165565b61157f611307612b15565b6115ba5760405162461bcd60e51b815260040180806020018281038252603081526020018061429b6030913960400191505060405180910390fd5b6115c381613033565b50565b6000806115d4600384613100565b509392505050565b600f546001600160a01b03163314611629576040805162461bcd60e51b81526020600482015260176024820152600080516020614021833981519152604482015290519081900360640190fd5b6116328161311c565b7f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf6816040518080602001828103825283818151815260200191508051906020019080838360005b83811015611691578181015183820152602001611679565b50505050905090810190601f1680156116be5780820380516001836020036101000a031916815260200191505b509250505060405180910390a150565b6002600d541415611714576040805162461bcd60e51b815260206004820152601f6024820152600080516020613efc833981519152604482015290519081900360640190fd5b6002600d558061176b576040805162461bcd60e51b815260206004820152601c60248201527f4261736520636861726163746572206e6f74206d6f72706861626c6500000000604482015290519081900360640190fd5b6117748261312f565b600061177f83612463565b600f546040519192506000916001600160a01b039091169083908381818185875af1925050503d80600081146117d1576040519150601f19603f3d011682016040523d82523d6000602084013e6117d6565b606091505b50509050806118165760405162461bcd60e51b815260040180806020018281038252603a815260200180614041603a913960400191505060405180910390fd5b60006118223484612ab8565b905080156118d7576000611834612b15565b6040516001600160a01b0391909116908390600081818185875af1925050503d806000811461187f576040519150601f19603f3d011682016040523d82523d6000602084013e611884565b606091505b50509050806118d5576040805162461bcd60e51b81526020600482015260186024820152772330b4b632b2103a37903932ba3ab9371032bc31b2b9b99760411b604482015290519081900360640190fd5b505b6000858152601460205260408120549060646118f3600e612965565b816118fa57fe5b0690506119088282886131f9565b6000888152601460209081526040808320939093556015815290829020805460019081019091558251858152918201859052818301889052606082015290518891600080516020614184833981519152919081900360800190a250506001600d555050505050565b600f546001600160a01b031633146119bd576040805162461bcd60e51b81526020600482015260176024820152600080516020614021833981519152604482015290519081900360640190fd5b80516119d0906013906020840190613d9e565b5060408051602080825283518183015283517fe1ea6e62a0b360acc613f2021ab3c5d36492a25bce6d0d9940a6b497c87363df938593928392918301919085019080838360008315611691578181015183820152602001611679565b600b5460ff1690565b600f546001600160a01b03163314611a82576040805162461bcd60e51b81526020600482015260176024820152600080516020614021833981519152604482015290519081900360640190fd5b60128190556040805182815290517fa0e0113404674c6f545b966e8ec54db3066a6c720a0054f0bc4b0c900cfff2439181900360200190a150565b60006114818260405180606001604052806029815260200161413960299139600391906132a2565b60009081526014602052604090205490565b6040805162461bcd60e51b815260206004820152601760248201527f53686f756c64206e6f74207573652074686973206f6e65000000000000000000604482015290519081900360640190fd5b600a8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156111955780601f1061116a57610100808354040283529160200191611195565b600f546001600160a01b03163314611bf2576040805162461bcd60e51b81526020600482015260176024820152600080516020614021833981519152604482015290519081900360640190fd5b60118190556040805182815290517f28a10a2e0b5582da7164754cb994f6214b8af6aa7f7e003305fbc09e7106c5139181900360200190a150565b60105481565b60006001600160a01b038216611c7a5760405162461bcd60e51b815260040180806020018281038252602a81526020018061410f602a913960400191505060405180910390fd5b6001600160a01b038216600090815260026020526040902061148190612cc2565b611cc77f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61140e612b15565b611d025760405162461bcd60e51b815260040180806020018281038252603e815260200180613f95603e913960400191505060405180910390fd5b6115576132af565b600082815260208190526040812061147e9083612f1e565b600082815260208190526040812061147e9083613332565b60088054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156111955780601f1061116a57610100808354040283529160200191611195565b600f546001600160a01b03163314611de8576040805162461bcd60e51b81526020600482015260176024820152600080516020614021833981519152604482015290519081900360640190fd5b60178190556040805182815290517fff4da8d01e7184cc8c9d6c57d64b336b1de6d676b6215408967bd071c8da7e3d9181900360200190a150565b6002600d541415611e69576040805162461bcd60e51b815260206004820152601f6024820152600080516020613efc833981519152604482015290519081900360640190fd5b6002600d55611e778161312f565b600f546017546040516000926001600160a01b031691908381818185875af1925050503d8060008114611ec6576040519150601f19603f3d011682016040523d82523d6000602084013e611ecb565b606091505b5050905080611f0b5760405162461bcd60e51b815260040180806020018281038252603a815260200180614041603a913960400191505060405180910390fd5b6000611f2260175434612ab890919063ffffffff16565b90508015611fd7576000611f34612b15565b6040516001600160a01b0391909116908390600081818185875af1925050503d8060008114611f7f576040519150601f19603f3d011682016040523d82523d6000602084013e611f84565b606091505b5050905080611fd5576040805162461bcd60e51b81526020600482015260186024820152772330b4b632b2103a37903932ba3ab9371032bc31b2b9b99760411b604482015290519081900360640190fd5b505b600083815260146020526040902054611ff0600e612965565b6000858152601460208181526040808420948555601582528084209390935590815291546017548251858152938401919091528282015260016060830152518591600080516020614184833981519152919081900360800190a250506001600d555050565b600081565b612062612b15565b6001600160a01b0316826001600160a01b031614156120c8576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b80600660006120d5612b15565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155612119612b15565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b60125481565b612176612170612b15565b83612ccd565b6121b15760405162461bcd60e51b815260040180806020018281038252603181526020018061426a6031913960400191505060405180910390fd5b6121bd84848484613347565b50505050565b60606121ce82612c47565b6122095760405162461bcd60e51b815260040180806020018281038252602f81526020018061421a602f913960400191505060405180910390fd5b60008281526009602090815260409182902080548351601f600260001961010060018616150201909316929092049182018490048402810184019094528084526060939283018282801561229e5780601f106122735761010080835404028352916020019161229e565b820191906000526020600020905b81548152906001019060200180831161228157829003601f168201915b5050505050905060606122af611b44565b90508051600014156122c357509050611104565b8151156123845780826040516020018083805190602001908083835b602083106122fe5780518252601f1990920191602091820191016122df565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b602083106123465780518252601f199092019160209182019101612327565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050611104565b8061238e85613399565b6040516020018083805190602001908083835b602083106123c05780518252601f1990920191602091820191016123a1565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b602083106124085780518252601f1990920191602091820191016123e9565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050919050565b600081815260208190526040812061148190612cc2565b60165481565b600081815260156020526040812054601654612482906001831b613474565b9392505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6000828152602081905260409020600201546124cb9061140e612b15565b6114de5760405162461bcd60e51b81526004018080602001828103825260308152602001806140a76030913960400191505060405180910390fd5b6002600d54141561254c576040805162461bcd60e51b815260206004820152601f6024820152600080516020613efc833981519152604482015290519081900360640190fd5b6002600d556012548111156125925760405162461bcd60e51b815260040180806020018281038252602a815260200180613ff7602a913960400191505060405180910390fd5b6011546125a9826125a3600c612a13565b906134cd565b11156125f3576040805162461bcd60e51b8152602060048201526014602482015273151bdd185b081cdd5c1c1b1e481c995858da195960621b604482015290519081900360640190fd5b600f546010546000916001600160a01b0316906126109084613474565b604051600081818185875af1925050503d806000811461264c576040519150601f19603f3d011682016040523d82523d6000602084013e612651565b606091505b50509050806126915760405162461bcd60e51b815260040180806020018281038252603a815260200180614041603a913960400191505060405180910390fd5b60006126b26126ab8460105461347490919063ffffffff16565b3490612ab8565b905080156127675760006126c4612b15565b6040516001600160a01b0391909116908390600081818185875af1925050503d806000811461270f576040519150601f19603f3d011682016040523d82523d6000602084013e612714565b606091505b5050905080612765576040805162461bcd60e51b81526020600482015260186024820152772330b4b632b2103a37903932ba3ab9371032bc31b2b9b99760411b604482015290519081900360640190fd5b505b60005b838110156128625761277c600c612a0a565b6000612788600c612a13565b9050612794600e612965565b6000828152601460205260409020556127b46127ae612b15565b82612b19565b600081815260146020908152604091829020548251908152915183927f5f7666687319b40936f33c188908d86aea154abd3f4127b4fa0a3f04f303c7da92908290030190a2806000805160206141848339815191526000601460008581526020019081526020016000205460105460006040518085815260200184815260200183815260200182600281111561284657fe5b815260200194505050505060405180910390a25060010161276a565b50506001600d555050565b60115481565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b60175481565b6013805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156129515780601f1061292657610100808354040283529160200191612951565b820191906000526020600020905b81548152906001019060200180831161293457829003601f168201915b505050505081565b60006112e8600c612a13565b600033325a8454604080516bffffffffffffffffffffffff19606096871b81166020808401919091529590961b9095166034860152604885019290925260688401524260888401524360a88401819052804060c8850152606319014060e8808501919091528151808503909101815261010884018252805190830120610128808501919091528151808503909101815261014890930190528151910120918290555090565b80546001019055565b5490565b600061147e836001600160a01b038416613527565b600061147e8383613527565b6000612a4e84846001600160a01b038516613571565b949350505050565b600061147e8383613608565b6112d78383835b612a748383836112d7565b612a7c611a2c565b156112d75760405162461bcd60e51b815260040180806020018281038252602b815260200180613ea2602b913960400191505060405180910390fd5b600082821115612b0f576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b3390565b6001600160a01b038216612b74576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b612b7d81612c47565b15612bcf576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b612bdb60008383613620565b6001600160a01b0382166000908152600260205260409020612bfd9082612a2c565b50612c0a60038284612a38565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000611481600383612a56565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612c8982611abd565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061148182612a13565b6000612cd882612c47565b612d135760405162461bcd60e51b815260040180806020018281038252602c81526020018061407b602c913960400191505060405180910390fd5b6000612d1e83611abd565b9050806001600160a01b0316846001600160a01b03161480612d595750836001600160a01b0316612d4e8461119f565b6001600160a01b0316145b80612a4e5750612a4e8185612897565b826001600160a01b0316612d7c82611abd565b6001600160a01b031614612dc15760405162461bcd60e51b81526004018080602001828103825260298152602001806141f16029913960400191505060405180910390fd5b6001600160a01b038216612e065760405162461bcd60e51b8152600401808060200182810382526024815260200180613fd36024913960400191505060405180910390fd5b612e11838383613620565b612e1c600082612c54565b6001600160a01b0383166000908152600260205260409020612e3e9082613676565b506001600160a01b0382166000908152600260205260409020612e619082612a2c565b50612e6e60038284612a38565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000828152602081905260409020612ecd9082612a17565b1561145857612eda612b15565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600061147e8383613682565b6000828152602081905260409020612f4290826136e6565b1561145857612f4f612b15565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b612f9b611a2c565b612fe3576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b600b805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa613016612b15565b604080516001600160a01b039092168252519081900360200190a1565b600061303e82611abd565b905061304c81600084613620565b613057600083612c54565b600082815260096020526040902054600260001961010060018416150201909116041561309557600082815260096020526040812061309591613e2a565b6001600160a01b03811660009081526002602052604090206130b79083613676565b506130c36003836136fb565b5060405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600080808061310f8686613707565b9097909650945050505050565b805161145890600a906020840190613d9e565b61314861313a612b15565b6001600160a01b0316613782565b1561319a576040805162461bcd60e51b815260206004820152601b60248201527f43616c6c65722063616e6e6f74206265206120636f6e74726163740000000000604482015290519081900360640190fd5b6131a2612b15565b6001600160a01b03166131b482611abd565b6001600160a01b0316146115c35760405162461bcd60e51b8152600401808060200182810382526047815260200180613f4e6047913960600191505060405180910390fd5b600060268210613244576040805162461bcd60e51b81526020600482015260116024820152702130b21033b2b732903837b9b4ba34b7b760791b604482015290519081900360640190fd5b6000821561325f5761325c8560028502600a0a613788565b90505b600061327e60026001860102600a0a61327888826137ef565b90613474565b905060028402600a0a8502613297836125a384846134cd565b979650505050505050565b6000612a4e848484613856565b6132b7611a2c565b156132fc576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b600b805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258613016612b15565b600061147e836001600160a01b038416613608565b613352848484612d69565b61335e84848484613920565b6121bd5760405162461bcd60e51b8152600401808060200182810382526032815260200180613f1c6032913960400191505060405180910390fd5b6060816133be57506040805180820190915260018152600360fc1b6020820152611104565b8160005b81156133d657600101600a820491506133c2565b60608167ffffffffffffffff811180156133ef57600080fd5b506040519080825280601f01601f19166020018201604052801561341a576020820181803683370190505b50859350905060001982015b831561346b57600a840660300160f81b8282806001900393508151811061344957fe5b60200101906001600160f81b031916908160001a905350600a84049350613426565b50949350505050565b60008261348357506000611481565b8282028284828161349057fe5b041461147e5760405162461bcd60e51b81526004018080602001828103825260218152602001806141a46021913960400191505060405180910390fd5b60008282018381101561147e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60006135338383613608565b61356957508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155611481565b506000611481565b6000828152600184016020526040812054806135d6575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055612482565b828560000160018303815481106135e957fe5b9060005260206000209060020201600101819055506000915050612482565b60009081526001919091016020526040902054151590565b61362b838383612a62565b600081815260146020908152604080832054815181815292830152818101929092526002606082015290518291600080516020614184833981519152919081900360800190a2505050565b600061147e8383613a88565b815460009082106136c45760405162461bcd60e51b8152600401808060200182810382526022815260200180613e806022913960400191505060405180910390fd5b8260000182815481106136d357fe5b9060005260206000200154905092915050565b600061147e836001600160a01b038416613a88565b600061147e8383613b4e565b81546000908190831061374b5760405162461bcd60e51b81526004018080602001828103825260228152602001806141626022913960400191505060405180910390fd5b600084600001848154811061375c57fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b3b151590565b60008082116137de576040805162461bcd60e51b815260206004820152601860248201527f536166654d6174683a206d6f64756c6f206279207a65726f0000000000000000604482015290519081900360640190fd5b8183816137e757fe5b069392505050565b6000808211613845576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161384e57fe5b049392505050565b600082815260018401602052604081205482816138f15760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156138b657818101518382015260200161389e565b50505050905090810190601f1680156138e35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5084600001600182038154811061390457fe5b9060005260206000209060020201600101549150509392505050565b6000613934846001600160a01b0316613782565b61394057506001612a4e565b6060613a4e630a85bd0160e11b613955612b15565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156139bc5781810151838201526020016139a4565b50505050905090810190601f1680156139e95780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001613f1c603291396001600160a01b0388169190613c22565b90506000818060200190516020811015613a6757600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b60008181526001830160205260408120548015613b445783546000198083019190810190600090879083908110613abb57fe5b9060005260206000200154905080876000018481548110613ad857fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080613b0857fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050611481565b6000915050611481565b60008181526001830160205260408120548015613b445783546000198083019190810190600090879083908110613b8157fe5b9060005260206000209060020201905080876000018481548110613ba157fe5b600091825260208083208454600290930201918255600193840154918401919091558354825289830190526040902090840190558654879080613be057fe5b60008281526020808220600260001990940193840201828155600190810183905592909355888152898201909252604082209190915594506114819350505050565b6060612a4e848460008585613c3685613782565b613c87576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310613cc65780518252601f199092019160209182019101613ca7565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613d28576040519150601f19603f3d011682016040523d82523d6000602084013e613d2d565b606091505b509150915061329782828660608315613d47575081612482565b825115613d575782518084602001fd5b60405162461bcd60e51b81526020600482018181528451602484015284518593919283926044019190850190808383600083156138b657818101518382015260200161389e565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282613dd45760008555613e1a565b82601f10613ded57805160ff1916838001178555613e1a565b82800160010185558215613e1a579182015b82811115613e1a578251825591602001919060010190613dff565b50613e26929150613e6a565b5090565b50805460018160011615610100020316600290046000825580601f10613e5057506115c3565b601f0160209004906000526020600020908101906115c391905b5b80821115613e265760008155600101613e6b56fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732315061757361626c653a20746f6b656e207472616e73666572207768696c6520706175736564416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e745265656e7472616e637947756172643a207265656e7472616e742063616c6c004552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572506f6c796d6f7270685769746847656e654368616e6765723a2063616e6e6f74206368616e67652067656e6f6d65206f6620746f6b656e2074686174206973206e6f74206f776e4552433732315072657365744d696e7465725061757365724175746f49643a206d75737420686176652070617573657220726f6c6520746f2070617573654552433732313a207472616e7366657220746f20746865207a65726f206164647265737343616e6e6f742062756c6b20627579206d6f7265207468616e2074686520707265736574206c696d69744e6f742063616c6c65642066726f6d207468652064616f000000000000000000416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d617920686176652072657665727465644552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b654552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64738c0bdd7bca83c4e0c810cbecf44bc544a9dc0b9f265664e31ce0ce85f07a052b536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f7665644552433732314275726e61626c653a2063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f7665644552433732315072657365744d696e7465725061757365724175746f49643a206d75737420686176652070617573657220726f6c6520746f20756e7061757365416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a26469706673582212201aa051dc3eba1dd5c12b965849920dadeeda117fdb58fe2d214245b6ca2dde7964736f6c63430007050033

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

000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000a8047c2a86d5a188b0e15c3c10e2bc144cb272c20000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002386f26fc1000000000000000000000000000000000000000000000000000001140bbd030c40000000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000002386f26fc1000000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000260000000000000000000000000000000000000000000000000000000000000000a506f6c796d6f727068730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054d4f525048000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c68747470733a2f2f75732d63656e7472616c312d706f6c796d6f7270686d657461646174612e636c6f756466756e6374696f6e732e6e65742f696d616765732d66756e6374696f6e3f69643d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003f68747470733a2f2f617277656176652e6e65742f354b4444524135454539702d4277323972794239557a3653764d524e4d4379584b6b4f7a575f5a5439674100

-----Decoded View---------------
Arg [0] : name (string): Polymorphs
Arg [1] : symbol (string): MORPH
Arg [2] : baseURI (string): https://us-central1-polymorphmetadata.cloudfunctions.net/images-function?id=
Arg [3] : _daoAddress (address): 0xa8047C2a86D5A188B0e15C3C10E2bc144cB272C2
Arg [4] : premintedTokensCount (uint256): 0
Arg [5] : _baseGenomeChangePrice (uint256): 10000000000000000
Arg [6] : _polymorphPrice (uint256): 77700000000000000
Arg [7] : totalSupply (uint256): 10000
Arg [8] : _randomizeGenomePrice (uint256): 10000000000000000
Arg [9] : _bulkBuyLimit (uint256): 20
Arg [10] : _arweaveAssetsJSON (string): https://arweave.net/5KDDRA5EE9p-Bw29ryB9Uz6SvMRNMCyXKkOzW_ZT9gA

-----Encoded View---------------
22 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [1] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [3] : 000000000000000000000000a8047c2a86d5a188b0e15c3c10e2bc144cb272c2
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [5] : 000000000000000000000000000000000000000000000000002386f26fc10000
Arg [6] : 00000000000000000000000000000000000000000000000001140bbd030c4000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [8] : 000000000000000000000000000000000000000000000000002386f26fc10000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000260
Arg [11] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [12] : 506f6c796d6f7270687300000000000000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [14] : 4d4f525048000000000000000000000000000000000000000000000000000000
Arg [15] : 000000000000000000000000000000000000000000000000000000000000004c
Arg [16] : 68747470733a2f2f75732d63656e7472616c312d706f6c796d6f7270686d6574
Arg [17] : 61646174612e636c6f756466756e6374696f6e732e6e65742f696d616765732d
Arg [18] : 66756e6374696f6e3f69643d0000000000000000000000000000000000000000
Arg [19] : 000000000000000000000000000000000000000000000000000000000000003f
Arg [20] : 68747470733a2f2f617277656176652e6e65742f354b4444524135454539702d
Arg [21] : 4277323972794239557a3653764d524e4d4379584b6b4f7a575f5a5439674100


Deployed Bytecode Sourcemap

89048:4554:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;88509:6;:4;:6::i;:::-;89048:4554;;;;;87539:197;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;87539:197:0;;:::i;46432:150::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46432:150:0;-1:-1:-1;;;;;;46432:150:0;;:::i;:::-;;;;;;;;;;;;;;;;;;62218:100;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65004:221;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;65004:221:0;;:::i;:::-;;;;-1:-1:-1;;;;;65004:221:0;;;;;;;;;;;;;;64534:404;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;64534:404:0;;;;;;;;:::i;85108:951::-;;;:::i;64012:211::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;82793:33;;;;;;;;;;;;;:::i;65894:305::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;65894:305:0;;;;;;;;;;;;;;;;;:::i;34614:114::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34614:114:0;;:::i;90115:229::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;90115:229:0;;:::i;34990:227::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34990:227:0;;;;;;-1:-1:-1;;;;;34990:227:0;;:::i;63774:162::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;63774:162:0;;;;;;;;:::i;36199:209::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36199:209:0;;;;;;-1:-1:-1;;;;;36199:209:0;;:::i;81613:185::-;;;;;;;;;;;;;:::i;66270:151::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;66270:151:0;;;;;;;;;;;;;;;;;:::i;75514:245::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;75514:245:0;;:::i;64300:172::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;64300:172:0;;:::i;88099:150::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;88099:150:0;;-1:-1:-1;88099:150:0;;-1:-1:-1;;;;;88099:150:0:i;90595:1015::-;;;;;;;;;;;;;;;;-1:-1:-1;90595:1015:0;;;;;;;:::i;88257:206::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;88257:206:0;;-1:-1:-1;88257:206:0;;-1:-1:-1;;;;;88257:206:0:i;76759:86::-;;;;;;;;;;;;;:::i;87912:179::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;87912:179:0;;:::i;61974:177::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;61974:177:0;;:::i;84643:126::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;84643:126:0;;:::i;87405:::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;87405:126:0;-1:-1:-1;;;;;87405:126:0;;:::i;63593:97::-;;;;;;;;;;;;;:::i;87744:160::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;87744:160:0;;:::i;82833:29::-;;;;;;;;;;;;;:::i;61691:221::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;61691:221:0;-1:-1:-1;;;;;61691:221:0;;:::i;81215:179::-;;;;;;;;;;;;;:::i;34287:138::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34287:138:0;;;;;;;:::i;33248:139::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33248:139:0;;;;;;-1:-1:-1;;;;;33248:139:0;;:::i;62387:104::-;;;;;;;;;;;;;:::i;90352:235::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;90352:235:0;;:::i;92215:852::-;;;;;;;;;;;;;;;;-1:-1:-1;92215:852:0;;:::i;31993:49::-;;;;;;;;;;;;;:::i;65297:295::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;65297:295:0;;;;;;;;;;:::i;82900:27::-;;;;;;;;;;;;;:::i;66492:285::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;66492:285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66492:285:0;;-1:-1:-1;66492:285:0;;-1:-1:-1;;;;;66492:285:0:i;62562:792::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62562:792:0;;:::i;33561:127::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33561:127:0;;:::i;89321:36::-;;;;;;;;;;;;;:::i;93075:226::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;93075:226:0;;:::i;79454:62::-;;;;;;;;;;;;;:::i;35462:230::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35462:230:0;;;;;;-1:-1:-1;;;;;35462:230:0;;:::i;86067:1201::-;;;;;;;;;;;;;;;;-1:-1:-1;86067:1201:0;;:::i;82869:24::-;;;;;;;;;;;;;:::i;79523:62::-;;;;;;;;;;;;;:::i;65663:164::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;65663:164:0;;;;;;;;;;:::i;89364:35::-;;;;;;;;;;;;;:::i;82934:31::-;;;;;;;;;;;;;:::i;87276:121::-;;;;;;;;;;;;;:::i;85108:951::-;17444:1;18050:7;;:19;;18042:63;;;;;-1:-1:-1;;;18042:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;18042:63:0;;;;;;;;;;;;;;;17444:1;18183:7;:18;85208:9:::1;::::0;85180:25:::1;:15;:23;:25::i;:::-;:37;85172:70;;;::::0;;-1:-1:-1;;;85172:70:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;85172:70:0;;;;;;;;;;;;;::::1;;85255:27;:15;:25;:27::i;:::-;85295:15;85313:25;:15;:23;:25::i;:::-;85295:43;;85367:22;:13;:20;:22::i;:::-;85349:15;::::0;;;:6:::1;:15;::::0;;;;;:40;;;;85441:10:::1;::::0;85463:14:::1;::::0;85441:41;;85349:15;;-1:-1:-1;;;;;85441:10:0;;::::1;::::0;85349:15;85441:41;85349:15;85441:41;85463:14;85441:10;:41:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;85410:72;;;85501:19;85493:90;;;;-1:-1:-1::0;;;85493:90:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;85596:20;85619:29;85633:14;;85619:9;:13;;:29;;;;:::i;:::-;85596:52:::0;-1:-1:-1;85663:16:0;;85659:191:::1;;85697:23;85726:12;:10;:12::i;:::-;:42;::::0;-1:-1:-1;;;;;85726:17:0;;;::::1;::::0;85751:12;;85726:42:::1;::::0;;;85751:12;85726:17;:42:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;85696:72;;;85791:18;85783:55;;;::::0;;-1:-1:-1;;;85783:55:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;85783:55:0;;;;;;;;;;;;;::::1;;85659:191;;85870:28;85876:12;:10;:12::i;:::-;85890:7;85870:5;:28::i;:::-;85937:15;::::0;;;:6:::1;:15;::::0;;;;;;;;;85916:37;;;;;;;85928:7;;85916:37:::1;::::0;;;;;;;::::1;85982:7;-1:-1:-1::0;;;;;;;;;;;85991:1:0::1;85994:6;:15;86001:7;85994:15;;;;;;;;;;;;86011:14;;86027:23;85969:82;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;17400:1:0;18362:7;:22;-1:-1:-1;85108:951:0:o;87539:197::-;84577:10;;-1:-1:-1;;;;;84577:10:0;84563;:24;84555:60;;;;;-1:-1:-1;;;84555:60:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;84555:60:0;;;;;;;;;;;;;;;87636:14:::1;:34:::0;;;87688:40:::1;::::0;;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;87539:197:::0;:::o;46432:150::-;-1:-1:-1;;;;;;46541:33:0;;46517:4;46541:33;;;:20;:33;;;;;;;;46432:150;;;;:::o;62218:100::-;62305:5;62298:12;;;;;;;;-1:-1:-1;;62298:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62272:13;;62298:12;;62305:5;;62298:12;;62305:5;62298:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62218:100;:::o;65004:221::-;65080:7;65108:16;65116:7;65108;:16::i;:::-;65100:73;;;;-1:-1:-1;;;65100:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;65193:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;65193:24:0;;65004:221::o;64534:404::-;64615:13;64631:23;64646:7;64631:14;:23::i;:::-;64615:39;;64679:5;-1:-1:-1;;;;;64673:11:0;:2;-1:-1:-1;;;;;64673:11:0;;;64665:57;;;;-1:-1:-1;;;64665:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64759:5;-1:-1:-1;;;;;64743:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;64743:21:0;;:69;;;;64768:44;64792:5;64799:12;:10;:12::i;:::-;64768:23;:44::i;:::-;64735:161;;;;-1:-1:-1;;;64735:161:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64909:21;64918:2;64922:7;64909:8;:21::i;:::-;64534:404;;;:::o;64012:211::-;64073:7;64194:21;:12;:19;:21::i;:::-;64187:28;;64012:211;:::o;82793:33::-;;;-1:-1:-1;;;;;82793:33:0;;:::o;65894:305::-;66055:41;66074:12;:10;:12::i;:::-;66088:7;66055:18;:41::i;:::-;66047:103;;;;-1:-1:-1;;;66047:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66163:28;66173:4;66179:2;66183:7;66163:9;:28::i;34614:114::-;34671:7;34698:12;;;;;;;;;;:22;;;;34614:114::o;90115:229::-;84577:10;;-1:-1:-1;;;;;84577:10:0;84563;:24;84555:60;;;;;-1:-1:-1;;;84555:60:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;84555:60:0;;;;;;;;;;;;;;;90226:21:::1;:44:::0;;;90286:50:::1;::::0;;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;90115:229:::0;:::o;34990:227::-;35082:6;:12;;;;;;;;;;:22;;;35074:45;;35106:12;:10;:12::i;:::-;35074:7;:45::i;:::-;35066:105;;;;-1:-1:-1;;;35066:105:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35184:25;35195:4;35201:7;35184:10;:25::i;:::-;34990:227;;:::o;63774:162::-;-1:-1:-1;;;;;63898:20:0;;63871:7;63898:20;;;:13;:20;;;;;:30;;63922:5;63898:23;:30::i;:::-;63891:37;;63774:162;;;;;:::o;36199:209::-;36297:12;:10;:12::i;:::-;-1:-1:-1;;;;;36286:23:0;:7;-1:-1:-1;;;;;36286:23:0;;36278:83;;;;-1:-1:-1;;;36278:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36374:26;36386:4;36392:7;36374:11;:26::i;81613:185::-;81666:34;79561:24;81687:12;:10;:12::i;81666:34::-;81658:111;;;;-1:-1:-1;;;81658:111:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;81780:10;:8;:10::i;:::-;81613:185::o;66270:151::-;66374:39;66391:4;66397:2;66401:7;66374:39;;;;;;;;;;;;:16;:39::i;75514:245::-;75632:41;75651:12;:10;:12::i;75632:41::-;75624:102;;;;-1:-1:-1;;;75624:102:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75737:14;75743:7;75737:5;:14::i;:::-;75514:245;:::o;64300:172::-;64375:7;;64417:22;:12;64433:5;64417:15;:22::i;:::-;-1:-1:-1;64395:44:0;64300:172;-1:-1:-1;;;64300:172:0:o;88099:150::-;84577:10;;-1:-1:-1;;;;;84577:10:0;84563;:24;84555:60;;;;;-1:-1:-1;;;84555:60:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;84555:60:0;;;;;;;;;;;;;;;88178:21:::1;88190:8;88178:11;:21::i;:::-;88217:24;88232:8;88217:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;88099:150:::0;:::o;90595:1015::-;17444:1;18050:7;;:19;;18042:63;;;;;-1:-1:-1;;;18042:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;18042:63:0;;;;;;;;;;;;;;;17444:1;18183:7;:18;90717:16;90709:57:::1;;;::::0;;-1:-1:-1;;;90709:57:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;90777:28;90797:7;90777:19;:28::i;:::-;90816:13;90832:29;90853:7;90832:20;:29::i;:::-;90913:10;::::0;:32:::1;::::0;90816:45;;-1:-1:-1;90883:24:0::1;::::0;-1:-1:-1;;;;;90913:10:0;;::::1;::::0;90816:45;;90883:24;90913:32;90883:24;90913:32;90816:45;90913:10;:32:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90882:63;;;90964:19;90956:90;;;;-1:-1:-1::0;;;90956:90:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91059:20;91082;:9;91096:5:::0;91082:13:::1;:20::i;:::-;91059:43:::0;-1:-1:-1;91117:16:0;;91113:191:::1;;91151:23;91180:12;:10;:12::i;:::-;:42;::::0;-1:-1:-1;;;;;91180:17:0;;;::::1;::::0;91205:12;;91180:42:::1;::::0;;;91205:12;91180:17;:42:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91150:72;;;91245:18;91237:55;;;::::0;;-1:-1:-1;;;91237:55:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;91237:55:0;;;;;;;;;;;;;::::1;;91113:191;;91316:15;91334::::0;;;:6:::1;:15;::::0;;;;;;91402:3:::1;91379:22;:13;:20;:22::i;:::-;:26;;;;;;91360:45;;91434:44;91446:7;91455:8;91465:12;91434:11;:44::i;:::-;91416:15;::::0;;;:6:::1;:15;::::0;;;;;;;:62;;;;91489:14:::1;:23:::0;;;;;;:25;;::::1;::::0;;::::1;::::0;;;91530:72;;;;;;;::::1;::::0;;;;;;;;;;;;;;;91416:15;;-1:-1:-1;;;;;;;;;;;91530:72:0;;;;;;;;::::1;-1:-1:-1::0;;17400:1:0;18362:7;:22;-1:-1:-1;;;;;90595:1015:0:o;88257:206::-;84577:10;;-1:-1:-1;;;;;84577:10:0;84563;:24;84555:60;;;;;-1:-1:-1;;;84555:60:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;84555:60:0;;;;;;;;;;;;;;;88355:38;;::::1;::::0;:17:::1;::::0;:38:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;88411:44:0::1;::::0;;::::1;::::0;;;;;;;::::1;::::0;;;::::1;::::0;88436:18;;88411:44;;;;;;;;;::::1;::::0;;;;;;;::::1;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;76759:86:::0;76830:7;;;;76759:86;:::o;87912:179::-;84577:10;;-1:-1:-1;;;;;84577:10:0;84563;:24;84555:60;;;;;-1:-1:-1;;;84555:60:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;84555:60:0;;;;;;;;;;;;;;;88003:12:::1;:28:::0;;;88049:34:::1;::::0;;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;87912:179:::0;:::o;61974:177::-;62046:7;62073:70;62090:7;62073:70;;;;;;;;;;;;;;;;;:12;;:70;:16;:70::i;84643:126::-;84714:12;84746:15;;;:6;:15;;;;;;;84643:126::o;87405:::-;87490:33;;;-1:-1:-1;;;87490:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;63593:97;63674:8;63667:15;;;;;;;;-1:-1:-1;;63667:15:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63641:13;;63667:15;;63674:8;;63667:15;;63674:8;63667:15;;;;;;;;;;;;;;;;;;;;;;;;87744:160;84577:10;;-1:-1:-1;;;;;84577:10:0;84563;:24;84555:60;;;;;-1:-1:-1;;;84555:60:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;84555:60:0;;;;;;;;;;;;;;;87829:9:::1;:22:::0;;;87869:27:::1;::::0;;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;87744:160:::0;:::o;82833:29::-;;;;:::o;61691:221::-;61763:7;-1:-1:-1;;;;;61791:19:0;;61783:74;;;;-1:-1:-1;;;61783:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;61875:20:0;;;;;;:13;:20;;;;;:29;;:27;:29::i;81215:179::-;81266:34;79561:24;81287:12;:10;:12::i;81266:34::-;81258:109;;;;-1:-1:-1;;;81258:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;81378:8;:6;:8::i;34287:138::-;34360:7;34387:12;;;;;;;;;;:30;;34411:5;34387:23;:30::i;33248:139::-;33317:4;33341:12;;;;;;;;;;:38;;33371:7;33341:29;:38::i;62387:104::-;62476:7;62469:14;;;;;;;;-1:-1:-1;;62469:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62443:13;;62469:14;;62476:7;;62469:14;;62476:7;62469:14;;;;;;;;;;;;;;;;;;;;;;;;90352:235;84577:10;;-1:-1:-1;;;;;84577:10:0;84563;:24;84555:60;;;;;-1:-1:-1;;;84555:60:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;84555:60:0;;;;;;;;;;;;;;;90465:20:::1;:46:::0;;;90527:52:::1;::::0;;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;90352:235:::0;:::o;92215:852::-;17444:1;18050:7;;:19;;18042:63;;;;;-1:-1:-1;;;18042:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;18042:63:0;;;;;;;;;;;;;;;17444:1;18183:7;:18;92313:28:::1;92333:7:::0;92313:19:::1;:28::i;:::-;92385:10;::::0;92407:20:::1;::::0;92385:47:::1;::::0;92355:24:::1;::::0;-1:-1:-1;;;;;92385:10:0::1;::::0;92407:20;92355:24;92385:47;92355:24;92385:47;92407:20;92385:10;:47:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;92354:78;;;92451:19;92443:90;;;;-1:-1:-1::0;;;92443:90:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;92546:20;92569:35;92583:20;;92569:9;:13;;:35;;;;:::i;:::-;92546:58:::0;-1:-1:-1;92619:16:0;;92615:191:::1;;92653:23;92682:12;:10;:12::i;:::-;:42;::::0;-1:-1:-1;;;;;92682:17:0;;;::::1;::::0;92707:12;;92682:42:::1;::::0;;;92707:12;92682:17;:42:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;92652:72;;;92747:18;92739:55;;;::::0;;-1:-1:-1;;;92739:55:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;92739:55:0;;;;;;;;;;;;;::::1;;92615:191;;92826:15;92844::::0;;;:6:::1;:15;::::0;;;;;92888:22:::1;:13;:20;:22::i;:::-;92870:15;::::0;;;:6:::1;:15;::::0;;;;;;;:40;;;92921:14:::1;:23:::0;;;;;:27;;;;92995:15;;;;;93012:20:::1;::::0;92964:95;;;;;;;::::1;::::0;;;;;;;;93034:24:::1;92964:95:::0;;;;;92870:15;;-1:-1:-1;;;;;;;;;;;92964:95:0;;;;;;;;::::1;-1:-1:-1::0;;17400:1:0;18362:7;:22;-1:-1:-1;;92215:852:0:o;31993:49::-;32038:4;31993:49;:::o;65297:295::-;65412:12;:10;:12::i;:::-;-1:-1:-1;;;;;65400:24:0;:8;-1:-1:-1;;;;;65400:24:0;;;65392:62;;;;;-1:-1:-1;;;65392:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;65512:8;65467:18;:32;65486:12;:10;:12::i;:::-;-1:-1:-1;;;;;65467:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;65467:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;65467:53:0;;;;;;;;;;;65551:12;:10;:12::i;:::-;-1:-1:-1;;;;;65536:48:0;;65575:8;65536:48;;;;;;;;;;;;;;;;;;;;65297:295;;:::o;82900:27::-;;;;:::o;66492:285::-;66624:41;66643:12;:10;:12::i;:::-;66657:7;66624:18;:41::i;:::-;66616:103;;;;-1:-1:-1;;;66616:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66730:39;66744:4;66750:2;66754:7;66763:5;66730:13;:39::i;:::-;66492:285;;;;:::o;62562:792::-;62635:13;62669:16;62677:7;62669;:16::i;:::-;62661:76;;;;-1:-1:-1;;;62661:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62776:19;;;;:10;:19;;;;;;;;;62750:45;;;;;;-1:-1:-1;;62750:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:23;;:45;;;62776:19;62750:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62806:18;62827:9;:7;:9::i;:::-;62806:30;;62918:4;62912:18;62934:1;62912:23;62908:72;;;-1:-1:-1;62959:9:0;-1:-1:-1;62952:16:0;;62908:72;63084:23;;:27;63080:108;;63159:4;63165:9;63142:33;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;63142:33:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;63142:33:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;63142:33:0;;;;;;;;;;;;;-1:-1:-1;;63142:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63128:48;;;;;;63080:108;63320:4;63326:18;:7;:16;:18::i;:::-;63303:42;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;63303:42:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;63303:42:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;63303:42:0;;;;;;;;;;;;;-1:-1:-1;;63303:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63289:57;;;;62562:792;;;:::o;33561:127::-;33624:7;33651:12;;;;;;;;;;:29;;:27;:29::i;89321:36::-;;;;:::o;93075:226::-;93159:13;93207:23;;;:14;:23;;;;;;93250:21;;:43;;93276:1;:16;;93250:25;:43::i;:::-;93243:50;93075:226;-1:-1:-1;;;93075:226:0:o;79454:62::-;79492:24;79454:62;:::o;35462:230::-;35555:6;:12;;;;;;;;;;:22;;;35547:45;;35579:12;:10;:12::i;35547:45::-;35539:106;;;;-1:-1:-1;;;35539:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;86067:1201;17444:1;18050:7;;:19;;18042:63;;;;;-1:-1:-1;;;18042:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;18042:63:0;;;;;;;;;;;;;;;17444:1;18183:7;:18;86166:12:::1;::::0;86156:22;::::1;;86148:77;;;;-1:-1:-1::0;;;86148:77:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;86285:9;;86244:37;86274:6;86244:25;:15;:23;:25::i;:::-;:29:::0;::::1;:37::i;:::-;:50;;86236:83;;;::::0;;-1:-1:-1;;;86236:83:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;86236:83:0;;;;;;;;;;;;;::::1;;86371:10;::::0;86393:14:::1;::::0;86341:24:::1;::::0;-1:-1:-1;;;;;86371:10:0::1;::::0;86393:26:::1;::::0;86412:6;86393:18:::1;:26::i;:::-;86371:53;::::0;::::1;::::0;;;;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;86340:84;;;86443:19;86435:90;;;;-1:-1:-1::0;;;86435:90:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;86538:20;86561:41;86575:26;86594:6;86575:14;;:18;;:26;;;;:::i;:::-;86561:9;::::0;:13:::1;:41::i;:::-;86538:64:::0;-1:-1:-1;86617:16:0;;86613:191:::1;;86651:23;86680:12;:10;:12::i;:::-;:42;::::0;-1:-1:-1;;;;;86680:17:0;;;::::1;::::0;86705:12;;86680:42:::1;::::0;;;86705:12;86680:17;:42:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;86650:72;;;86745:18;86737:55;;;::::0;;-1:-1:-1;;;86737:55:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;86737:55:0;;;;;;;;;;;;;::::1;;86613:191;;86821:9;86816:435;86840:6;86836:1;:10;86816:435;;;86868:27;:15;:25;:27::i;:::-;86924:15;86942:25;:15;:23;:25::i;:::-;86924:43;;87000:22;:13;:20;:22::i;:::-;86982:15;::::0;;;:6:::1;:15;::::0;;;;:40;87037:28:::1;87043:12;:10;:12::i;:::-;87057:7;87037:5;:28::i;:::-;87120:15;::::0;;;:6:::1;:15;::::0;;;;;;;;;87099:37;;;;;;;87111:7;;87099:37:::1;::::0;;;;;;;::::1;87169:7;-1:-1:-1::0;;;;;;;;;;;87178:1:0::1;87181:6;:15;87188:7;87181:15;;;;;;;;;;;;87198:14;;87214:23;87156:82;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;86848:3:0::1;;86816:435;;;-1:-1:-1::0;;17400:1:0;18362:7;:22;-1:-1:-1;;86067:1201:0:o;82869:24::-;;;;:::o;79523:62::-;79561:24;79523:62;:::o;65663:164::-;-1:-1:-1;;;;;65784:25:0;;;65760:4;65784:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;65663:164::o;89364:35::-;;;;:::o;82934:31::-;;;;;;;;;;;;;;;-1:-1:-1;;82934:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;87276:121::-;87329:15;87364:25;:15;:23;:25::i;15477:303::-;15527:7;15612:10;15624:9;15635;15646:12;;15595:149;;;-1:-1:-1;;15595:149:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15660:15;15595:149;;;;15677:12;15595:149;;;;;;15691:23;;15595:149;;;;-1:-1:-1;;15726:16:0;15716:27;15595:149;;;;;;;;;;;;;;;;;;;;;;;15585:160;;;;;;15574:172;;;;;;;;;;;;;;;;;;;;;;;;15564:183;;;;;15541:207;;;;-1:-1:-1;15564:183:0;15477:303::o;19552:181::-;19706:19;;19724:1;19706:19;;;19552:181::o;19430:114::-;19522:14;;19430:114::o;26421:152::-;26491:4;26515:50;26520:3;-1:-1:-1;;;;;26540:23:0;;26515:4;:50::i;28115:131::-;28182:4;28206:32;28211:3;28231:5;28206:4;:32::i;54351:185::-;54440:4;54464:64;54469:3;54489;-1:-1:-1;;;;;54503:23:0;;54464:4;:64::i;:::-;54457:71;54351:185;-1:-1:-1;;;;54351:185:0:o;54928:151::-;55012:4;55036:35;55046:3;55066;55036:9;:35::i;81806:187::-;81940:45;81967:4;81973:2;81977:7;78432:241;78542:45;78569:4;78575:2;78579:7;78542:26;:45::i;:::-;78609:8;:6;:8::i;:::-;78608:9;78600:65;;;;-1:-1:-1;;;78600:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3237:158;3295:7;3328:1;3323;:6;;3315:49;;;;;-1:-1:-1;;;3315:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3382:5:0;;;3237:158::o;30026:106::-;30114:10;30026:106;:::o;70159:404::-;-1:-1:-1;;;;;70239:16:0;;70231:61;;;;;-1:-1:-1;;;70231:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70312:16;70320:7;70312;:16::i;:::-;70311:17;70303:58;;;;;-1:-1:-1;;;70303:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;70374:45;70403:1;70407:2;70411:7;70374:20;:45::i;:::-;-1:-1:-1;;;;;70432:17:0;;;;;;:13;:17;;;;;:30;;70454:7;70432:21;:30::i;:::-;-1:-1:-1;70475:29:0;:12;70492:7;70501:2;70475:16;:29::i;:::-;-1:-1:-1;70522:33:0;;70547:7;;-1:-1:-1;;;;;70522:33:0;;;70539:1;;70522:33;;70539:1;;70522:33;70159:404;;:::o;68244:127::-;68309:4;68333:30;:12;68355:7;68333:21;:30::i;74262:192::-;74337:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;74337:29:0;-1:-1:-1;;;;;74337:29:0;;;;;;;;:24;;74391:23;74337:24;74391:14;:23::i;:::-;-1:-1:-1;;;;;74382:46:0;;;;;;;;;;;74262:192;;:::o;55167:123::-;55236:7;55263:19;55271:3;55263:7;:19::i;68538:355::-;68631:4;68656:16;68664:7;68656;:16::i;:::-;68648:73;;;;-1:-1:-1;;;68648:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68732:13;68748:23;68763:7;68748:14;:23::i;:::-;68732:39;;68801:5;-1:-1:-1;;;;;68790:16:0;:7;-1:-1:-1;;;;;68790:16:0;;:51;;;;68834:7;-1:-1:-1;;;;;68810:31:0;:20;68822:7;68810:11;:20::i;:::-;-1:-1:-1;;;;;68810:31:0;;68790:51;:94;;;;68845:39;68869:5;68876:7;68845:23;:39::i;71674:599::-;71799:4;-1:-1:-1;;;;;71772:31:0;:23;71787:7;71772:14;:23::i;:::-;-1:-1:-1;;;;;71772:31:0;;71764:85;;;;-1:-1:-1;;;71764:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;71886:16:0;;71878:65;;;;-1:-1:-1;;;71878:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71956:39;71977:4;71983:2;71987:7;71956:20;:39::i;:::-;72060:29;72077:1;72081:7;72060:8;:29::i;:::-;-1:-1:-1;;;;;72102:19:0;;;;;;:13;:19;;;;;:35;;72129:7;72102:26;:35::i;:::-;-1:-1:-1;;;;;;72148:17:0;;;;;;:13;:17;;;;;:30;;72170:7;72148:21;:30::i;:::-;-1:-1:-1;72191:29:0;:12;72208:7;72217:2;72191:16;:29::i;:::-;;72257:7;72253:2;-1:-1:-1;;;;;72238:27:0;72247:4;-1:-1:-1;;;;;72238:27:0;;;;;;;;;;;71674:599;;;:::o;37442:188::-;37516:6;:12;;;;;;;;;;:33;;37541:7;37516:24;:33::i;:::-;37512:111;;;37598:12;:10;:12::i;:::-;-1:-1:-1;;;;;37571:40:0;37589:7;-1:-1:-1;;;;;37571:40:0;37583:4;37571:40;;;;;;;;;;37442:188;;:::o;29335:137::-;29406:7;29441:22;29445:3;29457:5;29441:3;:22::i;37638:192::-;37713:6;:12;;;;;;;;;;:36;;37741:7;37713:27;:36::i;:::-;37709:114;;;37798:12;:10;:12::i;:::-;-1:-1:-1;;;;;37771:40:0;37789:7;-1:-1:-1;;;;;37771:40:0;37783:4;37771:40;;;;;;;;;;37638:192;;:::o;77818:120::-;77362:8;:6;:8::i;:::-;77354:41;;;;;-1:-1:-1;;;77354:41:0;;;;;;;;;;;;-1:-1:-1;;;77354:41:0;;;;;;;;;;;;;;;77877:7:::1;:15:::0;;-1:-1:-1;;77877:15:0::1;::::0;;77908:22:::1;77917:12;:10;:12::i;:::-;77908:22;::::0;;-1:-1:-1;;;;;77908:22:0;;::::1;::::0;;;;;;;::::1;::::0;;::::1;77818:120::o:0;70792:545::-;70852:13;70868:23;70883:7;70868:14;:23::i;:::-;70852:39;;70922:48;70943:5;70958:1;70962:7;70922:20;:48::i;:::-;71011:29;71028:1;71032:7;71011:8;:29::i;:::-;71099:19;;;;:10;:19;;;;;71093:33;;-1:-1:-1;;71093:33:0;;;;;;;;;;;:38;71089:97;;71155:19;;;;:10;:19;;;;;71148:26;;;:::i;:::-;-1:-1:-1;;;;;71198:20:0;;;;;;:13;:20;;;;;:36;;71226:7;71198:27;:36::i;:::-;-1:-1:-1;71247:28:0;:12;71267:7;71247:19;:28::i;:::-;-1:-1:-1;71293:36:0;;71321:7;;71317:1;;-1:-1:-1;;;;;71293:36:0;;;;;71317:1;;71293:36;70792:545;;:::o;55629:236::-;55709:7;;;;55769:22;55773:3;55785:5;55769:3;:22::i;:::-;55738:53;;;;-1:-1:-1;55629:236:0;-1:-1:-1;;;;;55629:236:0:o;72874:100::-;72947:19;;;;:8;;:19;;;;;:::i;93309:284::-;93392:34;93400:12;:10;:12::i;:::-;-1:-1:-1;;;;;93392:32:0;;:34::i;:::-;93391:35;93383:75;;;;;-1:-1:-1;;;93383:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;93497:12;:10;:12::i;:::-;-1:-1:-1;;;;;93477:32:0;:16;93485:7;93477;:16::i;:::-;-1:-1:-1;;;;;93477:32:0;;93469:116;;;;-1:-1:-1;;;93469:116:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91618:589;91728:15;91779:2;91764:12;:17;91756:47;;;;;-1:-1:-1;;;91756:47:0;;;;;;;;;;;;-1:-1:-1;;;91756:47:0;;;;;;;;;;;;;;;91814:11;91844:16;;91840:119;;91883:34;:6;91914:1;91899:16;;91894:2;:22;91883:10;:34::i;:::-;91877:40;;91840:119;91969:11;91983:78;92058:1;92053;92038:16;;92037:22;92030:2;:30;91983:42;:6;92030:30;91983:10;:42::i;:::-;:46;;:78::i;:::-;91969:92;-1:-1:-1;92126:1:0;92111:16;;92104:2;:24;92089:40;;92150:24;92170:3;92150:15;91969:92;92089:40;92150:7;:15::i;:24::-;92140:34;91618:589;-1:-1:-1;;;;;;;91618:589:0:o;56915:213::-;57022:7;57073:44;57078:3;57098;57104:12;57073:4;:44::i;77559:118::-;77085:8;:6;:8::i;:::-;77084:9;77076:38;;;;;-1:-1:-1;;;77076:38:0;;;;;;;;;;;;-1:-1:-1;;;77076:38:0;;;;;;;;;;;;;;;77619:7:::1;:14:::0;;-1:-1:-1;;77619:14:0::1;77629:4;77619:14;::::0;;77649:20:::1;77656:12;:10;:12::i;26993:167::-:0;27073:4;27097:55;27107:3;-1:-1:-1;;;;;27127:23:0;;27097:9;:55::i;67659:272::-;67773:28;67783:4;67789:2;67793:7;67773:9;:28::i;:::-;67820:48;67843:4;67849:2;67853:7;67862:5;67820:22;:48::i;:::-;67812:111;;;;-1:-1:-1;;;67812:111:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57288:746;57344:13;57565:10;57561:53;;-1:-1:-1;57592:10:0;;;;;;;;;;;;-1:-1:-1;;;57592:10:0;;;;;;57561:53;57639:5;57624:12;57680:78;57687:9;;57680:78;;57713:8;;57744:2;57736:10;;;;57680:78;;;57768:19;57800:6;57790:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57790:17:0;-1:-1:-1;57862:5:0;;-1:-1:-1;57768:39:0;-1:-1:-1;;;57834:10:0;;57878:117;57885:9;;57878:117;;57954:2;57947:4;:9;57942:2;:14;57929:29;;57911:6;57918:7;;;;;;;57911:15;;;;;;;;;;;:47;-1:-1:-1;;;;;57911:47:0;;;;;;;;-1:-1:-1;57981:2:0;57973:10;;;;57878:117;;;-1:-1:-1;58019:6:0;57288:746;-1:-1:-1;;;;57288:746:0:o;3654:220::-;3712:7;3736:6;3732:20;;-1:-1:-1;3751:1:0;3744:8;;3732:20;3775:5;;;3779:1;3775;:5;:1;3799:5;;;;;:10;3791:56;;;;-1:-1:-1;;;3791:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2775:179;2833:7;2865:5;;;2889:6;;;;2881:46;;;;;-1:-1:-1;;;2881:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;21485:414;21548:4;21570:21;21580:3;21585:5;21570:9;:21::i;:::-;21565:327;;-1:-1:-1;21608:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;21791:18;;21769:19;;;:12;;;:19;;;;;;:40;;;;21824:11;;21565:327;-1:-1:-1;21875:5:0;21868:12;;49026:692;49102:4;49237:17;;;:12;;;:17;;;;;;49271:13;49267:444;;-1:-1:-1;;49356:38:0;;;;;;;;;;;;;;;;;;49338:57;;;;;;;;:12;:57;;;;;;;;;;;;;;;;;;;;;;;;49553:19;;49533:17;;;:12;;;:17;;;;;;;:39;49587:11;;49267:444;49667:5;49631:3;:12;;49655:1;49644:8;:12;49631:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;49694:5;49687:12;;;;;51526:125;51597:4;51621:17;;;:12;;;;;:17;;;;;;:22;;;51526:125::o;84777:323::-;84919:70;84971:4;84977:2;84981:7;84919:51;:70::i;:::-;85027:15;;;;:6;:15;;;;;;;;;85005:87;;;;;;;;;;;;;;;;85064:27;85005:87;;;;;;85027:15;;-1:-1:-1;;;;;;;;;;;85005:87:0;;;;;;;;;84777:323;;;:::o;28422:137::-;28492:4;28516:35;28524:3;28544:5;28516:7;:35::i;24373:204::-;24468:18;;24440:7;;24468:26;-1:-1:-1;24460:73:0;;;;-1:-1:-1;;;24460:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24551:3;:11;;24563:5;24551:18;;;;;;;;;;;;;;;;24544:25;;24373:204;;;;:::o;26749:158::-;26822:4;26846:53;26854:3;-1:-1:-1;;;;;26874:23:0;;26846:7;:53::i;54702:142::-;54779:4;54803:33;54811:3;54831;54803:7;:33::i;52211:279::-;52315:19;;52278:7;;;;52315:27;-1:-1:-1;52307:74:0;;;;-1:-1:-1;;;52307:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52394:22;52419:3;:12;;52432:5;52419:19;;;;;;;;;;;;;;;;;;52394:44;;52457:5;:10;;;52469:5;:12;;;52449:33;;;;;52211:279;;;;;:::o;8125:422::-;8492:20;8531:8;;;8125:422::o;4972:151::-;5030:7;5062:1;5058;:5;5050:42;;;;;-1:-1:-1;;;5050:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;5114:1;5110;:5;;;;;;;4972:151;-1:-1:-1;;;4972:151:0:o;4352:153::-;4410:7;4442:1;4438;:5;4430:44;;;;;-1:-1:-1;;;4430:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4496:1;4492;:5;;;;;;;4352:153;-1:-1:-1;;;4352:153:0:o;53708:319::-;53802:7;53841:17;;;:12;;;:17;;;;;;53892:12;53877:13;53869:36;;;;-1:-1:-1;;;53869:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53959:3;:12;;53983:1;53972:8;:12;53959:26;;;;;;;;;;;;;;;;;;:33;;;53952:40;;;53708:319;;;;;:::o;73539:604::-;73660:4;73687:15;:2;-1:-1:-1;;;;;73687:13:0;;:15::i;:::-;73682:60;;-1:-1:-1;73726:4:0;73719:11;;73682:60;73752:23;73778:252;-1:-1:-1;;;73891:12:0;:10;:12::i;:::-;73918:4;73937:7;73959:5;73794:181;;;;;;-1:-1:-1;;;;;73794:181:0;;;;;;-1:-1:-1;;;;;73794:181:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;73794:181:0;;;;;;;-1:-1:-1;;;;;73794:181:0;;;;;;;;;;;73778:252;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;73778:15:0;;;:252;:15;:252::i;:::-;73752:278;;74041:13;74068:10;74057:32;;;;;;;;;;;;;;;-1:-1:-1;74057:32:0;-1:-1:-1;;;;;;74108:26:0;-1:-1:-1;;;74108:26:0;;-1:-1:-1;;;73539:604:0;;;;;;:::o;22075:1544::-;22141:4;22280:19;;;:12;;;:19;;;;;;22316:15;;22312:1300;;22751:18;;-1:-1:-1;;22702:14:0;;;;22751:22;;;;22678:21;;22751:3;;:22;;23038;;;;;;;;;;;;;;23018:42;;23184:9;23155:3;:11;;23167:13;23155:26;;;;;;;;;;;;;;;;;;;:38;;;;23261:23;;;23303:1;23261:12;;;:23;;;;;;23287:17;;;23261:43;;23413:17;;23261:3;;23413:17;;;;;;;;;;;;;;;;;;;;;;23508:3;:12;;:19;23521:5;23508:19;;;;;;;;;;;23501:26;;;23551:4;23544:11;;;;;;;;22312:1300;23595:5;23588:12;;;;;49893:1549;49957:4;50092:17;;;:12;;;:17;;;;;;50126:13;;50122:1313;;50558:19;;-1:-1:-1;;50511:12:0;;;;50558:23;;;;50487:21;;50558:3;;:23;;50855;;;;;;;;;;;;;;;;50826:52;;51003:9;50973:3;:12;;50986:13;50973:27;;;;;;;;;;;;;;;;:39;;:27;;;;;:39;;;;;;;;;;;;;;;51093:14;;51080:28;;:12;;;:28;;;;;51111:17;;;51080:48;;51237:18;;51080:3;;51237:18;;;;;;;;;;;;;;-1:-1:-1;;51237:18:0;;;;;;;;;;;;;;;;;;;;;51333:17;;;:12;;;:17;;;;;;51326:24;;;;51237:18;-1:-1:-1;51367:11:0;;-1:-1:-1;;;;51367:11:0;11043:195;11146:12;11178:52;11200:6;11208:4;11214:1;11217:12;11146;12347:18;12358:6;12347:10;:18::i;:::-;12339:60;;;;;-1:-1:-1;;;12339:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;12473:12;12487:23;12514:6;-1:-1:-1;;;;;12514:11:0;12534:5;12542:4;12514:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;12514:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12472:75;;;;12565:52;12583:7;12592:10;12604:12;14750;14779:7;14775:595;;;-1:-1:-1;14810:10:0;14803:17;;14775:595;14924:17;;:21;14920:439;;15187:10;15181:17;15248:15;15235:10;15231:2;15227:19;15220:44;15135:148;15323:20;;-1:-1:-1;;;15323:20:0;;;;;;;;;;;;;;;;;15330:12;;15323:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://1aa051dc3eba1dd5c12b965849920dadeeda117fdb58fe2d214245b6ca2dde79
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.