ETH Price: $3,259.45 (-2.60%)

Token

Teen Ape Gang (TAG)
 

Overview

Max Total Supply

6,000 TAG

Holders

2,752

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 TAG
0x42c0a9e879652d9d5342ec50f11e2485067b7ac9
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:
TeenApeGang

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

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

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

contract TeenApeGang is ERC721, Ownable { 

    bool public saleActive = false;
    bool public presaleActive = false;
    
    string internal baseTokenURI;

    uint public price = 0.03 ether;
    uint public totalSupply = 6000;
    uint public nonce = 0;
    uint public maxTx = 5;
    
    event Mint(address owner, uint qty);
    event Giveaway(address to, uint qty);
    event Withdraw(uint amount);

    mapping (address => uint256) public presaleWallets;
    
    constructor() ERC721("Teen Ape Gang", "TAG") {}
    
    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 setPresaleActive(bool val) public onlyOwner {
        presaleActive = val;
    }

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

    function setPresaleWallets(address[] memory _a, uint256[] memory _amount) public onlyOwner {
        for(uint256 i; i < _a.length; i++){
            presaleWallets[_a[i]] = _amount[i];
        }
    }
    
    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 getMyAssets() external view returns(uint[] memory){
        return getAssetsByOwner(tx.origin);
    }

    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 buyPresale(uint qty) external payable {
        uint256 qtyAllowed = presaleWallets[msg.sender];
        require(presaleActive, "TRANSACTION: Presale is not active");
        require(qtyAllowed > 0, "TRANSACTION: You can't mint on presale");
        require(qty + nonce <= totalSupply, "SUPPLY: Value exceeds totalSupply");
        require(msg.value == price * qty, "PAYMENT: invalid value");
        presaleWallets[msg.sender] = qtyAllowed - qty;
        for(uint i = 0; i < qty; i++){
            uint tokenId = nonce;
            _safeMint(msg.sender, tokenId);
            nonce++;
        }
        emit Mint(msg.sender, qty);
    }
    
    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":[],"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":[{"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":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"buyPresale","outputs":[],"stateMutability":"payable","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":[],"name":"getMyAssets","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":"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":"presaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presaleWallets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"string","name":"_uri","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"setMaxTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"setPresaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_a","type":"address[]"},{"internalType":"uint256[]","name":"_amount","type":"uint256[]"}],"name":"setPresaleWallets","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"}]

