ETH Price: $2,441.02 (-0.68%)
 

Overview

TokenID

684

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
ManateezComic

Compiler Version
v0.7.0+commit.9e61f92b

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

/**
 *Submitted for verification at Etherscan.io on 2021-11-20
*/

// SPDX-License-Identifier: MIT

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




// File @openzeppelin/contracts/utils/[email protected]


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


// File @openzeppelin/contracts/introspection/[email protected]


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


// File @openzeppelin/contracts/token/ERC721/[email protected]


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

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

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

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/token/ERC721/[email protected]


/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {

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

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

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


// File @openzeppelin/contracts/token/ERC721/[email protected]


/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

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

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


// File @openzeppelin/contracts/token/ERC721/[email protected]


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


// File @openzeppelin/contracts/introspection/[email protected]


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


// File @openzeppelin/contracts/utils/[email protected]


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


// File @openzeppelin/contracts/utils/[email protected]


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


// File @openzeppelin/contracts/utils/[email protected]


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


// File @openzeppelin/contracts/utils/[email protected]


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


// File @openzeppelin/contracts/token/ERC721/[email protected]












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

    function _approve(address to, uint256 tokenId) private {
        _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 {}
}


// File @openzeppelin/contracts/access/[email protected]


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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

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

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

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}




/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;
    using Address for address;

    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name, string memory symbol) public {
        _name = name;
        _symbol = symbol;
        _decimals = 18;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view returns (uint8) {
        return _decimals;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20};
     *
     * Requirements:
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal {
        _decimals = decimals_;
    }

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



interface IAlgae {
    function sendAlgae(address _to, uint256 _amount) external;
}

interface IMerchPass {
    function ownerOf(uint256 tokenId) external view returns (address owner);
}

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

contract AlgaeToken is ERC20("AlgaeToken", "ALGAE"), Ownable {
    using SafeMath for uint256;
    mapping(address => bool) public canSendAlgae;
    mapping(address => bool) public canBurnAlgae;

    function sendAlgae(address _to, uint256 _amount) external {
        require(canSendAlgae[msg.sender], "Nope!");
        _mint(_to, _amount);
    }
    
    function addCanBurn(address _canBurn) external onlyOwner {
        canBurnAlgae[_canBurn] = true;
    }

    function removeCanBurn(address _canBurn) external onlyOwner {
        canBurnAlgae[_canBurn] = false;
    }

    function addCanSendAlgae(address _canBurn) external onlyOwner {
        canSendAlgae[_canBurn] = true;
    }

    function removeCanSendAlgae(address _canBurn) external onlyOwner {
        canSendAlgae[_canBurn] = false;
    }

    function burn(address _from, uint256 _amount) external {
        require(canBurnAlgae[msg.sender]);
        _burn(_from, _amount);
    }

    constructor() public {}
}

/**
 * @title ManateezComic
 * @dev Extends ERC721 Non-Fungible Token Standard basic implementation
 */
contract ManateezComic is ERC721, Ownable {
    using SafeMath for uint256;

    uint256 public COMIC_PRICE = 0.01 ether;
    uint256 public RESERVED_FOR_TEAM = 500;
    uint256 public TEAM_COUNT = 0;
    uint256 constant OG_TEEZ_PAYMENT = 500000000000000000000;
    
    uint256 constant MERCH_PASS_PAYMENT = 100000000000000000000;
    uint256 constant OG_TEEZ_SUPPLY = 235;

    uint256 public constant MAX_COMICS = 5000;
    uint256 constant public BASE_RATE = 5 ether;
    uint256 constant public INITIAL_ISSUANCE = 100 ether;
    bool public isLive = true;
    bool public ogTeezClaiming = true;
    bool public merchPassClaiming = true;
    

    // 12/31/2031 @11:59:59 EST
    uint256 constant END = 1956545999;

    mapping(address => uint256)  rewards;
    mapping(address => uint256)  lastUpdate;
    mapping(address => uint256)  userBalance;
    mapping(address => bool)  admins;

    mapping(uint256 => bool)  claimedMerchPass;
    mapping(uint256 => bool)  claimedManateez;

    IAlgae  algaetoken;
    IManateez  mightymanateez;
    IMerchPass  merchpass;

    function mintComics(uint numberOfTokens) external payable {
        require(isLive, "Can not mint Comics before the sale has started");
        require(totalSupply().add(numberOfTokens) <= MAX_COMICS, "Purchase would exceed max supply of Comics");
        require(COMIC_PRICE.mul(numberOfTokens) <= msg.value, "Ether value sent is not correct");


        updateRewardOnMint(msg.sender, numberOfTokens);
        userBalance[msg.sender] += numberOfTokens;

        for (uint i = 0; i < numberOfTokens; i++) {
            uint mintIndex = totalSupply();
            if (totalSupply() < MAX_COMICS) {
                _safeMint(msg.sender, mintIndex + RESERVED_FOR_TEAM);
            }
        }
    }

    function getTotalClaimable(address _user) external view returns (uint256) {
        uint256 time = min(block.timestamp, END);
        uint256 pending = userBalance[_user].mul(BASE_RATE.mul((time.sub(lastUpdate[_user])))).div(86400);
        return rewards[_user] + pending;
    }

    function updateReward(address _from, address _to) private {
        uint256 time = min(block.timestamp, END);
        uint256 timerFrom = lastUpdate[_from];

        if (timerFrom > 0)
            rewards[_from] += userBalance[_from].mul(BASE_RATE.mul((time.sub(timerFrom)))).div(86400);
        if (timerFrom != END)
            lastUpdate[_from] = time;
        if (_to != address(0)) {
            uint256 timerTo = lastUpdate[_to];
            if (timerTo > 0)
                rewards[_to] += userBalance[_to].mul(BASE_RATE.mul((time.sub(timerTo)))).div(86400);
            if (timerTo != END)
                lastUpdate[_to] = time;
        }
    }

    function getReward() external {
        address _user = msg.sender;
        updateReward(_user, address(0));
        uint256 reward = rewards[_user];
        if (rewards[_user] > 0) {
            rewards[_user] = 0;
            algaetoken.sendAlgae(_user, reward);
        }
    }

    function transferFrom(address from, address to, uint256 tokenId) public override {
        updateReward(from, to);
        userBalance[from]--;
        userBalance[to]++;
        ERC721.transferFrom(from, to, tokenId);
    }

    function updateRewardOnMint(address _user, uint256 _amount) private {
        uint256 time = min(block.timestamp, END);
        uint256 timerUser = lastUpdate[_user];
        if (timerUser > 0)
            rewards[_user] = rewards[_user].add(userBalance[_user].mul(BASE_RATE.mul((time.sub(timerUser)))).div(86400)
            .add(_amount.mul(INITIAL_ISSUANCE)));
        else
            rewards[_user] = rewards[_user].add(_amount.mul(INITIAL_ISSUANCE));
        lastUpdate[_user] = time;
    }

    function reserveForTeam(uint _amount, address _to) external {
        require(admins[msg.sender], "You are not admin");
        require(TEAM_COUNT.add(_amount) <= RESERVED_FOR_TEAM, "Can not mint more than 500 tokens for the team");
    
        updateRewardOnMint(_to, _amount);
        userBalance[_to] += _amount;

        for (uint i = 0; i < _amount; i++) {
            _safeMint(_to, TEAM_COUNT);
            TEAM_COUNT++;
        }
    }

    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    function setBaseURI(string memory baseURI) external {
        require(admins[msg.sender], "You are not admin");
        _setBaseURI(baseURI);
    }

    function updateNFTPrice(uint256 _price) external {
        require(admins[msg.sender], "You are not admin");       
        COMIC_PRICE = _price;
    }

    function goLive() external {
        require(admins[msg.sender], "You are not admin");
        isLive = true;
    }

    function stopLive() external {
        require(admins[msg.sender], "You are not admin");
        isLive = false;
    }

    function withdraw() public onlyOwner {
        uint256 balance = address(this).balance;
        msg.sender.transfer(balance);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public override {
        updateReward(from, to);
        userBalance[from]--;
        userBalance[to]++;
        ERC721.safeTransferFrom(from, to, tokenId, _data);
    }

    function claimAlgaeForOGTeez(uint256[] memory tokenIds) external{
        require(ogTeezClaiming, "OG Teez claiming is disabled");
        address _user = msg.sender;
        // uint256 ownersSupply = mightymanateez.balanceOf(_user);
        uint256 amountToReward = 0;
        for(uint i = 0; i < tokenIds.length; i++){
            if(mightymanateez.ownerOf(tokenIds[i]) == _user && !claimedManateez[tokenIds[i]]){
                amountToReward++;
                claimedManateez[tokenIds[i]] = true;
            }
        }

        if(amountToReward > 0){
            algaetoken.sendAlgae(_user, OG_TEEZ_PAYMENT.mul(amountToReward));
        }
    }

    function checkTeezClaimed(uint256 _id) external view returns(bool){
        return claimedManateez[_id];
    }

    function claimAlgaeForMerchPass(uint256 _id) external {
        require(merchPassClaiming, "MerchPass claiming is disabled");
        require(merchpass.ownerOf(_id) == msg.sender, "You don't own that MerchPass");
        require(!claimedMerchPass[_id], "That MerchPass has already been claimed");

        algaetoken.sendAlgae(msg.sender, MERCH_PASS_PAYMENT);
        claimedMerchPass[_id] = true;
    }

    function addAddressAsAdmin(address _newAdmin) external onlyOwner{
        admins[_newAdmin] = true;
    }


    constructor(address _algae, IManateez _mightyManateez, IMerchPass _merchPass) ERC721("MightyManateez Comic Issue 1", "MMCOMIC") {
        mightymanateez = IManateez(_mightyManateez);
        merchpass = IMerchPass(_merchPass);
        algaetoken = IAlgae(_algae);
        admins[msg.sender] = true;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_algae","type":"address"},{"internalType":"contract IManateez","name":"_mightyManateez","type":"address"},{"internalType":"contract IMerchPass","name":"_merchPass","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BASE_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"COMIC_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"INITIAL_ISSUANCE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_COMICS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED_FOR_TEAM","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TEAM_COUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_newAdmin","type":"address"}],"name":"addAddressAsAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"checkTeezClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"claimAlgaeForMerchPass","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"claimAlgaeForOGTeez","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"getTotalClaimable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"goLive","outputs":[],"stateMutability":"nonpayable","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":"isLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merchPassClaiming","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintComics","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ogTeezClaiming","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"reserveForTeam","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopLive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"updateNFTPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052662386f26fc10000600b556101f4600c556000600d55600e805462ff00001961ff001960ff19909216600117919091166101001716620100001790553480156200004d57600080fd5b506040516200372238038062003722833981810160405260608110156200007357600080fd5b50805160208083015160409384015184518086018652601c81527f4d69676874794d616e617465657a20436f6d696320497373756520310000000081850152855180870190965260078652664d4d434f4d494360c81b93860193909352929390929190620000e86301ffc9a760e01b62000207565b8151620000fd90600690602085019062000290565b5080516200011390600790602084019062000290565b50620001266380ac58cd60e01b62000207565b62000138635b5e139f60e01b62000207565b6200014a63780e9d6360e01b62000207565b5060009050620001596200028c565b600a80546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350601680546001600160a01b039384166001600160a01b031991821617909155601780549284169282169290921790915560158054939092169216919091179055336000908152601260205260409020805460ff191660011790556200032c565b6001600160e01b0319808216141562000267576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620002d357805160ff191683800117855562000303565b8280016001018555821562000303579182015b8281111562000303578251825591602001919060010190620002e6565b506200031192915062000315565b5090565b5b8082111562000311576000815560010162000316565b6133e6806200033c6000396000f3fe6080604052600436106102515760003560e01c80636c0360eb11610139578063a22cb465116100b6578063c7de22c91161007a578063c7de22c9146109b4578063c87b56dd146109e7578063cc99d79114610a11578063e985e9c514610a3b578063f2fde38b14610a76578063f2ffb4fc14610aa957610251565b8063a22cb46514610852578063b0d6af161461088d578063b88d4fde146108b7578063b8f7a6651461098a578063c72e15091461099f57610251565b80638b5368af116100fd5780638b5368af146107cc5780638da5cb5b146107e957806395d89b41146107fe5780639703c2a3146108135780639d3a9e4b1461083d57610251565b80636c0360eb146106aa57806370a08231146106bf578063715018a6146106f257806379a45598146107075780637f704657146107b757610251565b80632c28f579116101d257806342842e0e1161019657806342842e0e1461051257806344a6b86c146105555780634f6ccce71461056a57806355f804b3146105945780636137c977146106475780636352211e1461068057610251565b80632c28f579146104855780632f745c591461049a5780633ccfd60b146104d35780633d18b912146104e857806341910f90146104fd57610251565b8063095ea7b311610219578063095ea7b3146103aa57806318160ddd146103e557806323b872dd146103fa578063263df1d11461043d578063267e8ab61461045257610251565b806301ffc9a71461025657806303de7c601461029e578063040d4b18146102b357806306fdde03146102da578063081812fc14610364575b600080fd5b34801561026257600080fd5b5061028a6004803603602081101561027957600080fd5b50356001600160e01b031916610abe565b604080519115158252519081900360200190f35b3480156102aa57600080fd5b5061028a610ae1565b3480156102bf57600080fd5b506102c8610aef565b60408051918252519081900360200190f35b3480156102e657600080fd5b506102ef610af5565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610329578181015183820152602001610311565b50505050905090810190601f1680156103565780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561037057600080fd5b5061038e6004803603602081101561038757600080fd5b5035610b8b565b604080516001600160a01b039092168252519081900360200190f35b3480156103b657600080fd5b506103e3600480360360408110156103cd57600080fd5b506001600160a01b038135169060200135610bed565b005b3480156103f157600080fd5b506102c8610cc8565b34801561040657600080fd5b506103e36004803603606081101561041d57600080fd5b506001600160a01b03813581169160208101359091169060400135610cd9565b34801561044957600080fd5b506102c8610d1d565b34801561045e57600080fd5b506102c86004803603602081101561047557600080fd5b50356001600160a01b0316610d23565b34801561049157600080fd5b506103e3610dc4565b3480156104a657600080fd5b506102c8600480360360408110156104bd57600080fd5b506001600160a01b038135169060200135610e2b565b3480156104df57600080fd5b506103e3610e56565b3480156104f457600080fd5b506103e3610eeb565b34801561050957600080fd5b506102c8610f95565b34801561051e57600080fd5b506103e36004803603606081101561053557600080fd5b506001600160a01b03813581169160208101359091169060400135610fa1565b34801561056157600080fd5b506102c8610fbc565b34801561057657600080fd5b506102c86004803603602081101561058d57600080fd5b5035610fc9565b3480156105a057600080fd5b506103e3600480360360208110156105b757600080fd5b8101906020810181356401000000008111156105d257600080fd5b8201836020820111156105e457600080fd5b8035906020019184600183028401116401000000008311171561060657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610fdf945050505050565b34801561065357600080fd5b506103e36004803603604081101561066a57600080fd5b50803590602001356001600160a01b0316611043565b34801561068c57600080fd5b5061038e600480360360208110156106a357600080fd5b5035611137565b3480156106b657600080fd5b506102ef61115f565b3480156106cb57600080fd5b506102c8600480360360208110156106e257600080fd5b50356001600160a01b03166111c0565b3480156106fe57600080fd5b506103e3611228565b34801561071357600080fd5b506103e36004803603602081101561072a57600080fd5b81019060208101813564010000000081111561074557600080fd5b82018360208201111561075757600080fd5b8035906020019184602083028401116401000000008311171561077957600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506112d4945050505050565b3480156107c357600080fd5b506102c86114f0565b6103e3600480360360208110156107e257600080fd5b50356114f6565b3480156107f557600080fd5b5061038e611647565b34801561080a57600080fd5b506102ef611656565b34801561081f57600080fd5b506103e36004803603602081101561083657600080fd5b50356116b7565b34801561084957600080fd5b506102c86118c2565b34801561085e57600080fd5b506103e36004803603604081101561087557600080fd5b506001600160a01b03813516906020013515156118c8565b34801561089957600080fd5b506103e3600480360360208110156108b057600080fd5b50356119cd565b3480156108c357600080fd5b506103e3600480360360808110156108da57600080fd5b6001600160a01b0382358116926020810135909116916040820135919081019060808101606082013564010000000081111561091557600080fd5b82018360208201111561092757600080fd5b8035906020019184600183028401116401000000008311171561094957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611a2a945050505050565b34801561099657600080fd5b5061028a611a75565b3480156109ab57600080fd5b5061028a611a7e565b3480156109c057600080fd5b506103e3600480360360208110156109d757600080fd5b50356001600160a01b0316611a8d565b3480156109f357600080fd5b506102ef60048036036020811015610a0a57600080fd5b5035611b13565b348015610a1d57600080fd5b5061028a60048036036020811015610a3457600080fd5b5035611d96565b348015610a4757600080fd5b5061028a60048036036040811015610a5e57600080fd5b506001600160a01b0381358116916020013516611dab565b348015610a8257600080fd5b506103e360048036036020811015610a9957600080fd5b50356001600160a01b0316611dd9565b348015610ab557600080fd5b506103e3611edc565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b600e54610100900460ff1681565b600b5481565b60068054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b815780601f10610b5657610100808354040283529160200191610b81565b820191906000526020600020905b815481529060010190602001808311610b6457829003601f168201915b5050505050905090565b6000610b9682611f40565b610bd15760405162461bcd60e51b815260040180806020018281038252602c8152602001806132bb602c913960400191505060405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610bf882611137565b9050806001600160a01b0316836001600160a01b03161415610c4b5760405162461bcd60e51b815260040180806020018281038252602181526020018061335f6021913960400191505060405180910390fd5b806001600160a01b0316610c5d611f4d565b6001600160a01b03161480610c7e5750610c7e81610c79611f4d565b611dab565b610cb95760405162461bcd60e51b81526004018080602001828103825260388152602001806131c66038913960400191505060405180910390fd5b610cc38383611f51565b505050565b6000610cd46002611fbf565b905090565b610ce38383611fca565b6001600160a01b03808416600090815260116020526040808220805460001901905591841681522080546001019055610cc38383836120ed565b600d5481565b600080610d344263749e85cf612144565b6001600160a01b03841660009081526010602052604081205491925090610da1906201518090610d9b90610d7c90610d6d90879061215a565b674563918244f40000906121b7565b6001600160a01b038816600090815260116020526040902054906121b7565b90612210565b6001600160a01b0385166000908152600f60205260409020540192505050919050565b3360009081526012602052604090205460ff16610e1c576040805162461bcd60e51b81526020600482015260116024820152702cb7ba9030b932903737ba1030b236b4b760791b604482015290519081900360640190fd5b600e805460ff19166001179055565b6001600160a01b0382166000908152600160205260408120610e4d9083612277565b90505b92915050565b610e5e611f4d565b6001600160a01b0316610e6f611647565b6001600160a01b031614610eb8576040805162461bcd60e51b815260206004820181905260248201526000805160206132e7833981519152604482015290519081900360640190fd5b6040514790339082156108fc029083906000818181858888f19350505050158015610ee7573d6000803e3d6000fd5b5050565b33610ef7816000611fca565b6001600160a01b0381166000908152600f60205260409020548015610ee7576001600160a01b038083166000818152600f6020526040808220829055601554815163063597a960e11b81526004810194909452602484018690529051931692630c6b2f5292604480820193929182900301818387803b158015610f7957600080fd5b505af1158015610f8d573d6000803e3d6000fd5b505050505050565b674563918244f4000081565b610cc383838360405180602001604052806000815250611a2a565b68056bc75e2d6310000081565b600080610fd7600284612283565b509392505050565b3360009081526012602052604090205460ff16611037576040805162461bcd60e51b81526020600482015260116024820152702cb7ba9030b932903737ba1030b236b4b760791b604482015290519081900360640190fd5b6110408161229f565b50565b3360009081526012602052604090205460ff1661109b576040805162461bcd60e51b81526020600482015260116024820152702cb7ba9030b932903737ba1030b236b4b760791b604482015290519081900360640190fd5b600c54600d546110ab90846122b2565b11156110e85760405162461bcd60e51b815260040180806020018281038252602e815260200180613097602e913960400191505060405180910390fd5b6110f2818361230c565b6001600160a01b03811660009081526011602052604081208054840190555b82811015610cc35761112582600d5461241b565b600d8054600190810190915501611111565b6000610e50826040518060600160405280602981526020016132286029913960029190612435565b60098054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b815780601f10610b5657610100808354040283529160200191610b81565b60006001600160a01b0382166112075760405162461bcd60e51b815260040180806020018281038252602a8152602001806131fe602a913960400191505060405180910390fd5b6001600160a01b0382166000908152600160205260409020610e5090611fbf565b611230611f4d565b6001600160a01b0316611241611647565b6001600160a01b03161461128a576040805162461bcd60e51b815260206004820181905260248201526000805160206132e7833981519152604482015290519081900360640190fd5b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b600e54610100900460ff16611330576040805162461bcd60e51b815260206004820152601c60248201527f4f47205465657a20636c61696d696e672069732064697361626c656400000000604482015290519081900360640190fd5b336000805b83518110156114615760165484516001600160a01b03808616921690636352211e9087908590811061136357fe5b60200260200101516040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561139f57600080fd5b505afa1580156113b3573d6000803e3d6000fd5b505050506040513d60208110156113c957600080fd5b50516001600160a01b031614801561140c5750601460008583815181106113ec57fe5b60209081029190910181015182528101919091526040016000205460ff16155b1561145957818060010192505060016014600086848151811061142b57fe5b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055505b600101611335565b508015610cc3576015546001600160a01b0316630c6b2f528361148d681b1ae4d6e2ef500000856121b7565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156114d357600080fd5b505af11580156114e7573d6000803e3d6000fd5b50505050505050565b600c5481565b600e5460ff166115375760405162461bcd60e51b815260040180806020018281038252602f815260200180613197602f913960400191505060405180910390fd5b61138861154c82611546610cc8565b906122b2565b11156115895760405162461bcd60e51b815260040180806020018281038252602a815260200180613141602a913960400191505060405180910390fd5b600b54349061159890836121b7565b11156115eb576040805162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f727265637400604482015290519081900360640190fd5b6115f5338261230c565b3360009081526011602052604081208054830190555b81811015610ee757600061161d610cc8565b905061138861162a610cc8565b101561163e5761163e33600c54830161241b565b5060010161160b565b600a546001600160a01b031690565b60078054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b815780601f10610b5657610100808354040283529160200191610b81565b600e5462010000900460ff16611714576040805162461bcd60e51b815260206004820152601e60248201527f4d657263685061737320636c61696d696e672069732064697361626c65640000604482015290519081900360640190fd5b601754604080516331a9108f60e11b815260048101849052905133926001600160a01b031691636352211e916024808301926020929190829003018186803b15801561175f57600080fd5b505afa158015611773573d6000803e3d6000fd5b505050506040513d602081101561178957600080fd5b50516001600160a01b0316146117e6576040805162461bcd60e51b815260206004820152601c60248201527f596f7520646f6e2774206f776e2074686174204d657263685061737300000000604482015290519081900360640190fd5b60008181526013602052604090205460ff16156118345760405162461bcd60e51b81526004018080602001828103825260278152602001806132736027913960400191505060405180910390fd5b6015546040805163063597a960e11b815233600482015268056bc75e2d63100000602482015290516001600160a01b0390921691630c6b2f529160448082019260009290919082900301818387803b15801561188f57600080fd5b505af11580156118a3573d6000803e3d6000fd5b505050600091825250601360205260409020805460ff19166001179055565b61138881565b6118d0611f4d565b6001600160a01b0316826001600160a01b03161415611936576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b8060056000611943611f4d565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611987611f4d565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b3360009081526012602052604090205460ff16611a25576040805162461bcd60e51b81526020600482015260116024820152702cb7ba9030b932903737ba1030b236b4b760791b604482015290519081900360640190fd5b600b55565b611a348484611fca565b6001600160a01b03808516600090815260116020526040808220805460001901905591851681522080546001019055611a6f8484848461244c565b50505050565b600e5460ff1681565b600e5462010000900460ff1681565b611a95611f4d565b6001600160a01b0316611aa6611647565b6001600160a01b031614611aef576040805162461bcd60e51b815260206004820181905260248201526000805160206132e7833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152601260205260409020805460ff19166001179055565b6060611b1e82611f40565b611b595760405162461bcd60e51b815260040180806020018281038252602f815260200180613330602f913960400191505060405180910390fd5b60008281526008602090815260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845260609392830182828015611bee5780601f10611bc357610100808354040283529160200191611bee565b820191906000526020600020905b815481529060010190602001808311611bd157829003601f168201915b505050505090506060611bff61115f565b9050805160001415611c1357509050610adc565b815115611cd45780826040516020018083805190602001908083835b60208310611c4e5780518252601f199092019160209182019101611c2f565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b60208310611c965780518252601f199092019160209182019101611c77565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050610adc565b80611cde856124a4565b6040516020018083805190602001908083835b60208310611d105780518252601f199092019160209182019101611cf1565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b60208310611d585780518252601f199092019160209182019101611d39565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050919050565b60009081526014602052604090205460ff1690565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b611de1611f4d565b6001600160a01b0316611df2611647565b6001600160a01b031614611e3b576040805162461bcd60e51b815260206004820181905260248201526000805160206132e7833981519152604482015290519081900360640190fd5b6001600160a01b038116611e805760405162461bcd60e51b81526004018080602001828103825260268152602001806130f76026913960400191505060405180910390fd5b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b3360009081526012602052604090205460ff16611f34576040805162461bcd60e51b81526020600482015260116024820152702cb7ba9030b932903737ba1030b236b4b760791b604482015290519081900360640190fd5b600e805460ff19169055565b6000610e5060028361257f565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611f8682611137565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610e508261258b565b6000611fda4263749e85cf612144565b6001600160a01b03841660009081526010602052604090205490915080156120335761201362015180610d9b610d7c610d6d868661215a565b6001600160a01b0385166000908152600f60205260409020805490910190555b63749e85cf811461205a576001600160a01b03841660009081526010602052604090208290555b6001600160a01b03831615611a6f576001600160a01b03831660009081526010602052604090205480156120bf5761209f62015180610d9b610d7c610d6d878661215a565b6001600160a01b0385166000908152600f60205260409020805490910190555b63749e85cf81146120e6576001600160a01b03841660009081526010602052604090208390555b5050505050565b6120fe6120f8611f4d565b8261258f565b6121395760405162461bcd60e51b81526004018080602001828103825260318152602001806133806031913960400191505060405180910390fd5b610cc3838383612633565b60008183106121535781610e4d565b5090919050565b6000828211156121b1576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000826121c657506000610e50565b828202828482816121d357fe5b0414610e4d5760405162461bcd60e51b815260040180806020018281038252602181526020018061329a6021913960400191505060405180910390fd5b6000808211612266576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161226f57fe5b049392505050565b6000610e4d838361277f565b600080808061229286866127e3565b9097909650945050505050565b8051610ee7906009906020840190612fe1565b600082820183811015610e4d576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600061231c4263749e85cf612144565b6001600160a01b03841660009081526010602052604090205490915080156123ca576123ac61238d6123578568056bc75e2d631000006121b7565b61154662015180610d9b61236e610d6d898961215a565b6001600160a01b038b16600090815260116020526040902054906121b7565b6001600160a01b0386166000908152600f6020526040902054906122b2565b6001600160a01b0385166000908152600f60205260409020556123fa565b6123e061238d8468056bc75e2d631000006121b7565b6001600160a01b0385166000908152600f60205260409020555b506001600160a01b0390921660009081526010602052604090209190915550565b610ee782826040518060200160405280600081525061285e565b60006124428484846128b0565b90505b9392505050565b61245d612457611f4d565b8361258f565b6124985760405162461bcd60e51b81526004018080602001828103825260318152602001806133806031913960400191505060405180910390fd5b611a6f8484848461297a565b6060816124c957506040805180820190915260018152600360fc1b6020820152610adc565b8160005b81156124e157600101600a820491506124cd565b60608167ffffffffffffffff811180156124fa57600080fd5b506040519080825280601f01601f191660200182016040528015612525576020820181803683370190505b50859350905060001982015b831561257657600a840660300160f81b8282806001900393508151811061255457fe5b60200101906001600160f81b031916908160001a905350600a84049350612531565b50949350505050565b6000610e4d83836129cc565b5490565b600061259a82611f40565b6125d55760405162461bcd60e51b815260040180806020018281038252602c81526020018061316b602c913960400191505060405180910390fd5b60006125e083611137565b9050806001600160a01b0316846001600160a01b0316148061261b5750836001600160a01b031661261084610b8b565b6001600160a01b0316145b8061262b575061262b8185611dab565b949350505050565b826001600160a01b031661264682611137565b6001600160a01b03161461268b5760405162461bcd60e51b81526004018080602001828103825260298152602001806133076029913960400191505060405180910390fd5b6001600160a01b0382166126d05760405162461bcd60e51b815260040180806020018281038252602481526020018061311d6024913960400191505060405180910390fd5b6126db838383610cc3565b6126e6600082611f51565b6001600160a01b038316600090815260016020526040902061270890826129e4565b506001600160a01b038216600090815260016020526040902061272b90826129f0565b50612738600282846129fc565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b815460009082106127c15760405162461bcd60e51b81526004018080602001828103825260228152602001806130756022913960400191505060405180910390fd5b8260000182815481106127d057fe5b9060005260206000200154905092915050565b8154600090819083106128275760405162461bcd60e51b81526004018080602001828103825260228152602001806132516022913960400191505060405180910390fd5b600084600001848154811061283857fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b6128688383612a12565b6128756000848484612b40565b610cc35760405162461bcd60e51b81526004018080602001828103825260328152602001806130c56032913960400191505060405180910390fd5b6000828152600184016020526040812054828161294b5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156129105781810151838201526020016128f8565b50505050905090810190601f16801561293d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5084600001600182038154811061295e57fe5b9060005260206000209060020201600101549150509392505050565b612985848484612633565b61299184848484612b40565b611a6f5760405162461bcd60e51b81526004018080602001828103825260328152602001806130c56032913960400191505060405180910390fd5b60009081526001919091016020526040902054151590565b6000610e4d8383612ca8565b6000610e4d8383612d6e565b600061244284846001600160a01b038516612db8565b6001600160a01b038216612a6d576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b612a7681611f40565b15612ac8576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b612ad460008383610cc3565b6001600160a01b0382166000908152600160205260409020612af690826129f0565b50612b03600282846129fc565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000612b54846001600160a01b0316612e4f565b612b605750600161262b565b6060612c6e630a85bd0160e11b612b75611f4d565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612bdc578181015183820152602001612bc4565b50505050905090810190601f168015612c095780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b0383818316178352505050506040518060600160405280603281526020016130c5603291396001600160a01b0388169190612e55565b90506000818060200190516020811015612c8757600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b60008181526001830160205260408120548015612d645783546000198083019190810190600090879083908110612cdb57fe5b9060005260206000200154905080876000018481548110612cf857fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080612d2857fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610e50565b6000915050610e50565b6000612d7a83836129cc565b612db057508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610e50565b506000610e50565b600082815260018401602052604081205480612e1d575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055612445565b82856000016001830381548110612e3057fe5b9060005260206000209060020201600101819055506000915050612445565b3b151590565b6060612442848460008585612e6985612e4f565b612eba576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612ef95780518252601f199092019160209182019101612eda565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612f5b576040519150601f19603f3d011682016040523d82523d6000602084013e612f60565b606091505b5091509150612f70828286612f7b565b979650505050505050565b60608315612f8a575081612445565b825115612f9a5782518084602001fd5b60405162461bcd60e51b81526020600482018181528451602484015284518593919283926044019190850190808383600083156129105781810151838201526020016128f8565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061302257805160ff191683800117855561304f565b8280016001018555821561304f579182015b8281111561304f578251825591602001919060010190613034565b5061305b92915061305f565b5090565b5b8082111561305b576000815560010161306056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647343616e206e6f74206d696e74206d6f7265207468616e2035303020746f6b656e7320666f7220746865207465616d4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f2061646472657373507572636861736520776f756c6420657863656564206d617820737570706c79206f6620436f6d6963734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e43616e206e6f74206d696e7420436f6d696373206265666f7265207468652073616c652068617320737461727465644552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e647354686174204d65726368506173732068617320616c7265616479206265656e20636c61696d6564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a2646970667358221220f95c6e1074abfec9083654ed00a29865bd9e695ee9b3f1751945b8cc4b74b7e164736f6c634300070000330000000000000000000000007edae9fb6a17c0a19b3c5e93a6cb89f6278dc528000000000000000000000000984ac9911c6839a6870a1040a5fb89dd66513bc5000000000000000000000000d381481b86ef2a8ee2bffc51acc4927f266349fc

Deployed Bytecode

0x6080604052600436106102515760003560e01c80636c0360eb11610139578063a22cb465116100b6578063c7de22c91161007a578063c7de22c9146109b4578063c87b56dd146109e7578063cc99d79114610a11578063e985e9c514610a3b578063f2fde38b14610a76578063f2ffb4fc14610aa957610251565b8063a22cb46514610852578063b0d6af161461088d578063b88d4fde146108b7578063b8f7a6651461098a578063c72e15091461099f57610251565b80638b5368af116100fd5780638b5368af146107cc5780638da5cb5b146107e957806395d89b41146107fe5780639703c2a3146108135780639d3a9e4b1461083d57610251565b80636c0360eb146106aa57806370a08231146106bf578063715018a6146106f257806379a45598146107075780637f704657146107b757610251565b80632c28f579116101d257806342842e0e1161019657806342842e0e1461051257806344a6b86c146105555780634f6ccce71461056a57806355f804b3146105945780636137c977146106475780636352211e1461068057610251565b80632c28f579146104855780632f745c591461049a5780633ccfd60b146104d35780633d18b912146104e857806341910f90146104fd57610251565b8063095ea7b311610219578063095ea7b3146103aa57806318160ddd146103e557806323b872dd146103fa578063263df1d11461043d578063267e8ab61461045257610251565b806301ffc9a71461025657806303de7c601461029e578063040d4b18146102b357806306fdde03146102da578063081812fc14610364575b600080fd5b34801561026257600080fd5b5061028a6004803603602081101561027957600080fd5b50356001600160e01b031916610abe565b604080519115158252519081900360200190f35b3480156102aa57600080fd5b5061028a610ae1565b3480156102bf57600080fd5b506102c8610aef565b60408051918252519081900360200190f35b3480156102e657600080fd5b506102ef610af5565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610329578181015183820152602001610311565b50505050905090810190601f1680156103565780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561037057600080fd5b5061038e6004803603602081101561038757600080fd5b5035610b8b565b604080516001600160a01b039092168252519081900360200190f35b3480156103b657600080fd5b506103e3600480360360408110156103cd57600080fd5b506001600160a01b038135169060200135610bed565b005b3480156103f157600080fd5b506102c8610cc8565b34801561040657600080fd5b506103e36004803603606081101561041d57600080fd5b506001600160a01b03813581169160208101359091169060400135610cd9565b34801561044957600080fd5b506102c8610d1d565b34801561045e57600080fd5b506102c86004803603602081101561047557600080fd5b50356001600160a01b0316610d23565b34801561049157600080fd5b506103e3610dc4565b3480156104a657600080fd5b506102c8600480360360408110156104bd57600080fd5b506001600160a01b038135169060200135610e2b565b3480156104df57600080fd5b506103e3610e56565b3480156104f457600080fd5b506103e3610eeb565b34801561050957600080fd5b506102c8610f95565b34801561051e57600080fd5b506103e36004803603606081101561053557600080fd5b506001600160a01b03813581169160208101359091169060400135610fa1565b34801561056157600080fd5b506102c8610fbc565b34801561057657600080fd5b506102c86004803603602081101561058d57600080fd5b5035610fc9565b3480156105a057600080fd5b506103e3600480360360208110156105b757600080fd5b8101906020810181356401000000008111156105d257600080fd5b8201836020820111156105e457600080fd5b8035906020019184600183028401116401000000008311171561060657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610fdf945050505050565b34801561065357600080fd5b506103e36004803603604081101561066a57600080fd5b50803590602001356001600160a01b0316611043565b34801561068c57600080fd5b5061038e600480360360208110156106a357600080fd5b5035611137565b3480156106b657600080fd5b506102ef61115f565b3480156106cb57600080fd5b506102c8600480360360208110156106e257600080fd5b50356001600160a01b03166111c0565b3480156106fe57600080fd5b506103e3611228565b34801561071357600080fd5b506103e36004803603602081101561072a57600080fd5b81019060208101813564010000000081111561074557600080fd5b82018360208201111561075757600080fd5b8035906020019184602083028401116401000000008311171561077957600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506112d4945050505050565b3480156107c357600080fd5b506102c86114f0565b6103e3600480360360208110156107e257600080fd5b50356114f6565b3480156107f557600080fd5b5061038e611647565b34801561080a57600080fd5b506102ef611656565b34801561081f57600080fd5b506103e36004803603602081101561083657600080fd5b50356116b7565b34801561084957600080fd5b506102c86118c2565b34801561085e57600080fd5b506103e36004803603604081101561087557600080fd5b506001600160a01b03813516906020013515156118c8565b34801561089957600080fd5b506103e3600480360360208110156108b057600080fd5b50356119cd565b3480156108c357600080fd5b506103e3600480360360808110156108da57600080fd5b6001600160a01b0382358116926020810135909116916040820135919081019060808101606082013564010000000081111561091557600080fd5b82018360208201111561092757600080fd5b8035906020019184600183028401116401000000008311171561094957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611a2a945050505050565b34801561099657600080fd5b5061028a611a75565b3480156109ab57600080fd5b5061028a611a7e565b3480156109c057600080fd5b506103e3600480360360208110156109d757600080fd5b50356001600160a01b0316611a8d565b3480156109f357600080fd5b506102ef60048036036020811015610a0a57600080fd5b5035611b13565b348015610a1d57600080fd5b5061028a60048036036020811015610a3457600080fd5b5035611d96565b348015610a4757600080fd5b5061028a60048036036040811015610a5e57600080fd5b506001600160a01b0381358116916020013516611dab565b348015610a8257600080fd5b506103e360048036036020811015610a9957600080fd5b50356001600160a01b0316611dd9565b348015610ab557600080fd5b506103e3611edc565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b600e54610100900460ff1681565b600b5481565b60068054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b815780601f10610b5657610100808354040283529160200191610b81565b820191906000526020600020905b815481529060010190602001808311610b6457829003601f168201915b5050505050905090565b6000610b9682611f40565b610bd15760405162461bcd60e51b815260040180806020018281038252602c8152602001806132bb602c913960400191505060405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610bf882611137565b9050806001600160a01b0316836001600160a01b03161415610c4b5760405162461bcd60e51b815260040180806020018281038252602181526020018061335f6021913960400191505060405180910390fd5b806001600160a01b0316610c5d611f4d565b6001600160a01b03161480610c7e5750610c7e81610c79611f4d565b611dab565b610cb95760405162461bcd60e51b81526004018080602001828103825260388152602001806131c66038913960400191505060405180910390fd5b610cc38383611f51565b505050565b6000610cd46002611fbf565b905090565b610ce38383611fca565b6001600160a01b03808416600090815260116020526040808220805460001901905591841681522080546001019055610cc38383836120ed565b600d5481565b600080610d344263749e85cf612144565b6001600160a01b03841660009081526010602052604081205491925090610da1906201518090610d9b90610d7c90610d6d90879061215a565b674563918244f40000906121b7565b6001600160a01b038816600090815260116020526040902054906121b7565b90612210565b6001600160a01b0385166000908152600f60205260409020540192505050919050565b3360009081526012602052604090205460ff16610e1c576040805162461bcd60e51b81526020600482015260116024820152702cb7ba9030b932903737ba1030b236b4b760791b604482015290519081900360640190fd5b600e805460ff19166001179055565b6001600160a01b0382166000908152600160205260408120610e4d9083612277565b90505b92915050565b610e5e611f4d565b6001600160a01b0316610e6f611647565b6001600160a01b031614610eb8576040805162461bcd60e51b815260206004820181905260248201526000805160206132e7833981519152604482015290519081900360640190fd5b6040514790339082156108fc029083906000818181858888f19350505050158015610ee7573d6000803e3d6000fd5b5050565b33610ef7816000611fca565b6001600160a01b0381166000908152600f60205260409020548015610ee7576001600160a01b038083166000818152600f6020526040808220829055601554815163063597a960e11b81526004810194909452602484018690529051931692630c6b2f5292604480820193929182900301818387803b158015610f7957600080fd5b505af1158015610f8d573d6000803e3d6000fd5b505050505050565b674563918244f4000081565b610cc383838360405180602001604052806000815250611a2a565b68056bc75e2d6310000081565b600080610fd7600284612283565b509392505050565b3360009081526012602052604090205460ff16611037576040805162461bcd60e51b81526020600482015260116024820152702cb7ba9030b932903737ba1030b236b4b760791b604482015290519081900360640190fd5b6110408161229f565b50565b3360009081526012602052604090205460ff1661109b576040805162461bcd60e51b81526020600482015260116024820152702cb7ba9030b932903737ba1030b236b4b760791b604482015290519081900360640190fd5b600c54600d546110ab90846122b2565b11156110e85760405162461bcd60e51b815260040180806020018281038252602e815260200180613097602e913960400191505060405180910390fd5b6110f2818361230c565b6001600160a01b03811660009081526011602052604081208054840190555b82811015610cc35761112582600d5461241b565b600d8054600190810190915501611111565b6000610e50826040518060600160405280602981526020016132286029913960029190612435565b60098054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b815780601f10610b5657610100808354040283529160200191610b81565b60006001600160a01b0382166112075760405162461bcd60e51b815260040180806020018281038252602a8152602001806131fe602a913960400191505060405180910390fd5b6001600160a01b0382166000908152600160205260409020610e5090611fbf565b611230611f4d565b6001600160a01b0316611241611647565b6001600160a01b03161461128a576040805162461bcd60e51b815260206004820181905260248201526000805160206132e7833981519152604482015290519081900360640190fd5b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b600e54610100900460ff16611330576040805162461bcd60e51b815260206004820152601c60248201527f4f47205465657a20636c61696d696e672069732064697361626c656400000000604482015290519081900360640190fd5b336000805b83518110156114615760165484516001600160a01b03808616921690636352211e9087908590811061136357fe5b60200260200101516040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561139f57600080fd5b505afa1580156113b3573d6000803e3d6000fd5b505050506040513d60208110156113c957600080fd5b50516001600160a01b031614801561140c5750601460008583815181106113ec57fe5b60209081029190910181015182528101919091526040016000205460ff16155b1561145957818060010192505060016014600086848151811061142b57fe5b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055505b600101611335565b508015610cc3576015546001600160a01b0316630c6b2f528361148d681b1ae4d6e2ef500000856121b7565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156114d357600080fd5b505af11580156114e7573d6000803e3d6000fd5b50505050505050565b600c5481565b600e5460ff166115375760405162461bcd60e51b815260040180806020018281038252602f815260200180613197602f913960400191505060405180910390fd5b61138861154c82611546610cc8565b906122b2565b11156115895760405162461bcd60e51b815260040180806020018281038252602a815260200180613141602a913960400191505060405180910390fd5b600b54349061159890836121b7565b11156115eb576040805162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f727265637400604482015290519081900360640190fd5b6115f5338261230c565b3360009081526011602052604081208054830190555b81811015610ee757600061161d610cc8565b905061138861162a610cc8565b101561163e5761163e33600c54830161241b565b5060010161160b565b600a546001600160a01b031690565b60078054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b815780601f10610b5657610100808354040283529160200191610b81565b600e5462010000900460ff16611714576040805162461bcd60e51b815260206004820152601e60248201527f4d657263685061737320636c61696d696e672069732064697361626c65640000604482015290519081900360640190fd5b601754604080516331a9108f60e11b815260048101849052905133926001600160a01b031691636352211e916024808301926020929190829003018186803b15801561175f57600080fd5b505afa158015611773573d6000803e3d6000fd5b505050506040513d602081101561178957600080fd5b50516001600160a01b0316146117e6576040805162461bcd60e51b815260206004820152601c60248201527f596f7520646f6e2774206f776e2074686174204d657263685061737300000000604482015290519081900360640190fd5b60008181526013602052604090205460ff16156118345760405162461bcd60e51b81526004018080602001828103825260278152602001806132736027913960400191505060405180910390fd5b6015546040805163063597a960e11b815233600482015268056bc75e2d63100000602482015290516001600160a01b0390921691630c6b2f529160448082019260009290919082900301818387803b15801561188f57600080fd5b505af11580156118a3573d6000803e3d6000fd5b505050600091825250601360205260409020805460ff19166001179055565b61138881565b6118d0611f4d565b6001600160a01b0316826001600160a01b03161415611936576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b8060056000611943611f4d565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611987611f4d565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b3360009081526012602052604090205460ff16611a25576040805162461bcd60e51b81526020600482015260116024820152702cb7ba9030b932903737ba1030b236b4b760791b604482015290519081900360640190fd5b600b55565b611a348484611fca565b6001600160a01b03808516600090815260116020526040808220805460001901905591851681522080546001019055611a6f8484848461244c565b50505050565b600e5460ff1681565b600e5462010000900460ff1681565b611a95611f4d565b6001600160a01b0316611aa6611647565b6001600160a01b031614611aef576040805162461bcd60e51b815260206004820181905260248201526000805160206132e7833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152601260205260409020805460ff19166001179055565b6060611b1e82611f40565b611b595760405162461bcd60e51b815260040180806020018281038252602f815260200180613330602f913960400191505060405180910390fd5b60008281526008602090815260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845260609392830182828015611bee5780601f10611bc357610100808354040283529160200191611bee565b820191906000526020600020905b815481529060010190602001808311611bd157829003601f168201915b505050505090506060611bff61115f565b9050805160001415611c1357509050610adc565b815115611cd45780826040516020018083805190602001908083835b60208310611c4e5780518252601f199092019160209182019101611c2f565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b60208310611c965780518252601f199092019160209182019101611c77565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050610adc565b80611cde856124a4565b6040516020018083805190602001908083835b60208310611d105780518252601f199092019160209182019101611cf1565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b60208310611d585780518252601f199092019160209182019101611d39565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050919050565b60009081526014602052604090205460ff1690565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b611de1611f4d565b6001600160a01b0316611df2611647565b6001600160a01b031614611e3b576040805162461bcd60e51b815260206004820181905260248201526000805160206132e7833981519152604482015290519081900360640190fd5b6001600160a01b038116611e805760405162461bcd60e51b81526004018080602001828103825260268152602001806130f76026913960400191505060405180910390fd5b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b3360009081526012602052604090205460ff16611f34576040805162461bcd60e51b81526020600482015260116024820152702cb7ba9030b932903737ba1030b236b4b760791b604482015290519081900360640190fd5b600e805460ff19169055565b6000610e5060028361257f565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611f8682611137565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610e508261258b565b6000611fda4263749e85cf612144565b6001600160a01b03841660009081526010602052604090205490915080156120335761201362015180610d9b610d7c610d6d868661215a565b6001600160a01b0385166000908152600f60205260409020805490910190555b63749e85cf811461205a576001600160a01b03841660009081526010602052604090208290555b6001600160a01b03831615611a6f576001600160a01b03831660009081526010602052604090205480156120bf5761209f62015180610d9b610d7c610d6d878661215a565b6001600160a01b0385166000908152600f60205260409020805490910190555b63749e85cf81146120e6576001600160a01b03841660009081526010602052604090208390555b5050505050565b6120fe6120f8611f4d565b8261258f565b6121395760405162461bcd60e51b81526004018080602001828103825260318152602001806133806031913960400191505060405180910390fd5b610cc3838383612633565b60008183106121535781610e4d565b5090919050565b6000828211156121b1576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000826121c657506000610e50565b828202828482816121d357fe5b0414610e4d5760405162461bcd60e51b815260040180806020018281038252602181526020018061329a6021913960400191505060405180910390fd5b6000808211612266576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161226f57fe5b049392505050565b6000610e4d838361277f565b600080808061229286866127e3565b9097909650945050505050565b8051610ee7906009906020840190612fe1565b600082820183811015610e4d576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600061231c4263749e85cf612144565b6001600160a01b03841660009081526010602052604090205490915080156123ca576123ac61238d6123578568056bc75e2d631000006121b7565b61154662015180610d9b61236e610d6d898961215a565b6001600160a01b038b16600090815260116020526040902054906121b7565b6001600160a01b0386166000908152600f6020526040902054906122b2565b6001600160a01b0385166000908152600f60205260409020556123fa565b6123e061238d8468056bc75e2d631000006121b7565b6001600160a01b0385166000908152600f60205260409020555b506001600160a01b0390921660009081526010602052604090209190915550565b610ee782826040518060200160405280600081525061285e565b60006124428484846128b0565b90505b9392505050565b61245d612457611f4d565b8361258f565b6124985760405162461bcd60e51b81526004018080602001828103825260318152602001806133806031913960400191505060405180910390fd5b611a6f8484848461297a565b6060816124c957506040805180820190915260018152600360fc1b6020820152610adc565b8160005b81156124e157600101600a820491506124cd565b60608167ffffffffffffffff811180156124fa57600080fd5b506040519080825280601f01601f191660200182016040528015612525576020820181803683370190505b50859350905060001982015b831561257657600a840660300160f81b8282806001900393508151811061255457fe5b60200101906001600160f81b031916908160001a905350600a84049350612531565b50949350505050565b6000610e4d83836129cc565b5490565b600061259a82611f40565b6125d55760405162461bcd60e51b815260040180806020018281038252602c81526020018061316b602c913960400191505060405180910390fd5b60006125e083611137565b9050806001600160a01b0316846001600160a01b0316148061261b5750836001600160a01b031661261084610b8b565b6001600160a01b0316145b8061262b575061262b8185611dab565b949350505050565b826001600160a01b031661264682611137565b6001600160a01b03161461268b5760405162461bcd60e51b81526004018080602001828103825260298152602001806133076029913960400191505060405180910390fd5b6001600160a01b0382166126d05760405162461bcd60e51b815260040180806020018281038252602481526020018061311d6024913960400191505060405180910390fd5b6126db838383610cc3565b6126e6600082611f51565b6001600160a01b038316600090815260016020526040902061270890826129e4565b506001600160a01b038216600090815260016020526040902061272b90826129f0565b50612738600282846129fc565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b815460009082106127c15760405162461bcd60e51b81526004018080602001828103825260228152602001806130756022913960400191505060405180910390fd5b8260000182815481106127d057fe5b9060005260206000200154905092915050565b8154600090819083106128275760405162461bcd60e51b81526004018080602001828103825260228152602001806132516022913960400191505060405180910390fd5b600084600001848154811061283857fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b6128688383612a12565b6128756000848484612b40565b610cc35760405162461bcd60e51b81526004018080602001828103825260328152602001806130c56032913960400191505060405180910390fd5b6000828152600184016020526040812054828161294b5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156129105781810151838201526020016128f8565b50505050905090810190601f16801561293d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5084600001600182038154811061295e57fe5b9060005260206000209060020201600101549150509392505050565b612985848484612633565b61299184848484612b40565b611a6f5760405162461bcd60e51b81526004018080602001828103825260328152602001806130c56032913960400191505060405180910390fd5b60009081526001919091016020526040902054151590565b6000610e4d8383612ca8565b6000610e4d8383612d6e565b600061244284846001600160a01b038516612db8565b6001600160a01b038216612a6d576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b612a7681611f40565b15612ac8576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b612ad460008383610cc3565b6001600160a01b0382166000908152600160205260409020612af690826129f0565b50612b03600282846129fc565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000612b54846001600160a01b0316612e4f565b612b605750600161262b565b6060612c6e630a85bd0160e11b612b75611f4d565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612bdc578181015183820152602001612bc4565b50505050905090810190601f168015612c095780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b0383818316178352505050506040518060600160405280603281526020016130c5603291396001600160a01b0388169190612e55565b90506000818060200190516020811015612c8757600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b60008181526001830160205260408120548015612d645783546000198083019190810190600090879083908110612cdb57fe5b9060005260206000200154905080876000018481548110612cf857fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080612d2857fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610e50565b6000915050610e50565b6000612d7a83836129cc565b612db057508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610e50565b506000610e50565b600082815260018401602052604081205480612e1d575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055612445565b82856000016001830381548110612e3057fe5b9060005260206000209060020201600101819055506000915050612445565b3b151590565b6060612442848460008585612e6985612e4f565b612eba576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612ef95780518252601f199092019160209182019101612eda565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612f5b576040519150601f19603f3d011682016040523d82523d6000602084013e612f60565b606091505b5091509150612f70828286612f7b565b979650505050505050565b60608315612f8a575081612445565b825115612f9a5782518084602001fd5b60405162461bcd60e51b81526020600482018181528451602484015284518593919283926044019190850190808383600083156129105781810151838201526020016128f8565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061302257805160ff191683800117855561304f565b8280016001018555821561304f579182015b8281111561304f578251825591602001919060010190613034565b5061305b92915061305f565b5090565b5b8082111561305b576000815560010161306056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647343616e206e6f74206d696e74206d6f7265207468616e2035303020746f6b656e7320666f7220746865207465616d4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f2061646472657373507572636861736520776f756c6420657863656564206d617820737570706c79206f6620436f6d6963734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e43616e206e6f74206d696e7420436f6d696373206265666f7265207468652073616c652068617320737461727465644552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e647354686174204d65726368506173732068617320616c7265616479206265656e20636c61696d6564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a2646970667358221220f95c6e1074abfec9083654ed00a29865bd9e695ee9b3f1751945b8cc4b74b7e164736f6c63430007000033

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

0000000000000000000000007edae9fb6a17c0a19b3c5e93a6cb89f6278dc528000000000000000000000000984ac9911c6839a6870a1040a5fb89dd66513bc5000000000000000000000000d381481b86ef2a8ee2bffc51acc4927f266349fc

-----Decoded View---------------
Arg [0] : _algae (address): 0x7EDaE9fB6a17C0A19B3C5E93a6cb89f6278Dc528
Arg [1] : _mightyManateez (address): 0x984AC9911C6839A6870a1040A5Fb89dd66513bC5
Arg [2] : _merchPass (address): 0xd381481B86ef2A8Ee2BFfc51acc4927f266349fc

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000007edae9fb6a17c0a19b3c5e93a6cb89f6278dc528
Arg [1] : 000000000000000000000000984ac9911c6839a6870a1040a5fb89dd66513bc5
Arg [2] : 000000000000000000000000d381481b86ef2a8ee2bffc51acc4927f266349fc


Deployed Bytecode Sourcemap

81725:7052:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17509:150;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17509:150:0;-1:-1:-1;;;;;;17509:150:0;;:::i;:::-;;;;;;;;;;;;;;;;;;82306:33;;;;;;;;;;;;;:::i;81809:39::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;51329:100;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54114:221;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54114:221:0;;:::i;:::-;;;;-1:-1:-1;;;;;54114:221:0;;;;;;;;;;;;;;53644:404;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;53644:404:0;;;;;;;;:::i;:::-;;53123:211;;;;;;;;;;;;;:::i;84818:229::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;84818:229:0;;;;;;;;;;;;;;;;;:::i;81900:29::-;;;;;;;;;;;;;:::i;83555:283::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;83555:283:0;-1:-1:-1;;;;;83555:283:0;;:::i;86465:118::-;;;;;;;;;;;;;:::i;52885:162::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;52885:162:0;;;;;;;;:::i;86720:134::-;;;;;;;;;;;;;:::i;84522:288::-;;;;;;;;;;;;;:::i;82165:43::-;;;;;;;;;;;;;:::i;55380:151::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;55380:151:0;;;;;;;;;;;;;;;;;:::i;82215:52::-;;;;;;;;;;;;;:::i;53411:171::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53411:171:0;;:::i;86145:150::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;86145:150:0;;-1:-1:-1;86145:150:0;;-1:-1:-1;;;;;86145:150:0:i;85568:455::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;85568:455:0;;;;;;-1:-1:-1;;;;;85568:455:0;;:::i;51085:177::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51085:177:0;;:::i;52704:97::-;;;;;;;;;;;;;:::i;50802:221::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50802:221:0;-1:-1:-1;;;;;50802:221:0;;:::i;65936:148::-;;;;;;;;;;;;;:::i;87134:668::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;87134:668:0;;-1:-1:-1;87134:668:0;;-1:-1:-1;;;;;87134:668:0:i;81855:38::-;;;;;;;;;;;;;:::i;82835:712::-;;;;;;;;;;;;;;;;-1:-1:-1;82835:712:0;;:::i;65285:87::-;;;;;;;;;;;;;:::i;51498:104::-;;;;;;;;;;;;;:::i;87930:410::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;87930:410:0;;:::i;82117:41::-;;;;;;;;;;;;;:::i;54407:295::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;54407:295:0;;;;;;;;;;:::i;86303:154::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;86303:154:0;;:::i;86862:264::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;86862:264:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;86862:264:0;;-1:-1:-1;86862:264:0;;-1:-1:-1;;;;;86862:264:0:i;82274:25::-;;;;;;;;;;;;;:::i;82346:36::-;;;;;;;;;;;;;:::i;88348:107::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;88348:107:0;-1:-1:-1;;;;;88348:107:0;;:::i;51673:792::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51673:792:0;;:::i;87810:112::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;87810:112:0;;:::i;54773:164::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;54773:164:0;;;;;;;;;;:::i;66239:244::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66239:244:0;-1:-1:-1;;;;;66239:244:0;;:::i;86591:121::-;;;;;;;;;;;;;:::i;17509:150::-;-1:-1:-1;;;;;;17618:33:0;;17594:4;17618:33;;;;;;;;;;;;;17509:150;;;;:::o;82306:33::-;;;;;;;;;:::o;81809:39::-;;;;:::o;51329:100::-;51416:5;51409:12;;;;;;;;-1:-1:-1;;51409:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51383:13;;51409:12;;51416:5;;51409:12;;51416:5;51409:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51329:100;:::o;54114:221::-;54190:7;54218:16;54226:7;54218;:16::i;:::-;54210:73;;;;-1:-1:-1;;;54210:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54303:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;54303:24:0;;54114:221::o;53644:404::-;53725:13;53741:23;53756:7;53741:14;:23::i;:::-;53725:39;;53789:5;-1:-1:-1;;;;;53783:11:0;:2;-1:-1:-1;;;;;53783:11:0;;;53775:57;;;;-1:-1:-1;;;53775:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53869:5;-1:-1:-1;;;;;53853:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;53853:21:0;;:69;;;;53878:44;53902:5;53909:12;:10;:12::i;:::-;53878:23;:44::i;:::-;53845:161;;;;-1:-1:-1;;;53845:161:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54019:21;54028:2;54032:7;54019:8;:21::i;:::-;53644:404;;;:::o;53123:211::-;53184:7;53305:21;:12;:19;:21::i;:::-;53298:28;;53123:211;:::o;84818:229::-;84910:22;84923:4;84929:2;84910:12;:22::i;:::-;-1:-1:-1;;;;;84943:17:0;;;;;;;:11;:17;;;;;;:19;;-1:-1:-1;;84943:19:0;;;84973:15;;;;;;:17;;84943:19;84973:17;;;85001:38;84955:4;84985:2;85031:7;85001:19;:38::i;81900:29::-;;;;:::o;83555:283::-;83620:7;83640:12;83655:25;83659:15;82453:10;83655:3;:25::i;:::-;-1:-1:-1;;;;;83756:17:0;;83691:15;83756:17;;;:10;:17;;;;;;83640:40;;-1:-1:-1;83691:15:0;83709:79;;83782:5;;83709:68;;83732:44;;83747:27;;83640:40;;83747:8;:27::i;:::-;82201:7;;83732:13;:44::i;:::-;-1:-1:-1;;;;;83709:18:0;;;;;;:11;:18;;;;;;;:22;:68::i;:::-;:72;;:79::i;:::-;-1:-1:-1;;;;;83806:14:0;;;;;;:7;:14;;;;;;:24;;-1:-1:-1;;;83555:283:0;;;:::o;86465:118::-;86518:10;86511:18;;;;:6;:18;;;;;;;;86503:48;;;;;-1:-1:-1;;;86503:48:0;;;;;;;;;;;;-1:-1:-1;;;86503:48:0;;;;;;;;;;;;;;;86562:6;:13;;-1:-1:-1;;86562:13:0;86571:4;86562:13;;;86465:118::o;52885:162::-;-1:-1:-1;;;;;53009:20:0;;52982:7;53009:20;;;:13;:20;;;;;:30;;53033:5;53009:23;:30::i;:::-;53002:37;;52885:162;;;;;:::o;86720:134::-;65516:12;:10;:12::i;:::-;-1:-1:-1;;;;;65505:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;65505:23:0;;65497:68;;;;;-1:-1:-1;;;65497:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;65497:68:0;;;;;;;;;;;;;;;86818:28:::1;::::0;86786:21:::1;::::0;86818:10:::1;::::0;:28;::::1;;;::::0;86786:21;;86768:15:::1;86818:28:::0;86768:15;86818:28;86786:21;86818:10;:28;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;65576:1;86720:134::o:0;84522:288::-;84579:10;84600:31;84579:10;84563:13;84600:12;:31::i;:::-;-1:-1:-1;;;;;84659:14:0;;84642;84659;;;:7;:14;;;;;;84688:18;;84684:119;;-1:-1:-1;;;;;84723:14:0;;;84740:1;84723:14;;;:7;:14;;;;;;:18;;;84756:10;;:35;;-1:-1:-1;;;84756:35:0;;;;;;;;;;;;;;;;;:10;;;:20;;:35;;;;;84740:1;84756:35;;;;;;84740:1;84756:10;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;84522:288;;:::o;82165:43::-;82201:7;82165:43;:::o;55380:151::-;55484:39;55501:4;55507:2;55511:7;55484:39;;;;;;;;;;;;:16;:39::i;82215:52::-;82258:9;82215:52;:::o;53411:171::-;53486:7;;53527:22;:12;53543:5;53527:15;:22::i;:::-;-1:-1:-1;53506:43:0;53411:171;-1:-1:-1;;;53411:171:0:o;86145:150::-;86223:10;86216:18;;;;:6;:18;;;;;;;;86208:48;;;;;-1:-1:-1;;;86208:48:0;;;;;;;;;;;;-1:-1:-1;;;86208:48:0;;;;;;;;;;;;;;;86267:20;86279:7;86267:11;:20::i;:::-;86145:150;:::o;85568:455::-;85654:10;85647:18;;;;:6;:18;;;;;;;;85639:48;;;;;-1:-1:-1;;;85639:48:0;;;;;;;;;;;;-1:-1:-1;;;85639:48:0;;;;;;;;;;;;;;;85733:17;;85706:10;;:23;;85721:7;85706:14;:23::i;:::-;:44;;85698:103;;;;-1:-1:-1;;;85698:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;85818:32;85837:3;85842:7;85818:18;:32::i;:::-;-1:-1:-1;;;;;85861:16:0;;;;;;:11;:16;;;;;:27;;;;;;85901:115;85922:7;85918:1;:11;85901:115;;;85951:26;85961:3;85966:10;;85951:9;:26::i;:::-;85992:10;:12;;;;;;;;;85931:3;85901:115;;51085:177;51157:7;51184:70;51201:7;51184:70;;;;;;;;;;;;;;;;;:12;;:70;:16;:70::i;52704:97::-;52785:8;52778:15;;;;;;;;-1:-1:-1;;52778:15:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52752:13;;52778:15;;52785:8;;52778:15;;52785:8;52778:15;;;;;;;;;;;;;;;;;;;;;;;;50802:221;50874:7;-1:-1:-1;;;;;50902:19:0;;50894:74;;;;-1:-1:-1;;;50894:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;50986:20:0;;;;;;:13;:20;;;;;:29;;:27;:29::i;65936:148::-;65516:12;:10;:12::i;:::-;-1:-1:-1;;;;;65505:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;65505:23:0;;65497:68;;;;;-1:-1:-1;;;65497:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;65497:68:0;;;;;;;;;;;;;;;66027:6:::1;::::0;66006:40:::1;::::0;66043:1:::1;::::0;-1:-1:-1;;;;;66027:6:0::1;::::0;66006:40:::1;::::0;66043:1;;66006:40:::1;66057:6;:19:::0;;-1:-1:-1;;;;;;66057:19:0::1;::::0;;65936:148::o;87134:668::-;87217:14;;;;;;;87209:55;;;;;-1:-1:-1;;;87209:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;87291:10;87275:13;;87417:253;87437:8;:15;87433:1;:19;87417:253;;;87476:14;;87499:11;;-1:-1:-1;;;;;87476:44:0;;;;:14;;:22;;87499:8;;87508:1;;87499:11;;;;;;;;;;;;87476:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;87476:35:0;-1:-1:-1;;;;;87476:44:0;;:77;;;;;87525:15;:28;87541:8;87550:1;87541:11;;;;;;;;;;;;;;;;;;;87525:28;;;;;;;;;;-1:-1:-1;87525:28:0;;;;87524:29;87476:77;87473:186;;;87573:16;;;;;;;87639:4;87608:15;:28;87624:8;87633:1;87624:11;;;;;;;;;;;;;;87608:28;;;;;;;;;;;;:35;;;;;;;;;;;;;;;;;;87473:186;87454:3;;87417:253;;;-1:-1:-1;87685:18:0;;87682:113;;87719:10;;-1:-1:-1;;;;;87719:10:0;:20;87740:5;87747:35;81971:21;87767:14;87747:19;:35::i;:::-;87719:64;;;;;;;;;;;;;-1:-1:-1;;;;;87719:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;87134:668;;;:::o;81855:38::-;;;;:::o;82835:712::-;82912:6;;;;82904:66;;;;-1:-1:-1;;;82904:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82154:4;82989:33;83007:14;82989:13;:11;:13::i;:::-;:17;;:33::i;:::-;:47;;82981:102;;;;-1:-1:-1;;;82981:102:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;83102:11;;83137:9;;83102:31;;83118:14;83102:15;:31::i;:::-;:44;;83094:88;;;;;-1:-1:-1;;;83094:88:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;83197:46;83216:10;83228:14;83197:18;:46::i;:::-;83266:10;83254:23;;;;:11;:23;;;;;:41;;;;;;83308:232;83329:14;83325:1;:18;83308:232;;;83365:14;83382:13;:11;:13::i;:::-;83365:30;;82154:4;83414:13;:11;:13::i;:::-;:26;83410:119;;;83461:52;83471:10;83495:17;;83483:9;:29;83461:9;:52::i;:::-;-1:-1:-1;83345:3:0;;83308:232;;65285:87;65358:6;;-1:-1:-1;;;;;65358:6:0;65285:87;:::o;51498:104::-;51587:7;51580:14;;;;;;;;-1:-1:-1;;51580:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51554:13;;51580:14;;51587:7;;51580:14;;51587:7;51580:14;;;;;;;;;;;;;;;;;;;;;;;;87930:410;88003:17;;;;;;;87995:60;;;;;-1:-1:-1;;;87995:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;88074:9;;:22;;;-1:-1:-1;;;88074:22:0;;;;;;;;;;88100:10;;-1:-1:-1;;;;;88074:9:0;;:17;;:22;;;;;;;;;;;;;;:9;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;88074:22:0;-1:-1:-1;;;;;88074:36:0;;88066:77;;;;;-1:-1:-1;;;88066:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;88163:21;;;;:16;:21;;;;;;;;88162:22;88154:74;;;;-1:-1:-1;;;88154:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;88241:10;;:52;;;-1:-1:-1;;;88241:52:0;;88262:10;88241:52;;;;82043:21;88241:52;;;;;;-1:-1:-1;;;;;88241:10:0;;;;:20;;:52;;;;;:10;;:52;;;;;;;;:10;;:52;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;88304:21:0;;;;-1:-1:-1;88304:16:0;:21;;;;;:28;;-1:-1:-1;;88304:28:0;88328:4;88304:28;;;87930:410::o;82117:41::-;82154:4;82117:41;:::o;54407:295::-;54522:12;:10;:12::i;:::-;-1:-1:-1;;;;;54510:24:0;:8;-1:-1:-1;;;;;54510:24:0;;;54502:62;;;;;-1:-1:-1;;;54502:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;54622:8;54577:18;:32;54596:12;:10;:12::i;:::-;-1:-1:-1;;;;;54577:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;54577:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;54577:53:0;;;;;;;;;;;54661:12;:10;:12::i;:::-;-1:-1:-1;;;;;54646:48:0;;54685:8;54646:48;;;;;;;;;;;;;;;;;;;;54407:295;;:::o;86303:154::-;86378:10;86371:18;;;;:6;:18;;;;;;;;86363:48;;;;;-1:-1:-1;;;86363:48:0;;;;;;;;;;;;-1:-1:-1;;;86363:48:0;;;;;;;;;;;;;;;86429:11;:20;86303:154::o;86862:264::-;86978:22;86991:4;86997:2;86978:12;:22::i;:::-;-1:-1:-1;;;;;87011:17:0;;;;;;;:11;:17;;;;;;:19;;-1:-1:-1;;87011:19:0;;;87041:15;;;;;;:17;;87011:19;87041:17;;;87069:49;87023:4;87053:2;87103:7;87112:5;87069:23;:49::i;:::-;86862:264;;;;:::o;82274:25::-;;;;;;:::o;82346:36::-;;;;;;;;;:::o;88348:107::-;65516:12;:10;:12::i;:::-;-1:-1:-1;;;;;65505:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;65505:23:0;;65497:68;;;;;-1:-1:-1;;;65497:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;65497:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;88423:17:0::1;;::::0;;;:6:::1;:17;::::0;;;;:24;;-1:-1:-1;;88423:24:0::1;88443:4;88423:24;::::0;;88348:107::o;51673:792::-;51746:13;51780:16;51788:7;51780;:16::i;:::-;51772:76;;;;-1:-1:-1;;;51772:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51887:19;;;;:10;:19;;;;;;;;;51861:45;;;;;;-1:-1:-1;;51861:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:23;;:45;;;51887:19;51861:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51917:18;51938:9;:7;:9::i;:::-;51917:30;;52029:4;52023:18;52045:1;52023:23;52019:72;;;-1:-1:-1;52070:9:0;-1:-1:-1;52063:16:0;;52019:72;52195:23;;:27;52191:108;;52270:4;52276:9;52253:33;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52253:33:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52253:33:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52253:33:0;;;;;;;;;;;;;-1:-1:-1;;52253:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52239:48;;;;;;52191:108;52431:4;52437:18;:7;:16;:18::i;:::-;52414:42;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52414:42:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52414:42:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52414:42:0;;;;;;;;;;;;;-1:-1:-1;;52414:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52400:57;;;;51673:792;;;:::o;87810:112::-;87871:4;87894:20;;;:15;:20;;;;;;;;;87810:112::o;54773:164::-;-1:-1:-1;;;;;54894:25:0;;;54870:4;54894:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;54773:164::o;66239:244::-;65516:12;:10;:12::i;:::-;-1:-1:-1;;;;;65505:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;65505:23:0;;65497:68;;;;;-1:-1:-1;;;65497:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;65497:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;66328:22:0;::::1;66320:73;;;;-1:-1:-1::0;;;66320:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66430:6;::::0;66409:38:::1;::::0;-1:-1:-1;;;;;66409:38:0;;::::1;::::0;66430:6:::1;::::0;66409:38:::1;::::0;66430:6:::1;::::0;66409:38:::1;66458:6;:17:::0;;-1:-1:-1;;;;;;66458:17:0::1;-1:-1:-1::0;;;;;66458:17:0;;;::::1;::::0;;;::::1;::::0;;66239:244::o;86591:121::-;86646:10;86639:18;;;;:6;:18;;;;;;;;86631:48;;;;;-1:-1:-1;;;86631:48:0;;;;;;;;;;;;-1:-1:-1;;;86631:48:0;;;;;;;;;;;;;;;86690:6;:14;;-1:-1:-1;;86690:14:0;;;86591:121::o;57354:127::-;57419:4;57443:30;:12;57465:7;57443:21;:30::i;8114:106::-;8202:10;8114:106;:::o;63299:192::-;63365:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;63365:29:0;-1:-1:-1;;;;;63365:29:0;;;;;;;;:24;;63419:23;63365:24;63419:14;:23::i;:::-;-1:-1:-1;;;;;63410:46:0;;;;;;;;;;;63299:192;;:::o;44124:123::-;44193:7;44220:19;44228:3;44220:7;:19::i;83846:668::-;83915:12;83930:25;83934:15;82453:10;83930:3;:25::i;:::-;-1:-1:-1;;;;;83986:17:0;;83966;83986;;;:10;:17;;;;;;83915:40;;-1:-1:-1;84020:13:0;;84016:121;;84066:71;84131:5;84066:60;84089:36;84104:19;:4;84113:9;84104:8;:19::i;84066:71::-;-1:-1:-1;;;;;84048:14:0;;;;;;:7;:14;;;;;:89;;;;;;;84016:121;82453:10;84152:9;:16;84148:59;;-1:-1:-1;;;;;84183:17:0;;;;;;:10;:17;;;;;:24;;;84148:59;-1:-1:-1;;;;;84222:17:0;;;84218:289;;-1:-1:-1;;;;;84274:15:0;;84256;84274;;;:10;:15;;;;;;84308:11;;84304:117;;84354:67;84415:5;84354:56;84375:34;84390:17;:4;84399:7;84390:8;:17::i;84354:67::-;-1:-1:-1;;;;;84338:12:0;;;;;;:7;:12;;;;;:83;;;;;;;84304:117;82453:10;84440:7;:14;84436:59;;-1:-1:-1;;;;;84473:15:0;;;;;;:10;:15;;;;;:22;;;84436:59;84218:289;83846:668;;;;:::o;55004:305::-;55165:41;55184:12;:10;:12::i;:::-;55198:7;55165:18;:41::i;:::-;55157:103;;;;-1:-1:-1;;;55157:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55273:28;55283:4;55289:2;55293:7;55273:9;:28::i;86031:106::-;86089:7;86120:1;86116;:5;:13;;86128:1;86116:13;;;-1:-1:-1;86124:1:0;;86031:106;-1:-1:-1;86031:106:0:o;3298:158::-;3356:7;3389:1;3384;:6;;3376:49;;;;;-1:-1:-1;;;3376:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3443:5:0;;;3298:158::o;3715:220::-;3773:7;3797:6;3793:20;;-1:-1:-1;3812:1:0;3805:8;;3793:20;3836:5;;;3840:1;3836;:5;:1;3860:5;;;;;:10;3852:56;;;;-1:-1:-1;;;3852:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4413:153;4471:7;4503:1;4499;:5;4491:44;;;;;-1:-1:-1;;;4491:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4557:1;4553;:5;;;;;;;4413:153;-1:-1:-1;;;4413:153:0:o;35870:137::-;35941:7;35976:22;35980:3;35992:5;35976:3;:22::i;44595:236::-;44675:7;;;;44735:22;44739:3;44751:5;44735:3;:22::i;:::-;44704:53;;;;-1:-1:-1;44595:236:0;-1:-1:-1;;;;;44595:236:0:o;62002:100::-;62075:19;;;;:8;;:19;;;;;:::i;2836:179::-;2894:7;2926:5;;;2950:6;;;;2942:46;;;;;-1:-1:-1;;;2942:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;85055:505;85134:12;85149:25;85153:15;82453:10;85149:3;:25::i;:::-;-1:-1:-1;;;;;85205:17:0;;85185;85205;;;:10;:17;;;;;;85134:40;;-1:-1:-1;85237:13:0;;85233:284;;85282:140;85301:120;85391:29;:7;82258:9;85391:11;:29::i;:::-;85301:71;85366:5;85301:60;85324:36;85339:19;:4;85348:9;85339:8;:19::i;85324:36::-;-1:-1:-1;;;;;85301:18:0;;;;;;:11;:18;;;;;;;:22;:60::i;:120::-;-1:-1:-1;;;;;85282:14:0;;;;;;:7;:14;;;;;;;:18;:140::i;:::-;-1:-1:-1;;;;;85265:14:0;;;;;;:7;:14;;;;;:157;85233:284;;;85468:49;85487:29;:7;82258:9;85487:11;:29::i;85468:49::-;-1:-1:-1;;;;;85451:14:0;;;;;;:7;:14;;;;;:66;85233:284;-1:-1:-1;;;;;;85528:17:0;;;;;;;:10;:17;;;;;:24;;;;-1:-1:-1;85055:505:0:o;58346:110::-;58422:26;58432:2;58436:7;58422:26;;;;;;;;;;;;:9;:26::i;45881:213::-;45988:7;46039:44;46044:3;46064;46070:12;46039:4;:44::i;:::-;46031:53;-1:-1:-1;45881:213:0;;;;;;:::o;55602:285::-;55734:41;55753:12;:10;:12::i;:::-;55767:7;55734:18;:41::i;:::-;55726:103;;;;-1:-1:-1;;;55726:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55840:39;55854:4;55860:2;55864:7;55873:5;55840:13;:39::i;46316:746::-;46372:13;46593:10;46589:53;;-1:-1:-1;46620:10:0;;;;;;;;;;;;-1:-1:-1;;;46620:10:0;;;;;;46589:53;46667:5;46652:12;46708:78;46715:9;;46708:78;;46741:8;;46772:2;46764:10;;;;46708:78;;;46796:19;46828:6;46818:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46818:17:0;-1:-1:-1;46890:5:0;;-1:-1:-1;46796:39:0;-1:-1:-1;;;46862:10:0;;46906:117;46913:9;;46906:117;;46982:2;46975:4;:9;46970:2;:14;46957:29;;46939:6;46946:7;;;;;;;46939:15;;;;;;;;;;;:47;-1:-1:-1;;;;;46939:47:0;;;;;;;;-1:-1:-1;47009:2:0;47001:10;;;;46906:117;;;-1:-1:-1;47047:6:0;46316:746;-1:-1:-1;;;;46316:746:0:o;43885:151::-;43969:4;43993:35;44003:3;44023;43993:9;:35::i;40639:110::-;40722:19;;40639:110::o;57648:355::-;57741:4;57766:16;57774:7;57766;:16::i;:::-;57758:73;;;;-1:-1:-1;;;57758:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57842:13;57858:23;57873:7;57858:14;:23::i;:::-;57842:39;;57911:5;-1:-1:-1;;;;;57900:16:0;:7;-1:-1:-1;;;;;57900:16:0;;:51;;;;57944:7;-1:-1:-1;;;;;57920:31:0;:20;57932:7;57920:11;:20::i;:::-;-1:-1:-1;;;;;57920:31:0;;57900:51;:94;;;;57955:39;57979:5;57986:7;57955:23;:39::i;:::-;57892:103;57648:355;-1:-1:-1;;;;57648:355:0:o;60793:608::-;60918:4;-1:-1:-1;;;;;60891:31:0;:23;60906:7;60891:14;:23::i;:::-;-1:-1:-1;;;;;60891:31:0;;60883:85;;;;-1:-1:-1;;;60883:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;61014:16:0;;61006:65;;;;-1:-1:-1;;;61006:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61084:39;61105:4;61111:2;61115:7;61084:20;:39::i;:::-;61188:29;61205:1;61209:7;61188:8;:29::i;:::-;-1:-1:-1;;;;;61230:19:0;;;;;;:13;:19;;;;;:35;;61257:7;61230:26;:35::i;:::-;-1:-1:-1;;;;;;61276:17:0;;;;;;:13;:17;;;;;:30;;61298:7;61276:21;:30::i;:::-;-1:-1:-1;61319:29:0;:12;61336:7;61345:2;61319:16;:29::i;:::-;;61385:7;61381:2;-1:-1:-1;;;;;61366:27:0;61375:4;-1:-1:-1;;;;;61366:27:0;;;;;;;;;;;60793:608;;;:::o;30878:204::-;30973:18;;30945:7;;30973:26;-1:-1:-1;30965:73:0;;;;-1:-1:-1;;;30965:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31056:3;:11;;31068:5;31056:18;;;;;;;;;;;;;;;;31049:25;;30878:204;;;;:::o;41114:279::-;41218:19;;41181:7;;;;41218:27;-1:-1:-1;41210:74:0;;;;-1:-1:-1;;;41210:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41297:22;41322:3;:12;;41335:5;41322:19;;;;;;;;;;;;;;;;;;41297:44;;41360:5;:10;;;41372:5;:12;;;41352:33;;;;;41114:279;;;;;:::o;58683:250::-;58779:18;58785:2;58789:7;58779:5;:18::i;:::-;58816:54;58847:1;58851:2;58855:7;58864:5;58816:22;:54::i;:::-;58808:117;;;;-1:-1:-1;;;58808:117:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42647:337;42741:7;42780:17;;;:12;;;:17;;;;;;42831:12;42816:13;42808:36;;;;-1:-1:-1;;;42808:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42907:3;:12;;42931:1;42920:8;:12;42907:26;;;;;;;;;;;;;;;;;;:33;;;42900:40;;;42647:337;;;;;:::o;56769:272::-;56883:28;56893:4;56899:2;56903:7;56883:9;:28::i;:::-;56930:48;56953:4;56959:2;56963:7;56972:5;56930:22;:48::i;:::-;56922:111;;;;-1:-1:-1;;;56922:111:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40419:125;40490:4;40514:17;;;:12;;;;;:17;;;;;;:22;;;40419:125::o;34947:137::-;35017:4;35041:35;35049:3;35069:5;35041:7;:35::i;34640:131::-;34707:4;34731:32;34736:3;34756:5;34731:4;:32::i;43308:185::-;43397:4;43421:64;43426:3;43446;-1:-1:-1;;;;;43460:23:0;;43421:4;:64::i;59269:404::-;-1:-1:-1;;;;;59349:16:0;;59341:61;;;;;-1:-1:-1;;;59341:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59422:16;59430:7;59422;:16::i;:::-;59421:17;59413:58;;;;;-1:-1:-1;;;59413:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;59484:45;59513:1;59517:2;59521:7;59484:20;:45::i;:::-;-1:-1:-1;;;;;59542:17:0;;;;;;:13;:17;;;;;:30;;59564:7;59542:21;:30::i;:::-;-1:-1:-1;59585:29:0;:12;59602:7;59611:2;59585:16;:29::i;:::-;-1:-1:-1;59632:33:0;;59657:7;;-1:-1:-1;;;;;59632:33:0;;;59649:1;;59632:33;;59649:1;;59632:33;59269:404;;:::o;62667:624::-;62784:4;62811:15;:2;-1:-1:-1;;;;;62811:13:0;;:15::i;:::-;62806:60;;-1:-1:-1;62850:4:0;62843:11;;62806:60;62876:23;62902:276;-1:-1:-1;;;63023:12:0;:10;:12::i;:::-;63054:4;63077:7;63103:5;62918:205;;;;;;-1:-1:-1;;;;;62918:205:0;;;;;;-1:-1:-1;;;;;62918:205:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;62918:205:0;;;;;;;-1:-1:-1;;;;;62918:205:0;;;;;;;;;;;62902:276;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;62902:15:0;;;:276;:15;:276::i;:::-;62876:302;;63189:13;63216:10;63205:32;;;;;;;;;;;;;;;-1:-1:-1;63205:32:0;-1:-1:-1;;;;;;63256:26:0;-1:-1:-1;;;63256:26:0;;-1:-1:-1;;;62667:624:0;;;;;;:::o;28558:1556::-;28624:4;28763:19;;;:12;;;:19;;;;;;28799:15;;28795:1312;;29233:18;;-1:-1:-1;;29184:14:0;;;;29233:22;;;;29160:21;;29233:3;;:22;;29520;;;;;;;;;;;;;;29500:42;;29666:9;29637:3;:11;;29649:13;29637:26;;;;;;;;;;;;;;;;;;;:38;;;;29743:23;;;29785:1;29743:12;;;:23;;;;;;29769:17;;;29743:43;;29908:17;;29743:3;;29908:17;;;;;;;;;;;;;;;;;;;;;;30003:3;:12;;:19;30016:5;30003:19;;;;;;;;;;;29996:26;;;30046:4;30039:11;;;;;;;;28795:1312;30090:5;30083:12;;;;;27968:414;28031:4;28053:21;28063:3;28068:5;28053:9;:21::i;:::-;28048:327;;-1:-1:-1;28091:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;28274:18;;28252:19;;;:12;;;:19;;;;;;:40;;;;28307:11;;28048:327;-1:-1:-1;28358:5:0;28351:12;;37908:691;37984:4;38119:17;;;:12;;;:17;;;;;;38153:13;38149:443;;-1:-1:-1;;38237:38:0;;;;;;;;;;;;;;;;;;38219:57;;;;;;;;:12;:57;;;;;;;;;;;;;;;;;;;;;;;;38434:19;;38414:17;;;:12;;;:17;;;;;;;:39;38468:11;;38149:443;38548:5;38512:3;:12;;38536:1;38525:8;:12;38512:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;38575:5;38568:12;;;;;19019:420;19385:20;19423:8;;;19019:420::o;21935:195::-;22038:12;22070:52;22092:6;22100:4;22106:1;22109:12;22038;23239:18;23250:6;23239:10;:18::i;:::-;23231:60;;;;;-1:-1:-1;;;23231:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;23365:12;23379:23;23406:6;-1:-1:-1;;;;;23406:11:0;23426:5;23433:4;23406:32;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;23406:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23364:74;;;;23456:52;23474:7;23483:10;23495:12;23456:17;:52::i;:::-;23449:59;22987:529;-1:-1:-1;;;;;;;22987:529:0:o;25526:743::-;25642:12;25671:7;25667:595;;;-1:-1:-1;25702:10:0;25695:17;;25667:595;25816:17;;:21;25812:439;;26079:10;26073:17;26140:15;26127:10;26123:2;26119:19;26112:44;26027:148;26215:20;;-1:-1:-1;;;26215:20:0;;;;;;;;;;;;;;;;;26222:12;;26215:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;

Swarm Source

ipfs://f95c6e1074abfec9083654ed00a29865bd9e695ee9b3f1751945b8cc4b74b7e1
Loading...
Loading
Loading...
Loading
[ 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.