ETH Price: $2,425.71 (-1.31%)
 

Overview

Max Total Supply

478 TKFR

Holders

388

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 TKFR
0x23d141e4ef2a05dc34ce73b672973bdb0bdcfaf0
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Token Fighter is a multi-player NFT (Non-Fungible Token) collectible game combines DeFi-staking mechanism to align further token holder’s participation in sustaining the future of Token Fighter’s token economy and governance.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
TKFRToken

Compiler Version
v0.6.6+commit.6c089d02

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-10-29
*/

pragma solidity >=0.6.0 <0.7.0;

pragma solidity ^0.6.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

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

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

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

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

        return c;
    }

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

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

        return c;
    }

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

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

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

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

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

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

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

pragma solidity ^0.6.6;

interface ITKRegistry {
    function tkMain() external view returns (address);
    function tkfrToken() external view returns (address);
    function tkToken() external view returns (address);
}

pragma solidity >=0.6.0 <0.7.0;

interface ITKMain {
    function tktrInfoById(uint256) external view returns (uint256, address payable, string memory, bytes memory, uint256, uint256, string memory);
    function tktrInfoByTKTRUrl(string calldata) external view returns (uint256, address payable, string memory, bytes memory, uint256, uint256, string memory);
    function tktrIdByTKTRUrl(string calldata) external view returns (uint256);
}

pragma solidity >=0.6.0 <0.7.0;

interface DSAuthority {
    function canCall(
        address src, address dst, bytes4 sig
    ) external view returns (bool);
}

contract DSAuthEvents {
    event LogSetAuthority (address indexed authority);
    event LogSetOwner     (address indexed owner);
    event OwnerUpdate     (address indexed owner, address indexed newOwner);
}

contract DSAuth is DSAuthEvents {
    DSAuthority  public  authority;
    address      public  owner;
    address      public  newOwner;

    constructor() public {
        owner = msg.sender;
        emit LogSetOwner(msg.sender);
    }

    // Warning: you should absolutely sure you want to give up authority!!!
    function disableOwnership() public onlyOwner {
        owner = address(0);
        emit OwnerUpdate(msg.sender, owner);
    }

    function transferOwnership(address newOwner_) public onlyOwner {
        require(newOwner_ != owner, "TransferOwnership: the same owner.");
        newOwner = newOwner_;
    }

    function acceptOwnership() public {
        require(msg.sender == newOwner, "AcceptOwnership: only new owner do this.");
        emit OwnerUpdate(owner, newOwner);
        owner = newOwner;
        newOwner = address(0x0);
    }

    ///[snow] guard is Authority who inherit DSAuth.
    function setAuthority(DSAuthority authority_)
        public
        onlyOwner
    {
        authority = authority_;
        emit LogSetAuthority(address(authority));
    }

    modifier onlyOwner {
        require(isOwner(msg.sender), "ds-auth-non-owner");
        _;
    }

    function isOwner(address src) internal view returns (bool) {
        return bool(src == owner);
    }

    modifier auth {
        require(isAuthorized(msg.sender, msg.sig), "ds-auth-unauthorized");
        _;
    }

    function isAuthorized(address src, bytes4 sig) internal view returns (bool) {
        if (src == address(this)) {
            return true;
        } else if (src == owner) {
            return true;
        } else if (authority == DSAuthority(0)) {
            return false;
        } else {
            return authority.canCall(src, address(this), sig);
        }
    }
}
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;


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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.6.2;

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

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

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

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

pragma solidity ^0.6.2;

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

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

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

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

pragma solidity ^0.6.0;

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


// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;

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

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

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

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

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

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

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

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

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

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

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

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

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

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

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

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

            bytes32 lastvalue = set._values[lastIndex];

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

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

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

            return true;
        } else {
            return false;
        }
    }

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

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

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

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

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

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

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

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

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


    // UintSet

    struct UintSet {
        Set _inner;
    }

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

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

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

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

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

pragma solidity ^0.6.0;

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

    struct MapEntry {
        bytes32 _key;
        bytes32 _value;
    }

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

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

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

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

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

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

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

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

            MapEntry storage lastEntry = map._entries[lastIndex];

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

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

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

            return true;
        } else {
            return false;
        }
    }

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

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

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

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

    /**
     * @dev Returns the value associated with `key`.  O(1).
     *
     * Requirements:
     *
     * - `key` must be in the map.
     */
    function _get(Map storage map, bytes32 key) private view returns (bytes32) {
        return _get(map, key, "EnumerableMap: nonexistent key");
    }

    /**
     * @dev Same as {_get}, with a custom error message when `key` is not in the map.
     */
    function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {
        uint256 keyIndex = map._indexes[key];
        require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)
        return map._entries[keyIndex - 1]._value; // All indexes are 1-based
    }

    // UintToAddressMap

    struct UintToAddressMap {
        Map _inner;
    }

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

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

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

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

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

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

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev String operations.
 */