60806040526000600660146101000a81548160ff0219169083151502179055506000600660156101000a81548160ff021916908315150217905550666a94d74f4300006008556117706009556000600a556005600b553480156200006257600080fd5b506040518060400160405280600d81526020017f5465656e204170652047616e67000000000000000000000000000000000000008152506040518060400160405280600381526020017f54414700000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000e7929190620001f7565b50806001908051906020019062000100929190620001f7565b50505062000123620001176200012960201b60201c565b6200013160201b60201c565b6200030c565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200020590620002a7565b90600052602060002090601f01602090048101928262000229576000855562000275565b82601f106200024457805160ff191683800117855562000275565b8280016001018555821562000275579182015b828111156200027457825182559160200191906001019062000257565b5b50905062000284919062000288565b5090565b5b80821115620002a357600081600090555060010162000289565b5090565b60006002820490506001821680620002c057607f821691505b60208210811415620002d757620002d6620002dd565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b614491806200031c6000396000f3fe60806040526004361061020f5760003560e01c806370a0823111610118578063affed0e0116100a0578063d96a094a1161006f578063d96a094a1461078c578063e8cc00ad146107a8578063e985e9c5146107bf578063f2fde38b146107fc578063f7ea7a3d146108255761020f565b8063affed0e0146106d2578063b88d4fde146106fd578063bc33718214610726578063c87b56dd1461074f5761020f565b80638da5cb5b116100e75780638da5cb5b146105ff57806391b7f5ed1461062a57806395d89b4114610653578063a035b1fe1461067e578063a22cb465146106a95761020f565b806370a0823114610557578063715018a6146105945780637437681e146105ab578063841718a6146105d65761020f565b806330176e131161019b57806347002d1d1161016a57806347002d1d1461047d57806349c32217146104a857806353135ca0146104c45780636352211e146104ef57806368428a1b1461052c5761020f565b806330176e13146103c557806330b2264e146103ee5780633f8121a21461042b57806342842e0e146104545761020f565b8063095ea7b3116101e2578063095ea7b3146102e257806318160ddd1461030b57806323b872dd14610336578063276f09341461035f5780632e6b106c1461039c5761020f565b806301ffc9a714610214578063050225ea1461025157806306fdde031461027a578063081812fc146102a5575b600080fd5b34801561022057600080fd5b5061023b60048036038101906102369190613075565b61084e565b6040516102489190613662565b60405180910390f35b34801561025d57600080fd5b5061027860048036038101906102739190612fa4565b610930565b005b34801561028657600080fd5b5061028f610a84565b60405161029c919061367d565b60405180910390f35b3480156102b157600080fd5b506102cc60048036038101906102c7919061310c565b610b16565b6040516102d991906135b0565b60405180910390f35b3480156102ee57600080fd5b5061030960048036038101906103049190612fa4565b610b9b565b005b34801561031757600080fd5b50610320610cb3565b60405161032d919061395f565b60405180910390f35b34801561034257600080fd5b5061035d60048036038101906103589190612e9e565b610cb9565b005b34801561036b57600080fd5b5061038660048036038101906103819190612e39565b610d19565b6040516103939190613640565b60405180910390f35b3480156103a857600080fd5b506103c360048036038101906103be9190612fe0565b610e53565b005b3480156103d157600080fd5b506103ec60048036038101906103e791906130c7565b610fb7565b005b3480156103fa57600080fd5b5061041560048036038101906104109190612e39565b611049565b604051610422919061395f565b60405180910390f35b34801561043757600080fd5b50610452600480360381019061044d919061304c565b611061565b005b34801561046057600080fd5b5061047b60048036038101906104769190612e9e565b6110fa565b005b34801561048957600080fd5b5061049261111a565b60405161049f9190613640565b60405180910390f35b6104c260048036038101906104bd919061310c565b61112a565b005b3480156104d057600080fd5b506104d9611376565b6040516104e69190613662565b60405180910390f35b3480156104fb57600080fd5b506105166004803603810190610511919061310c565b611389565b60405161052391906135b0565b60405180910390f35b34801561053857600080fd5b5061054161143b565b60405161054e9190613662565b60405180910390f35b34801561056357600080fd5b5061057e60048036038101906105799190612e39565b61144e565b60405161058b919061395f565b60405180910390f35b3480156105a057600080fd5b506105a9611506565b005b3480156105b757600080fd5b506105c061158e565b6040516105cd919061395f565b60405180910390f35b3480156105e257600080fd5b506105fd60048036038101906105f8919061304c565b611594565b005b34801561060b57600080fd5b5061061461162d565b60405161062191906135b0565b60405180910390f35b34801561063657600080fd5b50610651600480360381019061064c919061310c565b611657565b005b34801561065f57600080fd5b506106686116dd565b604051610675919061367d565b60405180910390f35b34801561068a57600080fd5b5061069361176f565b6040516106a0919061395f565b60405180910390f35b3480156106b557600080fd5b506106d060048036038101906106cb9190612f68565b611775565b005b3480156106de57600080fd5b506106e76118f6565b6040516106f4919061395f565b60405180910390f35b34801561070957600080fd5b50610724600480360381019061071f9190612eed565b6118fc565b005b34801561073257600080fd5b5061074d6004803603810190610748919061310c565b61195e565b005b34801561075b57600080fd5b506107766004803603810190610771919061310c565b6119e4565b604051610783919061367d565b60405180910390f35b6107a660048036038101906107a1919061310c565b611a8b565b005b3480156107b457600080fd5b506107bd611c50565b005b3480156107cb57600080fd5b506107e660048036038101906107e19190612e62565b611d15565b6040516107f39190613662565b60405180910390f35b34801561080857600080fd5b50610823600480360381019061081e9190612e39565b611da9565b005b34801561083157600080fd5b5061084c6004803603810190610847919061310c565b611ea1565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061091957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610929575061092882611f27565b5b9050919050565b610938611f91565b73ffffffffffffffffffffffffffffffffffffffff1661095661162d565b73ffffffffffffffffffffffffffffffffffffffff16146109ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a39061385f565b60405180910390fd5b600954600a54826109bd9190613aa4565b11156109fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f5906138ff565b60405180910390fd5b60005b81811015610a46576000600a549050610a1a8482611f99565b600a6000815480929190610a2d90613cd2565b9190505550508080610a3e90613cd2565b915050610a01565b507f2118eda2a5fcc2e5f909a608477a856272adadcb48e1373747c51d2d3f6fc2ef8282604051610a78929190613617565b60405180910390a15050565b606060008054610a9390613c6f565b80601f0160208091040260200160405190810160405280929190818152602001828054610abf90613c6f565b8015610b0c5780601f10610ae157610100808354040283529160200191610b0c565b820191906000526020600020905b815481529060010190602001808311610aef57829003601f168201915b5050505050905090565b6000610b2182611fb7565b610b60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b579061383f565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ba682611389565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0e906138df565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c36611f91565b73ffffffffffffffffffffffffffffffffffffffff161480610c655750610c6481610c5f611f91565b611d15565b5b610ca4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9b9061379f565b60405180910390fd5b610cae8383612023565b505050565b60095481565b610cca610cc4611f91565b826120dc565b610d09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d009061391f565b60405180910390fd5b610d148383836121ba565b505050565b60606000610d268361144e565b67ffffffffffffffff811115610d65577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610d935781602001602082028036833780820191505090505b5090506000805b600a54811015610e48578473ffffffffffffffffffffffffffffffffffffffff16610dc482611389565b73ffffffffffffffffffffffffffffffffffffffff161415610e355780838381518110610e1a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508180610e3190613cd2565b9250505b8080610e4090613cd2565b915050610d9a565b508192505050919050565b610e5b611f91565b73ffffffffffffffffffffffffffffffffffffffff16610e7961162d565b73ffffffffffffffffffffffffffffffffffffffff1614610ecf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec69061385f565b60405180910390fd5b60005b8251811015610fb257818181518110610f14577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600c6000858481518110610f59577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080610faa90613cd2565b915050610ed2565b505050565b610fbf611f91565b73ffffffffffffffffffffffffffffffffffffffff16610fdd61162d565b73ffffffffffffffffffffffffffffffffffffffff1614611033576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102a9061385f565b60405180910390fd5b818160079190611044929190612b4f565b505050565b600c6020528060005260406000206000915090505481565b611069611f91565b73ffffffffffffffffffffffffffffffffffffffff1661108761162d565b73ffffffffffffffffffffffffffffffffffffffff16146110dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d49061385f565b60405180910390fd5b80600660156101000a81548160ff02191690831515021790555050565b611115838383604051806020016040528060008152506118fc565b505050565b606061112532610d19565b905090565b6000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600660159054906101000a900460ff166111bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b4906138bf565b60405180910390fd5b60008111611200576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f79061393f565b60405180910390fd5b600954600a54836112119190613aa4565b1115611252576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611249906138ff565b60405180910390fd5b816008546112609190613b2b565b34146112a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112989061371f565b60405180910390fd5b81816112ad9190613b85565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b82811015611338576000600a54905061130c3382611f99565b600a600081548092919061131f90613cd2565b919050555050808061133090613cd2565b9150506112f3565b507f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885338360405161136a929190613617565b60405180910390a15050565b600660159054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611432576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611429906137df565b60405180910390fd5b80915050919050565b600660149054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b6906137bf565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61150e611f91565b73ffffffffffffffffffffffffffffffffffffffff1661152c61162d565b73ffffffffffffffffffffffffffffffffffffffff1614611582576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115799061385f565b60405180910390fd5b61158c6000612416565b565b600b5481565b61159c611f91565b73ffffffffffffffffffffffffffffffffffffffff166115ba61162d565b73ffffffffffffffffffffffffffffffffffffffff1614611610576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116079061385f565b60405180910390fd5b80600660146101000a81548160ff02191690831515021790555050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61165f611f91565b73ffffffffffffffffffffffffffffffffffffffff1661167d61162d565b73ffffffffffffffffffffffffffffffffffffffff16146116d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ca9061385f565b60405180910390fd5b8060088190555050565b6060600180546116ec90613c6f565b80601f016020809104026020016040519081016040528092919081815260200182805461171890613c6f565b80156117655780601f1061173a57610100808354040283529160200191611765565b820191906000526020600020905b81548152906001019060200180831161174857829003601f168201915b5050505050905090565b60085481565b61177d611f91565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e29061375f565b60405180910390fd5b80600560006117f8611f91565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166118a5611f91565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118ea9190613662565b60405180910390a35050565b600a5481565b61190d611907611f91565b836120dc565b61194c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119439061391f565b60405180910390fd5b611958848484846124dc565b50505050565b611966611f91565b73ffffffffffffffffffffffffffffffffffffffff1661198461162d565b73ffffffffffffffffffffffffffffffffffffffff16146119da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d19061385f565b60405180910390fd5b80600b8190555050565b60606119ef82611fb7565b611a2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a259061389f565b60405180910390fd5b6000611a38612538565b90506000815111611a585760405180602001604052806000815250611a83565b80611a62846125ca565b604051602001611a7392919061358c565b6040516020818303038152906040525b915050919050565b600660149054906101000a900460ff16611ada576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad19061381f565b60405180910390fd5b600b5481111580611aeb5750600181105b611b2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b21906136ff565b60405180910390fd5b600954600a5482611b3b9190613aa4565b1115611b7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b73906138ff565b60405180910390fd5b80600854611b8a9190613b2b565b3414611bcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc29061371f565b60405180910390fd5b60005b81811015611c13576000600a549050611be73382611f99565b600a6000815480929190611bfa90613cd2565b9190505550508080611c0b90613cd2565b915050611bce565b507f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968853382604051611c45929190613617565b60405180910390a150565b611c58611f91565b73ffffffffffffffffffffffffffffffffffffffff16611c7661162d565b73ffffffffffffffffffffffffffffffffffffffff1614611ccc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc39061385f565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611d12573d6000803e3d6000fd5b50565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611db1611f91565b73ffffffffffffffffffffffffffffffffffffffff16611dcf61162d565b73ffffffffffffffffffffffffffffffffffffffff1614611e25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1c9061385f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8c906136bf565b60405180910390fd5b611e9e81612416565b50565b611ea9611f91565b73ffffffffffffffffffffffffffffffffffffffff16611ec761162d565b73ffffffffffffffffffffffffffffffffffffffff1614611f1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f149061385f565b60405180910390fd5b8060098190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b611fb3828260405180602001604052806000815250612777565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661209683611389565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006120e782611fb7565b612126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211d9061377f565b60405180910390fd5b600061213183611389565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806121a057508373ffffffffffffffffffffffffffffffffffffffff1661218884610b16565b73ffffffffffffffffffffffffffffffffffffffff16145b806121b157506121b08185611d15565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166121da82611389565b73ffffffffffffffffffffffffffffffffffffffff1614612230576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122279061387f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156122a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122979061373f565b60405180910390fd5b6122ab8383836127d2565b6122b6600082612023565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123069190613b85565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461235d9190613aa4565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6124e78484846121ba565b6124f3848484846127d7565b612532576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125299061369f565b60405180910390fd5b50505050565b60606007805461254790613c6f565b80601f016020809104026020016040519081016040528092919081815260200182805461257390613c6f565b80156125c05780601f10612595576101008083540402835291602001916125c0565b820191906000526020600020905b8154815290600101906020018083116125a357829003601f168201915b5050505050905090565b60606000821415612612576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612772565b600082905060005b6000821461264457808061262d90613cd2565b915050600a8261263d9190613afa565b915061261a565b60008167ffffffffffffffff811115612686577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156126b85781602001600182028036833780820191505090505b5090505b6000851461276b576001826126d19190613b85565b9150600a856126e09190613d1b565b60306126ec9190613aa4565b60f81b818381518110612728577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856127649190613afa565b94506126bc565b8093505050505b919050565b612781838361296e565b61278e60008484846127d7565b6127cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c49061369f565b60405180910390fd5b505050565b505050565b60006127f88473ffffffffffffffffffffffffffffffffffffffff16612b3c565b15612961578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612821611f91565b8786866040518563ffffffff1660e01b815260040161284394939291906135cb565b602060405180830381600087803b15801561285d57600080fd5b505af192505050801561288e57506040513d601f19601f8201168201806040525081019061288b919061309e565b60015b612911573d80600081146128be576040519150601f19603f3d011682016040523d82523d6000602084013e6128c3565b606091505b50600081511415612909576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129009061369f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612966565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156129de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d5906137ff565b60405180910390fd5b6129e781611fb7565b15612a27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1e906136df565b60405180910390fd5b612a33600083836127d2565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a839190613aa4565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054612b5b90613c6f565b90600052602060002090601f016020900481019282612b7d5760008555612bc4565b82601f10612b9657803560ff1916838001178555612bc4565b82800160010185558215612bc4579182015b82811115612bc3578235825591602001919060010190612ba8565b5b509050612bd19190612bd5565b5090565b5b80821115612bee576000816000905550600101612bd6565b5090565b6000612c05612c008461399f565b61397a565b90508083825260208201905082856020860282011115612c2457600080fd5b60005b85811015612c545781612c3a8882612d08565b845260208401935060208301925050600181019050612c27565b5050509392505050565b6000612c71612c6c846139cb565b61397a565b90508083825260208201905082856020860282011115612c9057600080fd5b60005b85811015612cc05781612ca68882612e24565b845260208401935060208301925050600181019050612c93565b5050509392505050565b6000612cdd612cd8846139f7565b61397a565b905082815260208101848484011115612cf557600080fd5b612d00848285613c2d565b509392505050565b600081359050612d17816143ff565b92915050565b600082601f830112612d2e57600080fd5b8135612d3e848260208601612bf2565b91505092915050565b600082601f830112612d5857600080fd5b8135612d68848260208601612c5e565b91505092915050565b600081359050612d8081614416565b92915050565b600081359050612d958161442d565b92915050565b600081519050612daa8161442d565b92915050565b600082601f830112612dc157600080fd5b8135612dd1848260208601612cca565b91505092915050565b60008083601f840112612dec57600080fd5b8235905067ffffffffffffffff811115612e0557600080fd5b602083019150836001820283011115612e1d57600080fd5b9250929050565b600081359050612e3381614444565b92915050565b600060208284031215612e4b57600080fd5b6000612e5984828501612d08565b91505092915050565b60008060408385031215612e7557600080fd5b6000612e8385828601612d08565b9250506020612e9485828601612d08565b9150509250929050565b600080600060608486031215612eb357600080fd5b6000612ec186828701612d08565b9350506020612ed286828701612d08565b9250506040612ee386828701612e24565b9150509250925092565b60008060008060808587031215612f0357600080fd5b6000612f1187828801612d08565b9450506020612f2287828801612d08565b9350506040612f3387828801612e24565b925050606085013567ffffffffffffffff811115612f5057600080fd5b612f5c87828801612db0565b91505092959194509250565b60008060408385031215612f7b57600080fd5b6000612f8985828601612d08565b9250506020612f9a85828601612d71565b9150509250929050565b60008060408385031215612fb757600080fd5b6000612fc585828601612d08565b9250506020612fd685828601612e24565b9150509250929050565b60008060408385031215612ff357600080fd5b600083013567ffffffffffffffff81111561300d57600080fd5b61301985828601612d1d565b925050602083013567ffffffffffffffff81111561303657600080fd5b61304285828601612d47565b9150509250929050565b60006020828403121561305e57600080fd5b600061306c84828501612d71565b91505092915050565b60006020828403121561308757600080fd5b600061309584828501612d86565b91505092915050565b6000602082840312156130b057600080fd5b60006130be84828501612d9b565b91505092915050565b600080602083850312156130da57600080fd5b600083013567ffffffffffffffff8111156130f457600080fd5b61310085828601612dda565b92509250509250929050565b60006020828403121561311e57600080fd5b600061312c84828501612e24565b91505092915050565b6000613141838361356e565b60208301905092915050565b61315681613bb9565b82525050565b600061316782613a38565b6131718185613a66565b935061317c83613a28565b8060005b838110156131ad5781516131948882613135565b975061319f83613a59565b925050600181019050613180565b5085935050505092915050565b6131c381613bcb565b82525050565b60006131d482613a43565b6131de8185613a77565b93506131ee818560208601613c3c565b6131f781613e08565b840191505092915050565b600061320d82613a4e565b6132178185613a88565b9350613227818560208601613c3c565b61323081613e08565b840191505092915050565b600061324682613a4e565b6132508185613a99565b9350613260818560208601613c3c565b80840191505092915050565b6000613279603283613a88565b915061328482613e19565b604082019050919050565b600061329c602683613a88565b91506132a782613e68565b604082019050919050565b60006132bf601c83613a88565b91506132ca82613eb7565b602082019050919050565b60006132e2602483613a88565b91506132ed82613ee0565b604082019050919050565b6000613305601683613a88565b915061331082613f2f565b602082019050919050565b6000613328602483613a88565b915061333382613f58565b604082019050919050565b600061334b601983613a88565b915061335682613fa7565b602082019050919050565b600061336e602c83613a88565b915061337982613fd0565b604082019050919050565b6000613391603883613a88565b915061339c8261401f565b604082019050919050565b60006133b4602a83613a88565b91506133bf8261406e565b604082019050919050565b60006133d7602983613a88565b91506133e2826140bd565b604082019050919050565b60006133fa602083613a88565b91506134058261410c565b602082019050919050565b600061341d601f83613a88565b915061342882614135565b602082019050919050565b6000613440602c83613a88565b915061344b8261415e565b604082019050919050565b6000613463602083613a88565b915061346e826141ad565b602082019050919050565b6000613486602983613a88565b9150613491826141d6565b604082019050919050565b60006134a9602f83613a88565b91506134b482614225565b604082019050919050565b60006134cc602283613a88565b91506134d782614274565b604082019050919050565b60006134ef602183613a88565b91506134fa826142c3565b604082019050919050565b6000613512602183613a88565b915061351d82614312565b604082019050919050565b6000613535603183613a88565b915061354082614361565b604082019050919050565b6000613558602683613a88565b9150613563826143b0565b604082019050919050565b61357781613c23565b82525050565b61358681613c23565b82525050565b6000613598828561323b565b91506135a4828461323b565b91508190509392505050565b60006020820190506135c5600083018461314d565b92915050565b60006080820190506135e0600083018761314d565b6135ed602083018661314d565b6135fa604083018561357d565b818103606083015261360c81846131c9565b905095945050505050565b600060408201905061362c600083018561314d565b613639602083018461357d565b9392505050565b6000602082019050818103600083015261365a818461315c565b905092915050565b600060208201905061367760008301846131ba565b92915050565b600060208201905081810360008301526136978184613202565b905092915050565b600060208201905081810360008301526136b88161326c565b9050919050565b600060208201905081810360008301526136d88161328f565b9050919050565b600060208201905081810360008301526136f8816132b2565b9050919050565b60006020820190508181036000830152613718816132d5565b9050919050565b60006020820190508181036000830152613738816132f8565b9050919050565b600060208201905081810360008301526137588161331b565b9050919050565b600060208201905081810360008301526137788161333e565b9050919050565b6000602082019050818103600083015261379881613361565b9050919050565b600060208201905081810360008301526137b881613384565b9050919050565b600060208201905081810360008301526137d8816133a7565b9050919050565b600060208201905081810360008301526137f8816133ca565b9050919050565b60006020820190508181036000830152613818816133ed565b9050919050565b6000602082019050818103600083015261383881613410565b9050919050565b6000602082019050818103600083015261385881613433565b9050919050565b6000602082019050818103600083015261387881613456565b9050919050565b6000602082019050818103600083015261389881613479565b9050919050565b600060208201905081810360008301526138b88161349c565b9050919050565b600060208201905081810360008301526138d8816134bf565b9050919050565b600060208201905081810360008301526138f8816134e2565b9050919050565b6000602082019050818103600083015261391881613505565b9050919050565b6000602082019050818103600083015261393881613528565b9050919050565b600060208201905081810360008301526139588161354b565b9050919050565b6000602082019050613974600083018461357d565b92915050565b6000613984613995565b90506139908282613ca1565b919050565b6000604051905090565b600067ffffffffffffffff8211156139ba576139b9613dd9565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156139e6576139e5613dd9565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613a1257613a11613dd9565b5b613a1b82613e08565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613aaf82613c23565b9150613aba83613c23565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613aef57613aee613d4c565b5b828201905092915050565b6000613b0582613c23565b9150613b1083613c23565b925082613b2057613b1f613d7b565b5b828204905092915050565b6000613b3682613c23565b9150613b4183613c23565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613b7a57613b79613d4c565b5b828202905092915050565b6000613b9082613c23565b9150613b9b83613c23565b925082821015613bae57613bad613d4c565b5b828203905092915050565b6000613bc482613c03565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613c5a578082015181840152602081019050613c3f565b83811115613c69576000848401525b50505050565b60006002820490506001821680613c8757607f821691505b60208210811415613c9b57613c9a613daa565b5b50919050565b613caa82613e08565b810181811067ffffffffffffffff82111715613cc957613cc8613dd9565b5b80604052505050565b6000613cdd82613c23565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613d1057613d0f613d4c565b5b600182019050919050565b6000613d2682613c23565b9150613d3183613c23565b925082613d4157613d40613d7b565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f5452414e53414354494f4e3a20717479206f66206d696e7473206e6f7420616c60008201527f6f77656400000000000000000000000000000000000000000000000000000000602082015250565b7f5041594d454e543a20696e76616c69642076616c756500000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f5452414e53414354494f4e3a2073616c65206973206e6f742061637469766500600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f5452414e53414354494f4e3a2050726573616c65206973206e6f74206163746960008201527f7665000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f535550504c593a2056616c7565206578636565647320746f74616c537570706c60008201527f7900000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f5452414e53414354494f4e3a20596f752063616e2774206d696e74206f6e207060008201527f726573616c650000000000000000000000000000000000000000000000000000602082015250565b61440881613bb9565b811461441357600080fd5b50565b61441f81613bcb565b811461442a57600080fd5b50565b61443681613bd7565b811461444157600080fd5b50565b61444d81613c23565b811461445857600080fd5b5056fea2646970667358221220d3ccea61099af92c6d5a5146b587d9491f99bd1b9094882a5ee99d47553bf36f64736f6c63430008040033

