ETH Price: $2,449.85 (+9.93%)

Token

Chihuahua (CH)
 

Overview

Max Total Supply

39 CH

Holders

24

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 CH
0x72d417B64b64E1807AfA6f18A97d90BBb93e56D3
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:
Chihuahua

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-07-28
*/

/**
 *Submitted for verification at Etherscan.io on 2022-07-12
*/

// SPDX-License-Identifier: MIT
pragma solidity 0.8.0;




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

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

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _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/utils/introspection/[email protected]

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


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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been whiteed 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 whiteed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

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


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

/**
 * @title 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/token/ERC721/extensions/[email protected]

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

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

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


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

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

        uint256 size;
        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/[email protected]

/**
 * @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/utils/introspection/[email protected]

/**
 * @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/[email protected]

/**
 * @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 whiteed 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/[email protected]

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

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

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


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


/**
 * @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 whites 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 @openzeppelin/contracts/utils/math/[email protected]


// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

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

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

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

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

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

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

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

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

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

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

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

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




/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Does not support burning tokens to address(0).
 */
contract ERC721A is
  Context,
  ERC165,
  IERC721,
  IERC721Metadata,
  IERC721Enumerable
{
  using Address for address;
  using Strings for uint256;

  struct TokenOwnership {
    address addr;
    uint64 startTimestamp;
  }

  struct AddressData {
    uint128 balance;
    uint128 numberMinted;
  }

  uint256 private currentIndex = 0;

  uint256 internal immutable maxBatchSize;

  // Token name
  string private _name;

  // Token symbol
  string private _symbol;

  // Mapping from token ID to ownership details
  // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.
  mapping(uint256 => TokenOwnership) private _ownerships;

  // Mapping owner address to address data
  mapping(address => AddressData) private _addressData;

  // 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
   * `maxBatchSize` refers to how much a minter can mint at a time.
   */
  constructor(
    string memory name_,
    string memory symbol_,
    uint256 maxBatchSize_
  ) {
    require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero");
    _name = name_;
    _symbol = symbol_;
    maxBatchSize = maxBatchSize_;
  }

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

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

  /**
   * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
   * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
   * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
   */
  function tokenOfOwnerByIndex(address owner, uint256 index)
    public
    view
    override
    returns (uint256)
  {
    require(index < balanceOf(owner), "ERC721A: owner index out of bounds");
    uint256 numMintedSoFar = totalSupply();
    uint256 tokenIdsIdx = 0;
    address currOwnershipAddr = address(0);
    for (uint256 i = 0; i < numMintedSoFar; i++) {
      TokenOwnership memory ownership = _ownerships[i];
      if (ownership.addr != address(0)) {
        currOwnershipAddr = ownership.addr;
      }
      if (currOwnershipAddr == owner) {
        if (tokenIdsIdx == index) {
          return i;
        }
        tokenIdsIdx++;
      }
    }
    revert("ERC721A: unable to get token of owner by index");
  }

  function walletOfOwner(address owner) public view returns(uint256[] memory) {
    uint256 tokenCount = balanceOf(owner);

    uint256[] memory tokenIds = new uint256[](tokenCount);
    if (tokenCount == 0)
    {
      return tokenIds;
    }

    uint256 numMintedSoFar = totalSupply();
    uint256 tokenIdsIdx = 0;
    address currOwnershipAddr = address(0);
    for (uint256 i = 0; i < numMintedSoFar; i++) {
      TokenOwnership memory ownership = _ownerships[i];
      if (ownership.addr != address(0)) {
        currOwnershipAddr = ownership.addr;
      }
      if (currOwnershipAddr == owner) {
        tokenIds[tokenIdsIdx] = i;
        tokenIdsIdx++;
        if (tokenIdsIdx == tokenCount) {
          return tokenIds;
        }
      }
    }
    revert("ERC721A: unable to get walletOfOwner");
  }

  /**
   * @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 ||
      interfaceId == type(IERC721Enumerable).interfaceId ||
      super.supportsInterface(interfaceId);
  }

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

  function _numberMinted(address owner) internal view returns (uint256) {
    require(
      owner != address(0),
      "ERC721A: number minted query for the zero address"
    );
    return uint256(_addressData[owner].numberMinted);
  }

  function ownershipOf(uint256 tokenId)
    internal
    view
    returns (TokenOwnership memory)
  {
    require(_exists(tokenId), "ERC721A: owner query for nonexistent token");

    uint256 lowestTokenToCheck;
    if (tokenId >= maxBatchSize) {
      lowestTokenToCheck = tokenId - maxBatchSize + 1;
    }

    for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) {
      TokenOwnership memory ownership = _ownerships[curr];
      if (ownership.addr != address(0)) {
        return ownership;
      }
    }

    revert("ERC721A: unable to determine the owner of token");
  }

  /**
   * @dev See {IERC721-ownerOf}.
   */
  function ownerOf(uint256 tokenId) public view override returns (address) {
    return ownershipOf(tokenId).addr;
  }

  /**
   * @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 override {
    address owner = ERC721A.ownerOf(tokenId);
    require(to != owner, "ERC721A: approval to current owner");

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

    _approve(to, tokenId, owner);
  }

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

    return _tokenApprovals[tokenId];
  }

  /**
   * @dev See {IERC721-setApprovalForAll}.
   */
  function setApprovalForAll(address operator, bool approved) public override {
    require(operator != _msgSender(), "ERC721A: 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 {
    _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 {
    _transfer(from, to, tokenId);
    require(
      _checkOnERC721Received(from, to, tokenId, _data),
      "ERC721A: 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`),
   */
  function _exists(uint256 tokenId) internal view returns (bool) {
    return tokenId < currentIndex;
  }

  function _safeMint(address to, uint256 quantity) internal {
    _safeMint(to, quantity, "");
  }

  /**
   * @dev Mints `quantity` tokens and transfers them to `to`.
   *
   * Requirements:
   *
   * - `to` cannot be the zero address.
   * - `quantity` cannot be larger than the max batch size.
   *
   * Emits a {Transfer} event.
   */
  function _safeMint(
    address to,
    uint256 quantity,
    bytes memory _data
  ) internal {
    uint256 startTokenId = currentIndex;
    require(to != address(0), "ERC721A: mint to the zero address");
    // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering.
    require(!_exists(startTokenId), "ERC721A: token already minted");
    require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high");

    _beforeTokenTransfers(address(0), to, startTokenId, quantity);

    AddressData memory addressData = _addressData[to];
    _addressData[to] = AddressData(
      addressData.balance + uint128(quantity),
      addressData.numberMinted + uint128(quantity)
    );
    _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp));

    uint256 updatedIndex = startTokenId;

    for (uint256 i = 0; i < quantity; i++) {
      emit Transfer(address(0), to, updatedIndex);
      require(
        _checkOnERC721Received(address(0), to, updatedIndex, _data),
        "ERC721A: transfer to non ERC721Receiver implementer"
      );
      updatedIndex++;
    }

    currentIndex = updatedIndex;
    _afterTokenTransfers(address(0), to, startTokenId, quantity);
  }

  /**
   * @dev Transfers `tokenId` from `from` to `to`.
   *
   * 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
  ) private {
    TokenOwnership memory prevOwnership = ownershipOf(tokenId);

    bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
      getApproved(tokenId) == _msgSender() ||
      isApprovedForAll(prevOwnership.addr, _msgSender()));

    require(
      isApprovedOrOwner,
      "ERC721A: transfer caller is not owner nor approved"
    );

    require(
      prevOwnership.addr == from,
      "ERC721A: transfer from incorrect owner"
    );
    require(to != address(0), "ERC721A: transfer to the zero address");

    _beforeTokenTransfers(from, to, tokenId, 1);

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

    _addressData[from].balance -= 1;
    _addressData[to].balance += 1;
    _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp));

    // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
    // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
    uint256 nextTokenId = tokenId + 1;
    if (_ownerships[nextTokenId].addr == address(0)) {
      if (_exists(nextTokenId)) {
        _ownerships[nextTokenId] = TokenOwnership(
          prevOwnership.addr,
          prevOwnership.startTimestamp
        );
      }
    }

    emit Transfer(from, to, tokenId);
    _afterTokenTransfers(from, to, tokenId, 1);
  }

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

  uint256 public nextOwnerToExplicitlySet = 0;

  /**
   * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf().
   */
  function _setOwnersExplicit(uint256 quantity) internal {
    uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet;
    require(quantity > 0, "quantity must be nonzero");
    uint256 endIndex = oldNextOwnerToSet + quantity - 1;
    if (endIndex > currentIndex - 1) {
      endIndex = currentIndex - 1;
    }
    // We know if the last one in the group exists, all in the group exist, due to serial ordering.
    require(_exists(endIndex), "not enough minted yet for this cleanup");
    for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) {
      if (_ownerships[i].addr == address(0)) {
        TokenOwnership memory ownership = ownershipOf(i);
        _ownerships[i] = TokenOwnership(
          ownership.addr,
          ownership.startTimestamp
        );
      }
    }
    nextOwnerToExplicitlySet = endIndex + 1;
  }

  /**
   * @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(to).onERC721Received.selector;
      } catch (bytes memory reason) {
        if (reason.length == 0) {
          revert("ERC721A: transfer to non ERC721Receiver implementer");
        } else {
          assembly {
            revert(add(32, reason), mload(reason))
          }
        }
      }
    } else {
      return true;
    }
  }

  /**
   * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
   *
   * startTokenId - the first token id to be transferred
   * quantity - the amount to be transferred
   *
   * 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`.
   */
  function _beforeTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 quantity
  ) internal virtual {}

  /**
   * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
   * minting.
   *
   * startTokenId - the first token id to be transferred
   * quantity - the amount to be transferred
   *
   * Calling conditions:
   *
   * - when `from` and `to` are both non-zero.
   * - `from` and `to` are never both zero.
   */
  function _afterTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 quantity
  ) internal virtual {}
}
    /**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

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

  constructor(IERC20 mgdcToken_) ERC721A("Chihuahua", "CH",20) {
      MGDC_TOKEN = IERC20(mgdcToken_);
  }

    using SafeMath for uint256;
    using Strings for uint256;

    string private baseURI;
    uint256 public constant MAX_NFT_PUBLIC = 4000;
    uint256 public constant MAX_NFT = 4000;
    uint256 public NFTPrice = 0;    //0 ETH
    uint256 public NFTPriceMgdc = 200000000000000000000;    //200 MGDC
    bool public isActive;
    
    
  

    /*
     * Function setIsActive to activate/desactivate the smart contract
    */
    function setIsActive(
        bool _isActive
    ) 
        external 
        onlyOwner 
    {
        isActive = _isActive;
    }

    /*
    * Set Price
    */
    function setPrice(
        uint256 _price,
        uint256 _priceToken
    ) 
        external 
        onlyOwner 
    {
        NFTPriceMgdc = _priceToken;
        NFTPrice = _price;

    }
    /*
     * Function to set Base and Blind URI 
    */
    function setURIs(
        string memory _URI
    ) 
        external 
        onlyOwner 
    {
        baseURI = _URI;
    }
    
    /*
     * Function to mint new NFTs during the public sale
     * It is payable. Amount is calculated as per (NFTPrice.mul(_numOfTokens))
    */
    function mintNFT(
        uint256 _numOfTokens
    )
        public
        payable
    {
        require(isActive, 'Contract is not active');
        require(balanceOf(msg.sender)+_numOfTokens<=2,"Trying to mint too much");
        require(totalSupply().add(_numOfTokens) <= MAX_NFT_PUBLIC, "Purchase would exceed max public supply of NFTs");
        require(NFTPrice.mul(_numOfTokens) == msg.value, "Ether value sent is not correct");
        _safeMint(msg.sender, _numOfTokens);
    }

    /*
     * Function to mint new NFTs during the public sale
     * It is payable. Amount is calculated as per (NFTPrice.mul(_numOfTokens))
    */
    function mintNFTWithToken(
        uint256 _numOfTokens
    )
        public
        payable
    {
        require(isActive, 'Contract is not active');
        require(balanceOf(msg.sender)+_numOfTokens<=2,"Trying to mint too much");
        require(totalSupply().add(_numOfTokens) <= MAX_NFT_PUBLIC, "Purchase would exceed max public supply of NFTs");
        require(NFTPrice.mul(_numOfTokens) == msg.value, "Ether value sent is not correct");
        MGDC_TOKEN.transferFrom(msg.sender,address(this),NFTPriceMgdc.mul(_numOfTokens));
        _safeMint(msg.sender, _numOfTokens);
    }


    /*
     * Function to mint all NFTs for giveaway and partnerships
    */
    function mintMultipleByOwner(
        address[] memory _to
    )
        public
        onlyOwner
    {
        for(uint256 i = 0; i < _to.length; i++){
            require(totalSupply()+1 <= MAX_NFT, "Tokens number to mint cannot exceed number of MAX tokens");
            _safeMint(_to[i], 1);
        }
    }

    /*
     * Function to get token URI of given token ID
     * URI will be blank untill totalSupply reaches MAX_NFT_PUBLIC
    */
    function tokenURI(
        uint256 _tokenId
    )
        public 
        view 
        virtual 
        override 
        returns (string memory) 
    {
        require(_exists(_tokenId), "ERC721Metadata: URI query for nonexistent token");
        return string(abi.encodePacked(baseURI, _tokenId.toString()));
    }

    function withdraw() external onlyOwner
    {
        uint balance = address(this).balance;
        payable(address(0xbD7D5f86f2343aDe4108b638F34f01ad1986b8A5)).transfer(balance);
    }
    
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"contract IERC20","name":"mgdcToken_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_NFT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_NFT_PUBLIC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MGDC_TOKEN","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NFTPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NFTPriceMgdc","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_to","type":"address[]"}],"name":"mintMultipleByOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numOfTokens","type":"uint256"}],"name":"mintNFT","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numOfTokens","type":"uint256"}],"name":"mintNFTWithToken","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isActive","type":"bool"}],"name":"setIsActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"uint256","name":"_priceToken","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_URI","type":"string"}],"name":"setURIs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040526000805560006007556000600b55680ad78ebc5ac6200000600c553480156200002c57600080fd5b5060405162002dab38038062002dab8339810160408190526200004f9162000222565b6040518060400160405280600981526020016843686968756168756160b81b81525060405180604001604052806002815260200161086960f31b815250601460008111620000ba5760405162461bcd60e51b8152600401620000b19062000252565b60405180910390fd5b8251620000cf9060019060208601906200017c565b508151620000e59060029060208501906200017c565b5060805250620001009050620000fa62000126565b6200012a565b600980546001600160a01b0319166001600160a01b0392909216919091179055620002d6565b3390565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200018a9062000299565b90600052602060002090601f016020900481019282620001ae5760008555620001f9565b82601f10620001c957805160ff1916838001178555620001f9565b82800160010185558215620001f9579182015b82811115620001f9578251825591602001919060010190620001dc565b50620002079291506200020b565b5090565b5b808211156200020757600081556001016200020c565b60006020828403121562000234578081fd5b81516001600160a01b03811681146200024b578182fd5b9392505050565b60208082526027908201527f455243373231413a206d61782062617463682073697a65206d757374206265206040820152666e6f6e7a65726f60c81b606082015260800190565b600281046001821680620002ae57607f821691505b60208210811415620002d057634e487b7160e01b600052602260045260246000fd5b50919050565b608051612aab620003006000396000818161157b015281816115a501526119540152612aab6000f3fe6080604052600436106101f95760003560e01c806370a082311161010d578063a38bffda116100a0578063d1d80f301161006f578063d1d80f301461041e578063d7224ba014610557578063e985e9c51461056c578063f2fde38b1461058c578063f7d97577146105ac576101f9565b8063a38bffda146104ef578063b6c7451614610504578063b88d4fde14610517578063c87b56dd14610537576101f9565b80638da5cb5b116100dc5780638da5cb5b1461049257806392642744146104a757806395d89b41146104ba578063a22cb465146104cf576101f9565b806370a0823114610433578063715018a614610453578063745b5169146104685780638a98080b1461047d576101f9565b80632f745c5911610190578063438b63001161015f578063438b6300146103915780634cdb4400146103be5780634f6ccce7146103de5780636352211e146103fe5780636fdaddf11461041e576101f9565b80632f745c591461031c5780633031fa1a1461033c5780633ccfd60b1461035c57806342842e0e14610371576101f9565b806318160ddd116101cc57806318160ddd146102a557806322f3e2d4146102c757806323b872dd146102dc5780632750fc78146102fc576101f9565b806301ffc9a7146101fe57806306fdde0314610234578063081812fc14610256578063095ea7b314610283575b600080fd5b34801561020a57600080fd5b5061021e610219366004611ed8565b6105cc565b60405161022b9190612135565b60405180910390f35b34801561024057600080fd5b5061024961062f565b60405161022b9190612140565b34801561026257600080fd5b50610276610271366004611f55565b6106c1565b60405161022b919061207c565b34801561028f57600080fd5b506102a361029e366004611dca565b61070d565b005b3480156102b157600080fd5b506102ba6107a6565b60405161022b919061286f565b3480156102d357600080fd5b5061021e6107ac565b3480156102e857600080fd5b506102a36102f7366004611ce1565b6107b5565b34801561030857600080fd5b506102a3610317366004611ea0565b6107c0565b34801561032857600080fd5b506102ba610337366004611dca565b610812565b34801561034857600080fd5b506102a3610357366004611f10565b61090d565b34801561036857600080fd5b506102a3610963565b34801561037d57600080fd5b506102a361038c366004611ce1565b6109e5565b34801561039d57600080fd5b506103b16103ac366004611c95565b610a00565b60405161022b91906120f1565b3480156103ca57600080fd5b506102a36103d9366004611df3565b610b6b565b3480156103ea57600080fd5b506102ba6103f9366004611f55565b610c2e565b34801561040a57600080fd5b50610276610419366004611f55565b610c5a565b34801561042a57600080fd5b506102ba610c6c565b34801561043f57600080fd5b506102ba61044e366004611c95565b610c72565b34801561045f57600080fd5b506102a3610cbf565b34801561047457600080fd5b506102ba610d0a565b34801561048957600080fd5b50610276610d10565b34801561049e57600080fd5b50610276610d1f565b6102a36104b5366004611f55565b610d2e565b3480156104c657600080fd5b50610249610df0565b3480156104db57600080fd5b506102a36104ea366004611d94565b610dff565b3480156104fb57600080fd5b506102ba610ecd565b6102a3610512366004611f55565b610ed3565b34801561052357600080fd5b506102a3610532366004611d1c565b611023565b34801561054357600080fd5b50610249610552366004611f55565b61105c565b34801561056357600080fd5b506102ba6110b5565b34801561057857600080fd5b5061021e610587366004611caf565b6110bb565b34801561059857600080fd5b506102a36105a7366004611c95565b6110e9565b3480156105b857600080fd5b506102a36105c7366004611f6d565b611157565b60006001600160e01b031982166380ac58cd60e01b14806105fd57506001600160e01b03198216635b5e139f60e01b145b8061061857506001600160e01b0319821663780e9d6360e01b145b8061062757506106278261119e565b90505b919050565b60606001805461063e906129a5565b80601f016020809104026020016040519081016040528092919081815260200182805461066a906129a5565b80156106b75780601f1061068c576101008083540402835291602001916106b7565b820191906000526020600020905b81548152906001019060200180831161069a57829003601f168201915b5050505050905090565b60006106cc826111b7565b6106f15760405162461bcd60e51b81526004016106e8906127e0565b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061071882610c5a565b9050806001600160a01b0316836001600160a01b0316141561074c5760405162461bcd60e51b81526004016106e890612636565b806001600160a01b031661075e6111be565b6001600160a01b0316148061077a575061077a816105876111be565b6107965760405162461bcd60e51b81526004016106e89061235f565b6107a18383836111c2565b505050565b60005490565b600d5460ff1681565b6107a183838361121e565b6107c86111be565b6001600160a01b03166107d9610d1f565b6001600160a01b0316146107ff5760405162461bcd60e51b81526004016106e8906124da565b600d805460ff1916911515919091179055565b600061081d83610c72565b821061083b5760405162461bcd60e51b81526004016106e890612153565b60006108456107a6565b905060008060005b838110156108ee576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b0316918301919091521561089f57805192505b876001600160a01b0316836001600160a01b031614156108db57868414156108cd5750935061090792505050565b836108d7816129e0565b9450505b50806108e6816129e0565b91505061084d565b5060405162461bcd60e51b81526004016106e890612743565b92915050565b6109156111be565b6001600160a01b0316610926610d1f565b6001600160a01b03161461094c5760405162461bcd60e51b81526004016106e8906124da565b805161095f90600a906020840190611b7b565b5050565b61096b6111be565b6001600160a01b031661097c610d1f565b6001600160a01b0316146109a25760405162461bcd60e51b81526004016106e8906124da565b604051479073bd7d5f86f2343ade4108b638f34f01ad1986b8a59082156108fc029083906000818181858888f1935050505015801561095f573d6000803e3d6000fd5b6107a183838360405180602001604052806000815250611023565b60606000610a0d83610c72565b90506000816001600160401b03811115610a3757634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610a60578160200160208202803683370190505b50905081610a7157915061062a9050565b6000610a7b6107a6565b905060008060005b83811015610b52576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215610ad557805192505b886001600160a01b0316836001600160a01b03161415610b3f5781868581518110610b1057634e487b7160e01b600052603260045260246000fd5b602090810291909101015283610b25816129e0565b94505086841415610b3f578597505050505050505061062a565b5080610b4a816129e0565b915050610a83565b5060405162461bcd60e51b81526004016106e890612268565b610b736111be565b6001600160a01b0316610b84610d1f565b6001600160a01b031614610baa5760405162461bcd60e51b81526004016106e8906124da565b60005b815181101561095f57610fa0610bc16107a6565b610bcc9060016128d8565b1115610bea5760405162461bcd60e51b81526004016106e8906123bc565b610c1c828281518110610c0d57634e487b7160e01b600052603260045260246000fd5b60200260200101516001611530565b80610c26816129e0565b915050610bad565b6000610c386107a6565b8210610c565760405162461bcd60e51b81526004016106e890612225565b5090565b6000610c658261154a565b5192915050565b610fa081565b60006001600160a01b038216610c9a5760405162461bcd60e51b81526004016106e890612419565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b610cc76111be565b6001600160a01b0316610cd8610d1f565b6001600160a01b031614610cfe5760405162461bcd60e51b81526004016106e8906124da565b610d08600061165c565b565b600c5481565b6009546001600160a01b031681565b6008546001600160a01b031690565b600d5460ff16610d505760405162461bcd60e51b81526004016106e890612464565b600281610d5c33610c72565b610d6691906128d8565b1115610d845760405162461bcd60e51b81526004016106e890612328565b610fa0610d9982610d936107a6565b906116ae565b1115610db75760405162461bcd60e51b81526004016106e8906125e7565b600b543490610dc690836116c1565b14610de35760405162461bcd60e51b81526004016106e8906122f1565b610ded3382611530565b50565b60606002805461063e906129a5565b610e076111be565b6001600160a01b0316826001600160a01b03161415610e385760405162461bcd60e51b81526004016106e89061255e565b8060066000610e456111be565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610e896111be565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610ec19190612135565b60405180910390a35050565b600b5481565b600d5460ff16610ef55760405162461bcd60e51b81526004016106e890612464565b600281610f0133610c72565b610f0b91906128d8565b1115610f295760405162461bcd60e51b81526004016106e890612328565b610fa0610f3882610d936107a6565b1115610f565760405162461bcd60e51b81526004016106e8906125e7565b600b543490610f6590836116c1565b14610f825760405162461bcd60e51b81526004016106e8906122f1565b600954600c546001600160a01b03909116906323b872dd9033903090610fa890866116c1565b6040518463ffffffff1660e01b8152600401610fc693929190612090565b602060405180830381600087803b158015610fe057600080fd5b505af1158015610ff4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110189190611ebc565b50610ded3382611530565b61102e84848461121e565b61103a848484846116cd565b6110565760405162461bcd60e51b81526004016106e890612678565b50505050565b6060611067826111b7565b6110835760405162461bcd60e51b81526004016106e89061250f565b600a61108e836117e9565b60405160200161109f929190611fd6565b6040516020818303038152906040529050919050565b60075481565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6110f16111be565b6001600160a01b0316611102610d1f565b6001600160a01b0316146111285760405162461bcd60e51b81526004016106e8906124da565b6001600160a01b03811661114e5760405162461bcd60e51b81526004016106e890612195565b610ded8161165c565b61115f6111be565b6001600160a01b0316611170610d1f565b6001600160a01b0316146111965760405162461bcd60e51b81526004016106e8906124da565b600c55600b55565b6001600160e01b031981166301ffc9a760e01b14919050565b6000541190565b3390565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006112298261154a565b9050600081600001516001600160a01b03166112436111be565b6001600160a01b03161480611278575061125b6111be565b6001600160a01b031661126d846106c1565b6001600160a01b0316145b8061128c5750815161128c906105876111be565b9050806112ab5760405162461bcd60e51b81526004016106e890612595565b846001600160a01b031682600001516001600160a01b0316146112e05760405162461bcd60e51b81526004016106e890612494565b6001600160a01b0384166113065760405162461bcd60e51b81526004016106e8906122ac565b6113138585856001611056565b61132360008484600001516111c2565b6001600160a01b03851660009081526004602052604081208054600192906113559084906001600160801b0316612923565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b038616600090815260046020526040812080546001945090926113a1918591166128ad565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380871682526001600160401b03428116602080850191825260008981526003909152948520935184549151909216600160a01b0267ffffffffffffffff60a01b19929093166001600160a01b031990911617161790556114368460016128d8565b6000818152600360205260409020549091506001600160a01b03166114da5761145e816111b7565b156114da5760408051808201825284516001600160a01b0390811682526020808701516001600160401b0390811682850190815260008781526003909352949091209251835494516001600160a01b031990951692169190911767ffffffffffffffff60a01b1916600160a01b93909116929092029190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46115288686866001611056565b505050505050565b61095f828260405180602001604052806000815250611903565b611552611bfb565b61155b826111b7565b6115775760405162461bcd60e51b81526004016106e8906121db565b60007f000000000000000000000000000000000000000000000000000000000000000083106115d8576115ca7f00000000000000000000000000000000000000000000000000000000000000008461294b565b6115d59060016128d8565b90505b825b818110611643576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b0316918301919091521561163057925061062a915050565b508061163b8161298e565b9150506115da565b5060405162461bcd60e51b81526004016106e890612791565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006116ba82846128d8565b9392505050565b60006116ba8284612904565b60006116e1846001600160a01b0316611b75565b156117dd57836001600160a01b031663150b7a026116fd6111be565b8786866040518563ffffffff1660e01b815260040161171f94939291906120b4565b602060405180830381600087803b15801561173957600080fd5b505af1925050508015611769575060408051601f3d908101601f1916820190925261176691810190611ef4565b60015b6117c3573d808015611797576040519150601f19603f3d011682016040523d82523d6000602084013e61179c565b606091505b5080516117bb5760405162461bcd60e51b81526004016106e890612678565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506117e1565b5060015b949350505050565b60608161180e57506040805180820190915260018152600360fc1b602082015261062a565b8160005b81156118385780611822816129e0565b91506118319050600a836128f0565b9150611812565b6000816001600160401b0381111561186057634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561188a576020820181803683370190505b5090505b84156117e15761189f60018361294b565b91506118ac600a866129fb565b6118b79060306128d8565b60f81b8183815181106118da57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506118fc600a866128f0565b945061188e565b6000546001600160a01b03841661192c5760405162461bcd60e51b81526004016106e890612702565b611935816111b7565b156119525760405162461bcd60e51b81526004016106e8906126cb565b7f00000000000000000000000000000000000000000000000000000000000000008311156119925760405162461bcd60e51b81526004016106e89061282d565b61199f6000858386611056565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b90910416918101919091528151808301909252805190919081906119fb9087906128ad565b6001600160801b03168152602001858360200151611a1991906128ad565b6001600160801b039081169091526001600160a01b03808816600081815260046020908152604080832087518154988401518816600160801b029088166fffffffffffffffffffffffffffffffff199099169890981790961696909617909455845180860186529182526001600160401b034281168386019081528883526003909552948120915182549451909516600160a01b0267ffffffffffffffff60a01b19959093166001600160a01b031990941693909317939093161790915582905b85811015611b635760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611b2760008884886116cd565b611b435760405162461bcd60e51b81526004016106e890612678565b81611b4d816129e0565b9250508080611b5b906129e0565b915050611ada565b50600081815561152890878588611056565b3b151590565b828054611b87906129a5565b90600052602060002090601f016020900481019282611ba95760008555611bef565b82601f10611bc257805160ff1916838001178555611bef565b82800160010185558215611bef579182015b82811115611bef578251825591602001919060010190611bd4565b50610c56929150611c12565b604080518082019091526000808252602082015290565b5b80821115610c565760008155600101611c13565b60006001600160401b03831115611c4057611c40612a3b565b611c53601f8401601f1916602001612878565b9050828152838383011115611c6757600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461062a57600080fd5b600060208284031215611ca6578081fd5b6116ba82611c7e565b60008060408385031215611cc1578081fd5b611cca83611c7e565b9150611cd860208401611c7e565b90509250929050565b600080600060608486031215611cf5578081fd5b611cfe84611c7e565b9250611d0c60208501611c7e565b9150604084013590509250925092565b60008060008060808587031215611d31578081fd5b611d3a85611c7e565b9350611d4860208601611c7e565b92506040850135915060608501356001600160401b03811115611d69578182fd5b8501601f81018713611d79578182fd5b611d8887823560208401611c27565b91505092959194509250565b60008060408385031215611da6578182fd5b611daf83611c7e565b91506020830135611dbf81612a51565b809150509250929050565b60008060408385031215611ddc578182fd5b611de583611c7e565b946020939093013593505050565b60006020808385031215611e05578182fd5b82356001600160401b0380821115611e1b578384fd5b818501915085601f830112611e2e578384fd5b813581811115611e4057611e40612a3b565b8381029150611e50848301612878565b8181528481019084860184860187018a1015611e6a578788fd5b8795505b83861015611e9357611e7f81611c7e565b835260019590950194918601918601611e6e565b5098975050505050505050565b600060208284031215611eb1578081fd5b81356116ba81612a51565b600060208284031215611ecd578081fd5b81516116ba81612a51565b600060208284031215611ee9578081fd5b81356116ba81612a5f565b600060208284031215611f05578081fd5b81516116ba81612a5f565b600060208284031215611f21578081fd5b81356001600160401b03811115611f36578182fd5b8201601f81018413611f46578182fd5b6117e184823560208401611c27565b600060208284031215611f66578081fd5b5035919050565b60008060408385031215611f7f578182fd5b50508035926020909101359150565b60008151808452611fa6816020860160208601612962565b601f01601f19169290920160200192915050565b60008151611fcc818560208601612962565b9290920192915050565b8254600090819060028104600180831680611ff257607f831692505b602080841082141561201257634e487b7160e01b87526022600452602487fd5b818015612026576001811461203757612063565b60ff19861689528489019650612063565b6120408b6128a1565b885b8681101561205b5781548b820152908501908301612042565b505084890196505b5050505050506120738185611fba565b95945050505050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906120e790830184611f8e565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156121295783518352928401929184019160010161210d565b50909695505050505050565b901515815260200190565b6000602082526116ba6020830184611f8e565b60208082526022908201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252602a908201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736040820152693a32b73a103a37b5b2b760b11b606082015260800190565b60208082526023908201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756040820152626e647360e81b606082015260800190565b60208082526024908201527f455243373231413a20756e61626c6520746f206765742077616c6c65744f664f6040820152633bb732b960e11b606082015260800190565b60208082526025908201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252601f908201527f45746865722076616c75652073656e74206973206e6f7420636f727265637400604082015260600190565b60208082526017908201527f547279696e6720746f206d696e7420746f6f206d756368000000000000000000604082015260600190565b60208082526039908201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000606082015260800190565b60208082526038908201527f546f6b656e73206e756d62657220746f206d696e742063616e6e6f742065786360408201527f656564206e756d626572206f66204d415820746f6b656e730000000000000000606082015260800190565b6020808252602b908201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60408201526a65726f206164647265737360a81b606082015260800190565b602080825260169082015275436f6e7472616374206973206e6f742061637469766560501b604082015260600190565b60208082526026908201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746040820152651037bbb732b960d11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b6020808252601a908201527f455243373231413a20617070726f766520746f2063616c6c6572000000000000604082015260600190565b60208082526032908201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206040820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606082015260800190565b6020808252602f908201527f507572636861736520776f756c6420657863656564206d6178207075626c696360408201526e20737570706c79206f66204e46547360881b606082015260800190565b60208082526022908201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60408201526132b960f11b606082015260800190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6020808252601d908201527f455243373231413a20746f6b656e20616c7265616479206d696e746564000000604082015260600190565b60208082526021908201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b6020808252602e908201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060408201526d0deeedccae440c4f240d2dcc8caf60931b606082015260800190565b6020808252602f908201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560408201526e1037bbb732b91037b3103a37b5b2b760891b606082015260800190565b6020808252602d908201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560408201526c3c34b9ba32b73a103a37b5b2b760991b606082015260800190565b60208082526022908201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696040820152610ced60f31b606082015260800190565b90815260200190565b6040518181016001600160401b038111828210171561289957612899612a3b565b604052919050565b60009081526020902090565b60006001600160801b038083168185168083038211156128cf576128cf612a0f565b01949350505050565b600082198211156128eb576128eb612a0f565b500190565b6000826128ff576128ff612a25565b500490565b600081600019048311821515161561291e5761291e612a0f565b500290565b60006001600160801b038381169083168181101561294357612943612a0f565b039392505050565b60008282101561295d5761295d612a0f565b500390565b60005b8381101561297d578181015183820152602001612965565b838111156110565750506000910152565b60008161299d5761299d612a0f565b506000190190565b6002810460018216806129b957607f821691505b602082108114156129da57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156129f4576129f4612a0f565b5060010190565b600082612a0a57612a0a612a25565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114610ded57600080fd5b6001600160e01b031981168114610ded57600080fdfea2646970667358221220145453691f34b854229cb7a41da135d169276e02a838b4b85a333d2d8356a34c64736f6c63430008000033000000000000000000000000cbe2eb649e838ae345056ec0ce7e77e5f8a12ee6

