ETH Price: $2,666.17 (+3.08%)

Token

The Awakening Comic (AWAKC)
 

Overview

Max Total Supply

9,999 AWAKC

Holders

191

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
septem776.eth
Balance
11 AWAKC
0x549B6B0af3877eEa8677E49f09271E7Ce181bDe0
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:
AwakeningComic

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : AwakeningComic.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.4;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract AwakeningComic is ERC721, Ownable {
    bool public saleActive = false;
    bool public claimActive = false;
    
    string internal baseTokenURI;

    uint public price = 0.02 ether;
    uint public totalSupply = 9999;
    uint public nonce = 0;
    uint public claimed = 0;
    uint public maxTx = 3;

    ERC721 public NFT;
    
    event Mint(address owner, uint qty);
    event Giveaway(address to, uint qty);
    event Withdraw(uint amount);

    mapping(address => bool) public holders;
    
    constructor(address nft) ERC721("The Awakening Comic", "AWAKC") {
        setAwakeningAddress(nft);
    }

    function setAwakeningAddress(address newAddress) public onlyOwner {
        NFT = ERC721(newAddress);
    }
    
    function setPrice(uint newPrice) external onlyOwner {
        price = newPrice;
    }
    
    function setBaseTokenURI(string calldata _uri) external onlyOwner {
        baseTokenURI = _uri;
    }
    
    function setTotalSupply(uint newSupply) external onlyOwner {
        totalSupply = newSupply;
    }

    function setSaleActive(bool val) public onlyOwner {
        saleActive = val;
    }

    function setClaimActive(bool val) public onlyOwner {
        claimActive = val;
    }

    function setMaxTx(uint newMax) external onlyOwner {
        maxTx = newMax;
    }

    function getAssetsByOwner(address _owner) public view returns(uint[] memory) {
        uint[] memory result = new uint[](balanceOf(_owner));
        uint counter = 0;
        for (uint i = 0; i < nonce; i++) {
            if (ownerOf(i) == _owner) {
                result[counter] = i;
                counter++;
            }
        }
        return result;
    }
    
    function _baseURI() internal override view returns (string memory) {
        return baseTokenURI;
    }
    
    function giveaway(address to, uint qty) external onlyOwner {
        require(qty + nonce <= totalSupply, "SUPPLY: Value exceeds totalSupply");
        for(uint i = 0; i < qty; i++){
            uint tokenId = nonce;
            _safeMint(to, tokenId);
            nonce++;
        }
        emit Giveaway(to, qty);
    }

    function claim() external {
        require(claimActive, "TRANSACTION: claim is not active");
        uint[] memory balance = new uint[](NFT.balanceOf(msg.sender));
        require(holders[msg.sender] != true, "TRANSACTION: You already claimed");
        require(balance.length > 0, "TRANSACTION: Not enough balance");
        require(balance.length + nonce <= totalSupply, "SUPPLY: Value exceeds totalSupply");
        for(uint i=0; i < balance.length; i++){
            uint tokenId = nonce;
            _safeMint(msg.sender, tokenId);
            holders[msg.sender] = true;
            nonce++;
            claimed++;
        }
        emit Mint(_msgSender(), balance.length);
    }
    
    function buy(uint qty) external payable {
        require(saleActive, "TRANSACTION: sale is not active");
        require(qty <= maxTx || qty < 1, "TRANSACTION: qty of mints not alowed");
        require(qty + nonce <= totalSupply, "SUPPLY: Value exceeds totalSupply");
        require(msg.value == price * qty, "PAYMENT: invalid value");
        for(uint i = 0; i < qty; i++){
            uint tokenId = nonce;
            _safeMint(msg.sender, tokenId);
            nonce++;
        }
        emit Mint(msg.sender, qty);
    }
    
    function withdrawOwner() external onlyOwner {
        payable(msg.sender).transfer(address(this).balance);
    }
}

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

pragma solidity ^0.8.0;

import "../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;

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

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

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

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

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

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

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