library Strings {
    /**
     * @dev Converts a `uint256` to its ASCII `string` representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        uint256 index = digits - 1;
        temp = value;
        while (temp != 0) {
            buffer[index--] = byte(uint8(48 + temp % 10));
            temp /= 10;
        }
        return string(buffer);
    }
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

    // Base URI
    string private _baseURI;

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

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

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

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

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

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

        return _holderTokens[owner].length();
    }

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

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

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

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

        string memory _tokenURI = _tokenURIs[tokenId];

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

        _holderTokens[to].add(tokenId);

        _tokenOwners.set(tokenId, to);

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

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

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

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

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

        _holderTokens[owner].remove(tokenId);

        _tokenOwners.remove(tokenId);

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        _tokenOwners.set(tokenId, to);

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

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

    using Counters for Counters.Counter;
    using EnumerableSet for EnumerableSet.UintSet;
    using SafeMath for uint256;

    mapping (uint256 => string) public tokenTKFR;
    mapping (string => EnumerableSet.UintSet) private _tkfrTokens;

    mapping (string => uint256) public tkfrIdByTKFRUrl;
    mapping (uint256 => TKFR) private _tkfrById;
    mapping (address => EnumerableSet.UintSet) private _artistTKFRs;

    ITKRegistry public tkRegistry;
    Counters.Counter private _tokenIds;
    Counters.Counter public totalTKFRs;

    event mintedTKFR(uint256 id, string tkfrUrl, address to);

    struct TKFR {
      uint256 id;
      address artist;
      string jsonUrl;
      string tkfrUrl;
      uint256 limit;
      uint256 level;
    }

    constructor(address _registry) ERC721("TKFR", "TKFR") public {
      tkRegistry = ITKRegistry(_registry);
      _setBaseURI('https://juinc.github.io/tokenURI_sandbox/');
    }

    // onlyOwner
    function setTKRegistry(address _address) public onlyOwner {
      tkRegistry = ITKRegistry(_address);
    }

    function setBaseURI(string memory baseURI_) public auth {
      _setBaseURI(baseURI_);
    }

    function createTKFR(
      string memory tkfrUrl,
      string memory jsonUrl,
      uint256 limit,
      uint256 level,
      address artist) 
    auth public returns (uint256) {
      require(!(tkfrIdByTKFRUrl[tkfrUrl] > 0), "this tkfr already exists!");
      totalTKFRs.increment();
      uint256 _tkfrId = totalTKFRs.current();

      TKFR storage _tkfr = _tkfrById[_tkfrId];

      _tkfr.id = _tkfrId;
      _tkfr.artist = artist;
      _tkfr.tkfrUrl = tkfrUrl;
      _tkfr.jsonUrl = jsonUrl;
      _tkfr.limit = limit;
      _tkfr.level = level;

      tkfrIdByTKFRUrl[tkfrUrl] = _tkfrId;
      _artistTKFRs[artist].add(_tkfrId);

      //emit newLFTR(_lftr.id, _lftr.artist, _lftr.lftrUrl, _lftr.jsonUrl, _lftr.limit);

      return _tkfr.id;
    }

    function mintTKFR(address to, string memory tkfrUrl) auth public returns (uint256) {
      uint256 _tkfrId = tkfrIdByTKFRUrl[tkfrUrl];
      require(_tkfrId > 0, "this tkfr does not exist!");
      (, , string memory _jsonUrl, , uint256 _limit,) = tkfrInfoById(_tkfrId);
      require(tkfrTokenCount(tkfrUrl) < _limit || _limit == 0, "this lffr is over the limit!");

      // mint token
      _tokenIds.increment();
      uint256 id = _tokenIds.current();
      _tkfrTokens[tkfrUrl].add(id);
      tokenTKFR[id] = tkfrUrl;

      _mint(to, id);
      _setTokenURI(id, _jsonUrl);

      emit mintedTKFR(id, tkfrUrl, to);

      return id;      
    }

    // getter function
    function tkMain() public view returns (ITKMain) {
      return ITKMain(tkRegistry.tkMain());
    }

    function tkfrTokenCount(string memory _tkfrUrl) public view returns(uint256) {
      uint256 _tkfrTokenCount = _tkfrTokens[_tkfrUrl].length();
      return _tkfrTokenCount;
    }

    function tkfrTokenByIndex(string memory tkfrUrl, uint256 index) public view returns (uint256) {
      return _tkfrTokens[tkfrUrl].at(index);
    }

    function tkfrInfoById(uint256 id) public view returns (uint256, address, string memory, uint256, uint256, string memory) {
      require(id > 0 && id <= totalTKFRs.current(), "this tkfr does not exist!");
      TKFR storage _tkfr = _tkfrById[id];

      return (id, _tkfr.artist, _tkfr.jsonUrl,  _tkfr.level, _tkfr.limit, _tkfr.tkfrUrl);
    }

    function tkfrInfoByTKFRUrl(string memory tkfrUrl) public view returns (uint256, address, string memory, uint256, uint256, string memory) {
      uint256 _tkfrId = tkfrIdByTKFRUrl[tkfrUrl];

      return tkfrInfoById(_tkfrId);
    }

    function tkfrsCreatedBy(address artist) public view returns (uint256) {
      return _artistTKFRs[artist].length();
    }

    function tkfrOfArtistByIndex(address artist, uint256 index) public view returns (uint256) {
      return _artistTKFRs[artist].at(index);
    }

    function versionRecipient() external virtual view returns (string memory) {
      return "1.0";
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_registry","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"authority","type":"address"}],"name":"LogSetAuthority","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"}],"name":"LogSetOwner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"string","name":"tkfrUrl","type":"string"},{"indexed":false,"internalType":"address","name":"to","type":"address"}],"name":"mintedTKFR","type":"event"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"authority","outputs":[{"internalType":"contract DSAuthority","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"tkfrUrl","type":"string"},{"internalType":"string","name":"jsonUrl","type":"string"},{"internalType":"uint256","name":"limit","type":"uint256"},{"internalType":"uint256","name":"level","type":"uint256"},{"internalType":"address","name":"artist","type":"address"}],"name":"createTKFR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"string","name":"tkfrUrl","type":"string"}],"name":"mintTKFR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"newOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract DSAuthority","name":"authority_","type":"address"}],"name":"setAuthority","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setTKRegistry","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":[],"name":"tkMain","outputs":[{"internalType":"contract ITKMain","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tkRegistry","outputs":[{"internalType":"contract ITKRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"tkfrIdByTKFRUrl","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"tkfrInfoById","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"},{"internalType":"string","name":"","type":"string"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"tkfrUrl","type":"string"}],"name":"tkfrInfoByTKFRUrl","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"},{"internalType":"string","name":"","type":"string"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"artist","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tkfrOfArtistByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"tkfrUrl","type":"string"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tkfrTokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_tkfrUrl","type":"string"}],"name":"tkfrTokenCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"artist","type":"address"}],"name":"tkfrsCreatedBy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"","type":"uint256"}],"name":"tokenTKFR","outputs":[{"internalType":"string","name":"","type":"string"}],"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":[],"name":"totalTKFRs","outputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner_","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"versionRecipient","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b506040516200373038038062003730833981810160405260208110156200003757600080fd5b50516040805180820182526004808252632a25a32960e11b602083810182905284518086019095529184529083015290620000826301ffc9a760e01b6001600160e01b036200018f16565b8151620000979060069060208501906200022d565b508051620000ad9060079060208401906200022d565b50620000c96380ac58cd60e01b6001600160e01b036200018f16565b620000e4635b5e139f60e01b6001600160e01b036200018f16565b620000ff63780e9d6360e01b6001600160e01b036200018f16565b5050600b80546001600160a01b031916339081179091556040517fce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed9490600090a2601280546001600160a01b0319166001600160a01b038316179055604080516060810190915260298082526200018891906200370760208301396001600160e01b036200021416565b50620002d2565b6001600160e01b03198082161415620001ef576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b8051620002299060099060208401906200022d565b5050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200027057805160ff1916838001178555620002a0565b82800160010185558215620002a0579182015b82811115620002a057825182559160200191906001019062000283565b50620002ae929150620002b2565b5090565b620002cf91905b80821115620002ae5760008155600101620002b9565b90565b61342580620002e26000396000f3fe608060405234801561001057600080fd5b50600436106102485760003560e01c806379ba50971161013b578063bf7e214f116100b8578063e985e9c51161007c578063e985e9c514610c16578063effd203e14610c44578063f2fde38b14610c70578063f6d26cf914610c96578063fb6cfa4614610c9e57610248565b8063bf7e214f14610b1f578063c87b56dd14610b27578063d4ee1d9014610b44578063dbaedcc314610b4c578063dc4fcb9814610bf057610248565b8063977b67ec116100ff578063977b67ec146108dd5780639b22630d146108e5578063a22cb46514610989578063aee9252c146109b7578063b88d4fde14610a5b57610248565b806379ba5097146108975780637a9e5e4b1461089f5780638da5cb5b146108c557806393c0b096146108cd57806395d89b41146108d557610248565b806342842e0e116101c95780636293909d1161018d5780636293909d146107075780636352211e146108445780636c0360eb1461086157806370a082311461086957806371fc85e61461088f57610248565b806342842e0e14610554578063486ff0cd1461058a5780634f6ccce71461059257806355f804b3146105af5780635c4a016b1461065357610248565b806318160ddd1161021057806318160ddd1461049557806323b872dd146104af5780632f745c59146104e5578063376c69531461051157806337aa1f381461053757610248565b806301ffc9a71461024d57806306fdde0314610288578063081812fc14610305578063095ea7b31461033e5780630da018e51461036c575b600080fd5b6102746004803603602081101561026357600080fd5b50356001600160e01b031916610d44565b604080519115158252519081900360200190f35b610290610d67565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102ca5781810151838201526020016102b2565b50505050905090810190601f1680156102f75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103226004803603602081101561031b57600080fd5b5035610dfe565b604080516001600160a01b039092168252519081900360200190f35b61036a6004803603604081101561035457600080fd5b506001600160a01b038135169060200135610e60565b005b6103896004803603602081101561038257600080fd5b5035610f3b565b60405180878152602001866001600160a01b03166001600160a01b031681526020018060200185815260200184815260200180602001838103835287818151815260200191508051906020019080838360005b838110156103f45781810151838201526020016103dc565b50505050905090810190601f1680156104215780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b8381101561045457818101518382015260200161043c565b50505050905090810190601f1680156104815780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390f35b61049d611117565b60408051918252519081900360200190f35b61036a600480360360608110156104c557600080fd5b506001600160a01b03813581169160208101359091169060400135611128565b61049d600480360360408110156104fb57600080fd5b506001600160a01b03813516906020013561117f565b61036a6004803603602081101561052757600080fd5b50356001600160a01b03166111b0565b6102906004803603602081101561054d57600080fd5b5035611220565b61036a6004803603606081101561056a57600080fd5b506001600160a01b038135811691602081013590911690604001356112bb565b6102906112d6565b61049d600480360360208110156105a857600080fd5b50356112f3565b61036a600480360360208110156105c557600080fd5b810190602081018135600160201b8111156105df57600080fd5b8201836020820111156105f157600080fd5b803590602001918460018302840111600160201b8311171561061257600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061130f945050505050565b61049d6004803603604081101561066957600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561069357600080fd5b8201836020820111156106a557600080fd5b803590602001918460018302840111600160201b831117156106c657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611379945050505050565b61049d600480360360a081101561071d57600080fd5b810190602081018135600160201b81111561073757600080fd5b82018360208201111561074957600080fd5b803590602001918460018302840111600160201b8311171561076a57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b8111156107bc57600080fd5b8201836020820111156107ce57600080fd5b803590602001918460018302840111600160201b831117156107ef57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050823593505050602081013590604001356001600160a01b0316611683565b6103226004803603602081101561085a57600080fd5b50356118b9565b6102906118e7565b61049d6004803603602081101561087f57600080fd5b50356001600160a01b0316611948565b6103226119b0565b61036a611a26565b61036a600480360360208110156108b557600080fd5b50356001600160a01b0316611ad5565b610322611b73565b61036a611b82565b610290611c0f565b610322611c70565b61049d600480360360208110156108fb57600080fd5b810190602081018135600160201b81111561091557600080fd5b82018360208201111561092757600080fd5b803590602001918460018302840111600160201b8311171561094857600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611c7f945050505050565b61036a6004803603604081101561099f57600080fd5b506001600160a01b0381351690602001351515611cf2565b61049d600480360360208110156109cd57600080fd5b810190602081018135600160201b8111156109e757600080fd5b8201836020820111156109f957600080fd5b803590602001918460018302840111600160201b83111715610a1a57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611df7945050505050565b61036a60048036036080811015610a7157600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b811115610aab57600080fd5b820183602082011115610abd57600080fd5b803590602001918460018302840111600160201b83111715610ade57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611e14945050505050565b610322611e72565b61029060048036036020811015610b3d57600080fd5b5035611e81565b610322612128565b61038960048036036020811015610b6257600080fd5b810190602081018135600160201b811115610b7c57600080fd5b820183602082011115610b8e57600080fd5b803590602001918460018302840111600160201b83111715610baf57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612137945050505050565b61049d60048036036020811015610c0657600080fd5b50356001600160a01b03166121c5565b61027460048036036040811015610c2c57600080fd5b506001600160a01b03813581169160200135166121e6565b61049d60048036036040811015610c5a57600080fd5b506001600160a01b038135169060200135612214565b61036a60048036036020811015610c8657600080fd5b50356001600160a01b031661223c565b61049d6122f9565b61049d60048036036040811015610cb457600080fd5b810190602081018135600160201b811115610cce57600080fd5b820183602082011115610ce057600080fd5b803590602001918460018302840111600160201b83111715610d0157600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050913592506122ff915050565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60068054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610df35780601f10610dc857610100808354040283529160200191610df3565b820191906000526020600020905b815481529060010190602001808311610dd657829003601f168201915b505050505090505b90565b6000610e098261236b565b610e445760405162461bcd60e51b815260040180806020018281038252602c8152602001806132a4602c913960400191505060405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610e6b826118b9565b9050806001600160a01b0316836001600160a01b03161415610ebe5760405162461bcd60e51b815260040180806020018281038252602181526020018061337c6021913960400191505060405180910390fd5b806001600160a01b0316610ed061237e565b6001600160a01b03161480610ef15750610ef181610eec61237e565b6121e6565b610f2c5760405162461bcd60e51b81526004018080602001828103825260388152602001806131f76038913960400191505060405180910390fd5b610f368383612382565b505050565b60008060606000806060600087118015610f5e5750610f5a60146123f0565b8711155b610fab576040805162461bcd60e51b81526020600482015260196024820152787468697320746b667220646f6573206e6f742065786973742160381b604482015290519081900360640190fd5b600087815260106020908152604091829020600180820154600583015460048401546002808601805489516101009782161597909702600019011691909104601f810188900488028601880190985287855294968e966001600160a01b0390941695949293919260038901929091869183018282801561106c5780601f106110415761010080835404028352916020019161106c565b820191906000526020600020905b81548152906001019060200180831161104f57829003601f168201915b5050845460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959950869450925084019050828280156110fa5780601f106110cf576101008083540402835291602001916110fa565b820191906000526020600020905b8154815290600101906020018083116110dd57829003601f168201915b505050505090509650965096509650965096505091939550919395565b600061112360026123f4565b905090565b61113961113361237e565b826123ff565b6111745760405162461bcd60e51b815260040180806020018281038252603181526020018061339d6031913960400191505060405180910390fd5b610f368383836124a3565b6001600160a01b03821660009081526001602052604081206111a7908363ffffffff61260116565b90505b92915050565b6111b93361260d565b6111fe576040805162461bcd60e51b8152602060048201526011602482015270323996b0baba3416b737b716b7bbb732b960791b604482015290519081900360640190fd5b601280546001600160a01b0319166001600160a01b0392909216919091179055565b600d6020908152600091825260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845290918301828280156112b35780601f10611288576101008083540402835291602001916112b3565b820191906000526020600020905b81548152906001019060200180831161129657829003601f168201915b505050505081565b610f3683838360405180602001604052806000815250611e14565b6040805180820190915260038152620312e360ec1b602082015290565b60008061130760028463ffffffff61262116565b509392505050565b611325336000356001600160e01b03191661263d565b61136d576040805162461bcd60e51b8152602060048201526014602482015273191ccb585d5d1a0b5d5b985d5d1a1bdc9a5e995960621b604482015290519081900360640190fd5b61137681612724565b50565b6000611391336000356001600160e01b03191661263d565b6113d9576040805162461bcd60e51b8152602060048201526014602482015273191ccb585d5d1a0b5d5b985d5d1a1bdc9a5e995960621b604482015290519081900360640190fd5b6000600f836040518082805190602001908083835b6020831061140d5780518252601f1990920191602091820191016113ee565b51815160001960209485036101000a01908116901991909116179052920194855250604051938490030190922054925050508061148d576040805162461bcd60e51b81526020600482015260196024820152787468697320746b667220646f6573206e6f742065786973742160381b604482015290519081900360640190fd5b6060600061149a83610f3b565b5094505093505050806114ac86611c7f565b10806114b6575080155b611507576040805162461bcd60e51b815260206004820152601c60248201527f74686973206c666672206973206f76657220746865206c696d69742100000000604482015290519081900360640190fd5b611511601361273b565b600061151d60136123f0565b905061158981600e886040518082805190602001908083835b602083106115555780518252601f199092019160209182019101611536565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922092915050612744565b506000818152600d6020908152604090912087516115a9928901906130ba565b506115b48782612750565b6115be818461288a565b7f7342a5ea651f214bf255b995b38a437edcaeebb4524e791b0c1f184b9861c2718187896040518084815260200180602001836001600160a01b03166001600160a01b03168152602001828103825284818151815260200191508051906020019080838360005b8381101561163d578181015183820152602001611625565b50505050905090810190601f16801561166a5780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a19695505050505050565b600061169b336000356001600160e01b03191661263d565b6116e3576040805162461bcd60e51b8152602060048201526014602482015273191ccb585d5d1a0b5d5b985d5d1a1bdc9a5e995960621b604482015290519081900360640190fd5b6000600f876040518082805190602001908083835b602083106117175780518252601f1990920191602091820191016116f8565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902054111561179e576040805162461bcd60e51b815260206004820152601960248201527f7468697320746b667220616c7265616479206578697374732100000000000000604482015290519081900360640190fd5b6117a8601461273b565b60006117b460146123f0565b60008181526010602090815260409091208281556001810180546001600160a01b0319166001600160a01b0388161790558951929350916117fd916003840191908b01906130ba565b50865161181390600283019060208a01906130ba565b5085816004018190555084816005018190555081600f896040518082805190602001908083835b602083106118595780518252601f19909201916020918201910161183a565b51815160209384036101000a6000190180199092169116179052920194855250604080519485900382019094209490945550506001600160a01b0386166000908152601190925290206118ac9083612744565b5054979650505050505050565b60006111aa82604051806060016040528060298152602001613259602991396002919063ffffffff6128ed16565b60098054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610df35780601f10610dc857610100808354040283529160200191610df3565b60006001600160a01b03821661198f5760405162461bcd60e51b815260040180806020018281038252602a81526020018061322f602a913960400191505060405180910390fd5b6001600160a01b03821660009081526001602052604090206111aa906123f4565b601254604080516338fe42f360e11b815290516000926001600160a01b0316916371fc85e6916004808301926020929190829003018186803b1580156119f557600080fd5b505afa158015611a09573d6000803e3d6000fd5b505050506040513d6020811015611a1f57600080fd5b5051905090565b600c546001600160a01b03163314611a6f5760405162461bcd60e51b81526004018080602001828103825260288152602001806132fc6028913960400191505060405180910390fd5b600c54600b546040516001600160a01b0392831692909116907f343765429aea5a34b3ff6a3785a98a5abb2597aca87bfbb58632c173d585373a90600090a3600c8054600b80546001600160a01b03199081166001600160a01b03841617909155169055565b611ade3361260d565b611b23576040805162461bcd60e51b8152602060048201526011602482015270323996b0baba3416b737b716b7bbb732b960791b604482015290519081900360640190fd5b600a80546001600160a01b0319166001600160a01b0383811691909117918290556040519116907f1abebea81bfa2637f28358c371278fb15ede7ea8dd28d2e03b112ff6d936ada490600090a250565b600b546001600160a01b031681565b611b8b3361260d565b611bd0576040805162461bcd60e51b8152602060048201526011602482015270323996b0baba3416b737b716b7bbb732b960791b604482015290519081900360640190fd5b600b80546001600160a01b031916905560405160009033907f343765429aea5a34b3ff6a3785a98a5abb2597aca87bfbb58632c173d585373a908390a3565b60078054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610df35780601f10610dc857610100808354040283529160200191610df3565b6012546001600160a01b031681565b600080611ceb600e846040518082805190602001908083835b60208310611cb75780518252601f199092019160209182019101611c98565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922091506123f49050565b9392505050565b611cfa61237e565b6001600160a01b0316826001600160a01b03161415611d60576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b8060056000611d6d61237e565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611db161237e565b60408051841515815290516001600160a01b0392909216917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319181900360200190a35050565b8051602081830181018051600f8252928201919093012091525481565b611e25611e1f61237e565b836123ff565b611e605760405162461bcd60e51b815260040180806020018281038252603181526020018061339d6031913960400191505060405180910390fd5b611e6c848484846128fa565b50505050565b600a546001600160a01b031681565b6060611e8c8261236b565b611ec75760405162461bcd60e51b815260040180806020018281038252602f81526020018061334d602f913960400191505060405180910390fd5b60008281526008602090815260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845260609392830182828015611f5c5780601f10611f3157610100808354040283529160200191611f5c565b820191906000526020600020905b815481529060010190602001808311611f3f57829003601f168201915b505060095493945050505060026000196101006001841615020190911604611f85579050610d62565b805115612056576009816040516020018083805460018160011615610100020316600290048015611fed5780601f10611fcb576101008083540402835291820191611fed565b820191906000526020600020905b815481529060010190602001808311611fd9575b5050825160208401908083835b602083106120195780518252601f199092019160209182019101611ffa565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050610d62565b60096120618461294c565b60405160200180838054600181600116156101000203166002900480156120bf5780601f1061209d5761010080835404028352918201916120bf565b820191906000526020600020905b8154815290600101906020018083116120ab575b5050825160208401908083835b602083106120eb5780518252601f1990920191602091820191016120cc565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050919050565b600c546001600160a01b031681565b600080606060008060606000600f886040518082805190602001908083835b602083106121755780518252601f199092019160209182019101612156565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205492506121b09150829050610f3b565b949d939c50919a509850965090945092505050565b6001600160a01b03811660009081526011602052604081206111aa906123f4565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6001600160a01b03821660009081526011602052604081206111a7908363ffffffff61260116565b6122453361260d565b61228a576040805162461bcd60e51b8152602060048201526011602482015270323996b0baba3416b737b716b7bbb732b960791b604482015290519081900360640190fd5b600b546001600160a01b03828116911614156122d75760405162461bcd60e51b81526004018080602001828103825260228152602001806133ce6022913960400191505060405180910390fd5b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b60145481565b60006111a782600e856040518082805190602001908083835b602083106123375780518252601f199092019160209182019101612318565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922092915050612601565b60006111aa60028363ffffffff612a2716565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906123b7826118b9565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b5490565b60006111aa826123f0565b600061240a8261236b565b6124455760405162461bcd60e51b815260040180806020018281038252602c8152602001806131cb602c913960400191505060405180910390fd5b6000612450836118b9565b9050806001600160a01b0316846001600160a01b0316148061248b5750836001600160a01b031661248084610dfe565b6001600160a01b0316145b8061249b575061249b81856121e6565b949350505050565b826001600160a01b03166124b6826118b9565b6001600160a01b0316146124fb5760405162461bcd60e51b81526004018080602001828103825260298152602001806133246029913960400191505060405180910390fd5b6001600160a01b0382166125405760405162461bcd60e51b81526004018080602001828103825260248152602001806131a76024913960400191505060405180910390fd5b61254b838383610f36565b612556600082612382565b6001600160a01b038316600090815260016020526040902061257e908263ffffffff612a3316565b506001600160a01b03821660009081526001602052604090206125a7908263ffffffff61274416565b506125ba6002828463ffffffff612a3f16565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006111a78383612a55565b600b546001600160a01b0390811691161490565b60008080806126308686612ab9565b9097909650945050505050565b60006001600160a01b038316301415612658575060016111aa565b600b546001600160a01b0384811691161415612676575060016111aa565b600a546001600160a01b031661268e575060006111aa565b600a546040805163b700961360e01b81526001600160a01b0386811660048301523060248301526001600160e01b0319861660448301529151919092169163b7009613916064808301926020929190829003018186803b1580156126f157600080fd5b505afa158015612705573d6000803e3d6000fd5b505050506040513d602081101561271b57600080fd5b505190506111aa565b80516127379060099060208401906130ba565b5050565b80546001019055565b60006111a78383612b34565b6001600160a01b0382166127ab576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b6127b48161236b565b15612806576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b61281260008383610f36565b6001600160a01b038216600090815260016020526040902061283a908263ffffffff61274416565b5061284d6002828463ffffffff612a3f16565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6128938261236b565b6128ce5760405162461bcd60e51b815260040180806020018281038252602c8152602001806132d0602c913960400191505060405180910390fd5b60008281526008602090815260409091208251610f36928401906130ba565b600061249b848484612b7e565b6129058484846124a3565b61291184848484612c48565b611e6c5760405162461bcd60e51b81526004018080602001828103825260328152602001806131756032913960400191505060405180910390fd5b60608161297157506040805180820190915260018152600360fc1b6020820152610d62565b8160005b811561298957600101600a82049150612975565b60608167ffffffffffffffff811180156129a257600080fd5b506040519080825280601f01601f1916602001820160405280156129cd576020820181803683370190505b50859350905060001982015b8315612a1e57600a840660300160f81b828280600190039350815181106129fc57fe5b60200101906001600160f81b031916908160001a905350600a840493506129d9565b50949350505050565b60006111a78383612dc8565b60006111a78383612de0565b600061249b84846001600160a01b038516612ea6565b81546000908210612a975760405162461bcd60e51b81526004018080602001828103825260228152602001806131536022913960400191505060405180910390fd5b826000018281548110612aa657fe5b9060005260206000200154905092915050565b815460009081908310612afd5760405162461bcd60e51b81526004018080602001828103825260228152602001806132826022913960400191505060405180910390fd5b6000846000018481548110612b0e57fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b6000612b408383612dc8565b612b76575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556111aa565b5060006111aa565b60008281526001840160205260408120548281612c195760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612bde578181015183820152602001612bc6565b50505050905090810190601f168015612c0b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50846000016001820381548110612c2c57fe5b9060005260206000209060020201600101549150509392505050565b6000612c5c846001600160a01b0316612f3d565b612c685750600161249b565b6060612d8e630a85bd0160e11b612c7d61237e565b88878760405160240180856001600160a01b03166001600160a01b03168152602001846001600160a01b03166001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612cf6578181015183820152602001612cde565b50505050905090810190601f168015612d235780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001613175603291396001600160a01b038816919063ffffffff612f4316565b90506000818060200190516020811015612da757600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b60009081526001919091016020526040902054151590565b60008181526001830160205260408120548015612e9c5783546000198083019190810190600090879083908110612e1357fe5b9060005260206000200154905080876000018481548110612e3057fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080612e6057fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506111aa565b60009150506111aa565b600082815260018401602052604081205480612f0b575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055611ceb565b82856000016001830381548110612f1e57fe5b9060005260206000209060020201600101819055506000915050611ceb565b3b151590565b606061249b84846000856060612f5885612f3d565b612fa9576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612fe85780518252601f199092019160209182019101612fc9565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461304a576040519150601f19603f3d011682016040523d82523d6000602084013e61304f565b606091505b5091509150811561306357915061249b9050565b8051156130735780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315612bde578181015183820152602001612bc6565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106130fb57805160ff1916838001178555613128565b82800160010185558215613128579182015b8281111561312857825182559160200191906001019061310d565b50613134929150613138565b5090565b610dfb91905b80821115613134576000815560010161313e56fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e4163636570744f776e6572736869703a206f6e6c79206e6577206f776e657220646f20746869732e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f7665645472616e736665724f776e6572736869703a207468652073616d65206f776e65722ea26469706673582212207ae0cbf97bc2b78a5cf6737b62b6df4fcccca7ec981e7f23af6c75b7cfb351fe64736f6c6343000606003368747470733a2f2f6a75696e632e6769746875622e696f2f746f6b656e5552495f73616e64626f782f000000000000000000000000c77f1071cb7c726fa00c49f449ff830fd57137b5

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102485760003560e01c806379ba50971161013b578063bf7e214f116100b8578063e985e9c51161007c578063e985e9c514610c16578063effd203e14610c44578063f2fde38b14610c70578063f6d26cf914610c96578063fb6cfa4614610c9e57610248565b8063bf7e214f14610b1f578063c87b56dd14610b27578063d4ee1d9014610b44578063dbaedcc314610b4c578063dc4fcb9814610bf057610248565b8063977b67ec116100ff578063977b67ec146108dd5780639b22630d146108e5578063a22cb46514610989578063aee9252c146109b7578063b88d4fde14610a5b57610248565b806379ba5097146108975780637a9e5e4b1461089f5780638da5cb5b146108c557806393c0b096146108cd57806395d89b41146108d557610248565b806342842e0e116101c95780636293909d1161018d5780636293909d146107075780636352211e146108445780636c0360eb1461086157806370a082311461086957806371fc85e61461088f57610248565b806342842e0e14610554578063486ff0cd1461058a5780634f6ccce71461059257806355f804b3146105af5780635c4a016b1461065357610248565b806318160ddd1161021057806318160ddd1461049557806323b872dd146104af5780632f745c59146104e5578063376c69531461051157806337aa1f381461053757610248565b806301ffc9a71461024d57806306fdde0314610288578063081812fc14610305578063095ea7b31461033e5780630da018e51461036c575b600080fd5b6102746004803603602081101561026357600080fd5b50356001600160e01b031916610d44565b604080519115158252519081900360200190f35b610290610d67565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102ca5781810151838201526020016102b2565b50505050905090810190601f1680156102f75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103226004803603602081101561031b57600080fd5b5035610dfe565b604080516001600160a01b039092168252519081900360200190f35b61036a6004803603604081101561035457600080fd5b506001600160a01b038135169060200135610e60565b005b6103896004803603602081101561038257600080fd5b5035610f3b565b60405180878152602001866001600160a01b03166001600160a01b031681526020018060200185815260200184815260200180602001838103835287818151815260200191508051906020019080838360005b838110156103f45781810151838201526020016103dc565b50505050905090810190601f1680156104215780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b8381101561045457818101518382015260200161043c565b50505050905090810190601f1680156104815780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390f35b61049d611117565b60408051918252519081900360200190f35b61036a600480360360608110156104c557600080fd5b506001600160a01b03813581169160208101359091169060400135611128565b61049d600480360360408110156104fb57600080fd5b506001600160a01b03813516906020013561117f565b61036a6004803603602081101561052757600080fd5b50356001600160a01b03166111b0565b6102906004803603602081101561054d57600080fd5b5035611220565b61036a6004803603606081101561056a57600080fd5b506001600160a01b038135811691602081013590911690604001356112bb565b6102906112d6565b61049d600480360360208110156105a857600080fd5b50356112f3565b61036a600480360360208110156105c557600080fd5b810190602081018135600160201b8111156105df57600080fd5b8201836020820111156105f157600080fd5b803590602001918460018302840111600160201b8311171561061257600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061130f945050505050565b61049d6004803603604081101561066957600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561069357600080fd5b8201836020820111156106a557600080fd5b803590602001918460018302840111600160201b831117156106c657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611379945050505050565b61049d600480360360a081101561071d57600080fd5b810190602081018135600160201b81111561073757600080fd5b82018360208201111561074957600080fd5b803590602001918460018302840111600160201b8311171561076a57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b8111156107bc57600080fd5b8201836020820111156107ce57600080fd5b803590602001918460018302840111600160201b831117156107ef57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050823593505050602081013590604001356001600160a01b0316611683565b6103226004803603602081101561085a57600080fd5b50356118b9565b6102906118e7565b61049d6004803603602081101561087f57600080fd5b50356001600160a01b0316611948565b6103226119b0565b61036a611a26565b61036a600480360360208110156108b557600080fd5b50356001600160a01b0316611ad5565b610322611b73565b61036a611b82565b610290611c0f565b610322611c70565b61049d600480360360208110156108fb57600080fd5b810190602081018135600160201b81111561091557600080fd5b82018360208201111561092757600080fd5b803590602001918460018302840111600160201b8311171561094857600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611c7f945050505050565b61036a6004803603604081101561099f57600080fd5b506001600160a01b0381351690602001351515611cf2565b61049d600480360360208110156109cd57600080fd5b810190602081018135600160201b8111156109e757600080fd5b8201836020820111156109f957600080fd5b803590602001918460018302840111600160201b83111715610a1a57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611df7945050505050565b61036a60048036036080811015610a7157600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b811115610aab57600080fd5b820183602082011115610abd57600080fd5b803590602001918460018302840111600160201b83111715610ade57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611e14945050505050565b610322611e72565b61029060048036036020811015610b3d57600080fd5b5035611e81565b610322612128565b61038960048036036020811015610b6257600080fd5b810190602081018135600160201b811115610b7c57600080fd5b820183602082011115610b8e57600080fd5b803590602001918460018302840111600160201b83111715610baf57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612137945050505050565b61049d60048036036020811015610c0657600080fd5b50356001600160a01b03166121c5565b61027460048036036040811015610c2c57600080fd5b506001600160a01b03813581169160200135166121e6565b61049d60048036036040811015610c5a57600080fd5b506001600160a01b038135169060200135612214565b61036a60048036036020811015610c8657600080fd5b50356001600160a01b031661223c565b61049d6122f9565b61049d60048036036040811015610cb457600080fd5b810190602081018135600160201b811115610cce57600080fd5b820183602082011115610ce057600080fd5b803590602001918460018302840111600160201b83111715610d0157600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050913592506122ff915050565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60068054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610df35780601f10610dc857610100808354040283529160200191610df3565b820191906000526020600020905b815481529060010190602001808311610dd657829003601f168201915b505050505090505b90565b6000610e098261236b565b610e445760405162461bcd60e51b815260040180806020018281038252602c8152602001806132a4602c913960400191505060405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610e6b826118b9565b9050806001600160a01b0316836001600160a01b03161415610ebe5760405162461bcd60e51b815260040180806020018281038252602181526020018061337c6021913960400191505060405180910390fd5b806001600160a01b0316610ed061237e565b6001600160a01b03161480610ef15750610ef181610eec61237e565b6121e6565b610f2c5760405162461bcd60e51b81526004018080602001828103825260388152602001806131f76038913960400191505060405180910390fd5b610f368383612382565b505050565b60008060606000806060600087118015610f5e5750610f5a60146123f0565b8711155b610fab576040805162461bcd60e51b81526020600482015260196024820152787468697320746b667220646f6573206e6f742065786973742160381b604482015290519081900360640190fd5b600087815260106020908152604091829020600180820154600583015460048401546002808601805489516101009782161597909702600019011691909104601f810188900488028601880190985287855294968e966001600160a01b0390941695949293919260038901929091869183018282801561106c5780601f106110415761010080835404028352916020019161106c565b820191906000526020600020905b81548152906001019060200180831161104f57829003601f168201915b5050845460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959950869450925084019050828280156110fa5780601f106110cf576101008083540402835291602001916110fa565b820191906000526020600020905b8154815290600101906020018083116110dd57829003601f168201915b505050505090509650965096509650965096505091939550919395565b600061112360026123f4565b905090565b61113961113361237e565b826123ff565b6111745760405162461bcd60e51b815260040180806020018281038252603181526020018061339d6031913960400191505060405180910390fd5b610f368383836124a3565b6001600160a01b03821660009081526001602052604081206111a7908363ffffffff61260116565b90505b92915050565b6111b93361260d565b6111fe576040805162461bcd60e51b8152602060048201526011602482015270323996b0baba3416b737b716b7bbb732b960791b604482015290519081900360640190fd5b601280546001600160a01b0319166001600160a01b0392909216919091179055565b600d6020908152600091825260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845290918301828280156112b35780601f10611288576101008083540402835291602001916112b3565b820191906000526020600020905b81548152906001019060200180831161129657829003601f168201915b505050505081565b610f3683838360405180602001604052806000815250611e14565b6040805180820190915260038152620312e360ec1b602082015290565b60008061130760028463ffffffff61262116565b509392505050565b611325336000356001600160e01b03191661263d565b61136d576040805162461bcd60e51b8152602060048201526014602482015273191ccb585d5d1a0b5d5b985d5d1a1bdc9a5e995960621b604482015290519081900360640190fd5b61137681612724565b50565b6000611391336000356001600160e01b03191661263d565b6113d9576040805162461bcd60e51b8152602060048201526014602482015273191ccb585d5d1a0b5d5b985d5d1a1bdc9a5e995960621b604482015290519081900360640190fd5b6000600f836040518082805190602001908083835b6020831061140d5780518252601f1990920191602091820191016113ee565b51815160001960209485036101000a01908116901991909116179052920194855250604051938490030190922054925050508061148d576040805162461bcd60e51b81526020600482015260196024820152787468697320746b667220646f6573206e6f742065786973742160381b604482015290519081900360640190fd5b6060600061149a83610f3b565b5094505093505050806114ac86611c7f565b10806114b6575080155b611507576040805162461bcd60e51b815260206004820152601c60248201527f74686973206c666672206973206f76657220746865206c696d69742100000000604482015290519081900360640190fd5b611511601361273b565b600061151d60136123f0565b905061158981600e886040518082805190602001908083835b602083106115555780518252601f199092019160209182019101611536565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922092915050612744565b506000818152600d6020908152604090912087516115a9928901906130ba565b506115b48782612750565b6115be818461288a565b7f7342a5ea651f214bf255b995b38a437edcaeebb4524e791b0c1f184b9861c2718187896040518084815260200180602001836001600160a01b03166001600160a01b03168152602001828103825284818151815260200191508051906020019080838360005b8381101561163d578181015183820152602001611625565b50505050905090810190601f16801561166a5780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a19695505050505050565b600061169b336000356001600160e01b03191661263d565b6116e3576040805162461bcd60e51b8152602060048201526014602482015273191ccb585d5d1a0b5d5b985d5d1a1bdc9a5e995960621b604482015290519081900360640190fd5b6000600f876040518082805190602001908083835b602083106117175780518252601f1990920191602091820191016116f8565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902054111561179e576040805162461bcd60e51b815260206004820152601960248201527f7468697320746b667220616c7265616479206578697374732100000000000000604482015290519081900360640190fd5b6117a8601461273b565b60006117b460146123f0565b60008181526010602090815260409091208281556001810180546001600160a01b0319166001600160a01b0388161790558951929350916117fd916003840191908b01906130ba565b50865161181390600283019060208a01906130ba565b5085816004018190555084816005018190555081600f896040518082805190602001908083835b602083106118595780518252601f19909201916020918201910161183a565b51815160209384036101000a6000190180199092169116179052920194855250604080519485900382019094209490945550506001600160a01b0386166000908152601190925290206118ac9083612744565b5054979650505050505050565b60006111aa82604051806060016040528060298152602001613259602991396002919063ffffffff6128ed16565b60098054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610df35780601f10610dc857610100808354040283529160200191610df3565b60006001600160a01b03821661198f5760405162461bcd60e51b815260040180806020018281038252602a81526020018061322f602a913960400191505060405180910390fd5b6001600160a01b03821660009081526001602052604090206111aa906123f4565b601254604080516338fe42f360e11b815290516000926001600160a01b0316916371fc85e6916004808301926020929190829003018186803b1580156119f557600080fd5b505afa158015611a09573d6000803e3d6000fd5b505050506040513d6020811015611a1f57600080fd5b5051905090565b600c546001600160a01b03163314611a6f5760405162461bcd60e51b81526004018080602001828103825260288152602001806132fc6028913960400191505060405180910390fd5b600c54600b546040516001600160a01b0392831692909116907f343765429aea5a34b3ff6a3785a98a5abb2597aca87bfbb58632c173d585373a90600090a3600c8054600b80546001600160a01b03199081166001600160a01b03841617909155169055565b611ade3361260d565b611b23576040805162461bcd60e51b8152602060048201526011602482015270323996b0baba3416b737b716b7bbb732b960791b604482015290519081900360640190fd5b600a80546001600160a01b0319166001600160a01b0383811691909117918290556040519116907f1abebea81bfa2637f28358c371278fb15ede7ea8dd28d2e03b112ff6d936ada490600090a250565b600b546001600160a01b031681565b611b8b3361260d565b611bd0576040805162461bcd60e51b8152602060048201526011602482015270323996b0baba3416b737b716b7bbb732b960791b604482015290519081900360640190fd5b600b80546001600160a01b031916905560405160009033907f343765429aea5a34b3ff6a3785a98a5abb2597aca87bfbb58632c173d585373a908390a3565b60078054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610df35780601f10610dc857610100808354040283529160200191610df3565b6012546001600160a01b031681565b600080611ceb600e846040518082805190602001908083835b60208310611cb75780518252601f199092019160209182019101611c98565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922091506123f49050565b9392505050565b611cfa61237e565b6001600160a01b0316826001600160a01b03161415611d60576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b8060056000611d6d61237e565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611db161237e565b60408051841515815290516001600160a01b0392909216917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319181900360200190a35050565b8051602081830181018051600f8252928201919093012091525481565b611e25611e1f61237e565b836123ff565b611e605760405162461bcd60e51b815260040180806020018281038252603181526020018061339d6031913960400191505060405180910390fd5b611e6c848484846128fa565b50505050565b600a546001600160a01b031681565b6060611e8c8261236b565b611ec75760405162461bcd60e51b815260040180806020018281038252602f81526020018061334d602f913960400191505060405180910390fd5b60008281526008602090815260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845260609392830182828015611f5c5780601f10611f3157610100808354040283529160200191611f5c565b820191906000526020600020905b815481529060010190602001808311611f3f57829003601f168201915b505060095493945050505060026000196101006001841615020190911604611f85579050610d62565b805115612056576009816040516020018083805460018160011615610100020316600290048015611fed5780601f10611fcb576101008083540402835291820191611fed565b820191906000526020600020905b815481529060010190602001808311611fd9575b5050825160208401908083835b602083106120195780518252601f199092019160209182019101611ffa565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050610d62565b60096120618461294c565b60405160200180838054600181600116156101000203166002900480156120bf5780601f1061209d5761010080835404028352918201916120bf565b820191906000526020600020905b8154815290600101906020018083116120ab575b5050825160208401908083835b602083106120eb5780518252601f1990920191602091820191016120cc565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050919050565b600c546001600160a01b031681565b600080606060008060606000600f886040518082805190602001908083835b602083106121755780518252601f199092019160209182019101612156565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205492506121b09150829050610f3b565b949d939c50919a509850965090945092505050565b6001600160a01b03811660009081526011602052604081206111aa906123f4565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6001600160a01b03821660009081526011602052604081206111a7908363ffffffff61260116565b6122453361260d565b61228a576040805162461bcd60e51b8152602060048201526011602482015270323996b0baba3416b737b716b7bbb732b960791b604482015290519081900360640190fd5b600b546001600160a01b03828116911614156122d75760405162461bcd60e51b81526004018080602001828103825260228152602001806133ce6022913960400191505060405180910390fd5b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b60145481565b60006111a782600e856040518082805190602001908083835b602083106123375780518252601f199092019160209182019101612318565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922092915050612601565b60006111aa60028363ffffffff612a2716565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906123b7826118b9565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b5490565b60006111aa826123f0565b600061240a8261236b565b6124455760405162461bcd60e51b815260040180806020018281038252602c8152602001806131cb602c913960400191505060405180910390fd5b6000612450836118b9565b9050806001600160a01b0316846001600160a01b0316148061248b5750836001600160a01b031661248084610dfe565b6001600160a01b0316145b8061249b575061249b81856121e6565b949350505050565b826001600160a01b03166124b6826118b9565b6001600160a01b0316146124fb5760405162461bcd60e51b81526004018080602001828103825260298152602001806133246029913960400191505060405180910390fd5b6001600160a01b0382166125405760405162461bcd60e51b81526004018080602001828103825260248152602001806131a76024913960400191505060405180910390fd5b61254b838383610f36565b612556600082612382565b6001600160a01b038316600090815260016020526040902061257e908263ffffffff612a3316565b506001600160a01b03821660009081526001602052604090206125a7908263ffffffff61274416565b506125ba6002828463ffffffff612a3f16565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006111a78383612a55565b600b546001600160a01b0390811691161490565b60008080806126308686612ab9565b9097909650945050505050565b60006001600160a01b038316301415612658575060016111aa565b600b546001600160a01b0384811691161415612676575060016111aa565b600a546001600160a01b031661268e575060006111aa565b600a546040805163b700961360e01b81526001600160a01b0386811660048301523060248301526001600160e01b0319861660448301529151919092169163b7009613916064808301926020929190829003018186803b1580156126f157600080fd5b505afa158015612705573d6000803e3d6000fd5b505050506040513d602081101561271b57600080fd5b505190506111aa565b80516127379060099060208401906130ba565b5050565b80546001019055565b60006111a78383612b34565b6001600160a01b0382166127ab576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b6127b48161236b565b15612806576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b61281260008383610f36565b6001600160a01b038216600090815260016020526040902061283a908263ffffffff61274416565b5061284d6002828463ffffffff612a3f16565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6128938261236b565b6128ce5760405162461bcd60e51b815260040180806020018281038252602c8152602001806132d0602c913960400191505060405180910390fd5b60008281526008602090815260409091208251610f36928401906130ba565b600061249b848484612b7e565b6129058484846124a3565b61291184848484612c48565b611e6c5760405162461bcd60e51b81526004018080602001828103825260328152602001806131756032913960400191505060405180910390fd5b60608161297157506040805180820190915260018152600360fc1b6020820152610d62565b8160005b811561298957600101600a82049150612975565b60608167ffffffffffffffff811180156129a257600080fd5b506040519080825280601f01601f1916602001820160405280156129cd576020820181803683370190505b50859350905060001982015b8315612a1e57600a840660300160f81b828280600190039350815181106129fc57fe5b60200101906001600160f81b031916908160001a905350600a840493506129d9565b50949350505050565b60006111a78383612dc8565b60006111a78383612de0565b600061249b84846001600160a01b038516612ea6565b81546000908210612a975760405162461bcd60e51b81526004018080602001828103825260228152602001806131536022913960400191505060405180910390fd5b826000018281548110612aa657fe5b9060005260206000200154905092915050565b815460009081908310612afd5760405162461bcd60e51b81526004018080602001828103825260228152602001806132826022913960400191505060405180910390fd5b6000846000018481548110612b0e57fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b6000612b408383612dc8565b612b76575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556111aa565b5060006111aa565b60008281526001840160205260408120548281612c195760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612bde578181015183820152602001612bc6565b50505050905090810190601f168015612c0b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50846000016001820381548110612c2c57fe5b9060005260206000209060020201600101549150509392505050565b6000612c5c846001600160a01b0316612f3d565b612c685750600161249b565b6060612d8e630a85bd0160e11b612c7d61237e565b88878760405160240180856001600160a01b03166001600160a01b03168152602001846001600160a01b03166001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612cf6578181015183820152602001612cde565b50505050905090810190601f168015612d235780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001613175603291396001600160a01b038816919063ffffffff612f4316565b90506000818060200190516020811015612da757600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b60009081526001919091016020526040902054151590565b60008181526001830160205260408120548015612e9c5783546000198083019190810190600090879083908110612e1357fe5b9060005260206000200154905080876000018481548110612e3057fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080612e6057fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506111aa565b60009150506111aa565b600082815260018401602052604081205480612f0b575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055611ceb565b82856000016001830381548110612f1e57fe5b9060005260206000209060020201600101819055506000915050611ceb565b3b151590565b606061249b84846000856060612f5885612f3d565b612fa9576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612fe85780518252601f199092019160209182019101612fc9565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461304a576040519150601f19603f3d011682016040523d82523d6000602084013e61304f565b606091505b5091509150811561306357915061249b9050565b8051156130735780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315612bde578181015183820152602001612bc6565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106130fb57805160ff1916838001178555613128565b82800160010185558215613128579182015b8281111561312857825182559160200191906001019061310d565b50613134929150613138565b5090565b610dfb91905b80821115613134576000815560010161313e56fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e4163636570744f776e6572736869703a206f6e6c79206e6577206f776e657220646f20746869732e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f7665645472616e736665724f776e6572736869703a207468652073616d65206f776e65722ea26469706673582212207ae0cbf97bc2b78a5cf6737b62b6df4fcccca7ec981e7f23af6c75b7cfb351fe64736f6c63430006060033

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

000000000000000000000000c77f1071cb7c726fa00c49f449ff830fd57137b5

-----Decoded View---------------
Arg [0] : _registry (address): 0xc77F1071CB7C726fa00C49f449FF830fD57137b5

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000c77f1071cb7c726fa00c49f449ff830fd57137b5


Deployed Bytecode Sourcemap

60863:4174:0:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;60863:4174:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;43342:142:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;43342:142:0;-1:-1:-1;;;;;;43342:142:0;;:::i;:::-;;;;;;;;;;;;;;;;;;48256:92;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;48256:92:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50943:213;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;50943:213:0;;:::i;:::-;;;;-1:-1:-1;;;;;50943:213:0;;;;;;;;;;;;;;50487:390;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;50487:390:0;;;;;;;;:::i;:::-;;64049:348;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;64049:348:0;;:::i;:::-;;;;;;;;;;-1:-1:-1;;;;;64049:348:0;-1:-1:-1;;;;;64049:348:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;64049:348:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;64049:348:0;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;64049:348:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49981:203;;;:::i;:::-;;;;;;;;;;;;;;;;51817:305;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;51817:305:0;;;;;;;;;;;;;;;;;:::i;49751:154::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;49751:154:0;;;;;;;;:::i;61887:109::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;61887:109:0;-1:-1:-1;;;;;61887:109:0;;:::i;61038:44::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;61038:44:0;;:::i;52193:151::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;52193:151:0;;;;;;;;;;;;;;;;;:::i;64931:103::-;;;:::i;50261:164::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;50261:164:0;;:::i;62004:94::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;62004:94:0;;;;;;;;-1:-1:-1;;;11:28;;8:2;;;52:1;49;42:12;8:2;62004:94:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;62004:94:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;62004:94:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;62004:94:0;;-1:-1:-1;62004:94:0;;-1:-1:-1;;;;;62004:94:0:i;62896:668::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;62896:668:0;;;;;;;;;;;;;;;-1:-1:-1;;;11:28;;8:2;;;52:1;49;42:12;8:2;62896:668:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;62896:668:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;62896:668:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;62896:668:0;;-1:-1:-1;62896:668:0;;-1:-1:-1;;;;;62896:668:0:i;62106:782::-;;;;;;15:3:-1;10;7:12;4:2;;;32:1;29;22:12;4:2;62106:782:0;;;;;;;;-1:-1:-1;;;11:28;;8:2;;;52:1;49;42:12;8:2;62106:782:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;62106:782:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;62106:782:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;62106:782:0;;;;;;;;-1:-1:-1;62106:782:0;;-1:-1:-1;;;;;11:28;;8:2;;;52:1;49;42:12;8:2;62106:782:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;62106:782:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;62106:782:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;62106:782:0;;-1:-1:-1;;62106:782:0;;;-1:-1:-1;;;62106:782:0;;;;;;;;-1:-1:-1;;;;;62106:782:0;;:::i;48020:169::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;48020:169:0;;:::i;49578:89::-;;;:::i;47743:215::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;47743:215:0;-1:-1:-1;;;;;47743:215:0;;:::i;63596:100::-;;;:::i;8598:233::-;;;:::i;8893:178::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;8893:178:0;-1:-1:-1;;;;;8893:178:0;;:::i;8023:26::-;;;:::i;8276:128::-;;;:::i;48417:96::-;;;:::i;61338:29::-;;;:::i;63704:181::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;63704:181:0;;;;;;;;-1:-1:-1;;;11:28;;8:2;;;52:1;49;42:12;8:2;63704:181:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;63704:181:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;63704:181:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;63704:181:0;;-1:-1:-1;63704:181:0;;-1:-1:-1;;;;;63704:181:0:i;51228:295::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;51228:295:0;;;;;;;;;;:::i;61159:50::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;61159:50:0;;;;;;;;-1:-1:-1;;;11:28;;8:2;;;52:1;49;42:12;8:2;61159:50:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;61159:50:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;61159:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;61159:50:0;;-1:-1:-1;61159:50:0;;-1:-1:-1;;;;;61159:50:0:i;52415:285::-;;;;;;15:3:-1;10;7:12;4:2;;;32:1;29;22:12;4:2;-1:-1;;;;;52415:285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;11:28;;8:2;;;52:1;49;42:12;8:2;52415:285:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;52415:285:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;52415:285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;52415:285:0;;-1:-1:-1;52415:285:0;;-1:-1:-1;;;;;52415:285:0:i;7986:30::-;;;:::i;48584:755::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;48584:755:0;;:::i;8056:29::-;;;:::i;64405:235::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;64405:235:0;;;;;;;;-1:-1:-1;;;11:28;;8:2;;;52:1;49;42:12;8:2;64405:235:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;64405:235:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;64405:235:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;64405:235:0;;-1:-1:-1;64405:235:0;;-1:-1:-1;;;;;64405:235:0:i;64648:123::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;64648:123:0;-1:-1:-1;;;;;64648:123:0;;:::i;51594:156::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;51594:156:0;;;;;;;;;;:::i;64779:144::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;64779:144:0;;;;;;;;:::i;8412:178::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;8412:178:0;-1:-1:-1;;;;;8412:178:0;;:::i;61415:34::-;;;:::i;63893:148::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;63893:148:0;;;;;;;;-1:-1:-1;;;11:28;;8:2;;;52:1;49;42:12;8:2;63893:148:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;63893:148:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;63893:148:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;63893:148:0;;-1:-1:-1;;63893:148:0;;;-1:-1:-1;63893:148:0;;-1:-1:-1;;63893:148:0:i;43342:142::-;-1:-1:-1;;;;;;43443:33:0;;43419:4;43443:33;;;;;;;;;;;;;43342:142;;;;:::o;48256:92::-;48335:5;48328:12;;;;;;;;-1:-1:-1;;48328:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48302:13;;48328:12;;48335:5;;48328:12;;48335:5;48328:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48256:92;;:::o;50943:213::-;51011:7;51039:16;51047:7;51039;:16::i;:::-;51031:73;;;;-1:-1:-1;;;51031:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51124:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;51124:24:0;;50943:213::o;50487:390::-;50568:13;50584:16;50592:7;50584;:16::i;:::-;50568:32;;50625:5;-1:-1:-1;;;;;50619:11:0;:2;-1:-1:-1;;;;;50619:11:0;;;50611:57;;;;-1:-1:-1;;;50611:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50705:5;-1:-1:-1;;;;;50689:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;50689:21:0;;:62;;;;50714:37;50731:5;50738:12;:10;:12::i;:::-;50714:16;:37::i;:::-;50681:154;;;;-1:-1:-1;;;50681:154:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50848:21;50857:2;50861:7;50848:8;:21::i;:::-;50487:390;;;:::o;64049:348::-;64104:7;64113;64122:13;64137:7;64146;64155:13;64192:1;64187:2;:6;:36;;;;;64203:20;:10;:18;:20::i;:::-;64197:2;:26;;64187:36;64179:74;;;;;-1:-1:-1;;;64179:74:0;;;;;;;;;;;;-1:-1:-1;;;64179:74:0;;;;;;;;;;;;;;;64262:18;64283:13;;;:9;:13;;;;;;;;;64319:12;;;;;64349:11;;;;64362;;;;64333:13;;;;64307:82;;;;64319:12;64307:82;;;;;;;;-1:-1:-1;;64307:82:0;;;;;;;;;;;;;;;;;;;;;;;;64283:13;;;;-1:-1:-1;;;;;64319:12:0;;;;64333:13;64349:11;;64362;;64375:13;;;;64307:82;;64333:13;;64307:82;;64333:13;64307:82;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;64307:82:0;;;;;;;;;;;;;-1:-1:-1;;64307:82:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;64307:82:0;;-1:-1:-1;64307:82:0;-1:-1:-1;64307:82:0;;;-1:-1:-1;64307:82:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64049:348;;;;;;;:::o;49981:203::-;50034:7;50155:21;:12;:19;:21::i;:::-;50148:28;;49981:203;:::o;51817:305::-;51978:41;51997:12;:10;:12::i;:::-;52011:7;51978:18;:41::i;:::-;51970:103;;;;-1:-1:-1;;;51970:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52086:28;52096:4;52102:2;52106:7;52086:9;:28::i;49751:154::-;-1:-1:-1;;;;;49867:20:0;;49840:7;49867:20;;;:13;:20;;;;;:30;;49891:5;49867:30;:23;:30;:::i;:::-;49860:37;;49751:154;;;;;:::o;61887:109::-;9117:19;9125:10;9117:7;:19::i;:::-;9109:49;;;;;-1:-1:-1;;;9109:49:0;;;;;;;;;;;;-1:-1:-1;;;9109:49:0;;;;;;;;;;;;;;;61954:10:::1;:34:::0;;-1:-1:-1;;;;;;61954:34:0::1;-1:-1:-1::0;;;;;61954:34:0;;;::::1;::::0;;;::::1;::::0;;61887:109::o;61038:44::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;61038:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;52193:151::-;52297:39;52314:4;52320:2;52324:7;52297:39;;;;;;;;;;;;:16;:39::i;64931:103::-;65014:12;;;;;;;;;;;;-1:-1:-1;;;65014:12:0;;;;64931:103;:::o;50261:164::-;50328:7;;50370:22;:12;50386:5;50370:22;:15;:22;:::i;:::-;-1:-1:-1;50348:44:0;50261:164;-1:-1:-1;;;50261:164:0:o;62004:94::-;9330:33;9343:10;9355:7;;-1:-1:-1;;;;;;9355:7:0;9330:12;:33::i;:::-;9322:66;;;;;-1:-1:-1;;;9322:66:0;;;;;;;;;;;;-1:-1:-1;;;9322:66:0;;;;;;;;;;;;;;;62069:21:::1;62081:8;62069:11;:21::i;:::-;62004:94:::0;:::o;62896:668::-;62970:7;9330:33;9343:10;9355:7;;-1:-1:-1;;;;;;9355:7:0;9330:12;:33::i;:::-;9322:66;;;;;-1:-1:-1;;;9322:66:0;;;;;;;;;;;;-1:-1:-1;;;9322:66:0;;;;;;;;;;;;;;;62988:15:::1;63006;63022:7;63006:24;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10:::0;;164:23;;-1:-1;;139:12;;;;98:2:::1;89:12:::0;;::::1;::::0;114::::1;36:153;;;299:10:::0;344;;-1:-1;;263:2:::1;259:12:::0;;::::1;254:3;250:22;246:30:::0;340:21;;::::1;311:9:::0;::::1;295:26:::0;;;::::1;377:20;365:33:::0;;63006:24:0;::::1;::::0;;;-1:-1:-1;63006:24:0::1;::::0;;;;;;;;;;;-1:-1:-1;;;63047:11:0;63039:49:::1;;;::::0;;-1:-1:-1;;;63039:49:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;63039:49:0;;;;;;;;;;;;;::::1;;63102:22;63128:14;63147:21;63160:7;63147:12;:21::i;:::-;63097:71;;;;;;;;63211:6;63185:23;63200:7;63185:14;:23::i;:::-;:32;:47;;;-1:-1:-1::0;63221:11:0;;63185:47:::1;63177:88;;;::::0;;-1:-1:-1;;;63177:88:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;63297:21;:9;:19;:21::i;:::-;63327:10;63340:19;:9;:17;:19::i;:::-;63327:32;;63368:28;63393:2;63368:11;63380:7;63368:20;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10:::0;;164:23;;-1:-1;;139:12;;;;98:2:::1;89:12:::0;;::::1;::::0;114::::1;36:153;;;299:10:::0;344;;263:2:::1;259:12:::0;;::::1;254:3;250:22;-1:-1:::0;;246:30;311:9;::::1;295:26:::0;;::::1;340:21:::0;::::1;377:20;365:33:::0;;63368:20:0;::::1;::::0;;;-1:-1:-1;63368:20:0::1;::::0;;;;;;;;;;;-1:-1:-1;;63368:24:0::1;:28::i;:::-;-1:-1:-1::0;63405:13:0::1;::::0;;;:9:::1;:13;::::0;;;;;;;:23;;::::1;::::0;;::::1;::::0;::::1;:::i;:::-;;63439:13;63445:2;63449;63439:5;:13::i;:::-;63461:26;63474:2;63478:8;63461:12;:26::i;:::-;63503:27;63514:2;63518:7;63527:2;63503:27;;;;;;;;;;;;-1:-1:-1::0;;;;;63503:27:0::1;-1:-1:-1::0;;;;;63503:27:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11:::0;;::::1;84:18:::0;71:11;;::::1;64:39:::0;52:2:::1;45:10;8:100;;;12:14;63503:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63548:2:::0;62896:668;-1:-1:-1;;;;;;62896:668:0:o;62106:782::-;62281:7;9330:33;9343:10;9355:7;;-1:-1:-1;;;;;;9355:7:0;9330:12;:33::i;:::-;9322:66;;;;;-1:-1:-1;;;9322:66:0;;;;;;;;;;;;-1:-1:-1;;;9322:66:0;;;;;;;;;;;;;;;62336:1:::1;62309:15;62325:7;62309:24;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10:::0;;164:23;;-1:-1;;139:12;;;;98:2:::1;89:12:::0;;::::1;::::0;114::::1;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;62309:24:0;;;;;;;;;;;;;;;;;;;;;;:28;62307:31;62299:69;;;::::0;;-1:-1:-1;;;62299:69:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;62377:22;:10;:20;:22::i;:::-;62408:15;62426:20;:10;:18;:20::i;:::-;62457:18;62478::::0;;;:9:::1;:18;::::0;;;;;;;62507;;;62534:12:::1;::::0;::::1;:21:::0;;-1:-1:-1;;;;;;62534:21:0::1;-1:-1:-1::0;;;;;62534:21:0;::::1;;::::0;;62564:23;;62478:18;;-1:-1:-1;62478:18:0;62564:23:::1;::::0;:13:::1;::::0;::::1;::::0;:23;;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;62596:23:0;;::::1;::::0;:13:::1;::::0;::::1;::::0;:23:::1;::::0;::::1;::::0;::::1;:::i;:::-;;62642:5;62628;:11;;:19;;;;62670:5;62656;:11;;:19;;;;62713:7;62686:15;62702:7;62686:24;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10:::0;;164:23;;-1:-1;;139:12;;;;98:2:::1;89:12:::0;;::::1;::::0;114::::1;36:153;;;299:10:::0;344;;263:2:::1;259:12:::0;;::::1;254:3;250:22;-1:-1:::0;;246:30;311:9;::::1;295:26:::0;;::::1;340:21:::0;::::1;377:20;365:33:::0;;62686:24:0;::::1;::::0;;;-1:-1:-1;62686:24:0::1;::::0;;;;;;;;;;;:34;;;;-1:-1:-1;;;;;;;62729:20:0;::::1;-1:-1:-1::0;62729:20:0;;;:12:::1;:20:::0;;;;;:33:::1;::::0;62754:7;62729:24:::1;:33::i;:::-;-1:-1:-1::0;62872:8:0;;62106:782;-1:-1:-1;;;;;;;62106:782:0:o;48020:169::-;48084:7;48111:70;48128:7;48111:70;;;;;;;;;;;;;;;;;:12;;:70;;:16;:70;:::i;49578:89::-;49651:8;49644:15;;;;;;;;-1:-1:-1;;49644:15:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49618:13;;49644:15;;49651:8;;49644:15;;49651:8;49644:15;;;;;;;;;;;;;;;;;;;;;;;;47743:215;47807:7;-1:-1:-1;;;;;47835:19:0;;47827:74;;;;-1:-1:-1;;;47827:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;47921:20:0;;;;;;:13;:20;;;;;:29;;:27;:29::i;63596:100::-;63668:10;;:19;;;-1:-1:-1;;;63668:19:0;;;;63635:7;;-1:-1:-1;;;;;63668:10:0;;:17;;:19;;;;;;;;;;;;;;:10;:19;;;2:2:-1;;;;27:1;24;17:12;2:2;63668:19:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;63668:19:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;63668:19:0;;-1:-1:-1;63596:100:0;:::o;8598:233::-;8665:8;;-1:-1:-1;;;;;8665:8:0;8651:10;:22;8643:75;;;;-1:-1:-1;;;8643:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8753:8;;8746:5;;8734:28;;-1:-1:-1;;;;;8753:8:0;;;;8746:5;;;;8734:28;;8753:8;;8734:28;8781:8;;;8773:5;:16;;-1:-1:-1;;;;;;8773:16:0;;;-1:-1:-1;;;;;8781:8:0;;8773:16;;;;8800:23;;;8598:233::o;8893:178::-;9117:19;9125:10;9117:7;:19::i;:::-;9109:49;;;;;-1:-1:-1;;;9109:49:0;;;;;;;;;;;;-1:-1:-1;;;9109:49:0;;;;;;;;;;;;;;;8990:9:::1;:22:::0;;-1:-1:-1;;;;;;8990:22:0::1;-1:-1:-1::0;;;;;8990:22:0;;::::1;::::0;;;::::1;::::0;;;;9028:35:::1;::::0;9052:9;::::1;::::0;9028:35:::1;::::0;-1:-1:-1;;9028:35:0::1;8893:178:::0;:::o;8023:26::-;;;-1:-1:-1;;;;;8023:26:0;;:::o;8276:128::-;9117:19;9125:10;9117:7;:19::i;:::-;9109:49;;;;;-1:-1:-1;;;9109:49:0;;;;;;;;;;;;-1:-1:-1;;;9109:49:0;;;;;;;;;;;;;;;8332:5:::1;:18:::0;;-1:-1:-1;;;;;;8332:18:0::1;::::0;;8366:30:::1;::::0;8348:1:::1;::::0;8378:10:::1;::::0;8366:30:::1;::::0;8348:1;;8366:30:::1;8276:128::o:0;48417:96::-;48498:7;48491:14;;;;;;;;-1:-1:-1;;48491:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48465:13;;48491:14;;48498:7;;48491:14;;48498:7;48491:14;;;;;;;;;;;;;;;;;;;;;;;;61338:29;;;-1:-1:-1;;;;;61338:29:0;;:::o;63704:181::-;63772:7;63790:23;63816:30;:11;63828:8;63816:21;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;299:10;344;;263:2;259:12;;;254:3;250:22;-1:-1;;246:30;311:9;;295:26;;;340:21;;377:20;365:33;;63816:21:0;;;;;-1:-1:-1;63816:21:0;;;;;;;;;;;-1:-1:-1;63816:28:0;;-1:-1:-1;63816:30:0:i;:::-;63790:56;63704:181;-1:-1:-1;;;63704:181:0:o;51228:295::-;51343:12;:10;:12::i;:::-;-1:-1:-1;;;;;51331:24:0;:8;-1:-1:-1;;;;;51331:24:0;;;51323:62;;;;;-1:-1:-1;;;51323:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;51443:8;51398:18;:32;51417:12;:10;:12::i;:::-;-1:-1:-1;;;;;51398:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;51398:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;51398:53:0;;;;;;;;;;;51482:12;:10;:12::i;:::-;51467:48;;;;;;;;;;-1:-1:-1;;;;;51467:48:0;;;;;;;;;;;;;;51228:295;;:::o;61159:50::-;22:14:-1;;169:4;143:32;;;;;198:20;;61159:50:0;224:31:-1;;156:18;;;283;;;;273:49;328:32;;61159:50:0;;:::o;52415:285::-;52547:41;52566:12;:10;:12::i;:::-;52580:7;52547:18;:41::i;:::-;52539:103;;;;-1:-1:-1;;;52539:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52653:39;52667:4;52673:2;52677:7;52686:5;52653:13;:39::i;:::-;52415:285;;;;:::o;7986:30::-;;;-1:-1:-1;;;;;7986:30:0;;:::o;48584:755::-;48649:13;48683:16;48691:7;48683;:16::i;:::-;48675:76;;;;-1:-1:-1;;;48675:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48790:19;;;;:10;:19;;;;;;;;;48764:45;;;;;;-1:-1:-1;;48764:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:23;;:45;;;48790:19;48764:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;48891:8:0;48885:22;48764:45;;-1:-1:-1;;;;48885:22:0;-1:-1:-1;;48885:22:0;;;;;;;;;;;48881:76;;48936:9;-1:-1:-1;48929:16:0;;48881:76;49061:23;;:27;49057:112;;49136:8;49146:9;49119:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;49119:37:0;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;49119:37:0;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;49119:37:0;;;49105:52;;;;;49057:112;49301:8;49311:18;:7;:16;:18::i;:::-;49284:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;49284:46:0;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;49284:46:0;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;49284:46:0;;;49270:61;;;48584:755;;;:::o;8056:29::-;;;-1:-1:-1;;;;;8056:29:0;;:::o;64405:235::-;64476:7;64485;64494:13;64509:7;64518;64527:13;64551:15;64569;64585:7;64569:24;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;299:10;344;;263:2;259:12;;;254:3;250:22;-1:-1;;246:30;311:9;;295:26;;;340:21;;377:20;365:33;;64569:24:0;;;;;-1:-1:-1;64569:24:0;;;;;;;;;;;;-1:-1:-1;64611:21:0;;-1:-1:-1;64569:24:0;;-1:-1:-1;64611:12:0;:21::i;:::-;64604:28;;;;-1:-1:-1;64604:28:0;;-1:-1:-1;64604:28:0;-1:-1:-1;64604:28:0;-1:-1:-1;64604:28:0;;-1:-1:-1;64405:235:0;-1:-1:-1;;;64405:235:0:o;64648:123::-;-1:-1:-1;;;;;64734:20:0;;64709:7;64734:20;;;:12;:20;;;;;:29;;:27;:29::i;51594:156::-;-1:-1:-1;;;;;51707:25:0;;;51683:4;51707:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;51594:156::o;64779:144::-;-1:-1:-1;;;;;64885:20:0;;64860:7;64885:20;;;:12;:20;;;;;:30;;64909:5;64885:30;:23;:30;:::i;8412:178::-;9117:19;9125:10;9117:7;:19::i;:::-;9109:49;;;;;-1:-1:-1;;;9109:49:0;;;;;;;;;;;;-1:-1:-1;;;9109:49:0;;;;;;;;;;;;;;;8507:5:::1;::::0;-1:-1:-1;;;;;8494:18:0;;::::1;8507:5:::0;::::1;8494:18;;8486:65;;;;-1:-1:-1::0;;;8486:65:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8562:8;:20:::0;;-1:-1:-1;;;;;;8562:20:0::1;-1:-1:-1::0;;;;;8562:20:0;;;::::1;::::0;;;::::1;::::0;;8412:178::o;61415:34::-;;;;:::o;63893:148::-;63978:7;64003:30;64027:5;64003:11;64015:7;64003:20;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;299:10;344;;263:2;259:12;;;254:3;250:22;-1:-1;;246:30;311:9;;295:26;;;340:21;;377:20;365:33;;64003:20:0;;;;;-1:-1:-1;64003:20:0;;;;;;;;;;;;-1:-1:-1;;64003:23:0;:30::i;54167:119::-;54224:4;54248:30;:12;54270:7;54248:30;:21;:30;:::i;10468:106::-;10556:10;10468:106;:::o;59994:158::-;60060:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;60060:29:0;-1:-1:-1;;;;;60060:29:0;;;;;;;;:24;;60114:16;60060:24;60114:7;:16::i;:::-;-1:-1:-1;;;;;60105:39:0;;;;;;;;;;;59994:158;;:::o;6453:114::-;6545:14;;6453:114::o;40088:123::-;40157:7;40184:19;40192:3;40184:7;:19::i;54453:333::-;54538:4;54563:16;54571:7;54563;:16::i;:::-;54555:73;;;;-1:-1:-1;;;54555:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54639:13;54655:16;54663:7;54655;:16::i;:::-;54639:32;;54701:5;-1:-1:-1;;;;;54690:16:0;:7;-1:-1:-1;;;;;54690:16:0;;:51;;;;54734:7;-1:-1:-1;;;;;54710:31:0;:20;54722:7;54710:11;:20::i;:::-;-1:-1:-1;;;;;54710:31:0;;54690:51;:87;;;;54745:32;54762:5;54769:7;54745:16;:32::i;:::-;54682:96;54453:333;-1:-1:-1;;;;54453:333:0:o;57542:574::-;57660:4;-1:-1:-1;;;;;57640:24:0;:16;57648:7;57640;:16::i;:::-;-1:-1:-1;;;;;57640:24:0;;57632:78;;;;-1:-1:-1;;;57632:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;57729:16:0;;57721:65;;;;-1:-1:-1;;;57721:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57799:39;57820:4;57826:2;57830:7;57799:20;:39::i;:::-;57903:29;57920:1;57924:7;57903:8;:29::i;:::-;-1:-1:-1;;;;;57945:19:0;;;;;;:13;:19;;;;;:35;;57972:7;57945:35;:26;:35;:::i;:::-;-1:-1:-1;;;;;;57991:17:0;;;;;;:13;:17;;;;;:30;;58013:7;57991:30;:21;:30;:::i;:::-;-1:-1:-1;58034:29:0;:12;58051:7;58060:2;58034:29;:16;:29;:::i;:::-;;58100:7;58096:2;-1:-1:-1;;;;;58081:27:0;58090:4;-1:-1:-1;;;;;58081:27:0;;;;;;;;;;;57542:574;;;:::o;32722:137::-;32793:7;32828:22;32832:3;32844:5;32828:3;:22::i;9186:103::-;9275:5;;-1:-1:-1;;;;;9275:5:0;;;9268:12;;;;9186:103::o;40550:227::-;40630:7;;;;40690:22;40694:3;40706:5;40690:3;:22::i;:::-;40659:53;;;;-1:-1:-1;40550:227:0;-1:-1:-1;;;;;40550:227:0:o;9416:380::-;9486:4;-1:-1:-1;;;;;9507:20:0;;9522:4;9507:20;9503:286;;;-1:-1:-1;9551:4:0;9544:11;;9503:286;9584:5;;-1:-1:-1;;;;;9577:12:0;;;9584:5;;9577:12;9573:216;;;-1:-1:-1;9613:4:0;9606:11;;9573:216;9639:9;;-1:-1:-1;;;;;9639:9:0;9635:154;;-1:-1:-1;9690:5:0;9683:12;;9635:154;9735:9;;:42;;;-1:-1:-1;;;9735:42:0;;-1:-1:-1;;;;;9735:42:0;;;;;;;9766:4;9735:42;;;;-1:-1:-1;;;;;;9735:42:0;;;;;;;;:9;;;;;:17;;:42;;;;;;;;;;;;;;:9;:42;;;2:2:-1;;;;27:1;24;17:12;2:2;9735:42:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;9735:42:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;9735:42:0;;-1:-1:-1;9728:49:0;;58717:100;58790:19;;;;:8;;:19;;;;;:::i;:::-;;58717:100;:::o;6575:181::-;6729:19;;6747:1;6729:19;;;6575:181::o;31502:131::-;31569:4;31593:32;31598:3;31618:5;31593:4;:32::i;56052:404::-;-1:-1:-1;;;;;56132:16:0;;56124:61;;;;;-1:-1:-1;;;56124:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56205:16;56213:7;56205;:16::i;:::-;56204:17;56196:58;;;;;-1:-1:-1;;;56196:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;56267:45;56296:1;56300:2;56304:7;56267:20;:45::i;:::-;-1:-1:-1;;;;;56325:17:0;;;;;;:13;:17;;;;;:30;;56347:7;56325:30;:21;:30;:::i;:::-;-1:-1:-1;56368:29:0;:12;56385:7;56394:2;56368:29;:16;:29;:::i;:::-;-1:-1:-1;56415:33:0;;56440:7;;-1:-1:-1;;;;;56415:33:0;;;56432:1;;56415:33;;56432:1;;56415:33;56052:404;;:::o;58272:215::-;58372:16;58380:7;58372;:16::i;:::-;58364:73;;;;-1:-1:-1;;;58364:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58448:19;;;;:10;:19;;;;;;;;:31;;;;;;;;:::i;41212:204::-;41319:7;41362:44;41367:3;41387;41393:12;41362:4;:44::i;53582:272::-;53696:28;53706:4;53712:2;53716:7;53696:9;:28::i;:::-;53743:48;53766:4;53772:2;53776:7;53785:5;53743:22;:48::i;:::-;53735:111;;;;-1:-1:-1;;;53735:111:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41636:744;41692:13;41913:10;41909:53;;-1:-1:-1;41940:10:0;;;;;;;;;;;;-1:-1:-1;;;41940:10:0;;;;;;41909:53;41987:5;41972:12;42028:78;42035:9;;42028:78;;42061:8;;42092:2;42084:10;;;;42028:78;;;42116:19;42148:6;42138:17;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;42138:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;21:6:-1;;108:14;42138:17:0;87:42:-1;143:17;;-1:-1;42138:17:0;-1:-1:-1;42210:5:0;;-1:-1:-1;42116:39:0;-1:-1:-1;;;42182:10:0;;42226:115;42233:9;;42226:115;;42300:2;42293:4;:9;42288:2;:14;42277:27;;42259:6;42266:7;;;;;;;42259:15;;;;;;;;;;;:45;-1:-1:-1;;;;;42259:45:0;;;;;;;;-1:-1:-1;42327:2:0;42319:10;;;;42226:115;;;-1:-1:-1;42365:6:0;41636:744;-1:-1:-1;;;;41636:744:0:o;39849:151::-;39933:4;39957:35;39967:3;39987;39957:9;:35::i;31809:137::-;31879:4;31903:35;31911:3;31931:5;31903:7;:35::i;39281:176::-;39370:4;39394:55;39399:3;39419;-1:-1:-1;;;;;39433:14:0;;39394:4;:55::i;29386:204::-;29481:18;;29453:7;;29481:26;-1:-1:-1;29473:73:0;;;;-1:-1:-1;;;29473:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29564:3;:11;;29576:5;29564:18;;;;;;;;;;;;;;;;29557:25;;29386:204;;;;:::o;37936:279::-;38040:19;;38003:7;;;;38040:27;-1:-1:-1;38032:74:0;;;;-1:-1:-1;;;38032:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38119:22;38144:3;:12;;38157:5;38144:19;;;;;;;;;;;;;;;;;;38119:44;;38182:5;:10;;;38194:5;:12;;;38174:33;;;;;37936:279;;;;;:::o;26498:414::-;26561:4;26583:21;26593:3;26598:5;26583:9;:21::i;:::-;26578:327;;-1:-1:-1;27:10;;39:1;23:18;;;45:23;;26621:11:0;:23;;;;;;;;;;;;;26804:18;;26782:19;;;:12;;;:19;;;;;;:40;;;;26837:11;;26578:327;-1:-1:-1;26888:5:0;26881:12;;38638:319;38732:7;38771:17;;;:12;;;:17;;;;;;38822:12;38807:13;38799:36;;;;-1:-1:-1;;;38799:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;38799:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38889:3;:12;;38913:1;38902:8;:12;38889:26;;;;;;;;;;;;;;;;;;:33;;;38882:40;;;38638:319;;;;;:::o;59382:604::-;59503:4;59530:15;:2;-1:-1:-1;;;;;59530:13:0;;:15::i;:::-;59525:60;;-1:-1:-1;59569:4:0;59562:11;;59525:60;59595:23;59621:252;-1:-1:-1;;;59734:12:0;:10;:12::i;:::-;59761:4;59780:7;59802:5;59637:181;;;;;;-1:-1:-1;;;;;59637:181:0;-1:-1:-1;;;;;59637:181:0;;;;;;-1:-1:-1;;;;;59637:181:0;-1:-1:-1;;;;;59637:181:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;59637:181:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;59637:181:0;;;;-1:-1:-1;;;;;59637:181:0;;38:4:-1;29:7;25:18;67:10;61:17;-1:-1;;;;;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;59637:181:0;59621:252;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;59621:15:0;;;:252;;:15;:252;:::i;:::-;59595:278;;59884:13;59911:10;59900:32;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;59900:32:0;-1:-1:-1;;;;;;59951:26:0;-1:-1:-1;;;59951:26:0;;-1:-1:-1;;;59382:604:0;;;;;;:::o;37251:125::-;37322:4;37346:17;;;:12;;;;;:17;;;;;;:22;;;37251:125::o;27088:1544::-;27154:4;27293:19;;;:12;;;:19;;;;;;27329:15;;27325:1300;;27764:18;;-1:-1:-1;;27715:14:0;;;;27764:22;;;;27691:21;;27764:3;;:22;;28051;;;;;;;;;;;;;;28031:42;;28197:9;28168:3;:11;;28180:13;28168:26;;;;;;;;;;;;;;;;;;;:38;;;;28274:23;;;28316:1;28274:12;;;:23;;;;;;28300:17;;;28274:43;;28426:17;;28274:3;;28426:17;;;;;;;;;;;;;;;;;;;;;;28521:3;:12;;:19;28534:5;28521:19;;;;;;;;;;;28514:26;;;28564:4;28557:11;;;;;;;;27325:1300;28608:5;28601:12;;;;;34751:692;34827:4;34962:17;;;:12;;;:17;;;;;;34996:13;34992:444;;-1:-1:-1;;35081:38:0;;;;;;;;;;;;;;;;;;27:10:-1;;39:1;23:18;;;45:23;;35063:12:0;:57;;;;;;;;;;;;;;;;;;;;;;;;35278:19;;35258:17;;;:12;;;:17;;;;;;;:39;35312:11;;34992:444;35392:5;35356:3;:12;;35380:1;35369:8;:12;35356:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;35419:5;35412:12;;;;;19553:422;19920:20;19959:8;;;19553:422::o;22471:196::-;22574:12;22606:53;22629:6;22637:4;22643:1;22646:12;23978;24011:18;24022:6;24011:10;:18::i;:::-;24003:60;;;;;-1:-1:-1;;;24003:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;24137:12;24151:23;24178:6;-1:-1:-1;;;;;24178:11:0;24198:8;24209:4;24178:36;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;24178:36:0;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;24136:78:0;;;;24229:7;24225:595;;;24260:10;-1:-1:-1;24253:17:0;;-1:-1:-1;24253:17:0;24225:595;24374:17;;:21;24370:439;;24637:10;24631:17;24698:15;24685:10;24681:2;24677:19;24670:44;24585:148;24773:20;;-1:-1:-1;;;24773:20:0;;;;;;;;;;;;;;;;;24780:12;;24773:20;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;60863:4174:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60863:4174:0;;;-1:-1:-1;60863:4174:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;

Swarm Source

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