Deployed Bytecode

0x6080604052600436106101f95760003560e01c806370a082311161010d578063a38bffda116100a0578063d1d80f301161006f578063d1d80f301461041e578063d7224ba014610557578063e985e9c51461056c578063f2fde38b1461058c578063f7d97577146105ac576101f9565b8063a38bffda146104ef578063b6c7451614610504578063b88d4fde14610517578063c87b56dd14610537576101f9565b80638da5cb5b116100dc5780638da5cb5b1461049257806392642744146104a757806395d89b41146104ba578063a22cb465146104cf576101f9565b806370a0823114610433578063715018a614610453578063745b5169146104685780638a98080b1461047d576101f9565b80632f745c5911610190578063438b63001161015f578063438b6300146103915780634cdb4400146103be5780634f6ccce7146103de5780636352211e146103fe5780636fdaddf11461041e576101f9565b80632f745c591461031c5780633031fa1a1461033c5780633ccfd60b1461035c57806342842e0e14610371576101f9565b806318160ddd116101cc57806318160ddd146102a557806322f3e2d4146102c757806323b872dd146102dc5780632750fc78146102fc576101f9565b806301ffc9a7146101fe57806306fdde0314610234578063081812fc14610256578063095ea7b314610283575b600080fd5b34801561020a57600080fd5b5061021e610219366004611ed8565b6105cc565b60405161022b9190612135565b60405180910390f35b34801561024057600080fd5b5061024961062f565b60405161022b9190612140565b34801561026257600080fd5b50610276610271366004611f55565b6106c1565b60405161022b919061207c565b34801561028f57600080fd5b506102a361029e366004611dca565b61070d565b005b3480156102b157600080fd5b506102ba6107a6565b60405161022b919061286f565b3480156102d357600080fd5b5061021e6107ac565b3480156102e857600080fd5b506102a36102f7366004611ce1565b6107b5565b34801561030857600080fd5b506102a3610317366004611ea0565b6107c0565b34801561032857600080fd5b506102ba610337366004611dca565b610812565b34801561034857600080fd5b506102a3610357366004611f10565b61090d565b34801561036857600080fd5b506102a3610963565b34801561037d57600080fd5b506102a361038c366004611ce1565b6109e5565b34801561039d57600080fd5b506103b16103ac366004611c95565b610a00565b60405161022b91906120f1565b3480156103ca57600080fd5b506102a36103d9366004611df3565b610b6b565b3480156103ea57600080fd5b506102ba6103f9366004611f55565b610c2e565b34801561040a57600080fd5b50610276610419366004611f55565b610c5a565b34801561042a57600080fd5b506102ba610c6c565b34801561043f57600080fd5b506102ba61044e366004611c95565b610c72565b34801561045f57600080fd5b506102a3610cbf565b34801561047457600080fd5b506102ba610d0a565b34801561048957600080fd5b50610276610d10565b34801561049e57600080fd5b50610276610d1f565b6102a36104b5366004611f55565b610d2e565b3480156104c657600080fd5b50610249610df0565b3480156104db57600080fd5b506102a36104ea366004611d94565b610dff565b3480156104fb57600080fd5b506102ba610ecd565b6102a3610512366004611f55565b610ed3565b34801561052357600080fd5b506102a3610532366004611d1c565b611023565b34801561054357600080fd5b50610249610552366004611f55565b61105c565b34801561056357600080fd5b506102ba6110b5565b34801561057857600080fd5b5061021e610587366004611caf565b6110bb565b34801561059857600080fd5b506102a36105a7366004611c95565b6110e9565b3480156105b857600080fd5b506102a36105c7366004611f6d565b611157565b60006001600160e01b031982166380ac58cd60e01b14806105fd57506001600160e01b03198216635b5e139f60e01b145b8061061857506001600160e01b0319821663780e9d6360e01b145b8061062757506106278261119e565b90505b919050565b60606001805461063e906129a5565b80601f016020809104026020016040519081016040528092919081815260200182805461066a906129a5565b80156106b75780601f1061068c576101008083540402835291602001916106b7565b820191906000526020600020905b81548152906001019060200180831161069a57829003601f168201915b5050505050905090565b60006106cc826111b7565b6106f15760405162461bcd60e51b81526004016106e8906127e0565b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061071882610c5a565b9050806001600160a01b0316836001600160a01b0316141561074c5760405162461bcd60e51b81526004016106e890612636565b806001600160a01b031661075e6111be565b6001600160a01b0316148061077a575061077a816105876111be565b6107965760405162461bcd60e51b81526004016106e89061235f565b6107a18383836111c2565b505050565b60005490565b600d5460ff1681565b6107a183838361121e565b6107c86111be565b6001600160a01b03166107d9610d1f565b6001600160a01b0316146107ff5760405162461bcd60e51b81526004016106e8906124da565b600d805460ff1916911515919091179055565b600061081d83610c72565b821061083b5760405162461bcd60e51b81526004016106e890612153565b60006108456107a6565b905060008060005b838110156108ee576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b0316918301919091521561089f57805192505b876001600160a01b0316836001600160a01b031614156108db57868414156108cd5750935061090792505050565b836108d7816129e0565b9450505b50806108e6816129e0565b91505061084d565b5060405162461bcd60e51b81526004016106e890612743565b92915050565b6109156111be565b6001600160a01b0316610926610d1f565b6001600160a01b03161461094c5760405162461bcd60e51b81526004016106e8906124da565b805161095f90600a906020840190611b7b565b5050565b61096b6111be565b6001600160a01b031661097c610d1f565b6001600160a01b0316146109a25760405162461bcd60e51b81526004016106e8906124da565b604051479073bd7d5f86f2343ade4108b638f34f01ad1986b8a59082156108fc029083906000818181858888f1935050505015801561095f573d6000803e3d6000fd5b6107a183838360405180602001604052806000815250611023565b60606000610a0d83610c72565b90506000816001600160401b03811115610a3757634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610a60578160200160208202803683370190505b50905081610a7157915061062a9050565b6000610a7b6107a6565b905060008060005b83811015610b52576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215610ad557805192505b886001600160a01b0316836001600160a01b03161415610b3f5781868581518110610b1057634e487b7160e01b600052603260045260246000fd5b602090810291909101015283610b25816129e0565b94505086841415610b3f578597505050505050505061062a565b5080610b4a816129e0565b915050610a83565b5060405162461bcd60e51b81526004016106e890612268565b610b736111be565b6001600160a01b0316610b84610d1f565b6001600160a01b031614610baa5760405162461bcd60e51b81526004016106e8906124da565b60005b815181101561095f57610fa0610bc16107a6565b610bcc9060016128d8565b1115610bea5760405162461bcd60e51b81526004016106e8906123bc565b610c1c828281518110610c0d57634e487b7160e01b600052603260045260246000fd5b60200260200101516001611530565b80610c26816129e0565b915050610bad565b6000610c386107a6565b8210610c565760405162461bcd60e51b81526004016106e890612225565b5090565b6000610c658261154a565b5192915050565b610fa081565b60006001600160a01b038216610c9a5760405162461bcd60e51b81526004016106e890612419565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b610cc76111be565b6001600160a01b0316610cd8610d1f565b6001600160a01b031614610cfe5760405162461bcd60e51b81526004016106e8906124da565b610d08600061165c565b565b600c5481565b6009546001600160a01b031681565b6008546001600160a01b031690565b600d5460ff16610d505760405162461bcd60e51b81526004016106e890612464565b600281610d5c33610c72565b610d6691906128d8565b1115610d845760405162461bcd60e51b81526004016106e890612328565b610fa0610d9982610d936107a6565b906116ae565b1115610db75760405162461bcd60e51b81526004016106e8906125e7565b600b543490610dc690836116c1565b14610de35760405162461bcd60e51b81526004016106e8906122f1565b610ded3382611530565b50565b60606002805461063e906129a5565b610e076111be565b6001600160a01b0316826001600160a01b03161415610e385760405162461bcd60e51b81526004016106e89061255e565b8060066000610e456111be565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610e896111be565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610ec19190612135565b60405180910390a35050565b600b5481565b600d5460ff16610ef55760405162461bcd60e51b81526004016106e890612464565b600281610f0133610c72565b610f0b91906128d8565b1115610f295760405162461bcd60e51b81526004016106e890612328565b610fa0610f3882610d936107a6565b1115610f565760405162461bcd60e51b81526004016106e8906125e7565b600b543490610f6590836116c1565b14610f825760405162461bcd60e51b81526004016106e8906122f1565b600954600c546001600160a01b03909116906323b872dd9033903090610fa890866116c1565b6040518463ffffffff1660e01b8152600401610fc693929190612090565b602060405180830381600087803b158015610fe057600080fd5b505af1158015610ff4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110189190611ebc565b50610ded3382611530565b61102e84848461121e565b61103a848484846116cd565b6110565760405162461bcd60e51b81526004016106e890612678565b50505050565b6060611067826111b7565b6110835760405162461bcd60e51b81526004016106e89061250f565b600a61108e836117e9565b60405160200161109f929190611fd6565b6040516020818303038152906040529050919050565b60075481565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6110f16111be565b6001600160a01b0316611102610d1f565b6001600160a01b0316146111285760405162461bcd60e51b81526004016106e8906124da565b6001600160a01b03811661114e5760405162461bcd60e51b81526004016106e890612195565b610ded8161165c565b61115f6111be565b6001600160a01b0316611170610d1f565b6001600160a01b0316146111965760405162461bcd60e51b81526004016106e8906124da565b600c55600b55565b6001600160e01b031981166301ffc9a760e01b14919050565b6000541190565b3390565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006112298261154a565b9050600081600001516001600160a01b03166112436111be565b6001600160a01b03161480611278575061125b6111be565b6001600160a01b031661126d846106c1565b6001600160a01b0316145b8061128c5750815161128c906105876111be565b9050806112ab5760405162461bcd60e51b81526004016106e890612595565b846001600160a01b031682600001516001600160a01b0316146112e05760405162461bcd60e51b81526004016106e890612494565b6001600160a01b0384166113065760405162461bcd60e51b81526004016106e8906122ac565b6113138585856001611056565b61132360008484600001516111c2565b6001600160a01b03851660009081526004602052604081208054600192906113559084906001600160801b0316612923565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b038616600090815260046020526040812080546001945090926113a1918591166128ad565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380871682526001600160401b03428116602080850191825260008981526003909152948520935184549151909216600160a01b0267ffffffffffffffff60a01b19929093166001600160a01b031990911617161790556114368460016128d8565b6000818152600360205260409020549091506001600160a01b03166114da5761145e816111b7565b156114da5760408051808201825284516001600160a01b0390811682526020808701516001600160401b0390811682850190815260008781526003909352949091209251835494516001600160a01b031990951692169190911767ffffffffffffffff60a01b1916600160a01b93909116929092029190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46115288686866001611056565b505050505050565b61095f828260405180602001604052806000815250611903565b611552611bfb565b61155b826111b7565b6115775760405162461bcd60e51b81526004016106e8906121db565b60007f000000000000000000000000000000000000000000000000000000000000001483106115d8576115ca7f00000000000000000000000000000000000000000000000000000000000000148461294b565b6115d59060016128d8565b90505b825b818110611643576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b0316918301919091521561163057925061062a915050565b508061163b8161298e565b9150506115da565b5060405162461bcd60e51b81526004016106e890612791565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006116ba82846128d8565b9392505050565b60006116ba8284612904565b60006116e1846001600160a01b0316611b75565b156117dd57836001600160a01b031663150b7a026116fd6111be565b8786866040518563ffffffff1660e01b815260040161171f94939291906120b4565b602060405180830381600087803b15801561173957600080fd5b505af1925050508015611769575060408051601f3d908101601f1916820190925261176691810190611ef4565b60015b6117c3573d808015611797576040519150601f19603f3d011682016040523d82523d6000602084013e61179c565b606091505b5080516117bb5760405162461bcd60e51b81526004016106e890612678565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506117e1565b5060015b949350505050565b60608161180e57506040805180820190915260018152600360fc1b602082015261062a565b8160005b81156118385780611822816129e0565b91506118319050600a836128f0565b9150611812565b6000816001600160401b0381111561186057634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561188a576020820181803683370190505b5090505b84156117e15761189f60018361294b565b91506118ac600a866129fb565b6118b79060306128d8565b60f81b8183815181106118da57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506118fc600a866128f0565b945061188e565b6000546001600160a01b03841661192c5760405162461bcd60e51b81526004016106e890612702565b611935816111b7565b156119525760405162461bcd60e51b81526004016106e8906126cb565b7f00000000000000000000000000000000000000000000000000000000000000148311156119925760405162461bcd60e51b81526004016106e89061282d565b61199f6000858386611056565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b90910416918101919091528151808301909252805190919081906119fb9087906128ad565b6001600160801b03168152602001858360200151611a1991906128ad565b6001600160801b039081169091526001600160a01b03808816600081815260046020908152604080832087518154988401518816600160801b029088166fffffffffffffffffffffffffffffffff199099169890981790961696909617909455845180860186529182526001600160401b034281168386019081528883526003909552948120915182549451909516600160a01b0267ffffffffffffffff60a01b19959093166001600160a01b031990941693909317939093161790915582905b85811015611b635760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611b2760008884886116cd565b611b435760405162461bcd60e51b81526004016106e890612678565b81611b4d816129e0565b9250508080611b5b906129e0565b915050611ada565b50600081815561152890878588611056565b3b151590565b828054611b87906129a5565b90600052602060002090601f016020900481019282611ba95760008555611bef565b82601f10611bc257805160ff1916838001178555611bef565b82800160010185558215611bef579182015b82811115611bef578251825591602001919060010190611bd4565b50610c56929150611c12565b604080518082019091526000808252602082015290565b5b80821115610c565760008155600101611c13565b60006001600160401b03831115611c4057611c40612a3b565b611c53601f8401601f1916602001612878565b9050828152838383011115611c6757600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461062a57600080fd5b600060208284031215611ca6578081fd5b6116ba82611c7e565b60008060408385031215611cc1578081fd5b611cca83611c7e565b9150611cd860208401611c7e565b90509250929050565b600080600060608486031215611cf5578081fd5b611cfe84611c7e565b9250611d0c60208501611c7e565b9150604084013590509250925092565b60008060008060808587031215611d31578081fd5b611d3a85611c7e565b9350611d4860208601611c7e565b92506040850135915060608501356001600160401b03811115611d69578182fd5b8501601f81018713611d79578182fd5b611d8887823560208401611c27565b91505092959194509250565b60008060408385031215611da6578182fd5b611daf83611c7e565b91506020830135611dbf81612a51565b809150509250929050565b60008060408385031215611ddc578182fd5b611de583611c7e565b946020939093013593505050565b60006020808385031215611e05578182fd5b82356001600160401b0380821115611e1b578384fd5b818501915085601f830112611e2e578384fd5b813581811115611e4057611e40612a3b565b8381029150611e50848301612878565b8181528481019084860184860187018a1015611e6a578788fd5b8795505b83861015611e9357611e7f81611c7e565b835260019590950194918601918601611e6e565b5098975050505050505050565b600060208284031215611eb1578081fd5b81356116ba81612a51565b600060208284031215611ecd578081fd5b81516116ba81612a51565b600060208284031215611ee9578081fd5b81356116ba81612a5f565b600060208284031215611f05578081fd5b81516116ba81612a5f565b600060208284031215611f21578081fd5b81356001600160401b03811115611f36578182fd5b8201601f81018413611f46578182fd5b6117e184823560208401611c27565b600060208284031215611f66578081fd5b5035919050565b60008060408385031215611f7f578182fd5b50508035926020909101359150565b60008151808452611fa6816020860160208601612962565b601f01601f19169290920160200192915050565b60008151611fcc818560208601612962565b9290920192915050565b8254600090819060028104600180831680611ff257607f831692505b602080841082141561201257634e487b7160e01b87526022600452602487fd5b818015612026576001811461203757612063565b60ff19861689528489019650612063565b6120408b6128a1565b885b8681101561205b5781548b820152908501908301612042565b505084890196505b5050505050506120738185611fba565b95945050505050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906120e790830184611f8e565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156121295783518352928401929184019160010161210d565b50909695505050505050565b901515815260200190565b6000602082526116ba6020830184611f8e565b60208082526022908201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252602a908201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736040820152693a32b73a103a37b5b2b760b11b606082015260800190565b60208082526023908201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756040820152626e647360e81b606082015260800190565b60208082526024908201527f455243373231413a20756e61626c6520746f206765742077616c6c65744f664f6040820152633bb732b960e11b606082015260800190565b60208082526025908201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252601f908201527f45746865722076616c75652073656e74206973206e6f7420636f727265637400604082015260600190565b60208082526017908201527f547279696e6720746f206d696e7420746f6f206d756368000000000000000000604082015260600190565b60208082526039908201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000606082015260800190565b60208082526038908201527f546f6b656e73206e756d62657220746f206d696e742063616e6e6f742065786360408201527f656564206e756d626572206f66204d415820746f6b656e730000000000000000606082015260800190565b6020808252602b908201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60408201526a65726f206164647265737360a81b606082015260800190565b602080825260169082015275436f6e7472616374206973206e6f742061637469766560501b604082015260600190565b60208082526026908201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746040820152651037bbb732b960d11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b6020808252601a908201527f455243373231413a20617070726f766520746f2063616c6c6572000000000000604082015260600190565b60208082526032908201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206040820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606082015260800190565b6020808252602f908201527f507572636861736520776f756c6420657863656564206d6178207075626c696360408201526e20737570706c79206f66204e46547360881b606082015260800190565b60208082526022908201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60408201526132b960f11b606082015260800190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6020808252601d908201527f455243373231413a20746f6b656e20616c7265616479206d696e746564000000604082015260600190565b60208082526021908201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b6020808252602e908201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060408201526d0deeedccae440c4f240d2dcc8caf60931b606082015260800190565b6020808252602f908201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560408201526e1037bbb732b91037b3103a37b5b2b760891b606082015260800190565b6020808252602d908201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560408201526c3c34b9ba32b73a103a37b5b2b760991b606082015260800190565b60208082526022908201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696040820152610ced60f31b606082015260800190565b90815260200190565b6040518181016001600160401b038111828210171561289957612899612a3b565b604052919050565b60009081526020902090565b60006001600160801b038083168185168083038211156128cf576128cf612a0f565b01949350505050565b600082198211156128eb576128eb612a0f565b500190565b6000826128ff576128ff612a25565b500490565b600081600019048311821515161561291e5761291e612a0f565b500290565b60006001600160801b038381169083168181101561294357612943612a0f565b039392505050565b60008282101561295d5761295d612a0f565b500390565b60005b8381101561297d578181015183820152602001612965565b838111156110565750506000910152565b60008161299d5761299d612a0f565b506000190190565b6002810460018216806129b957607f821691505b602082108114156129da57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156129f4576129f4612a0f565b5060010190565b600082612a0a57612a0a612a25565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114610ded57600080fd5b6001600160e01b031981168114610ded57600080fdfea2646970667358221220145453691f34b854229cb7a41da135d169276e02a838b4b85a333d2d8356a34c64736f6c63430008000033

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