File 3 of 11 : ERC721.sol
// SPDX-License-Identifier: MIT

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 {
        require(operator != _msgSender(), "ERC721: approve to caller");

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 4 of 11 : IERC721.sol
// SPDX-License-Identifier: MIT

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 5 of 11 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

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 6 of 11 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

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 7 of 11 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 11 : Context.sol
// SPDX-License-Identifier: MIT

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 9 of 11 : Strings.sol
// SPDX-License-Identifier: MIT

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 10 of 11 : ERC165.sol
// SPDX-License-Identifier: MIT

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 11 of 11 : IERC165.sol
// SPDX-License-Identifier: MIT

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
{
  "remappings": [],
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"nft","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"qty","type":"uint256"}],"name":"Giveaway","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"qty","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"NFT","outputs":[{"internalType":"contract ERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"getAssetsByOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"giveaway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"holders","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setAwakeningAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"setClaimActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"setMaxTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"setSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"setTotalSupply","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":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawOwner","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600660146101000a81548160ff0219169083151502179055506000600660156101000a81548160ff02191690831515021790555066470de4df82000060085561270f6009556000600a556000600b556003600c553480156200006757600080fd5b50604051620049b0380380620049b083398181016040528101906200008d9190620003f7565b6040518060400160405280601381526020017f546865204177616b656e696e6720436f6d6963000000000000000000000000008152506040518060400160405280600581526020017f4157414b4300000000000000000000000000000000000000000000000000000081525081600090805190602001906200011192919062000330565b5080600190805190602001906200012a92919062000330565b5050506200014d620001416200016560201b60201c565b6200016d60201b60201c565b6200015e816200023360201b60201c565b5062000559565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002436200016560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002696200030660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002c2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002b9906200044a565b60405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200033e90620004b1565b90600052602060002090601f016020900481019282620003625760008555620003ae565b82601f106200037d57805160ff1916838001178555620003ae565b82800160010185558215620003ae579182015b82811115620003ad57825182559160200191906001019062000390565b5b509050620003bd9190620003c1565b5090565b5b80821115620003dc576000816000905550600101620003c2565b5090565b600081519050620003f1816200053f565b92915050565b6000602082840312156200040a57600080fd5b60006200041a84828501620003e0565b91505092915050565b6000620004326020836200046c565b91506200043f8262000516565b602082019050919050565b60006020820190508181036000830152620004658162000423565b9050919050565b600082825260208201905092915050565b60006200048a8262000491565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006002820490506001821680620004ca57607f821691505b60208210811415620004e157620004e0620004e7565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6200054a816200047d565b81146200055657600080fd5b50565b61444780620005696000396000f3fe60806040526004361061021a5760003560e01c80637c0b8de211610123578063b88d4fde116100ab578063e834a8341161006f578063e834a834146107ae578063e8cc00ad146107d9578063e985e9c5146107f0578063f2fde38b1461082d578063f7ea7a3d146108565761021a565b8063b88d4fde146106d8578063bc33718214610701578063c87b56dd1461072a578063d4a6a2fd14610767578063d96a094a146107925761021a565b806391b7f5ed116100f257806391b7f5ed1461060557806395d89b411461062e578063a035b1fe14610659578063a22cb46514610684578063affed0e0146106ad5761021a565b80637c0b8de21461055d57806382be0b6214610588578063841718a6146105b15780638da5cb5b146105da5761021a565b806330176e13116101a657806368428a1b1161017557806368428a1b1461048a57806370a08231146104b5578063715018a6146104f257806373417b09146105095780637437681e146105325761021a565b806330176e13146103e457806342842e0e1461040d5780634e71d92d146104365780636352211e1461044d5761021a565b8063095ea7b3116101ed578063095ea7b3146102ed57806318160ddd1461031657806318a5bbdc1461034157806323b872dd1461037e578063276f0934146103a75761021a565b806301ffc9a71461021f578063050225ea1461025c57806306fdde0314610285578063081812fc146102b0575b600080fd5b34801561022b57600080fd5b5061024660048036038101906102419190612fec565b61087f565b6040516102539190613634565b60405180910390f35b34801561026857600080fd5b50610283600480360381019061027e9190612f87565b610961565b005b34801561029157600080fd5b5061029a610ab5565b6040516102a7919061366a565b60405180910390f35b3480156102bc57600080fd5b506102d760048036038101906102d29190613083565b610b47565b6040516102e49190613582565b60405180910390f35b3480156102f957600080fd5b50610314600480360381019061030f9190612f87565b610bcc565b005b34801561032257600080fd5b5061032b610ce4565b604051610338919061396c565b60405180910390f35b34801561034d57600080fd5b5061036860048036038101906103639190612e1c565b610cea565b6040516103759190613634565b60405180910390f35b34801561038a57600080fd5b506103a560048036038101906103a09190612e81565b610d0a565b005b3480156103b357600080fd5b506103ce60048036038101906103c99190612e1c565b610d6a565b6040516103db9190613612565b60405180910390f35b3480156103f057600080fd5b5061040b6004803603810190610406919061303e565b610ea4565b005b34801561041957600080fd5b50610434600480360381019061042f9190612e81565b610f36565b005b34801561044257600080fd5b5061044b610f56565b005b34801561045957600080fd5b50610474600480360381019061046f9190613083565b6112eb565b6040516104819190613582565b60405180910390f35b34801561049657600080fd5b5061049f61139d565b6040516104ac9190613634565b60405180910390f35b3480156104c157600080fd5b506104dc60048036038101906104d79190612e1c565b6113b0565b6040516104e9919061396c565b60405180910390f35b3480156104fe57600080fd5b50610507611468565b005b34801561051557600080fd5b50610530600480360381019061052b9190612fc3565b6114f0565b005b34801561053e57600080fd5b50610547611589565b604051610554919061396c565b60405180910390f35b34801561056957600080fd5b5061057261158f565b60405161057f919061364f565b60405180910390f35b34801561059457600080fd5b506105af60048036038101906105aa9190612e1c565b6115b5565b005b3480156105bd57600080fd5b506105d860048036038101906105d39190612fc3565b611675565b005b3480156105e657600080fd5b506105ef61170e565b6040516105fc9190613582565b60405180910390f35b34801561061157600080fd5b5061062c60048036038101906106279190613083565b611738565b005b34801561063a57600080fd5b506106436117be565b604051610650919061366a565b60405180910390f35b34801561066557600080fd5b5061066e611850565b60405161067b919061396c565b60405180910390f35b34801561069057600080fd5b506106ab60048036038101906106a69190612f4b565b611856565b005b3480156106b957600080fd5b506106c26119d7565b6040516106cf919061396c565b60405180910390f35b3480156106e457600080fd5b506106ff60048036038101906106fa9190612ed0565b6119dd565b005b34801561070d57600080fd5b5061072860048036038101906107239190613083565b611a3f565b005b34801561073657600080fd5b50610751600480360381019061074c9190613083565b611ac5565b60405161075e919061366a565b60405180910390f35b34801561077357600080fd5b5061077c611b6c565b6040516107899190613634565b60405180910390f35b6107ac60048036038101906107a79190613083565b611b7f565b005b3480156107ba57600080fd5b506107c3611d44565b6040516107d0919061396c565b60405180910390f35b3480156107e557600080fd5b506107ee611d4a565b005b3480156107fc57600080fd5b5061081760048036038101906108129190612e45565b611e0f565b6040516108249190613634565b60405180910390f35b34801561083957600080fd5b50610854600480360381019061084f9190612e1c565b611ea3565b005b34801561086257600080fd5b5061087d60048036038101906108789190613083565b611f9b565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061094a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061095a575061095982612021565b5b9050919050565b61096961208b565b73ffffffffffffffffffffffffffffffffffffffff1661098761170e565b73ffffffffffffffffffffffffffffffffffffffff16146109dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d49061388c565b60405180910390fd5b600954600a54826109ee9190613a59565b1115610a2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a269061390c565b60405180910390fd5b60005b81811015610a77576000600a549050610a4b8482612093565b600a6000815480929190610a5e90613cab565b9190505550508080610a6f90613cab565b915050610a32565b507f2118eda2a5fcc2e5f909a608477a856272adadcb48e1373747c51d2d3f6fc2ef8282604051610aa99291906135e9565b60405180910390a15050565b606060008054610ac490613c48565b80601f0160208091040260200160405190810160405280929190818152602001828054610af090613c48565b8015610b3d5780601f10610b1257610100808354040283529160200191610b3d565b820191906000526020600020905b815481529060010190602001808311610b2057829003601f168201915b5050505050905090565b6000610b52826120b1565b610b91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b889061386c565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bd7826112eb565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3f906138ec565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c6761208b565b73ffffffffffffffffffffffffffffffffffffffff161480610c965750610c9581610c9061208b565b611e0f565b5b610cd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ccc906137ac565b60405180910390fd5b610cdf838361211d565b505050565b60095481565b600e6020528060005260406000206000915054906101000a900460ff1681565b610d1b610d1561208b565b826121d6565b610d5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d519061392c565b60405180910390fd5b610d658383836122b4565b505050565b60606000610d77836113b0565b67ffffffffffffffff811115610db6577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610de45781602001602082028036833780820191505090505b5090506000805b600a54811015610e99578473ffffffffffffffffffffffffffffffffffffffff16610e15826112eb565b73ffffffffffffffffffffffffffffffffffffffff161415610e865780838381518110610e6b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508180610e8290613cab565b9250505b8080610e9190613cab565b915050610deb565b508192505050919050565b610eac61208b565b73ffffffffffffffffffffffffffffffffffffffff16610eca61170e565b73ffffffffffffffffffffffffffffffffffffffff1614610f20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f179061388c565b60405180910390fd5b818160079190610f31929190612c49565b505050565b610f51838383604051806020016040528060008152506119dd565b505050565b600660159054906101000a900460ff16610fa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9c9061394c565b60405180910390fd5b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016110029190613582565b60206040518083038186803b15801561101a57600080fd5b505afa15801561102e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105291906130ac565b67ffffffffffffffff811115611091577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156110bf5781602001602082028036833780820191505090505b50905060011515600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151415611156576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114d9061382c565b60405180910390fd5b600081511161119a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111919061372c565b60405180910390fd5b600954600a5482516111ac9190613a59565b11156111ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e49061390c565b60405180910390fd5b60005b81518110156112a6576000600a54905061120a3382612093565b6001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600a600081548092919061127590613cab565b9190505550600b600081548092919061128d90613cab565b919050555050808061129e90613cab565b9150506111f0565b507f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968856112d061208b565b82516040516112e09291906135e9565b60405180910390a150565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611394576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138b906137ec565b60405180910390fd5b80915050919050565b600660149054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611421576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611418906137cc565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61147061208b565b73ffffffffffffffffffffffffffffffffffffffff1661148e61170e565b73ffffffffffffffffffffffffffffffffffffffff16146114e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114db9061388c565b60405180910390fd5b6114ee6000612510565b565b6114f861208b565b73ffffffffffffffffffffffffffffffffffffffff1661151661170e565b73ffffffffffffffffffffffffffffffffffffffff161461156c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115639061388c565b60405180910390fd5b80600660156101000a81548160ff02191690831515021790555050565b600c5481565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6115bd61208b565b73ffffffffffffffffffffffffffffffffffffffff166115db61170e565b73ffffffffffffffffffffffffffffffffffffffff1614611631576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116289061388c565b60405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61167d61208b565b73ffffffffffffffffffffffffffffffffffffffff1661169b61170e565b73ffffffffffffffffffffffffffffffffffffffff16146116f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e89061388c565b60405180910390fd5b80600660146101000a81548160ff02191690831515021790555050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61174061208b565b73ffffffffffffffffffffffffffffffffffffffff1661175e61170e565b73ffffffffffffffffffffffffffffffffffffffff16146117b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ab9061388c565b60405180910390fd5b8060088190555050565b6060600180546117cd90613c48565b80601f01602080910402602001604051908101604052809291908181526020018280546117f990613c48565b80156118465780601f1061181b57610100808354040283529160200191611846565b820191906000526020600020905b81548152906001019060200180831161182957829003601f168201915b5050505050905090565b60085481565b61185e61208b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c39061376c565b60405180910390fd5b80600560006118d961208b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661198661208b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119cb9190613634565b60405180910390a35050565b600a5481565b6119ee6119e861208b565b836121d6565b611a2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a249061392c565b60405180910390fd5b611a39848484846125d6565b50505050565b611a4761208b565b73ffffffffffffffffffffffffffffffffffffffff16611a6561170e565b73ffffffffffffffffffffffffffffffffffffffff1614611abb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab29061388c565b60405180910390fd5b80600c8190555050565b6060611ad0826120b1565b611b0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b06906138cc565b60405180910390fd5b6000611b19612632565b90506000815111611b395760405180602001604052806000815250611b64565b80611b43846126c4565b604051602001611b5492919061355e565b6040516020818303038152906040525b915050919050565b600660159054906101000a900460ff1681565b600660149054906101000a900460ff16611bce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc59061384c565b60405180910390fd5b600c5481111580611bdf5750600181105b611c1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c15906136ec565b60405180910390fd5b600954600a5482611c2f9190613a59565b1115611c70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c679061390c565b60405180910390fd5b80600854611c7e9190613ae0565b3414611cbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb69061370c565b60405180910390fd5b60005b81811015611d07576000600a549050611cdb3382612093565b600a6000815480929190611cee90613cab565b9190505550508080611cff90613cab565b915050611cc2565b507f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968853382604051611d399291906135e9565b60405180910390a150565b600b5481565b611d5261208b565b73ffffffffffffffffffffffffffffffffffffffff16611d7061170e565b73ffffffffffffffffffffffffffffffffffffffff1614611dc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dbd9061388c565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611e0c573d6000803e3d6000fd5b50565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611eab61208b565b73ffffffffffffffffffffffffffffffffffffffff16611ec961170e565b73ffffffffffffffffffffffffffffffffffffffff1614611f1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f169061388c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f86906136ac565b60405180910390fd5b611f9881612510565b50565b611fa361208b565b73ffffffffffffffffffffffffffffffffffffffff16611fc161170e565b73ffffffffffffffffffffffffffffffffffffffff1614612017576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200e9061388c565b60405180910390fd5b8060098190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b6120ad828260405180602001604052806000815250612871565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612190836112eb565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006121e1826120b1565b612220576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122179061378c565b60405180910390fd5b600061222b836112eb565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061229a57508373ffffffffffffffffffffffffffffffffffffffff1661228284610b47565b73ffffffffffffffffffffffffffffffffffffffff16145b806122ab57506122aa8185611e0f565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166122d4826112eb565b73ffffffffffffffffffffffffffffffffffffffff161461232a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612321906138ac565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561239a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123919061374c565b60405180910390fd5b6123a58383836128cc565b6123b060008261211d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124009190613b3a565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124579190613a59565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6125e18484846122b4565b6125ed848484846128d1565b61262c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126239061368c565b60405180910390fd5b50505050565b60606007805461264190613c48565b80601f016020809104026020016040519081016040528092919081815260200182805461266d90613c48565b80156126ba5780601f1061268f576101008083540402835291602001916126ba565b820191906000526020600020905b81548152906001019060200180831161269d57829003601f168201915b5050505050905090565b6060600082141561270c576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061286c565b600082905060005b6000821461273e57808061272790613cab565b915050600a826127379190613aaf565b9150612714565b60008167ffffffffffffffff811115612780577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156127b25781602001600182028036833780820191505090505b5090505b60008514612865576001826127cb9190613b3a565b9150600a856127da9190613cf4565b60306127e69190613a59565b60f81b818381518110612822577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561285e9190613aaf565b94506127b6565b8093505050505b919050565b61287b8383612a68565b61288860008484846128d1565b6128c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128be9061368c565b60405180910390fd5b505050565b505050565b60006128f28473ffffffffffffffffffffffffffffffffffffffff16612c36565b15612a5b578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261291b61208b565b8786866040518563ffffffff1660e01b815260040161293d949392919061359d565b602060405180830381600087803b15801561295757600080fd5b505af192505050801561298857506040513d601f19601f820116820180604052508101906129859190613015565b60015b612a0b573d80600081146129b8576040519150601f19603f3d011682016040523d82523d6000602084013e6129bd565b606091505b50600081511415612a03576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129fa9061368c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612a60565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ad8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612acf9061380c565b60405180910390fd5b612ae1816120b1565b15612b21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b18906136cc565b60405180910390fd5b612b2d600083836128cc565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b7d9190613a59565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054612c5590613c48565b90600052602060002090601f016020900481019282612c775760008555612cbe565b82601f10612c9057803560ff1916838001178555612cbe565b82800160010185558215612cbe579182015b82811115612cbd578235825591602001919060010190612ca2565b5b509050612ccb9190612ccf565b5090565b5b80821115612ce8576000816000905550600101612cd0565b5090565b6000612cff612cfa846139ac565b613987565b905082815260208101848484011115612d1757600080fd5b612d22848285613c06565b509392505050565b600081359050612d39816143b5565b92915050565b600081359050612d4e816143cc565b92915050565b600081359050612d63816143e3565b92915050565b600081519050612d78816143e3565b92915050565b600082601f830112612d8f57600080fd5b8135612d9f848260208601612cec565b91505092915050565b60008083601f840112612dba57600080fd5b8235905067ffffffffffffffff811115612dd357600080fd5b602083019150836001820283011115612deb57600080fd5b9250929050565b600081359050612e01816143fa565b92915050565b600081519050612e16816143fa565b92915050565b600060208284031215612e2e57600080fd5b6000612e3c84828501612d2a565b91505092915050565b60008060408385031215612e5857600080fd5b6000612e6685828601612d2a565b9250506020612e7785828601612d2a565b9150509250929050565b600080600060608486031215612e9657600080fd5b6000612ea486828701612d2a565b9350506020612eb586828701612d2a565b9250506040612ec686828701612df2565b9150509250925092565b60008060008060808587031215612ee657600080fd5b6000612ef487828801612d2a565b9450506020612f0587828801612d2a565b9350506040612f1687828801612df2565b925050606085013567ffffffffffffffff811115612f3357600080fd5b612f3f87828801612d7e565b91505092959194509250565b60008060408385031215612f5e57600080fd5b6000612f6c85828601612d2a565b9250506020612f7d85828601612d3f565b9150509250929050565b60008060408385031215612f9a57600080fd5b6000612fa885828601612d2a565b9250506020612fb985828601612df2565b9150509250929050565b600060208284031215612fd557600080fd5b6000612fe384828501612d3f565b91505092915050565b600060208284031215612ffe57600080fd5b600061300c84828501612d54565b91505092915050565b60006020828403121561302757600080fd5b600061303584828501612d69565b91505092915050565b6000806020838503121561305157600080fd5b600083013567ffffffffffffffff81111561306b57600080fd5b61307785828601612da8565b92509250509250929050565b60006020828403121561309557600080fd5b60006130a384828501612df2565b91505092915050565b6000602082840312156130be57600080fd5b60006130cc84828501612e07565b91505092915050565b60006130e18383613540565b60208301905092915050565b6130f681613b6e565b82525050565b6000613107826139ed565b6131118185613a1b565b935061311c836139dd565b8060005b8381101561314d57815161313488826130d5565b975061313f83613a0e565b925050600181019050613120565b5085935050505092915050565b61316381613b80565b82525050565b6000613174826139f8565b61317e8185613a2c565b935061318e818560208601613c15565b61319781613de1565b840191505092915050565b6131ab81613be2565b82525050565b60006131bc82613a03565b6131c68185613a3d565b93506131d6818560208601613c15565b6131df81613de1565b840191505092915050565b60006131f582613a03565b6131ff8185613a4e565b935061320f818560208601613c15565b80840191505092915050565b6000613228603283613a3d565b915061323382613df2565b604082019050919050565b600061324b602683613a3d565b915061325682613e41565b604082019050919050565b600061326e601c83613a3d565b915061327982613e90565b602082019050919050565b6000613291602483613a3d565b915061329c82613eb9565b604082019050919050565b60006132b4601683613a3d565b91506132bf82613f08565b602082019050919050565b60006132d7601f83613a3d565b91506132e282613f31565b602082019050919050565b60006132fa602483613a3d565b915061330582613f5a565b604082019050919050565b600061331d601983613a3d565b915061332882613fa9565b602082019050919050565b6000613340602c83613a3d565b915061334b82613fd2565b604082019050919050565b6000613363603883613a3d565b915061336e82614021565b604082019050919050565b6000613386602a83613a3d565b915061339182614070565b604082019050919050565b60006133a9602983613a3d565b91506133b4826140bf565b604082019050919050565b60006133cc602083613a3d565b91506133d78261410e565b602082019050919050565b60006133ef602083613a3d565b91506133fa82614137565b602082019050919050565b6000613412601f83613a3d565b915061341d82614160565b602082019050919050565b6000613435602c83613a3d565b915061344082614189565b604082019050919050565b6000613458602083613a3d565b9150613463826141d8565b602082019050919050565b600061347b602983613a3d565b915061348682614201565b604082019050919050565b600061349e602f83613a3d565b91506134a982614250565b604082019050919050565b60006134c1602183613a3d565b91506134cc8261429f565b604082019050919050565b60006134e4602183613a3d565b91506134ef826142ee565b604082019050919050565b6000613507603183613a3d565b91506135128261433d565b604082019050919050565b600061352a602083613a3d565b91506135358261438c565b602082019050919050565b61354981613bd8565b82525050565b61355881613bd8565b82525050565b600061356a82856131ea565b915061357682846131ea565b91508190509392505050565b600060208201905061359760008301846130ed565b92915050565b60006080820190506135b260008301876130ed565b6135bf60208301866130ed565b6135cc604083018561354f565b81810360608301526135de8184613169565b905095945050505050565b60006040820190506135fe60008301856130ed565b61360b602083018461354f565b9392505050565b6000602082019050818103600083015261362c81846130fc565b905092915050565b6000602082019050613649600083018461315a565b92915050565b600060208201905061366460008301846131a2565b92915050565b6000602082019050818103600083015261368481846131b1565b905092915050565b600060208201905081810360008301526136a58161321b565b9050919050565b600060208201905081810360008301526136c58161323e565b9050919050565b600060208201905081810360008301526136e581613261565b9050919050565b6000602082019050818103600083015261370581613284565b9050919050565b60006020820190508181036000830152613725816132a7565b9050919050565b60006020820190508181036000830152613745816132ca565b9050919050565b60006020820190508181036000830152613765816132ed565b9050919050565b6000602082019050818103600083015261378581613310565b9050919050565b600060208201905081810360008301526137a581613333565b9050919050565b600060208201905081810360008301526137c581613356565b9050919050565b600060208201905081810360008301526137e581613379565b9050919050565b600060208201905081810360008301526138058161339c565b9050919050565b60006020820190508181036000830152613825816133bf565b9050919050565b60006020820190508181036000830152613845816133e2565b9050919050565b6000602082019050818103600083015261386581613405565b9050919050565b6000602082019050818103600083015261388581613428565b9050919050565b600060208201905081810360008301526138a58161344b565b9050919050565b600060208201905081810360008301526138c58161346e565b9050919050565b600060208201905081810360008301526138e581613491565b9050919050565b60006020820190508181036000830152613905816134b4565b9050919050565b60006020820190508181036000830152613925816134d7565b9050919050565b60006020820190508181036000830152613945816134fa565b9050919050565b600060208201905081810360008301526139658161351d565b9050919050565b6000602082019050613981600083018461354f565b92915050565b60006139916139a2565b905061399d8282613c7a565b919050565b6000604051905090565b600067ffffffffffffffff8211156139c7576139c6613db2565b5b6139d082613de1565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613a6482613bd8565b9150613a6f83613bd8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613aa457613aa3613d25565b5b828201905092915050565b6000613aba82613bd8565b9150613ac583613bd8565b925082613ad557613ad4613d54565b5b828204905092915050565b6000613aeb82613bd8565b9150613af683613bd8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613b2f57613b2e613d25565b5b828202905092915050565b6000613b4582613bd8565b9150613b5083613bd8565b925082821015613b6357613b62613d25565b5b828203905092915050565b6000613b7982613bb8565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000613bed82613bf4565b9050919050565b6000613bff82613bb8565b9050919050565b82818337600083830152505050565b60005b83811015613c33578082015181840152602081019050613c18565b83811115613c42576000848401525b50505050565b60006002820490506001821680613c6057607f821691505b60208210811415613c7457613c73613d83565b5b50919050565b613c8382613de1565b810181811067ffffffffffffffff82111715613ca257613ca1613db2565b5b80604052505050565b6000613cb682613bd8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613ce957613ce8613d25565b5b600182019050919050565b6000613cff82613bd8565b9150613d0a83613bd8565b925082613d1a57613d19613d54565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f5452414e53414354494f4e3a20717479206f66206d696e7473206e6f7420616c60008201527f6f77656400000000000000000000000000000000000000000000000000000000602082015250565b7f5041594d454e543a20696e76616c69642076616c756500000000000000000000600082015250565b7f5452414e53414354494f4e3a204e6f7420656e6f7567682062616c616e636500600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f5452414e53414354494f4e3a20596f7520616c726561647920636c61696d6564600082015250565b7f5452414e53414354494f4e3a2073616c65206973206e6f742061637469766500600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f535550504c593a2056616c7565206578636565647320746f74616c537570706c60008201527f7900000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f5452414e53414354494f4e3a20636c61696d206973206e6f7420616374697665600082015250565b6143be81613b6e565b81146143c957600080fd5b50565b6143d581613b80565b81146143e057600080fd5b50565b6143ec81613b8c565b81146143f757600080fd5b50565b61440381613bd8565b811461440e57600080fd5b5056fea2646970667358221220ea7b723c6ffb7f1d1260fa50821b4b359bbe74c815100ce9c088a8d42fb5653064736f6c634300080400330000000000000000000000002050fc00e016c3ada03211edc35711e44b8d014e

Deployed Bytecode

0x60806040526004361061021a5760003560e01c80637c0b8de211610123578063b88d4fde116100ab578063e834a8341161006f578063e834a834146107ae578063e8cc00ad146107d9578063e985e9c5146107f0578063f2fde38b1461082d578063f7ea7a3d146108565761021a565b8063b88d4fde146106d8578063bc33718214610701578063c87b56dd1461072a578063d4a6a2fd14610767578063d96a094a146107925761021a565b806391b7f5ed116100f257806391b7f5ed1461060557806395d89b411461062e578063a035b1fe14610659578063a22cb46514610684578063affed0e0146106ad5761021a565b80637c0b8de21461055d57806382be0b6214610588578063841718a6146105b15780638da5cb5b146105da5761021a565b806330176e13116101a657806368428a1b1161017557806368428a1b1461048a57806370a08231146104b5578063715018a6146104f257806373417b09146105095780637437681e146105325761021a565b806330176e13146103e457806342842e0e1461040d5780634e71d92d146104365780636352211e1461044d5761021a565b8063095ea7b3116101ed578063095ea7b3146102ed57806318160ddd1461031657806318a5bbdc1461034157806323b872dd1461037e578063276f0934146103a75761021a565b806301ffc9a71461021f578063050225ea1461025c57806306fdde0314610285578063081812fc146102b0575b600080fd5b34801561022b57600080fd5b5061024660048036038101906102419190612fec565b61087f565b6040516102539190613634565b60405180910390f35b34801561026857600080fd5b50610283600480360381019061027e9190612f87565b610961565b005b34801561029157600080fd5b5061029a610ab5565b6040516102a7919061366a565b60405180910390f35b3480156102bc57600080fd5b506102d760048036038101906102d29190613083565b610b47565b6040516102e49190613582565b60405180910390f35b3480156102f957600080fd5b50610314600480360381019061030f9190612f87565b610bcc565b005b34801561032257600080fd5b5061032b610ce4565b604051610338919061396c565b60405180910390f35b34801561034d57600080fd5b5061036860048036038101906103639190612e1c565b610cea565b6040516103759190613634565b60405180910390f35b34801561038a57600080fd5b506103a560048036038101906103a09190612e81565b610d0a565b005b3480156103b357600080fd5b506103ce60048036038101906103c99190612e1c565b610d6a565b6040516103db9190613612565b60405180910390f35b3480156103f057600080fd5b5061040b6004803603810190610406919061303e565b610ea4565b005b34801561041957600080fd5b50610434600480360381019061042f9190612e81565b610f36565b005b34801561044257600080fd5b5061044b610f56565b005b34801561045957600080fd5b50610474600480360381019061046f9190613083565b6112eb565b6040516104819190613582565b60405180910390f35b34801561049657600080fd5b5061049f61139d565b6040516104ac9190613634565b60405180910390f35b3480156104c157600080fd5b506104dc60048036038101906104d79190612e1c565b6113b0565b6040516104e9919061396c565b60405180910390f35b3480156104fe57600080fd5b50610507611468565b005b34801561051557600080fd5b50610530600480360381019061052b9190612fc3565b6114f0565b005b34801561053e57600080fd5b50610547611589565b604051610554919061396c565b60405180910390f35b34801561056957600080fd5b5061057261158f565b60405161057f919061364f565b60405180910390f35b34801561059457600080fd5b506105af60048036038101906105aa9190612e1c565b6115b5565b005b3480156105bd57600080fd5b506105d860048036038101906105d39190612fc3565b611675565b005b3480156105e657600080fd5b506105ef61170e565b6040516105fc9190613582565b60405180910390f35b34801561061157600080fd5b5061062c60048036038101906106279190613083565b611738565b005b34801561063a57600080fd5b506106436117be565b604051610650919061366a565b60405180910390f35b34801561066557600080fd5b5061066e611850565b60405161067b919061396c565b60405180910390f35b34801561069057600080fd5b506106ab60048036038101906106a69190612f4b565b611856565b005b3480156106b957600080fd5b506106c26119d7565b6040516106cf919061396c565b60405180910390f35b3480156106e457600080fd5b506106ff60048036038101906106fa9190612ed0565b6119dd565b005b34801561070d57600080fd5b5061072860048036038101906107239190613083565b611a3f565b005b34801561073657600080fd5b50610751600480360381019061074c9190613083565b611ac5565b60405161075e919061366a565b60405180910390f35b34801561077357600080fd5b5061077c611b6c565b6040516107899190613634565b60405180910390f35b6107ac60048036038101906107a79190613083565b611b7f565b005b3480156107ba57600080fd5b506107c3611d44565b6040516107d0919061396c565b60405180910390f35b3480156107e557600080fd5b506107ee611d4a565b005b3480156107fc57600080fd5b5061081760048036038101906108129190612e45565b611e0f565b6040516108249190613634565b60405180910390f35b34801561083957600080fd5b50610854600480360381019061084f9190612e1c565b611ea3565b005b34801561086257600080fd5b5061087d60048036038101906108789190613083565b611f9b565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061094a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061095a575061095982612021565b5b9050919050565b61096961208b565b73ffffffffffffffffffffffffffffffffffffffff1661098761170e565b73ffffffffffffffffffffffffffffffffffffffff16146109dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d49061388c565b60405180910390fd5b600954600a54826109ee9190613a59565b1115610a2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a269061390c565b60405180910390fd5b60005b81811015610a77576000600a549050610a4b8482612093565b600a6000815480929190610a5e90613cab565b9190505550508080610a6f90613cab565b915050610a32565b507f2118eda2a5fcc2e5f909a608477a856272adadcb48e1373747c51d2d3f6fc2ef8282604051610aa99291906135e9565b60405180910390a15050565b606060008054610ac490613c48565b80601f0160208091040260200160405190810160405280929190818152602001828054610af090613c48565b8015610b3d5780601f10610b1257610100808354040283529160200191610b3d565b820191906000526020600020905b815481529060010190602001808311610b2057829003601f168201915b5050505050905090565b6000610b52826120b1565b610b91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b889061386c565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bd7826112eb565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3f906138ec565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c6761208b565b73ffffffffffffffffffffffffffffffffffffffff161480610c965750610c9581610c9061208b565b611e0f565b5b610cd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ccc906137ac565b60405180910390fd5b610cdf838361211d565b505050565b60095481565b600e6020528060005260406000206000915054906101000a900460ff1681565b610d1b610d1561208b565b826121d6565b610d5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d519061392c565b60405180910390fd5b610d658383836122b4565b505050565b60606000610d77836113b0565b67ffffffffffffffff811115610db6577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610de45781602001602082028036833780820191505090505b5090506000805b600a54811015610e99578473ffffffffffffffffffffffffffffffffffffffff16610e15826112eb565b73ffffffffffffffffffffffffffffffffffffffff161415610e865780838381518110610e6b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508180610e8290613cab565b9250505b8080610e9190613cab565b915050610deb565b508192505050919050565b610eac61208b565b73ffffffffffffffffffffffffffffffffffffffff16610eca61170e565b73ffffffffffffffffffffffffffffffffffffffff1614610f20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f179061388c565b60405180910390fd5b818160079190610f31929190612c49565b505050565b610f51838383604051806020016040528060008152506119dd565b505050565b600660159054906101000a900460ff16610fa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9c9061394c565b60405180910390fd5b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016110029190613582565b60206040518083038186803b15801561101a57600080fd5b505afa15801561102e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105291906130ac565b67ffffffffffffffff811115611091577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156110bf5781602001602082028036833780820191505090505b50905060011515600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151415611156576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114d9061382c565b60405180910390fd5b600081511161119a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111919061372c565b60405180910390fd5b600954600a5482516111ac9190613a59565b11156111ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e49061390c565b60405180910390fd5b60005b81518110156112a6576000600a54905061120a3382612093565b6001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600a600081548092919061127590613cab565b9190505550600b600081548092919061128d90613cab565b919050555050808061129e90613cab565b9150506111f0565b507f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968856112d061208b565b82516040516112e09291906135e9565b60405180910390a150565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611394576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138b906137ec565b60405180910390fd5b80915050919050565b600660149054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611421576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611418906137cc565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61147061208b565b73ffffffffffffffffffffffffffffffffffffffff1661148e61170e565b73ffffffffffffffffffffffffffffffffffffffff16146114e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114db9061388c565b60405180910390fd5b6114ee6000612510565b565b6114f861208b565b73ffffffffffffffffffffffffffffffffffffffff1661151661170e565b73ffffffffffffffffffffffffffffffffffffffff161461156c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115639061388c565b60405180910390fd5b80600660156101000a81548160ff02191690831515021790555050565b600c5481565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6115bd61208b565b73ffffffffffffffffffffffffffffffffffffffff166115db61170e565b73ffffffffffffffffffffffffffffffffffffffff1614611631576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116289061388c565b60405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61167d61208b565b73ffffffffffffffffffffffffffffffffffffffff1661169b61170e565b73ffffffffffffffffffffffffffffffffffffffff16146116f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e89061388c565b60405180910390fd5b80600660146101000a81548160ff02191690831515021790555050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61174061208b565b73ffffffffffffffffffffffffffffffffffffffff1661175e61170e565b73ffffffffffffffffffffffffffffffffffffffff16146117b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ab9061388c565b60405180910390fd5b8060088190555050565b6060600180546117cd90613c48565b80601f01602080910402602001604051908101604052809291908181526020018280546117f990613c48565b80156118465780601f1061181b57610100808354040283529160200191611846565b820191906000526020600020905b81548152906001019060200180831161182957829003601f168201915b5050505050905090565b60085481565b61185e61208b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c39061376c565b60405180910390fd5b80600560006118d961208b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661198661208b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119cb9190613634565b60405180910390a35050565b600a5481565b6119ee6119e861208b565b836121d6565b611a2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a249061392c565b60405180910390fd5b611a39848484846125d6565b50505050565b611a4761208b565b73ffffffffffffffffffffffffffffffffffffffff16611a6561170e565b73ffffffffffffffffffffffffffffffffffffffff1614611abb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab29061388c565b60405180910390fd5b80600c8190555050565b6060611ad0826120b1565b611b0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b06906138cc565b60405180910390fd5b6000611b19612632565b90506000815111611b395760405180602001604052806000815250611b64565b80611b43846126c4565b604051602001611b5492919061355e565b6040516020818303038152906040525b915050919050565b600660159054906101000a900460ff1681565b600660149054906101000a900460ff16611bce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc59061384c565b60405180910390fd5b600c5481111580611bdf5750600181105b611c1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c15906136ec565b60405180910390fd5b600954600a5482611c2f9190613a59565b1115611c70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c679061390c565b60405180910390fd5b80600854611c7e9190613ae0565b3414611cbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb69061370c565b60405180910390fd5b60005b81811015611d07576000600a549050611cdb3382612093565b600a6000815480929190611cee90613cab565b9190505550508080611cff90613cab565b915050611cc2565b507f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968853382604051611d399291906135e9565b60405180910390a150565b600b5481565b611d5261208b565b73ffffffffffffffffffffffffffffffffffffffff16611d7061170e565b73ffffffffffffffffffffffffffffffffffffffff1614611dc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dbd9061388c565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611e0c573d6000803e3d6000fd5b50565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611eab61208b565b73ffffffffffffffffffffffffffffffffffffffff16611ec961170e565b73ffffffffffffffffffffffffffffffffffffffff1614611f1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f169061388c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f86906136ac565b60405180910390fd5b611f9881612510565b50565b611fa361208b565b73ffffffffffffffffffffffffffffffffffffffff16611fc161170e565b73ffffffffffffffffffffffffffffffffffffffff1614612017576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200e9061388c565b60405180910390fd5b8060098190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b6120ad828260405180602001604052806000815250612871565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612190836112eb565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006121e1826120b1565b612220576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122179061378c565b60405180910390fd5b600061222b836112eb565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061229a57508373ffffffffffffffffffffffffffffffffffffffff1661228284610b47565b73ffffffffffffffffffffffffffffffffffffffff16145b806122ab57506122aa8185611e0f565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166122d4826112eb565b73ffffffffffffffffffffffffffffffffffffffff161461232a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612321906138ac565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561239a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123919061374c565b60405180910390fd5b6123a58383836128cc565b6123b060008261211d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124009190613b3a565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124579190613a59565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6125e18484846122b4565b6125ed848484846128d1565b61262c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126239061368c565b60405180910390fd5b50505050565b60606007805461264190613c48565b80601f016020809104026020016040519081016040528092919081815260200182805461266d90613c48565b80156126ba5780601f1061268f576101008083540402835291602001916126ba565b820191906000526020600020905b81548152906001019060200180831161269d57829003601f168201915b5050505050905090565b6060600082141561270c576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061286c565b600082905060005b6000821461273e57808061272790613cab565b915050600a826127379190613aaf565b9150612714565b60008167ffffffffffffffff811115612780577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156127b25781602001600182028036833780820191505090505b5090505b60008514612865576001826127cb9190613b3a565b9150600a856127da9190613cf4565b60306127e69190613a59565b60f81b818381518110612822577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561285e9190613aaf565b94506127b6565b8093505050505b919050565b61287b8383612a68565b61288860008484846128d1565b6128c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128be9061368c565b60405180910390fd5b505050565b505050565b60006128f28473ffffffffffffffffffffffffffffffffffffffff16612c36565b15612a5b578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261291b61208b565b8786866040518563ffffffff1660e01b815260040161293d949392919061359d565b602060405180830381600087803b15801561295757600080fd5b505af192505050801561298857506040513d601f19601f820116820180604052508101906129859190613015565b60015b612a0b573d80600081146129b8576040519150601f19603f3d011682016040523d82523d6000602084013e6129bd565b606091505b50600081511415612a03576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129fa9061368c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612a60565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ad8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612acf9061380c565b60405180910390fd5b612ae1816120b1565b15612b21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b18906136cc565b60405180910390fd5b612b2d600083836128cc565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b7d9190613a59565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054612c5590613c48565b90600052602060002090601f016020900481019282612c775760008555612cbe565b82601f10612c9057803560ff1916838001178555612cbe565b82800160010185558215612cbe579182015b82811115612cbd578235825591602001919060010190612ca2565b5b509050612ccb9190612ccf565b5090565b5b80821115612ce8576000816000905550600101612cd0565b5090565b6000612cff612cfa846139ac565b613987565b905082815260208101848484011115612d1757600080fd5b612d22848285613c06565b509392505050565b600081359050612d39816143b5565b92915050565b600081359050612d4e816143cc565b92915050565b600081359050612d63816143e3565b92915050565b600081519050612d78816143e3565b92915050565b600082601f830112612d8f57600080fd5b8135612d9f848260208601612cec565b91505092915050565b60008083601f840112612dba57600080fd5b8235905067ffffffffffffffff811115612dd357600080fd5b602083019150836001820283011115612deb57600080fd5b9250929050565b600081359050612e01816143fa565b92915050565b600081519050612e16816143fa565b92915050565b600060208284031215612e2e57600080fd5b6000612e3c84828501612d2a565b91505092915050565b60008060408385031215612e5857600080fd5b6000612e6685828601612d2a565b9250506020612e7785828601612d2a565b9150509250929050565b600080600060608486031215612e9657600080fd5b6000612ea486828701612d2a565b9350506020612eb586828701612d2a565b9250506040612ec686828701612df2565b9150509250925092565b60008060008060808587031215612ee657600080fd5b6000612ef487828801612d2a565b9450506020612f0587828801612d2a565b9350506040612f1687828801612df2565b925050606085013567ffffffffffffffff811115612f3357600080fd5b612f3f87828801612d7e565b91505092959194509250565b60008060408385031215612f5e57600080fd5b6000612f6c85828601612d2a565b9250506020612f7d85828601612d3f565b9150509250929050565b60008060408385031215612f9a57600080fd5b6000612fa885828601612d2a565b9250506020612fb985828601612df2565b9150509250929050565b600060208284031215612fd557600080fd5b6000612fe384828501612d3f565b91505092915050565b600060208284031215612ffe57600080fd5b600061300c84828501612d54565b91505092915050565b60006020828403121561302757600080fd5b600061303584828501612d69565b91505092915050565b6000806020838503121561305157600080fd5b600083013567ffffffffffffffff81111561306b57600080fd5b61307785828601612da8565b92509250509250929050565b60006020828403121561309557600080fd5b60006130a384828501612df2565b91505092915050565b6000602082840312156130be57600080fd5b60006130cc84828501612e07565b91505092915050565b60006130e18383613540565b60208301905092915050565b6130f681613b6e565b82525050565b6000613107826139ed565b6131118185613a1b565b935061311c836139dd565b8060005b8381101561314d57815161313488826130d5565b975061313f83613a0e565b925050600181019050613120565b5085935050505092915050565b61316381613b80565b82525050565b6000613174826139f8565b61317e8185613a2c565b935061318e818560208601613c15565b61319781613de1565b840191505092915050565b6131ab81613be2565b82525050565b60006131bc82613a03565b6131c68185613a3d565b93506131d6818560208601613c15565b6131df81613de1565b840191505092915050565b60006131f582613a03565b6131ff8185613a4e565b935061320f818560208601613c15565b80840191505092915050565b6000613228603283613a3d565b915061323382613df2565b604082019050919050565b600061324b602683613a3d565b915061325682613e41565b604082019050919050565b600061326e601c83613a3d565b915061327982613e90565b602082019050919050565b6000613291602483613a3d565b915061329c82613eb9565b604082019050919050565b60006132b4601683613a3d565b91506132bf82613f08565b602082019050919050565b60006132d7601f83613a3d565b91506132e282613f31565b602082019050919050565b60006132fa602483613a3d565b915061330582613f5a565b604082019050919050565b600061331d601983613a3d565b915061332882613fa9565b602082019050919050565b6000613340602c83613a3d565b915061334b82613fd2565b604082019050919050565b6000613363603883613a3d565b915061336e82614021565b604082019050919050565b6000613386602a83613a3d565b915061339182614070565b604082019050919050565b60006133a9602983613a3d565b91506133b4826140bf565b604082019050919050565b60006133cc602083613a3d565b91506133d78261410e565b602082019050919050565b60006133ef602083613a3d565b91506133fa82614137565b602082019050919050565b6000613412601f83613a3d565b915061341d82614160565b602082019050919050565b6000613435602c83613a3d565b915061344082614189565b604082019050919050565b6000613458602083613a3d565b9150613463826141d8565b602082019050919050565b600061347b602983613a3d565b915061348682614201565b604082019050919050565b600061349e602f83613a3d565b91506134a982614250565b604082019050919050565b60006134c1602183613a3d565b91506134cc8261429f565b604082019050919050565b60006134e4602183613a3d565b91506134ef826142ee565b604082019050919050565b6000613507603183613a3d565b91506135128261433d565b604082019050919050565b600061352a602083613a3d565b91506135358261438c565b602082019050919050565b61354981613bd8565b82525050565b61355881613bd8565b82525050565b600061356a82856131ea565b915061357682846131ea565b91508190509392505050565b600060208201905061359760008301846130ed565b92915050565b60006080820190506135b260008301876130ed565b6135bf60208301866130ed565b6135cc604083018561354f565b81810360608301526135de8184613169565b905095945050505050565b60006040820190506135fe60008301856130ed565b61360b602083018461354f565b9392505050565b6000602082019050818103600083015261362c81846130fc565b905092915050565b6000602082019050613649600083018461315a565b92915050565b600060208201905061366460008301846131a2565b92915050565b6000602082019050818103600083015261368481846131b1565b905092915050565b600060208201905081810360008301526136a58161321b565b9050919050565b600060208201905081810360008301526136c58161323e565b9050919050565b600060208201905081810360008301526136e581613261565b9050919050565b6000602082019050818103600083015261370581613284565b9050919050565b60006020820190508181036000830152613725816132a7565b9050919050565b60006020820190508181036000830152613745816132ca565b9050919050565b60006020820190508181036000830152613765816132ed565b9050919050565b6000602082019050818103600083015261378581613310565b9050919050565b600060208201905081810360008301526137a581613333565b9050919050565b600060208201905081810360008301526137c581613356565b9050919050565b600060208201905081810360008301526137e581613379565b9050919050565b600060208201905081810360008301526138058161339c565b9050919050565b60006020820190508181036000830152613825816133bf565b9050919050565b60006020820190508181036000830152613845816133e2565b9050919050565b6000602082019050818103600083015261386581613405565b9050919050565b6000602082019050818103600083015261388581613428565b9050919050565b600060208201905081810360008301526138a58161344b565b9050919050565b600060208201905081810360008301526138c58161346e565b9050919050565b600060208201905081810360008301526138e581613491565b9050919050565b60006020820190508181036000830152613905816134b4565b9050919050565b60006020820190508181036000830152613925816134d7565b9050919050565b60006020820190508181036000830152613945816134fa565b9050919050565b600060208201905081810360008301526139658161351d565b9050919050565b6000602082019050613981600083018461354f565b92915050565b60006139916139a2565b905061399d8282613c7a565b919050565b6000604051905090565b600067ffffffffffffffff8211156139c7576139c6613db2565b5b6139d082613de1565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613a6482613bd8565b9150613a6f83613bd8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613aa457613aa3613d25565b5b828201905092915050565b6000613aba82613bd8565b9150613ac583613bd8565b925082613ad557613ad4613d54565b5b828204905092915050565b6000613aeb82613bd8565b9150613af683613bd8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613b2f57613b2e613d25565b5b828202905092915050565b6000613b4582613bd8565b9150613b5083613bd8565b925082821015613b6357613b62613d25565b5b828203905092915050565b6000613b7982613bb8565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000613bed82613bf4565b9050919050565b6000613bff82613bb8565b9050919050565b82818337600083830152505050565b60005b83811015613c33578082015181840152602081019050613c18565b83811115613c42576000848401525b50505050565b60006002820490506001821680613c6057607f821691505b60208210811415613c7457613c73613d83565b5b50919050565b613c8382613de1565b810181811067ffffffffffffffff82111715613ca257613ca1613db2565b5b80604052505050565b6000613cb682613bd8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613ce957613ce8613d25565b5b600182019050919050565b6000613cff82613bd8565b9150613d0a83613bd8565b925082613d1a57613d19613d54565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f5452414e53414354494f4e3a20717479206f66206d696e7473206e6f7420616c60008201527f6f77656400000000000000000000000000000000000000000000000000000000602082015250565b7f5041594d454e543a20696e76616c69642076616c756500000000000000000000600082015250565b7f5452414e53414354494f4e3a204e6f7420656e6f7567682062616c616e636500600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f5452414e53414354494f4e3a20596f7520616c726561647920636c61696d6564600082015250565b7f5452414e53414354494f4e3a2073616c65206973206e6f742061637469766500600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f535550504c593a2056616c7565206578636565647320746f74616c537570706c60008201527f7900000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f5452414e53414354494f4e3a20636c61696d206973206e6f7420616374697665600082015250565b6143be81613b6e565b81146143c957600080fd5b50565b6143d581613b80565b81146143e057600080fd5b50565b6143ec81613b8c565b81146143f757600080fd5b50565b61440381613bd8565b811461440e57600080fd5b5056fea2646970667358221220ea7b723c6ffb7f1d1260fa50821b4b359bbe74c815100ce9c088a8d42fb5653064736f6c63430008040033

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

0000000000000000000000002050fc00e016c3ada03211edc35711e44b8d014e

-----Decoded View---------------
Arg [0] : nft (address): 0x2050fC00E016c3aDa03211EDc35711E44B8D014e

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000002050fc00e016c3ada03211edc35711e44b8d014e


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.