ETH Price: $3,163.85 (-0.80%)

Token

ShiryoinuAvatar (ShiryoinuAvatar)
 

Overview

Max Total Supply

10,000 ShiryoinuAvatar

Holders

1,314

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
3 ShiryoinuAvatar
0x0e387Ec20705fC8D8E2a031FA6F79A0a049D8044
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:
ShiryoinuAvatarsNFT

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-11-25
*/

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

pragma solidity ^0.8.0;

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


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



pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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


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



pragma solidity ^0.8.0;

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


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



pragma solidity ^0.8.0;

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

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

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

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


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



pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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



pragma solidity ^0.8.0;

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

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


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



pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "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] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}


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



pragma solidity ^0.8.0;

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


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



pragma solidity ^0.8.0;







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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden
     * in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)
        private returns (bool)
    {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    // solhint-disable-next-line no-inline-assembly
                    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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }
}


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



pragma solidity ^0.8.0;

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

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

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

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


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



pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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



pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

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

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }
}


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



pragma solidity ^0.8.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}


// File contracts/final.sol

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

interface IERC20 {


    /**
    * @dev Returns the decimals.
    */
    function decimals() external view returns (uint256);

    /**
    * @dev Returns the totalSupply
    */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

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

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



pragma solidity 0.8.6;




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

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

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

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

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

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

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

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


interface IUniswapV2Pair {
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
}

contract ShiryoinuAvatarsNFT is ERC721Enumerable, Ownable{
    using SafeMath for uint256;
    using Counters for Counters.Counter;
    using SafeERC20 for IERC20;

    modifier onlyClevel() {
        require(msg.sender == walletA || msg.sender == walletB || msg.sender == owner());
    _;
    }

    Counters.Counter private _tokenIds;

    address walletA;
    address walletB;
    uint256 walletBPercentage = 15;

    uint256 public phaseEndsAt = 10000;

    uint256 public mintPriceEth = 0.015 ether;

    IERC20 public shiryoToken;

    string private _baseTokenURI;

    event minting(uint256 id, address indexed customer);

    constructor(IERC20 _shiryoToken, address _walletA, address _walletB) ERC721("ShiryoinuAvatar", "ShiryoinuAvatar") {
        _baseTokenURI = "https://api.avatars.shiryoinu.com/";
        walletA = _walletA;
        walletB = _walletB;
        shiryoToken = _shiryoToken;
    }

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

    function tokensOfOwner(address _owner) external view returns(uint256[] memory ) {
        uint256 tokenCount = balanceOf(_owner);
        if (tokenCount == 0) {
            // Return an empty array
            return new uint256[](0);
        } else {
            uint256[] memory result = new uint256[](tokenCount);
            uint256 index;
            for (index = 0; index < tokenCount; index++) {
                result[index] = tokenOfOwnerByIndex(_owner, index);
            }
            return result;
        }
    }
    

    function mint_avatars_for_eth(uint256 _amount) public payable returns (uint256[] memory minted)  {
        require(_tokenIds.current() < phaseEndsAt, "Minting Phase Ended");
        require(_amount>0, "NFT: Invalid amount to mint.");
        require(msg.value==_amount*mintPriceEth , "NFT: Invalid value.");

        uint256[] memory tokensMinted;
        for (uint256 i = 0; i < _amount; i++) {
            _tokenIds.increment();
            uint256 newPack = _tokenIds.current();
            _mint(msg.sender, newPack);
          
            emit minting(newPack, msg.sender);
        }
        return tokensMinted;
    }
    
    
    // calculate price based on pair reserves
    // shiryo is token 0
    function getTokensForEth(uint _amountETH) public view returns(uint256){
        
        IUniswapV2Pair pair = IUniswapV2Pair(0xe6e1F4F9b0303Ca3878A110061C0Ec9b84fddD03);
        IERC20 token0 = IERC20(pair.token0());
        (uint Res0, uint Res1,) = pair.getReserves();
        
        // decimals
        uint res1 = Res1*(10**token0.decimals());
        uint ethPrice = ((10e18*res1)/Res0); // return amount of token1 needed to buy token0
        uint amountTokens = (_amountETH*10e18)/ethPrice;
        return amountTokens; 
    }


    function mint_avatars_for_shiryo(uint256 _amount) public payable returns (uint256[] memory minted)  {
        require(_tokenIds.current() < phaseEndsAt, "Minting Phase Ended");
        require(_amount>0, "NFT: Invalid amount to mint.");

        uint256 numTokensNeeded= getTokensForEth(_amount*mintPriceEth);
        require(shiryoToken.balanceOf(msg.sender)>=numTokensNeeded, "Insufficient token balance.");
        shiryoToken.safeTransferFrom(msg.sender, address(this) , numTokensNeeded);
        
        uint256[] memory tokensMinted;
        for (uint256 i = 0; i < _amount; i++) {
            _tokenIds.increment();
            uint256 newPack = _tokenIds.current();
            _mint(msg.sender, newPack);
          
            emit minting(newPack, msg.sender);
        }
        return tokensMinted;
    }


    function setEthMintPrice(uint256 _priceEth) public onlyOwner {
         mintPriceEth =_priceEth;
    }

    function withdraw_all() public onlyClevel {
        
        if(address(this).balance>0){
            uint256 amountEthB = SafeMath.div(address(this).balance,100).mul(walletBPercentage);
            uint256 amountEthA = address(this).balance.sub(amountEthB);
            payable(walletA).transfer(amountEthA);
            payable(walletB).transfer(amountEthB);
        }

        // for buy back and burning
        uint256 tokenBalance = shiryoToken.balanceOf(address(this));
        if (tokenBalance>0){
            shiryoToken.safeTransfer(walletA, tokenBalance);
        }
        
    }

    function setWalletA(address _walletA) public {
        require (msg.sender == walletA, "Who are you?");
        require (_walletA != address(0x0), "Invalid wallet");
        walletA = _walletA;
    }

    function setWalletB(address _walletB) public {
        require (msg.sender == walletB, "Who are you?");
        require (_walletB != address(0x0), "Invalid wallet.");
        walletB = _walletB;
    }

    function setWalletBPercentage(uint256 _percentage) public onlyOwner{
        require (_percentage>walletBPercentage && _percentage<=100, "Invalid new slice.");
        walletBPercentage = _percentage;
    }
    
    function setPhaseEndsAt(uint256 _phaseEnds) public onlyOwner{
        phaseEndsAt = _phaseEnds;
    }

}


library SafeMath {

    /**
    * @dev Multiplies two numbers, throws on overflow.
    */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }
        uint256 c = a * b;
        assert(c / a == b);
        return c;
    }

    /**
    * @dev Integer division of two numbers, truncating the quotient.
    */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        // assert(b > 0); // Solidity automatically throws when dividing by 0
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold
        return c;
    }

    /**
    * @dev Substracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
    */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        assert(b <= a);
        return a - b;
    }

    /**
    * @dev Adds two numbers, throws on overflow.
    */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        assert(c >= a);
        return c;
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_shiryoToken","type":"address"},{"internalType":"address","name":"_walletA","type":"address"},{"internalType":"address","name":"_walletB","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":true,"internalType":"address","name":"customer","type":"address"}],"name":"minting","type":"event"},{"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":[{"internalType":"uint256","name":"_amountETH","type":"uint256"}],"name":"getTokensForEth","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"mintPriceEth","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint_avatars_for_eth","outputs":[{"internalType":"uint256[]","name":"minted","type":"uint256[]"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint_avatars_for_shiryo","outputs":[{"internalType":"uint256[]","name":"minted","type":"uint256[]"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phaseEndsAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint256","name":"_priceEth","type":"uint256"}],"name":"setEthMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_phaseEnds","type":"uint256"}],"name":"setPhaseEndsAt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_walletA","type":"address"}],"name":"setWalletA","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_walletB","type":"address"}],"name":"setWalletB","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_percentage","type":"uint256"}],"name":"setWalletBPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shiryoToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","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":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw_all","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600f600e55612710600f5566354a6ba7a180006010553480156200002757600080fd5b5060405162002f4d38038062002f4d8339810160408190526200004a916200022e565b604080518082018252600f8082526e29b434b93cb7b4b73aa0bb30ba30b960891b602080840182815285518087019096529285528401528151919291620000949160009162000188565b508051620000aa90600190602084019062000188565b5050506000620000bf6200018460201b60201c565b600a80546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060405180606001604052806022815260200162002f2b6022913980516200013d9160129160209091019062000188565b50600c80546001600160a01b039384166001600160a01b031991821617909155600d80549284169282169290921790915560118054939092169216919091179055620002d8565b3390565b828054620001969062000282565b90600052602060002090601f016020900481019282620001ba576000855562000205565b82601f10620001d557805160ff191683800117855562000205565b8280016001018555821562000205579182015b8281111562000205578251825591602001919060010190620001e8565b506200021392915062000217565b5090565b5b8082111562000213576000815560010162000218565b6000806000606084860312156200024457600080fd5b83516200025181620002bf565b60208501519093506200026481620002bf565b60408501519092506200027781620002bf565b809150509250925092565b600181811c908216806200029757607f821691505b60208210811415620002b957634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160a01b0381168114620002d557600080fd5b50565b612c4380620002e86000396000f3fe6080604052600436106101e35760003560e01c8063715018a611610102578063cc02b89311610095578063e985e9c511610064578063e985e9c514610554578063f2fde38b1461059d578063f55ad8ad146105bd578063f7c81754146105dd57600080fd5b8063cc02b893146104f6578063dd473d2b1461050c578063dfe100d414610521578063e736e6b61461054157600080fd5b806396cbf2e9116100d157806396cbf2e914610476578063a22cb46514610496578063b88d4fde146104b6578063c87b56dd146104d657600080fd5b8063715018a61461040e5780638462151c146104235780638da5cb5b1461044357806395d89b411461046157600080fd5b80632a983a041161017a5780634c89b86c116101495780634c89b86c1461038e5780634f6ccce7146103ae5780636352211e146103ce57806370a08231146103ee57600080fd5b80632a983a04146103185780632f745c591461033857806342842e0e1461035857806349e03c571461037857600080fd5b80630c7a1625116101b65780630c7a16251461029957806318160ddd146102b957806323b872dd146102d857806327a2cbec146102f857600080fd5b806301ffc9a7146101e857806306fdde031461021d578063081812fc1461023f578063095ea7b314610277575b600080fd5b3480156101f457600080fd5b506102086102033660046126d4565b6105fd565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b50610232610628565b6040516102149190612888565b34801561024b57600080fd5b5061025f61025a36600461275e565b6106ba565b6040516001600160a01b039091168152602001610214565b34801561028357600080fd5b5061029761029236600461268b565b610754565b005b6102ac6102a736600461275e565b61086a565b6040516102149190612844565b3480156102c557600080fd5b506008545b604051908152602001610214565b3480156102e457600080fd5b506102976102f336600461253c565b610a86565b34801561030457600080fd5b5060115461025f906001600160a01b031681565b34801561032457600080fd5b5061029761033336600461275e565b610ab7565b34801561034457600080fd5b506102ca61035336600461268b565b610b39565b34801561036457600080fd5b5061029761037336600461253c565b610bcf565b34801561038457600080fd5b506102ca600f5481565b34801561039a57600080fd5b506102976103a93660046124c9565b610bea565b3480156103ba57600080fd5b506102ca6103c936600461275e565b610c9c565b3480156103da57600080fd5b5061025f6103e936600461275e565b610d2f565b3480156103fa57600080fd5b506102ca6104093660046124c9565b610da6565b34801561041a57600080fd5b50610297610e2d565b34801561042f57600080fd5b506102ac61043e3660046124c9565b610ea1565b34801561044f57600080fd5b50600a546001600160a01b031661025f565b34801561046d57600080fd5b50610232610f5c565b34801561048257600080fd5b506102976104913660046124c9565b610f6b565b3480156104a257600080fd5b506102976104b136600461265d565b61101e565b3480156104c257600080fd5b506102976104d136600461257d565b6110e3565b3480156104e257600080fd5b506102326104f136600461275e565b61111b565b34801561050257600080fd5b506102ca60105481565b34801561051857600080fd5b506102976111f6565b34801561052d57600080fd5b506102ca61053c36600461275e565b611382565b6102ac61054f36600461275e565b611573565b34801561056057600080fd5b5061020861056f366004612503565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156105a957600080fd5b506102976105b83660046124c9565b6116e6565b3480156105c957600080fd5b506102976105d836600461275e565b6117d1565b3480156105e957600080fd5b506102976105f836600461275e565b611800565b60006001600160e01b0319821663780e9d6360e01b148061062257506106228261182f565b92915050565b60606000805461063790612aec565b80601f016020809104026020016040519081016040528092919081815260200182805461066390612aec565b80156106b05780601f10610685576101008083540402835291602001916106b0565b820191906000526020600020905b81548152906001019060200180831161069357829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107385760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061075f82610d2f565b9050806001600160a01b0316836001600160a01b031614156107cd5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161072f565b336001600160a01b03821614806107e957506107e9813361056f565b61085b5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161072f565b610865838361187f565b505050565b6060600f54610878600b5490565b106108bb5760405162461bcd60e51b8152602060048201526013602482015272135a5b9d1a5b99c8141a185cd948115b991959606a1b604482015260640161072f565b6000821161090b5760405162461bcd60e51b815260206004820152601c60248201527f4e46543a20496e76616c696420616d6f756e7420746f206d696e742e00000000604482015260640161072f565b600061091e6010548461053c9190612a8a565b6011546040516370a0823160e01b815233600482015291925082916001600160a01b03909116906370a082319060240160206040518083038186803b15801561096657600080fd5b505afa15801561097a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099e9190612777565b10156109ec5760405162461bcd60e51b815260206004820152601b60248201527f496e73756666696369656e7420746f6b656e2062616c616e63652e0000000000604482015260640161072f565b601154610a04906001600160a01b03163330846118ed565b606060005b84811015610a7e57610a1f600b80546001019055565b6000610a2a600b5490565b9050610a363382611958565b60405181815233907f54855a9fb433368921efe4d763fbb5327f14a84ed1e1a450367bd6811d96636f9060200160405180910390a25080610a7681612b21565b915050610a09565b509392505050565b610a903382611aa6565b610aac5760405162461bcd60e51b815260040161072f90612922565b610865838383611b9d565b600a546001600160a01b03163314610ae15760405162461bcd60e51b815260040161072f906128ed565b600e5481118015610af3575060648111155b610b345760405162461bcd60e51b815260206004820152601260248201527124b73b30b634b2103732bb9039b634b1b29760711b604482015260640161072f565b600e55565b6000610b4483610da6565b8210610ba65760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161072f565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610865838383604051806020016040528060008152506110e3565b600c546001600160a01b03163314610c335760405162461bcd60e51b815260206004820152600c60248201526b57686f2061726520796f753f60a01b604482015260640161072f565b6001600160a01b038116610c7a5760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a59081dd85b1b195d60921b604482015260640161072f565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610ca760085490565b8210610d0a5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161072f565b60088281548110610d1d57610d1d612ba8565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806106225760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161072f565b60006001600160a01b038216610e115760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161072f565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610e575760405162461bcd60e51b815260040161072f906128ed565b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b60606000610eae83610da6565b905080610ecb576040805160008082526020820190925290610a7e565b60008167ffffffffffffffff811115610ee657610ee6612bbe565b604051908082528060200260200182016040528015610f0f578160200160208202803683370190505b50905060005b82811015610a7e57610f278582610b39565b828281518110610f3957610f39612ba8565b602090810291909101015280610f4e81612b21565b915050610f15565b50919050565b60606001805461063790612aec565b600d546001600160a01b03163314610fb45760405162461bcd60e51b815260206004820152600c60248201526b57686f2061726520796f753f60a01b604482015260640161072f565b6001600160a01b038116610ffc5760405162461bcd60e51b815260206004820152600f60248201526e24b73b30b634b2103bb0b63632ba1760891b604482015260640161072f565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0382163314156110775760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161072f565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6110ed3383611aa6565b6111095760405162461bcd60e51b815260040161072f90612922565b61111584848484611d48565b50505050565b6000818152600260205260409020546060906001600160a01b031661119a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161072f565b60006111a4611d7b565b905060008151116111c457604051806020016040528060008152506111ef565b806111ce84611d8a565b6040516020016111df9291906127d8565b6040516020818303038152906040525b9392505050565b600c546001600160a01b03163314806112195750600d546001600160a01b031633145b8061122e5750600a546001600160a01b031633145b61123757600080fd5b47156112de576000611256600e54611250476064611e88565b90611e95565b905060006112644783611eca565b600c546040519192506001600160a01b03169082156108fc029083906000818181858888f1935050505015801561129f573d6000803e3d6000fd5b50600d546040516001600160a01b039091169083156108fc029084906000818181858888f193505050501580156112da573d6000803e3d6000fd5b5050505b6011546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b15801561132257600080fd5b505afa158015611336573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061135a9190612777565b9050801561137f57600c5460115461137f916001600160a01b03918216911683611ee6565b50565b60008073e6e1f4f9b0303ca3878a110061c0ec9b84fddd0390506000816001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b1580156113d757600080fd5b505afa1580156113eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061140f91906124e6565b9050600080836001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561144d57600080fd5b505afa158015611461573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611485919061270e565b506001600160701b031691506001600160701b031691506000836001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156114d757600080fd5b505afa1580156114eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150f9190612777565b61151a90600a6129e2565b6115249083612a8a565b905060008361153b83678ac7230489e80000612a8a565b611545919061298b565b905060008161155c8a678ac7230489e80000612a8a565b611566919061298b565b9998505050505050505050565b6060600f54611581600b5490565b106115c45760405162461bcd60e51b8152602060048201526013602482015272135a5b9d1a5b99c8141a185cd948115b991959606a1b604482015260640161072f565b600082116116145760405162461bcd60e51b815260206004820152601c60248201527f4e46543a20496e76616c696420616d6f756e7420746f206d696e742e00000000604482015260640161072f565b6010546116219083612a8a565b34146116655760405162461bcd60e51b815260206004820152601360248201527227232a1d1024b73b30b634b2103b30b63ab29760691b604482015260640161072f565b606060005b838110156116df57611680600b80546001019055565b600061168b600b5490565b90506116973382611958565b60405181815233907f54855a9fb433368921efe4d763fbb5327f14a84ed1e1a450367bd6811d96636f9060200160405180910390a250806116d781612b21565b91505061166a565b5092915050565b600a546001600160a01b031633146117105760405162461bcd60e51b815260040161072f906128ed565b6001600160a01b0381166117755760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161072f565b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b031633146117fb5760405162461bcd60e51b815260040161072f906128ed565b600f55565b600a546001600160a01b0316331461182a5760405162461bcd60e51b815260040161072f906128ed565b601055565b60006001600160e01b031982166380ac58cd60e01b148061186057506001600160e01b03198216635b5e139f60e01b145b8061062257506301ffc9a760e01b6001600160e01b0319831614610622565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906118b482610d2f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6040516001600160a01b03808516602483015283166044820152606481018290526111159085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611f16565b6001600160a01b0382166119ae5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161072f565b6000818152600260205260409020546001600160a01b031615611a135760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161072f565b611a1f60008383611fe8565b6001600160a01b0382166000908152600360205260408120805460019290611a48908490612973565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000818152600260205260408120546001600160a01b0316611b1f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161072f565b6000611b2a83610d2f565b9050806001600160a01b0316846001600160a01b03161480611b655750836001600160a01b0316611b5a846106ba565b6001600160a01b0316145b80611b9557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611bb082610d2f565b6001600160a01b031614611c185760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161072f565b6001600160a01b038216611c7a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161072f565b611c85838383611fe8565b611c9060008261187f565b6001600160a01b0383166000908152600360205260408120805460019290611cb9908490612aa9565b90915550506001600160a01b0382166000908152600360205260408120805460019290611ce7908490612973565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611d53848484611b9d565b611d5f848484846120a0565b6111155760405162461bcd60e51b815260040161072f9061289b565b60606012805461063790612aec565b606081611dae5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611dd85780611dc281612b21565b9150611dd19050600a8361298b565b9150611db2565b60008167ffffffffffffffff811115611df357611df3612bbe565b6040519080825280601f01601f191660200182016040528015611e1d576020820181803683370190505b5090505b8415611b9557611e32600183612aa9565b9150611e3f600a86612b3c565b611e4a906030612973565b60f81b818381518110611e5f57611e5f612ba8565b60200101906001600160f81b031916908160001a905350611e81600a8661298b565b9450611e21565b600080611b95838561298b565b600082611ea457506000610622565b6000611eb08385612a8a565b905082611ebd858361298b565b146111ef576111ef612b50565b600082821115611edc57611edc612b50565b6111ef8284612aa9565b6040516001600160a01b03831660248201526044810182905261086590849063a9059cbb60e01b90606401611921565b6000611f6b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166121ad9092919063ffffffff16565b8051909150156108655780806020019051810190611f8991906126b7565b6108655760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161072f565b6001600160a01b0383166120435761203e81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612066565b816001600160a01b0316836001600160a01b0316146120665761206683826121bc565b6001600160a01b03821661207d5761086581612259565b826001600160a01b0316826001600160a01b031614610865576108658282612308565b60006001600160a01b0384163b156121a257604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906120e4903390899088908890600401612807565b602060405180830381600087803b1580156120fe57600080fd5b505af192505050801561212e575060408051601f3d908101601f1916820190925261212b918101906126f1565b60015b612188573d80801561215c576040519150601f19603f3d011682016040523d82523d6000602084013e612161565b606091505b5080516121805760405162461bcd60e51b815260040161072f9061289b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611b95565b506001949350505050565b6060611b95848460008561234c565b600060016121c984610da6565b6121d39190612aa9565b600083815260076020526040902054909150808214612226576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061226b90600190612aa9565b6000838152600960205260408120546008805493945090928490811061229357612293612ba8565b9060005260206000200154905080600883815481106122b4576122b4612ba8565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806122ec576122ec612b92565b6001900381819060005260206000200160009055905550505050565b600061231383610da6565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6060824710156123ad5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161072f565b843b6123fb5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161072f565b600080866001600160a01b0316858760405161241791906127bc565b60006040518083038185875af1925050503d8060008114612454576040519150601f19603f3d011682016040523d82523d6000602084013e612459565b606091505b5091509150612469828286612474565b979650505050505050565b606083156124835750816111ef565b8251156124935782518084602001fd5b8160405162461bcd60e51b815260040161072f9190612888565b80516001600160701b03811681146124c457600080fd5b919050565b6000602082840312156124db57600080fd5b81356111ef81612bd4565b6000602082840312156124f857600080fd5b81516111ef81612bd4565b6000806040838503121561251657600080fd5b823561252181612bd4565b9150602083013561253181612bd4565b809150509250929050565b60008060006060848603121561255157600080fd5b833561255c81612bd4565b9250602084013561256c81612bd4565b929592945050506040919091013590565b6000806000806080858703121561259357600080fd5b843561259e81612bd4565b935060208501356125ae81612bd4565b925060408501359150606085013567ffffffffffffffff808211156125d257600080fd5b818701915087601f8301126125e657600080fd5b8135818111156125f8576125f8612bbe565b604051601f8201601f19908116603f0116810190838211818310171561262057612620612bbe565b816040528281528a602084870101111561263957600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561267057600080fd5b823561267b81612bd4565b9150602083013561253181612be9565b6000806040838503121561269e57600080fd5b82356126a981612bd4565b946020939093013593505050565b6000602082840312156126c957600080fd5b81516111ef81612be9565b6000602082840312156126e657600080fd5b81356111ef81612bf7565b60006020828403121561270357600080fd5b81516111ef81612bf7565b60008060006060848603121561272357600080fd5b61272c846124ad565b925061273a602085016124ad565b9150604084015163ffffffff8116811461275357600080fd5b809150509250925092565b60006020828403121561277057600080fd5b5035919050565b60006020828403121561278957600080fd5b5051919050565b600081518084526127a8816020860160208601612ac0565b601f01601f19169290920160200192915050565b600082516127ce818460208701612ac0565b9190910192915050565b600083516127ea818460208801612ac0565b8351908301906127fe818360208801612ac0565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061283a90830184612790565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561287c57835183529284019291840191600101612860565b50909695505050505050565b6020815260006111ef6020830184612790565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000821982111561298657612986612b66565b500190565b60008261299a5761299a612b7c565b500490565b600181815b808511156129da5781600019048211156129c0576129c0612b66565b808516156129cd57918102915b93841c93908002906129a4565b509250929050565b60006111ef83836000826129f857506001610622565b81612a0557506000610622565b8160018114612a1b5760028114612a2557612a41565b6001915050610622565b60ff841115612a3657612a36612b66565b50506001821b610622565b5060208310610133831016604e8410600b8410161715612a64575081810a610622565b612a6e838361299f565b8060001904821115612a8257612a82612b66565b029392505050565b6000816000190483118215151615612aa457612aa4612b66565b500290565b600082821015612abb57612abb612b66565b500390565b60005b83811015612adb578181015183820152602001612ac3565b838111156111155750506000910152565b600181811c90821680612b0057607f821691505b60208210811415610f5657634e487b7160e01b600052602260045260246000fd5b6000600019821415612b3557612b35612b66565b5060010190565b600082612b4b57612b4b612b7c565b500690565b634e487b7160e01b600052600160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461137f57600080fd5b801515811461137f57600080fd5b6001600160e01b03198116811461137f57600080fdfea2646970667358221220dd082bf7fd55b29a4b016c7736d68feb808046e1e85152f425654f77fba9d81b64736f6c6343000806003368747470733a2f2f6170692e617661746172732e73686972796f696e752e636f6d2f0000000000000000000000001e2f15302b90edde696593607b6bd444b64e8f02000000000000000000000000bc3e416a2dfb162153c50b2601353cbe3dffaab90000000000000000000000006df08c7b0ce433e29a77281b6e776487730ee900

