ETH Price: $3,348.18 (-2.06%)

Token

Deafbeef (DEAFBEEF)
 

Overview

Max Total Supply

223 DEAFBEEF

Holders

112

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 DEAFBEEF
0xA5f577a7C01F1527f2eb81459c28a99d31887CE6
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Generative audiovisual art. Nothing but a C compiler. Pushing the limits of multimedia stored completely on-chain. Series 0 - Synth Poems are short generative music pieces, inspired by the sound of analog synthesizers. They are stored on-chain

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Deafbeef721

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// File: @openzeppelin/contracts/math/SafeMath.sol

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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



pragma solidity >=0.6.0 <0.8.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.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

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

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

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

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

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

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

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

            bytes32 lastvalue = set._values[lastIndex];

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

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

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

            return true;
        } else {
            return false;
        }
    }

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

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

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

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

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

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

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

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

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

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

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

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

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

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

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


    // UintSet

    struct UintSet {
        Set _inner;
    }

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

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

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

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

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

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



pragma solidity >=0.6.2 <0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

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

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

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



pragma solidity >=0.6.0 <0.8.0;

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



pragma solidity >=0.6.0 <0.8.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: @openzeppelin/contracts/utils/Counters.sol



pragma solidity >=0.6.0 <0.8.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/introspection/IERC165.sol



pragma solidity >=0.6.0 <0.8.0;

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

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



pragma solidity >=0.6.2 <0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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

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



pragma solidity >=0.6.2 <0.8.0;


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

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

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

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

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



pragma solidity >=0.6.2 <0.8.0;


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

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

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

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

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



pragma solidity >=0.6.0 <0.8.0;

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

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



pragma solidity >=0.6.0 <0.8.0;


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

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

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

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

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

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



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

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

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

    // UintToAddressMap

    struct UintToAddressMap {
        Map _inner;
    }

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

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

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

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

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

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

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

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

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



pragma solidity >=0.6.0 <0.8.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--] = bytes1(uint8(48 + temp % 10));
            temp /= 10;
        }
        return string(buffer);
    }
}

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



pragma solidity >=0.6.0 <0.8.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 virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _holderTokens[owner].length();
    }

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

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

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

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

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = baseURI();

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(address from, address to, uint256 tokenId) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _tokenOwners.contains(tokenId);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     d*
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {
        _mint(to, tokenId);
        require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

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

        _holderTokens[to].add(tokenId);

        _tokenOwners.set(tokenId, to);

        emit Transfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId); // internal owner

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

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

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

        _holderTokens[owner].remove(tokenId);

        _tokenOwners.remove(tokenId);

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(address from, address to, uint256 tokenId) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); // internal owner
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

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

        _tokenOwners.set(tokenId, to);

        emit Transfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)
        private returns (bool)
    {
        if (!to.isContract()) {
            return true;
        }
        bytes memory returndata = to.functionCall(abi.encodeWithSelector(
            IERC721Receiver(to).onERC721Received.selector,
            _msgSender(),
            from,
            tokenId,
            _data
        ), "ERC721: transfer to non ERC721Receiver implementer");
        bytes4 retval = abi.decode(returndata, (bytes4));
        return (retval == _ERC721_RECEIVED);
    }

    function _approve(address to, uint256 tokenId) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner
    }

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

// File: contracts/Deafbeef721.sol


