ETH Price: $3,391.50 (-1.46%)
Gas: 2 Gwei

Token

DAO Turtles (DTS)
 

Overview

Max Total Supply

9,859 DTS

Holders

2,686

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
fezbayc.eth
Balance
1 DTS
0x59547d1673f04609dba8cb9d9d3102abec4317af
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
DAOTurtles

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

//SPDX-License-Identifier: MIT

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol

pragma solidity ^0.8.0;

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

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}
// File: @openzeppelin/contracts/token/ERC721/IERC721.sol

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

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

pragma solidity ^0.8.0;

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

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

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

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

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_msgSender());
    }

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

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

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

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

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}
// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol

pragma solidity ^0.8.0;

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

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

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

pragma solidity ^0.8.0;

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

        uint256 size;
        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");

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

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

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

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

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

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId);
    }

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

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

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

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

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

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

        _balances[to] += 1;
        _owners[tokenId] = to;

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

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

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

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

        _balances[owner] -= 1;
        delete _owners[tokenId];

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @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()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @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` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

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

pragma solidity ^0.8.0;

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) {
        return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @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 override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

// File: contracts/DAOTurtles.sol
pragma solidity ^0.8.2;

contract DAOTurtles is ERC721, ERC721Enumerable, Ownable {
    uint256 public constant MAX_SUPPLY = 10000;
    uint256 public constant AVAILABLE_FOR_PUBLIC = 9800;
    uint256 public constant PRICE = 0.05 ether;
    uint256 public constant MAX_PER_TXN = 20;
    uint256 private tokenCounter;
    bool public saleActive;

    string private URI = "https://gateway.pinata.cloud/ipfs/QmRcEveDugLLwktAV2F7KdxBvxRDx3BgvLM97wGopehV9E/";

    constructor() ERC721("DAO Turtles", "DTS") {}

    function _baseURI() internal view override returns (string memory) {
        return URI;
    }

    function setURI(string memory _URI) external onlyOwner {
        URI = _URI;
    }

    function flipSale() external onlyOwner {
        saleActive = !saleActive;
    }

    function mint(address to, uint256 amount) external payable {
        require(saleActive, "Sale inactive");
        require(amount <= MAX_PER_TXN, "Exceeds max. per txn.");
        require(amount + tokenCounter <= AVAILABLE_FOR_PUBLIC, "Supply limit");
        require(msg.value >= amount * PRICE, "Incorrect ETH");

        uint256 _tokenCounter = tokenCounter;
        for (uint256 i = 0; i < amount; i++) {
            _safeMint(to, _tokenCounter);
            _tokenCounter++;
        }
        tokenCounter = _tokenCounter;
    }

    function withdrawAll() external onlyOwner {
        payable(owner()).transfer(address(this).balance);
    }

    function forge(address to, uint256 amount) external onlyOwner {
        require(amount <= MAX_PER_TXN, "Exceeds max. per txn.");
        require(amount + tokenCounter <= MAX_SUPPLY, "Supply limit!");

        uint256 _tokenCounter = tokenCounter;
        for (uint256 i = 0; i < amount; i++) {
            _safeMint(to, _tokenCounter);
            _tokenCounter++;
        }
        tokenCounter = _tokenCounter;
    }

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

    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC721, ERC721Enumerable)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"AVAILABLE_FOR_PUBLIC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_TXN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"forge","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":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":[],"name":"saleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_URI","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101006040526051608081815290620022a560a03980516200002a91600d9160209091019062000116565b503480156200003857600080fd5b50604080518082018252600b81526a44414f20547572746c657360a81b60208083019182528351808501909452600384526244545360e81b908401528151919291620000879160009162000116565b5080516200009d90600190602084019062000116565b505050620000ba620000b4620000c060201b60201c565b620000c4565b620001f9565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200012490620001bc565b90600052602060002090601f01602090048101928262000148576000855562000193565b82601f106200016357805160ff191683800117855562000193565b8280016001018555821562000193579182015b828111156200019357825182559160200191906001019062000176565b50620001a1929150620001a5565b5090565b5b80821115620001a15760008155600101620001a6565b600181811c90821680620001d157607f821691505b60208210811415620001f357634e487b7160e01b600052602260045260246000fd5b50919050565b61209c80620002096000396000f3fe6080604052600436106101c25760003560e01c80636352211e116100f75780638d859f3e11610095578063b88d4fde11610064578063b88d4fde146104b2578063c87b56dd146104d2578063e985e9c5146104f2578063f2fde38b1461053b57600080fd5b80638d859f3e146104445780638da5cb5b1461045f57806395d89b411461047d578063a22cb4651461049257600080fd5b806370a08231116100d157806370a08231146103e5578063715018a6146104055780637ba5e6211461041a578063853828b61461042f57600080fd5b80636352211e1461038b578063641cc9d4146103ab57806368428a1b146103cb57600080fd5b80632f745c591161016457806340c10f191161013e57806340c10f191461032357806342842e0e146103365780634f6ccce71461035657806351b96d921461037657600080fd5b80632f745c59146102d757806332cb6b0c146102f7578063355260431461030d57600080fd5b8063081812fc116101a0578063081812fc14610240578063095ea7b31461027857806318160ddd1461029857806323b872dd146102b757600080fd5b806301ffc9a7146101c757806302fe5305146101fc57806306fdde031461021e575b600080fd5b3480156101d357600080fd5b506101e76101e2366004611ccb565b61055b565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b5061021c610217366004611d05565b61056c565b005b34801561022a57600080fd5b506102336105b6565b6040516101f39190611dff565b34801561024c57600080fd5b5061026061025b366004611d4e565b610648565b6040516001600160a01b0390911681526020016101f3565b34801561028457600080fd5b5061021c610293366004611ca1565b6106dd565b3480156102a457600080fd5b506008545b6040519081526020016101f3565b3480156102c357600080fd5b5061021c6102d2366004611bad565b6107f3565b3480156102e357600080fd5b506102a96102f2366004611ca1565b610824565b34801561030357600080fd5b506102a961271081565b34801561031957600080fd5b506102a961264881565b61021c610331366004611ca1565b6108ba565b34801561034257600080fd5b5061021c610351366004611bad565b610a23565b34801561036257600080fd5b506102a9610371366004611d4e565b610a3e565b34801561038257600080fd5b506102a9601481565b34801561039757600080fd5b506102606103a6366004611d4e565b610ad1565b3480156103b757600080fd5b5061021c6103c6366004611ca1565b610b48565b3480156103d757600080fd5b50600c546101e79060ff1681565b3480156103f157600080fd5b506102a9610400366004611b5f565b610c42565b34801561041157600080fd5b5061021c610cc9565b34801561042657600080fd5b5061021c610cff565b34801561043b57600080fd5b5061021c610d3d565b34801561045057600080fd5b506102a966b1a2bc2ec5000081565b34801561046b57600080fd5b50600a546001600160a01b0316610260565b34801561048957600080fd5b50610233610da3565b34801561049e57600080fd5b5061021c6104ad366004611c65565b610db2565b3480156104be57600080fd5b5061021c6104cd366004611be9565b610e77565b3480156104de57600080fd5b506102336104ed366004611d4e565b610eaf565b3480156104fe57600080fd5b506101e761050d366004611b7a565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561054757600080fd5b5061021c610556366004611b5f565b610f8a565b600061056682611022565b92915050565b600a546001600160a01b0316331461059f5760405162461bcd60e51b815260040161059690611e64565b60405180910390fd5b80516105b290600d906020840190611a34565b5050565b6060600080546105c590611f78565b80601f01602080910402602001604051908101604052809291908181526020018280546105f190611f78565b801561063e5780601f106106135761010080835404028352916020019161063e565b820191906000526020600020905b81548152906001019060200180831161062157829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106c15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610596565b506000908152600460205260409020546001600160a01b031690565b60006106e882610ad1565b9050806001600160a01b0316836001600160a01b031614156107565760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610596565b336001600160a01b03821614806107725750610772813361050d565b6107e45760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610596565b6107ee8383611047565b505050565b6107fd33826110b5565b6108195760405162461bcd60e51b815260040161059690611e99565b6107ee8383836111ac565b600061082f83610c42565b82106108915760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610596565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600c5460ff166108fc5760405162461bcd60e51b815260206004820152600d60248201526c53616c6520696e61637469766560981b6044820152606401610596565b60148111156109455760405162461bcd60e51b815260206004820152601560248201527422bc31b2b2b2399036b0bc17103832b9103a3c371760591b6044820152606401610596565b612648600b54826109569190611eea565b11156109935760405162461bcd60e51b815260206004820152600c60248201526b14dd5c1c1b1e481b1a5b5a5d60a21b6044820152606401610596565b6109a466b1a2bc2ec5000082611f16565b3410156109e35760405162461bcd60e51b815260206004820152600d60248201526c092dcc6dee4e4cac6e8408aa89609b1b6044820152606401610596565b600b5460005b82811015610a1b576109fb8483611357565b81610a0581611fb3565b9250508080610a1390611fb3565b9150506109e9565b50600b555050565b6107ee83838360405180602001604052806000815250610e77565b6000610a4960085490565b8210610aac5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610596565b60088281548110610abf57610abf612024565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806105665760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610596565b600a546001600160a01b03163314610b725760405162461bcd60e51b815260040161059690611e64565b6014811115610bbb5760405162461bcd60e51b815260206004820152601560248201527422bc31b2b2b2399036b0bc17103832b9103a3c371760591b6044820152606401610596565b612710600b5482610bcc9190611eea565b1115610c0a5760405162461bcd60e51b815260206004820152600d60248201526c537570706c79206c696d69742160981b6044820152606401610596565b600b5460005b82811015610a1b57610c228483611357565b81610c2c81611fb3565b9250508080610c3a90611fb3565b915050610c10565b60006001600160a01b038216610cad5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610596565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610cf35760405162461bcd60e51b815260040161059690611e64565b610cfd6000611371565b565b600a546001600160a01b03163314610d295760405162461bcd60e51b815260040161059690611e64565b600c805460ff19811660ff90911615179055565b600a546001600160a01b03163314610d675760405162461bcd60e51b815260040161059690611e64565b600a546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610da0573d6000803e3d6000fd5b50565b6060600180546105c590611f78565b6001600160a01b038216331415610e0b5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610596565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610e8133836110b5565b610e9d5760405162461bcd60e51b815260040161059690611e99565b610ea9848484846113c3565b50505050565b6000818152600260205260409020546060906001600160a01b0316610f2e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610596565b6000610f386113f6565b90506000815111610f585760405180602001604052806000815250610f83565b80610f6284611405565b604051602001610f73929190611d93565b6040516020818303038152906040525b9392505050565b600a546001600160a01b03163314610fb45760405162461bcd60e51b815260040161059690611e64565b6001600160a01b0381166110195760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610596565b610da081611371565b60006001600160e01b0319821663780e9d6360e01b1480610566575061056682611503565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061107c82610ad1565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661112e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610596565b600061113983610ad1565b9050806001600160a01b0316846001600160a01b031614806111745750836001600160a01b031661116984610648565b6001600160a01b0316145b806111a457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166111bf82610ad1565b6001600160a01b0316146112275760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610596565b6001600160a01b0382166112895760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610596565b611294838383611553565b61129f600082611047565b6001600160a01b03831660009081526003602052604081208054600192906112c8908490611f35565b90915550506001600160a01b03821660009081526003602052604081208054600192906112f6908490611eea565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6105b282826040518060200160405280600081525061155e565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6113ce8484846111ac565b6113da84848484611591565b610ea95760405162461bcd60e51b815260040161059690611e12565b6060600d80546105c590611f78565b6060816114295750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611453578061143d81611fb3565b915061144c9050600a83611f02565b915061142d565b60008167ffffffffffffffff81111561146e5761146e61203a565b6040519080825280601f01601f191660200182016040528015611498576020820181803683370190505b5090505b84156111a4576114ad600183611f35565b91506114ba600a86611fce565b6114c5906030611eea565b60f81b8183815181106114da576114da612024565b60200101906001600160f81b031916908160001a9053506114fc600a86611f02565b945061149c565b60006001600160e01b031982166380ac58cd60e01b148061153457506001600160e01b03198216635b5e139f60e01b145b8061056657506301ffc9a760e01b6001600160e01b0319831614610566565b6107ee83838361169e565b6115688383611756565b6115756000848484611591565b6107ee5760405162461bcd60e51b815260040161059690611e12565b60006001600160a01b0384163b1561169357604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906115d5903390899088908890600401611dc2565b602060405180830381600087803b1580156115ef57600080fd5b505af192505050801561161f575060408051601f3d908101601f1916820190925261161c91810190611ce8565b60015b611679573d80801561164d576040519150601f19603f3d011682016040523d82523d6000602084013e611652565b606091505b5080516116715760405162461bcd60e51b815260040161059690611e12565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506111a4565b506001949350505050565b6001600160a01b0383166116f9576116f481600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61171c565b816001600160a01b0316836001600160a01b03161461171c5761171c83826118a4565b6001600160a01b038216611733576107ee81611941565b826001600160a01b0316826001600160a01b0316146107ee576107ee82826119f0565b6001600160a01b0382166117ac5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610596565b6000818152600260205260409020546001600160a01b0316156118115760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610596565b61181d60008383611553565b6001600160a01b0382166000908152600360205260408120805460019290611846908490611eea565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600060016118b184610c42565b6118bb9190611f35565b60008381526007602052604090205490915080821461190e576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061195390600190611f35565b6000838152600960205260408120546008805493945090928490811061197b5761197b612024565b90600052602060002001549050806008838154811061199c5761199c612024565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806119d4576119d461200e565b6001900381819060005260206000200160009055905550505050565b60006119fb83610c42565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054611a4090611f78565b90600052602060002090601f016020900481019282611a625760008555611aa8565b82601f10611a7b57805160ff1916838001178555611aa8565b82800160010185558215611aa8579182015b82811115611aa8578251825591602001919060010190611a8d565b50611ab4929150611ab8565b5090565b5b80821115611ab45760008155600101611ab9565b600067ffffffffffffffff80841115611ae857611ae861203a565b604051601f8501601f19908116603f01168101908282118183101715611b1057611b1061203a565b81604052809350858152868686011115611b2957600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611b5a57600080fd5b919050565b600060208284031215611b7157600080fd5b610f8382611b43565b60008060408385031215611b8d57600080fd5b611b9683611b43565b9150611ba460208401611b43565b90509250929050565b600080600060608486031215611bc257600080fd5b611bcb84611b43565b9250611bd960208501611b43565b9150604084013590509250925092565b60008060008060808587031215611bff57600080fd5b611c0885611b43565b9350611c1660208601611b43565b925060408501359150606085013567ffffffffffffffff811115611c3957600080fd5b8501601f81018713611c4a57600080fd5b611c5987823560208401611acd565b91505092959194509250565b60008060408385031215611c7857600080fd5b611c8183611b43565b915060208301358015158114611c9657600080fd5b809150509250929050565b60008060408385031215611cb457600080fd5b611cbd83611b43565b946020939093013593505050565b600060208284031215611cdd57600080fd5b8135610f8381612050565b600060208284031215611cfa57600080fd5b8151610f8381612050565b600060208284031215611d1757600080fd5b813567ffffffffffffffff811115611d2e57600080fd5b8201601f81018413611d3f57600080fd5b6111a484823560208401611acd565b600060208284031215611d6057600080fd5b5035919050565b60008151808452611d7f816020860160208601611f4c565b601f01601f19169290920160200192915050565b60008351611da5818460208801611f4c565b835190830190611db9818360208801611f4c565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611df590830184611d67565b9695505050505050565b602081526000610f836020830184611d67565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115611efd57611efd611fe2565b500190565b600082611f1157611f11611ff8565b500490565b6000816000190483118215151615611f3057611f30611fe2565b500290565b600082821015611f4757611f47611fe2565b500390565b60005b83811015611f67578181015183820152602001611f4f565b83811115610ea95750506000910152565b600181811c90821680611f8c57607f821691505b60208210811415611fad57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611fc757611fc7611fe2565b5060010190565b600082611fdd57611fdd611ff8565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610da057600080fdfea26469706673582212201b7364c0e670d4e769875ff3f8c93d68835062ca4e8fe655f831890c4d7767f364736f6c6343000807003368747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d52634576654475674c4c776b7441563246374b6478427678524478334267764c4d393777476f7065685639452f

Deployed Bytecode

0x6080604052600436106101c25760003560e01c80636352211e116100f75780638d859f3e11610095578063b88d4fde11610064578063b88d4fde146104b2578063c87b56dd146104d2578063e985e9c5146104f2578063f2fde38b1461053b57600080fd5b80638d859f3e146104445780638da5cb5b1461045f57806395d89b411461047d578063a22cb4651461049257600080fd5b806370a08231116100d157806370a08231146103e5578063715018a6146104055780637ba5e6211461041a578063853828b61461042f57600080fd5b80636352211e1461038b578063641cc9d4146103ab57806368428a1b146103cb57600080fd5b80632f745c591161016457806340c10f191161013e57806340c10f191461032357806342842e0e146103365780634f6ccce71461035657806351b96d921461037657600080fd5b80632f745c59146102d757806332cb6b0c146102f7578063355260431461030d57600080fd5b8063081812fc116101a0578063081812fc14610240578063095ea7b31461027857806318160ddd1461029857806323b872dd146102b757600080fd5b806301ffc9a7146101c757806302fe5305146101fc57806306fdde031461021e575b600080fd5b3480156101d357600080fd5b506101e76101e2366004611ccb565b61055b565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b5061021c610217366004611d05565b61056c565b005b34801561022a57600080fd5b506102336105b6565b6040516101f39190611dff565b34801561024c57600080fd5b5061026061025b366004611d4e565b610648565b6040516001600160a01b0390911681526020016101f3565b34801561028457600080fd5b5061021c610293366004611ca1565b6106dd565b3480156102a457600080fd5b506008545b6040519081526020016101f3565b3480156102c357600080fd5b5061021c6102d2366004611bad565b6107f3565b3480156102e357600080fd5b506102a96102f2366004611ca1565b610824565b34801561030357600080fd5b506102a961271081565b34801561031957600080fd5b506102a961264881565b61021c610331366004611ca1565b6108ba565b34801561034257600080fd5b5061021c610351366004611bad565b610a23565b34801561036257600080fd5b506102a9610371366004611d4e565b610a3e565b34801561038257600080fd5b506102a9601481565b34801561039757600080fd5b506102606103a6366004611d4e565b610ad1565b3480156103b757600080fd5b5061021c6103c6366004611ca1565b610b48565b3480156103d757600080fd5b50600c546101e79060ff1681565b3480156103f157600080fd5b506102a9610400366004611b5f565b610c42565b34801561041157600080fd5b5061021c610cc9565b34801561042657600080fd5b5061021c610cff565b34801561043b57600080fd5b5061021c610d3d565b34801561045057600080fd5b506102a966b1a2bc2ec5000081565b34801561046b57600080fd5b50600a546001600160a01b0316610260565b34801561048957600080fd5b50610233610da3565b34801561049e57600080fd5b5061021c6104ad366004611c65565b610db2565b3480156104be57600080fd5b5061021c6104cd366004611be9565b610e77565b3480156104de57600080fd5b506102336104ed366004611d4e565b610eaf565b3480156104fe57600080fd5b506101e761050d366004611b7a565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561054757600080fd5b5061021c610556366004611b5f565b610f8a565b600061056682611022565b92915050565b600a546001600160a01b0316331461059f5760405162461bcd60e51b815260040161059690611e64565b60405180910390fd5b80516105b290600d906020840190611a34565b5050565b6060600080546105c590611f78565b80601f01602080910402602001604051908101604052809291908181526020018280546105f190611f78565b801561063e5780601f106106135761010080835404028352916020019161063e565b820191906000526020600020905b81548152906001019060200180831161062157829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106c15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610596565b506000908152600460205260409020546001600160a01b031690565b60006106e882610ad1565b9050806001600160a01b0316836001600160a01b031614156107565760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610596565b336001600160a01b03821614806107725750610772813361050d565b6107e45760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610596565b6107ee8383611047565b505050565b6107fd33826110b5565b6108195760405162461bcd60e51b815260040161059690611e99565b6107ee8383836111ac565b600061082f83610c42565b82106108915760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610596565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600c5460ff166108fc5760405162461bcd60e51b815260206004820152600d60248201526c53616c6520696e61637469766560981b6044820152606401610596565b60148111156109455760405162461bcd60e51b815260206004820152601560248201527422bc31b2b2b2399036b0bc17103832b9103a3c371760591b6044820152606401610596565b612648600b54826109569190611eea565b11156109935760405162461bcd60e51b815260206004820152600c60248201526b14dd5c1c1b1e481b1a5b5a5d60a21b6044820152606401610596565b6109a466b1a2bc2ec5000082611f16565b3410156109e35760405162461bcd60e51b815260206004820152600d60248201526c092dcc6dee4e4cac6e8408aa89609b1b6044820152606401610596565b600b5460005b82811015610a1b576109fb8483611357565b81610a0581611fb3565b9250508080610a1390611fb3565b9150506109e9565b50600b555050565b6107ee83838360405180602001604052806000815250610e77565b6000610a4960085490565b8210610aac5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610596565b60088281548110610abf57610abf612024565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806105665760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610596565b600a546001600160a01b03163314610b725760405162461bcd60e51b815260040161059690611e64565b6014811115610bbb5760405162461bcd60e51b815260206004820152601560248201527422bc31b2b2b2399036b0bc17103832b9103a3c371760591b6044820152606401610596565b612710600b5482610bcc9190611eea565b1115610c0a5760405162461bcd60e51b815260206004820152600d60248201526c537570706c79206c696d69742160981b6044820152606401610596565b600b5460005b82811015610a1b57610c228483611357565b81610c2c81611fb3565b9250508080610c3a90611fb3565b915050610c10565b60006001600160a01b038216610cad5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610596565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610cf35760405162461bcd60e51b815260040161059690611e64565b610cfd6000611371565b565b600a546001600160a01b03163314610d295760405162461bcd60e51b815260040161059690611e64565b600c805460ff19811660ff90911615179055565b600a546001600160a01b03163314610d675760405162461bcd60e51b815260040161059690611e64565b600a546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610da0573d6000803e3d6000fd5b50565b6060600180546105c590611f78565b6001600160a01b038216331415610e0b5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610596565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610e8133836110b5565b610e9d5760405162461bcd60e51b815260040161059690611e99565b610ea9848484846113c3565b50505050565b6000818152600260205260409020546060906001600160a01b0316610f2e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610596565b6000610f386113f6565b90506000815111610f585760405180602001604052806000815250610f83565b80610f6284611405565b604051602001610f73929190611d93565b6040516020818303038152906040525b9392505050565b600a546001600160a01b03163314610fb45760405162461bcd60e51b815260040161059690611e64565b6001600160a01b0381166110195760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610596565b610da081611371565b60006001600160e01b0319821663780e9d6360e01b1480610566575061056682611503565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061107c82610ad1565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661112e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610596565b600061113983610ad1565b9050806001600160a01b0316846001600160a01b031614806111745750836001600160a01b031661116984610648565b6001600160a01b0316145b806111a457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166111bf82610ad1565b6001600160a01b0316146112275760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610596565b6001600160a01b0382166112895760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610596565b611294838383611553565b61129f600082611047565b6001600160a01b03831660009081526003602052604081208054600192906112c8908490611f35565b90915550506001600160a01b03821660009081526003602052604081208054600192906112f6908490611eea565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6105b282826040518060200160405280600081525061155e565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6113ce8484846111ac565b6113da84848484611591565b610ea95760405162461bcd60e51b815260040161059690611e12565b6060600d80546105c590611f78565b6060816114295750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611453578061143d81611fb3565b915061144c9050600a83611f02565b915061142d565b60008167ffffffffffffffff81111561146e5761146e61203a565b6040519080825280601f01601f191660200182016040528015611498576020820181803683370190505b5090505b84156111a4576114ad600183611f35565b91506114ba600a86611fce565b6114c5906030611eea565b60f81b8183815181106114da576114da612024565b60200101906001600160f81b031916908160001a9053506114fc600a86611f02565b945061149c565b60006001600160e01b031982166380ac58cd60e01b148061153457506001600160e01b03198216635b5e139f60e01b145b8061056657506301ffc9a760e01b6001600160e01b0319831614610566565b6107ee83838361169e565b6115688383611756565b6115756000848484611591565b6107ee5760405162461bcd60e51b815260040161059690611e12565b60006001600160a01b0384163b1561169357604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906115d5903390899088908890600401611dc2565b602060405180830381600087803b1580156115ef57600080fd5b505af192505050801561161f575060408051601f3d908101601f1916820190925261161c91810190611ce8565b60015b611679573d80801561164d576040519150601f19603f3d011682016040523d82523d6000602084013e611652565b606091505b5080516116715760405162461bcd60e51b815260040161059690611e12565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506111a4565b506001949350505050565b6001600160a01b0383166116f9576116f481600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61171c565b816001600160a01b0316836001600160a01b03161461171c5761171c83826118a4565b6001600160a01b038216611733576107ee81611941565b826001600160a01b0316826001600160a01b0316146107ee576107ee82826119f0565b6001600160a01b0382166117ac5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610596565b6000818152600260205260409020546001600160a01b0316156118115760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610596565b61181d60008383611553565b6001600160a01b0382166000908152600360205260408120805460019290611846908490611eea565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600060016118b184610c42565b6118bb9190611f35565b60008381526007602052604090205490915080821461190e576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061195390600190611f35565b6000838152600960205260408120546008805493945090928490811061197b5761197b612024565b90600052602060002001549050806008838154811061199c5761199c612024565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806119d4576119d461200e565b6001900381819060005260206000200160009055905550505050565b60006119fb83610c42565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054611a4090611f78565b90600052602060002090601f016020900481019282611a625760008555611aa8565b82601f10611a7b57805160ff1916838001178555611aa8565b82800160010185558215611aa8579182015b82811115611aa8578251825591602001919060010190611a8d565b50611ab4929150611ab8565b5090565b5b80821115611ab45760008155600101611ab9565b600067ffffffffffffffff80841115611ae857611ae861203a565b604051601f8501601f19908116603f01168101908282118183101715611b1057611b1061203a565b81604052809350858152868686011115611b2957600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611b5a57600080fd5b919050565b600060208284031215611b7157600080fd5b610f8382611b43565b60008060408385031215611b8d57600080fd5b611b9683611b43565b9150611ba460208401611b43565b90509250929050565b600080600060608486031215611bc257600080fd5b611bcb84611b43565b9250611bd960208501611b43565b9150604084013590509250925092565b60008060008060808587031215611bff57600080fd5b611c0885611b43565b9350611c1660208601611b43565b925060408501359150606085013567ffffffffffffffff811115611c3957600080fd5b8501601f81018713611c4a57600080fd5b611c5987823560208401611acd565b91505092959194509250565b60008060408385031215611c7857600080fd5b611c8183611b43565b915060208301358015158114611c9657600080fd5b809150509250929050565b60008060408385031215611cb457600080fd5b611cbd83611b43565b946020939093013593505050565b600060208284031215611cdd57600080fd5b8135610f8381612050565b600060208284031215611cfa57600080fd5b8151610f8381612050565b600060208284031215611d1757600080fd5b813567ffffffffffffffff811115611d2e57600080fd5b8201601f81018413611d3f57600080fd5b6111a484823560208401611acd565b600060208284031215611d6057600080fd5b5035919050565b60008151808452611d7f816020860160208601611f4c565b601f01601f19169290920160200192915050565b60008351611da5818460208801611f4c565b835190830190611db9818360208801611f4c565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611df590830184611d67565b9695505050505050565b602081526000610f836020830184611d67565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115611efd57611efd611fe2565b500190565b600082611f1157611f11611ff8565b500490565b6000816000190483118215151615611f3057611f30611fe2565b500290565b600082821015611f4757611f47611fe2565b500390565b60005b83811015611f67578181015183820152602001611f4f565b83811115610ea95750506000910152565b600181811c90821680611f8c57607f821691505b60208210811415611fad57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611fc757611fc7611fe2565b5060010190565b600082611fdd57611fdd611ff8565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610da057600080fdfea26469706673582212201b7364c0e670d4e769875ff3f8c93d68835062ca4e8fe655f831890c4d7767f364736f6c63430008070033

Deployed Bytecode Sourcemap

43029:2329:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45143:212;;;;;;;;;;-1:-1:-1;45143:212:0;;;;;:::i;:::-;;:::i;:::-;;;5646:14:1;;5639:22;5621:41;;5609:2;5594:18;45143:212:0;;;;;;;;43632:84;;;;;;;;;;-1:-1:-1;43632:84:0;;;;;:::i;:::-;;:::i;:::-;;24793:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;26315:221::-;;;;;;;;;;-1:-1:-1;26315:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;4944:32:1;;;4926:51;;4914:2;4899:18;26315:221:0;4780:203:1;25875:374:0;;;;;;;;;;-1:-1:-1;25875:374:0;;;;;:::i;:::-;;:::i;37459:113::-;;;;;;;;;;-1:-1:-1;37547:10:0;:17;37459:113;;;14967:25:1;;;14955:2;14940:18;37459:113:0;14821:177:1;27205:339:0;;;;;;;;;;-1:-1:-1;27205:339:0;;;;;:::i;:::-;;:::i;37127:256::-;;;;;;;;;;-1:-1:-1;37127:256:0;;;;;:::i;:::-;;:::i;43093:42::-;;;;;;;;;;;;43130:5;43093:42;;43142:51;;;;;;;;;;;;43189:4;43142:51;;43814:545;;;;;;:::i;:::-;;:::i;27615:185::-;;;;;;;;;;-1:-1:-1;27615:185:0;;;;;:::i;:::-;;:::i;37649:233::-;;;;;;;;;;-1:-1:-1;37649:233:0;;;;;:::i;:::-;;:::i;43249:40::-;;;;;;;;;;;;43287:2;43249:40;;24487:239;;;;;;;;;;-1:-1:-1;24487:239:0;;;;;:::i;:::-;;:::i;44484:428::-;;;;;;;;;;-1:-1:-1;44484:428:0;;;;;:::i;:::-;;:::i;43331:22::-;;;;;;;;;;-1:-1:-1;43331:22:0;;;;;;;;24217:208;;;;;;;;;;-1:-1:-1;24217:208:0;;;;;:::i;:::-;;:::i;11047:94::-;;;;;;;;;;;;;:::i;43724:82::-;;;;;;;;;;;;;:::i;44367:109::-;;;;;;;;;;;;;:::i;43200:42::-;;;;;;;;;;;;43232:10;43200:42;;10396:87;;;;;;;;;;-1:-1:-1;10469:6:0;;-1:-1:-1;;;;;10469:6:0;10396:87;;24962:104;;;;;;;;;;;;;:::i;26608:295::-;;;;;;;;;;-1:-1:-1;26608:295:0;;;;;:::i;:::-;;:::i;27871:328::-;;;;;;;;;;-1:-1:-1;27871:328:0;;;;;:::i;:::-;;:::i;25137:334::-;;;;;;;;;;-1:-1:-1;25137:334:0;;;;;:::i;:::-;;:::i;26974:164::-;;;;;;;;;;-1:-1:-1;26974:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;27095:25:0;;;27071:4;27095:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26974:164;11296:192;;;;;;;;;;-1:-1:-1;11296:192:0;;;;;:::i;:::-;;:::i;45143:212::-;45282:4;45311:36;45335:11;45311:23;:36::i;:::-;45304:43;45143:212;-1:-1:-1;;45143:212:0:o;43632:84::-;10469:6;;-1:-1:-1;;;;;10469:6:0;1578:10;10616:23;10608:68;;;;-1:-1:-1;;;10608:68:0;;;;;;;:::i;:::-;;;;;;;;;43698:10;;::::1;::::0;:3:::1;::::0;:10:::1;::::0;::::1;::::0;::::1;:::i;:::-;;43632:84:::0;:::o;24793:100::-;24847:13;24880:5;24873:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24793:100;:::o;26315:221::-;26391:7;29798:16;;;:7;:16;;;;;;-1:-1:-1;;;;;29798:16:0;26411:73;;;;-1:-1:-1;;;26411:73:0;;11507:2:1;26411:73:0;;;11489:21:1;11546:2;11526:18;;;11519:30;11585:34;11565:18;;;11558:62;-1:-1:-1;;;11636:18:1;;;11629:42;11688:19;;26411:73:0;11305:408:1;26411:73:0;-1:-1:-1;26504:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;26504:24:0;;26315:221::o;25875:374::-;25956:13;25972:23;25987:7;25972:14;:23::i;:::-;25956:39;;26020:5;-1:-1:-1;;;;;26014:11:0;:2;-1:-1:-1;;;;;26014:11:0;;;26006:57;;;;-1:-1:-1;;;26006:57:0;;13107:2:1;26006:57:0;;;13089:21:1;13146:2;13126:18;;;13119:30;13185:34;13165:18;;;13158:62;-1:-1:-1;;;13236:18:1;;;13229:31;13277:19;;26006:57:0;12905:397:1;26006:57:0;1578:10;-1:-1:-1;;;;;26084:21:0;;;;:62;;-1:-1:-1;26109:37:0;26126:5;1578:10;26974:164;:::i;26109:37::-;26076:131;;;;-1:-1:-1;;;26076:131:0;;9900:2:1;26076:131:0;;;9882:21:1;9939:2;9919:18;;;9912:30;9978:34;9958:18;;;9951:62;10049:26;10029:18;;;10022:54;10093:19;;26076:131:0;9698:420:1;26076:131:0;26220:21;26229:2;26233:7;26220:8;:21::i;:::-;25945:304;25875:374;;:::o;27205:339::-;27400:41;1578:10;27433:7;27400:18;:41::i;:::-;27392:103;;;;-1:-1:-1;;;27392:103:0;;;;;;;:::i;:::-;27508:28;27518:4;27524:2;27528:7;27508:9;:28::i;37127:256::-;37224:7;37260:23;37277:5;37260:16;:23::i;:::-;37252:5;:31;37244:87;;;;-1:-1:-1;;;37244:87:0;;6449:2:1;37244:87:0;;;6431:21:1;6488:2;6468:18;;;6461:30;6527:34;6507:18;;;6500:62;-1:-1:-1;;;6578:18:1;;;6571:41;6629:19;;37244:87:0;6247:407:1;37244:87:0;-1:-1:-1;;;;;;37349:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;37127:256::o;43814:545::-;43892:10;;;;43884:36;;;;-1:-1:-1;;;43884:36:0;;9145:2:1;43884:36:0;;;9127:21:1;9184:2;9164:18;;;9157:30;-1:-1:-1;;;9203:18:1;;;9196:43;9256:18;;43884:36:0;8943:337:1;43884:36:0;43287:2;43939:6;:21;;43931:55;;;;-1:-1:-1;;;43931:55:0;;6099:2:1;43931:55:0;;;6081:21:1;6138:2;6118:18;;;6111:30;-1:-1:-1;;;6157:18:1;;;6150:51;6218:18;;43931:55:0;5897:345:1;43931:55:0;43189:4;44014:12;;44005:6;:21;;;;:::i;:::-;:45;;43997:70;;;;-1:-1:-1;;;43997:70:0;;14682:2:1;43997:70:0;;;14664:21:1;14721:2;14701:18;;;14694:30;-1:-1:-1;;;14740:18:1;;;14733:42;14792:18;;43997:70:0;14480:336:1;43997:70:0;44099:14;43232:10;44099:6;:14;:::i;:::-;44086:9;:27;;44078:53;;;;-1:-1:-1;;;44078:53:0;;8044:2:1;44078:53:0;;;8026:21:1;8083:2;8063:18;;;8056:30;-1:-1:-1;;;8102:18:1;;;8095:43;8155:18;;44078:53:0;7842:337:1;44078:53:0;44168:12;;44144:21;44191:122;44215:6;44211:1;:10;44191:122;;;44243:28;44253:2;44257:13;44243:9;:28::i;:::-;44286:15;;;;:::i;:::-;;;;44223:3;;;;;:::i;:::-;;;;44191:122;;;-1:-1:-1;44323:12:0;:28;-1:-1:-1;;43814:545:0:o;27615:185::-;27753:39;27770:4;27776:2;27780:7;27753:39;;;;;;;;;;;;:16;:39::i;37649:233::-;37724:7;37760:30;37547:10;:17;;37459:113;37760:30;37752:5;:38;37744:95;;;;-1:-1:-1;;;37744:95:0;;13927:2:1;37744:95:0;;;13909:21:1;13966:2;13946:18;;;13939:30;14005:34;13985:18;;;13978:62;-1:-1:-1;;;14056:18:1;;;14049:42;14108:19;;37744:95:0;13725:408:1;37744:95:0;37857:10;37868:5;37857:17;;;;;;;;:::i;:::-;;;;;;;;;37850:24;;37649:233;;;:::o;24487:239::-;24559:7;24595:16;;;:7;:16;;;;;;-1:-1:-1;;;;;24595:16:0;24630:19;24622:73;;;;-1:-1:-1;;;24622:73:0;;10736:2:1;24622:73:0;;;10718:21:1;10775:2;10755:18;;;10748:30;10814:34;10794:18;;;10787:62;-1:-1:-1;;;10865:18:1;;;10858:39;10914:19;;24622:73:0;10534:405:1;44484:428:0;10469:6;;-1:-1:-1;;;;;10469:6:0;1578:10;10616:23;10608:68;;;;-1:-1:-1;;;10608:68:0;;;;;;;:::i;:::-;43287:2:::1;44565:6;:21;;44557:55;;;::::0;-1:-1:-1;;;44557:55:0;;6099:2:1;44557:55:0::1;::::0;::::1;6081:21:1::0;6138:2;6118:18;;;6111:30;-1:-1:-1;;;6157:18:1;;;6150:51;6218:18;;44557:55:0::1;5897:345:1::0;44557:55:0::1;43130:5;44640:12;;44631:6;:21;;;;:::i;:::-;:35;;44623:61;;;::::0;-1:-1:-1;;;44623:61:0;;14340:2:1;44623:61:0::1;::::0;::::1;14322:21:1::0;14379:2;14359:18;;;14352:30;-1:-1:-1;;;14398:18:1;;;14391:43;14451:18;;44623:61:0::1;14138:337:1::0;44623:61:0::1;44721:12;::::0;44697:21:::1;44744:122;44768:6;44764:1;:10;44744:122;;;44796:28;44806:2;44810:13;44796:9;:28::i;:::-;44839:15:::0;::::1;::::0;::::1;:::i;:::-;;;;44776:3;;;;;:::i;:::-;;;;44744:122;;24217:208:::0;24289:7;-1:-1:-1;;;;;24317:19:0;;24309:74;;;;-1:-1:-1;;;24309:74:0;;10325:2:1;24309:74:0;;;10307:21:1;10364:2;10344:18;;;10337:30;10403:34;10383:18;;;10376:62;-1:-1:-1;;;10454:18:1;;;10447:40;10504:19;;24309:74:0;10123:406:1;24309:74:0;-1:-1:-1;;;;;;24401:16:0;;;;;:9;:16;;;;;;;24217:208::o;11047:94::-;10469:6;;-1:-1:-1;;;;;10469:6:0;1578:10;10616:23;10608:68;;;;-1:-1:-1;;;10608:68:0;;;;;;;:::i;:::-;11112:21:::1;11130:1;11112:9;:21::i;:::-;11047:94::o:0;43724:82::-;10469:6;;-1:-1:-1;;;;;10469:6:0;1578:10;10616:23;10608:68;;;;-1:-1:-1;;;10608:68:0;;;;;;;:::i;:::-;43788:10:::1;::::0;;-1:-1:-1;;43774:24:0;::::1;43788:10;::::0;;::::1;43787:11;43774:24;::::0;;43724:82::o;44367:109::-;10469:6;;-1:-1:-1;;;;;10469:6:0;1578:10;10616:23;10608:68;;;;-1:-1:-1;;;10608:68:0;;;;;;;:::i;:::-;10469:6;;44420:48:::1;::::0;-1:-1:-1;;;;;10469:6:0;;;;44446:21:::1;44420:48:::0;::::1;;;::::0;::::1;::::0;;;44446:21;10469:6;44420:48;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;44367:109::o:0;24962:104::-;25018:13;25051:7;25044:14;;;;;:::i;26608:295::-;-1:-1:-1;;;;;26711:24:0;;1578:10;26711:24;;26703:62;;;;-1:-1:-1;;;26703:62:0;;8791:2:1;26703:62:0;;;8773:21:1;8830:2;8810:18;;;8803:30;8869:27;8849:18;;;8842:55;8914:18;;26703:62:0;8589:349:1;26703:62:0;1578:10;26778:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;26778:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;26778:53:0;;;;;;;;;;26847:48;;5621:41:1;;;26778:42:0;;1578:10;26847:48;;5594:18:1;26847:48:0;;;;;;;26608:295;;:::o;27871:328::-;28046:41;1578:10;28079:7;28046:18;:41::i;:::-;28038:103;;;;-1:-1:-1;;;28038:103:0;;;;;;;:::i;:::-;28152:39;28166:4;28172:2;28176:7;28185:5;28152:13;:39::i;:::-;27871:328;;;;:::o;25137:334::-;29774:4;29798:16;;;:7;:16;;;;;;25210:13;;-1:-1:-1;;;;;29798:16:0;25236:76;;;;-1:-1:-1;;;25236:76:0;;12691:2:1;25236:76:0;;;12673:21:1;12730:2;12710:18;;;12703:30;12769:34;12749:18;;;12742:62;-1:-1:-1;;;12820:18:1;;;12813:45;12875:19;;25236:76:0;12489:411:1;25236:76:0;25325:21;25349:10;:8;:10::i;:::-;25325:34;;25401:1;25383:7;25377:21;:25;:86;;;;;;;;;;;;;;;;;25429:7;25438:18;:7;:16;:18::i;:::-;25412:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;25377:86;25370:93;25137:334;-1:-1:-1;;;25137:334:0:o;11296:192::-;10469:6;;-1:-1:-1;;;;;10469:6:0;1578:10;10616:23;10608:68;;;;-1:-1:-1;;;10608:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;11385:22:0;::::1;11377:73;;;::::0;-1:-1:-1;;;11377:73:0;;7280:2:1;11377:73:0::1;::::0;::::1;7262:21:1::0;7319:2;7299:18;;;7292:30;7358:34;7338:18;;;7331:62;-1:-1:-1;;;7409:18:1;;;7402:36;7455:19;;11377:73:0::1;7078:402:1::0;11377:73:0::1;11461:19;11471:8;11461:9;:19::i;36819:224::-:0;36921:4;-1:-1:-1;;;;;;36945:50:0;;-1:-1:-1;;;36945:50:0;;:90;;;36999:36;37023:11;36999:23;:36::i;33654:174::-;33729:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;33729:29:0;-1:-1:-1;;;;;33729:29:0;;;;;;;;:24;;33783:23;33729:24;33783:14;:23::i;:::-;-1:-1:-1;;;;;33774:46:0;;;;;;;;;;;33654:174;;:::o;30003:348::-;30096:4;29798:16;;;:7;:16;;;;;;-1:-1:-1;;;;;29798:16:0;30113:73;;;;-1:-1:-1;;;30113:73:0;;9487:2:1;30113:73:0;;;9469:21:1;9526:2;9506:18;;;9499:30;9565:34;9545:18;;;9538:62;-1:-1:-1;;;9616:18:1;;;9609:42;9668:19;;30113:73:0;9285:408:1;30113:73:0;30197:13;30213:23;30228:7;30213:14;:23::i;:::-;30197:39;;30266:5;-1:-1:-1;;;;;30255:16:0;:7;-1:-1:-1;;;;;30255:16:0;;:51;;;;30299:7;-1:-1:-1;;;;;30275:31:0;:20;30287:7;30275:11;:20::i;:::-;-1:-1:-1;;;;;30275:31:0;;30255:51;:87;;;-1:-1:-1;;;;;;27095:25:0;;;27071:4;27095:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;30310:32;30247:96;30003:348;-1:-1:-1;;;;30003:348:0:o;32958:578::-;33117:4;-1:-1:-1;;;;;33090:31:0;:23;33105:7;33090:14;:23::i;:::-;-1:-1:-1;;;;;33090:31:0;;33082:85;;;;-1:-1:-1;;;33082:85:0;;12281:2:1;33082:85:0;;;12263:21:1;12320:2;12300:18;;;12293:30;12359:34;12339:18;;;12332:62;-1:-1:-1;;;12410:18:1;;;12403:39;12459:19;;33082:85:0;12079:405:1;33082:85:0;-1:-1:-1;;;;;33186:16:0;;33178:65;;;;-1:-1:-1;;;33178:65:0;;8386:2:1;33178:65:0;;;8368:21:1;8425:2;8405:18;;;8398:30;8464:34;8444:18;;;8437:62;-1:-1:-1;;;8515:18:1;;;8508:34;8559:19;;33178:65:0;8184:400:1;33178:65:0;33256:39;33277:4;33283:2;33287:7;33256:20;:39::i;:::-;33360:29;33377:1;33381:7;33360:8;:29::i;:::-;-1:-1:-1;;;;;33402:15:0;;;;;;:9;:15;;;;;:20;;33421:1;;33402:15;:20;;33421:1;;33402:20;:::i;:::-;;;;-1:-1:-1;;;;;;;33433:13:0;;;;;;:9;:13;;;;;:18;;33450:1;;33433:13;:18;;33450:1;;33433:18;:::i;:::-;;;;-1:-1:-1;;33462:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;33462:21:0;-1:-1:-1;;;;;33462:21:0;;;;;;;;;33501:27;;33462:16;;33501:27;;;;;;;32958:578;;;:::o;30693:110::-;30769:26;30779:2;30783:7;30769:26;;;;;;;;;;;;:9;:26::i;11496:173::-;11571:6;;;-1:-1:-1;;;;;11588:17:0;;;-1:-1:-1;;;;;;11588:17:0;;;;;;;11621:40;;11571:6;;;11588:17;11571:6;;11621:40;;11552:16;;11621:40;11541:128;11496:173;:::o;29081:315::-;29238:28;29248:4;29254:2;29258:7;29238:9;:28::i;:::-;29285:48;29308:4;29314:2;29318:7;29327:5;29285:22;:48::i;:::-;29277:111;;;;-1:-1:-1;;;29277:111:0;;;;;;;:::i;43528:96::-;43580:13;43613:3;43606:10;;;;;:::i;20801:723::-;20857:13;21078:10;21074:53;;-1:-1:-1;;21105:10:0;;;;;;;;;;;;-1:-1:-1;;;21105:10:0;;;;;20801:723::o;21074:53::-;21152:5;21137:12;21193:78;21200:9;;21193:78;;21226:8;;;;:::i;:::-;;-1:-1:-1;21249:10:0;;-1:-1:-1;21257:2:0;21249:10;;:::i;:::-;;;21193:78;;;21281:19;21313:6;21303:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21303:17:0;;21281:39;;21331:154;21338:10;;21331:154;;21365:11;21375:1;21365:11;;:::i;:::-;;-1:-1:-1;21434:10:0;21442:2;21434:5;:10;:::i;:::-;21421:24;;:2;:24;:::i;:::-;21408:39;;21391:6;21398;21391:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;21391:56:0;;;;;;;;-1:-1:-1;21462:11:0;21471:2;21462:11;;:::i;:::-;;;21331:154;;23874:279;23976:4;-1:-1:-1;;;;;;24013:40:0;;-1:-1:-1;;;24013:40:0;;:92;;-1:-1:-1;;;;;;;24057:48:0;;-1:-1:-1;;;24057:48:0;24013:92;:132;;;-1:-1:-1;;;;;;;;;;8364:40:0;;;24109:36;8255:157;44920:215;45082:45;45109:4;45115:2;45119:7;45082:26;:45::i;31030:284::-;31160:18;31166:2;31170:7;31160:5;:18::i;:::-;31197:54;31228:1;31232:2;31236:7;31245:5;31197:22;:54::i;:::-;31189:117;;;;-1:-1:-1;;;31189:117:0;;;;;;;:::i;34393:799::-;34548:4;-1:-1:-1;;;;;34569:13:0;;13486:20;13534:8;34565:620;;34605:72;;-1:-1:-1;;;34605:72:0;;-1:-1:-1;;;;;34605:36:0;;;;;:72;;1578:10;;34656:4;;34662:7;;34671:5;;34605:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34605:72:0;;;;;;;;-1:-1:-1;;34605:72:0;;;;;;;;;;;;:::i;:::-;;;34601:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34847:13:0;;34843:272;;34890:60;;-1:-1:-1;;;34890:60:0;;;;;;;:::i;34843:272::-;35065:6;35059:13;35050:6;35046:2;35042:15;35035:38;34601:529;-1:-1:-1;;;;;;34728:51:0;-1:-1:-1;;;34728:51:0;;-1:-1:-1;34721:58:0;;34565:620;-1:-1:-1;35169:4:0;34393:799;;;;;;:::o;38495:589::-;-1:-1:-1;;;;;38701:18:0;;38697:187;;38736:40;38768:7;39911:10;:17;;39884:24;;;;:15;:24;;;;;:44;;;39939:24;;;;;;;;;;;;39807:164;38736:40;38697:187;;;38806:2;-1:-1:-1;;;;;38798:10:0;:4;-1:-1:-1;;;;;38798:10:0;;38794:90;;38825:47;38858:4;38864:7;38825:32;:47::i;:::-;-1:-1:-1;;;;;38898:16:0;;38894:183;;38931:45;38968:7;38931:36;:45::i;38894:183::-;39004:4;-1:-1:-1;;;;;38998:10:0;:2;-1:-1:-1;;;;;38998:10:0;;38994:83;;39025:40;39053:2;39057:7;39025:27;:40::i;31650:382::-;-1:-1:-1;;;;;31730:16:0;;31722:61;;;;-1:-1:-1;;;31722:61:0;;11146:2:1;31722:61:0;;;11128:21:1;;;11165:18;;;11158:30;11224:34;11204:18;;;11197:62;11276:18;;31722:61:0;10944:356:1;31722:61:0;29774:4;29798:16;;;:7;:16;;;;;;-1:-1:-1;;;;;29798:16:0;:30;31794:58;;;;-1:-1:-1;;;31794:58:0;;7687:2:1;31794:58:0;;;7669:21:1;7726:2;7706:18;;;7699:30;7765;7745:18;;;7738:58;7813:18;;31794:58:0;7485:352:1;31794:58:0;31865:45;31894:1;31898:2;31902:7;31865:20;:45::i;:::-;-1:-1:-1;;;;;31923:13:0;;;;;;:9;:13;;;;;:18;;31940:1;;31923:13;:18;;31940:1;;31923:18;:::i;:::-;;;;-1:-1:-1;;31952:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;31952:21:0;-1:-1:-1;;;;;31952:21:0;;;;;;;;31991:33;;31952:16;;;31991:33;;31952:16;;31991:33;31650:382;;:::o;40598:988::-;40864:22;40914:1;40889:22;40906:4;40889:16;:22::i;:::-;:26;;;;:::i;:::-;40926:18;40947:26;;;:17;:26;;;;;;40864:51;;-1:-1:-1;41080:28:0;;;41076:328;;-1:-1:-1;;;;;41147:18:0;;41125:19;41147:18;;;:12;:18;;;;;;;;:34;;;;;;;;;41198:30;;;;;;:44;;;41315:30;;:17;:30;;;;;:43;;;41076:328;-1:-1:-1;41500:26:0;;;;:17;:26;;;;;;;;41493:33;;;-1:-1:-1;;;;;41544:18:0;;;;;:12;:18;;;;;:34;;;;;;;41537:41;40598:988::o;41881:1079::-;42159:10;:17;42134:22;;42159:21;;42179:1;;42159:21;:::i;:::-;42191:18;42212:24;;;:15;:24;;;;;;42585:10;:26;;42134:46;;-1:-1:-1;42212:24:0;;42134:46;;42585:26;;;;;;:::i;:::-;;;;;;;;;42563:48;;42649:11;42624:10;42635;42624:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;42729:28;;;:15;:28;;;;;;;:41;;;42901:24;;;;;42894:31;42936:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;41952:1008;;;41881:1079;:::o;39385:221::-;39470:14;39487:20;39504:2;39487:16;:20::i;:::-;-1:-1:-1;;;;;39518:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;39563:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;39385:221:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:186::-;887:6;940:2;928:9;919:7;915:23;911:32;908:52;;;956:1;953;946:12;908:52;979:29;998:9;979:29;:::i;1019:260::-;1087:6;1095;1148:2;1136:9;1127:7;1123:23;1119:32;1116:52;;;1164:1;1161;1154:12;1116:52;1187:29;1206:9;1187:29;:::i;:::-;1177:39;;1235:38;1269:2;1258:9;1254:18;1235:38;:::i;:::-;1225:48;;1019:260;;;;;:::o;1284:328::-;1361:6;1369;1377;1430:2;1418:9;1409:7;1405:23;1401:32;1398:52;;;1446:1;1443;1436:12;1398:52;1469:29;1488:9;1469:29;:::i;:::-;1459:39;;1517:38;1551:2;1540:9;1536:18;1517:38;:::i;:::-;1507:48;;1602:2;1591:9;1587:18;1574:32;1564:42;;1284:328;;;;;:::o;1617:666::-;1712:6;1720;1728;1736;1789:3;1777:9;1768:7;1764:23;1760:33;1757:53;;;1806:1;1803;1796:12;1757:53;1829:29;1848:9;1829:29;:::i;:::-;1819:39;;1877:38;1911:2;1900:9;1896:18;1877:38;:::i;:::-;1867:48;;1962:2;1951:9;1947:18;1934:32;1924:42;;2017:2;2006:9;2002:18;1989:32;2044:18;2036:6;2033:30;2030:50;;;2076:1;2073;2066:12;2030:50;2099:22;;2152:4;2144:13;;2140:27;-1:-1:-1;2130:55:1;;2181:1;2178;2171:12;2130:55;2204:73;2269:7;2264:2;2251:16;2246:2;2242;2238:11;2204:73;:::i;:::-;2194:83;;;1617:666;;;;;;;:::o;2288:347::-;2353:6;2361;2414:2;2402:9;2393:7;2389:23;2385:32;2382:52;;;2430:1;2427;2420:12;2382:52;2453:29;2472:9;2453:29;:::i;:::-;2443:39;;2532:2;2521:9;2517:18;2504:32;2579:5;2572:13;2565:21;2558:5;2555:32;2545:60;;2601:1;2598;2591:12;2545:60;2624:5;2614:15;;;2288:347;;;;;:::o;2640:254::-;2708:6;2716;2769:2;2757:9;2748:7;2744:23;2740:32;2737:52;;;2785:1;2782;2775:12;2737:52;2808:29;2827:9;2808:29;:::i;:::-;2798:39;2884:2;2869:18;;;;2856:32;;-1:-1:-1;;;2640:254:1:o;2899:245::-;2957:6;3010:2;2998:9;2989:7;2985:23;2981:32;2978:52;;;3026:1;3023;3016:12;2978:52;3065:9;3052:23;3084:30;3108:5;3084:30;:::i;3149:249::-;3218:6;3271:2;3259:9;3250:7;3246:23;3242:32;3239:52;;;3287:1;3284;3277:12;3239:52;3319:9;3313:16;3338:30;3362:5;3338:30;:::i;3403:450::-;3472:6;3525:2;3513:9;3504:7;3500:23;3496:32;3493:52;;;3541:1;3538;3531:12;3493:52;3581:9;3568:23;3614:18;3606:6;3603:30;3600:50;;;3646:1;3643;3636:12;3600:50;3669:22;;3722:4;3714:13;;3710:27;-1:-1:-1;3700:55:1;;3751:1;3748;3741:12;3700:55;3774:73;3839:7;3834:2;3821:16;3816:2;3812;3808:11;3774:73;:::i;3858:180::-;3917:6;3970:2;3958:9;3949:7;3945:23;3941:32;3938:52;;;3986:1;3983;3976:12;3938:52;-1:-1:-1;4009:23:1;;3858:180;-1:-1:-1;3858:180:1:o;4043:257::-;4084:3;4122:5;4116:12;4149:6;4144:3;4137:19;4165:63;4221:6;4214:4;4209:3;4205:14;4198:4;4191:5;4187:16;4165:63;:::i;:::-;4282:2;4261:15;-1:-1:-1;;4257:29:1;4248:39;;;;4289:4;4244:50;;4043:257;-1:-1:-1;;4043:257:1:o;4305:470::-;4484:3;4522:6;4516:13;4538:53;4584:6;4579:3;4572:4;4564:6;4560:17;4538:53;:::i;:::-;4654:13;;4613:16;;;;4676:57;4654:13;4613:16;4710:4;4698:17;;4676:57;:::i;:::-;4749:20;;4305:470;-1:-1:-1;;;;4305:470:1:o;4988:488::-;-1:-1:-1;;;;;5257:15:1;;;5239:34;;5309:15;;5304:2;5289:18;;5282:43;5356:2;5341:18;;5334:34;;;5404:3;5399:2;5384:18;;5377:31;;;5182:4;;5425:45;;5450:19;;5442:6;5425:45;:::i;:::-;5417:53;4988:488;-1:-1:-1;;;;;;4988:488:1:o;5673:219::-;5822:2;5811:9;5804:21;5785:4;5842:44;5882:2;5871:9;5867:18;5859:6;5842:44;:::i;6659:414::-;6861:2;6843:21;;;6900:2;6880:18;;;6873:30;6939:34;6934:2;6919:18;;6912:62;-1:-1:-1;;;7005:2:1;6990:18;;6983:48;7063:3;7048:19;;6659:414::o;11718:356::-;11920:2;11902:21;;;11939:18;;;11932:30;11998:34;11993:2;11978:18;;11971:62;12065:2;12050:18;;11718:356::o;13307:413::-;13509:2;13491:21;;;13548:2;13528:18;;;13521:30;13587:34;13582:2;13567:18;;13560:62;-1:-1:-1;;;13653:2:1;13638:18;;13631:47;13710:3;13695:19;;13307:413::o;15003:128::-;15043:3;15074:1;15070:6;15067:1;15064:13;15061:39;;;15080:18;;:::i;:::-;-1:-1:-1;15116:9:1;;15003:128::o;15136:120::-;15176:1;15202;15192:35;;15207:18;;:::i;:::-;-1:-1:-1;15241:9:1;;15136:120::o;15261:168::-;15301:7;15367:1;15363;15359:6;15355:14;15352:1;15349:21;15344:1;15337:9;15330:17;15326:45;15323:71;;;15374:18;;:::i;:::-;-1:-1:-1;15414:9:1;;15261:168::o;15434:125::-;15474:4;15502:1;15499;15496:8;15493:34;;;15507:18;;:::i;:::-;-1:-1:-1;15544:9:1;;15434:125::o;15564:258::-;15636:1;15646:113;15660:6;15657:1;15654:13;15646:113;;;15736:11;;;15730:18;15717:11;;;15710:39;15682:2;15675:10;15646:113;;;15777:6;15774:1;15771:13;15768:48;;;-1:-1:-1;;15812:1:1;15794:16;;15787:27;15564:258::o;15827:380::-;15906:1;15902:12;;;;15949;;;15970:61;;16024:4;16016:6;16012:17;16002:27;;15970:61;16077:2;16069:6;16066:14;16046:18;16043:38;16040:161;;;16123:10;16118:3;16114:20;16111:1;16104:31;16158:4;16155:1;16148:15;16186:4;16183:1;16176:15;16040:161;;15827:380;;;:::o;16212:135::-;16251:3;-1:-1:-1;;16272:17:1;;16269:43;;;16292:18;;:::i;:::-;-1:-1:-1;16339:1:1;16328:13;;16212:135::o;16352:112::-;16384:1;16410;16400:35;;16415:18;;:::i;:::-;-1:-1:-1;16449:9:1;;16352:112::o;16469:127::-;16530:10;16525:3;16521:20;16518:1;16511:31;16561:4;16558:1;16551:15;16585:4;16582:1;16575:15;16601:127;16662:10;16657:3;16653:20;16650:1;16643:31;16693:4;16690:1;16683:15;16717:4;16714:1;16707:15;16733:127;16794:10;16789:3;16785:20;16782:1;16775:31;16825:4;16822:1;16815:15;16849:4;16846:1;16839:15;16865:127;16926:10;16921:3;16917:20;16914:1;16907:31;16957:4;16954:1;16947:15;16981:4;16978:1;16971:15;16997:127;17058:10;17053:3;17049:20;17046:1;17039:31;17089:4;17086:1;17079:15;17113:4;17110:1;17103:15;17129:131;-1:-1:-1;;;;;;17203:32:1;;17193:43;;17183:71;;17250:1;17247;17240:12

Swarm Source

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