ETH Price: $3,279.40 (-3.39%)
 

Overview

Max Total Supply

0 Kong

Holders

31

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 Kong
0xB4C46E9cd523b2D13A1a4e1b55C9954980bbb2F6
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:
Kongtama

Compiler Version
v0.8.1+commit.df193b15

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : Kongtama.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/Context.sol";

import "./Ownable.sol";

contract OwnableDelegateProxy {}

/**
 * Used to delegate ownership of a contract to another address, to save on unneeded transactions to approve contract use for users
 */
contract ProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

contract Kongtama is Ownable, ERC721 {
    using Strings for uint256;

    address private _proxyRegistryAddress;

    uint256 private _price;
    uint256 private _maxMint;
    uint256 private _maxMintPerWallet = 10;  
    uint256 private _currentTokenID;


    string private _baseMetadataURI;
    mapping(address => uint8) public mintsPerWallet;

    constructor(
        address owner, 
        address proxyRegistryAddress, 
        uint256 price, 
        uint256 maxMint,
        string memory baseMetadataURI
    ) ERC721("Kongtama", "Kong") Ownable(owner) {
        _price = price;
        _maxMint = maxMint;
        _proxyRegistryAddress = proxyRegistryAddress;
        _baseMetadataURI = baseMetadataURI;
    }

    /***********************************|
    |        Ownable Functions          |
    |__________________________________*/

    function setPrice(uint256 newPrice) public onlyOwner {
        _price = newPrice;
    }

    function setMaxMint(uint256 newMaxMint) public onlyOwner {
        _maxMint = newMaxMint;
    }

    function setMaxMintPerWallet(uint256 newMaxMintPerWallet) public onlyOwner {
        _maxMintPerWallet = newMaxMintPerWallet;
    }

    function setProxyRegistryAddress(address newProxyRegistryAddress) public onlyOwner {
        _proxyRegistryAddress = newProxyRegistryAddress;
    }

    function setBaseMetadataURI(string memory _newBaseMetadataURI) public onlyOwner {
        _baseMetadataURI = _newBaseMetadataURI;
    }

    /**
    * @dev calculates the next token ID based on value of _currentTokenID
    * @return uint256 for the next token ID
    */
    function getNextTokenID() public view returns (uint256) {
        return _currentTokenID + 1;
    }

    /**
        * @dev increments the value of _currentTokenID
        */
    function _incrementTokenTypeId() private {
        _currentTokenID++;
    }


    function mint(uint8 amount) public payable {
        require(amount > 0, "Wrong batch amout");

        uint256 tokenId = _currentTokenID;
        require(tokenId + amount <= _maxMint, "Amount reaches maxMint");

        address owner = owner();
        address sender = _msgSender();
        uint256 value = msg.value;

        if(sender == owner) {
            require(value == 0, "Owner doesn't need to send ETH");
            _mintBatch(sender, amount);
            return;
        }

        require(mintsPerWallet[sender] + amount <= _maxMintPerWallet, "Reached maxMintPerWallet");

       
        uint256 tokenPrice = _price;
        require(value >= tokenPrice*amount, "Not enough ETH");

        payable(owner).transfer(value);
        _mintBatch(sender, amount);
    }

    function _mintBatch(address to, uint8 amount) internal {
        for (uint i=0; i < amount; i++){
            _incrementTokenTypeId();
            uint256 tokenId = _currentTokenID;
            mintsPerWallet[to] += 1;
            _safeMint(to, tokenId);
        }
    }

    function isApprovedForAll(address owner, address operator)
        override
        public
        view
        returns (bool)
    {
        // Whitelist OpenSea proxy contract for easy trading.
        ProxyRegistry proxyRegistry = ProxyRegistry(_proxyRegistryAddress);
        if (address(proxyRegistry.proxies(owner)) == operator) {
            return true;
        }

        return super.isApprovedForAll(owner, operator);
    }

    function tokenURI(uint256 _id) public override view returns (string memory) {
        require(_exists(_id), "ERC721Tradable#uri: NONEXISTENT_TOKEN");
        return bytes(_baseMetadataURI).length > 0 ? string(abi.encodePacked(_baseMetadataURI, _id.toString())) : "";
    }

    function withdraw() public {
        payable(owner()).transfer(address(this).balance);
    }

    function getPrice() public view returns(uint256) {
        return _price;
    }

    function getMaxMint() public view returns(uint256) {
        return _maxMint;
    }

    function getMaxMintperWallet() public view returns(uint256) {
        return _maxMintPerWallet;
    }
}

File 2 of 11 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/Context.sol";

