ETH Price: $3,398.12 (+1.50%)

Token

0xmons.xyz (0XMON)
 

Overview

Max Total Supply

341 0XMON

Holders

211

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
junipurr.eth
Balance
1 0XMON
0xb80a7f113cce545212d7726ff2479f5e0359937a
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Neural net generated pixel monsters.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
MonMinter

Compiler Version
v0.6.8+commit.0bbfe453

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU AGPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-12-27
*/

// File: contracts/UsesMon.sol

//  : AGPL-3.0-or-later

pragma solidity ^0.6.8;

interface UsesMon {
  struct Mon {
      // the original address this monster went to
      address summoner;

      // the unique ID associated with parent 1 of this monster
      uint256 parent1Id;

      // the unique ID associated with parent 2 of this monster
      uint256 parent2Id;

      // the address of the contract that minted this monster
      address minterContract;

      // the id of this monster within its specific contract
      uint256 contractOrder;

      // the generation of this monster
      uint256 gen;

      // used to calculate statistics and other things
      uint256 bits;

      // tracks the experience of this monster
      uint256 exp;

      // the monster's rarity
      uint256 rarity;
  }
}

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

//  : (MIT AND AGPL-3.0-or-later)

pragma solidity ^0.6.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with 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/IERC165.sol

//  : (MIT AND AGPL-3.0-or-later)

pragma solidity ^0.6.0;

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

// File: @openzeppelin/contracts/token/ERC721/IERC721.sol

//  : (MIT AND AGPL-3.0-or-later)

pragma solidity ^0.6.2;


/**
 * @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/IERC721Metadata.sol

//  : (MIT AND AGPL-3.0-or-later)

pragma solidity ^0.6.2;


/**
 * @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/IERC721Enumerable.sol

//  : (MIT AND AGPL-3.0-or-later)

pragma solidity ^0.6.2;


/**
 * @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/IERC721Receiver.sol

//  : (MIT AND AGPL-3.0-or-later)

pragma solidity ^0.6.0;

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

// File: @openzeppelin/contracts/introspection/ERC165.sol

//  : (MIT AND AGPL-3.0-or-later)

pragma solidity ^0.6.0;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts may inherit from this and call {_registerInterface} to declare
 * their support of an interface.
 */
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 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/math/SafeMath.sol

//  : (MIT AND AGPL-3.0-or-later)

pragma solidity ^0.6.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, 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) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * 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);
        uint256 c = a - b;

        return c;
    }

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

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) {
        return div(a, b, "SafeMath: division by zero");
    }

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

        return c;
    }

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

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

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

//  : (MIT AND AGPL-3.0-or-later)

pragma solidity ^0.6.2;

/**
 * @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 in 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");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        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/EnumerableSet.sol

//  : (MIT AND AGPL-3.0-or-later)

pragma solidity ^0.6.0;

/**
 * @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.0.0, only sets of type `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];
    }

    // 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(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(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(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(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/EnumerableMap.sol

//  : (MIT AND AGPL-3.0-or-later)

pragma solidity ^0.6.0;

/**
 * @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 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) {
        return _get(map, key, "EnumerableMap: nonexistent key");
    }

    /**
     * @dev Same as {_get}, with a custom error message when `key` is not in the map.
     */
    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(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(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(uint256(_get(map._inner, bytes32(key))));
    }

    /**
     * @dev Same as {get}, with a custom error message when `key` is not in the map.
     */
    function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {
        return address(uint256(_get(map._inner, bytes32(key), errorMessage)));
    }
}

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

//  : (MIT AND AGPL-3.0-or-later)

pragma solidity ^0.6.0;