Deployed Bytecode

0x6080604052600436106101e35760003560e01c8063715018a611610102578063cc02b89311610095578063e985e9c511610064578063e985e9c514610554578063f2fde38b1461059d578063f55ad8ad146105bd578063f7c81754146105dd57600080fd5b8063cc02b893146104f6578063dd473d2b1461050c578063dfe100d414610521578063e736e6b61461054157600080fd5b806396cbf2e9116100d157806396cbf2e914610476578063a22cb46514610496578063b88d4fde146104b6578063c87b56dd146104d657600080fd5b8063715018a61461040e5780638462151c146104235780638da5cb5b1461044357806395d89b411461046157600080fd5b80632a983a041161017a5780634c89b86c116101495780634c89b86c1461038e5780634f6ccce7146103ae5780636352211e146103ce57806370a08231146103ee57600080fd5b80632a983a04146103185780632f745c591461033857806342842e0e1461035857806349e03c571461037857600080fd5b80630c7a1625116101b65780630c7a16251461029957806318160ddd146102b957806323b872dd146102d857806327a2cbec146102f857600080fd5b806301ffc9a7146101e857806306fdde031461021d578063081812fc1461023f578063095ea7b314610277575b600080fd5b3480156101f457600080fd5b506102086102033660046126d4565b6105fd565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b50610232610628565b6040516102149190612888565b34801561024b57600080fd5b5061025f61025a36600461275e565b6106ba565b6040516001600160a01b039091168152602001610214565b34801561028357600080fd5b5061029761029236600461268b565b610754565b005b6102ac6102a736600461275e565b61086a565b6040516102149190612844565b3480156102c557600080fd5b506008545b604051908152602001610214565b3480156102e457600080fd5b506102976102f336600461253c565b610a86565b34801561030457600080fd5b5060115461025f906001600160a01b031681565b34801561032457600080fd5b5061029761033336600461275e565b610ab7565b34801561034457600080fd5b506102ca61035336600461268b565b610b39565b34801561036457600080fd5b5061029761037336600461253c565b610bcf565b34801561038457600080fd5b506102ca600f5481565b34801561039a57600080fd5b506102976103a93660046124c9565b610bea565b3480156103ba57600080fd5b506102ca6103c936600461275e565b610c9c565b3480156103da57600080fd5b5061025f6103e936600461275e565b610d2f565b3480156103fa57600080fd5b506102ca6104093660046124c9565b610da6565b34801561041a57600080fd5b50610297610e2d565b34801561042f57600080fd5b506102ac61043e3660046124c9565b610ea1565b34801561044f57600080fd5b50600a546001600160a01b031661025f565b34801561046d57600080fd5b50610232610f5c565b34801561048257600080fd5b506102976104913660046124c9565b610f6b565b3480156104a257600080fd5b506102976104b136600461265d565b61101e565b3480156104c257600080fd5b506102976104d136600461257d565b6110e3565b3480156104e257600080fd5b506102326104f136600461275e565b61111b565b34801561050257600080fd5b506102ca60105481565b34801561051857600080fd5b506102976111f6565b34801561052d57600080fd5b506102ca61053c36600461275e565b611382565b6102ac61054f36600461275e565b611573565b34801561056057600080fd5b5061020861056f366004612503565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156105a957600080fd5b506102976105b83660046124c9565b6116e6565b3480156105c957600080fd5b506102976105d836600461275e565b6117d1565b3480156105e957600080fd5b506102976105f836600461275e565b611800565b60006001600160e01b0319821663780e9d6360e01b148061062257506106228261182f565b92915050565b60606000805461063790612aec565b80601f016020809104026020016040519081016040528092919081815260200182805461066390612aec565b80156106b05780601f10610685576101008083540402835291602001916106b0565b820191906000526020600020905b81548152906001019060200180831161069357829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107385760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061075f82610d2f565b9050806001600160a01b0316836001600160a01b031614156107cd5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161072f565b336001600160a01b03821614806107e957506107e9813361056f565b61085b5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161072f565b610865838361187f565b505050565b6060600f54610878600b5490565b106108bb5760405162461bcd60e51b8152602060048201526013602482015272135a5b9d1a5b99c8141a185cd948115b991959606a1b604482015260640161072f565b6000821161090b5760405162461bcd60e51b815260206004820152601c60248201527f4e46543a20496e76616c696420616d6f756e7420746f206d696e742e00000000604482015260640161072f565b600061091e6010548461053c9190612a8a565b6011546040516370a0823160e01b815233600482015291925082916001600160a01b03909116906370a082319060240160206040518083038186803b15801561096657600080fd5b505afa15801561097a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099e9190612777565b10156109ec5760405162461bcd60e51b815260206004820152601b60248201527f496e73756666696369656e7420746f6b656e2062616c616e63652e0000000000604482015260640161072f565b601154610a04906001600160a01b03163330846118ed565b606060005b84811015610a7e57610a1f600b80546001019055565b6000610a2a600b5490565b9050610a363382611958565b60405181815233907f54855a9fb433368921efe4d763fbb5327f14a84ed1e1a450367bd6811d96636f9060200160405180910390a25080610a7681612b21565b915050610a09565b509392505050565b610a903382611aa6565b610aac5760405162461bcd60e51b815260040161072f90612922565b610865838383611b9d565b600a546001600160a01b03163314610ae15760405162461bcd60e51b815260040161072f906128ed565b600e5481118015610af3575060648111155b610b345760405162461bcd60e51b815260206004820152601260248201527124b73b30b634b2103732bb9039b634b1b29760711b604482015260640161072f565b600e55565b6000610b4483610da6565b8210610ba65760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161072f565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610865838383604051806020016040528060008152506110e3565b600c546001600160a01b03163314610c335760405162461bcd60e51b815260206004820152600c60248201526b57686f2061726520796f753f60a01b604482015260640161072f565b6001600160a01b038116610c7a5760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a59081dd85b1b195d60921b604482015260640161072f565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610ca760085490565b8210610d0a5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161072f565b60088281548110610d1d57610d1d612ba8565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806106225760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161072f565b60006001600160a01b038216610e115760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161072f565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610e575760405162461bcd60e51b815260040161072f906128ed565b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b60606000610eae83610da6565b905080610ecb576040805160008082526020820190925290610a7e565b60008167ffffffffffffffff811115610ee657610ee6612bbe565b604051908082528060200260200182016040528015610f0f578160200160208202803683370190505b50905060005b82811015610a7e57610f278582610b39565b828281518110610f3957610f39612ba8565b602090810291909101015280610f4e81612b21565b915050610f15565b50919050565b60606001805461063790612aec565b600d546001600160a01b03163314610fb45760405162461bcd60e51b815260206004820152600c60248201526b57686f2061726520796f753f60a01b604482015260640161072f565b6001600160a01b038116610ffc5760405162461bcd60e51b815260206004820152600f60248201526e24b73b30b634b2103bb0b63632ba1760891b604482015260640161072f565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0382163314156110775760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161072f565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6110ed3383611aa6565b6111095760405162461bcd60e51b815260040161072f90612922565b61111584848484611d48565b50505050565b6000818152600260205260409020546060906001600160a01b031661119a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161072f565b60006111a4611d7b565b905060008151116111c457604051806020016040528060008152506111ef565b806111ce84611d8a565b6040516020016111df9291906127d8565b6040516020818303038152906040525b9392505050565b600c546001600160a01b03163314806112195750600d546001600160a01b031633145b8061122e5750600a546001600160a01b031633145b61123757600080fd5b47156112de576000611256600e54611250476064611e88565b90611e95565b905060006112644783611eca565b600c546040519192506001600160a01b03169082156108fc029083906000818181858888f1935050505015801561129f573d6000803e3d6000fd5b50600d546040516001600160a01b039091169083156108fc029084906000818181858888f193505050501580156112da573d6000803e3d6000fd5b5050505b6011546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b15801561132257600080fd5b505afa158015611336573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061135a9190612777565b9050801561137f57600c5460115461137f916001600160a01b03918216911683611ee6565b50565b60008073e6e1f4f9b0303ca3878a110061c0ec9b84fddd0390506000816001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b1580156113d757600080fd5b505afa1580156113eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061140f91906124e6565b9050600080836001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561144d57600080fd5b505afa158015611461573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611485919061270e565b506001600160701b031691506001600160701b031691506000836001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156114d757600080fd5b505afa1580156114eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150f9190612777565b61151a90600a6129e2565b6115249083612a8a565b905060008361153b83678ac7230489e80000612a8a565b611545919061298b565b905060008161155c8a678ac7230489e80000612a8a565b611566919061298b565b9998505050505050505050565b6060600f54611581600b5490565b106115c45760405162461bcd60e51b8152602060048201526013602482015272135a5b9d1a5b99c8141a185cd948115b991959606a1b604482015260640161072f565b600082116116145760405162461bcd60e51b815260206004820152601c60248201527f4e46543a20496e76616c696420616d6f756e7420746f206d696e742e00000000604482015260640161072f565b6010546116219083612a8a565b34146116655760405162461bcd60e51b815260206004820152601360248201527227232a1d1024b73b30b634b2103b30b63ab29760691b604482015260640161072f565b606060005b838110156116df57611680600b80546001019055565b600061168b600b5490565b90506116973382611958565b60405181815233907f54855a9fb433368921efe4d763fbb5327f14a84ed1e1a450367bd6811d96636f9060200160405180910390a250806116d781612b21565b91505061166a565b5092915050565b600a546001600160a01b031633146117105760405162461bcd60e51b815260040161072f906128ed565b6001600160a01b0381166117755760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161072f565b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b031633146117fb5760405162461bcd60e51b815260040161072f906128ed565b600f55565b600a546001600160a01b0316331461182a5760405162461bcd60e51b815260040161072f906128ed565b601055565b60006001600160e01b031982166380ac58cd60e01b148061186057506001600160e01b03198216635b5e139f60e01b145b8061062257506301ffc9a760e01b6001600160e01b0319831614610622565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906118b482610d2f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6040516001600160a01b03808516602483015283166044820152606481018290526111159085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611f16565b6001600160a01b0382166119ae5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161072f565b6000818152600260205260409020546001600160a01b031615611a135760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161072f565b611a1f60008383611fe8565b6001600160a01b0382166000908152600360205260408120805460019290611a48908490612973565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000818152600260205260408120546001600160a01b0316611b1f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161072f565b6000611b2a83610d2f565b9050806001600160a01b0316846001600160a01b03161480611b655750836001600160a01b0316611b5a846106ba565b6001600160a01b0316145b80611b9557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611bb082610d2f565b6001600160a01b031614611c185760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161072f565b6001600160a01b038216611c7a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161072f565b611c85838383611fe8565b611c9060008261187f565b6001600160a01b0383166000908152600360205260408120805460019290611cb9908490612aa9565b90915550506001600160a01b0382166000908152600360205260408120805460019290611ce7908490612973565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611d53848484611b9d565b611d5f848484846120a0565b6111155760405162461bcd60e51b815260040161072f9061289b565b60606012805461063790612aec565b606081611dae5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611dd85780611dc281612b21565b9150611dd19050600a8361298b565b9150611db2565b60008167ffffffffffffffff811115611df357611df3612bbe565b6040519080825280601f01601f191660200182016040528015611e1d576020820181803683370190505b5090505b8415611b9557611e32600183612aa9565b9150611e3f600a86612b3c565b611e4a906030612973565b60f81b818381518110611e5f57611e5f612ba8565b60200101906001600160f81b031916908160001a905350611e81600a8661298b565b9450611e21565b600080611b95838561298b565b600082611ea457506000610622565b6000611eb08385612a8a565b905082611ebd858361298b565b146111ef576111ef612b50565b600082821115611edc57611edc612b50565b6111ef8284612aa9565b6040516001600160a01b03831660248201526044810182905261086590849063a9059cbb60e01b90606401611921565b6000611f6b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166121ad9092919063ffffffff16565b8051909150156108655780806020019051810190611f8991906126b7565b6108655760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161072f565b6001600160a01b0383166120435761203e81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612066565b816001600160a01b0316836001600160a01b0316146120665761206683826121bc565b6001600160a01b03821661207d5761086581612259565b826001600160a01b0316826001600160a01b031614610865576108658282612308565b60006001600160a01b0384163b156121a257604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906120e4903390899088908890600401612807565b602060405180830381600087803b1580156120fe57600080fd5b505af192505050801561212e575060408051601f3d908101601f1916820190925261212b918101906126f1565b60015b612188573d80801561215c576040519150601f19603f3d011682016040523d82523d6000602084013e612161565b606091505b5080516121805760405162461bcd60e51b815260040161072f9061289b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611b95565b506001949350505050565b6060611b95848460008561234c565b600060016121c984610da6565b6121d39190612aa9565b600083815260076020526040902054909150808214612226576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061226b90600190612aa9565b6000838152600960205260408120546008805493945090928490811061229357612293612ba8565b9060005260206000200154905080600883815481106122b4576122b4612ba8565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806122ec576122ec612b92565b6001900381819060005260206000200160009055905550505050565b600061231383610da6565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6060824710156123ad5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161072f565b843b6123fb5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161072f565b600080866001600160a01b0316858760405161241791906127bc565b60006040518083038185875af1925050503d8060008114612454576040519150601f19603f3d011682016040523d82523d6000602084013e612459565b606091505b5091509150612469828286612474565b979650505050505050565b606083156124835750816111ef565b8251156124935782518084602001fd5b8160405162461bcd60e51b815260040161072f9190612888565b80516001600160701b03811681146124c457600080fd5b919050565b6000602082840312156124db57600080fd5b81356111ef81612bd4565b6000602082840312156124f857600080fd5b81516111ef81612bd4565b6000806040838503121561251657600080fd5b823561252181612bd4565b9150602083013561253181612bd4565b809150509250929050565b60008060006060848603121561255157600080fd5b833561255c81612bd4565b9250602084013561256c81612bd4565b929592945050506040919091013590565b6000806000806080858703121561259357600080fd5b843561259e81612bd4565b935060208501356125ae81612bd4565b925060408501359150606085013567ffffffffffffffff808211156125d257600080fd5b818701915087601f8301126125e657600080fd5b8135818111156125f8576125f8612bbe565b604051601f8201601f19908116603f0116810190838211818310171561262057612620612bbe565b816040528281528a602084870101111561263957600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561267057600080fd5b823561267b81612bd4565b9150602083013561253181612be9565b6000806040838503121561269e57600080fd5b82356126a981612bd4565b946020939093013593505050565b6000602082840312156126c957600080fd5b81516111ef81612be9565b6000602082840312156126e657600080fd5b81356111ef81612bf7565b60006020828403121561270357600080fd5b81516111ef81612bf7565b60008060006060848603121561272357600080fd5b61272c846124ad565b925061273a602085016124ad565b9150604084015163ffffffff8116811461275357600080fd5b809150509250925092565b60006020828403121561277057600080fd5b5035919050565b60006020828403121561278957600080fd5b5051919050565b600081518084526127a8816020860160208601612ac0565b601f01601f19169290920160200192915050565b600082516127ce818460208701612ac0565b9190910192915050565b600083516127ea818460208801612ac0565b8351908301906127fe818360208801612ac0565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061283a90830184612790565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561287c57835183529284019291840191600101612860565b50909695505050505050565b6020815260006111ef6020830184612790565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000821982111561298657612986612b66565b500190565b60008261299a5761299a612b7c565b500490565b600181815b808511156129da5781600019048211156129c0576129c0612b66565b808516156129cd57918102915b93841c93908002906129a4565b509250929050565b60006111ef83836000826129f857506001610622565b81612a0557506000610622565b8160018114612a1b5760028114612a2557612a41565b6001915050610622565b60ff841115612a3657612a36612b66565b50506001821b610622565b5060208310610133831016604e8410600b8410161715612a64575081810a610622565b612a6e838361299f565b8060001904821115612a8257612a82612b66565b029392505050565b6000816000190483118215151615612aa457612aa4612b66565b500290565b600082821015612abb57612abb612b66565b500390565b60005b83811015612adb578181015183820152602001612ac3565b838111156111155750506000910152565b600181811c90821680612b0057607f821691505b60208210811415610f5657634e487b7160e01b600052602260045260246000fd5b6000600019821415612b3557612b35612b66565b5060010190565b600082612b4b57612b4b612b7c565b500690565b634e487b7160e01b600052600160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461137f57600080fd5b801515811461137f57600080fd5b6001600160e01b03198116811461137f57600080fdfea2646970667358221220dd082bf7fd55b29a4b016c7736d68feb808046e1e85152f425654f77fba9d81b64736f6c63430008060033

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