Deployed Bytecode

0x60806040526004361061020f5760003560e01c806370a0823111610118578063affed0e0116100a0578063d96a094a1161006f578063d96a094a1461078c578063e8cc00ad146107a8578063e985e9c5146107bf578063f2fde38b146107fc578063f7ea7a3d146108255761020f565b8063affed0e0146106d2578063b88d4fde146106fd578063bc33718214610726578063c87b56dd1461074f5761020f565b80638da5cb5b116100e75780638da5cb5b146105ff57806391b7f5ed1461062a57806395d89b4114610653578063a035b1fe1461067e578063a22cb465146106a95761020f565b806370a0823114610557578063715018a6146105945780637437681e146105ab578063841718a6146105d65761020f565b806330176e131161019b57806347002d1d1161016a57806347002d1d1461047d57806349c32217146104a857806353135ca0146104c45780636352211e146104ef57806368428a1b1461052c5761020f565b806330176e13146103c557806330b2264e146103ee5780633f8121a21461042b57806342842e0e146104545761020f565b8063095ea7b3116101e2578063095ea7b3146102e257806318160ddd1461030b57806323b872dd14610336578063276f09341461035f5780632e6b106c1461039c5761020f565b806301ffc9a714610214578063050225ea1461025157806306fdde031461027a578063081812fc146102a5575b600080fd5b34801561022057600080fd5b5061023b60048036038101906102369190613075565b61084e565b6040516102489190613662565b60405180910390f35b34801561025d57600080fd5b5061027860048036038101906102739190612fa4565b610930565b005b34801561028657600080fd5b5061028f610a84565b60405161029c919061367d565b60405180910390f35b3480156102b157600080fd5b506102cc60048036038101906102c7919061310c565b610b16565b6040516102d991906135b0565b60405180910390f35b3480156102ee57600080fd5b5061030960048036038101906103049190612fa4565b610b9b565b005b34801561031757600080fd5b50610320610cb3565b60405161032d919061395f565b60405180910390f35b34801561034257600080fd5b5061035d60048036038101906103589190612e9e565b610cb9565b005b34801561036b57600080fd5b5061038660048036038101906103819190612e39565b610d19565b6040516103939190613640565b60405180910390f35b3480156103a857600080fd5b506103c360048036038101906103be9190612fe0565b610e53565b005b3480156103d157600080fd5b506103ec60048036038101906103e791906130c7565b610fb7565b005b3480156103fa57600080fd5b5061041560048036038101906104109190612e39565b611049565b604051610422919061395f565b60405180910390f35b34801561043757600080fd5b50610452600480360381019061044d919061304c565b611061565b005b34801561046057600080fd5b5061047b60048036038101906104769190612e9e565b6110fa565b005b34801561048957600080fd5b5061049261111a565b60405161049f9190613640565b60405180910390f35b6104c260048036038101906104bd919061310c565b61112a565b005b3480156104d057600080fd5b506104d9611376565b6040516104e69190613662565b60405180910390f35b3480156104fb57600080fd5b506105166004803603810190610511919061310c565b611389565b60405161052391906135b0565b60405180910390f35b34801561053857600080fd5b5061054161143b565b60405161054e9190613662565b60405180910390f35b34801561056357600080fd5b5061057e60048036038101906105799190612e39565b61144e565b60405161058b919061395f565b60405180910390f35b3480156105a057600080fd5b506105a9611506565b005b3480156105b757600080fd5b506105c061158e565b6040516105cd919061395f565b60405180910390f35b3480156105e257600080fd5b506105fd60048036038101906105f8919061304c565b611594565b005b34801561060b57600080fd5b5061061461162d565b60405161062191906135b0565b60405180910390f35b34801561063657600080fd5b50610651600480360381019061064c919061310c565b611657565b005b34801561065f57600080fd5b506106686116dd565b604051610675919061367d565b60405180910390f35b34801561068a57600080fd5b5061069361176f565b6040516106a0919061395f565b60405180910390f35b3480156106b557600080fd5b506106d060048036038101906106cb9190612f68565b611775565b005b3480156106de57600080fd5b506106e76118f6565b6040516106f4919061395f565b60405180910390f35b34801561070957600080fd5b50610724600480360381019061071f9190612eed565b6118fc565b005b34801561073257600080fd5b5061074d6004803603810190610748919061310c565b61195e565b005b34801561075b57600080fd5b506107766004803603810190610771919061310c565b6119e4565b604051610783919061367d565b60405180910390f35b6107a660048036038101906107a1919061310c565b611a8b565b005b3480156107b457600080fd5b506107bd611c50565b005b3480156107cb57600080fd5b506107e660048036038101906107e19190612e62565b611d15565b6040516107f39190613662565b60405180910390f35b34801561080857600080fd5b50610823600480360381019061081e9190612e39565b611da9565b005b34801561083157600080fd5b5061084c6004803603810190610847919061310c565b611ea1565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061091957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610929575061092882611f27565b5b9050919050565b610938611f91565b73ffffffffffffffffffffffffffffffffffffffff1661095661162d565b73ffffffffffffffffffffffffffffffffffffffff16146109ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a39061385f565b60405180910390fd5b600954600a54826109bd9190613aa4565b11156109fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f5906138ff565b60405180910390fd5b60005b81811015610a46576000600a549050610a1a8482611f99565b600a6000815480929190610a2d90613cd2565b9190505550508080610a3e90613cd2565b915050610a01565b507f2118eda2a5fcc2e5f909a608477a856272adadcb48e1373747c51d2d3f6fc2ef8282604051610a78929190613617565b60405180910390a15050565b606060008054610a9390613c6f565b80601f0160208091040260200160405190810160405280929190818152602001828054610abf90613c6f565b8015610b0c5780601f10610ae157610100808354040283529160200191610b0c565b820191906000526020600020905b815481529060010190602001808311610aef57829003601f168201915b5050505050905090565b6000610b2182611fb7565b610b60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b579061383f565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ba682611389565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0e906138df565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c36611f91565b73ffffffffffffffffffffffffffffffffffffffff161480610c655750610c6481610c5f611f91565b611d15565b5b610ca4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9b9061379f565b60405180910390fd5b610cae8383612023565b505050565b60095481565b610cca610cc4611f91565b826120dc565b610d09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d009061391f565b60405180910390fd5b610d148383836121ba565b505050565b60606000610d268361144e565b67ffffffffffffffff811115610d65577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610d935781602001602082028036833780820191505090505b5090506000805b600a54811015610e48578473ffffffffffffffffffffffffffffffffffffffff16610dc482611389565b73ffffffffffffffffffffffffffffffffffffffff161415610e355780838381518110610e1a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508180610e3190613cd2565b9250505b8080610e4090613cd2565b915050610d9a565b508192505050919050565b610e5b611f91565b73ffffffffffffffffffffffffffffffffffffffff16610e7961162d565b73ffffffffffffffffffffffffffffffffffffffff1614610ecf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec69061385f565b60405180910390fd5b60005b8251811015610fb257818181518110610f14577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600c6000858481518110610f59577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080610faa90613cd2565b915050610ed2565b505050565b610fbf611f91565b73ffffffffffffffffffffffffffffffffffffffff16610fdd61162d565b73ffffffffffffffffffffffffffffffffffffffff1614611033576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102a9061385f565b60405180910390fd5b818160079190611044929190612b4f565b505050565b600c6020528060005260406000206000915090505481565b611069611f91565b73ffffffffffffffffffffffffffffffffffffffff1661108761162d565b73ffffffffffffffffffffffffffffffffffffffff16146110dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d49061385f565b60405180910390fd5b80600660156101000a81548160ff02191690831515021790555050565b611115838383604051806020016040528060008152506118fc565b505050565b606061112532610d19565b905090565b6000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600660159054906101000a900460ff166111bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b4906138bf565b60405180910390fd5b60008111611200576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f79061393f565b60405180910390fd5b600954600a54836112119190613aa4565b1115611252576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611249906138ff565b60405180910390fd5b816008546112609190613b2b565b34146112a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112989061371f565b60405180910390fd5b81816112ad9190613b85565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b82811015611338576000600a54905061130c3382611f99565b600a600081548092919061131f90613cd2565b919050555050808061133090613cd2565b9150506112f3565b507f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885338360405161136a929190613617565b60405180910390a15050565b600660159054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611432576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611429906137df565b60405180910390fd5b80915050919050565b600660149054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b6906137bf565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61150e611f91565b73ffffffffffffffffffffffffffffffffffffffff1661152c61162d565b73ffffffffffffffffffffffffffffffffffffffff1614611582576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115799061385f565b60405180910390fd5b61158c6000612416565b565b600b5481565b61159c611f91565b73ffffffffffffffffffffffffffffffffffffffff166115ba61162d565b73ffffffffffffffffffffffffffffffffffffffff1614611610576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116079061385f565b60405180910390fd5b80600660146101000a81548160ff02191690831515021790555050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61165f611f91565b73ffffffffffffffffffffffffffffffffffffffff1661167d61162d565b73ffffffffffffffffffffffffffffffffffffffff16146116d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ca9061385f565b60405180910390fd5b8060088190555050565b6060600180546116ec90613c6f565b80601f016020809104026020016040519081016040528092919081815260200182805461171890613c6f565b80156117655780601f1061173a57610100808354040283529160200191611765565b820191906000526020600020905b81548152906001019060200180831161174857829003601f168201915b5050505050905090565b60085481565b61177d611f91565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e29061375f565b60405180910390fd5b80600560006117f8611f91565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166118a5611f91565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118ea9190613662565b60405180910390a35050565b600a5481565b61190d611907611f91565b836120dc565b61194c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119439061391f565b60405180910390fd5b611958848484846124dc565b50505050565b611966611f91565b73ffffffffffffffffffffffffffffffffffffffff1661198461162d565b73ffffffffffffffffffffffffffffffffffffffff16146119da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d19061385f565b60405180910390fd5b80600b8190555050565b60606119ef82611fb7565b611a2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a259061389f565b60405180910390fd5b6000611a38612538565b90506000815111611a585760405180602001604052806000815250611a83565b80611a62846125ca565b604051602001611a7392919061358c565b6040516020818303038152906040525b915050919050565b600660149054906101000a900460ff16611ada576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad19061381f565b60405180910390fd5b600b5481111580611aeb5750600181105b611b2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b21906136ff565b60405180910390fd5b600954600a5482611b3b9190613aa4565b1115611b7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b73906138ff565b60405180910390fd5b80600854611b8a9190613b2b565b3414611bcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc29061371f565b60405180910390fd5b60005b81811015611c13576000600a549050611be73382611f99565b600a6000815480929190611bfa90613cd2565b9190505550508080611c0b90613cd2565b915050611bce565b507f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968853382604051611c45929190613617565b60405180910390a150565b611c58611f91565b73ffffffffffffffffffffffffffffffffffffffff16611c7661162d565b73ffffffffffffffffffffffffffffffffffffffff1614611ccc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc39061385f565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611d12573d6000803e3d6000fd5b50565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611db1611f91565b73ffffffffffffffffffffffffffffffffffffffff16611dcf61162d565b73ffffffffffffffffffffffffffffffffffffffff1614611e25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1c9061385f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8c906136bf565b60405180910390fd5b611e9e81612416565b50565b611ea9611f91565b73ffffffffffffffffffffffffffffffffffffffff16611ec761162d565b73ffffffffffffffffffffffffffffffffffffffff1614611f1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f149061385f565b60405180910390fd5b8060098190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b611fb3828260405180602001604052806000815250612777565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661209683611389565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006120e782611fb7565b612126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211d9061377f565b60405180910390fd5b600061213183611389565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806121a057508373ffffffffffffffffffffffffffffffffffffffff1661218884610b16565b73ffffffffffffffffffffffffffffffffffffffff16145b806121b157506121b08185611d15565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166121da82611389565b73ffffffffffffffffffffffffffffffffffffffff1614612230576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122279061387f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156122a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122979061373f565b60405180910390fd5b6122ab8383836127d2565b6122b6600082612023565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123069190613b85565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461235d9190613aa4565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6124e78484846121ba565b6124f3848484846127d7565b612532576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125299061369f565b60405180910390fd5b50505050565b60606007805461254790613c6f565b80601f016020809104026020016040519081016040528092919081815260200182805461257390613c6f565b80156125c05780601f10612595576101008083540402835291602001916125c0565b820191906000526020600020905b8154815290600101906020018083116125a357829003601f168201915b5050505050905090565b60606000821415612612576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612772565b600082905060005b6000821461264457808061262d90613cd2565b915050600a8261263d9190613afa565b915061261a565b60008167ffffffffffffffff811115612686577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156126b85781602001600182028036833780820191505090505b5090505b6000851461276b576001826126d19190613b85565b9150600a856126e09190613d1b565b60306126ec9190613aa4565b60f81b818381518110612728577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856127649190613afa565b94506126bc565b8093505050505b919050565b612781838361296e565b61278e60008484846127d7565b6127cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c49061369f565b60405180910390fd5b505050565b505050565b60006127f88473ffffffffffffffffffffffffffffffffffffffff16612b3c565b15612961578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612821611f91565b8786866040518563ffffffff1660e01b815260040161284394939291906135cb565b602060405180830381600087803b15801561285d57600080fd5b505af192505050801561288e57506040513d601f19601f8201168201806040525081019061288b919061309e565b60015b612911573d80600081146128be576040519150601f19603f3d011682016040523d82523d6000602084013e6128c3565b606091505b50600081511415612909576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129009061369f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612966565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156129de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d5906137ff565b60405180910390fd5b6129e781611fb7565b15612a27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1e906136df565b60405180910390fd5b612a33600083836127d2565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a839190613aa4565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054612b5b90613c6f565b90600052602060002090601f016020900481019282612b7d5760008555612bc4565b82601f10612b9657803560ff1916838001178555612bc4565b82800160010185558215612bc4579182015b82811115612bc3578235825591602001919060010190612ba8565b5b509050612bd19190612bd5565b5090565b5b80821115612bee576000816000905550600101612bd6565b5090565b6000612c05612c008461399f565b61397a565b90508083825260208201905082856020860282011115612c2457600080fd5b60005b85811015612c545781612c3a8882612d08565b845260208401935060208301925050600181019050612c27565b5050509392505050565b6000612c71612c6c846139cb565b61397a565b90508083825260208201905082856020860282011115612c9057600080fd5b60005b85811015612cc05781612ca68882612e24565b845260208401935060208301925050600181019050612c93565b5050509392505050565b6000612cdd612cd8846139f7565b61397a565b905082815260208101848484011115612cf557600080fd5b612d00848285613c2d565b509392505050565b600081359050612d17816143ff565b92915050565b600082601f830112612d2e57600080fd5b8135612d3e848260208601612bf2565b91505092915050565b600082601f830112612d5857600080fd5b8135612d68848260208601612c5e565b91505092915050565b600081359050612d8081614416565b92915050565b600081359050612d958161442d565b92915050565b600081519050612daa8161442d565b92915050565b600082601f830112612dc157600080fd5b8135612dd1848260208601612cca565b91505092915050565b60008083601f840112612dec57600080fd5b8235905067ffffffffffffffff811115612e0557600080fd5b602083019150836001820283011115612e1d57600080fd5b9250929050565b600081359050612e3381614444565b92915050565b600060208284031215612e4b57600080fd5b6000612e5984828501612d08565b91505092915050565b60008060408385031215612e7557600080fd5b6000612e8385828601612d08565b9250506020612e9485828601612d08565b9150509250929050565b600080600060608486031215612eb357600080fd5b6000612ec186828701612d08565b9350506020612ed286828701612d08565b9250506040612ee386828701612e24565b9150509250925092565b60008060008060808587031215612f0357600080fd5b6000612f1187828801612d08565b9450506020612f2287828801612d08565b9350506040612f3387828801612e24565b925050606085013567ffffffffffffffff811115612f5057600080fd5b612f5c87828801612db0565b91505092959194509250565b60008060408385031215612f7b57600080fd5b6000612f8985828601612d08565b9250506020612f9a85828601612d71565b9150509250929050565b60008060408385031215612fb757600080fd5b6000612fc585828601612d08565b9250506020612fd685828601612e24565b9150509250929050565b60008060408385031215612ff357600080fd5b600083013567ffffffffffffffff81111561300d57600080fd5b61301985828601612d1d565b925050602083013567ffffffffffffffff81111561303657600080fd5b61304285828601612d47565b9150509250929050565b60006020828403121561305e57600080fd5b600061306c84828501612d71565b91505092915050565b60006020828403121561308757600080fd5b600061309584828501612d86565b91505092915050565b6000602082840312156130b057600080fd5b60006130be84828501612d9b565b91505092915050565b600080602083850312156130da57600080fd5b600083013567ffffffffffffffff8111156130f457600080fd5b61310085828601612dda565b92509250509250929050565b60006020828403121561311e57600080fd5b600061312c84828501612e24565b91505092915050565b6000613141838361356e565b60208301905092915050565b61315681613bb9565b82525050565b600061316782613a38565b6131718185613a66565b935061317c83613a28565b8060005b838110156131ad5781516131948882613135565b975061319f83613a59565b925050600181019050613180565b5085935050505092915050565b6131c381613bcb565b82525050565b60006131d482613a43565b6131de8185613a77565b93506131ee818560208601613c3c565b6131f781613e08565b840191505092915050565b600061320d82613a4e565b6132178185613a88565b9350613227818560208601613c3c565b61323081613e08565b840191505092915050565b600061324682613a4e565b6132508185613a99565b9350613260818560208601613c3c565b80840191505092915050565b6000613279603283613a88565b915061328482613e19565b604082019050919050565b600061329c602683613a88565b91506132a782613e68565b604082019050919050565b60006132bf601c83613a88565b91506132ca82613eb7565b602082019050919050565b60006132e2602483613a88565b91506132ed82613ee0565b604082019050919050565b6000613305601683613a88565b915061331082613f2f565b602082019050919050565b6000613328602483613a88565b915061333382613f58565b604082019050919050565b600061334b601983613a88565b915061335682613fa7565b602082019050919050565b600061336e602c83613a88565b915061337982613fd0565b604082019050919050565b6000613391603883613a88565b915061339c8261401f565b604082019050919050565b60006133b4602a83613a88565b91506133bf8261406e565b604082019050919050565b60006133d7602983613a88565b91506133e2826140bd565b604082019050919050565b60006133fa602083613a88565b91506134058261410c565b602082019050919050565b600061341d601f83613a88565b915061342882614135565b602082019050919050565b6000613440602c83613a88565b915061344b8261415e565b604082019050919050565b6000613463602083613a88565b915061346e826141ad565b602082019050919050565b6000613486602983613a88565b9150613491826141d6565b604082019050919050565b60006134a9602f83613a88565b91506134b482614225565b604082019050919050565b60006134cc602283613a88565b91506134d782614274565b604082019050919050565b60006134ef602183613a88565b91506134fa826142c3565b604082019050919050565b6000613512602183613a88565b915061351d82614312565b604082019050919050565b6000613535603183613a88565b915061354082614361565b604082019050919050565b6000613558602683613a88565b9150613563826143b0565b604082019050919050565b61357781613c23565b82525050565b61358681613c23565b82525050565b6000613598828561323b565b91506135a4828461323b565b91508190509392505050565b60006020820190506135c5600083018461314d565b92915050565b60006080820190506135e0600083018761314d565b6135ed602083018661314d565b6135fa604083018561357d565b818103606083015261360c81846131c9565b905095945050505050565b600060408201905061362c600083018561314d565b613639602083018461357d565b9392505050565b6000602082019050818103600083015261365a818461315c565b905092915050565b600060208201905061367760008301846131ba565b92915050565b600060208201905081810360008301526136978184613202565b905092915050565b600060208201905081810360008301526136b88161326c565b9050919050565b600060208201905081810360008301526136d88161328f565b9050919050565b600060208201905081810360008301526136f8816132b2565b9050919050565b60006020820190508181036000830152613718816132d5565b9050919050565b60006020820190508181036000830152613738816132f8565b9050919050565b600060208201905081810360008301526137588161331b565b9050919050565b600060208201905081810360008301526137788161333e565b9050919050565b6000602082019050818103600083015261379881613361565b9050919050565b600060208201905081810360008301526137b881613384565b9050919050565b600060208201905081810360008301526137d8816133a7565b9050919050565b600060208201905081810360008301526137f8816133ca565b9050919050565b60006020820190508181036000830152613818816133ed565b9050919050565b6000602082019050818103600083015261383881613410565b9050919050565b6000602082019050818103600083015261385881613433565b9050919050565b6000602082019050818103600083015261387881613456565b9050919050565b6000602082019050818103600083015261389881613479565b9050919050565b600060208201905081810360008301526138b88161349c565b9050919050565b600060208201905081810360008301526138d8816134bf565b9050919050565b600060208201905081810360008301526138f8816134e2565b9050919050565b6000602082019050818103600083015261391881613505565b9050919050565b6000602082019050818103600083015261393881613528565b9050919050565b600060208201905081810360008301526139588161354b565b9050919050565b6000602082019050613974600083018461357d565b92915050565b6000613984613995565b90506139908282613ca1565b919050565b6000604051905090565b600067ffffffffffffffff8211156139ba576139b9613dd9565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156139e6576139e5613dd9565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613a1257613a11613dd9565b5b613a1b82613e08565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613aaf82613c23565b9150613aba83613c23565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613aef57613aee613d4c565b5b828201905092915050565b6000613b0582613c23565b9150613b1083613c23565b925082613b2057613b1f613d7b565b5b828204905092915050565b6000613b3682613c23565b9150613b4183613c23565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613b7a57613b79613d4c565b5b828202905092915050565b6000613b9082613c23565b9150613b9b83613c23565b925082821015613bae57613bad613d4c565b5b828203905092915050565b6000613bc482613c03565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613c5a578082015181840152602081019050613c3f565b83811115613c69576000848401525b50505050565b60006002820490506001821680613c8757607f821691505b60208210811415613c9b57613c9a613daa565b5b50919050565b613caa82613e08565b810181811067ffffffffffffffff82111715613cc957613cc8613dd9565b5b80604052505050565b6000613cdd82613c23565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613d1057613d0f613d4c565b5b600182019050919050565b6000613d2682613c23565b9150613d3183613c23565b925082613d4157613d40613d7b565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f5452414e53414354494f4e3a20717479206f66206d696e7473206e6f7420616c60008201527f6f77656400000000000000000000000000000000000000000000000000000000602082015250565b7f5041594d454e543a20696e76616c69642076616c756500000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f5452414e53414354494f4e3a2073616c65206973206e6f742061637469766500600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f5452414e53414354494f4e3a2050726573616c65206973206e6f74206163746960008201527f7665000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f535550504c593a2056616c7565206578636565647320746f74616c537570706c60008201527f7900000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f5452414e53414354494f4e3a20596f752063616e2774206d696e74206f6e207060008201527f726573616c650000000000000000000000000000000000000000000000000000602082015250565b61440881613bb9565b811461441357600080fd5b50565b61441f81613bcb565b811461442a57600080fd5b50565b61443681613bd7565b811461444157600080fd5b50565b61444d81613c23565b811461445857600080fd5b5056fea2646970667358221220d3ccea61099af92c6d5a5146b587d9491f99bd1b9094882a5ee99d47553bf36f64736f6c63430008040033

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.