/**
 * @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; //4

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

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

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

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

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

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

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 11 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 4 of 11 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 5 of 11 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_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);

        _afterTokenTransfer(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);

        _afterTokenTransfer(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 from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(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 Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

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

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

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 6 of 11 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @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 7 of 11 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 11 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @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 9 of 11 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 10 of 11 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @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 11 of 11 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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);
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"proxyRegistryAddress","type":"address"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"maxMint","type":"uint256"},{"internalType":"string","name":"baseMetadataURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxMintperWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNextTokenID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","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":[{"internalType":"uint8","name":"amount","type":"uint8"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintsPerWallet","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseMetadataURI","type":"string"}],"name":"setBaseMetadataURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxMint","type":"uint256"}],"name":"setMaxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxMintPerWallet","type":"uint256"}],"name":"setMaxMintPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newProxyRegistryAddress","type":"address"}],"name":"setProxyRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600a80553480156200001557600080fd5b50604051620041d3380380620041d383398181016040528101906200003b919062000375565b6040518060400160405280600881526020017f4b6f6e6774616d610000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f4b6f6e670000000000000000000000000000000000000000000000000000000081525086620000b9816200016160201b60201c565b508160019080519060200190620000d292919062000225565b508060029080519060200190620000eb92919062000225565b505050826008819055508160098190555083600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600c90805190602001906200015592919062000225565b505050505050620005f2565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200023390620004e3565b90600052602060002090601f016020900481019282620002575760008555620002a3565b82601f106200027257805160ff1916838001178555620002a3565b82800160010185558215620002a3579182015b82811115620002a257825182559160200191906001019062000285565b5b509050620002b29190620002b6565b5090565b5b80821115620002d1576000816000905550600101620002b7565b5090565b6000620002ec620002e68462000439565b62000410565b9050828152602081018484840111156200030557600080fd5b62000312848285620004ad565b509392505050565b6000815190506200032b81620005be565b92915050565b600082601f8301126200034357600080fd5b815162000355848260208601620002d5565b91505092915050565b6000815190506200036f81620005d8565b92915050565b600080600080600060a086880312156200038e57600080fd5b60006200039e888289016200031a565b9550506020620003b1888289016200031a565b9450506040620003c4888289016200035e565b9350506060620003d7888289016200035e565b925050608086015167ffffffffffffffff811115620003f557600080fd5b620004038882890162000331565b9150509295509295909350565b60006200041c6200042f565b90506200042a828262000519565b919050565b6000604051905090565b600067ffffffffffffffff8211156200045757620004566200057e565b5b6200046282620005ad565b9050602081019050919050565b60006200047c8262000483565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b83811015620004cd578082015181840152602081019050620004b0565b83811115620004dd576000848401525b50505050565b60006002820490506001821680620004fc57607f821691505b602082108114156200051357620005126200054f565b5b50919050565b6200052482620005ad565b810181811067ffffffffffffffff821117156200054657620005456200057e565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b620005c9816200046f565b8114620005d557600080fd5b50565b620005e381620004a3565b8114620005ef57600080fd5b50565b613bd180620006026000396000f3fe6080604052600436106101b75760003560e01c8063715018a6116100ec578063afdf61341161008a578063d26ea6c011610064578063d26ea6c0146105e7578063d317f96714610610578063e985e9c51461063b578063f2fde38b14610678576101b7565b8063afdf613414610558578063b88d4fde14610581578063c87b56dd146105aa576101b7565b806391b7f5ed116100c657806391b7f5ed146104b057806395d89b41146104d957806398d5fdca14610504578063a22cb4651461052f576101b7565b8063715018a6146104455780637e518ec81461045c5780638da5cb5b14610485576101b7565b806342842e0e11610159578063547520fe11610133578063547520fe146103865780636352211e146103af5780636ecd2306146103ec57806370a0823114610408576101b7565b806342842e0e146102f55780634a1981191461031e5780634d0df5fc14610349576101b7565b8063095ea7b311610195578063095ea7b3146102615780631f46452f1461028a57806323b872dd146102b55780633ccfd60b146102de576101b7565b806301ffc9a7146101bc57806306fdde03146101f9578063081812fc14610224575b600080fd5b3480156101c857600080fd5b506101e360048036038101906101de9190612859565b6106a1565b6040516101f09190612e2f565b60405180910390f35b34801561020557600080fd5b5061020e610783565b60405161021b9190612e4a565b60405180910390f35b34801561023057600080fd5b5061024b60048036038101906102469190612915565b610815565b6040516102589190612dc8565b60405180910390f35b34801561026d57600080fd5b506102886004803603810190610283919061281d565b61089a565b005b34801561029657600080fd5b5061029f6109b2565b6040516102ac919061310c565b60405180910390f35b3480156102c157600080fd5b506102dc60048036038101906102d79190612717565b6109bc565b005b3480156102ea57600080fd5b506102f3610a1c565b005b34801561030157600080fd5b5061031c60048036038101906103179190612717565b610a6c565b005b34801561032a57600080fd5b50610333610a8c565b604051610340919061310c565b60405180910390f35b34801561035557600080fd5b50610370600480360381019061036b91906126b2565b610aa2565b60405161037d9190613127565b60405180910390f35b34801561039257600080fd5b506103ad60048036038101906103a89190612915565b610ac2565b005b3480156103bb57600080fd5b506103d660048036038101906103d19190612915565b610b48565b6040516103e39190612dc8565b60405180910390f35b6104066004803603810190610401919061293e565b610bfa565b005b34801561041457600080fd5b5061042f600480360381019061042a91906126b2565b610e92565b60405161043c919061310c565b60405180910390f35b34801561045157600080fd5b5061045a610f4a565b005b34801561046857600080fd5b50610483600480360381019061047e91906128d4565b610fd2565b005b34801561049157600080fd5b5061049a611068565b6040516104a79190612dc8565b60405180910390f35b3480156104bc57600080fd5b506104d760048036038101906104d29190612915565b611091565b005b3480156104e557600080fd5b506104ee611117565b6040516104fb9190612e4a565b60405180910390f35b34801561051057600080fd5b506105196111a9565b604051610526919061310c565b60405180910390f35b34801561053b57600080fd5b50610556600480360381019061055191906127e1565b6111b3565b005b34801561056457600080fd5b5061057f600480360381019061057a9190612915565b6111c9565b005b34801561058d57600080fd5b506105a860048036038101906105a39190612766565b61124f565b005b3480156105b657600080fd5b506105d160048036038101906105cc9190612915565b6112b1565b6040516105de9190612e4a565b60405180910390f35b3480156105f357600080fd5b5061060e600480360381019061060991906126b2565b611359565b005b34801561061c57600080fd5b50610625611419565b604051610632919061310c565b60405180910390f35b34801561064757600080fd5b50610662600480360381019061065d91906126db565b611423565b60405161066f9190612e2f565b60405180910390f35b34801561068457600080fd5b5061069f600480360381019061069a91906126b2565b611525565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061076c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061077c575061077b8261161d565b5b9050919050565b60606001805461079290613442565b80601f01602080910402602001604051908101604052809291908181526020018280546107be90613442565b801561080b5780601f106107e05761010080835404028352916020019161080b565b820191906000526020600020905b8154815290600101906020018083116107ee57829003601f168201915b5050505050905090565b600061082082611687565b61085f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108569061304c565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108a582610b48565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610916576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090d906130ac565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109356116f3565b73ffffffffffffffffffffffffffffffffffffffff16148061096457506109638161095e6116f3565b611423565b5b6109a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099a90612f6c565b60405180910390fd5b6109ad83836116fb565b505050565b6000600954905090565b6109cd6109c76116f3565b826117b4565b610a0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a03906130cc565b60405180910390fd5b610a17838383611892565b505050565b610a24611068565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610a69573d6000803e3d6000fd5b50565b610a878383836040518060200160405280600081525061124f565b505050565b60006001600b54610a9d9190613221565b905090565b600d6020528060005260406000206000915054906101000a900460ff1681565b610aca6116f3565b73ffffffffffffffffffffffffffffffffffffffff16610ae8611068565b73ffffffffffffffffffffffffffffffffffffffff1614610b3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b359061308c565b60405180910390fd5b8060098190555050565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610bf1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be890612fac565b60405180910390fd5b80915050919050565b60008160ff1611610c40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3790612f4c565b60405180910390fd5b6000600b5490506009548260ff1682610c599190613221565b1115610c9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c91906130ec565b60405180910390fd5b6000610ca4611068565b90506000610cb06116f3565b905060003490508273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d415760008114610d2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2590612fec565b60405180910390fd5b610d388286611af9565b50505050610e8f565b600a5485600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610d9c9190613277565b60ff161115610de0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd790612fcc565b60405180910390fd5b600060085490508560ff1681610df691906132df565b821015610e38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2f9061302c565b60405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015610e7e573d6000803e3d6000fd5b50610e898387611af9565b50505050505b50565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efa90612f8c565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610f526116f3565b73ffffffffffffffffffffffffffffffffffffffff16610f70611068565b73ffffffffffffffffffffffffffffffffffffffff1614610fc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbd9061308c565b60405180910390fd5b610fd06000611bad565b565b610fda6116f3565b73ffffffffffffffffffffffffffffffffffffffff16610ff8611068565b73ffffffffffffffffffffffffffffffffffffffff161461104e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110459061308c565b60405180910390fd5b80600c90805190602001906110649291906124ac565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6110996116f3565b73ffffffffffffffffffffffffffffffffffffffff166110b7611068565b73ffffffffffffffffffffffffffffffffffffffff161461110d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111049061308c565b60405180910390fd5b8060088190555050565b60606002805461112690613442565b80601f016020809104026020016040519081016040528092919081815260200182805461115290613442565b801561119f5780601f106111745761010080835404028352916020019161119f565b820191906000526020600020905b81548152906001019060200180831161118257829003601f168201915b5050505050905090565b6000600854905090565b6111c56111be6116f3565b8383611c71565b5050565b6111d16116f3565b73ffffffffffffffffffffffffffffffffffffffff166111ef611068565b73ffffffffffffffffffffffffffffffffffffffff1614611245576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123c9061308c565b60405180910390fd5b80600a8190555050565b61126061125a6116f3565b836117b4565b61129f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611296906130cc565b60405180910390fd5b6112ab84848484611dde565b50505050565b60606112bc82611687565b6112fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f29061306c565b60405180910390fd5b6000600c805461130a90613442565b9050116113265760405180602001604052806000815250611352565b600c61133183611e3a565b604051602001611342929190612da4565b6040516020818303038152906040525b9050919050565b6113616116f3565b73ffffffffffffffffffffffffffffffffffffffff1661137f611068565b73ffffffffffffffffffffffffffffffffffffffff16146113d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113cc9061308c565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600a54905090565b600080600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b815260040161149b9190612dc8565b60206040518083038186803b1580156114b357600080fd5b505afa1580156114c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114eb91906128ab565b73ffffffffffffffffffffffffffffffffffffffff16141561151157600191505061151f565b61151b8484611fe7565b9150505b92915050565b61152d6116f3565b73ffffffffffffffffffffffffffffffffffffffff1661154b611068565b73ffffffffffffffffffffffffffffffffffffffff16146115a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115989061308c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611611576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160890612e8c565b60405180910390fd5b61161a81611bad565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661176e83610b48565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006117bf82611687565b6117fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f590612f2c565b60405180910390fd5b600061180983610b48565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061187857508373ffffffffffffffffffffffffffffffffffffffff1661186084610815565b73ffffffffffffffffffffffffffffffffffffffff16145b8061188957506118888185611423565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166118b282610b48565b73ffffffffffffffffffffffffffffffffffffffff1614611908576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ff90612eac565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611978576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196f90612eec565b60405180910390fd5b61198383838361207b565b61198e6000826116fb565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119de9190613339565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a359190613221565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611af4838383612080565b505050565b60005b8160ff16811015611ba857611b0f612085565b6000600b5490506001600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff16611b729190613277565b92506101000a81548160ff021916908360ff160217905550611b94848261209f565b508080611ba0906134a5565b915050611afc565b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611ce0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd790612f0c565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611dd19190612e2f565b60405180910390a3505050565b611de9848484611892565b611df5848484846120bd565b611e34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2b90612e6c565b60405180910390fd5b50505050565b60606000821415611e82576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611fe2565b600082905060005b60008214611eb4578080611e9d906134a5565b915050600a82611ead91906132ae565b9150611e8a565b60008167ffffffffffffffff811115611ef6577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611f285781602001600182028036833780820191505090505b5090505b60008514611fdb57600182611f419190613339565b9150600a85611f5091906134ee565b6030611f5c9190613221565b60f81b818381518110611f98577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611fd491906132ae565b9450611f2c565b8093505050505b919050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b505050565b505050565b600b6000815480929190612098906134a5565b9190505550565b6120b9828260405180602001604052806000815250612254565b5050565b60006120de8473ffffffffffffffffffffffffffffffffffffffff166122af565b15612247578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026121076116f3565b8786866040518563ffffffff1660e01b81526004016121299493929190612de3565b602060405180830381600087803b15801561214357600080fd5b505af192505050801561217457506040513d601f19601f820116820180604052508101906121719190612882565b60015b6121f7573d80600081146121a4576040519150601f19603f3d011682016040523d82523d6000602084013e6121a9565b606091505b506000815114156121ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e690612e6c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061224c565b600190505b949350505050565b61225e83836122d2565b61226b60008484846120bd565b6122aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a190612e6c565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612342576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123399061300c565b60405180910390fd5b61234b81611687565b1561238b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238290612ecc565b60405180910390fd5b6123976000838361207b565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123e79190613221565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124a860008383612080565b5050565b8280546124b890613442565b90600052602060002090601f0160209004810192826124da5760008555612521565b82601f106124f357805160ff1916838001178555612521565b82800160010185558215612521579182015b82811115612520578251825591602001919060010190612505565b5b50905061252e9190612532565b5090565b5b8082111561254b576000816000905550600101612533565b5090565b600061256261255d84613167565b613142565b90508281526020810184848401111561257a57600080fd5b612585848285613400565b509392505050565b60006125a061259b84613198565b613142565b9050828152602081018484840111156125b857600080fd5b6125c3848285613400565b509392505050565b6000813590506125da81613b11565b92915050565b6000813590506125ef81613b28565b92915050565b60008135905061260481613b3f565b92915050565b60008151905061261981613b3f565b92915050565b600082601f83011261263057600080fd5b813561264084826020860161254f565b91505092915050565b60008151905061265881613b56565b92915050565b600082601f83011261266f57600080fd5b813561267f84826020860161258d565b91505092915050565b60008135905061269781613b6d565b92915050565b6000813590506126ac81613b84565b92915050565b6000602082840312156126c457600080fd5b60006126d2848285016125cb565b91505092915050565b600080604083850312156126ee57600080fd5b60006126fc858286016125cb565b925050602061270d858286016125cb565b9150509250929050565b60008060006060848603121561272c57600080fd5b600061273a868287016125cb565b935050602061274b868287016125cb565b925050604061275c86828701612688565b9150509250925092565b6000806000806080858703121561277c57600080fd5b600061278a878288016125cb565b945050602061279b878288016125cb565b93505060406127ac87828801612688565b925050606085013567ffffffffffffffff8111156127c957600080fd5b6127d58782880161261f565b91505092959194509250565b600080604083850312156127f457600080fd5b6000612802858286016125cb565b9250506020612813858286016125e0565b9150509250929050565b6000806040838503121561283057600080fd5b600061283e858286016125cb565b925050602061284f85828601612688565b9150509250929050565b60006020828403121561286b57600080fd5b6000612879848285016125f5565b91505092915050565b60006020828403121561289457600080fd5b60006128a28482850161260a565b91505092915050565b6000602082840312156128bd57600080fd5b60006128cb84828501612649565b91505092915050565b6000602082840312156128e657600080fd5b600082013567ffffffffffffffff81111561290057600080fd5b61290c8482850161265e565b91505092915050565b60006020828403121561292757600080fd5b600061293584828501612688565b91505092915050565b60006020828403121561295057600080fd5b600061295e8482850161269d565b91505092915050565b6129708161336d565b82525050565b61297f8161337f565b82525050565b6000612990826131de565b61299a81856131f4565b93506129aa81856020860161340f565b6129b3816135db565b840191505092915050565b60006129c9826131e9565b6129d38185613205565b93506129e381856020860161340f565b6129ec816135db565b840191505092915050565b6000612a02826131e9565b612a0c8185613216565b9350612a1c81856020860161340f565b80840191505092915050565b60008154612a3581613442565b612a3f8186613216565b94506001821660008114612a5a5760018114612a6b57612a9e565b60ff19831686528186019350612a9e565b612a74856131c9565b60005b83811015612a9657815481890152600182019150602081019050612a77565b838801955050505b50505092915050565b6000612ab4603283613205565b9150612abf826135ec565b604082019050919050565b6000612ad7602683613205565b9150612ae28261363b565b604082019050919050565b6000612afa602583613205565b9150612b058261368a565b604082019050919050565b6000612b1d601c83613205565b9150612b28826136d9565b602082019050919050565b6000612b40602483613205565b9150612b4b82613702565b604082019050919050565b6000612b63601983613205565b9150612b6e82613751565b602082019050919050565b6000612b86602c83613205565b9150612b918261377a565b604082019050919050565b6000612ba9601183613205565b9150612bb4826137c9565b602082019050919050565b6000612bcc603883613205565b9150612bd7826137f2565b604082019050919050565b6000612bef602a83613205565b9150612bfa82613841565b604082019050919050565b6000612c12602983613205565b9150612c1d82613890565b604082019050919050565b6000612c35601883613205565b9150612c40826138df565b602082019050919050565b6000612c58601e83613205565b9150612c6382613908565b602082019050919050565b6000612c7b602083613205565b9150612c8682613931565b602082019050919050565b6000612c9e600e83613205565b9150612ca98261395a565b602082019050919050565b6000612cc1602c83613205565b9150612ccc82613983565b604082019050919050565b6000612ce4602583613205565b9150612cef826139d2565b604082019050919050565b6000612d07602083613205565b9150612d1282613a21565b602082019050919050565b6000612d2a602183613205565b9150612d3582613a4a565b604082019050919050565b6000612d4d603183613205565b9150612d5882613a99565b604082019050919050565b6000612d70601683613205565b9150612d7b82613ae8565b602082019050919050565b612d8f816133e9565b82525050565b612d9e816133f3565b82525050565b6000612db08285612a28565b9150612dbc82846129f7565b91508190509392505050565b6000602082019050612ddd6000830184612967565b92915050565b6000608082019050612df86000830187612967565b612e056020830186612967565b612e126040830185612d86565b8181036060830152612e248184612985565b905095945050505050565b6000602082019050612e446000830184612976565b92915050565b60006020820190508181036000830152612e6481846129be565b905092915050565b60006020820190508181036000830152612e8581612aa7565b9050919050565b60006020820190508181036000830152612ea581612aca565b9050919050565b60006020820190508181036000830152612ec581612aed565b9050919050565b60006020820190508181036000830152612ee581612b10565b9050919050565b60006020820190508181036000830152612f0581612b33565b9050919050565b60006020820190508181036000830152612f2581612b56565b9050919050565b60006020820190508181036000830152612f4581612b79565b9050919050565b60006020820190508181036000830152612f6581612b9c565b9050919050565b60006020820190508181036000830152612f8581612bbf565b9050919050565b60006020820190508181036000830152612fa581612be2565b9050919050565b60006020820190508181036000830152612fc581612c05565b9050919050565b60006020820190508181036000830152612fe581612c28565b9050919050565b6000602082019050818103600083015261300581612c4b565b9050919050565b6000602082019050818103600083015261302581612c6e565b9050919050565b6000602082019050818103600083015261304581612c91565b9050919050565b6000602082019050818103600083015261306581612cb4565b9050919050565b6000602082019050818103600083015261308581612cd7565b9050919050565b600060208201905081810360008301526130a581612cfa565b9050919050565b600060208201905081810360008301526130c581612d1d565b9050919050565b600060208201905081810360008301526130e581612d40565b9050919050565b6000602082019050818103600083015261310581612d63565b9050919050565b60006020820190506131216000830184612d86565b92915050565b600060208201905061313c6000830184612d95565b92915050565b600061314c61315d565b90506131588282613474565b919050565b6000604051905090565b600067ffffffffffffffff821115613182576131816135ac565b5b61318b826135db565b9050602081019050919050565b600067ffffffffffffffff8211156131b3576131b26135ac565b5b6131bc826135db565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061322c826133e9565b9150613237836133e9565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561326c5761326b61351f565b5b828201905092915050565b6000613282826133f3565b915061328d836133f3565b92508260ff038211156132a3576132a261351f565b5b828201905092915050565b60006132b9826133e9565b91506132c4836133e9565b9250826132d4576132d361354e565b5b828204905092915050565b60006132ea826133e9565b91506132f5836133e9565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561332e5761332d61351f565b5b828202905092915050565b6000613344826133e9565b915061334f836133e9565b9250828210156133625761336161351f565b5b828203905092915050565b6000613378826133c9565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006133c28261336d565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561342d578082015181840152602081019050613412565b8381111561343c576000848401525b50505050565b6000600282049050600182168061345a57607f821691505b6020821081141561346e5761346d61357d565b5b50919050565b61347d826135db565b810181811067ffffffffffffffff8211171561349c5761349b6135ac565b5b80604052505050565b60006134b0826133e9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156134e3576134e261351f565b5b600182019050919050565b60006134f9826133e9565b9150613504836133e9565b9250826135145761351361354e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f57726f6e6720626174636820616d6f7574000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f52656163686564206d61784d696e7450657257616c6c65740000000000000000600082015250565b7f4f776e657220646f65736e2774206e65656420746f2073656e64204554480000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4e6f7420656e6f75676820455448000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732315472616461626c65237572693a204e4f4e4558495354454e545f60008201527f544f4b454e000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f416d6f756e742072656163686573206d61784d696e7400000000000000000000600082015250565b613b1a8161336d565b8114613b2557600080fd5b50565b613b318161337f565b8114613b3c57600080fd5b50565b613b488161338b565b8114613b5357600080fd5b50565b613b5f816133b7565b8114613b6a57600080fd5b50565b613b76816133e9565b8114613b8157600080fd5b50565b613b8d816133f3565b8114613b9857600080fd5b5056fea26469706673582212206d280841fb9fe34c49d13e974029c5671c976a104f1beeb39e50a4fdc03c8c8664736f6c634300080100330000000000000000000000007cb12ffab909f59cfa7a2fffa26a11d8b7a99239000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c100000000000000000000000000000000000000000000000000b1a2bc2ec50000000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000005468747470733a2f2f6b6f6e6774616d612e6d7970696e6174612e636c6f75642f697066732f516d514437556873536b66393836615234696539537a6d4a70594e6e4532746a4a55526544616f72523337575a4a2f000000000000000000000000

Deployed Bytecode

0x6080604052600436106101b75760003560e01c8063715018a6116100ec578063afdf61341161008a578063d26ea6c011610064578063d26ea6c0146105e7578063d317f96714610610578063e985e9c51461063b578063f2fde38b14610678576101b7565b8063afdf613414610558578063b88d4fde14610581578063c87b56dd146105aa576101b7565b806391b7f5ed116100c657806391b7f5ed146104b057806395d89b41146104d957806398d5fdca14610504578063a22cb4651461052f576101b7565b8063715018a6146104455780637e518ec81461045c5780638da5cb5b14610485576101b7565b806342842e0e11610159578063547520fe11610133578063547520fe146103865780636352211e146103af5780636ecd2306146103ec57806370a0823114610408576101b7565b806342842e0e146102f55780634a1981191461031e5780634d0df5fc14610349576101b7565b8063095ea7b311610195578063095ea7b3146102615780631f46452f1461028a57806323b872dd146102b55780633ccfd60b146102de576101b7565b806301ffc9a7146101bc57806306fdde03146101f9578063081812fc14610224575b600080fd5b3480156101c857600080fd5b506101e360048036038101906101de9190612859565b6106a1565b6040516101f09190612e2f565b60405180910390f35b34801561020557600080fd5b5061020e610783565b60405161021b9190612e4a565b60405180910390f35b34801561023057600080fd5b5061024b60048036038101906102469190612915565b610815565b6040516102589190612dc8565b60405180910390f35b34801561026d57600080fd5b506102886004803603810190610283919061281d565b61089a565b005b34801561029657600080fd5b5061029f6109b2565b6040516102ac919061310c565b60405180910390f35b3480156102c157600080fd5b506102dc60048036038101906102d79190612717565b6109bc565b005b3480156102ea57600080fd5b506102f3610a1c565b005b34801561030157600080fd5b5061031c60048036038101906103179190612717565b610a6c565b005b34801561032a57600080fd5b50610333610a8c565b604051610340919061310c565b60405180910390f35b34801561035557600080fd5b50610370600480360381019061036b91906126b2565b610aa2565b60405161037d9190613127565b60405180910390f35b34801561039257600080fd5b506103ad60048036038101906103a89190612915565b610ac2565b005b3480156103bb57600080fd5b506103d660048036038101906103d19190612915565b610b48565b6040516103e39190612dc8565b60405180910390f35b6104066004803603810190610401919061293e565b610bfa565b005b34801561041457600080fd5b5061042f600480360381019061042a91906126b2565b610e92565b60405161043c919061310c565b60405180910390f35b34801561045157600080fd5b5061045a610f4a565b005b34801561046857600080fd5b50610483600480360381019061047e91906128d4565b610fd2565b005b34801561049157600080fd5b5061049a611068565b6040516104a79190612dc8565b60405180910390f35b3480156104bc57600080fd5b506104d760048036038101906104d29190612915565b611091565b005b3480156104e557600080fd5b506104ee611117565b6040516104fb9190612e4a565b60405180910390f35b34801561051057600080fd5b506105196111a9565b604051610526919061310c565b60405180910390f35b34801561053b57600080fd5b50610556600480360381019061055191906127e1565b6111b3565b005b34801561056457600080fd5b5061057f600480360381019061057a9190612915565b6111c9565b005b34801561058d57600080fd5b506105a860048036038101906105a39190612766565b61124f565b005b3480156105b657600080fd5b506105d160048036038101906105cc9190612915565b6112b1565b6040516105de9190612e4a565b60405180910390f35b3480156105f357600080fd5b5061060e600480360381019061060991906126b2565b611359565b005b34801561061c57600080fd5b50610625611419565b604051610632919061310c565b60405180910390f35b34801561064757600080fd5b50610662600480360381019061065d91906126db565b611423565b60405161066f9190612e2f565b60405180910390f35b34801561068457600080fd5b5061069f600480360381019061069a91906126b2565b611525565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061076c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061077c575061077b8261161d565b5b9050919050565b60606001805461079290613442565b80601f01602080910402602001604051908101604052809291908181526020018280546107be90613442565b801561080b5780601f106107e05761010080835404028352916020019161080b565b820191906000526020600020905b8154815290600101906020018083116107ee57829003601f168201915b5050505050905090565b600061082082611687565b61085f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108569061304c565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108a582610b48565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610916576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090d906130ac565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109356116f3565b73ffffffffffffffffffffffffffffffffffffffff16148061096457506109638161095e6116f3565b611423565b5b6109a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099a90612f6c565b60405180910390fd5b6109ad83836116fb565b505050565b6000600954905090565b6109cd6109c76116f3565b826117b4565b610a0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a03906130cc565b60405180910390fd5b610a17838383611892565b505050565b610a24611068565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610a69573d6000803e3d6000fd5b50565b610a878383836040518060200160405280600081525061124f565b505050565b60006001600b54610a9d9190613221565b905090565b600d6020528060005260406000206000915054906101000a900460ff1681565b610aca6116f3565b73ffffffffffffffffffffffffffffffffffffffff16610ae8611068565b73ffffffffffffffffffffffffffffffffffffffff1614610b3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b359061308c565b60405180910390fd5b8060098190555050565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610bf1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be890612fac565b60405180910390fd5b80915050919050565b60008160ff1611610c40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3790612f4c565b60405180910390fd5b6000600b5490506009548260ff1682610c599190613221565b1115610c9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c91906130ec565b60405180910390fd5b6000610ca4611068565b90506000610cb06116f3565b905060003490508273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d415760008114610d2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2590612fec565b60405180910390fd5b610d388286611af9565b50505050610e8f565b600a5485600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610d9c9190613277565b60ff161115610de0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd790612fcc565b60405180910390fd5b600060085490508560ff1681610df691906132df565b821015610e38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2f9061302c565b60405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015610e7e573d6000803e3d6000fd5b50610e898387611af9565b50505050505b50565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efa90612f8c565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610f526116f3565b73ffffffffffffffffffffffffffffffffffffffff16610f70611068565b73ffffffffffffffffffffffffffffffffffffffff1614610fc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbd9061308c565b60405180910390fd5b610fd06000611bad565b565b610fda6116f3565b73ffffffffffffffffffffffffffffffffffffffff16610ff8611068565b73ffffffffffffffffffffffffffffffffffffffff161461104e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110459061308c565b60405180910390fd5b80600c90805190602001906110649291906124ac565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6110996116f3565b73ffffffffffffffffffffffffffffffffffffffff166110b7611068565b73ffffffffffffffffffffffffffffffffffffffff161461110d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111049061308c565b60405180910390fd5b8060088190555050565b60606002805461112690613442565b80601f016020809104026020016040519081016040528092919081815260200182805461115290613442565b801561119f5780601f106111745761010080835404028352916020019161119f565b820191906000526020600020905b81548152906001019060200180831161118257829003601f168201915b5050505050905090565b6000600854905090565b6111c56111be6116f3565b8383611c71565b5050565b6111d16116f3565b73ffffffffffffffffffffffffffffffffffffffff166111ef611068565b73ffffffffffffffffffffffffffffffffffffffff1614611245576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123c9061308c565b60405180910390fd5b80600a8190555050565b61126061125a6116f3565b836117b4565b61129f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611296906130cc565b60405180910390fd5b6112ab84848484611dde565b50505050565b60606112bc82611687565b6112fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f29061306c565b60405180910390fd5b6000600c805461130a90613442565b9050116113265760405180602001604052806000815250611352565b600c61133183611e3a565b604051602001611342929190612da4565b6040516020818303038152906040525b9050919050565b6113616116f3565b73ffffffffffffffffffffffffffffffffffffffff1661137f611068565b73ffffffffffffffffffffffffffffffffffffffff16146113d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113cc9061308c565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600a54905090565b600080600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b815260040161149b9190612dc8565b60206040518083038186803b1580156114b357600080fd5b505afa1580156114c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114eb91906128ab565b73ffffffffffffffffffffffffffffffffffffffff16141561151157600191505061151f565b61151b8484611fe7565b9150505b92915050565b61152d6116f3565b73ffffffffffffffffffffffffffffffffffffffff1661154b611068565b73ffffffffffffffffffffffffffffffffffffffff16146115a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115989061308c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611611576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160890612e8c565b60405180910390fd5b61161a81611bad565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661176e83610b48565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006117bf82611687565b6117fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f590612f2c565b60405180910390fd5b600061180983610b48565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061187857508373ffffffffffffffffffffffffffffffffffffffff1661186084610815565b73ffffffffffffffffffffffffffffffffffffffff16145b8061188957506118888185611423565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166118b282610b48565b73ffffffffffffffffffffffffffffffffffffffff1614611908576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ff90612eac565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611978576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196f90612eec565b60405180910390fd5b61198383838361207b565b61198e6000826116fb565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119de9190613339565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a359190613221565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611af4838383612080565b505050565b60005b8160ff16811015611ba857611b0f612085565b6000600b5490506001600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff16611b729190613277565b92506101000a81548160ff021916908360ff160217905550611b94848261209f565b508080611ba0906134a5565b915050611afc565b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611ce0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd790612f0c565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611dd19190612e2f565b60405180910390a3505050565b611de9848484611892565b611df5848484846120bd565b611e34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2b90612e6c565b60405180910390fd5b50505050565b60606000821415611e82576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611fe2565b600082905060005b60008214611eb4578080611e9d906134a5565b915050600a82611ead91906132ae565b9150611e8a565b60008167ffffffffffffffff811115611ef6577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611f285781602001600182028036833780820191505090505b5090505b60008514611fdb57600182611f419190613339565b9150600a85611f5091906134ee565b6030611f5c9190613221565b60f81b818381518110611f98577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611fd491906132ae565b9450611f2c565b8093505050505b919050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b505050565b505050565b600b6000815480929190612098906134a5565b9190505550565b6120b9828260405180602001604052806000815250612254565b5050565b60006120de8473ffffffffffffffffffffffffffffffffffffffff166122af565b15612247578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026121076116f3565b8786866040518563ffffffff1660e01b81526004016121299493929190612de3565b602060405180830381600087803b15801561214357600080fd5b505af192505050801561217457506040513d601f19601f820116820180604052508101906121719190612882565b60015b6121f7573d80600081146121a4576040519150601f19603f3d011682016040523d82523d6000602084013e6121a9565b606091505b506000815114156121ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e690612e6c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061224c565b600190505b949350505050565b61225e83836122d2565b61226b60008484846120bd565b6122aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a190612e6c565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612342576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123399061300c565b60405180910390fd5b61234b81611687565b1561238b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238290612ecc565b60405180910390fd5b6123976000838361207b565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123e79190613221565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124a860008383612080565b5050565b8280546124b890613442565b90600052602060002090601f0160209004810192826124da5760008555612521565b82601f106124f357805160ff1916838001178555612521565b82800160010185558215612521579182015b82811115612520578251825591602001919060010190612505565b5b50905061252e9190612532565b5090565b5b8082111561254b576000816000905550600101612533565b5090565b600061256261255d84613167565b613142565b90508281526020810184848401111561257a57600080fd5b612585848285613400565b509392505050565b60006125a061259b84613198565b613142565b9050828152602081018484840111156125b857600080fd5b6125c3848285613400565b509392505050565b6000813590506125da81613b11565b92915050565b6000813590506125ef81613b28565b92915050565b60008135905061260481613b3f565b92915050565b60008151905061261981613b3f565b92915050565b600082601f83011261263057600080fd5b813561264084826020860161254f565b91505092915050565b60008151905061265881613b56565b92915050565b600082601f83011261266f57600080fd5b813561267f84826020860161258d565b91505092915050565b60008135905061269781613b6d565b92915050565b6000813590506126ac81613b84565b92915050565b6000602082840312156126c457600080fd5b60006126d2848285016125cb565b91505092915050565b600080604083850312156126ee57600080fd5b60006126fc858286016125cb565b925050602061270d858286016125cb565b9150509250929050565b60008060006060848603121561272c57600080fd5b600061273a868287016125cb565b935050602061274b868287016125cb565b925050604061275c86828701612688565b9150509250925092565b6000806000806080858703121561277c57600080fd5b600061278a878288016125cb565b945050602061279b878288016125cb565b93505060406127ac87828801612688565b925050606085013567ffffffffffffffff8111156127c957600080fd5b6127d58782880161261f565b91505092959194509250565b600080604083850312156127f457600080fd5b6000612802858286016125cb565b9250506020612813858286016125e0565b9150509250929050565b6000806040838503121561283057600080fd5b600061283e858286016125cb565b925050602061284f85828601612688565b9150509250929050565b60006020828403121561286b57600080fd5b6000612879848285016125f5565b91505092915050565b60006020828403121561289457600080fd5b60006128a28482850161260a565b91505092915050565b6000602082840312156128bd57600080fd5b60006128cb84828501612649565b91505092915050565b6000602082840312156128e657600080fd5b600082013567ffffffffffffffff81111561290057600080fd5b61290c8482850161265e565b91505092915050565b60006020828403121561292757600080fd5b600061293584828501612688565b91505092915050565b60006020828403121561295057600080fd5b600061295e8482850161269d565b91505092915050565b6129708161336d565b82525050565b61297f8161337f565b82525050565b6000612990826131de565b61299a81856131f4565b93506129aa81856020860161340f565b6129b3816135db565b840191505092915050565b60006129c9826131e9565b6129d38185613205565b93506129e381856020860161340f565b6129ec816135db565b840191505092915050565b6000612a02826131e9565b612a0c8185613216565b9350612a1c81856020860161340f565b80840191505092915050565b60008154612a3581613442565b612a3f8186613216565b94506001821660008114612a5a5760018114612a6b57612a9e565b60ff19831686528186019350612a9e565b612a74856131c9565b60005b83811015612a9657815481890152600182019150602081019050612a77565b838801955050505b50505092915050565b6000612ab4603283613205565b9150612abf826135ec565b604082019050919050565b6000612ad7602683613205565b9150612ae28261363b565b604082019050919050565b6000612afa602583613205565b9150612b058261368a565b604082019050919050565b6000612b1d601c83613205565b9150612b28826136d9565b602082019050919050565b6000612b40602483613205565b9150612b4b82613702565b604082019050919050565b6000612b63601983613205565b9150612b6e82613751565b602082019050919050565b6000612b86602c83613205565b9150612b918261377a565b604082019050919050565b6000612ba9601183613205565b9150612bb4826137c9565b602082019050919050565b6000612bcc603883613205565b9150612bd7826137f2565b604082019050919050565b6000612bef602a83613205565b9150612bfa82613841565b604082019050919050565b6000612c12602983613205565b9150612c1d82613890565b604082019050919050565b6000612c35601883613205565b9150612c40826138df565b602082019050919050565b6000612c58601e83613205565b9150612c6382613908565b602082019050919050565b6000612c7b602083613205565b9150612c8682613931565b602082019050919050565b6000612c9e600e83613205565b9150612ca98261395a565b602082019050919050565b6000612cc1602c83613205565b9150612ccc82613983565b604082019050919050565b6000612ce4602583613205565b9150612cef826139d2565b604082019050919050565b6000612d07602083613205565b9150612d1282613a21565b602082019050919050565b6000612d2a602183613205565b9150612d3582613a4a565b604082019050919050565b6000612d4d603183613205565b9150612d5882613a99565b604082019050919050565b6000612d70601683613205565b9150612d7b82613ae8565b602082019050919050565b612d8f816133e9565b82525050565b612d9e816133f3565b82525050565b6000612db08285612a28565b9150612dbc82846129f7565b91508190509392505050565b6000602082019050612ddd6000830184612967565b92915050565b6000608082019050612df86000830187612967565b612e056020830186612967565b612e126040830185612d86565b8181036060830152612e248184612985565b905095945050505050565b6000602082019050612e446000830184612976565b92915050565b60006020820190508181036000830152612e6481846129be565b905092915050565b60006020820190508181036000830152612e8581612aa7565b9050919050565b60006020820190508181036000830152612ea581612aca565b9050919050565b60006020820190508181036000830152612ec581612aed565b9050919050565b60006020820190508181036000830152612ee581612b10565b9050919050565b60006020820190508181036000830152612f0581612b33565b9050919050565b60006020820190508181036000830152612f2581612b56565b9050919050565b60006020820190508181036000830152612f4581612b79565b9050919050565b60006020820190508181036000830152612f6581612b9c565b9050919050565b60006020820190508181036000830152612f8581612bbf565b9050919050565b60006020820190508181036000830152612fa581612be2565b9050919050565b60006020820190508181036000830152612fc581612c05565b9050919050565b60006020820190508181036000830152612fe581612c28565b9050919050565b6000602082019050818103600083015261300581612c4b565b9050919050565b6000602082019050818103600083015261302581612c6e565b9050919050565b6000602082019050818103600083015261304581612c91565b9050919050565b6000602082019050818103600083015261306581612cb4565b9050919050565b6000602082019050818103600083015261308581612cd7565b9050919050565b600060208201905081810360008301526130a581612cfa565b9050919050565b600060208201905081810360008301526130c581612d1d565b9050919050565b600060208201905081810360008301526130e581612d40565b9050919050565b6000602082019050818103600083015261310581612d63565b9050919050565b60006020820190506131216000830184612d86565b92915050565b600060208201905061313c6000830184612d95565b92915050565b600061314c61315d565b90506131588282613474565b919050565b6000604051905090565b600067ffffffffffffffff821115613182576131816135ac565b5b61318b826135db565b9050602081019050919050565b600067ffffffffffffffff8211156131b3576131b26135ac565b5b6131bc826135db565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061322c826133e9565b9150613237836133e9565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561326c5761326b61351f565b5b828201905092915050565b6000613282826133f3565b915061328d836133f3565b92508260ff038211156132a3576132a261351f565b5b828201905092915050565b60006132b9826133e9565b91506132c4836133e9565b9250826132d4576132d361354e565b5b828204905092915050565b60006132ea826133e9565b91506132f5836133e9565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561332e5761332d61351f565b5b828202905092915050565b6000613344826133e9565b915061334f836133e9565b9250828210156133625761336161351f565b5b828203905092915050565b6000613378826133c9565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006133c28261336d565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561342d578082015181840152602081019050613412565b8381111561343c576000848401525b50505050565b6000600282049050600182168061345a57607f821691505b6020821081141561346e5761346d61357d565b5b50919050565b61347d826135db565b810181811067ffffffffffffffff8211171561349c5761349b6135ac565b5b80604052505050565b60006134b0826133e9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156134e3576134e261351f565b5b600182019050919050565b60006134f9826133e9565b9150613504836133e9565b9250826135145761351361354e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f57726f6e6720626174636820616d6f7574000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f52656163686564206d61784d696e7450657257616c6c65740000000000000000600082015250565b7f4f776e657220646f65736e2774206e65656420746f2073656e64204554480000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4e6f7420656e6f75676820455448000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732315472616461626c65237572693a204e4f4e4558495354454e545f60008201527f544f4b454e000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f416d6f756e742072656163686573206d61784d696e7400000000000000000000600082015250565b613b1a8161336d565b8114613b2557600080fd5b50565b613b318161337f565b8114613b3c57600080fd5b50565b613b488161338b565b8114613b5357600080fd5b50565b613b5f816133b7565b8114613b6a57600080fd5b50565b613b76816133e9565b8114613b8157600080fd5b50565b613b8d816133f3565b8114613b9857600080fd5b5056fea26469706673582212206d280841fb9fe34c49d13e974029c5671c976a104f1beeb39e50a4fdc03c8c8664736f6c63430008010033

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

0000000000000000000000007cb12ffab909f59cfa7a2fffa26a11d8b7a99239000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c100000000000000000000000000000000000000000000000000b1a2bc2ec50000000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000005468747470733a2f2f6b6f6e6774616d612e6d7970696e6174612e636c6f75642f697066732f516d514437556873536b66393836615234696539537a6d4a70594e6e4532746a4a55526544616f72523337575a4a2f000000000000000000000000

-----Decoded View---------------
Arg [0] : owner (address): 0x7CB12ffab909f59CFA7A2fffA26a11D8b7A99239
Arg [1] : proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
Arg [2] : price (uint256): 50000000000000000
Arg [3] : maxMint (uint256): 10
Arg [4] : baseMetadataURI (string): https://kongtama.mypinata.cloud/ipfs/QmQD7UhsSkf986aR4ie9SzmJpYNnE2tjJUReDaorR37WZJ/

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000007cb12ffab909f59cfa7a2fffa26a11d8b7a99239
Arg [1] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [2] : 00000000000000000000000000000000000000000000000000b1a2bc2ec50000
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [4] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000054
Arg [6] : 68747470733a2f2f6b6f6e6774616d612e6d7970696e6174612e636c6f75642f
Arg [7] : 697066732f516d514437556873536b66393836615234696539537a6d4a70594e
Arg [8] : 6e4532746a4a55526544616f72523337575a4a2f000000000000000000000000


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.