0000000000000000000000001e2f15302b90edde696593607b6bd444b64e8f02000000000000000000000000bc3e416a2dfb162153c50b2601353cbe3dffaab90000000000000000000000006df08c7b0ce433e29a77281b6e776487730ee900

-----Decoded View---------------
Arg [0] : _shiryoToken (address): 0x1E2F15302B90EddE696593607b6bD444B64e8F02
Arg [1] : _walletA (address): 0xBc3e416a2DfB162153C50B2601353cbE3dfFAAB9
Arg [2] : _walletB (address): 0x6Df08c7B0CE433e29A77281b6E776487730ee900

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000001e2f15302b90edde696593607b6bd444b64e8f02
Arg [1] : 000000000000000000000000bc3e416a2dfb162153c50b2601353cbe3dffaab9
Arg [2] : 0000000000000000000000006df08c7b0ce433e29a77281b6e776487730ee900


Deployed Bytecode Sourcemap

51161:5233:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34396:237;;;;;;;;;;-1:-1:-1;34396:237:0;;;;;:::i;:::-;;:::i;:::-;;;8308:14:1;;8301:22;8283:41;;8271:2;8256:18;34396:237:0;;;;;;;;21583:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;23043:221::-;;;;;;;;;;-1:-1:-1;23043:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6310:32:1;;;6292:51;;6280:2;6265:18;23043:221:0;6247:102:1;22580:397:0;;;;;;;;;;-1:-1:-1;22580:397:0;;;;;:::i;:::-;;:::i;:::-;;54072:834;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;35049:113::-;;;;;;;;;;-1:-1:-1;35137:10:0;:17;35049:113;;;20095:25:1;;;20083:2;20068:18;35049:113:0;20050:76:1;23933:305:0;;;;;;;;;;-1:-1:-1;23933:305:0;;;;;:::i;:::-;;:::i;51691:25::-;;;;;;;;;;-1:-1:-1;51691:25:0;;;;-1:-1:-1;;;;;51691:25:0;;;56065:209;;;;;;;;;;-1:-1:-1;56065:209:0;;;;;:::i;:::-;;:::i;34717:256::-;;;;;;;;;;-1:-1:-1;34717:256:0;;;;;:::i;:::-;;:::i;24309:151::-;;;;;;;;;;-1:-1:-1;24309:151:0;;;;;:::i;:::-;;:::i;51598:34::-;;;;;;;;;;;;;;;;55642:203;;;;;;;;;;-1:-1:-1;55642:203:0;;;;;:::i;:::-;;:::i;35239:233::-;;;;;;;;;;-1:-1:-1;35239:233:0;;;;;:::i;:::-;;:::i;21277:239::-;;;;;;;;;;-1:-1:-1;21277:239:0;;;;;:::i;:::-;;:::i;21007:208::-;;;;;;;;;;-1:-1:-1;21007:208:0;;;;;:::i;:::-;;:::i;43606:148::-;;;;;;;;;;;;;:::i;52232:540::-;;;;;;;;;;-1:-1:-1;52232:540:0;;;;;:::i;:::-;;:::i;42955:87::-;;;;;;;;;;-1:-1:-1;43028:6:0;;-1:-1:-1;;;;;43028:6:0;42955:87;;21752:104;;;;;;;;;;;;;:::i;55853:204::-;;;;;;;;;;-1:-1:-1;55853:204:0;;;;;:::i;:::-;;:::i;23336:295::-;;;;;;;;;;-1:-1:-1;23336:295:0;;;;;:::i;:::-;;:::i;24531:285::-;;;;;;;;;;-1:-1:-1;24531:285:0;;;;;:::i;:::-;;:::i;21927:360::-;;;;;;;;;;-1:-1:-1;21927:360:0;;;;;:::i;:::-;;:::i;51641:41::-;;;;;;;;;;;;;;;;55028:606;;;;;;;;;;;;;:::i;53515:547::-;;;;;;;;;;-1:-1:-1;53515:547:0;;;;;:::i;:::-;;:::i;52786:638::-;;;;;;:::i;:::-;;:::i;23702:164::-;;;;;;;;;;-1:-1:-1;23702:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;23823:25:0;;;23799:4;23823:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;23702:164;43909:244;;;;;;;;;;-1:-1:-1;43909:244:0;;;;;:::i;:::-;;:::i;56286:103::-;;;;;;;;;;-1:-1:-1;56286:103:0;;;;;:::i;:::-;;:::i;54916:104::-;;;;;;;;;;-1:-1:-1;54916:104:0;;;;;:::i;:::-;;:::i;34396:237::-;34498:4;-1:-1:-1;;;;;;34522:50:0;;-1:-1:-1;;;34522:50:0;;:103;;;34589:36;34613:11;34589:23;:36::i;:::-;34515:110;34396:237;-1:-1:-1;;34396:237:0:o;21583:100::-;21637:13;21670:5;21663:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21583:100;:::o;23043:221::-;23119:7;26372:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26372:16:0;23139:73;;;;-1:-1:-1;;;23139:73:0;;15858:2:1;23139:73:0;;;15840:21:1;15897:2;15877:18;;;15870:30;15936:34;15916:18;;;15909:62;-1:-1:-1;;;15987:18:1;;;15980:42;16039:19;;23139:73:0;;;;;;;;;-1:-1:-1;23232:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;23232:24:0;;23043:221::o;22580:397::-;22661:13;22677:23;22692:7;22677:14;:23::i;:::-;22661:39;;22725:5;-1:-1:-1;;;;;22719:11:0;:2;-1:-1:-1;;;;;22719:11:0;;;22711:57;;;;-1:-1:-1;;;22711:57:0;;17806:2:1;22711:57:0;;;17788:21:1;17845:2;17825:18;;;17818:30;17884:34;17864:18;;;17857:62;-1:-1:-1;;;17935:18:1;;;17928:31;17976:19;;22711:57:0;17778:223:1;22711:57:0;15990:10;-1:-1:-1;;;;;22789:21:0;;;;:62;;-1:-1:-1;22814:37:0;22831:5;15990:10;23702:164;:::i;22814:37::-;22781:154;;;;-1:-1:-1;;;22781:154:0;;13550:2:1;22781:154:0;;;13532:21:1;13589:2;13569:18;;;13562:30;13628:34;13608:18;;;13601:62;13699:26;13679:18;;;13672:54;13743:19;;22781:154:0;13522:246:1;22781:154:0;22948:21;22957:2;22961:7;22948:8;:21::i;:::-;22650:327;22580:397;;:::o;54072:834::-;54146:23;54213:11;;54191:19;:9;41443:14;;41351:114;54191:19;:33;54183:65;;;;-1:-1:-1;;;54183:65:0;;17458:2:1;54183:65:0;;;17440:21:1;17497:2;17477:18;;;17470:30;-1:-1:-1;;;17516:18:1;;;17509:49;17575:18;;54183:65:0;17430:169:1;54183:65:0;54275:1;54267:7;:9;54259:50;;;;-1:-1:-1;;;54259:50:0;;15140:2:1;54259:50:0;;;15122:21:1;15179:2;15159:18;;;15152:30;15218;15198:18;;;15191:58;15266:18;;54259:50:0;15112:178:1;54259:50:0;54322:23;54347:37;54371:12;;54363:7;:20;;;;:::i;54347:37::-;54403:11;;:33;;-1:-1:-1;;;54403:33:0;;54425:10;54403:33;;;6292:51:1;54322:62:0;;-1:-1:-1;54322:62:0;;-1:-1:-1;;;;;54403:11:0;;;;:21;;6265:18:1;;54403:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:50;;54395:90;;;;-1:-1:-1;;;54395:90:0;;10222:2:1;54395:90:0;;;10204:21:1;10261:2;10241:18;;;10234:30;10300:29;10280:18;;;10273:57;10347:18;;54395:90:0;10194:177:1;54395:90:0;54496:11;;:73;;-1:-1:-1;;;;;54496:11:0;54525:10;54545:4;54553:15;54496:28;:73::i;:::-;54590:29;54635:9;54630:239;54654:7;54650:1;:11;54630:239;;;54683:21;:9;41562:19;;41580:1;41562:19;;;41473:127;54683:21;54719:15;54737:19;:9;41443:14;;41351:114;54737:19;54719:37;;54771:26;54777:10;54789:7;54771:5;:26::i;:::-;54829:28;;20095:25:1;;;54846:10:0;;54829:28;;20083:2:1;20068:18;54829:28:0;;;;;;;-1:-1:-1;54663:3:0;;;;:::i;:::-;;;;54630:239;;;-1:-1:-1;54886:12:0;54072:834;-1:-1:-1;;;54072:834:0:o;23933:305::-;24094:41;15990:10;24127:7;24094:18;:41::i;:::-;24086:103;;;;-1:-1:-1;;;24086:103:0;;;;;;;:::i;:::-;24202:28;24212:4;24218:2;24222:7;24202:9;:28::i;56065:209::-;43028:6;;-1:-1:-1;;;;;43028:6:0;15990:10;43175:23;43167:68;;;;-1:-1:-1;;;43167:68:0;;;;;;;:::i;:::-;56164:17:::1;;56152:11;:29;:49;;;;;56198:3;56185:11;:16;;56152:49;56143:81;;;::::0;-1:-1:-1;;;56143:81:0;;13203:2:1;56143:81:0::1;::::0;::::1;13185:21:1::0;13242:2;13222:18;;;13215:30;-1:-1:-1;;;13261:18:1;;;13254:48;13319:18;;56143:81:0::1;13175:168:1::0;56143:81:0::1;56235:17;:31:::0;56065:209::o;34717:256::-;34814:7;34850:23;34867:5;34850:16;:23::i;:::-;34842:5;:31;34834:87;;;;-1:-1:-1;;;34834:87:0;;8984:2:1;34834:87:0;;;8966:21:1;9023:2;9003:18;;;8996:30;9062:34;9042:18;;;9035:62;-1:-1:-1;;;9113:18:1;;;9106:41;9164:19;;34834:87:0;8956:233:1;34834:87:0;-1:-1:-1;;;;;;34939:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;34717:256::o;24309:151::-;24413:39;24430:4;24436:2;24440:7;24413:39;;;;;;;;;;;;:16;:39::i;55642:203::-;55721:7;;-1:-1:-1;;;;;55721:7:0;55707:10;:21;55698:47;;;;-1:-1:-1;;;55698:47:0;;11283:2:1;55698:47:0;;;11265:21:1;11322:2;11302:18;;;11295:30;-1:-1:-1;;;11341:18:1;;;11334:42;11393:18;;55698:47:0;11255:162:1;55698:47:0;-1:-1:-1;;;;;55765:24:0;;55756:52;;;;-1:-1:-1;;;55756:52:0;;19808:2:1;55756:52:0;;;19790:21:1;19847:2;19827:18;;;19820:30;-1:-1:-1;;;19866:18:1;;;19859:44;19920:18;;55756:52:0;19780:164:1;55756:52:0;55819:7;:18;;-1:-1:-1;;;;;;55819:18:0;-1:-1:-1;;;;;55819:18:0;;;;;;;;;;55642:203::o;35239:233::-;35314:7;35350:30;35137:10;:17;;35049:113;35350:30;35342:5;:38;35334:95;;;;-1:-1:-1;;;35334:95:0;;18984:2:1;35334:95:0;;;18966:21:1;19023:2;19003:18;;;18996:30;19062:34;19042:18;;;19035:62;-1:-1:-1;;;19113:18:1;;;19106:42;19165:19;;35334:95:0;18956:234:1;35334:95:0;35447:10;35458:5;35447:17;;;;;;;;:::i;:::-;;;;;;;;;35440:24;;35239:233;;;:::o;21277:239::-;21349:7;21385:16;;;:7;:16;;;;;;-1:-1:-1;;;;;21385:16:0;21420:19;21412:73;;;;-1:-1:-1;;;21412:73:0;;14386:2:1;21412:73:0;;;14368:21:1;14425:2;14405:18;;;14398:30;14464:34;14444:18;;;14437:62;-1:-1:-1;;;14515:18:1;;;14508:39;14564:19;;21412:73:0;14358:231:1;21007:208:0;21079:7;-1:-1:-1;;;;;21107:19:0;;21099:74;;;;-1:-1:-1;;;21099:74:0;;13975:2:1;21099:74:0;;;13957:21:1;14014:2;13994:18;;;13987:30;14053:34;14033:18;;;14026:62;-1:-1:-1;;;14104:18:1;;;14097:40;14154:19;;21099:74:0;13947:232:1;21099:74:0;-1:-1:-1;;;;;;21191:16:0;;;;;:9;:16;;;;;;;21007:208::o;43606:148::-;43028:6;;-1:-1:-1;;;;;43028:6:0;15990:10;43175:23;43167:68;;;;-1:-1:-1;;;43167:68:0;;;;;;;:::i;:::-;43697:6:::1;::::0;43676:40:::1;::::0;43713:1:::1;::::0;-1:-1:-1;;;;;43697:6:0::1;::::0;43676:40:::1;::::0;43713:1;;43676:40:::1;43727:6;:19:::0;;-1:-1:-1;;;;;;43727:19:0::1;::::0;;43606:148::o;52232:540::-;52293:16;52323:18;52344:17;52354:6;52344:9;:17::i;:::-;52323:38;-1:-1:-1;52376:15:0;52372:393;;52453:16;;;52467:1;52453:16;;;;;;;;;;;;52372:393;52502:23;52542:10;52528:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52528:25:0;;52502:51;;52568:13;52596:130;52620:10;52612:5;:18;52596:130;;;52676:34;52696:6;52704:5;52676:19;:34::i;:::-;52660:6;52667:5;52660:13;;;;;;;;:::i;:::-;;;;;;;;;;:50;52632:7;;;;:::i;:::-;;;;52596:130;;52372:393;52312:460;52232:540;;;:::o;21752:104::-;21808:13;21841:7;21834:14;;;;;:::i;55853:204::-;55932:7;;-1:-1:-1;;;;;55932:7:0;55918:10;:21;55909:47;;;;-1:-1:-1;;;55909:47:0;;11283:2:1;55909:47:0;;;11265:21:1;11322:2;11302:18;;;11295:30;-1:-1:-1;;;11341:18:1;;;11334:42;11393:18;;55909:47:0;11255:162:1;55909:47:0;-1:-1:-1;;;;;55976:24:0;;55967:53;;;;-1:-1:-1;;;55967:53:0;;14796:2:1;55967:53:0;;;14778:21:1;14835:2;14815:18;;;14808:30;-1:-1:-1;;;14854:18:1;;;14847:45;14909:18;;55967:53:0;14768:165:1;55967:53:0;56031:7;:18;;-1:-1:-1;;;;;;56031:18:0;-1:-1:-1;;;;;56031:18:0;;;;;;;;;;55853:204::o;23336:295::-;-1:-1:-1;;;;;23439:24:0;;15990:10;23439:24;;23431:62;;;;-1:-1:-1;;;23431:62:0;;12029:2:1;23431:62:0;;;12011:21:1;12068:2;12048:18;;;12041:30;12107:27;12087:18;;;12080:55;12152:18;;23431:62:0;12001:175:1;23431:62:0;15990:10;23506:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;23506:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;23506:53:0;;;;;;;;;;23575:48;;8283:41:1;;;23506:42:0;;15990:10;23575:48;;8256:18:1;23575:48:0;;;;;;;23336:295;;:::o;24531:285::-;24663:41;15990:10;24696:7;24663:18;:41::i;:::-;24655:103;;;;-1:-1:-1;;;24655:103:0;;;;;;;:::i;:::-;24769:39;24783:4;24789:2;24793:7;24802:5;24769:13;:39::i;:::-;24531:285;;;;:::o;21927:360::-;26348:4;26372:16;;;:7;:16;;;;;;22000:13;;-1:-1:-1;;;;;26372:16:0;22026:76;;;;-1:-1:-1;;;22026:76:0;;17042:2:1;22026:76:0;;;17024:21:1;17081:2;17061:18;;;17054:30;17120:34;17100:18;;;17093:62;-1:-1:-1;;;17171:18:1;;;17164:45;17226:19;;22026:76:0;17014:237:1;22026:76:0;22115:21;22139:10;:8;:10::i;:::-;22115:34;;22191:1;22173:7;22167:21;:25;:112;;;;;;;;;;;;;;;;;22232:7;22241:18;:7;:16;:18::i;:::-;22215:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;22167:112;22160:119;21927:360;-1:-1:-1;;;21927:360:0:o;55028:606::-;51390:7;;-1:-1:-1;;;;;51390:7:0;51376:10;:21;;:46;;-1:-1:-1;51415:7:0;;-1:-1:-1;;;;;51415:7:0;51401:10;:21;51376:46;:71;;;-1:-1:-1;43028:6:0;;-1:-1:-1;;;;;43028:6:0;51426:10;:21;51376:71;51368:80;;;;;;55094:21:::1;:23:::0;55091:314:::1;;55133:18;55154:62;55198:17;;55154:39;55167:21;55189:3;55154:12;:39::i;:::-;:43:::0;::::1;:62::i;:::-;55133:83:::0;-1:-1:-1;55231:18:0::1;55252:37;:21;55133:83:::0;55252:25:::1;:37::i;:::-;55312:7;::::0;55304:37:::1;::::0;55231:58;;-1:-1:-1;;;;;;55312:7:0::1;::::0;55304:37;::::1;;;::::0;55231:58;;55312:7:::1;55304:37:::0;55312:7;55304:37;55231:58;55312:7;55304:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;55364:7:0::1;::::0;55356:37:::1;::::0;-1:-1:-1;;;;;55364:7:0;;::::1;::::0;55356:37;::::1;;;::::0;55382:10;;55364:7:::1;55356:37:::0;55364:7;55356:37;55382:10;55364:7;55356:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;55118:287;;55091:314;55477:11;::::0;:36:::1;::::0;-1:-1:-1;;;55477:36:0;;55507:4:::1;55477:36;::::0;::::1;6292:51:1::0;55454:20:0::1;::::0;-1:-1:-1;;;;;55477:11:0::1;::::0;:21:::1;::::0;6265:18:1;;55477:36:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;55454:59:::0;-1:-1:-1;55528:14:0;;55524:93:::1;;55583:7;::::0;55558:11:::1;::::0;:47:::1;::::0;-1:-1:-1;;;;;55558:11:0;;::::1;::::0;55583:7:::1;55592:12:::0;55558:24:::1;:47::i;:::-;55070:564;55028:606::o:0;53515:547::-;53577:7;53606:19;53643:42;53606:80;;53697:13;53720:4;-1:-1:-1;;;;;53720:11:0;;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;53697:37;;53746:9;53757;53771:4;-1:-1:-1;;;;;53771:16:0;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;53745:44;-1:-1:-1;;;;;53745:44:0;;;-1:-1:-1;;;;;53745:44:0;;;53831:9;53853:6;-1:-1:-1;;;;;53853:15:0;;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;53849:21;;:2;:21;:::i;:::-;53843:28;;:4;:28;:::i;:::-;53831:40;-1:-1:-1;53882:13:0;53912:4;53900:10;53831:40;53900:5;:10;:::i;:::-;53899:17;;;;:::i;:::-;53882:35;-1:-1:-1;53976:17:0;53882:35;53997:16;:10;54008:5;53997:16;:::i;:::-;53996:27;;;;:::i;:::-;53976:47;53515:547;-1:-1:-1;;;;;;;;;53515:547:0:o;52786:638::-;52857:23;52924:11;;52902:19;:9;41443:14;;41351:114;52902:19;:33;52894:65;;;;-1:-1:-1;;;52894:65:0;;17458:2:1;52894:65:0;;;17440:21:1;17497:2;17477:18;;;17470:30;-1:-1:-1;;;17516:18:1;;;17509:49;17575:18;;52894:65:0;17430:169:1;52894:65:0;52986:1;52978:7;:9;52970:50;;;;-1:-1:-1;;;52970:50:0;;15140:2:1;52970:50:0;;;15122:21:1;15179:2;15159:18;;;15152:30;15218;15198:18;;;15191:58;15266:18;;52970:50:0;15112:178:1;52970:50:0;53058:12;;53050:20;;:7;:20;:::i;:::-;53039:9;:31;53031:64;;;;-1:-1:-1;;;53031:64:0;;10578:2:1;53031:64:0;;;10560:21:1;10617:2;10597:18;;;10590:30;-1:-1:-1;;;10636:18:1;;;10629:49;10695:18;;53031:64:0;10550:169:1;53031:64:0;53108:29;53153:9;53148:239;53172:7;53168:1;:11;53148:239;;;53201:21;:9;41562:19;;41580:1;41562:19;;;41473:127;53201:21;53237:15;53255:19;:9;41443:14;;41351:114;53255:19;53237:37;;53289:26;53295:10;53307:7;53289:5;:26::i;:::-;53347:28;;20095:25:1;;;53364:10:0;;53347:28;;20083:2:1;20068:18;53347:28:0;;;;;;;-1:-1:-1;53181:3:0;;;;:::i;:::-;;;;53148:239;;;-1:-1:-1;53404:12:0;52786:638;-1:-1:-1;;52786:638:0:o;43909:244::-;43028:6;;-1:-1:-1;;;;;43028:6:0;15990:10;43175:23;43167:68;;;;-1:-1:-1;;;43167:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;43998:22:0;::::1;43990:73;;;::::0;-1:-1:-1;;;43990:73:0;;9815:2:1;43990:73:0::1;::::0;::::1;9797:21:1::0;9854:2;9834:18;;;9827:30;9893:34;9873:18;;;9866:62;-1:-1:-1;;;9944:18:1;;;9937:36;9990:19;;43990:73:0::1;9787:228:1::0;43990:73:0::1;44100:6;::::0;44079:38:::1;::::0;-1:-1:-1;;;;;44079:38:0;;::::1;::::0;44100:6:::1;::::0;44079:38:::1;::::0;44100:6:::1;::::0;44079:38:::1;44128:6;:17:::0;;-1:-1:-1;;;;;;44128:17:0::1;-1:-1:-1::0;;;;;44128:17:0;;;::::1;::::0;;;::::1;::::0;;43909:244::o;56286:103::-;43028:6;;-1:-1:-1;;;;;43028:6:0;15990:10;43175:23;43167:68;;;;-1:-1:-1;;;43167:68:0;;;;;;;:::i;:::-;56357:11:::1;:24:::0;56286:103::o;54916:104::-;43028:6;;-1:-1:-1;;;;;43028:6:0;15990:10;43175:23;43167:68;;;;-1:-1:-1;;;43167:68:0;;;;;;;:::i;:::-;54989:12:::1;:23:::0;54916:104::o;20651:292::-;20753:4;-1:-1:-1;;;;;;20777:40:0;;-1:-1:-1;;;20777:40:0;;:105;;-1:-1:-1;;;;;;;20834:48:0;;-1:-1:-1;;;20834:48:0;20777:105;:158;;;-1:-1:-1;;;;;;;;;;19249:40:0;;;20899:36;19140:157;30160:174;30235:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;30235:29:0;-1:-1:-1;;;;;30235:29:0;;;;;;;;:24;;30289:23;30235:24;30289:14;:23::i;:::-;-1:-1:-1;;;;;30280:46:0;;;;;;;;;;;30160:174;;:::o;47948:205::-;48076:68;;-1:-1:-1;;;;;6612:15:1;;;48076:68:0;;;6594:34:1;6664:15;;6644:18;;;6637:43;6696:18;;;6689:34;;;48049:96:0;;48069:5;;-1:-1:-1;;;48099:27:0;6529:18:1;;48076:68:0;;;;-1:-1:-1;;48076:68:0;;;;;;;;;;;;;;-1:-1:-1;;;;;48076:68:0;-1:-1:-1;;;;;;48076:68:0;;;;;;;;;;48049:19;:96::i;28190:382::-;-1:-1:-1;;;;;28270:16:0;;28262:61;;;;-1:-1:-1;;;28262:61:0;;15497:2:1;28262:61:0;;;15479:21:1;;;15516:18;;;15509:30;15575:34;15555:18;;;15548:62;15627:18;;28262:61:0;15469:182:1;28262:61:0;26348:4;26372:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26372:16:0;:30;28334:58;;;;-1:-1:-1;;;28334:58:0;;10926:2:1;28334:58:0;;;10908:21:1;10965:2;10945:18;;;10938:30;11004;10984:18;;;10977:58;11052:18;;28334:58:0;10898:178:1;28334:58:0;28405:45;28434:1;28438:2;28442:7;28405:20;:45::i;:::-;-1:-1:-1;;;;;28463:13:0;;;;;;:9;:13;;;;;:18;;28480:1;;28463:13;:18;;28480:1;;28463:18;:::i;:::-;;;;-1:-1:-1;;28492:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;28492:21:0;-1:-1:-1;;;;;28492:21:0;;;;;;;;28531:33;;28492:16;;;28531:33;;28492:16;;28531:33;28190:382;;:::o;26577:348::-;26670:4;26372:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26372:16:0;26687:73;;;;-1:-1:-1;;;26687:73:0;;12790:2:1;26687:73:0;;;12772:21:1;12829:2;12809:18;;;12802:30;12868:34;12848:18;;;12841:62;-1:-1:-1;;;12919:18:1;;;12912:42;12971:19;;26687:73:0;12762:234:1;26687:73:0;26771:13;26787:23;26802:7;26787:14;:23::i;:::-;26771:39;;26840:5;-1:-1:-1;;;;;26829:16:0;:7;-1:-1:-1;;;;;26829:16:0;;:51;;;;26873:7;-1:-1:-1;;;;;26849:31:0;:20;26861:7;26849:11;:20::i;:::-;-1:-1:-1;;;;;26849:31:0;;26829:51;:87;;;-1:-1:-1;;;;;;23823:25:0;;;23799:4;23823:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;26884:32;26821:96;26577:348;-1:-1:-1;;;;26577:348:0:o;29498:544::-;29623:4;-1:-1:-1;;;;;29596:31:0;:23;29611:7;29596:14;:23::i;:::-;-1:-1:-1;;;;;29596:31:0;;29588:85;;;;-1:-1:-1;;;29588:85:0;;16632:2:1;29588:85:0;;;16614:21:1;16671:2;16651:18;;;16644:30;16710:34;16690:18;;;16683:62;-1:-1:-1;;;16761:18:1;;;16754:39;16810:19;;29588:85:0;16604:231:1;29588:85:0;-1:-1:-1;;;;;29692:16:0;;29684:65;;;;-1:-1:-1;;;29684:65:0;;11624:2:1;29684:65:0;;;11606:21:1;11663:2;11643:18;;;11636:30;11702:34;11682:18;;;11675:62;-1:-1:-1;;;11753:18:1;;;11746:34;11797:19;;29684:65:0;11596:226:1;29684:65:0;29762:39;29783:4;29789:2;29793:7;29762:20;:39::i;:::-;29866:29;29883:1;29887:7;29866:8;:29::i;:::-;-1:-1:-1;;;;;29908:15:0;;;;;;:9;:15;;;;;:20;;29927:1;;29908:15;:20;;29927:1;;29908:20;:::i;:::-;;;;-1:-1:-1;;;;;;;29939:13:0;;;;;;:9;:13;;;;;:18;;29956:1;;29939:13;:18;;29956:1;;29939:18;:::i;:::-;;;;-1:-1:-1;;29968:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;29968:21:0;-1:-1:-1;;;;;29968:21:0;;;;;;;;;30007:27;;29968:16;;30007:27;;;;;;;29498:544;;;:::o;25698:272::-;25812:28;25822:4;25828:2;25832:7;25812:9;:28::i;:::-;25859:48;25882:4;25888:2;25892:7;25901:5;25859:22;:48::i;:::-;25851:111;;;;-1:-1:-1;;;25851:111:0;;;;;;;:::i;52110:114::-;52170:13;52203;52196:20;;;;;:::i;16576:723::-;16632:13;16853:10;16849:53;;-1:-1:-1;;16880:10:0;;;;;;;;;;;;-1:-1:-1;;;16880:10:0;;;;;16576:723::o;16849:53::-;16927:5;16912:12;16968:78;16975:9;;16968:78;;17001:8;;;;:::i;:::-;;-1:-1:-1;17024:10:0;;-1:-1:-1;17032:2:0;17024:10;;:::i;:::-;;;16968:78;;;17056:19;17088:6;17078:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17078:17:0;;17056:39;;17106:154;17113:10;;17106:154;;17140:11;17150:1;17140:11;;:::i;:::-;;-1:-1:-1;17209:10:0;17217:2;17209:5;:10;:::i;:::-;17196:24;;:2;:24;:::i;:::-;17183:39;;17166:6;17173;17166:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;17166:56:0;;;;;;;;-1:-1:-1;17237:11:0;17246:2;17237:11;;:::i;:::-;;;17106:154;;56802:288;56860:7;;56971:5;56975:1;56971;:5;:::i;56499:208::-;56557:7;56581:6;56577:47;;-1:-1:-1;56611:1:0;56604:8;;56577:47;56634:9;56646:5;56650:1;56646;:5;:::i;:::-;56634:17;-1:-1:-1;56678:1:0;56669:5;56673:1;56634:17;56669:5;:::i;:::-;:10;56662:18;;;;:::i;57216:123::-;57274:7;57306:1;57301;:6;;57294:14;;;;:::i;:::-;57326:5;57330:1;57326;:5;:::i;47763:177::-;47873:58;;-1:-1:-1;;;;;7419:32:1;;47873:58:0;;;7401:51:1;7468:18;;;7461:34;;;47846:86:0;;47866:5;;-1:-1:-1;;;47896:23:0;7374:18:1;;47873:58:0;7356:145:1;50074:761:0;50498:23;50524:69;50552:4;50524:69;;;;;;;;;;;;;;;;;50532:5;-1:-1:-1;;;;;50524:27:0;;;:69;;;;;:::i;:::-;50608:17;;50498:95;;-1:-1:-1;50608:21:0;50604:224;;50750:10;50739:30;;;;;;;;;;;;:::i;:::-;50731:85;;;;-1:-1:-1;;;50731:85:0;;19397:2:1;50731:85:0;;;19379:21:1;19436:2;19416:18;;;19409:30;19475:34;19455:18;;;19448:62;-1:-1:-1;;;19526:18:1;;;19519:40;19576:19;;50731:85:0;19369:232:1;36085:555:0;-1:-1:-1;;;;;36257:18:0;;36253:187;;36292:40;36324:7;37467:10;:17;;37440:24;;;;:15;:24;;;;;:44;;;37495:24;;;;;;;;;;;;37363:164;36292:40;36253:187;;;36362:2;-1:-1:-1;;;;;36354:10:0;:4;-1:-1:-1;;;;;36354:10:0;;36350:90;;36381:47;36414:4;36420:7;36381:32;:47::i;:::-;-1:-1:-1;;;;;36454:16:0;;36450:183;;36487:45;36524:7;36487:36;:45::i;36450:183::-;36560:4;-1:-1:-1;;;;;36554:10:0;:2;-1:-1:-1;;;;;36554:10:0;;36550:83;;36581:40;36609:2;36613:7;36581:27;:40::i;30899:843::-;31020:4;-1:-1:-1;;;;;31046:13:0;;8383:20;8422:8;31042:693;;31082:72;;-1:-1:-1;;;31082:72:0;;-1:-1:-1;;;;;31082:36:0;;;;;:72;;15990:10;;31133:4;;31139:7;;31148:5;;31082:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31082:72:0;;;;;;;;-1:-1:-1;;31082:72:0;;;;;;;;;;;;:::i;:::-;;;31078:602;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31328:13:0;;31324:341;;31371:60;;-1:-1:-1;;;31371:60:0;;;;;;;:::i;31324:341::-;31615:6;31609:13;31600:6;31596:2;31592:15;31585:38;31078:602;-1:-1:-1;;;;;;31205:55:0;-1:-1:-1;;;31205:55:0;;-1:-1:-1;31198:62:0;;31042:693;-1:-1:-1;31719:4:0;30899:843;;;;;;:::o;10934:195::-;11037:12;11069:52;11091:6;11099:4;11105:1;11108:12;11069:21;:52::i;38154:988::-;38420:22;38470:1;38445:22;38462:4;38445:16;:22::i;:::-;:26;;;;:::i;:::-;38482:18;38503:26;;;:17;:26;;;;;;38420:51;;-1:-1:-1;38636:28:0;;;38632:328;;-1:-1:-1;;;;;38703:18:0;;38681:19;38703:18;;;:12;:18;;;;;;;;:34;;;;;;;;;38754:30;;;;;;:44;;;38871:30;;:17;:30;;;;;:43;;;38632:328;-1:-1:-1;39056:26:0;;;;:17;:26;;;;;;;;39049:33;;;-1:-1:-1;;;;;39100:18:0;;;;;:12;:18;;;;;:34;;;;;;;39093:41;38154:988::o;39437:1079::-;39715:10;:17;39690:22;;39715:21;;39735:1;;39715:21;:::i;:::-;39747:18;39768:24;;;:15;:24;;;;;;40141:10;:26;;39690:46;;-1:-1:-1;39768:24:0;;39690:46;;40141:26;;;;;;:::i;:::-;;;;;;;;;40119:48;;40205:11;40180:10;40191;40180:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;40285:28;;;:15;:28;;;;;;;:41;;;40457:24;;;;;40450:31;40492:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;39508:1008;;;39437:1079;:::o;36941:221::-;37026:14;37043:20;37060:2;37043:16;:20::i;:::-;-1:-1:-1;;;;;37074:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;37119:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;36941:221:0:o;11986:530::-;12113:12;12171:5;12146:21;:30;;12138:81;;;;-1:-1:-1;;;12138:81:0;;12383:2:1;12138:81:0;;;12365:21:1;12422:2;12402:18;;;12395:30;12461:34;12441:18;;;12434:62;-1:-1:-1;;;12512:18:1;;;12505:36;12558:19;;12138:81:0;12355:228:1;12138:81:0;8383:20;;12230:60;;;;-1:-1:-1;;;12230:60:0;;18626:2:1;12230:60:0;;;18608:21:1;18665:2;18645:18;;;18638:30;18704:31;18684:18;;;18677:59;18753:18;;12230:60:0;18598:179:1;12230:60:0;12364:12;12378:23;12405:6;-1:-1:-1;;;;;12405:11:0;12425:5;12433:4;12405:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12363:75;;;;12456:52;12474:7;12483:10;12495:12;12456:17;:52::i;:::-;12449:59;11986:530;-1:-1:-1;;;;;;;11986:530:0:o;14526:742::-;14641:12;14670:7;14666:595;;;-1:-1:-1;14701:10:0;14694:17;;14666:595;14815:17;;:21;14811:439;;15078:10;15072:17;15139:15;15126:10;15122:2;15118:19;15111:44;14811:439;15221:12;15214:20;;-1:-1:-1;;;15214:20:0;;;;;;;;:::i;14:188:1:-;93:13;;-1:-1:-1;;;;;135:42:1;;125:53;;115:2;;192:1;189;182:12;115:2;74:128;;;:::o;207:247::-;266:6;319:2;307:9;298:7;294:23;290:32;287:2;;;335:1;332;325:12;287:2;374:9;361:23;393:31;418:5;393:31;:::i;459:251::-;529:6;582:2;570:9;561:7;557:23;553:32;550:2;;;598:1;595;588:12;550:2;630:9;624:16;649:31;674:5;649:31;:::i;715:388::-;783:6;791;844:2;832:9;823:7;819:23;815:32;812:2;;;860:1;857;850:12;812:2;899:9;886:23;918:31;943:5;918:31;:::i;:::-;968:5;-1:-1:-1;1025:2:1;1010:18;;997:32;1038:33;997:32;1038:33;:::i;:::-;1090:7;1080:17;;;802:301;;;;;:::o;1108:456::-;1185:6;1193;1201;1254:2;1242:9;1233:7;1229:23;1225:32;1222:2;;;1270:1;1267;1260:12;1222:2;1309:9;1296:23;1328:31;1353:5;1328:31;:::i;:::-;1378:5;-1:-1:-1;1435:2:1;1420:18;;1407:32;1448:33;1407:32;1448:33;:::i;:::-;1212:352;;1500:7;;-1:-1:-1;;;1554:2:1;1539:18;;;;1526:32;;1212:352::o;1569:1266::-;1664:6;1672;1680;1688;1741:3;1729:9;1720:7;1716:23;1712:33;1709:2;;;1758:1;1755;1748:12;1709:2;1797:9;1784:23;1816:31;1841:5;1816:31;:::i;:::-;1866:5;-1:-1:-1;1923:2:1;1908:18;;1895:32;1936:33;1895:32;1936:33;:::i;:::-;1988:7;-1:-1:-1;2042:2:1;2027:18;;2014:32;;-1:-1:-1;2097:2:1;2082:18;;2069:32;2120:18;2150:14;;;2147:2;;;2177:1;2174;2167:12;2147:2;2215:6;2204:9;2200:22;2190:32;;2260:7;2253:4;2249:2;2245:13;2241:27;2231:2;;2282:1;2279;2272:12;2231:2;2318;2305:16;2340:2;2336;2333:10;2330:2;;;2346:18;;:::i;:::-;2421:2;2415:9;2389:2;2475:13;;-1:-1:-1;;2471:22:1;;;2495:2;2467:31;2463:40;2451:53;;;2519:18;;;2539:22;;;2516:46;2513:2;;;2565:18;;:::i;:::-;2605:10;2601:2;2594:22;2640:2;2632:6;2625:18;2680:7;2675:2;2670;2666;2662:11;2658:20;2655:33;2652:2;;;2701:1;2698;2691:12;2652:2;2757;2752;2748;2744:11;2739:2;2731:6;2727:15;2714:46;2802:1;2797:2;2792;2784:6;2780:15;2776:24;2769:35;2823:6;2813:16;;;;;;;1699:1136;;;;;;;:::o;2840:382::-;2905:6;2913;2966:2;2954:9;2945:7;2941:23;2937:32;2934:2;;;2982:1;2979;2972:12;2934:2;3021:9;3008:23;3040:31;3065:5;3040:31;:::i;:::-;3090:5;-1:-1:-1;3147:2:1;3132:18;;3119:32;3160:30;3119:32;3160:30;:::i;3227:315::-;3295:6;3303;3356:2;3344:9;3335:7;3331:23;3327:32;3324:2;;;3372:1;3369;3362:12;3324:2;3411:9;3398:23;3430:31;3455:5;3430:31;:::i;:::-;3480:5;3532:2;3517:18;;;;3504:32;;-1:-1:-1;;;3314:228:1:o;3547:245::-;3614:6;3667:2;3655:9;3646:7;3642:23;3638:32;3635:2;;;3683:1;3680;3673:12;3635:2;3715:9;3709:16;3734:28;3756:5;3734:28;:::i;3797:245::-;3855:6;3908:2;3896:9;3887:7;3883:23;3879:32;3876:2;;;3924:1;3921;3914:12;3876:2;3963:9;3950:23;3982:30;4006:5;3982:30;:::i;4047:249::-;4116:6;4169:2;4157:9;4148:7;4144:23;4140:32;4137:2;;;4185:1;4182;4175:12;4137:2;4217:9;4211:16;4236:30;4260:5;4236:30;:::i;4301:450::-;4388:6;4396;4404;4457:2;4445:9;4436:7;4432:23;4428:32;4425:2;;;4473:1;4470;4463:12;4425:2;4496:40;4526:9;4496:40;:::i;:::-;4486:50;;4555:49;4600:2;4589:9;4585:18;4555:49;:::i;:::-;4545:59;;4647:2;4636:9;4632:18;4626:25;4691:10;4684:5;4680:22;4673:5;4670:33;4660:2;;4717:1;4714;4707:12;4660:2;4740:5;4730:15;;;4415:336;;;;;:::o;4756:180::-;4815:6;4868:2;4856:9;4847:7;4843:23;4839:32;4836:2;;;4884:1;4881;4874:12;4836:2;-1:-1:-1;4907:23:1;;4826:110;-1:-1:-1;4826:110:1:o;4941:184::-;5011:6;5064:2;5052:9;5043:7;5039:23;5035:32;5032:2;;;5080:1;5077;5070:12;5032:2;-1:-1:-1;5103:16:1;;5022:103;-1:-1:-1;5022:103:1:o;5130:257::-;5171:3;5209:5;5203:12;5236:6;5231:3;5224:19;5252:63;5308:6;5301:4;5296:3;5292:14;5285:4;5278:5;5274:16;5252:63;:::i;:::-;5369:2;5348:15;-1:-1:-1;;5344:29:1;5335:39;;;;5376:4;5331:50;;5179:208;-1:-1:-1;;5179:208:1:o;5392:274::-;5521:3;5559:6;5553:13;5575:53;5621:6;5616:3;5609:4;5601:6;5597:17;5575:53;:::i;:::-;5644:16;;;;;5529:137;-1:-1:-1;;5529:137:1:o;5671:470::-;5850:3;5888:6;5882:13;5904:53;5950:6;5945:3;5938:4;5930:6;5926:17;5904:53;:::i;:::-;6020:13;;5979:16;;;;6042:57;6020:13;5979:16;6076:4;6064:17;;6042:57;:::i;:::-;6115:20;;5858:283;-1:-1:-1;;;;5858:283:1:o;6734:488::-;-1:-1:-1;;;;;7003:15:1;;;6985:34;;7055:15;;7050:2;7035:18;;7028:43;7102:2;7087:18;;7080:34;;;7150:3;7145:2;7130:18;;7123:31;;;6928:4;;7171:45;;7196:19;;7188:6;7171:45;:::i;:::-;7163:53;6937:285;-1:-1:-1;;;;;;6937:285:1:o;7506:632::-;7677:2;7729:21;;;7799:13;;7702:18;;;7821:22;;;7648:4;;7677:2;7900:15;;;;7874:2;7859:18;;;7648:4;7943:169;7957:6;7954:1;7951:13;7943:169;;;8018:13;;8006:26;;8087:15;;;;8052:12;;;;7979:1;7972:9;7943:169;;;-1:-1:-1;8129:3:1;;7657:481;-1:-1:-1;;;;;;7657:481:1:o;8558:219::-;8707:2;8696:9;8689:21;8670:4;8727:44;8767:2;8756:9;8752:18;8744:6;8727:44;:::i;9194:414::-;9396:2;9378:21;;;9435:2;9415:18;;;9408:30;9474:34;9469:2;9454:18;;9447:62;-1:-1:-1;;;9540:2:1;9525:18;;9518:48;9598:3;9583:19;;9368:240::o;16069:356::-;16271:2;16253:21;;;16290:18;;;16283:30;16349:34;16344:2;16329:18;;16322:62;16416:2;16401:18;;16243:182::o;18006:413::-;18208:2;18190:21;;;18247:2;18227:18;;;18220:30;18286:34;18281:2;18266:18;;18259:62;-1:-1:-1;;;18352:2:1;18337:18;;18330:47;18409:3;18394:19;;18180:239::o;20131:128::-;20171:3;20202:1;20198:6;20195:1;20192:13;20189:2;;;20208:18;;:::i;:::-;-1:-1:-1;20244:9:1;;20179:80::o;20264:120::-;20304:1;20330;20320:2;;20335:18;;:::i;:::-;-1:-1:-1;20369:9:1;;20310:74::o;20389:422::-;20478:1;20521:5;20478:1;20535:270;20556:7;20546:8;20543:21;20535:270;;;20615:4;20611:1;20607:6;20603:17;20597:4;20594:27;20591:2;;;20624:18;;:::i;:::-;20674:7;20664:8;20660:22;20657:2;;;20694:16;;;;20657:2;20773:22;;;;20733:15;;;;20535:270;;;20539:3;20453:358;;;;;:::o;20816:131::-;20876:5;20905:36;20932:8;20926:4;21001:5;21031:8;21021:2;;-1:-1:-1;21072:1:1;21086:5;;21021:2;21120:4;21110:2;;-1:-1:-1;21157:1:1;21171:5;;21110:2;21202:4;21220:1;21215:59;;;;21288:1;21283:130;;;;21195:218;;21215:59;21245:1;21236:10;;21259:5;;;21283:130;21320:3;21310:8;21307:17;21304:2;;;21327:18;;:::i;:::-;-1:-1:-1;;21383:1:1;21369:16;;21398:5;;21195:218;;21497:2;21487:8;21484:16;21478:3;21472:4;21469:13;21465:36;21459:2;21449:8;21446:16;21441:2;21435:4;21432:12;21428:35;21425:77;21422:2;;;-1:-1:-1;21534:19:1;;;21566:5;;21422:2;21613:34;21638:8;21632:4;21613:34;:::i;:::-;21683:6;21679:1;21675:6;21671:19;21662:7;21659:32;21656:2;;;21694:18;;:::i;:::-;21732:20;;21011:747;-1:-1:-1;;;21011:747:1:o;21763:168::-;21803:7;21869:1;21865;21861:6;21857:14;21854:1;21851:21;21846:1;21839:9;21832:17;21828:45;21825:2;;;21876:18;;:::i;:::-;-1:-1:-1;21916:9:1;;21815:116::o;21936:125::-;21976:4;22004:1;22001;21998:8;21995:2;;;22009:18;;:::i;:::-;-1:-1:-1;22046:9:1;;21985:76::o;22066:258::-;22138:1;22148:113;22162:6;22159:1;22156:13;22148:113;;;22238:11;;;22232:18;22219:11;;;22212:39;22184:2;22177:10;22148:113;;;22279:6;22276:1;22273:13;22270:2;;;-1:-1:-1;;22314:1:1;22296:16;;22289:27;22119:205::o;22329:380::-;22408:1;22404:12;;;;22451;;;22472:2;;22526:4;22518:6;22514:17;22504:27;;22472:2;22579;22571:6;22568:14;22548:18;22545:38;22542:2;;;22625:10;22620:3;22616:20;22613:1;22606:31;22660:4;22657:1;22650:15;22688:4;22685:1;22678:15;22714:135;22753:3;-1:-1:-1;;22774:17:1;;22771:2;;;22794:18;;:::i;:::-;-1:-1:-1;22841:1:1;22830:13;;22761:88::o;22854:112::-;22886:1;22912;22902:2;;22917:18;;:::i;:::-;-1:-1:-1;22951:9:1;;22892:74::o;22971:127::-;23032:10;23027:3;23023:20;23020:1;23013:31;23063:4;23060:1;23053:15;23087:4;23084:1;23077:15;23103:127;23164:10;23159:3;23155:20;23152:1;23145:31;23195:4;23192:1;23185:15;23219:4;23216:1;23209:15;23235:127;23296:10;23291:3;23287:20;23284:1;23277:31;23327:4;23324:1;23317:15;23351:4;23348:1;23341:15;23367:127;23428:10;23423:3;23419:20;23416:1;23409:31;23459:4;23456:1;23449:15;23483:4;23480:1;23473:15;23499:127;23560:10;23555:3;23551:20;23548:1;23541:31;23591:4;23588:1;23581:15;23615:4;23612:1;23605:15;23631:127;23692:10;23687:3;23683:20;23680:1;23673:31;23723:4;23720:1;23713:15;23747:4;23744:1;23737:15;23763:131;-1:-1:-1;;;;;23838:31:1;;23828:42;;23818:2;;23884:1;23881;23874:12;23899:118;23985:5;23978:13;23971:21;23964:5;23961:32;23951:2;;24007:1;24004;23997:12;24022:131;-1:-1:-1;;;;;;24096:32:1;;24086:43;;24076:2;;24143:1;24140;24133:12

Swarm Source

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