pragma solidity >=0.6.0 <0.8.0;


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

    uint256 public numSeries;
    bool allowInternalPurchases = true; //optional internal purchasing code. Can disable to use only an external purchasing contract
    
    struct SeriesStruct {
      bytes32[10] codeLocations; //transaction hash of code location. 10 slots available
      uint32 numCodeLocations; //maximum codes used in codes array
      uint32[8] p; //parameters
      uint256 numMint;  //number minted to date 
      uint256 maxMint; //maximum number of model outputs
      uint256 curPricePerToken; //curent token price
      
      //TODO: additional parameters for automatically changing pricing curve
      bool locked; //can't modify maxMint or codeLocation
      bool paused; //paused for purchases
    }

    struct TokenParamsStruct {
      bytes32 seed; //hash seed for random generation
      //general purpose parameters for each token.
      // could be parameter to the generative code
      uint32[8] p; //parameters
    }
    
    mapping(uint256 => TokenParamsStruct) tokenParams; //maps each token to set of parameters
    mapping(uint256 => SeriesStruct) series; //series
    mapping(uint256 => uint256) token2series; //maps each token to a series
    
    modifier requireAdmin() {
      require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "Requires admin privileges");
      _;
    }

    modifier sidInRange(uint256 sid) {
      require(sid < numSeries,"Series id does not exist");
      _;
    }

    modifier requireUnlocked(uint256 sid) {
      require(!series[sid].locked);
      _;
    }

    function owner() public view virtual returns (address) {
      return getRoleMember(DEFAULT_ADMIN_ROLE,0);
    }
	
    function setMaxMint(uint256 sid, uint256 m) public requireAdmin sidInRange(sid) requireUnlocked(sid) {
      series[sid].maxMint = m;
    }

    function setNumCodeLocations(uint256 sid, uint32 n) public requireAdmin sidInRange(sid) requireUnlocked(sid) {
      //between 1 and 10 code locations.
      require(n <= 10,"Maximum 10 code locations");
      require(n > 0,"Minimum 1 code locations");
      series[sid].numCodeLocations = n;
    }
    
    function setCodeLocation(uint256 sid, uint256 i, bytes32 txhash) public requireAdmin sidInRange(sid) requireUnlocked(sid) {
      require(i < series[sid].numCodeLocations,"Index larger than numCodeLocations");
      //transaction hash of where code is stored. There are 5 slots indexed by i
      //The code is UTF-8 encoded and stored in the 'input data' field of this transaction
      series[sid].codeLocations[i] = txhash;
    }

    function setSeriesParam(uint256 sid, uint256 i, uint32 v) public requireAdmin sidInRange(sid) requireUnlocked(sid) {
      require(i<8,"Parameter index must be less than 8");
      //transaction hash of where code is stored.
      series[sid].p[i] = v;
    }

    //Require MINTER role to allow token param updates.
    // This will allow a separate contract with appropriate permissions
    // to interface with the user, about what is allowed depending on the tokens
    // NOTE: seed can never be updated.
    // also, don't allow updates to p[7], which is used to track number of transfers    
    function setTokenParam(uint256 tokenID, uint256 i, uint32 v) public {
      require(hasRole(MINTER_ROLE, _msgSender()), "Deafbeef721: must have minter role to update tokenparams");
      require(tokenID < _tokenIdTracker.current(),"TokenId out of range");

      require(i<7,"Parameter index must be less than 7");
      tokenParams[tokenID].p[i] = v;
    }
    
    function getTokenParams(uint256 i) public view returns (bytes32 seed, bytes32 codeLocation0, uint256 seriesID, uint32 p0, uint32 p1, uint32 p2, uint32 p3, uint32 p4, uint32 p5, uint32 p6, uint32 p7) {
      require(i < _tokenIdTracker.current(),"TokenId out of range");
      uint256 sid = token2series[i];
      codeLocation0 = series[sid].codeLocations[0];
      seriesID = sid;
      seed = tokenParams[i].seed;
      p0 = tokenParams[i].p[0];      
      p1 = tokenParams[i].p[1];
      p2 = tokenParams[i].p[2];
      p3 = tokenParams[i].p[3];
      p4 = tokenParams[i].p[4];
      p5 = tokenParams[i].p[5];
      p6 = tokenParams[i].p[6];
      p7 = tokenParams[i].p[7];                                     
    }

    function getSeriesParams(uint256 i) public view returns(uint32 p0, uint32 p1,uint32 p2, uint32 p3, uint32 p4, uint32 p5, uint32 p6, uint32 p7) {
      require(i < numSeries,"Series ID out of range");
      p0 = series[i].p[0];
      p1 = series[i].p[1];
      p2 = series[i].p[2];
      p3 = series[i].p[3];
      p4 = series[i].p[4];
      p5 = series[i].p[5];
      p6 = series[i].p[6];
      p7 = series[i].p[7];
    }
    
    function getSeries(uint256 i) public view returns (bytes32 codeLocation0, uint256 numCodeLocations, uint256 numMint, uint256 maxMint, uint256 curPricePerToken, bool paused, bool locked) {
      require(i < numSeries,"Series ID out of range");

      codeLocation0 = series[i].codeLocations[0];
      numCodeLocations = series[i].numCodeLocations;
      numMint = series[i].numMint;
      maxMint = series[i].maxMint;
      
      locked = series[i].locked;
      paused = series[i].paused;
      
      curPricePerToken = series[i].curPricePerToken;
    }    
    
    function getCodeLocation(uint256 sid, uint256 i) public view sidInRange(sid) returns(bytes32 txhash) {
      require(i < 10,"codeLocation index out of range");
      //transaction hash of where code is stored. 10 slots indexed by i
      //The code is UTF-8 encoded and stored in the 'input data' field of this transaction
      return series[sid].codeLocations[i];
    }

    function addSeries() public requireAdmin returns(uint256 sid) {
      series[numSeries].maxMint = 50; //maximum number of model outputs
      series[numSeries].curPricePerToken = .05e18; //curent token price
      series[numSeries].numCodeLocations = 1;
      series[numSeries].paused = true;
      numSeries = numSeries.add(1);
      return numSeries;
    }

    //allow MINTER role to change price. This is so an external minting contract
    // perform auto price adjustment
    function setPrice(uint256 sid, uint256 p) public sidInRange(sid) {
      require(hasRole(MINTER_ROLE, _msgSender()), "Deafbeef721: must have minter role to change price");
      series[sid].curPricePerToken = p;
    }

    function setAllowInternalPurchases(bool m) public requireAdmin {
      allowInternalPurchases = m;
    }

    //pause or unpause
    function setPaused(uint256 sid,bool m) public sidInRange(sid) requireAdmin {
      series[sid].paused = m;
    }
    
    function lockCodeForever(uint256 sid) public sidInRange(sid) requireAdmin {
      //Can no longer update max mint, code locations, or series parameters
      series[sid].locked = true;
    }

    function withdraw(uint256 amount) public requireAdmin {
      require(amount <= address(this).balance,"Insufficient funds to withdraw");	
      msg.sender.transfer(amount);
    }
    
    function setBaseURI(string memory baseURI) public requireAdmin {
      _setBaseURI(baseURI);      
    }
    
    Counters.Counter private _tokenIdTracker;

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

        _setupRole(MINTER_ROLE, _msgSender());

        _setBaseURI(baseURI);
	addSeries();
    }

    /**
     * @dev Creates a new token for `to`. Its token ID will be automatically
     * assigned (and available on the emitted {IERC721-Transfer} event), and the token
     * URI autogenerated based on the base URI passed at construction.
     *
     * See {ERC721-_mint}.
     *
     * Requirements:
     *
     * - the caller must have the `MINTER_ROLE`.
     */

    //only addresses with MINTER_ROLE can mint
    //this could be an admin, or from another minter contract that controls purchasing and auto price adjustment
    function mint(uint256 sid, address to) public virtual returns (uint256 _tokenId) {
      require(hasRole(MINTER_ROLE, _msgSender()), "Deafbeef721: must have minter role to mint");
      return _mintInternal(sid,to);
    }

    //only accessible to contract
    function _mintInternal(uint256 sid, address to) internal virtual returns (uint256 _tokenId) {
      require(series[sid].numMint.add(1) <= series[sid].maxMint,"Maximum already minted");
      
      series[sid].numMint = series[sid].numMint.add(1);
      _mint(to, _tokenIdTracker.current());
      uint256 tokenID = _tokenIdTracker.current();

      bytes32 hash = keccak256(abi.encodePacked(tokenID,block.timestamp,block.difficulty,msg.sender));

      //store random hash
      tokenParams[tokenID].seed = hash;
      token2series[tokenID] = sid;

      _tokenIdTracker.increment();
      return tokenID;
    }


    // Allow public purchases. This can be disabled with a flag 
    function purchase(uint256 sid) public sidInRange(sid) payable returns (uint256 _tokenId) {
      require(allowInternalPurchases,"Can only purchase from external minting contract");
      require(!series[sid].paused,"Purchasing is paused");
      return purchaseTo(sid, msg.sender);
    }

    function purchaseTo(uint256 sid,address _to) public sidInRange(sid) payable returns(uint256 _tokenId){
      require(allowInternalPurchases,"Can only purchase from external minting contract");
      require(!series[sid].paused,"Purchasing is paused");      
      require(msg.value>=series[sid].curPricePerToken, "Must send minimum value to mint!");

      //send change if too much was sent
      if (msg.value > 0) {
	uint256 diff = msg.value.sub(series[sid].curPricePerToken);
	if (diff > 0) {
	  msg.sender.transfer(diff);
	}
      }

      uint256 tokenId = _mintInternal(sid,_to);

      //TODO: possibly auto adjust price
      return tokenId;
    }

    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);
	//increase a counter each time token is transferred
	//this can be used as a parameter to the generative script.
	
	tokenParams[tokenId].p[7]++; 

    }
    
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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":[],"name":"addSeries","outputs":[{"internalType":"uint256","name":"sid","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"sid","type":"uint256"},{"internalType":"uint256","name":"i","type":"uint256"}],"name":"getCodeLocation","outputs":[{"internalType":"bytes32","name":"txhash","type":"bytes32"}],"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":"uint256","name":"i","type":"uint256"}],"name":"getSeries","outputs":[{"internalType":"bytes32","name":"codeLocation0","type":"bytes32"},{"internalType":"uint256","name":"numCodeLocations","type":"uint256"},{"internalType":"uint256","name":"numMint","type":"uint256"},{"internalType":"uint256","name":"maxMint","type":"uint256"},{"internalType":"uint256","name":"curPricePerToken","type":"uint256"},{"internalType":"bool","name":"paused","type":"bool"},{"internalType":"bool","name":"locked","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"i","type":"uint256"}],"name":"getSeriesParams","outputs":[{"internalType":"uint32","name":"p0","type":"uint32"},{"internalType":"uint32","name":"p1","type":"uint32"},{"internalType":"uint32","name":"p2","type":"uint32"},{"internalType":"uint32","name":"p3","type":"uint32"},{"internalType":"uint32","name":"p4","type":"uint32"},{"internalType":"uint32","name":"p5","type":"uint32"},{"internalType":"uint32","name":"p6","type":"uint32"},{"internalType":"uint32","name":"p7","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"i","type":"uint256"}],"name":"getTokenParams","outputs":[{"internalType":"bytes32","name":"seed","type":"bytes32"},{"internalType":"bytes32","name":"codeLocation0","type":"bytes32"},{"internalType":"uint256","name":"seriesID","type":"uint256"},{"internalType":"uint32","name":"p0","type":"uint32"},{"internalType":"uint32","name":"p1","type":"uint32"},{"internalType":"uint32","name":"p2","type":"uint32"},{"internalType":"uint32","name":"p3","type":"uint32"},{"internalType":"uint32","name":"p4","type":"uint32"},{"internalType":"uint32","name":"p5","type":"uint32"},{"internalType":"uint32","name":"p6","type":"uint32"},{"internalType":"uint32","name":"p7","type":"uint32"}],"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":"uint256","name":"sid","type":"uint256"}],"name":"lockCodeForever","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"sid","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"mint","outputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numSeries","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"sid","type":"uint256"}],"name":"purchase","outputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"sid","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"purchaseTo","outputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"stateMutability":"payable","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":"bool","name":"m","type":"bool"}],"name":"setAllowInternalPurchases","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"sid","type":"uint256"},{"internalType":"uint256","name":"i","type":"uint256"},{"internalType":"bytes32","name":"txhash","type":"bytes32"}],"name":"setCodeLocation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"sid","type":"uint256"},{"internalType":"uint256","name":"m","type":"uint256"}],"name":"setMaxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"sid","type":"uint256"},{"internalType":"uint32","name":"n","type":"uint32"}],"name":"setNumCodeLocations","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"sid","type":"uint256"},{"internalType":"bool","name":"m","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"sid","type":"uint256"},{"internalType":"uint256","name":"p","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"sid","type":"uint256"},{"internalType":"uint256","name":"i","type":"uint256"},{"internalType":"uint32","name":"v","type":"uint32"}],"name":"setSeriesParam","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"},{"internalType":"uint256","name":"i","type":"uint256"},{"internalType":"uint32","name":"v","type":"uint32"}],"name":"setTokenParam","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600c805460ff191660011790553480156200001e57600080fd5b50604051620043ad380380620043ad833981810160405260608110156200004457600080fd5b81019080805160405193929190846401000000008211156200006557600080fd5b9083019060208201858111156200007b57600080fd5b82516401000000008111828201881017156200009657600080fd5b82525081516020918201929091019080838360005b83811015620000c5578181015183820152602001620000ab565b50505050905090810190601f168015620000f35780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200011757600080fd5b9083019060208201858111156200012d57600080fd5b82516401000000008111828201881017156200014857600080fd5b82525081516020918201929091019080838360005b83811015620001775781810151838201526020016200015d565b50505050905090810190601f168015620001a55780820380516001836020036101000a031916815260200191505b5060405260200180516040519392919084640100000000821115620001c957600080fd5b908301906020820185811115620001df57600080fd5b8251640100000000811182820188101715620001fa57600080fd5b82525081516020918201929091019080838360005b83811015620002295781810151838201526020016200020f565b50505050905090810190601f168015620002575780820380516001836020036101000a031916815260200191505b5060405250849150839050620002746301ffc9a760e01b6200033d565b81516200028990600790602085019062000674565b5080516200029f90600890602084019062000674565b50620002b26380ac58cd60e01b6200033d565b620002c4635b5e139f60e01b6200033d565b620002d663780e9d6360e01b6200033d565b50620002ef90506000620002e9620003c5565b620003c9565b6200031e7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6620002e9620003c5565b6200032981620003d9565b62000333620003ee565b5050505062000720565b6001600160e01b031980821614156200039d576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152600160208190526040909120805460ff19169091179055565b3390565b620003d58282620004de565b5050565b8051620003d590600a90602084019062000674565b60006200040581620003ff620003c5565b62000557565b62000457576040805162461bcd60e51b815260206004820152601960248201527f52657175697265732061646d696e2070726976696c6567657300000000000000604482015290519081900360640190fd5b600b80546000908152600e602081815260408084206032600d909101558454845280842066b1a2bc2ec5000093019290925583548352818320600a01805463ffffffff191660019081179091558454845291909220600f01805461ff0019166101001790559154620004d49290916200286b62000584821b17901c565b600b819055905090565b60008281526020818152604090912062000503918390620028c5620005df821b17901c565b15620003d55762000513620003c5565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526020818152604082206200057b918490620028da620005f6821b17901c565b90505b92915050565b6000828201838110156200057b576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60006200057b836001600160a01b0384166200060d565b60006200057b836001600160a01b0384166200065c565b60006200061b83836200065c565b62000653575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556200057e565b5060006200057e565b60009081526001919091016020526040902054151590565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282620006ac5760008555620006f7565b82601f10620006c757805160ff1916838001178555620006f7565b82800160010185558215620006f7579182015b82811115620006f7578251825591602001919060010190620006da565b506200070592915062000709565b5090565b5b808211156200070557600081556001016200070a565b613c7d80620007306000396000f3fe6080604052600436106102885760003560e01c80636be636691161015a578063a22cb465116100c1578063d547741f1161007a578063d547741f14610c66578063daff97b514610c9f578063e985e9c514610cd1578063efef39a114610d0c578063f7d9757714610d29578063fc3188f214610d5957610288565b8063a22cb46514610ada578063b6b55d4f14610b15578063b88d4fde14610b2a578063c87b56dd14610bfd578063ca15c87314610c27578063d539139314610c5157610288565b80639010d07c116101135780639010d07c146109e457806391d1485414610a1457806394bf804d14610a4d57806395d89b4114610a86578063a18ee62514610a9b578063a217fddf14610ac557610288565b80636be636691461089c5780636c0360eb1461092b57806370a0823114610940578063740c5896146109735780638899bb971461099f5780638da5cb5b146109cf57610288565b80632e1a7d4d116101fe5780634f6ccce7116101b75780634f6ccce7146106a957806352894024146106d3578063538c1a891461074d57806355f804b31461078957806362802b931461083c5780636352211e1461087257610288565b80632e1a7d4d1461055b5780632f2ff15d146105855780632f745c59146105be5780633145b865146105f757806336568abe1461062d57806342842e0e1461066657610288565b80631160da15116102505780631160da151461041c57806311e8a14f1461048257806318160ddd146104a957806321edc4cb146104be57806323b872dd146104ee578063248a9ca31461053157610288565b806301ffc9a71461028d5780630497ce7d146102d557806306fdde0314610313578063081812fc1461039d578063095ea7b3146103e3575b600080fd5b34801561029957600080fd5b506102c1600480360360208110156102b057600080fd5b50356001600160e01b031916610d85565b604080519115158252519081900360200190f35b3480156102e157600080fd5b50610311600480360360608110156102f857600080fd5b508035906020810135906040013563ffffffff16610da8565b005b34801561031f57600080fd5b50610328610ee1565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561036257818101518382015260200161034a565b50505050905090810190601f16801561038f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156103a957600080fd5b506103c7600480360360208110156103c057600080fd5b5035610f77565b604080516001600160a01b039092168252519081900360200190f35b3480156103ef57600080fd5b506103116004803603604081101561040657600080fd5b506001600160a01b038135169060200135610fd9565b34801561042857600080fd5b506104466004803603602081101561043f57600080fd5b50356110b4565b6040805197885260208801969096528686019490945260608601929092526080850152151560a0840152151560c0830152519081900360e00190f35b34801561048e57600080fd5b50610497611160565b60408051918252519081900360200190f35b3480156104b557600080fd5b50610497611225565b3480156104ca57600080fd5b50610311600480360360408110156104e157600080fd5b5080359060200135611236565b3480156104fa57600080fd5b506103116004803603606081101561051157600080fd5b506001600160a01b038135811691602081013590911690604001356112ff565b34801561053d57600080fd5b506104976004803603602081101561055457600080fd5b5035611356565b34801561056757600080fd5b506103116004803603602081101561057e57600080fd5b503561136b565b34801561059157600080fd5b50610311600480360360408110156105a857600080fd5b50803590602001356001600160a01b031661143d565b3480156105ca57600080fd5b50610497600480360360408110156105e157600080fd5b506001600160a01b0381351690602001356114a0565b34801561060357600080fd5b506103116004803603604081101561061a57600080fd5b508035906020013563ffffffff166114cb565b34801561063957600080fd5b506103116004803603604081101561065057600080fd5b50803590602001356001600160a01b0316611661565b34801561067257600080fd5b506103116004803603606081101561068957600080fd5b506001600160a01b038135811691602081013590911690604001356116c2565b3480156106b557600080fd5b50610497600480360360208110156106cc57600080fd5b50356116dd565b3480156106df57600080fd5b506106fd600480360360208110156106f657600080fd5b50356116f3565b6040805163ffffffff998a16815297891660208901529588168787015293871660608701529186166080860152851660a0850152841660c084015290921660e08201529051908190036101000190f35b34801561075957600080fd5b506103116004803603606081101561077057600080fd5b508035906020810135906040013563ffffffff166117bb565b34801561079557600080fd5b50610311600480360360208110156107ac57600080fd5b8101906020810181356401000000008111156107c757600080fd5b8201836020820111156107d957600080fd5b803590602001918460018302840111640100000000831117156107fb57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506118fa945050505050565b34801561084857600080fd5b506103116004803603606081101561085f57600080fd5b5080359060208101359060400135611952565b34801561087e57600080fd5b506103c76004803603602081101561089557600080fd5b5035611a7d565b3480156108a857600080fd5b506108c6600480360360208110156108bf57600080fd5b5035611aa5565b604080519b8c5260208c019a909a528a8a019890985263ffffffff96871660608b015294861660808a015292851660a089015290841660c0880152831660e0870152821661010086015281166101208501521661014083015251908190036101600190f35b34801561093757600080fd5b50610328611c0e565b34801561094c57600080fd5b506104976004803603602081101561096357600080fd5b50356001600160a01b0316611c6f565b6104976004803603604081101561098957600080fd5b50803590602001356001600160a01b0316611cd7565b3480156109ab57600080fd5b50610497600480360360408110156109c257600080fd5b5080359060200135611e9a565b3480156109db57600080fd5b506103c7611f59565b3480156109f057600080fd5b506103c760048036036040811015610a0757600080fd5b5080359060200135611f61565b348015610a2057600080fd5b506102c160048036036040811015610a3757600080fd5b50803590602001356001600160a01b0316611f79565b348015610a5957600080fd5b5061049760048036036040811015610a7057600080fd5b50803590602001356001600160a01b0316611f91565b348015610a9257600080fd5b50610328611ff2565b348015610aa757600080fd5b5061031160048036036020811015610abe57600080fd5b5035612053565b348015610ad157600080fd5b50610497612103565b348015610ae657600080fd5b5061031160048036036040811015610afd57600080fd5b506001600160a01b0381351690602001351515612108565b348015610b2157600080fd5b5061049761220d565b348015610b3657600080fd5b5061031160048036036080811015610b4d57600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135640100000000811115610b8857600080fd5b820183602082011115610b9a57600080fd5b80359060200191846001830284011164010000000083111715610bbc57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612213945050505050565b348015610c0957600080fd5b5061032860048036036020811015610c2057600080fd5b5035612271565b348015610c3357600080fd5b5061049760048036036020811015610c4a57600080fd5b50356124f2565b348015610c5d57600080fd5b50610497612509565b348015610c7257600080fd5b5061031160048036036040811015610c8957600080fd5b50803590602001356001600160a01b031661251b565b348015610cab57600080fd5b5061031160048036036040811015610cc257600080fd5b50803590602001351515612574565b348015610cdd57600080fd5b506102c160048036036040811015610cf457600080fd5b506001600160a01b0381358116916020013516612630565b61049760048036036020811015610d2257600080fd5b503561265e565b348015610d3557600080fd5b5061031160048036036040811015610d4c57600080fd5b508035906020013561275a565b348015610d6557600080fd5b5061031160048036036020811015610d7c57600080fd5b5035151561280c565b6001600160e01b0319811660009081526001602052604090205460ff165b919050565b610dc7600080516020613b02833981519152610dc26128ef565b611f79565b610e025760405162461bcd60e51b8152600401808060200182810382526038815260200180613b9e6038913960400191505060405180910390fd5b610e0c60106128f3565b8310610e56576040805162461bcd60e51b8152602060048201526014602482015273546f6b656e4964206f7574206f662072616e676560601b604482015290519081900360640190fd5b60078210610e955760405162461bcd60e51b81526004018080602001828103825260238152602001806138586023913960400191505060405180910390fd5b6000838152600d6020526040902081906001018360088110610eb357fe5b600891828204019190066004026101000a81548163ffffffff021916908363ffffffff160217905550505050565b60078054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610f6d5780601f10610f4257610100808354040283529160200191610f6d565b820191906000526020600020905b815481529060010190602001808311610f5057829003601f168201915b5050505050905090565b6000610f82826128f7565b610fbd5760405162461bcd60e51b815260040180806020018281038252602c815260200180613a7e602c913960400191505060405180910390fd5b506000908152600560205260409020546001600160a01b031690565b6000610fe482611a7d565b9050806001600160a01b0316836001600160a01b031614156110375760405162461bcd60e51b8152600401808060200182810382526021815260200180613b4c6021913960400191505060405180910390fd5b806001600160a01b03166110496128ef565b6001600160a01b0316148061106a575061106a816110656128ef565b612630565b6110a55760405162461bcd60e51b815260040180806020018281038252603881526020018061399f6038913960400191505060405180910390fd5b6110af8383612904565b505050565b6000806000806000806000600b54881061110e576040805162461bcd60e51b8152602060048201526016602482015275536572696573204944206f7574206f662072616e676560501b604482015290519081900360640190fd5b50505060009485525050600e602081905260409093208054600a820154600c830154600d840154600f8501549490970154929763ffffffff909216969095509350909160ff6101008204811692911690565b600061116e81610dc26128ef565b6111ad576040805162461bcd60e51b815260206004820152601960248201526000805160206138ad833981519152604482015290519081900360640190fd5b600b80546000908152600e602081905260408083206032600d909101558354835280832066b1a2bc2ec5000092019190915582548252808220600a01805463ffffffff19166001908117909155835483529120600f01805461ff001916610100179055905461121b9161286b565b600b819055905090565b60006112316003612972565b905090565b6112436000610dc26128ef565b611282576040805162461bcd60e51b815260206004820152601960248201526000805160206138ad833981519152604482015290519081900360640190fd5b81600b5481106112c7576040805162461bcd60e51b81526020600482015260186024820152600080516020613bd6833981519152604482015290519081900360640190fd5b6000838152600e60205260409020600f0154839060ff16156112e857600080fd5b50506000918252600e6020526040909120600d0155565b61131061130a6128ef565b8261297d565b61134b5760405162461bcd60e51b8152600401808060200182810382526031815260200180613b6d6031913960400191505060405180910390fd5b6110af838383612a21565b60009081526020819052604090206002015490565b6113786000610dc26128ef565b6113b7576040805162461bcd60e51b815260206004820152601960248201526000805160206138ad833981519152604482015290519081900360640190fd5b4781111561140c576040805162461bcd60e51b815260206004820152601e60248201527f496e73756666696369656e742066756e647320746f2077697468647261770000604482015290519081900360640190fd5b604051339082156108fc029083906000818181858888f19350505050158015611439573d6000803e3d6000fd5b5050565b60008281526020819052604090206002015461145b90610dc26128ef565b6114965760405162461bcd60e51b815260040180806020018281038252602f815260200180613829602f913960400191505060405180910390fd5b6114398282612b6d565b6001600160a01b03821660009081526002602052604081206114c29083612bd6565b90505b92915050565b6114d86000610dc26128ef565b611517576040805162461bcd60e51b815260206004820152601960248201526000805160206138ad833981519152604482015290519081900360640190fd5b81600b54811061155c576040805162461bcd60e51b81526020600482015260186024820152600080516020613bd6833981519152604482015290519081900360640190fd5b6000838152600e60205260409020600f0154839060ff161561157d57600080fd5b600a8363ffffffff1611156115d9576040805162461bcd60e51b815260206004820152601960248201527f4d6178696d756d20313020636f6465206c6f636174696f6e7300000000000000604482015290519081900360640190fd5b60008363ffffffff1611611634576040805162461bcd60e51b815260206004820152601860248201527f4d696e696d756d203120636f6465206c6f636174696f6e730000000000000000604482015290519081900360640190fd5b50506000918252600e6020526040909120600a01805463ffffffff191663ffffffff909216919091179055565b6116696128ef565b6001600160a01b0316816001600160a01b0316146116b85760405162461bcd60e51b815260040180806020018281038252602f815260200180613c19602f913960400191505060405180910390fd5b6114398282612be2565b6110af83838360405180602001604052806000815250612213565b6000806116eb600384612c4b565b509392505050565b600080600080600080600080600b54891061174e576040805162461bcd60e51b8152602060048201526016602482015275536572696573204944206f7574206f662072616e676560501b604482015290519081900360640190fd5b50505060009586525050600e60205250506040909120600b015463ffffffff80821693640100000000830482169350600160401b8304821692600160601b8104831692600160801b8204811692600160a01b8304821692600160c01b8104831692600160e01b9091041690565b6117c86000610dc26128ef565b611807576040805162461bcd60e51b815260206004820152601960248201526000805160206138ad833981519152604482015290519081900360640190fd5b82600b54811061184c576040805162461bcd60e51b81526020600482015260186024820152600080516020613bd6833981519152604482015290519081900360640190fd5b6000848152600e60205260409020600f0154849060ff161561186d57600080fd5b600884106118ac5760405162461bcd60e51b8152600401808060200182810382526023815260200180613bf66023913960400191505060405180910390fd5b6000858152600e602052604090208390600b0185600881106118ca57fe5b600891828204019190066004026101000a81548163ffffffff021916908363ffffffff1602179055505050505050565b6119076000610dc26128ef565b611946576040805162461bcd60e51b815260206004820152601960248201526000805160206138ad833981519152604482015290519081900360640190fd5b61194f81612c67565b50565b61195f6000610dc26128ef565b61199e576040805162461bcd60e51b815260206004820152601960248201526000805160206138ad833981519152604482015290519081900360640190fd5b82600b5481106119e3576040805162461bcd60e51b81526020600482015260186024820152600080516020613bd6833981519152604482015290519081900360640190fd5b6000848152600e60205260409020600f0154849060ff1615611a0457600080fd5b6000858152600e60205260409020600a015463ffffffff168410611a595760405162461bcd60e51b815260040180806020018281038252602281526020018061397d6022913960400191505060405180910390fd5b6000858152600e60205260409020839085600a8110611a7457fe5b01555050505050565b60006114c582604051806060016040528060298152602001613a016029913960039190612c7a565b6000806000806000806000806000806000611ac060106128f3565b8c10611b0a576040805162461bcd60e51b8152602060048201526014602482015273546f6b656e4964206f7574206f662072616e676560601b604482015290519081900360640190fd5b60008c8152600f6020908152604080832054808452600e90925282209091015460008e8152600d6020526040812080549e50919c50919a508a91600190910190600891828204019190066004029054906101000a900463ffffffff169850600d60008e8152602001908152602001600020600101600160088110611b8a57fe5b60088104919091015460009e8f52600d6020526040909e20600101549c9e9b9d9a9c999b60079091166004026101000a909a0463ffffffff9081169a600160401b8b0482169a600160601b810483169a50600160801b810483169950600160a01b810483169850600160c01b810483169750600160e01b9004909116945092505050565b600a8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610f6d5780601f10610f4257610100808354040283529160200191610f6d565b60006001600160a01b038216611cb65760405162461bcd60e51b815260040180806020018281038252602a8152602001806139d7602a913960400191505060405180910390fd5b6001600160a01b03821660009081526002602052604090206114c590612972565b600082600b548110611d1e576040805162461bcd60e51b81526020600482015260186024820152600080516020613bd6833981519152604482015290519081900360640190fd5b600c5460ff16611d5f5760405162461bcd60e51b81526004018080602001828103825260308152602001806138f16030913960400191505060405180910390fd5b6000848152600e60205260409020600f0154610100900460ff1615611dc2576040805162461bcd60e51b8152602060048201526014602482015273141d5c98da185cda5b99c81a5cc81c185d5cd95960621b604482015290519081900360640190fd5b6000848152600e602081905260409091200154341015611e29576040805162461bcd60e51b815260206004820181905260248201527f4d7573742073656e64206d696e696d756d2076616c756520746f206d696e7421604482015290519081900360640190fd5b3415611e85576000848152600e6020819052604082200154611e4c903490612c87565b90508015611e8357604051339082156108fc029083906000818181858888f19350505050158015611e81573d6000803e3d6000fd5b505b505b6000611e918585612ce4565b95945050505050565b600082600b548110611ee1576040805162461bcd60e51b81526020600482015260186024820152600080516020613bd6833981519152604482015290519081900360640190fd5b600a8310611f36576040805162461bcd60e51b815260206004820152601f60248201527f636f64654c6f636174696f6e20696e646578206f7574206f662072616e676500604482015290519081900360640190fd5b6000848152600e6020526040902083600a8110611f4f57fe5b0154949350505050565b600061123181805b60008281526020819052604081206114c29083612bd6565b60008281526020819052604081206114c290836128da565b6000611fad600080516020613b02833981519152610dc26128ef565b611fe85760405162461bcd60e51b815260040180806020018281038252602a815260200180613b22602a913960400191505060405180910390fd5b6114c28383612ce4565b60088054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610f6d5780601f10610f4257610100808354040283529160200191610f6d565b80600b548110612098576040805162461bcd60e51b81526020600482015260186024820152600080516020613bd6833981519152604482015290519081900360640190fd5b6120a56000610dc26128ef565b6120e4576040805162461bcd60e51b815260206004820152601960248201526000805160206138ad833981519152604482015290519081900360640190fd5b506000908152600e60205260409020600f01805460ff19166001179055565b600081565b6121106128ef565b6001600160a01b0316826001600160a01b03161415612176576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b80600660006121836128ef565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556121c76128ef565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b600b5481565b61222461221e6128ef565b8361297d565b61225f5760405162461bcd60e51b8152600401808060200182810382526031815260200180613b6d6031913960400191505060405180910390fd5b61226b84848484612e06565b50505050565b606061227c826128f7565b6122b75760405162461bcd60e51b815260040180806020018281038252602f815260200180613ad3602f913960400191505060405180910390fd5b60008281526009602090815260408083208054825160026001831615610100026000190190921691909104601f81018590048502820185019093528281529290919083018282801561234a5780601f1061231f5761010080835404028352916020019161234a565b820191906000526020600020905b81548152906001019060200180831161232d57829003601f168201915b50505050509050600061235b611c0e565b905080516000141561236f57509050610da3565b8151156124305780826040516020018083805190602001908083835b602083106123aa5780518252601f19909201916020918201910161238b565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b602083106123f25780518252601f1990920191602091820191016123d3565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050610da3565b8061243a85612e58565b6040516020018083805190602001908083835b6020831061246c5780518252601f19909201916020918201910161244d565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b602083106124b45780518252601f199092019160209182019101612495565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050919050565b60008181526020819052604081206114c590612972565b600080516020613b0283398151915281565b60008281526020819052604090206002015461253990610dc26128ef565b6116b85760405162461bcd60e51b815260040180806020018281038252603081526020018061394d6030913960400191505060405180910390fd5b81600b5481106125b9576040805162461bcd60e51b81526020600482015260186024820152600080516020613bd6833981519152604482015290519081900360640190fd5b6125c66000610dc26128ef565b612605576040805162461bcd60e51b815260206004820152601960248201526000805160206138ad833981519152604482015290519081900360640190fd5b506000918252600e6020526040909120600f0180549115156101000261ff0019909216919091179055565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b600081600b5481106126a5576040805162461bcd60e51b81526020600482015260186024820152600080516020613bd6833981519152604482015290519081900360640190fd5b600c5460ff166126e65760405162461bcd60e51b81526004018080602001828103825260308152602001806138f16030913960400191505060405180910390fd5b6000838152600e60205260409020600f0154610100900460ff1615612749576040805162461bcd60e51b8152602060048201526014602482015273141d5c98da185cda5b99c81a5cc81c185d5cd95960621b604482015290519081900360640190fd5b6127538333611cd7565b9392505050565b81600b54811061279f576040805162461bcd60e51b81526020600482015260186024820152600080516020613bd6833981519152604482015290519081900360640190fd5b6127b9600080516020613b02833981519152610dc26128ef565b6127f45760405162461bcd60e51b8152600401808060200182810382526032815260200180613a2a6032913960400191505060405180910390fd5b506000918252600e6020819052604090922090910155565b6128196000610dc26128ef565b612858576040805162461bcd60e51b815260206004820152601960248201526000805160206138ad833981519152604482015290519081900360640190fd5b600c805460ff1916911515919091179055565b6000828201838110156114c2576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60006114c2836001600160a01b038416612f33565b60006114c2836001600160a01b038416612f7d565b3390565b5490565b60006114c5600383612f95565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061293982611a7d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006114c5826128f3565b6000612988826128f7565b6129c35760405162461bcd60e51b815260040180806020018281038252602c815260200180613921602c913960400191505060405180910390fd5b60006129ce83611a7d565b9050806001600160a01b0316846001600160a01b03161480612a095750836001600160a01b03166129fe84610f77565b6001600160a01b0316145b80612a195750612a198185612630565b949350505050565b826001600160a01b0316612a3482611a7d565b6001600160a01b031614612a795760405162461bcd60e51b8152600401808060200182810382526029815260200180613aaa6029913960400191505060405180910390fd5b6001600160a01b038216612abe5760405162461bcd60e51b81526004018080602001828103825260248152602001806138cd6024913960400191505060405180910390fd5b612ac9838383612fa1565b612ad4600082612904565b6001600160a01b0383166000908152600260205260409020612af69082612fec565b506001600160a01b0382166000908152600260205260409020612b199082612ff8565b50612b2660038284613004565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000828152602081905260409020612b8590826128c5565b1561143957612b926128ef565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60006114c2838361301a565b6000828152602081905260409020612bfa908261307e565b1561143957612c076128ef565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b6000808080612c5a8686613093565b9097909650945050505050565b805161143990600a906020840190613765565b6000612a1984848461310e565b600082821115612cde576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000828152600e60205260408120600d810154600c90910154612d0890600161286b565b1115612d54576040805162461bcd60e51b815260206004820152601660248201527513585e1a5b5d5b48185b1c9958591e481b5a5b9d195960521b604482015290519081900360640190fd5b6000838152600e60205260409020600c0154612d7190600161286b565b6000848152600e60205260409020600c0155612d9682612d9160106128f3565b6131d8565b6000612da260106128f3565b60408051602080820184905242828401524460608084019190915233901b608083015282516074818403018152609490920183528151918101919091206000848152600d8352838120829055600f9092529190208690559091506116eb6010613306565b612e11848484612a21565b612e1d8484848461330f565b61226b5760405162461bcd60e51b815260040180806020018281038252603281526020018061387b6032913960400191505060405180910390fd5b606081612e7d57506040805180820190915260018152600360fc1b6020820152610da3565b8160005b8115612e9557600101600a82049150612e81565b60008167ffffffffffffffff81118015612eae57600080fd5b506040519080825280601f01601f191660200182016040528015612ed9576020820181803683370190505b50859350905060001982015b8315612f2a57600a840660300160f81b82828060019003935081518110612f0857fe5b60200101906001600160f81b031916908160001a905350600a84049350612ee5565b50949350505050565b6000612f3f8383612f7d565b612f75575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556114c5565b5060006114c5565b60009081526001919091016020526040902054151590565b60006114c28383612f7d565b612fac8383836110af565b6000908152600d60205260409020600190810180546001600160e01b03811663ffffffff600160e01b928390048116909401909316029190911790555050565b60006114c28383613477565b60006114c28383612f33565b6000612a1984846001600160a01b03851661353d565b8154600090821061305c5760405162461bcd60e51b81526004018080602001828103825260228152602001806138076022913960400191505060405180910390fd5b82600001828154811061306b57fe5b9060005260206000200154905092915050565b60006114c2836001600160a01b038416613477565b8154600090819083106130d75760405162461bcd60e51b8152600401808060200182810382526022815260200180613a5c6022913960400191505060405180910390fd5b60008460000184815481106130e857fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816131a95760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561316e578181015183820152602001613156565b50505050905090810190601f16801561319b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b508460000160018203815481106131bc57fe5b9060005260206000209060020201600101549150509392505050565b6001600160a01b038216613233576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b61323c816128f7565b1561328e576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b61329a60008383612fa1565b6001600160a01b03821660009081526002602052604090206132bc9082612ff8565b506132c960038284613004565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b80546001019055565b6000613323846001600160a01b03166135d4565b61332f57506001612a19565b600061343d630a85bd0160e11b6133446128ef565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156133ab578181015183820152602001613393565b50505050905090810190601f1680156133d85780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b03838183161783525050505060405180606001604052806032815260200161387b603291396001600160a01b03881691906135da565b9050600081806020019051602081101561345657600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b6000818152600183016020526040812054801561353357835460001980830191908101906000908790839081106134aa57fe5b90600052602060002001549050808760000184815481106134c757fe5b6000918252602080832090910192909255828152600189810190925260409020908401905586548790806134f757fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506114c5565b60009150506114c5565b6000828152600184016020526040812054806135a2575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055612753565b828560000160018303815481106135b557fe5b9060005260206000209060020201600101819055506000915050612753565b3b151590565b6060612a198484600085856135ee856135d4565b61363f576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600080866001600160a01b031685876040518082805190602001908083835b6020831061367d5780518252601f19909201916020918201910161365e565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146136df576040519150601f19603f3d011682016040523d82523d6000602084013e6136e4565b606091505b50915091506136f48282866136ff565b979650505050505050565b6060831561370e575081612753565b82511561371e5782518084602001fd5b60405162461bcd60e51b815260206004820181815284516024840152845185939192839260440191908501908083836000831561316e578181015183820152602001613156565b828054600181600116156101000203166002900490600052602060002090601f01602090048101928261379b57600085556137e1565b82601f106137b457805160ff19168380011785556137e1565b828001600101855582156137e1579182015b828111156137e15782518255916020019190600101906137c6565b506137ed9291506137f1565b5090565b5b808211156137ed57600081556001016137f256fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e74506172616d6574657220696e646578206d757374206265206c657373207468616e20374552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e74657252657175697265732061646d696e2070726976696c65676573000000000000004552433732313a207472616e7366657220746f20746865207a65726f206164647265737343616e206f6e6c792070757263686173652066726f6d2065787465726e616c206d696e74696e6720636f6e74726163744552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b65496e646578206c6172676572207468616e206e756d436f64654c6f636174696f6e734552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e44656166626565663732313a206d7573742068617665206d696e74657220726f6c6520746f206368616e6765207072696365456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a644656166626565663732313a206d7573742068617665206d696e74657220726f6c6520746f206d696e744552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656444656166626565663732313a206d7573742068617665206d696e74657220726f6c6520746f2075706461746520746f6b656e706172616d7353657269657320696420646f6573206e6f742065786973740000000000000000506172616d6574657220696e646578206d757374206265206c657373207468616e2038416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a264697066735822122010fd7df674204566f5a6239a6c16e16a248a31f37771a6c69570d75191d7ab7964736f6c63430007060033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000008446561666265656600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084445414642454546000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002068747470733a2f2f7777772e64656166626565662e636f6d2f746f6b656e732f