/**
 * @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--] = byte(uint8(48 + temp % 10));
            temp /= 10;
        }
        return string(buffer);
    }
}

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

//  : (MIT AND AGPL-3.0-or-later)

pragma solidity ^0.6.0;












/**
 * @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 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 override returns (address) {
        return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token");
    }

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

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

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

        string memory _tokenURI = _tokenURIs[tokenId];

        // If there is no base URI, return the token URI.
        if (bytes(_baseURI).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(_baseURI, _tokenURI));
        }
        // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.
        return string(abi.encodePacked(_baseURI, 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 returns (string memory) {
        return _baseURI;
    }

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

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view 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 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 = ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

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

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view 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 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 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 returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || 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 = ownerOf(tokenId);

        _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(ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

        _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(ownerOf(tokenId), to, tokenId);
    }

    /**
     * @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/token/ERC721/ERC721Burnable.sol

//  : (MIT AND AGPL-3.0-or-later)

pragma solidity ^0.6.0;



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

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol

//  : (MIT AND AGPL-3.0-or-later)

pragma solidity ^0.6.0;

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

// File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol

//  : (MIT AND AGPL-3.0-or-later)

pragma solidity ^0.6.0;




/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

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

//  : (MIT AND AGPL-3.0-or-later)

pragma solidity ^0.6.0;


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

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

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

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

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

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

//  : (MIT AND AGPL-3.0-or-later)

pragma solidity ^0.6.0;




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

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

    mapping (bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

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

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

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

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

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

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

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

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

        _grantRole(role, account);
    }

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

        _revokeRole(role, account);
    }

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

        _revokeRole(role, account);
    }

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

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

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

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

// File: contracts/MonMinter.sol

//  : AGPL-3.0-or-later

pragma solidity ^0.6.8;
pragma experimental ABIEncoderV2;







contract MonMinter is ERC721Burnable, AccessControl, UsesMon {

  modifier onlyAdmin {
    require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "Not admin");
    _;
  }

  modifier onlyMinter {
    require(hasRole(MINTER_ROLE, msg.sender), "Not minter");
    _;
  }

  using SafeERC20 for IERC20;
  using Counters for Counters.Counter;

  bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
  Counters.Counter private monIds;

  mapping(uint256 => Mon) public monRecords;

  mapping(uint256 => string) public rarityTable;

  constructor() public ERC721("0xmons.xyz", "0XMON") {

    // Give caller admin permissions
    _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);

    // Make the caller admin a minter
    grantRole(MINTER_ROLE, msg.sender);

    // Send monster #0 to the caller
    mintMonster(
      // to
      msg.sender,
      // parent1Id
      0,
      // parent2Id
      0,
      // minterContract
      address(this),
      // contractOrder
      0,
      // gen
      0,
      // bits
      0,
      // exp
      0,
      // rarity
      0
      );
  }

  // Mints a monster to an address and sets its data
  function mintMonster(address to,
                       uint256 parent1Id,
                       uint256 parent2Id,
                       address minterContract,
                       uint256 contractOrder,
                       uint256 gen,
                       uint256 bits,
                       uint256 exp,
                       uint256 rarity
                      ) public onlyMinter returns (uint256) {
    uint256 currId = monIds.current();
    monIds.increment();
    monRecords[currId] = Mon(
      to,
      parent1Id,
      parent2Id,
      minterContract,
      contractOrder,
      gen,
      bits,
      exp,
      rarity
    );
    _safeMint(to, currId);
    return(currId);
  }

  // Modifies the data of a monster
  function modifyMon(uint256 id,
                     bool ignoreZeros,
                     uint256 parent1Id,
                     uint256 parent2Id,
                     address minterContract,
                     uint256 contractOrder,
                     uint256 gen,
                     uint256 bits,
                     uint256 exp,
                     uint256 rarity
  ) public onlyMinter {
    Mon storage currMon = monRecords[id];
    if (ignoreZeros) {
      if (parent1Id != 0) {
        currMon.parent1Id = parent1Id;
      }
      if (parent2Id != 0) {
        currMon.parent2Id = parent2Id;
      }
      if (minterContract != address(0)) {
        currMon.minterContract = minterContract;
      }
      if (contractOrder != 0) {
        currMon.contractOrder = contractOrder;
      }
      if (gen != 0) {
        currMon.gen = gen;
      }
      if (bits != 0) {
        currMon.bits = bits;
      }
      if (exp != 0) {
        currMon.exp = exp;
      }
      if (rarity != 0) {
        currMon.rarity = rarity;
      }
    }
    else {
      currMon.parent1Id = parent1Id;
      currMon.parent2Id = parent2Id;
      currMon.minterContract = minterContract;
      currMon.contractOrder = contractOrder;
      currMon.gen = gen;
      currMon.bits = bits;
      currMon.exp = exp;
      currMon.rarity = rarity;
    }
  }

  // Modifies the tokenURI of a monster
  function setTokenURI(uint256 id, string memory uri) public onlyMinter {
    _setTokenURI(id, uri);
  }

  // Sets the base URI
  function setBaseURI(string memory uri) public onlyAdmin {
    _setBaseURI(uri);
  }

  // Rescues tokens locked in the contract
  function moveTokens(address tokenAddress, address to, uint256 numTokens) public onlyAdmin {
    IERC20 _token = IERC20(tokenAddress);
    _token.safeTransfer(to, numTokens);
  }

  // Updates the mapping of rarity codes to strings
  function setRarityTitle(uint256 code, string memory s) public onlyAdmin {
    rarityTable[code] = s;
  }

  // Allows admin to add new minters
  function setMinterRole(address a) public onlyAdmin {
    grantRole(MINTER_ROLE, a);
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"parent1Id","type":"uint256"},{"internalType":"uint256","name":"parent2Id","type":"uint256"},{"internalType":"address","name":"minterContract","type":"address"},{"internalType":"uint256","name":"contractOrder","type":"uint256"},{"internalType":"uint256","name":"gen","type":"uint256"},{"internalType":"uint256","name":"bits","type":"uint256"},{"internalType":"uint256","name":"exp","type":"uint256"},{"internalType":"uint256","name":"rarity","type":"uint256"}],"name":"mintMonster","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"bool","name":"ignoreZeros","type":"bool"},{"internalType":"uint256","name":"parent1Id","type":"uint256"},{"internalType":"uint256","name":"parent2Id","type":"uint256"},{"internalType":"address","name":"minterContract","type":"address"},{"internalType":"uint256","name":"contractOrder","type":"uint256"},{"internalType":"uint256","name":"gen","type":"uint256"},{"internalType":"uint256","name":"bits","type":"uint256"},{"internalType":"uint256","name":"exp","type":"uint256"},{"internalType":"uint256","name":"rarity","type":"uint256"}],"name":"modifyMon","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"monRecords","outputs":[{"internalType":"address","name":"summoner","type":"address"},{"internalType":"uint256","name":"parent1Id","type":"uint256"},{"internalType":"uint256","name":"parent2Id","type":"uint256"},{"internalType":"address","name":"minterContract","type":"address"},{"internalType":"uint256","name":"contractOrder","type":"uint256"},{"internalType":"uint256","name":"gen","type":"uint256"},{"internalType":"uint256","name":"bits","type":"uint256"},{"internalType":"uint256","name":"exp","type":"uint256"},{"internalType":"uint256","name":"rarity","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"moveTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rarityTable","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"a","type":"address"}],"name":"setMinterRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"code","type":"uint256"},{"internalType":"string","name":"s","type":"string"}],"name":"setRarityTitle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"string","name":"uri","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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"}]

60806040523480156200001157600080fd5b50604080518082018252600a815269183c36b7b739973c3cbd60b11b60208083019190915282518084019093526005835264182c26a7a760d91b90830152906200006b6301ffc9a760e01b6001600160e01b036200015016565b8151620000809060069060208501906200097d565b508051620000969060079060208401906200097d565b50620000b26380ac58cd60e01b6001600160e01b036200015016565b620000cd635b5e139f60e01b6001600160e01b036200015016565b620000e863780e9d6360e01b6001600160e01b036200015016565b506200010190506000336001600160e01b03620001ab16565b6200012c604051620001139062000a95565b604051908190039020336001600160e01b03620001c416565b62000149336000803081808080806001600160e01b036200021c16565b5062000cd2565b6001600160e01b03198082161415620001865760405162461bcd60e51b81526004016200017d9062000ba1565b60405180910390fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b620001c082826001600160e01b036200037b16565b5050565b6000828152600a6020526040902060020154620001fd90620001ee6001600160e01b03620003ff16565b6001600160e01b036200040416565b620001ab5760405162461bcd60e51b81526004016200017d9062000b00565b600062000249604051620002309062000a95565b604051908190039020336001600160e01b036200040416565b620002685760405162461bcd60e51b81526004016200017d9062000c0f565b600062000281600b6200043360201b620010e21760201c565b90506200029a600b6200043760201b620010e61760201c565b60408051610120810182526001600160a01b03808e16825260208083018e81528385018e81528d841660608601908152608086018e815260a087018e815260c088018e815260e089018e81526101008a018e815260008d8152600c9099529a909720985189549089166001600160a01b0319918216178a55955160018a01559351600289015591516003880180549190971694169390931790945590516004850155915160058401559051600683015551600782015590516008909101556200036d8b826001600160e01b036200044016565b9a9950505050505050505050565b6000828152600a60209081526040909120620003a2918390620010ef62000462821b17901c565b15620001c057620003bb6001600160e01b03620003ff16565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b335b90565b6000828152600a6020908152604082206200042a9184906200110462000482821b17901c565b90505b92915050565b5490565b80546001019055565b620001c0828260405180602001604052806000815250620004a260201b60201c565b60006200042a836001600160a01b0384166001600160e01b03620004f316565b60006200042a836001600160a01b0384166001600160e01b036200054b16565b620004b783836001600160e01b036200056316565b620004cf60008484846001600160e01b036200066316565b620004ee5760405162461bcd60e51b81526004016200017d9062000b4f565b505050565b60006200050a83836001600160e01b036200054b16565b62000542575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556200042d565b5060006200042d565b60009081526001919091016020526040902054151590565b6001600160a01b0382166200058c5760405162461bcd60e51b81526004016200017d9062000c33565b620005a0816001600160e01b036200077116565b15620005c05760405162461bcd60e51b81526004016200017d9062000bd8565b620005d7600083836001600160e01b03620004ee16565b6001600160a01b038216600090815260016020908152604090912062000608918390620011196200078e821b17901c565b506200062681836002620007a560201b62001125179092919060201c565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600062000684846001600160a01b0316620007d060201b620011451760201c565b620006925750600162000769565b606062000737630a85bd0160e11b620006b36001600160e01b03620003ff16565b888787604051602401620006cb949392919062000aac565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b0383818316178352505050506040518060600160405280603281526020016200395160329139876001600160a01b0316620007d660201b6200114b179092919060201c565b905060008180602001905181019062000751919062000a1f565b6001600160e01b031916630a85bd0160e11b14925050505b949350505050565b60006200042d826002620007f060201b6200115a1790919060201c565b60006200042a83836001600160e01b03620004f316565b6000620007c684846001600160a01b0385166001600160e01b036200080716565b90505b9392505050565b3b151590565b6060620007c684846000856001600160e01b03620008a216565b60006200042a83836001600160e01b036200054b16565b6000828152600184016020526040812054806200086e575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055620007c9565b828560000160018303815481106200088257fe5b9060005260206000209060020201600101819055506000915050620007c9565b6060620008b8856001600160e01b03620007d016565b620008d75760405162461bcd60e51b81526004016200017d9062000c68565b60006060866001600160a01b03168587604051620008f6919062000a77565b60006040518083038185875af1925050503d806000811462000935576040519150601f19603f3d011682016040523d82523d6000602084013e6200093a565b606091505b5091509150811562000950579150620007699050565b805115620009615780518082602001fd5b8360405162461bcd60e51b81526004016200017d919062000aeb565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620009c057805160ff1916838001178555620009f0565b82800160010185558215620009f0579182015b82811115620009f0578251825591602001919060010190620009d3565b50620009fe92915062000a02565b5090565b6200040191905b80821115620009fe576000815560010162000a09565b60006020828403121562000a31578081fd5b81516001600160e01b031981168114620007c9578182fd5b6000815180845262000a6381602086016020860162000c9f565b601f01601f19169290920160200192915050565b6000825162000a8b81846020870162000c9f565b9190910192915050565b6a4d494e5445525f524f4c4560a81b8152600b0190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009062000ae19083018462000a49565b9695505050505050565b6000602082526200042a602083018462000a49565b6020808252602f908201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60408201526e0818591b5a5b881d1bc819dc985b9d608a1b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601c908201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604082015260600190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b6020808252600a90820152692737ba1036b4b73a32b960b11b604082015260600190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b60005b8381101562000cbc57818101518382015260200162000ca2565b8381111562000ccc576000848401525b50505050565b612c6f8062000ce26000396000f3fe608060405234801561001057600080fd5b506004361061021c5760003560e01c80636f22993c11610125578063c70fd8ec116100ad578063d547741f1161007c578063d547741f1461046b578063e1c557511461047e578063e36b981314610491578063e985e9c5146104b9578063ea8c63f7146104cc5761021c565b8063c70fd8ec1461042a578063c87b56dd1461043d578063ca15c87314610450578063d5391393146104635761021c565b8063945d1229116100f4578063945d1229146103e157806395d89b41146103f4578063a217fddf146103fc578063a22cb46514610404578063b88d4fde146104175761021c565b80636f22993c1461039557806370a08231146103a85780639010d07c146103bb57806391d14854146103ce5761021c565b80632f745c59116101a85780634f6ccce7116101775780634f6ccce71461034157806355f804b3146103545780636352211e146103675780636c0360eb1461037a5780636db87119146103825761021c565b80632f745c59146102f557806336568abe1461030857806342842e0e1461031b57806342966c681461032e5761021c565b8063162094c4116101ef578063162094c41461029457806318160ddd146102a757806323b872dd146102bc578063248a9ca3146102cf5780632f2ff15d146102e25761021c565b806301ffc9a71461022157806306fdde031461024a578063081812fc1461025f578063095ea7b31461027f575b600080fd5b61023461022f36600461220c565b6104df565b60405161024191906124da565b60405180910390f35b610252610502565b60405161024191906124ee565b61027261026d3660046121af565b610599565b604051610241919061241d565b61029261028d3660046120f2565b6105e5565b005b6102926102a23660046122f8565b61067d565b6102af6106c4565b60405161024191906124e5565b6102926102ca366004612013565b6106d5565b6102af6102dd3660046121af565b61070d565b6102926102f03660046121c7565b610722565b6102af6103033660046120f2565b610766565b6102926103163660046121c7565b610797565b610292610329366004612013565b6107d9565b61029261033c3660046121af565b6107f4565b6102af61034f3660046121af565b610827565b610292610362366004612244565b610843565b6102726103753660046121af565b610873565b6102526108a1565b610292610390366004612277565b610902565b6102926103a3366004612013565b610a31565b6102af6103b6366004611fc4565b610a79565b6102726103c93660046121eb565b610ac2565b6102346103dc3660046121c7565b610ae0565b6102926103ef366004611fc4565b610afe565b610252610b42565b6102af610ba3565b6102926104123660046120bb565b610ba8565b610292610425366004612053565b610c76565b6102926104383660046122f8565b610caf565b61025261044b3660046121af565b610cf5565b6102af61045e3660046121af565b610e3f565b6102af610e56565b6102926104793660046121c7565b610e6d565b6102af61048c36600461211c565b610ea7565b6104a461049f3660046121af565b610fc2565b60405161024199989796959493929190612487565b6102346104c7366004611fdf565b611019565b6102526104da3660046121af565b611047565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60068054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561058e5780601f106105635761010080835404028352916020019161058e565b820191906000526020600020905b81548152906001019060200180831161057157829003601f168201915b505050505090505b90565b60006105a482611166565b6105c95760405162461bcd60e51b81526004016105c090612874565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006105f082610873565b9050806001600160a01b0316836001600160a01b031614156106245760405162461bcd60e51b81526004016105c0906129a4565b806001600160a01b0316610636611179565b6001600160a01b031614806106525750610652816104c7611179565b61066e5760405162461bcd60e51b81526004016105c090612756565b610678838361117d565b505050565b61069a60405161068c90612406565b604051809103902033610ae0565b6106b65760405162461bcd60e51b81526004016105c090612732565b6106c082826111eb565b5050565b60006106d0600261122f565b905090565b6106e66106e0611179565b8261123a565b6107025760405162461bcd60e51b81526004016105c0906129e5565b6106788383836112bf565b6000908152600a602052604090206002015490565b6000828152600a6020526040902060020154610740906103dc611179565b61075c5760405162461bcd60e51b81526004016105c090612543565b6106c082826113df565b6001600160a01b038216600090815260016020526040812061078e908363ffffffff61144e16565b90505b92915050565b61079f611179565b6001600160a01b0316816001600160a01b0316146107cf5760405162461bcd60e51b81526004016105c090612b2a565b6106c0828261145a565b61067883838360405180602001604052806000815250610c76565b6107ff6106e0611179565b61081b5760405162461bcd60e51b81526004016105c090612ab7565b610824816114c9565b50565b60008061083b60028463ffffffff6115a216565b509392505050565b61084e600033610ae0565b61086a5760405162461bcd60e51b81526004016105c090612b07565b610824816115be565b600061079182604051806060016040528060298152602001612c11602991396002919063ffffffff6115d116565b60098054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561058e5780601f106105635761010080835404028352916020019161058e565b61091160405161068c90612406565b61092d5760405162461bcd60e51b81526004016105c090612732565b60008a8152600c6020526040902089156109d557881561094f57600181018990555b871561095d57600281018890555b6001600160a01b0387161561098a576003810180546001600160a01b0319166001600160a01b0389161790555b851561099857600481018690555b84156109a657600581018590555b83156109b457600681018490555b82156109c257600781018390555b81156109d057600881018290555b610a24565b60018101899055600281018890556003810180546001600160a01b0319166001600160a01b03891617905560048101869055600581018590556006810184905560078101839055600881018290555b5050505050505050505050565b610a3c600033610ae0565b610a585760405162461bcd60e51b81526004016105c090612b07565b82610a736001600160a01b038216848463ffffffff6115de16565b50505050565b60006001600160a01b038216610aa15760405162461bcd60e51b81526004016105c0906127b3565b6001600160a01b03821660009081526001602052604090206107919061122f565b6000828152600a6020526040812061078e908363ffffffff61144e16565b6000828152600a6020526040812061078e908363ffffffff61110416565b610b09600033610ae0565b610b255760405162461bcd60e51b81526004016105c090612b07565b610824604051610b3490612406565b604051809103902082610722565b60078054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561058e5780601f106105635761010080835404028352916020019161058e565b600081565b610bb0611179565b6001600160a01b0316826001600160a01b03161415610be15760405162461bcd60e51b81526004016105c09061265f565b8060056000610bee611179565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610c32611179565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610c6a91906124da565b60405180910390a35050565b610c87610c81611179565b8361123a565b610ca35760405162461bcd60e51b81526004016105c0906129e5565b610a7384848484611634565b610cba600033610ae0565b610cd65760405162461bcd60e51b81526004016105c090612b07565b6000828152600d60209081526040909120825161067892840190611e57565b6060610d0082611166565b610d1c5760405162461bcd60e51b81526004016105c090612955565b60008281526008602090815260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845260609392830182828015610db15780601f10610d8657610100808354040283529160200191610db1565b820191906000526020600020905b815481529060010190602001808311610d9457829003601f168201915b505060095493945050505060026000196101006001841615020190911604610dda5790506104fd565b805115610e0c57600981604051602001610df5929190612385565b6040516020818303038152906040529150506104fd565b6009610e1784611667565b604051602001610e28929190612385565b604051602081830303815290604052915050919050565b6000818152600a602052604081206107919061122f565b604051610e6290612406565b604051809103902081565b6000828152600a6020526040902060020154610e8b906103dc611179565b6107cf5760405162461bcd60e51b81526004016105c0906126e2565b6000610eb860405161068c90612406565b610ed45760405162461bcd60e51b81526004016105c090612732565b6000610ee0600b6110e2565b9050610eec600b6110e6565b60408051610120810182526001600160a01b03808e16825260208083018e81528385018e81528d841660608601908152608086018e815260a087018e815260c088018e815260e089018e81526101008a018e815260008d8152600c9099529a909720985189549089166001600160a01b0319918216178a55955160018a0155935160028901559151600388018054919097169416939093179094559051600485015591516005840155905160068301555160078201559051600890910155610fb48b82611742565b9a9950505050505050505050565b600c602052600090815260409020805460018201546002830154600384015460048501546005860154600687015460078801546008909801546001600160a01b039788169896979596959094169492939192909189565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600d6020908152600091825260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845290918301828280156110da5780601f106110af576101008083540402835291602001916110da565b820191906000526020600020905b8154815290600101906020018083116110bd57829003601f168201915b505050505081565b5490565b80546001019055565b600061078e836001600160a01b03841661175c565b600061078e836001600160a01b0384166117a6565b600061078e838361175c565b600061113b84846001600160a01b0385166117be565b90505b9392505050565b3b151590565b606061113b8484600085611855565b600061078e83836117a6565b600061079160028363ffffffff61115a16565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906111b282610873565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6111f482611166565b6112105760405162461bcd60e51b81526004016105c0906128c0565b6000828152600860209081526040909120825161067892840190611e57565b6000610791826110e2565b600061124582611166565b6112615760405162461bcd60e51b81526004016105c090612696565b600061126c83610873565b9050806001600160a01b0316846001600160a01b031614806112a75750836001600160a01b031661129c84610599565b6001600160a01b0316145b806112b757506112b78185611019565b949350505050565b826001600160a01b03166112d282610873565b6001600160a01b0316146112f85760405162461bcd60e51b81526004016105c09061290c565b6001600160a01b03821661131e5760405162461bcd60e51b81526004016105c09061261b565b611329838383610678565b61133460008261117d565b6001600160a01b038316600090815260016020526040902061135c908263ffffffff61191916565b506001600160a01b0382166000908152600160205260409020611385908263ffffffff61111916565b506113986002828463ffffffff61112516565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000828152600a602052604090206113fd908263ffffffff6110ef16565b156106c05761140a611179565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600061078e8383611925565b6000828152600a60205260409020611478908263ffffffff61196a16565b156106c057611485611179565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b60006114d482610873565b90506114e281600084610678565b6114ed60008361117d565b600082815260086020526040902054600260001961010060018416150201909116041561152b57600082815260086020526040812061152b91611ed5565b6001600160a01b0381166000908152600160205260409020611553908363ffffffff61191916565b5061156560028363ffffffff61197f16565b5060405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60008080806115b1868661198b565b9097909650945050505050565b80516106c0906009906020840190611e57565b600061113b8484846119e7565b6106788363a9059cbb60e01b84846040516024016115fd92919061246e565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611a46565b61163f8484846112bf565b61164b84848484611ad5565b610a735760405162461bcd60e51b81526004016105c090612592565b60608161168c57506040805180820190915260018152600360fc1b60208201526104fd565b8160005b81156116a457600101600a82049150611690565b60608167ffffffffffffffff811180156116bd57600080fd5b506040519080825280601f01601f1916602001820160405280156116e8576020820181803683370190505b50859350905060001982015b831561173957600a840660300160f81b8282806001900393508151811061171757fe5b60200101906001600160f81b031916908160001a905350600a840493506116f4565b50949350505050565b6106c0828260405180602001604052806000815250611bba565b600061176883836117a6565b61179e57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610791565b506000610791565b60009081526001919091016020526040902054151590565b60008281526001840160205260408120548061182357505060408051808201825283815260208082018481528654600181810189556000898152848120955160029093029095019182559151908201558654868452818801909252929091205561113e565b8285600001600183038154811061183657fe5b906000526020600020906002020160010181905550600091505061113e565b606061186085611145565b61187c5760405162461bcd60e51b81526004016105c090612a36565b60006060866001600160a01b031685876040516118999190612369565b60006040518083038185875af1925050503d80600081146118d6576040519150601f19603f3d011682016040523d82523d6000602084013e6118db565b606091505b509150915081156118ef5791506112b79050565b8051156118ff5780518082602001fd5b8360405162461bcd60e51b81526004016105c091906124ee565b600061078e8383611bed565b815460009082106119485760405162461bcd60e51b81526004016105c090612501565b82600001828154811061195757fe5b9060005260206000200154905092915050565b600061078e836001600160a01b038416611bed565b600061078e8383611cb3565b8154600090819083106119b05760405162461bcd60e51b81526004016105c0906127fd565b60008460000184815481106119c157fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008281526001840160205260408120548281611a175760405162461bcd60e51b81526004016105c091906124ee565b50846000016001820381548110611a2a57fe5b9060005260206000209060020201600101549150509392505050565b6060611a9b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661114b9092919063ffffffff16565b8051909150156106785780806020019051810190611ab99190612193565b6106785760405162461bcd60e51b81526004016105c090612a6d565b6000611ae9846001600160a01b0316611145565b611af5575060016112b7565b6060611b83630a85bd0160e11b611b0a611179565b888787604051602401611b209493929190612431565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001612bdf603291396001600160a01b038816919063ffffffff61114b16565b9050600081806020019051810190611b9b9190612228565b6001600160e01b031916630a85bd0160e11b1492505050949350505050565b611bc48383611d87565b611bd16000848484611ad5565b6106785760405162461bcd60e51b81526004016105c090612592565b60008181526001830160205260408120548015611ca95783546000198083019190810190600090879083908110611c2057fe5b9060005260206000200154905080876000018481548110611c3d57fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080611c6d57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610791565b6000915050610791565b60008181526001830160205260408120548015611ca95783546000198083019190810190600090879083908110611ce657fe5b9060005260206000209060020201905080876000018481548110611d0657fe5b600091825260208083208454600290930201918255600193840154918401919091558354825289830190526040902090840190558654879080611d4557fe5b60008281526020808220600260001990940193840201828155600190810183905592909355888152898201909252604082209190915594506107919350505050565b6001600160a01b038216611dad5760405162461bcd60e51b81526004016105c09061283f565b611db681611166565b15611dd35760405162461bcd60e51b81526004016105c0906125e4565b611ddf60008383610678565b6001600160a01b0382166000908152600160205260409020611e07908263ffffffff61111916565b50611e1a6002828463ffffffff61112516565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611e9857805160ff1916838001178555611ec5565b82800160010185558215611ec5579182015b82811115611ec5578251825591602001919060010190611eaa565b50611ed1929150611f15565b5090565b50805460018160011615610100020316600290046000825580601f10611efb5750610824565b601f01602090049060005260206000209081019061082491905b61059691905b80821115611ed15760008155600101611f1b565b80356001600160a01b038116811461079157600080fd5b600082601f830112611f56578081fd5b813567ffffffffffffffff80821115611f6d578283fd5b604051601f8301601f191681016020018281118282101715611f8d578485fd5b604052828152925082848301602001861015611fa857600080fd5b8260208601602083013760006020848301015250505092915050565b600060208284031215611fd5578081fd5b61078e8383611f2f565b60008060408385031215611ff1578081fd5b611ffb8484611f2f565b915061200a8460208501611f2f565b90509250929050565b600080600060608486031215612027578081fd5b833561203281612ba5565b9250602084013561204281612ba5565b929592945050506040919091013590565b60008060008060808587031215612068578081fd5b6120728686611f2f565b93506120818660208701611f2f565b925060408501359150606085013567ffffffffffffffff8111156120a3578182fd5b6120af87828801611f46565b91505092959194509250565b600080604083850312156120cd578182fd5b6120d78484611f2f565b915060208301356120e781612bba565b809150509250929050565b60008060408385031215612104578182fd5b61210e8484611f2f565b946020939093013593505050565b60008060008060008060008060006101208a8c03121561213a578485fd5b893561214581612ba5565b985060208a0135975060408a0135965060608a013561216381612ba5565b989b979a50959860808101359760a0820135975060c0820135965060e08201359550610100909101359350915050565b6000602082840312156121a4578081fd5b815161113e81612bba565b6000602082840312156121c0578081fd5b5035919050565b600080604083850312156121d9578182fd5b8235915060208301356120e781612ba5565b600080604083850312156121fd578182fd5b50508035926020909101359150565b60006020828403121561221d578081fd5b813561113e81612bc8565b600060208284031215612239578081fd5b815161113e81612bc8565b600060208284031215612255578081fd5b813567ffffffffffffffff81111561226b578182fd5b6112b784828501611f46565b6000806000806000806000806000806101408b8d031215612296578384fd5b8a35995060208b01356122a881612bba565b985060408b0135975060608b0135965060808b01356122c681612ba5565b999c989b50969995989760a0870135975060c08701359660e08101359650610100810135955061012001359350915050565b6000806040838503121561230a578182fd5b82359150602083013567ffffffffffffffff811115612327578182fd5b61233385828601611f46565b9150509250929050565b60008151808452612355816020860160208601612b79565b601f01601f19169290920160200192915050565b6000825161237b818460208701612b79565b9190910192915050565b60008084546001808216600081146123a457600181146123bb576123ea565b60ff198316865260028304607f16860193506123ea565b600283048886526020808720875b838110156123e25781548a8201529085019082016123c9565b505050860193505b50505083516123fd818360208801612b79565b01949350505050565b6a4d494e5445525f524f4c4560a81b8152600b0190565b6001600160a01b0391909116815260200190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906124649083018461233d565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b6001600160a01b03998a16815260208101989098526040880196909652939096166060860152608085019190915260a084015260c083019390935260e08201929092526101008101919091526101200190565b901515815260200190565b90815260200190565b60006020825261078e602083018461233d565b60208082526022908201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60408201526e0818591b5a5b881d1bc819dc985b9d608a1b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526030908201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60408201526f2061646d696e20746f207265766f6b6560801b606082015260800190565b6020808252600a90820152692737ba1036b4b73a32b960b11b604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526022908201527f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252602c908201527f4552433732314d657461646174613a2055524920736574206f66206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b60208082526030908201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760408201526f1b995c881b9bdc88185c1c1c9bdd995960821b606082015260800190565b6020808252600990820152682737ba1030b236b4b760b91b604082015260600190565b6020808252602f908201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560408201526e103937b632b9903337b91039b2b63360891b606082015260800190565b60005b83811015612b94578181015183820152602001612b7c565b83811115610a735750506000910152565b6001600160a01b038116811461082457600080fd5b801515811461082457600080fd5b6001600160e01b03198116811461082457600080fdfe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea26469706673582212200d5d5f826e3d9a6eb9fbf121f74722794f9a1ee86f2100a2547f8c2797a7a59464736f6c634300060800334552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061021c5760003560e01c80636f22993c11610125578063c70fd8ec116100ad578063d547741f1161007c578063d547741f1461046b578063e1c557511461047e578063e36b981314610491578063e985e9c5146104b9578063ea8c63f7146104cc5761021c565b8063c70fd8ec1461042a578063c87b56dd1461043d578063ca15c87314610450578063d5391393146104635761021c565b8063945d1229116100f4578063945d1229146103e157806395d89b41146103f4578063a217fddf146103fc578063a22cb46514610404578063b88d4fde146104175761021c565b80636f22993c1461039557806370a08231146103a85780639010d07c146103bb57806391d14854146103ce5761021c565b80632f745c59116101a85780634f6ccce7116101775780634f6ccce71461034157806355f804b3146103545780636352211e146103675780636c0360eb1461037a5780636db87119146103825761021c565b80632f745c59146102f557806336568abe1461030857806342842e0e1461031b57806342966c681461032e5761021c565b8063162094c4116101ef578063162094c41461029457806318160ddd146102a757806323b872dd146102bc578063248a9ca3146102cf5780632f2ff15d146102e25761021c565b806301ffc9a71461022157806306fdde031461024a578063081812fc1461025f578063095ea7b31461027f575b600080fd5b61023461022f36600461220c565b6104df565b60405161024191906124da565b60405180910390f35b610252610502565b60405161024191906124ee565b61027261026d3660046121af565b610599565b604051610241919061241d565b61029261028d3660046120f2565b6105e5565b005b6102926102a23660046122f8565b61067d565b6102af6106c4565b60405161024191906124e5565b6102926102ca366004612013565b6106d5565b6102af6102dd3660046121af565b61070d565b6102926102f03660046121c7565b610722565b6102af6103033660046120f2565b610766565b6102926103163660046121c7565b610797565b610292610329366004612013565b6107d9565b61029261033c3660046121af565b6107f4565b6102af61034f3660046121af565b610827565b610292610362366004612244565b610843565b6102726103753660046121af565b610873565b6102526108a1565b610292610390366004612277565b610902565b6102926103a3366004612013565b610a31565b6102af6103b6366004611fc4565b610a79565b6102726103c93660046121eb565b610ac2565b6102346103dc3660046121c7565b610ae0565b6102926103ef366004611fc4565b610afe565b610252610b42565b6102af610ba3565b6102926104123660046120bb565b610ba8565b610292610425366004612053565b610c76565b6102926104383660046122f8565b610caf565b61025261044b3660046121af565b610cf5565b6102af61045e3660046121af565b610e3f565b6102af610e56565b6102926104793660046121c7565b610e6d565b6102af61048c36600461211c565b610ea7565b6104a461049f3660046121af565b610fc2565b60405161024199989796959493929190612487565b6102346104c7366004611fdf565b611019565b6102526104da3660046121af565b611047565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60068054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561058e5780601f106105635761010080835404028352916020019161058e565b820191906000526020600020905b81548152906001019060200180831161057157829003601f168201915b505050505090505b90565b60006105a482611166565b6105c95760405162461bcd60e51b81526004016105c090612874565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006105f082610873565b9050806001600160a01b0316836001600160a01b031614156106245760405162461bcd60e51b81526004016105c0906129a4565b806001600160a01b0316610636611179565b6001600160a01b031614806106525750610652816104c7611179565b61066e5760405162461bcd60e51b81526004016105c090612756565b610678838361117d565b505050565b61069a60405161068c90612406565b604051809103902033610ae0565b6106b65760405162461bcd60e51b81526004016105c090612732565b6106c082826111eb565b5050565b60006106d0600261122f565b905090565b6106e66106e0611179565b8261123a565b6107025760405162461bcd60e51b81526004016105c0906129e5565b6106788383836112bf565b6000908152600a602052604090206002015490565b6000828152600a6020526040902060020154610740906103dc611179565b61075c5760405162461bcd60e51b81526004016105c090612543565b6106c082826113df565b6001600160a01b038216600090815260016020526040812061078e908363ffffffff61144e16565b90505b92915050565b61079f611179565b6001600160a01b0316816001600160a01b0316146107cf5760405162461bcd60e51b81526004016105c090612b2a565b6106c0828261145a565b61067883838360405180602001604052806000815250610c76565b6107ff6106e0611179565b61081b5760405162461bcd60e51b81526004016105c090612ab7565b610824816114c9565b50565b60008061083b60028463ffffffff6115a216565b509392505050565b61084e600033610ae0565b61086a5760405162461bcd60e51b81526004016105c090612b07565b610824816115be565b600061079182604051806060016040528060298152602001612c11602991396002919063ffffffff6115d116565b60098054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561058e5780601f106105635761010080835404028352916020019161058e565b61091160405161068c90612406565b61092d5760405162461bcd60e51b81526004016105c090612732565b60008a8152600c6020526040902089156109d557881561094f57600181018990555b871561095d57600281018890555b6001600160a01b0387161561098a576003810180546001600160a01b0319166001600160a01b0389161790555b851561099857600481018690555b84156109a657600581018590555b83156109b457600681018490555b82156109c257600781018390555b81156109d057600881018290555b610a24565b60018101899055600281018890556003810180546001600160a01b0319166001600160a01b03891617905560048101869055600581018590556006810184905560078101839055600881018290555b5050505050505050505050565b610a3c600033610ae0565b610a585760405162461bcd60e51b81526004016105c090612b07565b82610a736001600160a01b038216848463ffffffff6115de16565b50505050565b60006001600160a01b038216610aa15760405162461bcd60e51b81526004016105c0906127b3565b6001600160a01b03821660009081526001602052604090206107919061122f565b6000828152600a6020526040812061078e908363ffffffff61144e16565b6000828152600a6020526040812061078e908363ffffffff61110416565b610b09600033610ae0565b610b255760405162461bcd60e51b81526004016105c090612b07565b610824604051610b3490612406565b604051809103902082610722565b60078054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561058e5780601f106105635761010080835404028352916020019161058e565b600081565b610bb0611179565b6001600160a01b0316826001600160a01b03161415610be15760405162461bcd60e51b81526004016105c09061265f565b8060056000610bee611179565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610c32611179565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610c6a91906124da565b60405180910390a35050565b610c87610c81611179565b8361123a565b610ca35760405162461bcd60e51b81526004016105c0906129e5565b610a7384848484611634565b610cba600033610ae0565b610cd65760405162461bcd60e51b81526004016105c090612b07565b6000828152600d60209081526040909120825161067892840190611e57565b6060610d0082611166565b610d1c5760405162461bcd60e51b81526004016105c090612955565b60008281526008602090815260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845260609392830182828015610db15780601f10610d8657610100808354040283529160200191610db1565b820191906000526020600020905b815481529060010190602001808311610d9457829003601f168201915b505060095493945050505060026000196101006001841615020190911604610dda5790506104fd565b805115610e0c57600981604051602001610df5929190612385565b6040516020818303038152906040529150506104fd565b6009610e1784611667565b604051602001610e28929190612385565b604051602081830303815290604052915050919050565b6000818152600a602052604081206107919061122f565b604051610e6290612406565b604051809103902081565b6000828152600a6020526040902060020154610e8b906103dc611179565b6107cf5760405162461bcd60e51b81526004016105c0906126e2565b6000610eb860405161068c90612406565b610ed45760405162461bcd60e51b81526004016105c090612732565b6000610ee0600b6110e2565b9050610eec600b6110e6565b60408051610120810182526001600160a01b03808e16825260208083018e81528385018e81528d841660608601908152608086018e815260a087018e815260c088018e815260e089018e81526101008a018e815260008d8152600c9099529a909720985189549089166001600160a01b0319918216178a55955160018a0155935160028901559151600388018054919097169416939093179094559051600485015591516005840155905160068301555160078201559051600890910155610fb48b82611742565b9a9950505050505050505050565b600c602052600090815260409020805460018201546002830154600384015460048501546005860154600687015460078801546008909801546001600160a01b039788169896979596959094169492939192909189565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600d6020908152600091825260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845290918301828280156110da5780601f106110af576101008083540402835291602001916110da565b820191906000526020600020905b8154815290600101906020018083116110bd57829003601f168201915b505050505081565b5490565b80546001019055565b600061078e836001600160a01b03841661175c565b600061078e836001600160a01b0384166117a6565b600061078e838361175c565b600061113b84846001600160a01b0385166117be565b90505b9392505050565b3b151590565b606061113b8484600085611855565b600061078e83836117a6565b600061079160028363ffffffff61115a16565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906111b282610873565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6111f482611166565b6112105760405162461bcd60e51b81526004016105c0906128c0565b6000828152600860209081526040909120825161067892840190611e57565b6000610791826110e2565b600061124582611166565b6112615760405162461bcd60e51b81526004016105c090612696565b600061126c83610873565b9050806001600160a01b0316846001600160a01b031614806112a75750836001600160a01b031661129c84610599565b6001600160a01b0316145b806112b757506112b78185611019565b949350505050565b826001600160a01b03166112d282610873565b6001600160a01b0316146112f85760405162461bcd60e51b81526004016105c09061290c565b6001600160a01b03821661131e5760405162461bcd60e51b81526004016105c09061261b565b611329838383610678565b61133460008261117d565b6001600160a01b038316600090815260016020526040902061135c908263ffffffff61191916565b506001600160a01b0382166000908152600160205260409020611385908263ffffffff61111916565b506113986002828463ffffffff61112516565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000828152600a602052604090206113fd908263ffffffff6110ef16565b156106c05761140a611179565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600061078e8383611925565b6000828152600a60205260409020611478908263ffffffff61196a16565b156106c057611485611179565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b60006114d482610873565b90506114e281600084610678565b6114ed60008361117d565b600082815260086020526040902054600260001961010060018416150201909116041561152b57600082815260086020526040812061152b91611ed5565b6001600160a01b0381166000908152600160205260409020611553908363ffffffff61191916565b5061156560028363ffffffff61197f16565b5060405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60008080806115b1868661198b565b9097909650945050505050565b80516106c0906009906020840190611e57565b600061113b8484846119e7565b6106788363a9059cbb60e01b84846040516024016115fd92919061246e565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611a46565b61163f8484846112bf565b61164b84848484611ad5565b610a735760405162461bcd60e51b81526004016105c090612592565b60608161168c57506040805180820190915260018152600360fc1b60208201526104fd565b8160005b81156116a457600101600a82049150611690565b60608167ffffffffffffffff811180156116bd57600080fd5b506040519080825280601f01601f1916602001820160405280156116e8576020820181803683370190505b50859350905060001982015b831561173957600a840660300160f81b8282806001900393508151811061171757fe5b60200101906001600160f81b031916908160001a905350600a840493506116f4565b50949350505050565b6106c0828260405180602001604052806000815250611bba565b600061176883836117a6565b61179e57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610791565b506000610791565b60009081526001919091016020526040902054151590565b60008281526001840160205260408120548061182357505060408051808201825283815260208082018481528654600181810189556000898152848120955160029093029095019182559151908201558654868452818801909252929091205561113e565b8285600001600183038154811061183657fe5b906000526020600020906002020160010181905550600091505061113e565b606061186085611145565b61187c5760405162461bcd60e51b81526004016105c090612a36565b60006060866001600160a01b031685876040516118999190612369565b60006040518083038185875af1925050503d80600081146118d6576040519150601f19603f3d011682016040523d82523d6000602084013e6118db565b606091505b509150915081156118ef5791506112b79050565b8051156118ff5780518082602001fd5b8360405162461bcd60e51b81526004016105c091906124ee565b600061078e8383611bed565b815460009082106119485760405162461bcd60e51b81526004016105c090612501565b82600001828154811061195757fe5b9060005260206000200154905092915050565b600061078e836001600160a01b038416611bed565b600061078e8383611cb3565b8154600090819083106119b05760405162461bcd60e51b81526004016105c0906127fd565b60008460000184815481106119c157fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008281526001840160205260408120548281611a175760405162461bcd60e51b81526004016105c091906124ee565b50846000016001820381548110611a2a57fe5b9060005260206000209060020201600101549150509392505050565b6060611a9b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661114b9092919063ffffffff16565b8051909150156106785780806020019051810190611ab99190612193565b6106785760405162461bcd60e51b81526004016105c090612a6d565b6000611ae9846001600160a01b0316611145565b611af5575060016112b7565b6060611b83630a85bd0160e11b611b0a611179565b888787604051602401611b209493929190612431565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001612bdf603291396001600160a01b038816919063ffffffff61114b16565b9050600081806020019051810190611b9b9190612228565b6001600160e01b031916630a85bd0160e11b1492505050949350505050565b611bc48383611d87565b611bd16000848484611ad5565b6106785760405162461bcd60e51b81526004016105c090612592565b60008181526001830160205260408120548015611ca95783546000198083019190810190600090879083908110611c2057fe5b9060005260206000200154905080876000018481548110611c3d57fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080611c6d57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610791565b6000915050610791565b60008181526001830160205260408120548015611ca95783546000198083019190810190600090879083908110611ce657fe5b9060005260206000209060020201905080876000018481548110611d0657fe5b600091825260208083208454600290930201918255600193840154918401919091558354825289830190526040902090840190558654879080611d4557fe5b60008281526020808220600260001990940193840201828155600190810183905592909355888152898201909252604082209190915594506107919350505050565b6001600160a01b038216611dad5760405162461bcd60e51b81526004016105c09061283f565b611db681611166565b15611dd35760405162461bcd60e51b81526004016105c0906125e4565b611ddf60008383610678565b6001600160a01b0382166000908152600160205260409020611e07908263ffffffff61111916565b50611e1a6002828463ffffffff61112516565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611e9857805160ff1916838001178555611ec5565b82800160010185558215611ec5579182015b82811115611ec5578251825591602001919060010190611eaa565b50611ed1929150611f15565b5090565b50805460018160011615610100020316600290046000825580601f10611efb5750610824565b601f01602090049060005260206000209081019061082491905b61059691905b80821115611ed15760008155600101611f1b565b80356001600160a01b038116811461079157600080fd5b600082601f830112611f56578081fd5b813567ffffffffffffffff80821115611f6d578283fd5b604051601f8301601f191681016020018281118282101715611f8d578485fd5b604052828152925082848301602001861015611fa857600080fd5b8260208601602083013760006020848301015250505092915050565b600060208284031215611fd5578081fd5b61078e8383611f2f565b60008060408385031215611ff1578081fd5b611ffb8484611f2f565b915061200a8460208501611f2f565b90509250929050565b600080600060608486031215612027578081fd5b833561203281612ba5565b9250602084013561204281612ba5565b929592945050506040919091013590565b60008060008060808587031215612068578081fd5b6120728686611f2f565b93506120818660208701611f2f565b925060408501359150606085013567ffffffffffffffff8111156120a3578182fd5b6120af87828801611f46565b91505092959194509250565b600080604083850312156120cd578182fd5b6120d78484611f2f565b915060208301356120e781612bba565b809150509250929050565b60008060408385031215612104578182fd5b61210e8484611f2f565b946020939093013593505050565b60008060008060008060008060006101208a8c03121561213a578485fd5b893561214581612ba5565b985060208a0135975060408a0135965060608a013561216381612ba5565b989b979a50959860808101359760a0820135975060c0820135965060e08201359550610100909101359350915050565b6000602082840312156121a4578081fd5b815161113e81612bba565b6000602082840312156121c0578081fd5b5035919050565b600080604083850312156121d9578182fd5b8235915060208301356120e781612ba5565b600080604083850312156121fd578182fd5b50508035926020909101359150565b60006020828403121561221d578081fd5b813561113e81612bc8565b600060208284031215612239578081fd5b815161113e81612bc8565b600060208284031215612255578081fd5b813567ffffffffffffffff81111561226b578182fd5b6112b784828501611f46565b6000806000806000806000806000806101408b8d031215612296578384fd5b8a35995060208b01356122a881612bba565b985060408b0135975060608b0135965060808b01356122c681612ba5565b999c989b50969995989760a0870135975060c08701359660e08101359650610100810135955061012001359350915050565b6000806040838503121561230a578182fd5b82359150602083013567ffffffffffffffff811115612327578182fd5b61233385828601611f46565b9150509250929050565b60008151808452612355816020860160208601612b79565b601f01601f19169290920160200192915050565b6000825161237b818460208701612b79565b9190910192915050565b60008084546001808216600081146123a457600181146123bb576123ea565b60ff198316865260028304607f16860193506123ea565b600283048886526020808720875b838110156123e25781548a8201529085019082016123c9565b505050860193505b50505083516123fd818360208801612b79565b01949350505050565b6a4d494e5445525f524f4c4560a81b8152600b0190565b6001600160a01b0391909116815260200190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906124649083018461233d565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b6001600160a01b03998a16815260208101989098526040880196909652939096166060860152608085019190915260a084015260c083019390935260e08201929092526101008101919091526101200190565b901515815260200190565b90815260200190565b60006020825261078e602083018461233d565b60208082526022908201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60408201526e0818591b5a5b881d1bc819dc985b9d608a1b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526030908201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60408201526f2061646d696e20746f207265766f6b6560801b606082015260800190565b6020808252600a90820152692737ba1036b4b73a32b960b11b604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526022908201527f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252602c908201527f4552433732314d657461646174613a2055524920736574206f66206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b60208082526030908201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760408201526f1b995c881b9bdc88185c1c1c9bdd995960821b606082015260800190565b6020808252600990820152682737ba1030b236b4b760b91b604082015260600190565b6020808252602f908201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560408201526e103937b632b9903337b91039b2b63360891b606082015260800190565b60005b83811015612b94578181015183820152602001612b7c565b83811115610a735750506000910152565b6001600160a01b038116811461082457600080fd5b801515811461082457600080fd5b6001600160e01b03198116811461082457600080fdfe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea26469706673582212200d5d5f826e3d9a6eb9fbf121f74722794f9a1ee86f2100a2547f8c2797a7a59464736f6c63430006080033

Deployed Bytecode Sourcemap

74757:4142:0:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;74757:4142:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;11227:142:0;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;45520:92;;;:::i;:::-;;;;;;;;48207:213;;;;;;;;;:::i;:::-;;;;;;;;47751:390;;;;;;;;;:::i;:::-;;78149:104;;;;;;;;;:::i;47245:203::-;;;:::i;:::-;;;;;;;;49081:305;;;;;;;;;:::i;71397:114::-;;;;;;;;;:::i;71773:227::-;;;;;;;;;:::i;47015:154::-;;;;;;;;;:::i;72982:209::-;;;;;;;;;:::i;49457:151::-;;;;;;;;;:::i;58608:245::-;;;;;;;;;:::i;47525:164::-;;;;;;;;;:::i;78283:85::-;;;;;;;;;:::i;45284:169::-;;;;;;;;;:::i;46842:89::-;;;:::i;76711:1391::-;;;;;;;;;:::i;78418:180::-;;;;;;;;;:::i;45007:215::-;;;;;;;;;:::i;71070:138::-;;;;;;;;;:::i;70031:139::-;;;;;;;;;:::i;78807:89::-;;;;;;;;;:::i;45681:96::-;;;:::i;68776:49::-;;;:::i;48492:295::-;;;;;;;;;:::i;49679:285::-;;;;;;;;;:::i;78657:106::-;;;;;;;;;:::i;45848:755::-;;;;;;;;;:::i;70344:127::-;;;;;;;;;:::i;75107:62::-;;;:::i;72245:230::-;;;;;;;;;:::i;75940:728::-;;;;;;;;;:::i;75212:41::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;48858:156;;;;;;;;;:::i;75260:45::-;;;;;;;;;:::i;11227:142::-;-1:-1:-1;;;;;;11328:33:0;;11304:4;11328:33;;;;;;;;;;;;;11227:142;;;;:::o;45520:92::-;45599:5;45592:12;;;;;;;;-1:-1:-1;;45592:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45566:13;;45592:12;;45599:5;;45592:12;;45599:5;45592:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45520:92;;:::o;48207:213::-;48275:7;48303:16;48311:7;48303;:16::i;:::-;48295:73;;;;-1:-1:-1;;;48295:73:0;;;;;;;;;;;;;;;;;-1:-1:-1;48388:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;48388:24:0;;48207:213::o;47751:390::-;47832:13;47848:16;47856:7;47848;:16::i;:::-;47832:32;;47889:5;-1:-1:-1;;;;;47883:11:0;:2;-1:-1:-1;;;;;47883:11:0;;;47875:57;;;;-1:-1:-1;;;47875:57:0;;;;;;;;;47969:5;-1:-1:-1;;;;;47953:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;47953:21:0;;:62;;;;47978:37;47995:5;48002:12;:10;:12::i;47978:37::-;47945:154;;;;-1:-1:-1;;;47945:154:0;;;;;;;;;48112:21;48121:2;48125:7;48112:8;:21::i;:::-;47751:390;;;:::o;78149:104::-;74967:32;75145:24;;;;;;;;;;;;;;74988:10;74967:7;:32::i;:::-;74959:55;;;;-1:-1:-1;;;74959:55:0;;;;;;;;;78226:21:::1;78239:2;78243:3;78226:12;:21::i;:::-;78149:104:::0;;:::o;47245:203::-;47298:7;47419:21;:12;:19;:21::i;:::-;47412:28;;47245:203;:::o;49081:305::-;49242:41;49261:12;:10;:12::i;:::-;49275:7;49242:18;:41::i;:::-;49234:103;;;;-1:-1:-1;;;49234:103:0;;;;;;;;;49350:28;49360:4;49366:2;49370:7;49350:9;:28::i;71397:114::-;71454:7;71481:12;;;:6;:12;;;;;:22;;;;71397:114::o;71773:227::-;71865:12;;;;:6;:12;;;;;:22;;;71857:45;;71889:12;:10;:12::i;71857:45::-;71849:105;;;;-1:-1:-1;;;71849:105:0;;;;;;;;;71967:25;71978:4;71984:7;71967:10;:25::i;47015:154::-;-1:-1:-1;;;;;47131:20:0;;47104:7;47131:20;;;:13;:20;;;;;:30;;47155:5;47131:30;:23;:30;:::i;:::-;47124:37;;47015:154;;;;;:::o;72982:209::-;73080:12;:10;:12::i;:::-;-1:-1:-1;;;;;73069:23:0;:7;-1:-1:-1;;;;;73069:23:0;;73061:83;;;;-1:-1:-1;;;73061:83:0;;;;;;;;;73157:26;73169:4;73175:7;73157:11;:26::i;49457:151::-;49561:39;49578:4;49584:2;49588:7;49561:39;;;;;;;;;;;;:16;:39::i;58608:245::-;58726:41;58745:12;:10;:12::i;58726:41::-;58718:102;;;;-1:-1:-1;;;58718:102:0;;;;;;;;;58831:14;58837:7;58831:5;:14::i;:::-;58608:245;:::o;47525:164::-;47592:7;;47634:22;:12;47650:5;47634:22;:15;:22;:::i;:::-;-1:-1:-1;47612:44:0;47525:164;-1:-1:-1;;;47525:164:0:o;78283:85::-;74859:39;68821:4;74887:10;74859:7;:39::i;:::-;74851:61;;;;-1:-1:-1;;;74851:61:0;;;;;;;;;78346:16:::1;78358:3;78346:11;:16::i;45284:169::-:0;45348:7;45375:70;45392:7;45375:70;;;;;;;;;;;;;;;;;:12;;:70;;:16;:70;:::i;46842:89::-;46915:8;46908:15;;;;;;;;-1:-1:-1;;46908:15:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46882:13;;46908:15;;46915:8;;46908:15;;46915:8;46908:15;;;;;;;;;;;;;;;;;;;;;;;;76711:1391;74967:32;75145:24;;;;;;74967:32;74959:55;;;;-1:-1:-1;;;74959:55:0;;;;;;;;;77128:19:::1;77150:14:::0;;;:10:::1;:14;::::0;;;;77171:926;::::1;;;77201:14:::0;;77197:70:::1;;77228:17;::::0;::::1;:29:::0;;;77197:70:::1;77279:14:::0;;77275:70:::1;;77306:17;::::0;::::1;:29:::0;;;77275:70:::1;-1:-1:-1::0;;;;;77357:28:0;::::1;::::0;77353:94:::1;;77398:22;::::0;::::1;:39:::0;;-1:-1:-1;;;;;;77398:39:0::1;-1:-1:-1::0;;;;;77398:39:0;::::1;;::::0;;77353:94:::1;77459:18:::0;;77455:82:::1;;77490:21;::::0;::::1;:37:::0;;;77455:82:::1;77549:8:::0;;77545:52:::1;;77570:11;::::0;::::1;:17:::0;;;77545:52:::1;77609:9:::0;;77605:55:::1;;77631:12;::::0;::::1;:19:::0;;;77605:55:::1;77672:8:::0;;77668:52:::1;;77693:11;::::0;::::1;:17:::0;;;77668:52:::1;77732:11:::0;;77728:61:::1;;77756:14;::::0;::::1;:23:::0;;;77728:61:::1;77171:926;;;77816:17;::::0;::::1;:29:::0;;;77854:17:::1;::::0;::::1;:29:::0;;;77892:22:::1;::::0;::::1;:39:::0;;-1:-1:-1;;;;;;77892:39:0::1;-1:-1:-1::0;;;;;77892:39:0;::::1;;::::0;;77940:21:::1;::::0;::::1;:37:::0;;;77986:11:::1;::::0;::::1;:17:::0;;;78012:12:::1;::::0;::::1;:19:::0;;;78040:11:::1;::::0;::::1;:17:::0;;;78066:14:::1;::::0;::::1;:23:::0;;;77171:926:::1;75021:1;76711:1391:::0;;;;;;;;;;:::o;78418:180::-;74859:39;68821:4;74887:10;74859:7;:39::i;:::-;74851:61;;;;-1:-1:-1;;;74851:61:0;;;;;;;;;78538:12;78558:34:::1;-1:-1:-1::0;;;;;78558:19:0;::::1;78578:2:::0;78582:9;78558:34:::1;:19;:34;:::i;:::-;74919:1;78418:180:::0;;;:::o;45007:215::-;45071:7;-1:-1:-1;;;;;45099:19:0;;45091:74;;;;-1:-1:-1;;;45091:74:0;;;;;;;;;-1:-1:-1;;;;;45185:20:0;;;;;;:13;:20;;;;;:29;;:27;:29::i;71070:138::-;71143:7;71170:12;;;:6;:12;;;;;:30;;71194:5;71170:30;:23;:30;:::i;70031:139::-;70100:4;70124:12;;;:6;:12;;;;;:38;;70154:7;70124:38;:29;:38;:::i;78807:89::-;74859:39;68821:4;74887:10;74859:7;:39::i;:::-;74851:61;;;;-1:-1:-1;;;74851:61:0;;;;;;;;;78865:25:::1;75145:24;;;;;;;;;;;;;;78888:1;78865:9;:25::i;45681:96::-:0;45762:7;45755:14;;;;;;;;-1:-1:-1;;45755:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45729:13;;45755:14;;45762:7;;45755:14;;45762:7;45755:14;;;;;;;;;;;;;;;;;;;;;;;;68776:49;68821:4;68776:49;:::o;48492:295::-;48607:12;:10;:12::i;:::-;-1:-1:-1;;;;;48595:24:0;:8;-1:-1:-1;;;;;48595:24:0;;;48587:62;;;;-1:-1:-1;;;48587:62:0;;;;;;;;;48707:8;48662:18;:32;48681:12;:10;:12::i;:::-;-1:-1:-1;;;;;48662:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;48662:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;48662:53:0;;;;;;;;;;;48746:12;:10;:12::i;:::-;-1:-1:-1;;;;;48731:48:0;;48770:8;48731:48;;;;;;;;;;;;;;;48492:295;;:::o;49679:285::-;49811:41;49830:12;:10;:12::i;:::-;49844:7;49811:18;:41::i;:::-;49803:103;;;;-1:-1:-1;;;49803:103:0;;;;;;;;;49917:39;49931:4;49937:2;49941:7;49950:5;49917:13;:39::i;78657:106::-;74859:39;68821:4;74887:10;74859:7;:39::i;:::-;74851:61;;;;-1:-1:-1;;;74851:61:0;;;;;;;;;78736:17:::1;::::0;;;:11:::1;:17;::::0;;;;;;;:21;;::::1;::::0;;::::1;::::0;::::1;:::i;45848:755::-:0;45913:13;45947:16;45955:7;45947;:16::i;:::-;45939:76;;;;-1:-1:-1;;;45939:76:0;;;;;;;;;46054:19;;;;:10;:19;;;;;;;;;46028:45;;;;;;-1:-1:-1;;46028:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:23;;:45;;;46054:19;46028:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;46155:8:0;46149:22;46028:45;;-1:-1:-1;;;;46149:22:0;-1:-1:-1;;46149:22:0;;;;;;;;;;;46145:76;;46200:9;-1:-1:-1;46193:16:0;;46145:76;46325:23;;:27;46321:112;;46400:8;46410:9;46383:37;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;46383:37:0;;;46369:52;;;;;46321:112;46565:8;46575:18;:7;:16;:18::i;:::-;46548:46;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;46548:46:0;;;46534:61;;;45848:755;;;:::o;70344:127::-;70407:7;70434:12;;;:6;:12;;;;;:29;;:27;:29::i;75107:62::-;75145:24;;;;;;;;;;;;;;75107:62;:::o;72245:230::-;72338:12;;;;:6;:12;;;;;:22;;;72330:45;;72362:12;:10;:12::i;72330:45::-;72322:106;;;;-1:-1:-1;;;72322:106:0;;;;;;;;75940:728;76357:7;74967:32;75145:24;;;;;;74967:32;74959:55;;;;-1:-1:-1;;;74959:55:0;;;;;;;;;76373:14:::1;76390:16;:6;:14;:16::i;:::-;76373:33;;76413:18;:6;:16;:18::i;:::-;76459:154;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;76459:154:0;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;;;;;;::::1;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;76438:18:0;;;:10:::1;:18:::0;;;;;;;:175;;;;;;::::1;-1:-1:-1::0;;;;;;76438:175:0;;::::1;;::::0;;;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;;::::1;::::0;76620:21:::1;76471:2:::0;76449:6;76620:9:::1;:21::i;:::-;76655:6:::0;75940:728;-1:-1:-1;;;;;;;;;;75940:728:0:o;75212:41::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;75212:41:0;;;;;;;;;;;;;;;;;;;;:::o;48858:156::-;-1:-1:-1;;;;;48971:25:0;;;48947:4;48971:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;48858:156::o;75260:45::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;75260:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;66610:114::-;66702:14;;66610:114::o;66732:181::-;66886:19;;66904:1;66886:19;;;66732:181::o;28554:143::-;28624:4;28648:41;28653:3;-1:-1:-1;;;;;28673:14:0;;28648:4;:41::i;29108:158::-;29188:4;29212:46;29222:3;-1:-1:-1;;;;;29242:14:0;;29212:9;:46::i;30212:131::-;30279:4;30303:32;30308:3;30328:5;30303:4;:32::i;38055:176::-;38144:4;38168:55;38173:3;38193;-1:-1:-1;;;;;38207:14:0;;38168:4;:55::i;:::-;38161:62;;38055:176;;;;;;:::o;18201:422::-;18568:20;18607:8;;;18201:422::o;21119:196::-;21222:12;21254:53;21277:6;21285:4;21291:1;21294:12;21254:22;:53::i;38623:151::-;38707:4;38731:35;38741:3;38761;38731:9;:35::i;51431:119::-;51488:4;51512:30;:12;51534:7;51512:30;:21;:30;:::i;1515:106::-;1603:10;1515:106;:::o;57258:158::-;57324:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;57324:29:0;-1:-1:-1;;;;;57324:29:0;;;;;;;;:24;;57378:16;57324:24;57378:7;:16::i;:::-;-1:-1:-1;;;;;57369:39:0;;;;;;;;;;;57258:158;;:::o;55536:215::-;55636:16;55644:7;55636;:16::i;:::-;55628:73;;;;-1:-1:-1;;;55628:73:0;;;;;;;;;55712:19;;;;:10;:19;;;;;;;;:31;;;;;;;;:::i;38862:123::-;38931:7;38958:19;38966:3;38958:7;:19::i;51717:333::-;51802:4;51827:16;51835:7;51827;:16::i;:::-;51819:73;;;;-1:-1:-1;;;51819:73:0;;;;;;;;;51903:13;51919:16;51927:7;51919;:16::i;:::-;51903:32;;51965:5;-1:-1:-1;;;;;51954:16:0;:7;-1:-1:-1;;;;;51954:16:0;;:51;;;;51998:7;-1:-1:-1;;;;;51974:31:0;:20;51986:7;51974:11;:20::i;:::-;-1:-1:-1;;;;;51974:31:0;;51954:51;:87;;;;52009:32;52026:5;52033:7;52009:16;:32::i;:::-;51946:96;51717:333;-1:-1:-1;;;;51717:333:0:o;54806:574::-;54924:4;-1:-1:-1;;;;;54904:24:0;:16;54912:7;54904;:16::i;:::-;-1:-1:-1;;;;;54904:24:0;;54896:78;;;;-1:-1:-1;;;54896:78:0;;;;;;;;;-1:-1:-1;;;;;54993:16:0;;54985:65;;;;-1:-1:-1;;;54985:65:0;;;;;;;;;55063:39;55084:4;55090:2;55094:7;55063:20;:39::i;:::-;55167:29;55184:1;55188:7;55167:8;:29::i;:::-;-1:-1:-1;;;;;55209:19:0;;;;;;:13;:19;;;;;:35;;55236:7;55209:35;:26;:35;:::i;:::-;-1:-1:-1;;;;;;55255:17:0;;;;;;:13;:17;;;;;:30;;55277:7;55255:30;:21;:30;:::i;:::-;-1:-1:-1;55298:29:0;:12;55315:7;55324:2;55298:29;:16;:29;:::i;:::-;;55364:7;55360:2;-1:-1:-1;;;;;55345:27:0;55354:4;-1:-1:-1;;;;;55345:27:0;;;;;;;;;;;54806:574;;;:::o;74225:188::-;74299:12;;;;:6;:12;;;;;:33;;74324:7;74299:33;:24;:33;:::i;:::-;74295:111;;;74381:12;:10;:12::i;:::-;-1:-1:-1;;;;;74354:40:0;74372:7;-1:-1:-1;;;;;74354:40:0;74366:4;74354:40;;;;;;;;;;74225:188;;:::o;31432:137::-;31503:7;31538:22;31542:3;31554:5;31538:3;:22::i;74421:192::-;74496:12;;;;:6;:12;;;;;:36;;74524:7;74496:36;:27;:36;:::i;:::-;74492:114;;;74581:12;:10;:12::i;:::-;-1:-1:-1;;;;;74554:40:0;74572:7;-1:-1:-1;;;;;74554:40:0;74566:4;74554:40;;;;;;;;;;74421:192;;:::o;53949:520::-;54009:13;54025:16;54033:7;54025;:16::i;:::-;54009:32;;54054:48;54075:5;54090:1;54094:7;54054:20;:48::i;:::-;54143:29;54160:1;54164:7;54143:8;:29::i;:::-;54231:19;;;;:10;:19;;;;;54225:33;;-1:-1:-1;;54225:33:0;;;;;;;;;;;:38;54221:97;;54287:19;;;;:10;:19;;;;;54280:26;;;:::i;:::-;-1:-1:-1;;;;;54330:20:0;;;;;;:13;:20;;;;;:36;;54358:7;54330:36;:27;:36;:::i;:::-;-1:-1:-1;54379:28:0;:12;54399:7;54379:28;:19;:28;:::i;:::-;-1:-1:-1;54425:36:0;;54453:7;;54449:1;;-1:-1:-1;;;;;54425:36:0;;;;;54449:1;;54425:36;53949:520;;:::o;39324:227::-;39404:7;;;;39464:22;39468:3;39480:5;39464:3;:22::i;:::-;39433:53;;;;-1:-1:-1;39324:227:0;-1:-1:-1;;;;;39324:227:0:o;55981:100::-;56054:19;;;;:8;;:19;;;;;:::i;39986:204::-;40093:7;40136:44;40141:3;40161;40167:12;40136:4;:44::i;62387:177::-;62470:86;62490:5;62520:23;;;62545:2;62549:5;62497:58;;;;;;;;;;;;;;-1:-1:-1;;26:21;;;22:32;6:49;;62497:58:0;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;;;;62497:58:0;;;179:29:-1;;;;160:49;;;62470:19:0;:86::i;50846:272::-;50960:28;50970:4;50976:2;50980:7;50960:9;:28::i;:::-;51007:48;51030:4;51036:2;51040:7;51049:5;51007:22;:48::i;:::-;50999:111;;;;-1:-1:-1;;;50999:111:0;;;;;;;;40466:744;40522:13;40743:10;40739:53;;-1:-1:-1;40770:10:0;;;;;;;;;;;;-1:-1:-1;;;40770:10:0;;;;;;40739:53;40817:5;40802:12;40858:78;40865:9;;40858:78;;40891:8;;40922:2;40914:10;;;;40858:78;;;40946:19;40978:6;40968:17;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;40968:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;21:6:-1;;108:14;40968:17:0;87:42:-1;143:17;;-1:-1;40968:17:0;-1:-1:-1;41040:5:0;;-1:-1:-1;40946:39:0;-1:-1:-1;;;41012:10:0;;41056:115;41063:9;;41056:115;;41130:2;41123:4;:9;41118:2;:14;41107:27;;41089:6;41096:7;;;;;;;41089:15;;;;;;;;;;;:45;-1:-1:-1;;;;;41089:45:0;;;;;;;;-1:-1:-1;41157:2:0;41149:10;;;;41056:115;;;-1:-1:-1;41195:6:0;40466:744;-1:-1:-1;;;;40466:744:0:o;52393:110::-;52469:26;52479:2;52483:7;52469:26;;;;;;;;;;;;:9;:26::i;25208:414::-;25271:4;25293:21;25303:3;25308:5;25293:9;:21::i;:::-;25288:327;;-1:-1:-1;27:10;;39:1;23:18;;;45:23;;25331:11:0;:23;;;;;;;;;;;;;25514:18;;25492:19;;;:12;;;:19;;;;;;:40;;;;25547:11;;25288:327;-1:-1:-1;25598:5:0;25591:12;;27428:129;27501:4;27525:19;;;:12;;;;;:19;;;;;;:24;;;27428:129::o;33525:692::-;33601:4;33736:17;;;:12;;;:17;;;;;;33770:13;33766:444;;-1:-1:-1;;33855:38:0;;;;;;;;;;;;;;;;;;27:10:-1;;39:1;23:18;;;45:23;;33837:12:0;:57;;;;;;;;;;;;;;;;;;;;;;;;34052:19;;34032:17;;;:12;;;:17;;;;;;;:39;34086:11;;33766:444;34166:5;34130:3;:12;;34154:1;34143:8;:12;34130:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;34193:5;34186:12;;;;;22496:979;22626:12;22659:18;22670:6;22659:10;:18::i;:::-;22651:60;;;;-1:-1:-1;;;22651:60:0;;;;;;;;;22785:12;22799:23;22826:6;-1:-1:-1;;;;;22826:11:0;22846:8;22857:4;22826:36;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;22784:78:0;;;;22877:7;22873:595;;;22908:10;-1:-1:-1;22901:17:0;;-1:-1:-1;22901:17:0;22873:595;23022:17;;:21;23018:439;;23285:10;23279:17;23346:15;23333:10;23329:2;23325:19;23318:44;23233:148;23428:12;23421:20;;-1:-1:-1;;;23421:20:0;;;;;;;;;30519:137;30589:4;30613:35;30621:3;30641:5;30613:7;:35::i;28096:204::-;28191:18;;28163:7;;28191:26;-1:-1:-1;28183:73:0;;;;-1:-1:-1;;;28183:73:0;;;;;;;;;28274:3;:11;;28286:5;28274:18;;;;;;;;;;;;;;;;28267:25;;28096:204;;;;:::o;28873:149::-;28946:4;28970:44;28978:3;-1:-1:-1;;;;;28998:14:0;;28970:7;:44::i;38397:142::-;38474:4;38498:33;38506:3;38526;38498:7;:33::i;36710:279::-;36814:19;;36777:7;;;;36814:27;-1:-1:-1;36806:74:0;;;;-1:-1:-1;;;36806:74:0;;;;;;;;;36893:22;36918:3;:12;;36931:5;36918:19;;;;;;;;;;;;;;;;;;36893:44;;36956:5;:10;;;36968:5;:12;;;36948:33;;;;;36710:279;;;;;:::o;37412:319::-;37506:7;37545:17;;;:12;;;:17;;;;;;37596:12;37581:13;37573:36;;;;-1:-1:-1;;;37573:36:0;;;;;;;;;;;37663:3;:12;;37687:1;37676:8;:12;37663:26;;;;;;;;;;;;;;;;;;:33;;;37656:40;;;37412:319;;;;;:::o;64692:761::-;65116:23;65142:69;65170:4;65142:69;;;;;;;;;;;;;;;;;65150:5;-1:-1:-1;;;;;65142:27:0;;;:69;;;;;:::i;:::-;65226:17;;65116:95;;-1:-1:-1;65226:21:0;65222:224;;65368:10;65357:30;;;;;;;;;;;;;;65349:85;;;;-1:-1:-1;;;65349:85:0;;;;;;;;56646:604;56767:4;56794:15;:2;-1:-1:-1;;;;;56794:13:0;;:15::i;:::-;56789:60;;-1:-1:-1;56833:4:0;56826:11;;56789:60;56859:23;56885:252;-1:-1:-1;;;56998:12:0;:10;:12::i;:::-;57025:4;57044:7;57066:5;56901:181;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;56901:181:0;;;;-1:-1:-1;;;;;56901:181:0;;38:4:-1;29:7;25:18;67:10;61:17;-1:-1;;;;;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;56901:181:0;56885:252;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;56885:15:0;;;:252;;:15;:252;:::i;:::-;56859:278;;57148:13;57175:10;57164:32;;;;;;;;;;;;;;-1:-1:-1;;;;;;57215:26:0;-1:-1:-1;;;57215:26:0;;-1:-1:-1;;;56646:604:0;;;;;;:::o;52730:250::-;52826:18;52832:2;52836:7;52826:5;:18::i;:::-;52863:54;52894:1;52898:2;52902:7;52911:5;52863:22;:54::i;:::-;52855:117;;;;-1:-1:-1;;;52855:117:0;;;;;;;;25798:1544;25864:4;26003:19;;;:12;;;:19;;;;;;26039:15;;26035:1300;;26474:18;;-1:-1:-1;;26425:14:0;;;;26474:22;;;;26401:21;;26474:3;;:22;;26761;;;;;;;;;;;;;;26741:42;;26907:9;26878:3;:11;;26890:13;26878:26;;;;;;;;;;;;;;;;;;;:38;;;;26984:23;;;27026:1;26984:12;;;:23;;;;;;27010:17;;;26984:43;;27136:17;;26984:3;;27136:17;;;;;;;;;;;;;;;;;;;;;;27231:3;:12;;:19;27244:5;27231:19;;;;;;;;;;;27224:26;;;27274:4;27267:11;;;;;;;;26035:1300;27318:5;27311:12;;;;;34392:1549;34456:4;34591:17;;;:12;;;:17;;;;;;34625:13;;34621:1313;;35057:19;;-1:-1:-1;;35010:12:0;;;;35057:23;;;;34986:21;;35057:3;;:23;;35354;;;;;;;;;;;;;;;;35325:52;;35502:9;35472:3;:12;;35485:13;35472:27;;;;;;;;;;;;;;;;:39;;:27;;;;;:39;;;;;;;;;;;;;;;35592:14;;35579:28;;:12;;;:28;;;;;35610:17;;;35579:48;;35736:18;;35579:3;;35736:18;;;;;;;;;;;;;;-1:-1:-1;;35736:18:0;;;;;;;;;;;;;;;;;;;;;35832:17;;;:12;;;:17;;;;;;35825:24;;;;35736:18;-1:-1:-1;35866:11:0;;-1:-1:-1;;;;35866:11:0;53316:404;-1:-1:-1;;;;;53396:16:0;;53388:61;;;;-1:-1:-1;;;53388:61:0;;;;;;;;;53469:16;53477:7;53469;:16::i;:::-;53468:17;53460:58;;;;-1:-1:-1;;;53460:58:0;;;;;;;;;53531:45;53560:1;53564:2;53568:7;53531:20;:45::i;:::-;-1:-1:-1;;;;;53589:17:0;;;;;;:13;:17;;;;;:30;;53611:7;53589:30;:21;:30;:::i;:::-;-1:-1:-1;53632:29:0;:12;53649:7;53658:2;53632:29;:16;:29;:::i;:::-;-1:-1:-1;53679:33:0;;53704:7;;-1:-1:-1;;;;;53679:33:0;;;53696:1;;53679:33;;53696:1;;53679:33;53316:404;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:130;72:20;;-1:-1;;;;;39444:54;;40184:35;;40174:2;;40233:1;;40223:12;820:440;;921:3;914:4;906:6;902:17;898:27;888:2;;-1:-1;;929:12;888:2;976:6;963:20;37270:18;;37262:6;37259:30;37256:2;;;-1:-1;;37292:12;37256:2;36926;36920:9;37365;37346:17;;-1:-1;;37342:33;36952:17;;37433:4;36952:17;37012:34;;;37048:22;;;37009:62;37006:2;;;-1:-1;;37074:12;37006:2;36926;37093:22;1068:21;;;989:73;-1:-1;989:73;1168:16;;;37433:4;1168:16;1165:25;-1:-1;1162:2;;;1203:1;;1193:12;1162:2;39671:6;37433:4;1110:6;1106:17;37433:4;1144:5;1140:16;39648:30;39727:1;37433:4;39718:6;1144:5;39709:16;;39702:27;;;;881:379;;;;;1856:241;;1960:2;1948:9;1939:7;1935:23;1931:32;1928:2;;;-1:-1;;1966:12;1928:2;2028:53;2073:7;2049:22;2028:53;;2104:366;;;2225:2;2213:9;2204:7;2200:23;2196:32;2193:2;;;-1:-1;;2231:12;2193:2;2293:53;2338:7;2314:22;2293:53;;;2283:63;;2401:53;2446:7;2383:2;2426:9;2422:22;2401:53;;;2391:63;;2187:283;;;;;;2477:491;;;;2615:2;2603:9;2594:7;2590:23;2586:32;2583:2;;;-1:-1;;2621:12;2583:2;85:6;72:20;97:33;124:5;97:33;;;2673:63;-1:-1;2773:2;2812:22;;72:20;97:33;72:20;97:33;;;2577:391;;2781:63;;-1:-1;;;2881:2;2920:22;;;;1786:20;;2577:391;2975:721;;;;;3139:3;3127:9;3118:7;3114:23;3110:33;3107:2;;;-1:-1;;3146:12;3107:2;3208:53;3253:7;3229:22;3208:53;;;3198:63;;3316:53;3361:7;3298:2;3341:9;3337:22;3316:53;;;3306:63;;3406:2;3449:9;3445:22;1786:20;3414:63;;3542:2;3531:9;3527:18;3514:32;3566:18;3558:6;3555:30;3552:2;;;-1:-1;;3588:12;3552:2;3618:62;3672:7;3663:6;3652:9;3648:22;3618:62;;;3608:72;;;3101:595;;;;;;;;3703:360;;;3821:2;3809:9;3800:7;3796:23;3792:32;3789:2;;;-1:-1;;3827:12;3789:2;3889:53;3934:7;3910:22;3889:53;;;3879:63;;3979:2;4019:9;4015:22;206:20;231:30;255:5;231:30;;;3987:60;;;;3783:280;;;;;;4070:366;;;4191:2;4179:9;4170:7;4166:23;4162:32;4159:2;;;-1:-1;;4197:12;4159:2;4259:53;4304:7;4280:22;4259:53;;;4249:63;4349:2;4388:22;;;;1786:20;;-1:-1;;;4153:283;4443:1247;;;;;;;;;;4683:3;4671:9;4662:7;4658:23;4654:33;4651:2;;;-1:-1;;4690:12;4651:2;85:6;72:20;97:33;124:5;97:33;;;4742:63;-1:-1;4842:2;4881:22;;1786:20;;-1:-1;4950:2;4989:22;;1786:20;;-1:-1;5058:2;5097:22;;72:20;97:33;72:20;97:33;;;4645:1045;;;;-1:-1;4645:1045;;5166:3;5206:22;;1786:20;;5275:3;5315:22;;1786:20;;-1:-1;5384:3;5424:22;;1786:20;;-1:-1;5493:3;5533:22;;1786:20;;-1:-1;5602:3;5642:22;;;1786:20;;-1:-1;4645:1045;-1:-1;;4645:1045;5697:257;;5809:2;5797:9;5788:7;5784:23;5780:32;5777:2;;;-1:-1;;5815:12;5777:2;354:6;348:13;366:30;390:5;366:30;;5961:241;;6065:2;6053:9;6044:7;6040:23;6036:32;6033:2;;;-1:-1;;6071:12;6033:2;-1:-1;475:20;;6027:175;-1:-1;6027:175;6209:366;;;6330:2;6318:9;6309:7;6305:23;6301:32;6298:2;;;-1:-1;;6336:12;6298:2;488:6;475:20;6388:63;;6488:2;6531:9;6527:22;72:20;97:33;124:5;97:33;;6582:366;;;6703:2;6691:9;6682:7;6678:23;6674:32;6671:2;;;-1:-1;;6709:12;6671:2;-1:-1;;475:20;;;6861:2;6900:22;;;1786:20;;-1:-1;6665:283;6955:239;;7058:2;7046:9;7037:7;7033:23;7029:32;7026:2;;;-1:-1;;7064:12;7026:2;624:6;611:20;636:32;662:5;636:32;;7201:261;;7315:2;7303:9;7294:7;7290:23;7286:32;7283:2;;;-1:-1;;7321:12;7283:2;763:6;757:13;775:32;801:5;775:32;;7469:347;;7583:2;7571:9;7562:7;7558:23;7554:32;7551:2;;;-1:-1;;7589:12;7551:2;7647:17;7634:31;7685:18;7677:6;7674:30;7671:2;;;-1:-1;;7707:12;7671:2;7737:63;7792:7;7783:6;7772:9;7768:22;7737:63;;8071:1367;;;;;;;;;;;8325:3;8313:9;8304:7;8300:23;8296:33;8293:2;;;-1:-1;;8332:12;8293:2;1799:6;1786:20;8384:63;;8484:2;8524:9;8520:22;206:20;231:30;255:5;231:30;;;8492:60;-1:-1;8589:2;8628:22;;1786:20;;-1:-1;8697:2;8736:22;;1786:20;;-1:-1;8805:3;8845:22;;72:20;97:33;72:20;97:33;;;8287:1151;;;;-1:-1;8287:1151;;;;8814:63;8914:3;8954:22;;1786:20;;-1:-1;9023:3;9063:22;;1786:20;;9132:3;9172:22;;1786:20;;-1:-1;9241:3;9281:22;;1786:20;;-1:-1;9350:3;9390:22;1786:20;;-1:-1;8287:1151;-1:-1;;8287:1151;9445:472;;;9576:2;9564:9;9555:7;9551:23;9547:32;9544:2;;;-1:-1;;9582:12;9544:2;1799:6;1786:20;9634:63;;9762:2;9751:9;9747:18;9734:32;9786:18;9778:6;9775:30;9772:2;;;-1:-1;;9808:12;9772:2;9838:63;9893:7;9884:6;9873:9;9869:22;9838:63;;;9828:73;;;9538:379;;;;;;10419:343;;10561:5;38036:12;38321:6;38316:3;38309:19;10654:52;10699:6;38358:4;38353:3;38349:14;38358:4;10680:5;10676:16;10654:52;;;37365:9;40088:14;-1:-1;;40084:28;10718:39;;;;38358:4;10718:39;;10509:253;-1:-1;;10509:253;22246:271;;10929:5;38036:12;11040:52;11085:6;11080:3;11073:4;11066:5;11062:16;11040:52;;;11104:16;;;;;22380:137;-1:-1;;22380:137;22524:430;;-1:-1;12015:5;12009:12;12049:1;;12038:9;12034:17;12062:1;12057:268;;;;12336:1;12331:425;;;;12027:729;;12057:268;-1:-1;;12262:25;;12250:38;;12131:1;12116:17;;12135:4;12112:28;12302:16;;;-1:-1;12057:268;;12331:425;12400:1;12389:9;12385:17;37889:3;-1:-1;37879:14;37921:4;;-1:-1;37908:18;-1:-1;12589:130;12603:6;12600:1;12597:13;12589:130;;;12662:14;;12649:11;;;12642:35;12696:15;;;;12618:12;;12589:130;;;-1:-1;;;12733:16;;;-1:-1;12027:729;;;;10929:5;38036:12;11040:52;11085:6;11080:3;11073:4;11066:5;11062:16;11040:52;;;11104:16;;22705:249;-1:-1;;;;22705:249;22961:381;-1:-1;;;18663:34;;18647:2;18716:12;;23150:192;23349:222;-1:-1;;;;;39444:54;;;;10011:45;;23476:2;23461:18;;23447:124;23578:672;-1:-1;;;;;39444:54;;;10011:45;;39444:54;;24004:2;23989:18;;10011:45;24087:2;24072:18;;10370:37;;;23823:3;24124:2;24109:18;;24102:48;;;23578:672;;24164:76;;23808:19;;24226:6;24164:76;;;24156:84;23794:456;-1:-1;;;;;;23794:456;24257:333;-1:-1;;;;;39444:54;;;;10011:45;;24576:2;24561:18;;10370:37;24412:2;24397:18;;24383:207;24597:1116;-1:-1;;;;;39444:54;;;10011:45;;25113:2;25098:18;;10370:37;;;;25196:2;25181:18;;10370:37;;;;39444:54;;;;25279:2;25264:18;;10011:45;25362:3;25347:19;;10370:37;;;;39455:42;25431:19;;10370:37;25530:3;25515:19;;10370:37;;;;25614:3;25599:19;;10370:37;;;;25698:3;25683:19;;10370:37;;;;24948:3;24933:19;;24919:794;25720:210;39126:13;;39119:21;10253:34;;25841:2;25826:18;;25812:118;25937:222;10370:37;;;26064:2;26049:18;;26035:124;26166:310;;26313:2;26334:17;26327:47;26388:78;26313:2;26302:9;26298:18;26452:6;26388:78;;26483:416;26683:2;26697:47;;;12995:2;26668:18;;;38309:19;13031:34;38349:14;;;13011:55;-1:-1;;;13086:12;;;13079:26;13124:12;;;26654:245;26906:416;27106:2;27120:47;;;13375:2;27091:18;;;38309:19;13411:34;38349:14;;;13391:55;-1:-1;;;13466:12;;;13459:39;13517:12;;;27077:245;27329:416;27529:2;27543:47;;;13768:2;27514:18;;;38309:19;13804:34;38349:14;;;13784:55;-1:-1;;;13859:12;;;13852:42;13913:12;;;27500:245;27752:416;27952:2;27966:47;;;14164:2;27937:18;;;38309:19;14200:30;38349:14;;;14180:51;14250:12;;;27923:245;28175:416;28375:2;28389:47;;;14501:2;28360:18;;;38309:19;14537:34;38349:14;;;14517:55;-1:-1;;;14592:12;;;14585:28;14632:12;;;28346:245;28598:416;28798:2;28812:47;;;14883:2;28783:18;;;38309:19;14919:27;38349:14;;;14899:48;14966:12;;;28769:245;29021:416;29221:2;29235:47;;;15217:2;29206:18;;;38309:19;15253:34;38349:14;;;15233:55;-1:-1;;;15308:12;;;15301:36;15356:12;;;29192:245;29444:416;29644:2;29658:47;;;15607:2;29629:18;;;38309:19;15643:34;38349:14;;;15623:55;-1:-1;;;15698:12;;;15691:40;15750:12;;;29615:245;29867:416;30067:2;30081:47;;;16001:2;30052:18;;;38309:19;-1:-1;;;38349:14;;;16017:33;16069:12;;;30038:245;30290:416;30490:2;30504:47;;;16320:2;30475:18;;;38309:19;16356:34;38349:14;;;16336:55;16425:26;16411:12;;;16404:48;16471:12;;;30461:245;30713:416;30913:2;30927:47;;;16722:2;30898:18;;;38309:19;16758:34;38349:14;;;16738:55;-1:-1;;;16813:12;;;16806:34;16859:12;;;30884:245;31136:416;31336:2;31350:47;;;17110:2;31321:18;;;38309:19;17146:34;38349:14;;;17126:55;-1:-1;;;17201:12;;;17194:26;17239:12;;;31307:245;31559:416;31759:2;31773:47;;;31744:18;;;38309:19;17526:34;38349:14;;;17506:55;17580:12;;;31730:245;31982:416;32182:2;32196:47;;;17831:2;32167:18;;;38309:19;17867:34;38349:14;;;17847:55;-1:-1;;;17922:12;;;17915:36;17970:12;;;32153:245;32405:416;32605:2;32619:47;;;18221:2;32590:18;;;38309:19;18257:34;38349:14;;;18237:55;-1:-1;;;18312:12;;;18305:36;18360:12;;;32576:245;32828:416;33028:2;33042:47;;;18967:2;33013:18;;;38309:19;19003:34;38349:14;;;18983:55;-1:-1;;;19058:12;;;19051:33;19103:12;;;32999:245;33251:416;33451:2;33465:47;;;19354:2;33436:18;;;38309:19;19390:34;38349:14;;;19370:55;-1:-1;;;19445:12;;;19438:39;19496:12;;;33422:245;33674:416;33874:2;33888:47;;;19747:2;33859:18;;;38309:19;19783:34;38349:14;;;19763:55;-1:-1;;;19838:12;;;19831:25;19875:12;;;33845:245;34097:416;34297:2;34311:47;;;20126:2;34282:18;;;38309:19;20162:34;38349:14;;;20142:55;-1:-1;;;20217:12;;;20210:41;20270:12;;;34268:245;34520:416;34720:2;34734:47;;;20521:2;34705:18;;;38309:19;20557:31;38349:14;;;20537:52;20608:12;;;34691:245;34943:416;35143:2;35157:47;;;20859:2;35128:18;;;38309:19;20895:34;38349:14;;;20875:55;-1:-1;;;20950:12;;;20943:34;20996:12;;;35114:245;35366:416;35566:2;35580:47;;;21247:2;35551:18;;;38309:19;21283:34;38349:14;;;21263:55;-1:-1;;;21338:12;;;21331:40;21390:12;;;35537:245;35789:416;35989:2;36003:47;;;21641:1;35974:18;;;38309:19;-1:-1;;;38349:14;;;21656:32;21707:12;;;35960:245;36212:416;36412:2;36426:47;;;21958:2;36397:18;;;38309:19;21994:34;38349:14;;;21974:55;-1:-1;;;22049:12;;;22042:39;22100:12;;;36383:245;39744:268;39809:1;39816:101;39830:6;39827:1;39824:13;39816:101;;;39897:11;;;39891:18;39878:11;;;39871:39;39852:2;39845:10;39816:101;;;39932:6;39929:1;39926:13;39923:2;;;-1:-1;;39809:1;39979:16;;39972:27;39793:219;40125:117;-1:-1;;;;;39444:54;;40184:35;;40174:2;;40233:1;;40223:12;40249:111;40330:5;39126:13;39119:21;40308:5;40305:32;40295:2;;40351:1;;40341:12;40491:115;-1:-1;;;;;;39292:78;;40549:34;;40539:2;;40597:1;;40587:12

Swarm Source

ipfs://0d5d5f826e3d9a6eb9fbf121f74722794f9a1ee86f2100a2547f8c2797a7a594
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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