000000000000000000000000cbe2eb649e838ae345056ec0ce7e77e5f8a12ee6

-----Decoded View---------------
Arg [0] : mgdcToken_ (address): 0xcbE2Eb649e838AE345056EC0cE7E77E5f8a12Ee6

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


Deployed Bytecode Sourcemap

68963:3720:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54008:370;;;;;;;;;;-1:-1:-1;54008:370:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;55734:94;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;57259:204::-;;;;;;;;;;-1:-1:-1;57259:204:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;56822:379::-;;;;;;;;;;-1:-1:-1;56822:379:0;;;;;:::i;:::-;;:::i;:::-;;51735:94;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;69465:20::-;;;;;;;;;;;;;:::i;58109:150::-;;;;;;;;;;-1:-1:-1;58109:150:0;;;;;:::i;:::-;;:::i;69598:137::-;;;;;;;;;;-1:-1:-1;69598:137:0;;;;;:::i;:::-;;:::i;52363:744::-;;;;;;;;;;-1:-1:-1;52363:744:0;;;;;:::i;:::-;;:::i;70042:131::-;;;;;;;;;;-1:-1:-1;70042:131:0;;;;;:::i;:::-;;:::i;72486:188::-;;;;;;;;;;;;;:::i;58322:165::-;;;;;;;;;;-1:-1:-1;58322:165:0;;;;;:::i;:::-;;:::i;53113:831::-;;;;;;;;;;-1:-1:-1;53113:831:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;71685:321::-;;;;;;;;;;-1:-1:-1;71685:321:0;;;;;:::i;:::-;;:::i;51898:177::-;;;;;;;;;;-1:-1:-1;51898:177:0;;;;;:::i;:::-;;:::i;55557:118::-;;;;;;;;;;-1:-1:-1;55557:118:0;;;;;:::i;:::-;;:::i;69303:38::-;;;;;;;;;;;;;:::i;54434:211::-;;;;;;;;;;-1:-1:-1;54434:211:0;;;;;:::i;:::-;;:::i;2574:94::-;;;;;;;;;;;;;:::i;69393:51::-;;;;;;;;;;;;;:::i;69009:24::-;;;;;;;;;;;;;:::i;1923:87::-;;;;;;;;;;;;;:::i;70338:498::-;;;;;;:::i;:::-;;:::i;55889:98::-;;;;;;;;;;;;;:::i;57527:274::-;;;;;;;;;;-1:-1:-1;57527:274:0;;;;;:::i;:::-;;:::i;69348:27::-;;;;;;;;;;;;;:::i;70997:598::-;;;;;;:::i;:::-;;:::i;58550:319::-;;;;;;;;;;-1:-1:-1;58550:319:0;;;;;:::i;:::-;;:::i;72150:328::-;;;;;;;;;;-1:-1:-1;72150:328:0;;;;;:::i;:::-;;:::i;62889:43::-;;;;;;;;;;;;;:::i;57864:186::-;;;;;;;;;;-1:-1:-1;57864:186:0;;;;;:::i;:::-;;:::i;2823:192::-;;;;;;;;;;-1:-1:-1;2823:192:0;;;;;:::i;:::-;;:::i;69776:200::-;;;;;;;;;;-1:-1:-1;69776:200:0;;;;;:::i;:::-;;:::i;54008:370::-;54135:4;-1:-1:-1;;;;;;54165:40:0;;-1:-1:-1;;;54165:40:0;;:99;;-1:-1:-1;;;;;;;54216:48:0;;-1:-1:-1;;;54216:48:0;54165:99;:160;;;-1:-1:-1;;;;;;;54275:50:0;;-1:-1:-1;;;54275:50:0;54165:160;:207;;;;54336:36;54360:11;54336:23;:36::i;:::-;54151:221;;54008:370;;;;:::o;55734:94::-;55788:13;55817:5;55810:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55734:94;:::o;57259:204::-;57327:7;57351:16;57359:7;57351;:16::i;:::-;57343:74;;;;-1:-1:-1;;;57343:74:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;57433:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;57433:24:0;;57259:204::o;56822:379::-;56891:13;56907:24;56923:7;56907:15;:24::i;:::-;56891:40;;56952:5;-1:-1:-1;;;;;56946:11:0;:2;-1:-1:-1;;;;;56946:11:0;;;56938:58;;;;-1:-1:-1;;;56938:58:0;;;;;;;:::i;:::-;57037:5;-1:-1:-1;;;;;57021:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;57021:21:0;;:62;;;;57046:37;57063:5;57070:12;:10;:12::i;57046:37::-;57005:153;;;;-1:-1:-1;;;57005:153:0;;;;;;;:::i;:::-;57167:28;57176:2;57180:7;57189:5;57167:8;:28::i;:::-;56822:379;;;:::o;51735:94::-;51788:7;51811:12;51735:94;:::o;69465:20::-;;;;;;:::o;58109:150::-;58225:28;58235:4;58241:2;58245:7;58225:9;:28::i;69598:137::-;2154:12;:10;:12::i;:::-;-1:-1:-1;;;;;2143:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2143:23:0;;2135:68;;;;-1:-1:-1;;;2135:68:0;;;;;;;:::i;:::-;69707:8:::1;:20:::0;;-1:-1:-1;;69707:20:0::1;::::0;::::1;;::::0;;;::::1;::::0;;69598:137::o;52363:744::-;52472:7;52507:16;52517:5;52507:9;:16::i;:::-;52499:5;:24;52491:71;;;;-1:-1:-1;;;52491:71:0;;;;;;;:::i;:::-;52569:22;52594:13;:11;:13::i;:::-;52569:38;;52614:19;52644:25;52694:9;52689:350;52713:14;52709:1;:18;52689:350;;;52743:31;52777:14;;;:11;:14;;;;;;;;;52743:48;;;;;;;;;-1:-1:-1;;;;;52743:48:0;;;;;-1:-1:-1;;;52743:48:0;;;-1:-1:-1;;;;;52743:48:0;;;;;;;;52804:28;52800:89;;52865:14;;;-1:-1:-1;52800:89:0;52922:5;-1:-1:-1;;;;;52901:26:0;:17;-1:-1:-1;;;;;52901:26:0;;52897:135;;;52959:5;52944:11;:20;52940:59;;;-1:-1:-1;52986:1:0;-1:-1:-1;52979:8:0;;-1:-1:-1;;;52979:8:0;52940:59;53009:13;;;;:::i;:::-;;;;52897:135;-1:-1:-1;52729:3:0;;;;:::i;:::-;;;;52689:350;;;;53045:56;;-1:-1:-1;;;53045:56:0;;;;;;;:::i;52363:744::-;;;;;:::o;70042:131::-;2154:12;:10;:12::i;:::-;-1:-1:-1;;;;;2143:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2143:23:0;;2135:68;;;;-1:-1:-1;;;2135:68:0;;;;;;;:::i;:::-;70151:14;;::::1;::::0;:7:::1;::::0;:14:::1;::::0;::::1;::::0;::::1;:::i;:::-;;70042:131:::0;:::o;72486:188::-;2154:12;:10;:12::i;:::-;-1:-1:-1;;;;;2143:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2143:23:0;;2135:68;;;;-1:-1:-1;;;2135:68:0;;;;;;;:::i;:::-;72588:78:::1;::::0;72556:21:::1;::::0;72604:42:::1;::::0;72588:78;::::1;;;::::0;72556:21;;72541:12:::1;72588:78:::0;72541:12;72588:78;72556:21;72604:42;72588:78;::::1;;;;;;;;;;;;;::::0;::::1;;;;58322:165:::0;58442:39;58459:4;58465:2;58469:7;58442:39;;;;;;;;;;;;:16;:39::i;53113:831::-;53171:16;53196:18;53217:16;53227:5;53217:9;:16::i;:::-;53196:37;;53242:25;53284:10;-1:-1:-1;;;;;53270:25:0;;;;;-1:-1:-1;;;53270:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53270:25:0;-1:-1:-1;53242:53:0;-1:-1:-1;53306:15:0;53302:58;;53344:8;-1:-1:-1;53337:15:0;;-1:-1:-1;53337:15:0;53302:58;53368:22;53393:13;:11;:13::i;:::-;53368:38;;53413:19;53443:25;53493:9;53488:398;53512:14;53508:1;:18;53488:398;;;53542:31;53576:14;;;:11;:14;;;;;;;;;53542:48;;;;;;;;;-1:-1:-1;;;;;53542:48:0;;;;;-1:-1:-1;;;53542:48:0;;;-1:-1:-1;;;;;53542:48:0;;;;;;;;53603:28;53599:89;;53664:14;;;-1:-1:-1;53599:89:0;53721:5;-1:-1:-1;;;;;53700:26:0;:17;-1:-1:-1;;;;;53700:26:0;;53696:183;;;53763:1;53739:8;53748:11;53739:21;;;;;;-1:-1:-1;;;53739:21:0;;;;;;;;;;;;;;;;;;:25;53775:13;;;;:::i;:::-;;;;53818:10;53803:11;:25;53799:71;;;53850:8;53843:15;;;;;;;;;;;53799:71;-1:-1:-1;53528:3:0;;;;:::i;:::-;;;;53488:398;;;;53892:46;;-1:-1:-1;;;53892:46:0;;;;;;;:::i;71685:321::-;2154:12;:10;:12::i;:::-;-1:-1:-1;;;;;2143:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2143:23:0;;2135:68;;;;-1:-1:-1;;;2135:68:0;;;;;;;:::i;:::-;71807:9:::1;71803:196;71826:3;:10;71822:1;:14;71803:196;;;69337:4;71865:13;:11;:13::i;:::-;:15;::::0;71879:1:::1;71865:15;:::i;:::-;:26;;71857:95;;;;-1:-1:-1::0;;;71857:95:0::1;;;;;;;:::i;:::-;71967:20;71977:3;71981:1;71977:6;;;;;;-1:-1:-1::0;;;71977:6:0::1;;;;;;;;;;;;;;;71985:1;71967:9;:20::i;:::-;71838:3:::0;::::1;::::0;::::1;:::i;:::-;;;;71803:196;;51898:177:::0;51965:7;51997:13;:11;:13::i;:::-;51989:5;:21;51981:69;;;;-1:-1:-1;;;51981:69:0;;;;;;;:::i;:::-;-1:-1:-1;52064:5:0;51898:177::o;55557:118::-;55621:7;55644:20;55656:7;55644:11;:20::i;:::-;:25;;55557:118;-1:-1:-1;;55557:118:0:o;69303:38::-;69337:4;69303:38;:::o;54434:211::-;54498:7;-1:-1:-1;;;;;54522:19:0;;54514:75;;;;-1:-1:-1;;;54514:75:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;;54611:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;54611:27:0;;54434:211::o;2574:94::-;2154:12;:10;:12::i;:::-;-1:-1:-1;;;;;2143:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2143:23:0;;2135:68;;;;-1:-1:-1;;;2135:68:0;;;;;;;:::i;:::-;2639:21:::1;2657:1;2639:9;:21::i;:::-;2574:94::o:0;69393:51::-;;;;:::o;69009:24::-;;;-1:-1:-1;;;;;69009:24:0;;:::o;1923:87::-;1996:6;;-1:-1:-1;;;;;1996:6:0;1923:87;:::o;70338:498::-;70450:8;;;;70442:43;;;;-1:-1:-1;;;70442:43:0;;;;;;;:::i;:::-;70540:1;70526:12;70504:21;70514:10;70504:9;:21::i;:::-;:34;;;;:::i;:::-;:37;;70496:72;;;;-1:-1:-1;;;70496:72:0;;;;;;;:::i;:::-;69292:4;70587:31;70605:12;70587:13;:11;:13::i;:::-;:17;;:31::i;:::-;:49;;70579:109;;;;-1:-1:-1;;;70579:109:0;;;;;;;:::i;:::-;70707:8;;70737:9;;70707:26;;70720:12;70707;:26::i;:::-;:39;70699:83;;;;-1:-1:-1;;;70699:83:0;;;;;;;:::i;:::-;70793:35;70803:10;70815:12;70793:9;:35::i;:::-;70338:498;:::o;55889:98::-;55945:13;55974:7;55967:14;;;;;:::i;57527:274::-;57630:12;:10;:12::i;:::-;-1:-1:-1;;;;;57618:24:0;:8;-1:-1:-1;;;;;57618:24:0;;;57610:63;;;;-1:-1:-1;;;57610:63:0;;;;;;;:::i;:::-;57727:8;57682:18;:32;57701:12;:10;:12::i;:::-;-1:-1:-1;;;;;57682:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;57682:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;57682:53:0;;;;;;;;;;;57762:12;:10;:12::i;:::-;-1:-1:-1;;;;;57747:48:0;;57786:8;57747:48;;;;;;:::i;:::-;;;;;;;;57527:274;;:::o;69348:27::-;;;;:::o;70997:598::-;71118:8;;;;71110:43;;;;-1:-1:-1;;;71110:43:0;;;;;;;:::i;:::-;71208:1;71194:12;71172:21;71182:10;71172:9;:21::i;:::-;:34;;;;:::i;:::-;:37;;71164:72;;;;-1:-1:-1;;;71164:72:0;;;;;;;:::i;:::-;69292:4;71255:31;71273:12;71255:13;:11;:13::i;:31::-;:49;;71247:109;;;;-1:-1:-1;;;71247:109:0;;;;;;;:::i;:::-;71375:8;;71405:9;;71375:26;;71388:12;71375;:26::i;:::-;:39;71367:83;;;;-1:-1:-1;;;71367:83:0;;;;;;;:::i;:::-;71461:10;;71510:12;;-1:-1:-1;;;;;71461:10:0;;;;:23;;71485:10;;71504:4;;71510:30;;71527:12;71510:16;:30::i;:::-;71461:80;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;71552:35;71562:10;71574:12;71552:9;:35::i;58550:319::-;58695:28;58705:4;58711:2;58715:7;58695:9;:28::i;:::-;58746:48;58769:4;58775:2;58779:7;58788:5;58746:22;:48::i;:::-;58730:133;;;;-1:-1:-1;;;58730:133:0;;;;;;;:::i;:::-;58550:319;;;;:::o;72150:328::-;72289:13;72329:17;72337:8;72329:7;:17::i;:::-;72321:77;;;;-1:-1:-1;;;72321:77:0;;;;;;;:::i;:::-;72440:7;72449:19;:8;:17;:19::i;:::-;72423:46;;;;;;;;;:::i;:::-;;;;;;;;;;;;;72409:61;;72150:328;;;:::o;62889:43::-;;;;:::o;57864:186::-;-1:-1:-1;;;;;58009:25:0;;;57986:4;58009:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;57864:186::o;2823:192::-;2154:12;:10;:12::i;:::-;-1:-1:-1;;;;;2143:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2143:23:0;;2135:68;;;;-1:-1:-1;;;2135:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;2912:22:0;::::1;2904:73;;;;-1:-1:-1::0;;;2904:73:0::1;;;;;;;:::i;:::-;2988:19;2998:8;2988:9;:19::i;69776:200::-:0;2154:12;:10;:12::i;:::-;-1:-1:-1;;;;;2143:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2143:23:0;;2135:68;;;;-1:-1:-1;;;2135:68:0;;;;;;;:::i;:::-;69912:12:::1;:26:::0;69949:8:::1;:17:::0;69776:200::o;21348:157::-;-1:-1:-1;;;;;;21457:40:0;;-1:-1:-1;;;21457:40:0;21348:157;;;:::o;59108:105::-;59165:4;59195:12;-1:-1:-1;59185:22:0;59108:105::o;736:98::-;816:10;736:98;:::o;62711:172::-;62808:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;62808:29:0;-1:-1:-1;;;;;62808:29:0;;;;;;;;;62849:28;;62808:24;;62849:28;;;;;;;62711:172;;;:::o;61076:1529::-;61173:35;61211:20;61223:7;61211:11;:20::i;:::-;61173:58;;61240:22;61282:13;:18;;;-1:-1:-1;;;;;61266:34:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;61266:34:0;;:81;;;;61335:12;:10;:12::i;:::-;-1:-1:-1;;;;;61311:36:0;:20;61323:7;61311:11;:20::i;:::-;-1:-1:-1;;;;;61311:36:0;;61266:81;:142;;;-1:-1:-1;61375:18:0;;61358:50;;61395:12;:10;:12::i;61358:50::-;61240:169;;61434:17;61418:101;;;;-1:-1:-1;;;61418:101:0;;;;;;;:::i;:::-;61566:4;-1:-1:-1;;;;;61544:26:0;:13;:18;;;-1:-1:-1;;;;;61544:26:0;;61528:98;;;;-1:-1:-1;;;61528:98:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;61641:16:0;;61633:66;;;;-1:-1:-1;;;61633:66:0;;;;;;;:::i;:::-;61708:43;61730:4;61736:2;61740:7;61749:1;61708:21;:43::i;:::-;61808:49;61825:1;61829:7;61838:13;:18;;;61808:8;:49::i;:::-;-1:-1:-1;;;;;61866:18:0;;;;;;:12;:18;;;;;:31;;61896:1;;61866:18;:31;;61896:1;;-1:-1:-1;;;;;61866:31:0;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;61866:31:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;61904:16:0;;-1:-1:-1;61904:16:0;;;:12;:16;;;;;:29;;-1:-1:-1;;;61904:16:0;;:29;;-1:-1:-1;;61904:29:0;;:::i;:::-;;;-1:-1:-1;;;;;61904:29:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;61963:43:0;;;;;;;;-1:-1:-1;;;;;61963:43:0;;;;;-1:-1:-1;;;;;61989:15:0;61963:43;;;;;;;;;-1:-1:-1;61940:20:0;;;:11;:20;;;;;;:66;;;;;;;;;-1:-1:-1;;;61940:66:0;-1:-1:-1;;;;61940:66:0;;;;-1:-1:-1;;;;;;61940:66:0;;;;;;;;62256:11;61952:7;-1:-1:-1;62256:11:0;:::i;:::-;62319:1;62278:24;;;:11;:24;;;;;:29;62234:33;;-1:-1:-1;;;;;;62278:29:0;62274:236;;62336:20;62344:11;62336:7;:20::i;:::-;62332:171;;;62396:97;;;;;;;;62423:18;;-1:-1:-1;;;;;62396:97:0;;;;;;62454:28;;;;-1:-1:-1;;;;;62396:97:0;;;;;;;;;-1:-1:-1;62369:24:0;;;:11;:24;;;;;;;:124;;;;;;-1:-1:-1;;;;;;62369:124:0;;;;;;;;;-1:-1:-1;;;;62369:124:0;-1:-1:-1;;;62369:124:0;;;;;;;;;;;;;;62332:171;62542:7;62538:2;-1:-1:-1;;;;;62523:27:0;62532:4;-1:-1:-1;;;;;62523:27:0;;;;;;;;;;;62557:42;62578:4;62584:2;62588:7;62597:1;62557:20;:42::i;:::-;61076:1529;;;;;;:::o;59219:98::-;59284:27;59294:2;59298:8;59284:27;;;;;;;;;;;;:9;:27::i;54897:606::-;54973:21;;:::i;:::-;55014:16;55022:7;55014;:16::i;:::-;55006:71;;;;-1:-1:-1;;;55006:71:0;;;;;;;:::i;:::-;55086:26;55134:12;55123:7;:23;55119:93;;55178:22;55188:12;55178:7;:22;:::i;:::-;:26;;55203:1;55178:26;:::i;:::-;55157:47;;55119:93;55240:7;55220:212;55257:18;55249:4;:26;55220:212;;55294:31;55328:17;;;:11;:17;;;;;;;;;55294:51;;;;;;;;;-1:-1:-1;;;;;55294:51:0;;;;;-1:-1:-1;;;55294:51:0;;;-1:-1:-1;;;;;55294:51:0;;;;;;;;55358:28;55354:71;;55406:9;-1:-1:-1;55399:16:0;;-1:-1:-1;;55399:16:0;55354:71;-1:-1:-1;55277:6:0;;;;:::i;:::-;;;;55220:212;;;;55440:57;;-1:-1:-1;;;55440:57:0;;;;;;;:::i;3023:173::-;3098:6;;;-1:-1:-1;;;;;3115:17:0;;;-1:-1:-1;;;;;;3115:17:0;;;;;;;3148:40;;3098:6;;;3115:17;3098:6;;3148:40;;3079:16;;3148:40;3023:173;;:::o;45720:98::-;45778:7;45805:5;45809:1;45805;:5;:::i;:::-;45798:12;45720:98;-1:-1:-1;;;45720:98:0:o;46458:::-;46516:7;46543:5;46547:1;46543;:5;:::i;64422:690::-;64559:4;64576:15;:2;-1:-1:-1;;;;;64576:13:0;;:15::i;:::-;64572:535;;;64631:2;-1:-1:-1;;;;;64615:36:0;;64652:12;:10;:12::i;:::-;64666:4;64672:7;64681:5;64615:72;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;64615:72:0;;;;;;;;-1:-1:-1;;64615:72:0;;;;;;;;;;;;:::i;:::-;;;64602:464;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;64846:13:0;;64842:215;;64879:61;;-1:-1:-1;;;64879:61:0;;;;;;;:::i;64842:215::-;65025:6;65019:13;65010:6;65006:2;65002:15;64995:38;64602:464;-1:-1:-1;;;;;;64737:55:0;-1:-1:-1;;;64737:55:0;;-1:-1:-1;64730:62:0;;64572:535;-1:-1:-1;65095:4:0;64572:535;64422:690;;;;;;:::o;18816:723::-;18872:13;19093:10;19089:53;;-1:-1:-1;19120:10:0;;;;;;;;;;;;-1:-1:-1;;;19120:10:0;;;;;;19089:53;19167:5;19152:12;19208:78;19215:9;;19208:78;;19241:8;;;;:::i;:::-;;-1:-1:-1;19264:10:0;;-1:-1:-1;19272:2:0;19264:10;;:::i;:::-;;;19208:78;;;19296:19;19328:6;-1:-1:-1;;;;;19318:17:0;;;;;-1:-1:-1;;;19318:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19318:17:0;;19296:39;;19346:154;19353:10;;19346:154;;19380:11;19390:1;19380:11;;:::i;:::-;;-1:-1:-1;19449:10:0;19457:2;19449:5;:10;:::i;:::-;19436:24;;:2;:24;:::i;:::-;19423:39;;19406:6;19413;19406:14;;;;;;-1:-1:-1;;;19406:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;19406:56:0;;;;;;;;-1:-1:-1;19477:11:0;19486:2;19477:11;;:::i;:::-;;;19346:154;;59572:1272;59677:20;59700:12;-1:-1:-1;;;;;59727:16:0;;59719:62;;;;-1:-1:-1;;;59719:62:0;;;;;;;:::i;:::-;59918:21;59926:12;59918:7;:21::i;:::-;59917:22;59909:64;;;;-1:-1:-1;;;59909:64:0;;;;;;;:::i;:::-;60000:12;59988:8;:24;;59980:71;;;;-1:-1:-1;;;59980:71:0;;;;;;;:::i;:::-;60060:61;60090:1;60094:2;60098:12;60112:8;60060:21;:61::i;:::-;-1:-1:-1;;;;;60163:16:0;;60130:30;60163:16;;;:12;:16;;;;;;;;;60130:49;;;;;;;;;-1:-1:-1;;;;;60130:49:0;;;;;-1:-1:-1;;;60130:49:0;;;;;;;;;;;60205:119;;;;;;;;60225:19;;60130:49;;60205:119;;;60225:39;;60255:8;;60225:39;:::i;:::-;-1:-1:-1;;;;;60205:119:0;;;;;60308:8;60273:11;:24;;;:44;;;;:::i;:::-;-1:-1:-1;;;;;60205:119:0;;;;;;-1:-1:-1;;;;;60186:16:0;;;;;;;:12;:16;;;;;;;;:138;;;;;;;;;;-1:-1:-1;;;60186:138:0;;;;-1:-1:-1;;60186:138:0;;;;;;;;;;;;;;;;;60359:43;;;;;;;;;;-1:-1:-1;;;;;60385:15:0;60359:43;;;;;;;;60331:25;;;:11;:25;;;;;;:71;;;;;;;;;-1:-1:-1;;;60331:71:0;-1:-1:-1;;;;60331:71:0;;;;-1:-1:-1;;;;;;60331:71:0;;;;;;;;;;;;;;;60343:12;;60455:281;60479:8;60475:1;:12;60455:281;;;60508:38;;60533:12;;-1:-1:-1;;;;;60508:38:0;;;60525:1;;60508:38;;60525:1;;60508:38;60573:59;60604:1;60608:2;60612:12;60626:5;60573:22;:59::i;:::-;60555:150;;;;-1:-1:-1;;;60555:150:0;;;;;;;:::i;:::-;60714:14;;;;:::i;:::-;;;;60489:3;;;;;:::i;:::-;;;;60455:281;;;-1:-1:-1;60744:12:0;:27;;;60778:60;;60811:2;60815:12;60829:8;60778:20;:60::i;11199:387::-;11522:20;11570:8;;;11199:387::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;14:409:1;;-1:-1:-1;;;;;106:6:1;103:30;100:2;;;136:18;;:::i;:::-;174:58;220:2;197:17;;-1:-1:-1;;193:31:1;226:4;189:42;174:58;:::i;:::-;165:67;;255:6;248:5;241:21;295:3;286:6;281:3;277:16;274:25;271:2;;;312:1;309;302:12;271:2;361:6;356:3;349:4;342:5;338:16;325:43;415:1;408:4;399:6;392:5;388:18;384:29;377:40;90:333;;;;;:::o;428:175::-;498:20;;-1:-1:-1;;;;;547:31:1;;537:42;;527:2;;593:1;590;583:12;608:198;;720:2;708:9;699:7;695:23;691:32;688:2;;;741:6;733;726:22;688:2;769:31;790:9;769:31;:::i;811:274::-;;;940:2;928:9;919:7;915:23;911:32;908:2;;;961:6;953;946:22;908:2;989:31;1010:9;989:31;:::i;:::-;979:41;;1039:40;1075:2;1064:9;1060:18;1039:40;:::i;:::-;1029:50;;898:187;;;;;:::o;1090:342::-;;;;1236:2;1224:9;1215:7;1211:23;1207:32;1204:2;;;1257:6;1249;1242:22;1204:2;1285:31;1306:9;1285:31;:::i;:::-;1275:41;;1335:40;1371:2;1360:9;1356:18;1335:40;:::i;:::-;1325:50;;1422:2;1411:9;1407:18;1394:32;1384:42;;1194:238;;;;;:::o;1437:702::-;;;;;1609:3;1597:9;1588:7;1584:23;1580:33;1577:2;;;1631:6;1623;1616:22;1577:2;1659:31;1680:9;1659:31;:::i;:::-;1649:41;;1709:40;1745:2;1734:9;1730:18;1709:40;:::i;:::-;1699:50;;1796:2;1785:9;1781:18;1768:32;1758:42;;1851:2;1840:9;1836:18;1823:32;-1:-1:-1;;;;;1870:6:1;1867:30;1864:2;;;1915:6;1907;1900:22;1864:2;1943:22;;1996:4;1988:13;;1984:27;-1:-1:-1;1974:2:1;;2030:6;2022;2015:22;1974:2;2058:75;2125:7;2120:2;2107:16;2102:2;2098;2094:11;2058:75;:::i;:::-;2048:85;;;1567:572;;;;;;;:::o;2144:329::-;;;2270:2;2258:9;2249:7;2245:23;2241:32;2238:2;;;2291:6;2283;2276:22;2238:2;2319:31;2340:9;2319:31;:::i;:::-;2309:41;;2400:2;2389:9;2385:18;2372:32;2413:30;2437:5;2413:30;:::i;:::-;2462:5;2452:15;;;2228:245;;;;;:::o;2478:266::-;;;2607:2;2595:9;2586:7;2582:23;2578:32;2575:2;;;2628:6;2620;2613:22;2575:2;2656:31;2677:9;2656:31;:::i;:::-;2646:41;2734:2;2719:18;;;;2706:32;;-1:-1:-1;;;2565:179:1:o;2749:1010::-;;2864:2;2907;2895:9;2886:7;2882:23;2878:32;2875:2;;;2928:6;2920;2913:22;2875:2;2973:9;2960:23;-1:-1:-1;;;;;3043:2:1;3035:6;3032:14;3029:2;;;3064:6;3056;3049:22;3029:2;3107:6;3096:9;3092:22;3082:32;;3152:7;3145:4;3141:2;3137:13;3133:27;3123:2;;3179:6;3171;3164:22;3123:2;3220;3207:16;3242:2;3238;3235:10;3232:2;;;3248:18;;:::i;:::-;3295:2;3291;3287:11;3277:21;;3318:27;3341:2;3337;3333:11;3318:27;:::i;:::-;3379:15;;;3410:12;;;;3442:11;;;3472;;;3468:20;;3465:33;-1:-1:-1;3462:2:1;;;3516:6;3508;3501:22;3462:2;3543:6;3534:15;;3558:171;3572:2;3569:1;3566:9;3558:171;;;3629:25;3650:3;3629:25;:::i;:::-;3617:38;;3590:1;3583:9;;;;;3675:12;;;;3707;;3558:171;;;-1:-1:-1;3748:5:1;2844:915;-1:-1:-1;;;;;;;;2844:915:1:o;3764:253::-;;3873:2;3861:9;3852:7;3848:23;3844:32;3841:2;;;3894:6;3886;3879:22;3841:2;3938:9;3925:23;3957:30;3981:5;3957:30;:::i;4022:257::-;;4142:2;4130:9;4121:7;4117:23;4113:32;4110:2;;;4163:6;4155;4148:22;4110:2;4200:9;4194:16;4219:30;4243:5;4219:30;:::i;4284:257::-;;4395:2;4383:9;4374:7;4370:23;4366:32;4363:2;;;4416:6;4408;4401:22;4363:2;4460:9;4447:23;4479:32;4505:5;4479:32;:::i;4546:261::-;;4668:2;4656:9;4647:7;4643:23;4639:32;4636:2;;;4689:6;4681;4674:22;4636:2;4726:9;4720:16;4745:32;4771:5;4745:32;:::i;4812:482::-;;4934:2;4922:9;4913:7;4909:23;4905:32;4902:2;;;4955:6;4947;4940:22;4902:2;5000:9;4987:23;-1:-1:-1;;;;;5025:6:1;5022:30;5019:2;;;5070:6;5062;5055:22;5019:2;5098:22;;5151:4;5143:13;;5139:27;-1:-1:-1;5129:2:1;;5185:6;5177;5170:22;5129:2;5213:75;5280:7;5275:2;5262:16;5257:2;5253;5249:11;5213:75;:::i;5299:190::-;;5411:2;5399:9;5390:7;5386:23;5382:32;5379:2;;;5432:6;5424;5417:22;5379:2;-1:-1:-1;5460:23:1;;5369:120;-1:-1:-1;5369:120:1:o;5494:258::-;;;5623:2;5611:9;5602:7;5598:23;5594:32;5591:2;;;5644:6;5636;5629:22;5591:2;-1:-1:-1;;5672:23:1;;;5742:2;5727:18;;;5714:32;;-1:-1:-1;5581:171:1:o;5757:259::-;;5838:5;5832:12;5865:6;5860:3;5853:19;5881:63;5937:6;5930:4;5925:3;5921:14;5914:4;5907:5;5903:16;5881:63;:::i;:::-;5998:2;5977:15;-1:-1:-1;;5973:29:1;5964:39;;;;6005:4;5960:50;;5808:208;-1:-1:-1;;5808:208:1:o;6021:187::-;;6103:5;6097:12;6118:52;6163:6;6158:3;6151:4;6144:5;6140:16;6118:52;:::i;:::-;6186:16;;;;;6073:135;-1:-1:-1;;6073:135:1:o;6213:1181::-;6447:13;;6213:1181;;;;6520:1;6505:17;;6541:1;6577:18;;;;6604:2;;6658:4;6650:6;6646:17;6636:27;;6604:2;6684;6732;6724:6;6721:14;6701:18;6698:38;6695:2;;;-1:-1:-1;;;6759:33:1;;6815:4;6812:1;6805:15;6845:4;6766:3;6833:17;6695:2;6876:18;6903:104;;;;7021:1;7016:324;;;;6869:471;;6903:104;-1:-1:-1;;6936:24:1;;6924:37;;6981:16;;;;-1:-1:-1;6903:104:1;;7016:324;7052:39;7084:6;7052:39;:::i;:::-;7113:3;7129:165;7143:6;7140:1;7137:13;7129:165;;;7221:14;;7208:11;;;7201:35;7264:16;;;;7158:10;;7129:165;;;7133:3;;7323:6;7318:3;7314:16;7307:23;;6869:471;;;;;;;7356:32;7384:3;7376:6;7356:32;:::i;:::-;7349:39;6397:997;-1:-1:-1;;;;;6397:997:1:o;7399:203::-;-1:-1:-1;;;;;7563:32:1;;;;7545:51;;7533:2;7518:18;;7500:102::o;7607:375::-;-1:-1:-1;;;;;7865:15:1;;;7847:34;;7917:15;;;;7912:2;7897:18;;7890:43;7964:2;7949:18;;7942:34;;;;7797:2;7782:18;;7764:218::o;7987:490::-;-1:-1:-1;;;;;8256:15:1;;;8238:34;;8308:15;;8303:2;8288:18;;8281:43;8355:2;8340:18;;8333:34;;;8403:3;8398:2;8383:18;;8376:31;;;7987:490;;8424:47;;8451:19;;8443:6;8424:47;:::i;:::-;8416:55;8190:287;-1:-1:-1;;;;;;8190:287:1:o;8482:635::-;8653:2;8705:21;;;8775:13;;8678:18;;;8797:22;;;8482:635;;8653:2;8876:15;;;;8850:2;8835:18;;;8482:635;8922:169;8936:6;8933:1;8930:13;8922:169;;;8997:13;;8985:26;;9066:15;;;;9031:12;;;;8958:1;8951:9;8922:169;;;-1:-1:-1;9108:3:1;;8633:484;-1:-1:-1;;;;;;8633:484:1:o;9122:187::-;9287:14;;9280:22;9262:41;;9250:2;9235:18;;9217:92::o;9537:221::-;;9686:2;9675:9;9668:21;9706:46;9748:2;9737:9;9733:18;9725:6;9706:46;:::i;9763:398::-;9965:2;9947:21;;;10004:2;9984:18;;;9977:30;10043:34;10038:2;10023:18;;10016:62;-1:-1:-1;;;10109:2:1;10094:18;;10087:32;10151:3;10136:19;;9937:224::o;10166:402::-;10368:2;10350:21;;;10407:2;10387:18;;;10380:30;10446:34;10441:2;10426:18;;10419:62;-1:-1:-1;;;10512:2:1;10497:18;;10490:36;10558:3;10543:19;;10340:228::o;10573:406::-;10775:2;10757:21;;;10814:2;10794:18;;;10787:30;10853:34;10848:2;10833:18;;10826:62;-1:-1:-1;;;10919:2:1;10904:18;;10897:40;10969:3;10954:19;;10747:232::o;10984:399::-;11186:2;11168:21;;;11225:2;11205:18;;;11198:30;11264:34;11259:2;11244:18;;11237:62;-1:-1:-1;;;11330:2:1;11315:18;;11308:33;11373:3;11358:19;;11158:225::o;11388:400::-;11590:2;11572:21;;;11629:2;11609:18;;;11602:30;11668:34;11663:2;11648:18;;11641:62;-1:-1:-1;;;11734:2:1;11719:18;;11712:34;11778:3;11763:19;;11562:226::o;11793:401::-;11995:2;11977:21;;;12034:2;12014:18;;;12007:30;12073:34;12068:2;12053:18;;12046:62;-1:-1:-1;;;12139:2:1;12124:18;;12117:35;12184:3;12169:19;;11967:227::o;12199:355::-;12401:2;12383:21;;;12440:2;12420:18;;;12413:30;12479:33;12474:2;12459:18;;12452:61;12545:2;12530:18;;12373:181::o;12559:347::-;12761:2;12743:21;;;12800:2;12780:18;;;12773:30;12839:25;12834:2;12819:18;;12812:53;12897:2;12882:18;;12733:173::o;12911:421::-;13113:2;13095:21;;;13152:2;13132:18;;;13125:30;13191:34;13186:2;13171:18;;13164:62;13262:27;13257:2;13242:18;;13235:55;13322:3;13307:19;;13085:247::o;13337:420::-;13539:2;13521:21;;;13578:2;13558:18;;;13551:30;13617:34;13612:2;13597:18;;13590:62;13688:26;13683:2;13668:18;;13661:54;13747:3;13732:19;;13511:246::o;13762:407::-;13964:2;13946:21;;;14003:2;13983:18;;;13976:30;14042:34;14037:2;14022:18;;14015:62;-1:-1:-1;;;14108:2:1;14093:18;;14086:41;14159:3;14144:19;;13936:233::o;14174:346::-;14376:2;14358:21;;;14415:2;14395:18;;;14388:30;-1:-1:-1;;;14449:2:1;14434:18;;14427:52;14511:2;14496:18;;14348:172::o;14525:402::-;14727:2;14709:21;;;14766:2;14746:18;;;14739:30;14805:34;14800:2;14785:18;;14778:62;-1:-1:-1;;;14871:2:1;14856:18;;14849:36;14917:3;14902:19;;14699:228::o;14932:356::-;15134:2;15116:21;;;15153:18;;;15146:30;15212:34;15207:2;15192:18;;15185:62;15279:2;15264:18;;15106:182::o;15293:411::-;15495:2;15477:21;;;15534:2;15514:18;;;15507:30;15573:34;15568:2;15553:18;;15546:62;-1:-1:-1;;;15639:2:1;15624:18;;15617:45;15694:3;15679:19;;15467:237::o;15709:350::-;15911:2;15893:21;;;15950:2;15930:18;;;15923:30;15989:28;15984:2;15969:18;;15962:56;16050:2;16035:18;;15883:176::o;16064:414::-;16266:2;16248:21;;;16305:2;16285:18;;;16278:30;16344:34;16339:2;16324:18;;16317:62;-1:-1:-1;;;16410:2:1;16395:18;;16388:48;16468:3;16453:19;;16238:240::o;16483:411::-;16685:2;16667:21;;;16724:2;16704:18;;;16697:30;16763:34;16758:2;16743:18;;16736:62;-1:-1:-1;;;16829:2:1;16814:18;;16807:45;16884:3;16869:19;;16657:237::o;16899:398::-;17101:2;17083:21;;;17140:2;17120:18;;;17113:30;17179:34;17174:2;17159:18;;17152:62;-1:-1:-1;;;17245:2:1;17230:18;;17223:32;17287:3;17272:19;;17073:224::o;17302:415::-;17504:2;17486:21;;;17543:2;17523:18;;;17516:30;17582:34;17577:2;17562:18;;17555:62;-1:-1:-1;;;17648:2:1;17633:18;;17626:49;17707:3;17692:19;;17476:241::o;17722:353::-;17924:2;17906:21;;;17963:2;17943:18;;;17936:30;18002:31;17997:2;17982:18;;17975:59;18066:2;18051:18;;17896:179::o;18080:397::-;18282:2;18264:21;;;18321:2;18301:18;;;18294:30;18360:34;18355:2;18340:18;;18333:62;-1:-1:-1;;;18426:2:1;18411:18;;18404:31;18467:3;18452:19;;18254:223::o;18482:410::-;18684:2;18666:21;;;18723:2;18703:18;;;18696:30;18762:34;18757:2;18742:18;;18735:62;-1:-1:-1;;;18828:2:1;18813:18;;18806:44;18882:3;18867:19;;18656:236::o;18897:411::-;19099:2;19081:21;;;19138:2;19118:18;;;19111:30;19177:34;19172:2;19157:18;;19150:62;-1:-1:-1;;;19243:2:1;19228:18;;19221:45;19298:3;19283:19;;19071:237::o;19313:409::-;19515:2;19497:21;;;19554:2;19534:18;;;19527:30;19593:34;19588:2;19573:18;;19566:62;-1:-1:-1;;;19659:2:1;19644:18;;19637:43;19712:3;19697:19;;19487:235::o;19727:398::-;19929:2;19911:21;;;19968:2;19948:18;;;19941:30;20007:34;20002:2;19987:18;;19980:62;-1:-1:-1;;;20073:2:1;20058:18;;20051:32;20115:3;20100:19;;19901:224::o;20130:177::-;20276:25;;;20264:2;20249:18;;20231:76::o;20312:251::-;20382:2;20376:9;20412:17;;;-1:-1:-1;;;;;20444:34:1;;20480:22;;;20441:62;20438:2;;;20506:18;;:::i;:::-;20542:2;20535:22;20356:207;;-1:-1:-1;20356:207:1:o;20568:129::-;;20636:17;;;20686:4;20670:21;;;20626:71::o;20702:253::-;;-1:-1:-1;;;;;20831:2:1;20828:1;20824:10;20861:2;20858:1;20854:10;20892:3;20888:2;20884:12;20879:3;20876:21;20873:2;;;20900:18;;:::i;:::-;20936:13;;20750:205;-1:-1:-1;;;;20750:205:1:o;20960:128::-;;21031:1;21027:6;21024:1;21021:13;21018:2;;;21037:18;;:::i;:::-;-1:-1:-1;21073:9:1;;21008:80::o;21093:120::-;;21159:1;21149:2;;21164:18;;:::i;:::-;-1:-1:-1;21198:9:1;;21139:74::o;21218:168::-;;21324:1;21320;21316:6;21312:14;21309:1;21306:21;21301:1;21294:9;21287:17;21283:45;21280:2;;;21331:18;;:::i;:::-;-1:-1:-1;21371:9:1;;21270:116::o;21391:246::-;;-1:-1:-1;;;;;21544:10:1;;;;21514;;21566:12;;;21563:2;;;21581:18;;:::i;:::-;21618:13;;21440:197;-1:-1:-1;;;21440:197:1:o;21642:125::-;;21710:1;21707;21704:8;21701:2;;;21715:18;;:::i;:::-;-1:-1:-1;21752:9:1;;21691:76::o;21772:258::-;21844:1;21854:113;21868:6;21865:1;21862:13;21854:113;;;21944:11;;;21938:18;21925:11;;;21918:39;21890:2;21883:10;21854:113;;;21985:6;21982:1;21979:13;21976:2;;;-1:-1:-1;;22020:1:1;22002:16;;21995:27;21825:205::o;22035:136::-;;22102:5;22092:2;;22111:18;;:::i;:::-;-1:-1:-1;;;22147:18:1;;22082:89::o;22176:380::-;22261:1;22251:12;;22308:1;22298:12;;;22319:2;;22373:4;22365:6;22361:17;22351:27;;22319:2;22426;22418:6;22415:14;22395:18;22392:38;22389:2;;;22472:10;22467:3;22463:20;22460:1;22453:31;22507:4;22504:1;22497:15;22535:4;22532:1;22525:15;22389:2;;22231:325;;;:::o;22561:135::-;;-1:-1:-1;;22621:17:1;;22618:2;;;22641:18;;:::i;:::-;-1:-1:-1;22688:1:1;22677:13;;22608:88::o;22701:112::-;;22759:1;22749:2;;22764:18;;:::i;:::-;-1:-1:-1;22798:9:1;;22739:74::o;22818:127::-;22879:10;22874:3;22870:20;22867:1;22860:31;22910:4;22907:1;22900:15;22934:4;22931:1;22924:15;22950:127;23011:10;23006:3;23002:20;22999:1;22992:31;23042:4;23039:1;23032:15;23066:4;23063:1;23056:15;23082:127;23143:10;23138:3;23134:20;23131:1;23124:31;23174:4;23171:1;23164:15;23198:4;23195:1;23188:15;23214:120;23302:5;23295:13;23288:21;23281:5;23278:32;23268:2;;23324:1;23321;23314:12;23339:133;-1:-1:-1;;;;;;23415:32:1;;23405:43;;23395:2;;23462:1;23459;23452:12

Swarm Source

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