Deployed Bytecode

0x6080604052600436106102885760003560e01c80636be636691161015a578063a22cb465116100c1578063d547741f1161007a578063d547741f14610c66578063daff97b514610c9f578063e985e9c514610cd1578063efef39a114610d0c578063f7d9757714610d29578063fc3188f214610d5957610288565b8063a22cb46514610ada578063b6b55d4f14610b15578063b88d4fde14610b2a578063c87b56dd14610bfd578063ca15c87314610c27578063d539139314610c5157610288565b80639010d07c116101135780639010d07c146109e457806391d1485414610a1457806394bf804d14610a4d57806395d89b4114610a86578063a18ee62514610a9b578063a217fddf14610ac557610288565b80636be636691461089c5780636c0360eb1461092b57806370a0823114610940578063740c5896146109735780638899bb971461099f5780638da5cb5b146109cf57610288565b80632e1a7d4d116101fe5780634f6ccce7116101b75780634f6ccce7146106a957806352894024146106d3578063538c1a891461074d57806355f804b31461078957806362802b931461083c5780636352211e1461087257610288565b80632e1a7d4d1461055b5780632f2ff15d146105855780632f745c59146105be5780633145b865146105f757806336568abe1461062d57806342842e0e1461066657610288565b80631160da15116102505780631160da151461041c57806311e8a14f1461048257806318160ddd146104a957806321edc4cb146104be57806323b872dd146104ee578063248a9ca31461053157610288565b806301ffc9a71461028d5780630497ce7d146102d557806306fdde0314610313578063081812fc1461039d578063095ea7b3146103e3575b600080fd5b34801561029957600080fd5b506102c1600480360360208110156102b057600080fd5b50356001600160e01b031916610d85565b604080519115158252519081900360200190f35b3480156102e157600080fd5b50610311600480360360608110156102f857600080fd5b508035906020810135906040013563ffffffff16610da8565b005b34801561031f57600080fd5b50610328610ee1565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561036257818101518382015260200161034a565b50505050905090810190601f16801561038f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156103a957600080fd5b506103c7600480360360208110156103c057600080fd5b5035610f77565b604080516001600160a01b039092168252519081900360200190f35b3480156103ef57600080fd5b506103116004803603604081101561040657600080fd5b506001600160a01b038135169060200135610fd9565b34801561042857600080fd5b506104466004803603602081101561043f57600080fd5b50356110b4565b6040805197885260208801969096528686019490945260608601929092526080850152151560a0840152151560c0830152519081900360e00190f35b34801561048e57600080fd5b50610497611160565b60408051918252519081900360200190f35b3480156104b557600080fd5b50610497611225565b3480156104ca57600080fd5b50610311600480360360408110156104e157600080fd5b5080359060200135611236565b3480156104fa57600080fd5b506103116004803603606081101561051157600080fd5b506001600160a01b038135811691602081013590911690604001356112ff565b34801561053d57600080fd5b506104976004803603602081101561055457600080fd5b5035611356565b34801561056757600080fd5b506103116004803603602081101561057e57600080fd5b503561136b565b34801561059157600080fd5b50610311600480360360408110156105a857600080fd5b50803590602001356001600160a01b031661143d565b3480156105ca57600080fd5b50610497600480360360408110156105e157600080fd5b506001600160a01b0381351690602001356114a0565b34801561060357600080fd5b506103116004803603604081101561061a57600080fd5b508035906020013563ffffffff166114cb565b34801561063957600080fd5b506103116004803603604081101561065057600080fd5b50803590602001356001600160a01b0316611661565b34801561067257600080fd5b506103116004803603606081101561068957600080fd5b506001600160a01b038135811691602081013590911690604001356116c2565b3480156106b557600080fd5b50610497600480360360208110156106cc57600080fd5b50356116dd565b3480156106df57600080fd5b506106fd600480360360208110156106f657600080fd5b50356116f3565b6040805163ffffffff998a16815297891660208901529588168787015293871660608701529186166080860152851660a0850152841660c084015290921660e08201529051908190036101000190f35b34801561075957600080fd5b506103116004803603606081101561077057600080fd5b508035906020810135906040013563ffffffff166117bb565b34801561079557600080fd5b50610311600480360360208110156107ac57600080fd5b8101906020810181356401000000008111156107c757600080fd5b8201836020820111156107d957600080fd5b803590602001918460018302840111640100000000831117156107fb57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506118fa945050505050565b34801561084857600080fd5b506103116004803603606081101561085f57600080fd5b5080359060208101359060400135611952565b34801561087e57600080fd5b506103c76004803603602081101561089557600080fd5b5035611a7d565b3480156108a857600080fd5b506108c6600480360360208110156108bf57600080fd5b5035611aa5565b604080519b8c5260208c019a909a528a8a019890985263ffffffff96871660608b015294861660808a015292851660a089015290841660c0880152831660e0870152821661010086015281166101208501521661014083015251908190036101600190f35b34801561093757600080fd5b50610328611c0e565b34801561094c57600080fd5b506104976004803603602081101561096357600080fd5b50356001600160a01b0316611c6f565b6104976004803603604081101561098957600080fd5b50803590602001356001600160a01b0316611cd7565b3480156109ab57600080fd5b50610497600480360360408110156109c257600080fd5b5080359060200135611e9a565b3480156109db57600080fd5b506103c7611f59565b3480156109f057600080fd5b506103c760048036036040811015610a0757600080fd5b5080359060200135611f61565b348015610a2057600080fd5b506102c160048036036040811015610a3757600080fd5b50803590602001356001600160a01b0316611f79565b348015610a5957600080fd5b5061049760048036036040811015610a7057600080fd5b50803590602001356001600160a01b0316611f91565b348015610a9257600080fd5b50610328611ff2565b348015610aa757600080fd5b5061031160048036036020811015610abe57600080fd5b5035612053565b348015610ad157600080fd5b50610497612103565b348015610ae657600080fd5b5061031160048036036040811015610afd57600080fd5b506001600160a01b0381351690602001351515612108565b348015610b2157600080fd5b5061049761220d565b348015610b3657600080fd5b5061031160048036036080811015610b4d57600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135640100000000811115610b8857600080fd5b820183602082011115610b9a57600080fd5b80359060200191846001830284011164010000000083111715610bbc57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612213945050505050565b348015610c0957600080fd5b5061032860048036036020811015610c2057600080fd5b5035612271565b348015610c3357600080fd5b5061049760048036036020811015610c4a57600080fd5b50356124f2565b348015610c5d57600080fd5b50610497612509565b348015610c7257600080fd5b5061031160048036036040811015610c8957600080fd5b50803590602001356001600160a01b031661251b565b348015610cab57600080fd5b5061031160048036036040811015610cc257600080fd5b50803590602001351515612574565b348015610cdd57600080fd5b506102c160048036036040811015610cf457600080fd5b506001600160a01b0381358116916020013516612630565b61049760048036036020811015610d2257600080fd5b503561265e565b348015610d3557600080fd5b5061031160048036036040811015610d4c57600080fd5b508035906020013561275a565b348015610d6557600080fd5b5061031160048036036020811015610d7c57600080fd5b5035151561280c565b6001600160e01b0319811660009081526001602052604090205460ff165b919050565b610dc7600080516020613b02833981519152610dc26128ef565b611f79565b610e025760405162461bcd60e51b8152600401808060200182810382526038815260200180613b9e6038913960400191505060405180910390fd5b610e0c60106128f3565b8310610e56576040805162461bcd60e51b8152602060048201526014602482015273546f6b656e4964206f7574206f662072616e676560601b604482015290519081900360640190fd5b60078210610e955760405162461bcd60e51b81526004018080602001828103825260238152602001806138586023913960400191505060405180910390fd5b6000838152600d6020526040902081906001018360088110610eb357fe5b600891828204019190066004026101000a81548163ffffffff021916908363ffffffff160217905550505050565b60078054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610f6d5780601f10610f4257610100808354040283529160200191610f6d565b820191906000526020600020905b815481529060010190602001808311610f5057829003601f168201915b5050505050905090565b6000610f82826128f7565b610fbd5760405162461bcd60e51b815260040180806020018281038252602c815260200180613a7e602c913960400191505060405180910390fd5b506000908152600560205260409020546001600160a01b031690565b6000610fe482611a7d565b9050806001600160a01b0316836001600160a01b031614156110375760405162461bcd60e51b8152600401808060200182810382526021815260200180613b4c6021913960400191505060405180910390fd5b806001600160a01b03166110496128ef565b6001600160a01b0316148061106a575061106a816110656128ef565b612630565b6110a55760405162461bcd60e51b815260040180806020018281038252603881526020018061399f6038913960400191505060405180910390fd5b6110af8383612904565b505050565b6000806000806000806000600b54881061110e576040805162461bcd60e51b8152602060048201526016602482015275536572696573204944206f7574206f662072616e676560501b604482015290519081900360640190fd5b50505060009485525050600e602081905260409093208054600a820154600c830154600d840154600f8501549490970154929763ffffffff909216969095509350909160ff6101008204811692911690565b600061116e81610dc26128ef565b6111ad576040805162461bcd60e51b815260206004820152601960248201526000805160206138ad833981519152604482015290519081900360640190fd5b600b80546000908152600e602081905260408083206032600d909101558354835280832066b1a2bc2ec5000092019190915582548252808220600a01805463ffffffff19166001908117909155835483529120600f01805461ff001916610100179055905461121b9161286b565b600b819055905090565b60006112316003612972565b905090565b6112436000610dc26128ef565b611282576040805162461bcd60e51b815260206004820152601960248201526000805160206138ad833981519152604482015290519081900360640190fd5b81600b5481106112c7576040805162461bcd60e51b81526020600482015260186024820152600080516020613bd6833981519152604482015290519081900360640190fd5b6000838152600e60205260409020600f0154839060ff16156112e857600080fd5b50506000918252600e6020526040909120600d0155565b61131061130a6128ef565b8261297d565b61134b5760405162461bcd60e51b8152600401808060200182810382526031815260200180613b6d6031913960400191505060405180910390fd5b6110af838383612a21565b60009081526020819052604090206002015490565b6113786000610dc26128ef565b6113b7576040805162461bcd60e51b815260206004820152601960248201526000805160206138ad833981519152604482015290519081900360640190fd5b4781111561140c576040805162461bcd60e51b815260206004820152601e60248201527f496e73756666696369656e742066756e647320746f2077697468647261770000604482015290519081900360640190fd5b604051339082156108fc029083906000818181858888f19350505050158015611439573d6000803e3d6000fd5b5050565b60008281526020819052604090206002015461145b90610dc26128ef565b6114965760405162461bcd60e51b815260040180806020018281038252602f815260200180613829602f913960400191505060405180910390fd5b6114398282612b6d565b6001600160a01b03821660009081526002602052604081206114c29083612bd6565b90505b92915050565b6114d86000610dc26128ef565b611517576040805162461bcd60e51b815260206004820152601960248201526000805160206138ad833981519152604482015290519081900360640190fd5b81600b54811061155c576040805162461bcd60e51b81526020600482015260186024820152600080516020613bd6833981519152604482015290519081900360640190fd5b6000838152600e60205260409020600f0154839060ff161561157d57600080fd5b600a8363ffffffff1611156115d9576040805162461bcd60e51b815260206004820152601960248201527f4d6178696d756d20313020636f6465206c6f636174696f6e7300000000000000604482015290519081900360640190fd5b60008363ffffffff1611611634576040805162461bcd60e51b815260206004820152601860248201527f4d696e696d756d203120636f6465206c6f636174696f6e730000000000000000604482015290519081900360640190fd5b50506000918252600e6020526040909120600a01805463ffffffff191663ffffffff909216919091179055565b6116696128ef565b6001600160a01b0316816001600160a01b0316146116b85760405162461bcd60e51b815260040180806020018281038252602f815260200180613c19602f913960400191505060405180910390fd5b6114398282612be2565b6110af83838360405180602001604052806000815250612213565b6000806116eb600384612c4b565b509392505050565b600080600080600080600080600b54891061174e576040805162461bcd60e51b8152602060048201526016602482015275536572696573204944206f7574206f662072616e676560501b604482015290519081900360640190fd5b50505060009586525050600e60205250506040909120600b015463ffffffff80821693640100000000830482169350600160401b8304821692600160601b8104831692600160801b8204811692600160a01b8304821692600160c01b8104831692600160e01b9091041690565b6117c86000610dc26128ef565b611807576040805162461bcd60e51b815260206004820152601960248201526000805160206138ad833981519152604482015290519081900360640190fd5b82600b54811061184c576040805162461bcd60e51b81526020600482015260186024820152600080516020613bd6833981519152604482015290519081900360640190fd5b6000848152600e60205260409020600f0154849060ff161561186d57600080fd5b600884106118ac5760405162461bcd60e51b8152600401808060200182810382526023815260200180613bf66023913960400191505060405180910390fd5b6000858152600e602052604090208390600b0185600881106118ca57fe5b600891828204019190066004026101000a81548163ffffffff021916908363ffffffff1602179055505050505050565b6119076000610dc26128ef565b611946576040805162461bcd60e51b815260206004820152601960248201526000805160206138ad833981519152604482015290519081900360640190fd5b61194f81612c67565b50565b61195f6000610dc26128ef565b61199e576040805162461bcd60e51b815260206004820152601960248201526000805160206138ad833981519152604482015290519081900360640190fd5b82600b5481106119e3576040805162461bcd60e51b81526020600482015260186024820152600080516020613bd6833981519152604482015290519081900360640190fd5b6000848152600e60205260409020600f0154849060ff1615611a0457600080fd5b6000858152600e60205260409020600a015463ffffffff168410611a595760405162461bcd60e51b815260040180806020018281038252602281526020018061397d6022913960400191505060405180910390fd5b6000858152600e60205260409020839085600a8110611a7457fe5b01555050505050565b60006114c582604051806060016040528060298152602001613a016029913960039190612c7a565b6000806000806000806000806000806000611ac060106128f3565b8c10611b0a576040805162461bcd60e51b8152602060048201526014602482015273546f6b656e4964206f7574206f662072616e676560601b604482015290519081900360640190fd5b60008c8152600f6020908152604080832054808452600e90925282209091015460008e8152600d6020526040812080549e50919c50919a508a91600190910190600891828204019190066004029054906101000a900463ffffffff169850600d60008e8152602001908152602001600020600101600160088110611b8a57fe5b60088104919091015460009e8f52600d6020526040909e20600101549c9e9b9d9a9c999b60079091166004026101000a909a0463ffffffff9081169a600160401b8b0482169a600160601b810483169a50600160801b810483169950600160a01b810483169850600160c01b810483169750600160e01b9004909116945092505050565b600a8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610f6d5780601f10610f4257610100808354040283529160200191610f6d565b60006001600160a01b038216611cb65760405162461bcd60e51b815260040180806020018281038252602a8152602001806139d7602a913960400191505060405180910390fd5b6001600160a01b03821660009081526002602052604090206114c590612972565b600082600b548110611d1e576040805162461bcd60e51b81526020600482015260186024820152600080516020613bd6833981519152604482015290519081900360640190fd5b600c5460ff16611d5f5760405162461bcd60e51b81526004018080602001828103825260308152602001806138f16030913960400191505060405180910390fd5b6000848152600e60205260409020600f0154610100900460ff1615611dc2576040805162461bcd60e51b8152602060048201526014602482015273141d5c98da185cda5b99c81a5cc81c185d5cd95960621b604482015290519081900360640190fd5b6000848152600e602081905260409091200154341015611e29576040805162461bcd60e51b815260206004820181905260248201527f4d7573742073656e64206d696e696d756d2076616c756520746f206d696e7421604482015290519081900360640190fd5b3415611e85576000848152600e6020819052604082200154611e4c903490612c87565b90508015611e8357604051339082156108fc029083906000818181858888f19350505050158015611e81573d6000803e3d6000fd5b505b505b6000611e918585612ce4565b95945050505050565b600082600b548110611ee1576040805162461bcd60e51b81526020600482015260186024820152600080516020613bd6833981519152604482015290519081900360640190fd5b600a8310611f36576040805162461bcd60e51b815260206004820152601f60248201527f636f64654c6f636174696f6e20696e646578206f7574206f662072616e676500604482015290519081900360640190fd5b6000848152600e6020526040902083600a8110611f4f57fe5b0154949350505050565b600061123181805b60008281526020819052604081206114c29083612bd6565b60008281526020819052604081206114c290836128da565b6000611fad600080516020613b02833981519152610dc26128ef565b611fe85760405162461bcd60e51b815260040180806020018281038252602a815260200180613b22602a913960400191505060405180910390fd5b6114c28383612ce4565b60088054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610f6d5780601f10610f4257610100808354040283529160200191610f6d565b80600b548110612098576040805162461bcd60e51b81526020600482015260186024820152600080516020613bd6833981519152604482015290519081900360640190fd5b6120a56000610dc26128ef565b6120e4576040805162461bcd60e51b815260206004820152601960248201526000805160206138ad833981519152604482015290519081900360640190fd5b506000908152600e60205260409020600f01805460ff19166001179055565b600081565b6121106128ef565b6001600160a01b0316826001600160a01b03161415612176576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b80600660006121836128ef565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556121c76128ef565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b600b5481565b61222461221e6128ef565b8361297d565b61225f5760405162461bcd60e51b8152600401808060200182810382526031815260200180613b6d6031913960400191505060405180910390fd5b61226b84848484612e06565b50505050565b606061227c826128f7565b6122b75760405162461bcd60e51b815260040180806020018281038252602f815260200180613ad3602f913960400191505060405180910390fd5b60008281526009602090815260408083208054825160026001831615610100026000190190921691909104601f81018590048502820185019093528281529290919083018282801561234a5780601f1061231f5761010080835404028352916020019161234a565b820191906000526020600020905b81548152906001019060200180831161232d57829003601f168201915b50505050509050600061235b611c0e565b905080516000141561236f57509050610da3565b8151156124305780826040516020018083805190602001908083835b602083106123aa5780518252601f19909201916020918201910161238b565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b602083106123f25780518252601f1990920191602091820191016123d3565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050610da3565b8061243a85612e58565b6040516020018083805190602001908083835b6020831061246c5780518252601f19909201916020918201910161244d565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b602083106124b45780518252601f199092019160209182019101612495565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050919050565b60008181526020819052604081206114c590612972565b600080516020613b0283398151915281565b60008281526020819052604090206002015461253990610dc26128ef565b6116b85760405162461bcd60e51b815260040180806020018281038252603081526020018061394d6030913960400191505060405180910390fd5b81600b5481106125b9576040805162461bcd60e51b81526020600482015260186024820152600080516020613bd6833981519152604482015290519081900360640190fd5b6125c66000610dc26128ef565b612605576040805162461bcd60e51b815260206004820152601960248201526000805160206138ad833981519152604482015290519081900360640190fd5b506000918252600e6020526040909120600f0180549115156101000261ff0019909216919091179055565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b600081600b5481106126a5576040805162461bcd60e51b81526020600482015260186024820152600080516020613bd6833981519152604482015290519081900360640190fd5b600c5460ff166126e65760405162461bcd60e51b81526004018080602001828103825260308152602001806138f16030913960400191505060405180910390fd5b6000838152600e60205260409020600f0154610100900460ff1615612749576040805162461bcd60e51b8152602060048201526014602482015273141d5c98da185cda5b99c81a5cc81c185d5cd95960621b604482015290519081900360640190fd5b6127538333611cd7565b9392505050565b81600b54811061279f576040805162461bcd60e51b81526020600482015260186024820152600080516020613bd6833981519152604482015290519081900360640190fd5b6127b9600080516020613b02833981519152610dc26128ef565b6127f45760405162461bcd60e51b8152600401808060200182810382526032815260200180613a2a6032913960400191505060405180910390fd5b506000918252600e6020819052604090922090910155565b6128196000610dc26128ef565b612858576040805162461bcd60e51b815260206004820152601960248201526000805160206138ad833981519152604482015290519081900360640190fd5b600c805460ff1916911515919091179055565b6000828201838110156114c2576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60006114c2836001600160a01b038416612f33565b60006114c2836001600160a01b038416612f7d565b3390565b5490565b60006114c5600383612f95565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061293982611a7d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006114c5826128f3565b6000612988826128f7565b6129c35760405162461bcd60e51b815260040180806020018281038252602c815260200180613921602c913960400191505060405180910390fd5b60006129ce83611a7d565b9050806001600160a01b0316846001600160a01b03161480612a095750836001600160a01b03166129fe84610f77565b6001600160a01b0316145b80612a195750612a198185612630565b949350505050565b826001600160a01b0316612a3482611a7d565b6001600160a01b031614612a795760405162461bcd60e51b8152600401808060200182810382526029815260200180613aaa6029913960400191505060405180910390fd5b6001600160a01b038216612abe5760405162461bcd60e51b81526004018080602001828103825260248152602001806138cd6024913960400191505060405180910390fd5b612ac9838383612fa1565b612ad4600082612904565b6001600160a01b0383166000908152600260205260409020612af69082612fec565b506001600160a01b0382166000908152600260205260409020612b199082612ff8565b50612b2660038284613004565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000828152602081905260409020612b8590826128c5565b1561143957612b926128ef565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60006114c2838361301a565b6000828152602081905260409020612bfa908261307e565b1561143957612c076128ef565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b6000808080612c5a8686613093565b9097909650945050505050565b805161143990600a906020840190613765565b6000612a1984848461310e565b600082821115612cde576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000828152600e60205260408120600d810154600c90910154612d0890600161286b565b1115612d54576040805162461bcd60e51b815260206004820152601660248201527513585e1a5b5d5b48185b1c9958591e481b5a5b9d195960521b604482015290519081900360640190fd5b6000838152600e60205260409020600c0154612d7190600161286b565b6000848152600e60205260409020600c0155612d9682612d9160106128f3565b6131d8565b6000612da260106128f3565b60408051602080820184905242828401524460608084019190915233901b608083015282516074818403018152609490920183528151918101919091206000848152600d8352838120829055600f9092529190208690559091506116eb6010613306565b612e11848484612a21565b612e1d8484848461330f565b61226b5760405162461bcd60e51b815260040180806020018281038252603281526020018061387b6032913960400191505060405180910390fd5b606081612e7d57506040805180820190915260018152600360fc1b6020820152610da3565b8160005b8115612e9557600101600a82049150612e81565b60008167ffffffffffffffff81118015612eae57600080fd5b506040519080825280601f01601f191660200182016040528015612ed9576020820181803683370190505b50859350905060001982015b8315612f2a57600a840660300160f81b82828060019003935081518110612f0857fe5b60200101906001600160f81b031916908160001a905350600a84049350612ee5565b50949350505050565b6000612f3f8383612f7d565b612f75575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556114c5565b5060006114c5565b60009081526001919091016020526040902054151590565b60006114c28383612f7d565b612fac8383836110af565b6000908152600d60205260409020600190810180546001600160e01b03811663ffffffff600160e01b928390048116909401909316029190911790555050565b60006114c28383613477565b60006114c28383612f33565b6000612a1984846001600160a01b03851661353d565b8154600090821061305c5760405162461bcd60e51b81526004018080602001828103825260228152602001806138076022913960400191505060405180910390fd5b82600001828154811061306b57fe5b9060005260206000200154905092915050565b60006114c2836001600160a01b038416613477565b8154600090819083106130d75760405162461bcd60e51b8152600401808060200182810382526022815260200180613a5c6022913960400191505060405180910390fd5b60008460000184815481106130e857fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816131a95760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561316e578181015183820152602001613156565b50505050905090810190601f16801561319b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b508460000160018203815481106131bc57fe5b9060005260206000209060020201600101549150509392505050565b6001600160a01b038216613233576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b61323c816128f7565b1561328e576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b61329a60008383612fa1565b6001600160a01b03821660009081526002602052604090206132bc9082612ff8565b506132c960038284613004565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b80546001019055565b6000613323846001600160a01b03166135d4565b61332f57506001612a19565b600061343d630a85bd0160e11b6133446128ef565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156133ab578181015183820152602001613393565b50505050905090810190601f1680156133d85780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b03838183161783525050505060405180606001604052806032815260200161387b603291396001600160a01b03881691906135da565b9050600081806020019051602081101561345657600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b6000818152600183016020526040812054801561353357835460001980830191908101906000908790839081106134aa57fe5b90600052602060002001549050808760000184815481106134c757fe5b6000918252602080832090910192909255828152600189810190925260409020908401905586548790806134f757fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506114c5565b60009150506114c5565b6000828152600184016020526040812054806135a2575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055612753565b828560000160018303815481106135b557fe5b9060005260206000209060020201600101819055506000915050612753565b3b151590565b6060612a198484600085856135ee856135d4565b61363f576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600080866001600160a01b031685876040518082805190602001908083835b6020831061367d5780518252601f19909201916020918201910161365e565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146136df576040519150601f19603f3d011682016040523d82523d6000602084013e6136e4565b606091505b50915091506136f48282866136ff565b979650505050505050565b6060831561370e575081612753565b82511561371e5782518084602001fd5b60405162461bcd60e51b815260206004820181815284516024840152845185939192839260440191908501908083836000831561316e578181015183820152602001613156565b828054600181600116156101000203166002900490600052602060002090601f01602090048101928261379b57600085556137e1565b82601f106137b457805160ff19168380011785556137e1565b828001600101855582156137e1579182015b828111156137e15782518255916020019190600101906137c6565b506137ed9291506137f1565b5090565b5b808211156137ed57600081556001016137f256fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e74506172616d6574657220696e646578206d757374206265206c657373207468616e20374552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e74657252657175697265732061646d696e2070726976696c65676573000000000000004552433732313a207472616e7366657220746f20746865207a65726f206164647265737343616e206f6e6c792070757263686173652066726f6d2065787465726e616c206d696e74696e6720636f6e74726163744552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b65496e646578206c6172676572207468616e206e756d436f64654c6f636174696f6e734552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e44656166626565663732313a206d7573742068617665206d696e74657220726f6c6520746f206368616e6765207072696365456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a644656166626565663732313a206d7573742068617665206d696e74657220726f6c6520746f206d696e744552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656444656166626565663732313a206d7573742068617665206d696e74657220726f6c6520746f2075706461746520746f6b656e706172616d7353657269657320696420646f6573206e6f742065786973740000000000000000506172616d6574657220696e646578206d757374206265206c657373207468616e2038416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a264697066735822122010fd7df674204566f5a6239a6c16e16a248a31f37771a6c69570d75191d7ab7964736f6c63430007060033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000008446561666265656600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084445414642454546000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002068747470733a2f2f7777772e64656166626565662e636f6d2f746f6b656e732f

-----Decoded View---------------
Arg [0] : name (string): Deafbeef
Arg [1] : symbol (string): DEAFBEEF
Arg [2] : baseURI (string): https://www.deafbeef.com/tokens/

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [4] : 4465616662656566000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [6] : 4445414642454546000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [8] : 68747470733a2f2f7777772e64656166626565662e636f6d2f746f6b656e732f


Deployed Bytecode Sourcemap

74118:10862:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44558:150;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44558:150:0;-1:-1:-1;;;;;;44558:150:0;;:::i;:::-;;;;;;;;;;;;;;;;;;77553:363;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;77553:363:0;;;;;;;;;;;;;;:::i;:::-;;60649:100;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63435:221;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;63435:221:0;;:::i;:::-;;;;-1:-1:-1;;;;;63435:221:0;;;;;;;;;;;;;;62965:404;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;62965:404:0;;;;;;;;:::i;79112:567::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;79112:567:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80079:365;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;62443:211;;;;;;;;;;;;;:::i;76031:141::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;76031:141:0;;;;;;;:::i;64325:305::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;64325:305:0;;;;;;;;;;;;;;;;;:::i;30568:114::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30568:114:0;;:::i;81265:181::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;81265:181:0;;:::i;30944:227::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30944:227:0;;;;;;-1:-1:-1;;;;;30944:227:0;;:::i;62205:162::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;62205:162:0;;;;;;;;:::i;76180:303::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;76180:303:0;;;;;;;;;:::i;32153:209::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32153:209:0;;;;;;-1:-1:-1;;;;;32153:209:0;;:::i;64701:151::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;64701:151:0;;;;;;;;;;;;;;;;;:::i;62731:172::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62731:172:0;;:::i;78669:431::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;78669:431:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76940:262;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;76940:262:0;;;;;;;;;;;;;;:::i;81458:106::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;81458:106:0;;-1:-1:-1;81458:106:0;;-1:-1:-1;;;;;81458:106:0:i;76495:437::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;76495:437:0;;;;;;;;;;;;:::i;60405:177::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60405:177:0;;:::i;77928:733::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;77928:733:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62024:97;;;;;;;;;;;;;:::i;60122:221::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60122:221:0;-1:-1:-1;;;;;60122:221:0;;:::i;83974:673::-;;;;;;;;;;;;;;;;-1:-1:-1;83974:673:0;;;;;;-1:-1:-1;;;;;83974:673:0;;:::i;79695:376::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;79695:376:0;;;;;;;:::i;75908:114::-;;;;;;;;;;;;;:::i;30241:138::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30241:138:0;;;;;;;:::i;29202:139::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29202:139:0;;;;;;-1:-1:-1;;;;;29202:139:0;;:::i;82705:224::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;82705:224:0;;;;;;-1:-1:-1;;;;;82705:224:0;;:::i;60818:104::-;;;;;;;;;;;;;:::i;81064:193::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;81064:193:0;;:::i;27947:49::-;;;;;;;;;;;;;:::i;63728:295::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;63728:295:0;;;;;;;;;;:::i;74332:24::-;;;;;;;;;;;;;:::i;64923:285::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;64923:285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;64923:285:0;;-1:-1:-1;64923:285:0;;-1:-1:-1;;;;;64923:285:0:i;60993:792::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60993:792:0;;:::i;29515:127::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29515:127:0;;:::i;74261:62::-;;;;;;;;;;;;;:::i;31416:230::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31416:230:0;;;;;;-1:-1:-1;;;;;31416:230:0;;:::i;80938:114::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;80938:114:0;;;;;;;;;:::i;64094:164::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;64094:164:0;;;;;;;;;;:::i;83675:291::-;;;;;;;;;;;;;;;;-1:-1:-1;83675:291:0;;:::i;80572:220::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;80572:220:0;;;;;;;:::i;80800:106::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;80800:106:0;;;;:::i;44558:150::-;-1:-1:-1;;;;;;44667:33:0;;44643:4;44667:33;;;:20;:33;;;;;;;;44558:150;;;;:::o;77553:363::-;77638:34;-1:-1:-1;;;;;;;;;;;77659:12:0;:10;:12::i;:::-;77638:7;:34::i;:::-;77630:103;;;;-1:-1:-1;;;77630:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77760:25;:15;:23;:25::i;:::-;77750:7;:35;77742:67;;;;;-1:-1:-1;;;77742:67:0;;;;;;;;;;;;-1:-1:-1;;;77742:67:0;;;;;;;;;;;;;;;77830:1;77828;:3;77820:50;;;;-1:-1:-1;;;77820:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77879:20;;;;:11;:20;;;;;77907:1;;77879:22;;77902:1;77879:25;;;;;;;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;77553:363;;;:::o;60649:100::-;60736:5;60729:12;;;;;;;;-1:-1:-1;;60729:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60703:13;;60729:12;;60736:5;;60729:12;;60736:5;60729:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60649:100;:::o;63435:221::-;63511:7;63539:16;63547:7;63539;:16::i;:::-;63531:73;;;;-1:-1:-1;;;63531:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;63624:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;63624:24:0;;63435:221::o;62965:404::-;63046:13;63062:23;63077:7;63062:14;:23::i;:::-;63046:39;;63110:5;-1:-1:-1;;;;;63104:11:0;:2;-1:-1:-1;;;;;63104:11:0;;;63096:57;;;;-1:-1:-1;;;63096:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63190:5;-1:-1:-1;;;;;63174:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;63174:21:0;;:69;;;;63199:44;63223:5;63230:12;:10;:12::i;:::-;63199:23;:44::i;:::-;63166:161;;;;-1:-1:-1;;;63166:161:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63340:21;63349:2;63353:7;63340:8;:21::i;:::-;62965:404;;;:::o;79112:567::-;79163:21;79186:24;79212:15;79229;79246:24;79272:11;79285;79319:9;;79315:1;:13;79307:47;;;;;-1:-1:-1;;;79307:47:0;;;;;;;;;;;;-1:-1:-1;;;79307:47:0;;;;;;;;;;;;;;;-1:-1:-1;;;79381:9:0;;;;-1:-1:-1;;79381:6:0;:9;;;;;;;;:26;;79435;;;;79480:17;;;;79516;;;;79559:16;;;;79645:26;;;;;79381;;79435;;;;;79480:17;;-1:-1:-1;79516:17:0;-1:-1:-1;79645:26:0;;79559:16;79435:26;79593:16;;;;;79559;;;79112:567::o;80079:365::-;80128:11;75591:41;80128:11;75619:12;:10;:12::i;75591:41::-;75583:79;;;;;-1:-1:-1;;;75583:79:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;75583:79:0;;;;;;;;;;;;;;;80157:9:::1;::::0;;80150:17:::1;::::0;;;:6:::1;:17;::::0;;;;;;;80178:2:::1;80150:25;::::0;;::::1;:30:::0;80230:9;;80223:17;;;;;80260:6:::1;80223:34:::0;::::1;:43:::0;;;;80303:9;;80296:17;;;;;:34:::1;;:38:::0;;-1:-1:-1;;80296:38:0::1;80333:1;80296:38:::0;;::::1;::::0;;;80350:9;;80343:17;;;;:24:::1;;:31:::0;;-1:-1:-1;;80343:31:0::1;80296:38;80343:31;::::0;;80395:9;;:16:::1;::::0;:13:::1;:16::i;:::-;80383:9;:28:::0;;;;-1:-1:-1;80079:365:0;:::o;62443:211::-;62504:7;62625:21;:12;:19;:21::i;:::-;62618:28;;62443:211;:::o;76031:141::-;75591:41;27992:4;75619:12;:10;:12::i;75591:41::-;75583:79;;;;;-1:-1:-1;;;75583:79:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;75583:79:0;;;;;;;;;;;;;;;76106:3:::1;75744:9;;75738:3;:15;75730:51;;;::::0;;-1:-1:-1;;;75730:51:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;;;;;;;;;75730:51:0;;;;;;;;;;;;;::::1;;75863:11:::2;::::0;;;:6:::2;:11;::::0;;;;:18:::2;;::::0;76127:3;;75863:18:::2;;75862:19;75854:28;;;::::0;::::2;;-1:-1:-1::0;;76141:11:0::3;::::0;;;:6:::3;:11;::::0;;;;;:19:::3;;:23:::0;76031:141::o;64325:305::-;64486:41;64505:12;:10;:12::i;:::-;64519:7;64486:18;:41::i;:::-;64478:103;;;;-1:-1:-1;;;64478:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64594:28;64604:4;64610:2;64614:7;64594:9;:28::i;30568:114::-;30625:7;30652:12;;;;;;;;;;:22;;;;30568:114::o;81265:181::-;75591:41;27992:4;75619:12;:10;:12::i;75591:41::-;75583:79;;;;;-1:-1:-1;;;75583:79:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;75583:79:0;;;;;;;;;;;;;;;81346:21:::1;81336:6;:31;;81328:73;;;::::0;;-1:-1:-1;;;81328:73:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;81411:27;::::0;:10:::1;::::0;:27;::::1;;;::::0;81431:6;;81411:27:::1;::::0;;;81431:6;81411:10;:27;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;81265:181:::0;:::o;30944:227::-;31036:6;:12;;;;;;;;;;:22;;;31028:45;;31060:12;:10;:12::i;31028:45::-;31020:105;;;;-1:-1:-1;;;31020:105:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31138:25;31149:4;31155:7;31138:10;:25::i;62205:162::-;-1:-1:-1;;;;;62329:20:0;;62302:7;62329:20;;;:13;:20;;;;;:30;;62353:5;62329:23;:30::i;:::-;62322:37;;62205:162;;;;;:::o;76180:303::-;75591:41;27992:4;75619:12;:10;:12::i;75591:41::-;75583:79;;;;;-1:-1:-1;;;75583:79:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;75583:79:0;;;;;;;;;;;;;;;76263:3:::1;75744:9;;75738:3;:15;75730:51;;;::::0;;-1:-1:-1;;;75730:51:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;;;;;;;;;75730:51:0;;;;;;;;;;;;;::::1;;75863:11:::2;::::0;;;:6:::2;:11;::::0;;;;:18:::2;;::::0;76284:3;;75863:18:::2;;75862:19;75854:28;;;::::0;::::2;;76353:2:::3;76348:1;:7;;;;76340:44;;;::::0;;-1:-1:-1;;;76340:44:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;::::3;::::0;;;;;;;;;;;;;::::3;;76405:1;76401;:5;;;76393:41;;;::::0;;-1:-1:-1;;;76393:41:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;::::3;::::0;;;;;;;;;;;;;::::3;;-1:-1:-1::0;;76443:11:0::3;::::0;;;:6:::3;:11;::::0;;;;;:28:::3;;:32:::0;;-1:-1:-1;;76443:32:0::3;;::::0;;::::3;::::0;;;::::3;::::0;;76180:303::o;32153:209::-;32251:12;:10;:12::i;:::-;-1:-1:-1;;;;;32240:23:0;:7;-1:-1:-1;;;;;32240:23:0;;32232:83;;;;-1:-1:-1;;;32232:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32328:26;32340:4;32346:7;32328:11;:26::i;64701:151::-;64805:39;64822:4;64828:2;64832:7;64805:39;;;;;;;;;;;;:16;:39::i;62731:172::-;62806:7;;62848:22;:12;62864:5;62848:15;:22::i;:::-;-1:-1:-1;62826:44:0;62731:172;-1:-1:-1;;;62731:172:0:o;78669:431::-;78725:9;78736;78746;78757;78768;78779;78790;78801;78833;;78829:1;:13;78821:47;;;;;-1:-1:-1;;;78821:47:0;;;;;;;;;;;;-1:-1:-1;;;78821:47:0;;;;;;;;;;;;;;;-1:-1:-1;;;78882:9:0;;;;-1:-1:-1;;78882:6:0;:9;;-1:-1:-1;;78882:9:0;;;;:11;;:14;;;;;;78910;;;;;;-1:-1:-1;;;;78938:14:0;;;;;-1:-1:-1;;;78966:14:0;;;;;-1:-1:-1;;;78994:14:0;;;;;-1:-1:-1;;;79022:14:0;;;;;-1:-1:-1;;;79050:14:0;;;;;-1:-1:-1;;;79078:14:0;;;;;78669:431::o;76940:262::-;75591:41;27992:4;75619:12;:10;:12::i;75591:41::-;75583:79;;;;;-1:-1:-1;;;75583:79:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;75583:79:0;;;;;;;;;;;;;;;77029:3:::1;75744:9;;75738:3;:15;75730:51;;;::::0;;-1:-1:-1;;;75730:51:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;;;;;;;;;75730:51:0;;;;;;;;;;;;;::::1;;75863:11:::2;::::0;;;:6:::2;:11;::::0;;;;:18:::2;;::::0;77050:3;;75863:18:::2;;75862:19;75854:28;;;::::0;::::2;;77074:1:::3;77072;:3;77064:50;;;;-1:-1:-1::0;;;77064:50:0::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77174:11;::::0;;;:6:::3;:11;::::0;;;;77193:1;;77174:13:::3;;77188:1:::0;77174:16:::3;::::0;::::3;;;;;;;;;;;;;;;;:20;;;;;;;;;;;;;;;;;;75790:1:::2;75671::::1;76940:262:::0;;;:::o;81458:106::-;75591:41;27992:4;75619:12;:10;:12::i;75591:41::-;75583:79;;;;;-1:-1:-1;;;75583:79:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;75583:79:0;;;;;;;;;;;;;;;81530:20:::1;81542:7;81530:11;:20::i;:::-;81458:106:::0;:::o;76495:437::-;75591:41;27992:4;75619:12;:10;:12::i;75591:41::-;75583:79;;;;;-1:-1:-1;;;75583:79:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;75583:79:0;;;;;;;;;;;;;;;76591:3:::1;75744:9;;75738:3;:15;75730:51;;;::::0;;-1:-1:-1;;;75730:51:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;;;;;;;;;75730:51:0;;;;;;;;;;;;;::::1;;75863:11:::2;::::0;;;:6:::2;:11;::::0;;;;:18:::2;;::::0;76612:3;;75863:18:::2;;75862:19;75854:28;;;::::0;::::2;;76638:11:::3;::::0;;;:6:::3;:11;::::0;;;;:28:::3;;::::0;::::3;;76634:32:::0;::::3;76626:78;;;;-1:-1:-1::0;;;76626:78:0::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76887:11;::::0;;;:6:::3;:11;::::0;;;;76918:6;;76913:1;76887:28:::3;::::0;::::3;;;;;;:37:::0;-1:-1:-1;;;;;76495:437:0:o;60405:177::-;60477:7;60504:70;60521:7;60504:70;;;;;;;;;;;;;;;;;:12;;:70;:16;:70::i;77928:733::-;77984:12;77998:21;78021:16;78039:9;78050;78061;78072;78083;78094;78105;78116;78148:25;:15;:23;:25::i;:::-;78144:1;:29;78136:61;;;;;-1:-1:-1;;;78136:61:0;;;;;;;;;;;;-1:-1:-1;;;78136:61:0;;;;;;;;;;;;;;;78206:11;78220:15;;;:12;:15;;;;;;;;;78260:11;;;:6;:11;;;;;78220:15;;78260:28;;78327:14;;;;:11;:14;;;;;:19;;;-1:-1:-1;78260:28:0;;-1:-1:-1;78308:3:0;;-1:-1:-1;78308:3:0;;78360:16;;;;;:19;;;;;;;;;;;;;;;;;;;;78355:24;;78399:11;:14;78411:1;78399:14;;;;;;;;;;;:16;;78416:1;78399:19;;;;;;;;;;;;;;;78432:14;;;;:11;:14;;;;;;:16;;:19;77928:733;;;;;;;;78399:19;;;;;;;;;;;;;;;;-1:-1:-1;;;78432:19:0;;;;;-1:-1:-1;;;78465:19:0;;;;;-1:-1:-1;;;;78498:19:0;;;;;-1:-1:-1;;;;78531:19:0;;;;;-1:-1:-1;;;;78564:19:0;;;;;-1:-1:-1;;;;78597:19:0;;;;;;-1:-1:-1;77928:733:0;-1:-1:-1;;;77928:733:0:o;62024:97::-;62105:8;62098:15;;;;;;;;-1:-1:-1;;62098:15:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62072:13;;62098:15;;62105:8;;62098:15;;62105:8;62098:15;;;;;;;;;;;;;;;;;;;;;;;;60122:221;60194:7;-1:-1:-1;;;;;60222:19:0;;60214:74;;;;-1:-1:-1;;;60214:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;60306:20:0;;;;;;:13;:20;;;;;:29;;:27;:29::i;83974:673::-;84058:16;84037:3;75744:9;;75738:3;:15;75730:51;;;;;-1:-1:-1;;;75730:51:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;75730:51:0;;;;;;;;;;;;;;;84092:22:::1;::::0;::::1;;84084:82;;;;-1:-1:-1::0;;;84084:82:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;84184:11;::::0;;;:6:::1;:11;::::0;;;;:18:::1;;::::0;::::1;::::0;::::1;;;84183:19;84175:51;;;::::0;;-1:-1:-1;;;84175:51:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;84175:51:0;;;;;;;;;;;;;::::1;;84260:11;::::0;;;:6:::1;:11;::::0;;;;;;;:28:::1;::::0;84249:9:::1;:39;;84241:84;;;::::0;;-1:-1:-1;;;84241:84:0;;::::1;;::::0;::::1;::::0;;;;;;;::::1;::::0;;;;;;;;;;;;;::::1;;84382:9;:13:::0;84378:144:::1;;84401:12;84430:11:::0;;;:6:::1;:11;::::0;;;;;;:28:::1;::::0;84416:43:::1;::::0;:9:::1;::::0;:13:::1;:43::i;:::-;84401:58:::0;-1:-1:-1;84467:8:0;;84463:50:::1;;84483:25;::::0;:10:::1;::::0;:25;::::1;;;::::0;84503:4;;84483:25:::1;::::0;;;84503:4;84483:10;:25;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;84463:50;84378:144;;84532:15;84550:22;84564:3;84568;84550:13;:22::i;:::-;84532:40:::0;83974:673;-1:-1:-1;;;;;83974:673:0:o;79695:376::-;79780:14;79767:3;75744:9;;75738:3;:15;75730:51;;;;;-1:-1:-1;;;75730:51:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;75730:51:0;;;;;;;;;;;;;;;79817:2:::1;79813:1;:6;79805:49;;;::::0;;-1:-1:-1;;;79805:49:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;80035:11;::::0;;;:6:::1;:11;::::0;;;;80061:1;80035:28:::1;::::0;::::1;;;;;;::::0;;79695:376;-1:-1:-1;;;;79695:376:0:o;75908:114::-;75954:7;75979:35;75954:7;;30241:138;30314:7;30341:12;;;;;;;;;;:30;;30365:5;30341:23;:30::i;29202:139::-;29271:4;29295:12;;;;;;;;;;:38;;29325:7;29295:29;:38::i;82705:224::-;82768:16;82803:34;-1:-1:-1;;;;;;;;;;;82824:12:0;:10;:12::i;82803:34::-;82795:89;;;;-1:-1:-1;;;82795:89:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82900:21;82914:3;82918:2;82900:13;:21::i;60818:104::-;60907:7;60900:14;;;;;;;;-1:-1:-1;;60900:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60874:13;;60900:14;;60907:7;;60900:14;;60907:7;60900:14;;;;;;;;;;;;;;;;;;;;;;;;81064:193;81120:3;75744:9;;75738:3;:15;75730:51;;;;;-1:-1:-1;;;75730:51:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;75730:51:0;;;;;;;;;;;;;;;75591:41:::1;27992:4;75619:12;:10;:12::i;75591:41::-;75583:79;;;::::0;;-1:-1:-1;;;75583:79:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;;;;;;;;;75583:79:0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;81224:11:0::2;::::0;;;:6:::2;:11;::::0;;;;:18:::2;;:25:::0;;-1:-1:-1;;81224:25:0::2;81245:4;81224:25;::::0;;81064:193::o;27947:49::-;27992:4;27947:49;:::o;63728:295::-;63843:12;:10;:12::i;:::-;-1:-1:-1;;;;;63831:24:0;:8;-1:-1:-1;;;;;63831:24:0;;;63823:62;;;;;-1:-1:-1;;;63823:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;63943:8;63898:18;:32;63917:12;:10;:12::i;:::-;-1:-1:-1;;;;;63898:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;63898:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;63898:53:0;;;;;;;;;;;63982:12;:10;:12::i;:::-;-1:-1:-1;;;;;63967:48:0;;64006:8;63967:48;;;;;;;;;;;;;;;;;;;;63728:295;;:::o;74332:24::-;;;;:::o;64923:285::-;65055:41;65074:12;:10;:12::i;:::-;65088:7;65055:18;:41::i;:::-;65047:103;;;;-1:-1:-1;;;65047:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65161:39;65175:4;65181:2;65185:7;65194:5;65161:13;:39::i;:::-;64923:285;;;;:::o;60993:792::-;61066:13;61100:16;61108:7;61100;:16::i;:::-;61092:76;;;;-1:-1:-1;;;61092:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61181:23;61207:19;;;:10;:19;;;;;;;;61181:45;;;;;;;;;;;-1:-1:-1;;61181:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;61207:19;;61181:45;;;61207:19;61181:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61237:18;61258:9;:7;:9::i;:::-;61237:30;;61349:4;61343:18;61365:1;61343:23;61339:72;;;-1:-1:-1;61390:9:0;-1:-1:-1;61383:16:0;;61339:72;61515:23;;:27;61511:108;;61590:4;61596:9;61573:33;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;61573:33:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;61573:33:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;61573:33:0;;;;;;;;;;;;;-1:-1:-1;;61573:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61559:48;;;;;;61511:108;61751:4;61757:18;:7;:16;:18::i;:::-;61734:42;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;61734:42:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;61734:42:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;61734:42:0;;;;;;;;;;;;;-1:-1:-1;;61734:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61720:57;;;;60993:792;;;:::o;29515:127::-;29578:7;29605:12;;;;;;;;;;:29;;:27;:29::i;74261:62::-;-1:-1:-1;;;;;;;;;;;74261:62:0;:::o;31416:230::-;31509:6;:12;;;;;;;;;;:22;;;31501:45;;31533:12;:10;:12::i;31501:45::-;31493:106;;;;-1:-1:-1;;;31493:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80938:114;80995:3;75744:9;;75738:3;:15;75730:51;;;;;-1:-1:-1;;;75730:51:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;75730:51:0;;;;;;;;;;;;;;;75591:41:::1;27992:4;75619:12;:10;:12::i;75591:41::-;75583:79;;;::::0;;-1:-1:-1;;;75583:79:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;;;;;;;;;75583:79:0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;81022:11:0::2;::::0;;;:6:::2;:11;::::0;;;;;:18:::2;;:22:::0;;;::::2;;;;-1:-1:-1::0;;81022:22:0;;::::2;::::0;;;::::2;::::0;;80938:114::o;64094:164::-;-1:-1:-1;;;;;64215:25:0;;;64191:4;64215:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;64094:164::o;83675:291::-;83746:16;83724:3;75744:9;;75738:3;:15;75730:51;;;;;-1:-1:-1;;;75730:51:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;75730:51:0;;;;;;;;;;;;;;;83781:22:::1;::::0;::::1;;83773:82;;;;-1:-1:-1::0;;;83773:82:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;83873:11;::::0;;;:6:::1;:11;::::0;;;;:18:::1;;::::0;::::1;::::0;::::1;;;83872:19;83864:51;;;::::0;;-1:-1:-1;;;83864:51:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;83864:51:0;;;;;;;;;;;;;::::1;;83931:27;83942:3;83947:10;83931;:27::i;:::-;83924:34:::0;83675:291;-1:-1:-1;;;83675:291:0:o;80572:220::-;80632:3;75744:9;;75738:3;:15;75730:51;;;;;-1:-1:-1;;;75730:51:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;75730:51:0;;;;;;;;;;;;;;;80654:34:::1;-1:-1:-1::0;;;;;;;;;;;80675:12:0::1;:10;:12::i;80654:34::-;80646:97;;;;-1:-1:-1::0;;;80646:97:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;80752:11:0::1;::::0;;;:6:::1;:11;::::0;;;;;;;:28;;::::1;:32:::0;80572:220::o;80800:106::-;75591:41;27992:4;75619:12;:10;:12::i;75591:41::-;75583:79;;;;;-1:-1:-1;;;75583:79:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;75583:79:0;;;;;;;;;;;;;;;80872:22:::1;:26:::0;;-1:-1:-1;;80872:26:0::1;::::0;::::1;;::::0;;;::::1;::::0;;80800:106::o;2828:179::-;2886:7;2918:5;;;2942:6;;;;2934:46;;;;;-1:-1:-1;;;2934:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;14153:152;14223:4;14247:50;14252:3;-1:-1:-1;;;;;14272:23:0;;14247:4;:50::i;14725:167::-;14805:4;14829:55;14839:3;-1:-1:-1;;;;;14859:23:0;;14829:9;:55::i;25880:106::-;25968:10;25880:106;:::o;34916:114::-;35008:14;;34916:114::o;66675:127::-;66740:4;66764:30;:12;66786:7;66764:21;:30::i;72582:183::-;72648:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;72648:29:0;-1:-1:-1;;;;;72648:29:0;;;;;;;;:24;;72702:23;72648:24;72702:14;:23::i;:::-;-1:-1:-1;;;;;72693:46:0;;;;;;;;;;;72582:183;;:::o;53388:123::-;53457:7;53484:19;53492:3;53484:7;:19::i;66969:355::-;67062:4;67087:16;67095:7;67087;:16::i;:::-;67079:73;;;;-1:-1:-1;;;67079:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67163:13;67179:23;67194:7;67179:14;:23::i;:::-;67163:39;;67232:5;-1:-1:-1;;;;;67221:16:0;:7;-1:-1:-1;;;;;67221:16:0;;:51;;;;67265:7;-1:-1:-1;;;;;67241:31:0;:20;67253:7;67241:11;:20::i;:::-;-1:-1:-1;;;;;67241:31:0;;67221:51;:94;;;;67276:39;67300:5;67307:7;67276:23;:39::i;:::-;67213:103;66969:355;-1:-1:-1;;;;66969:355:0:o;70105:599::-;70230:4;-1:-1:-1;;;;;70203:31:0;:23;70218:7;70203:14;:23::i;:::-;-1:-1:-1;;;;;70203:31:0;;70195:85;;;;-1:-1:-1;;;70195:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;70317:16:0;;70309:65;;;;-1:-1:-1;;;70309:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70387:39;70408:4;70414:2;70418:7;70387:20;:39::i;:::-;70491:29;70508:1;70512:7;70491:8;:29::i;:::-;-1:-1:-1;;;;;70533:19:0;;;;;;:13;:19;;;;;:35;;70560:7;70533:26;:35::i;:::-;-1:-1:-1;;;;;;70579:17:0;;;;;;:13;:17;;;;;:30;;70601:7;70579:21;:30::i;:::-;-1:-1:-1;70622:29:0;:12;70639:7;70648:2;70622:16;:29::i;:::-;;70688:7;70684:2;-1:-1:-1;;;;;70669:27:0;70678:4;-1:-1:-1;;;;;70669:27:0;;;;;;;;;;;70105:599;;;:::o;33396:188::-;33470:6;:12;;;;;;;;;;:33;;33495:7;33470:24;:33::i;:::-;33466:111;;;33552:12;:10;:12::i;:::-;-1:-1:-1;;;;;33525:40:0;33543:7;-1:-1:-1;;;;;33525:40:0;33537:4;33525:40;;;;;;;;;;33396:188;;:::o;17067:137::-;17138:7;17173:22;17177:3;17189:5;17173:3;:22::i;33592:192::-;33667:6;:12;;;;;;;;;;:36;;33695:7;33667:27;:36::i;:::-;33663:114;;;33752:12;:10;:12::i;:::-;-1:-1:-1;;;;;33725:40:0;33743:7;-1:-1:-1;;;;;33725:40:0;33737:4;33725:40;;;;;;;;;;33592:192;;:::o;53850:236::-;53930:7;;;;53990:22;53994:3;54006:5;53990:3;:22::i;:::-;53959:53;;;;-1:-1:-1;53850:236:0;-1:-1:-1;;;;;53850:236:0:o;71305:100::-;71378:19;;;;:8;;:19;;;;;:::i;55136:213::-;55243:7;55294:44;55299:3;55319;55325:12;55294:4;:44::i;3290:158::-;3348:7;3381:1;3376;:6;;3368:49;;;;;-1:-1:-1;;;3368:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3435:5:0;;;3290:158::o;82972:627::-;83046:16;83111:11;;;:6;:11;;;;;:19;;;;83081;;;;;:26;;83105:1;83081:23;:26::i;:::-;:49;;83073:83;;;;;-1:-1:-1;;;83073:83:0;;;;;;;;;;;;-1:-1:-1;;;83073:83:0;;;;;;;;;;;;;;;83195:11;;;;:6;:11;;;;;:19;;;:26;;83219:1;83195:23;:26::i;:::-;83173:11;;;;:6;:11;;;;;:19;;:48;83230:36;83236:2;83240:25;:15;:23;:25::i;:::-;83230:5;:36::i;:::-;83275:15;83293:25;:15;:23;:25::i;:::-;83354:69;;;;;;;;;;83379:15;83354:69;;;;83395:16;83354:69;;;;;;;;83412:10;83354:69;;;;;;;;;;;;;;;;;;;;;83344:80;;;;;;;;;83329:12;83462:20;;;:11;:20;;;;;:32;;;83503:12;:21;;;;;;:27;;;83275:43;;-1:-1:-1;83541:27:0;:15;:25;:27::i;66090:272::-;66204:28;66214:4;66220:2;66224:7;66204:9;:28::i;:::-;66251:48;66274:4;66280:2;66284:7;66293:5;66251:22;:48::i;:::-;66243:111;;;;-1:-1:-1;;;66243:111:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55600:746;55656:13;55877:10;55873:53;;-1:-1:-1;55904:10:0;;;;;;;;;;;;-1:-1:-1;;;55904:10:0;;;;;;55873:53;55951:5;55936:12;55992:78;55999:9;;55992:78;;56025:8;;56056:2;56048:10;;;;55992:78;;;56080:19;56112:6;56102:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56102:17:0;-1:-1:-1;56174:5:0;;-1:-1:-1;56080:39:0;-1:-1:-1;;;56146:10:0;;56190:117;56197:9;;56190:117;;56266:2;56259:4;:9;56254:2;:14;56241:29;;56223:6;56230:7;;;;;;;56223:15;;;;;;;;;;;:47;-1:-1:-1;;;;;56223:47:0;;;;;;;;-1:-1:-1;56293:2:0;56285:10;;;;56190:117;;;-1:-1:-1;56331:6:0;55600:746;-1:-1:-1;;;;55600:746:0:o;9217:414::-;9280:4;9302:21;9312:3;9317:5;9302:9;:21::i;:::-;9297:327;;-1:-1:-1;9340:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;9523:18;;9501:19;;;:12;;;:19;;;;;;:40;;;;9556:11;;9297:327;-1:-1:-1;9607:5:0;9600:12;;11437:129;11510:4;11534:19;;;:12;;;;;:19;;;;;;:24;;;11437:129::o;53149:151::-;53233:4;53257:35;53267:3;53287;53257:9;:35::i;84655:316::-;84765:45;84792:4;84798:2;84802:7;84765:26;:45::i;:::-;84933:20;;;;:11;:20;;;;;:22;;;;:27;;-1:-1:-1;;;;;84933:27:0;;;-1:-1:-1;;;84933:27:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;84655:316:0:o;16154:137::-;16224:4;16248:35;16256:3;16276:5;16248:7;:35::i;15847:131::-;15914:4;15938:32;15943:3;15963:5;15938:4;:32::i;52572:185::-;52661:4;52685:64;52690:3;52710;-1:-1:-1;;;;;52724:23:0;;52685:4;:64::i;12105:204::-;12200:18;;12172:7;;12200:26;-1:-1:-1;12192:73:0;;;;-1:-1:-1;;;12192:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12283:3;:11;;12295:5;12283:18;;;;;;;;;;;;;;;;12276:25;;12105:204;;;;:::o;14481:158::-;14554:4;14578:53;14586:3;-1:-1:-1;;;;;14606:23:0;;14578:7;:53::i;50432:279::-;50536:19;;50499:7;;;;50536:27;-1:-1:-1;50528:74:0;;;;-1:-1:-1;;;50528:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50615:22;50640:3;:12;;50653:5;50640:19;;;;;;;;;;;;;;;;;;50615:44;;50678:5;:10;;;50690:5;:12;;;50670:33;;;;;50432:279;;;;;:::o;51929:319::-;52023:7;52062:17;;;:12;;;:17;;;;;;52113:12;52098:13;52090:36;;;;-1:-1:-1;;;52090:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52180:3;:12;;52204:1;52193:8;:12;52180:26;;;;;;;;;;;;;;;;;;:33;;;52173:40;;;51929:319;;;;;:::o;68590:404::-;-1:-1:-1;;;;;68670:16:0;;68662:61;;;;;-1:-1:-1;;;68662:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68743:16;68751:7;68743;:16::i;:::-;68742:17;68734:58;;;;;-1:-1:-1;;;68734:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;68805:45;68834:1;68838:2;68842:7;68805:20;:45::i;:::-;-1:-1:-1;;;;;68863:17:0;;;;;;:13;:17;;;;;:30;;68885:7;68863:21;:30::i;:::-;-1:-1:-1;68906:29:0;:12;68923:7;68932:2;68906:16;:29::i;:::-;-1:-1:-1;68953:33:0;;68978:7;;-1:-1:-1;;;;;68953:33:0;;;68970:1;;68953:33;;68970:1;;68953:33;68590:404;;:::o;35038:181::-;35192:19;;35210:1;35192:19;;;35038:181::o;71970:604::-;72091:4;72118:15;:2;-1:-1:-1;;;;;72118:13:0;;:15::i;:::-;72113:60;;-1:-1:-1;72157:4:0;72150:11;;72113:60;72183:23;72209:252;-1:-1:-1;;;72322:12:0;:10;:12::i;:::-;72349:4;72368:7;72390:5;72225:181;;;;;;-1:-1:-1;;;;;72225:181:0;;;;;;-1:-1:-1;;;;;72225:181:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;72225:181:0;;;;;;;-1:-1:-1;;;;;72225:181:0;;;;;;;;;;;72209:252;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;72209:15:0;;;:252;:15;:252::i;:::-;72183:278;;72472:13;72499:10;72488:32;;;;;;;;;;;;;;;-1:-1:-1;72488:32:0;-1:-1:-1;;;;;;72539:26:0;-1:-1:-1;;;72539:26:0;;-1:-1:-1;;;71970:604:0;;;;;;:::o;9807:1544::-;9873:4;10012:19;;;:12;;;:19;;;;;;10048:15;;10044:1300;;10483:18;;-1:-1:-1;;10434:14:0;;;;10483:22;;;;10410:21;;10483:3;;:22;;10770;;;;;;;;;;;;;;10750:42;;10916:9;10887:3;:11;;10899:13;10887:26;;;;;;;;;;;;;;;;;;;:38;;;;10993:23;;;11035:1;10993:12;;;:23;;;;;;11019:17;;;10993:43;;11145:17;;10993:3;;11145:17;;;;;;;;;;;;;;;;;;;;;;11240:3;:12;;:19;11253:5;11240:19;;;;;;;;;;;11233:26;;;11283:4;11276:11;;;;;;;;10044:1300;11327:5;11320:12;;;;;47247:692;47323:4;47458:17;;;:12;;;:17;;;;;;47492:13;47488:444;;-1:-1:-1;;47577:38:0;;;;;;;;;;;;;;;;;;47559:57;;;;;;;;:12;:57;;;;;;;;;;;;;;;;;;;;;;;;47774:19;;47754:17;;;:12;;;:17;;;;;;;:39;47808:11;;47488:444;47888:5;47852:3;:12;;47876:1;47865:8;:12;47852:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;47915:5;47908:12;;;;;17985:422;18352:20;18391:8;;;17985:422::o;20903:195::-;21006:12;21038:52;21060:6;21068:4;21074:1;21077:12;21006;22207:18;22218:6;22207:10;:18::i;:::-;22199:60;;;;;-1:-1:-1;;;22199:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;22333:12;22347:23;22374:6;-1:-1:-1;;;;;22374:11:0;22394:5;22402:4;22374:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;22374:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22332:75;;;;22425:52;22443:7;22452:10;22464:12;22425:17;:52::i;:::-;22418:59;21955:530;-1:-1:-1;;;;;;;21955:530:0:o;24495:742::-;24610:12;24639:7;24635:595;;;-1:-1:-1;24670:10:0;24663:17;;24635:595;24784:17;;:21;24780:439;;25047:10;25041:17;25108:15;25095:10;25091:2;25087:19;25080:44;24995:148;25183:20;;-1:-1:-1;;;25183:20:0;;;;;;;;;;;;;;;;;25190:12;;25183:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;

Swarm Source

ipfs://10fd7df674204566f5a6239a6c16e16a248a31f37771a6c69570d75191d7ab79
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.