ETH Price: $2,729.53 (+1.16%)

Token

CryptoMarketCards (CMC)
 

Overview

Max Total Supply

8,000 CMC

Holders

9

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
be-nice.eth
Balance
1 CMC
0x421C67536D760Da5d5209a72629E03e0914043Ef
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:
CMC

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : CMC.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.4.19 <0.8.5;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract CMC is ERC721, Ownable { 

    event NewAsset(uint id, Asset asset);
    event BoosterOpened(address owner,uint qty);
    event Giveaway(address luckGuy);

    struct Asset {
        uint256 assetId;
        uint256 birth;
        uint256 rand;
    }

    struct ContractOwners {
        address payable addr;
        uint percent;
    }

    Asset[] public assets;
    string internal baseTokenURI = 'https://api.cryptomarket.cards/asset/';
    uint boosterPrice = 0.02 ether;
    uint boosterUnits = 4;
    ContractOwners[] contractOnwers;
    uint initialSupply = 2000 * boosterUnits;

     modifier canBuy(uint _qty){
        require(msg.value == (boosterPrice * _qty), "Insuficient funds");
        _;
    }

    modifier hasQuantity(uint _qty){
        require(_qty > 0, "Booster units must be greater than 0");
        _;
    }

    modifier hasAssets(uint _qty){
        require(initialSupply == 0 || (_qty * boosterUnits) <= initialSupply, "You cannot buy more than pre-sale supply");
        _;
    }

    modifier canWithdraw(){
        require(address(this).balance > 1, "this account doesn't have enough balance");
        _;
    }

    constructor() ERC721("CryptoMarketCards", "CMC") {
        contractOnwers.push(ContractOwners(payable(address(0xcce56Ca550D764539FB39a5d13Ddfa6F528eCE7b)), 2375)); // n
        contractOnwers.push(ContractOwners(payable(address(0x6DAA3d177a78327B1B35977B39747034add6007c)), 2375)); // l
        contractOnwers.push(ContractOwners(payable(address(0x24BdA6432Fb2CBfeDab31C86B9cAf02Dffe4Ba8E)), 2375)); // a
        contractOnwers.push(ContractOwners(payable(address(0x41Cf0afB4056e27DEcA21F7AdC7B3ADa41868841)), 2375)); // k
        contractOnwers.push(ContractOwners(payable(address(0xB43623DAEDF0d03a23646b3Fd145F1eb842F1a2b)), 500)); // f
    }

    function withdraw() external payable onlyOwner canWithdraw {
        uint nbalance = address(this).balance - 0.01 ether;
        for(uint i = 0; i < contractOnwers.length; i++){
            ContractOwners storage o = contractOnwers[i];
            o.addr.transfer((nbalance * (o.percent/100)) / 100);       
        }
    }

    function balance() external view onlyOwner returns (uint)  {
        return address(this).balance;
    }

    function setBoosterPrice(uint _fee) external onlyOwner {
        boosterPrice = _fee;
    }

    function setBoosterUnits(uint _units) external onlyOwner {
        boosterUnits = _units;
    }

    function getBoosterPrice() external view returns (uint){
        return boosterPrice;
    }

    function getBoosterUnits() external view returns (uint){
        return boosterUnits;
    }

    function getInitialSupply() external view returns (uint){
        return initialSupply;
    }

    function setInitialSupply(uint supply) external onlyOwner {
        initialSupply = supply;
    }

    function getAssetsIdsByOwner(address _owner) external view returns(uint[] memory) {
        uint[] memory result = new uint[](balanceOf(_owner));
        uint counter = 0;
        for (uint i = 0; i < assets.length; i++) {
            if (ownerOf(i) == _owner) {
                result[counter] = i;
                counter++;
            }
        }
        return result;
    }

    function getAsset(uint _id) external view returns(Asset memory){
        return assets[_id];
    }

    function getAssetsCount() external view returns(uint){
        return assets.length;
    }

    function getAssetsByOwner() external view returns(uint[] memory) {
        uint[] memory result = new uint[](balanceOf(msg.sender));
        uint counter = 0;
        for (uint i = 0; i < assets.length; i++) {
            if (ownerOf(i) == msg.sender) {
                result[counter] = i;
                counter++;
            }
        }
        return result;
    }

    function getMyAssets() external view returns(Asset[] memory) {
        Asset[] memory result = new Asset[](balanceOf(msg.sender));
        uint counter = 0;
        for (uint i = 0; i < assets.length; i++) {
            if (ownerOf(i) == msg.sender) {
                result[counter] = assets[i];
                counter++;
            }
        }
        return result;
    }


    function openBoosterAndMint(uint _qty) external payable canBuy(_qty) hasQuantity(_qty) hasAssets(_qty) {
        uint i = 0;
        while(i < (boosterUnits * _qty)){
            createAndMint(msg.sender);
            i++;
        }
        emit BoosterOpened(msg.sender, i);
    }

    function giveaway(address _to) external onlyOwner {
        uint i = 0;
        while(i < boosterUnits){
            createAndMint(_to);
            i++;
        }
        emit Giveaway(_to);
    }


    function createAndMint(address _address) internal {
        uint rand = uint(keccak256(abi.encodePacked(block.difficulty, block.timestamp, msg.sender, assets.length)));
        uint tokenId = assets.length;
        Asset memory asset = Asset(tokenId, block.timestamp, rand % (10 ** 16));
        assets.push(asset);
        _mint(_address, tokenId);
    }

    //ERC-721 functions

    function setBaseTokenURI(string calldata _uri) external onlyOwner {
        baseTokenURI = _uri;
    }

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

    function totalSupply() public view returns (uint){
        if(assets.length > initialSupply){
            return assets.length;
        }
        return initialSupply;
    }

}

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(to).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);
    }

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

                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",
        "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":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"qty","type":"uint256"}],"name":"BoosterOpened","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"luckGuy","type":"address"}],"name":"Giveaway","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"components":[{"internalType":"uint256","name":"assetId","type":"uint256"},{"internalType":"uint256","name":"birth","type":"uint256"},{"internalType":"uint256","name":"rand","type":"uint256"}],"indexed":false,"internalType":"struct CMC.Asset","name":"asset","type":"tuple"}],"name":"NewAsset","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"assets","outputs":[{"internalType":"uint256","name":"assetId","type":"uint256"},{"internalType":"uint256","name":"birth","type":"uint256"},{"internalType":"uint256","name":"rand","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"getAsset","outputs":[{"components":[{"internalType":"uint256","name":"assetId","type":"uint256"},{"internalType":"uint256","name":"birth","type":"uint256"},{"internalType":"uint256","name":"rand","type":"uint256"}],"internalType":"struct CMC.Asset","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAssetsByOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAssetsCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"getAssetsIdsByOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBoosterPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBoosterUnits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getInitialSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMyAssets","outputs":[{"components":[{"internalType":"uint256","name":"assetId","type":"uint256"},{"internalType":"uint256","name":"birth","type":"uint256"},{"internalType":"uint256","name":"rand","type":"uint256"}],"internalType":"struct CMC.Asset[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"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":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_qty","type":"uint256"}],"name":"openBoosterAndMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setBoosterPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_units","type":"uint256"}],"name":"setBoosterUnits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"supply","type":"uint256"}],"name":"setInitialSupply","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":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

6080604052604051806060016040528060258152602001620049e1602591396008908051906020019062000035929190620005b8565b5066470de4df8200006009556004600a55600a546107d062000058919062000668565b600c553480156200006857600080fd5b506040518060400160405280601181526020017f43727970746f4d61726b657443617264730000000000000000000000000000008152506040518060400160405280600381526020017f434d4300000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000ed929190620005b8565b50806001908051906020019062000106929190620005b8565b505050620001296200011d620004ea60201b60201c565b620004f260201b60201c565b600b604051806040016040528073cce56ca550d764539fb39a5d13ddfa6f528ece7b73ffffffffffffffffffffffffffffffffffffffff168152602001610947815250908060018154018082558091505060019003906000526020600020906002020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101555050600b6040518060400160405280736daa3d177a78327b1b35977b39747034add6007c73ffffffffffffffffffffffffffffffffffffffff168152602001610947815250908060018154018082558091505060019003906000526020600020906002020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101555050600b60405180604001604052807324bda6432fb2cbfedab31c86b9caf02dffe4ba8e73ffffffffffffffffffffffffffffffffffffffff168152602001610947815250908060018154018082558091505060019003906000526020600020906002020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101555050600b60405180604001604052807341cf0afb4056e27deca21f7adc7b3ada4186884173ffffffffffffffffffffffffffffffffffffffff168152602001610947815250908060018154018082558091505060019003906000526020600020906002020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101555050600b604051806040016040528073b43623daedf0d03a23646b3fd145f1eb842f1a2b73ffffffffffffffffffffffffffffffffffffffff1681526020016101f4815250908060018154018082558091505060019003906000526020600020906002020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155505062000767565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620005c690620006d3565b90600052602060002090601f016020900481019282620005ea576000855562000636565b82601f106200060557805160ff191683800117855562000636565b8280016001018555821562000636579182015b828111156200063557825182559160200191906001019062000618565b5b50905062000645919062000649565b5090565b5b80821115620006645760008160009055506001016200064a565b5090565b60006200067582620006c9565b91506200068283620006c9565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615620006be57620006bd62000709565b5b828202905092915050565b6000819050919050565b60006002820490506001821680620006ec57607f821691505b6020821081141562000703576200070262000738565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61426a80620007776000396000f3fe6080604052600436106101f95760003560e01c806381a4a6d81161010d578063c0adc57b116100a0578063dfd233dd1161006f578063dfd233dd14610709578063e985e9c514610732578063eac8f5b81461076f578063f2fde38b146107ac578063fc263554146107d5576101f9565b8063c0adc57b14610637578063c87b56dd14610662578063ceda812c1461069f578063cf35bdd0146106ca576101f9565b8063a22cb465116100dc578063a22cb4651461057d578063b69ef8a8146105a6578063b88d4fde146105d1578063b9b93e3b146105fa576101f9565b806381a4a6d8146104d15780638da5cb5b146104fc5780639327253f1461052757806395d89b4114610552576101f9565b806323b872dd1161019057806347002d1d1161015f57806347002d1d146103ec57806361402596146104175780636352211e1461044057806370a082311461047d578063715018a6146104ba576101f9565b806323b872dd1461036757806330176e13146103905780633ccfd60b146103b957806342842e0e146103c3576101f9565b8063095ea7b3116101cc578063095ea7b3146102bf5780630aac5dfd146102e85780630eed80ca1461031357806318160ddd1461033c576101f9565b806301d9f9cd146101fe57806301ffc9a71461021a57806306fdde0314610257578063081812fc14610282575b600080fd5b61021860048036038101906102139190612ef3565b6107fe565b005b34801561022657600080fd5b50610241600480360381019061023c9190612e5c565b610966565b60405161024e9190613a19565b60405180910390f35b34801561026357600080fd5b5061026c610a48565b6040516102799190613a34565b60405180910390f35b34801561028e57600080fd5b506102a960048036038101906102a49190612ef3565b610ada565b6040516102b69190613945565b60405180910390f35b3480156102cb57600080fd5b506102e660048036038101906102e19190612e20565b610b5f565b005b3480156102f457600080fd5b506102fd610c77565b60405161030a9190613cf1565b60405180910390f35b34801561031f57600080fd5b5061033a60048036038101906103359190612ef3565b610c84565b005b34801561034857600080fd5b50610351610d0a565b60405161035e9190613cf1565b60405180910390f35b34801561037357600080fd5b5061038e60048036038101906103899190612d1a565b610d31565b005b34801561039c57600080fd5b506103b760048036038101906103b29190612eae565b610d91565b005b6103c1610e23565b005b3480156103cf57600080fd5b506103ea60048036038101906103e59190612d1a565b610ffe565b005b3480156103f857600080fd5b5061040161101e565b60405161040e91906139d5565b60405180910390f35b34801561042357600080fd5b5061043e60048036038101906104399190612ef3565b6111d3565b005b34801561044c57600080fd5b5061046760048036038101906104629190612ef3565b611259565b6040516104749190613945565b60405180910390f35b34801561048957600080fd5b506104a4600480360381019061049f9190612cb5565b61130b565b6040516104b19190613cf1565b60405180910390f35b3480156104c657600080fd5b506104cf6113c3565b005b3480156104dd57600080fd5b506104e661144b565b6040516104f39190613cf1565b60405180910390f35b34801561050857600080fd5b50610511611455565b60405161051e9190613945565b60405180910390f35b34801561053357600080fd5b5061053c61147f565b6040516105499190613cf1565b60405180910390f35b34801561055e57600080fd5b50610567611489565b6040516105749190613a34565b60405180910390f35b34801561058957600080fd5b506105a4600480360381019061059f9190612de4565b61151b565b005b3480156105b257600080fd5b506105bb61169c565b6040516105c89190613cf1565b60405180910390f35b3480156105dd57600080fd5b506105f860048036038101906105f39190612d69565b611720565b005b34801561060657600080fd5b50610621600480360381019061061c9190612cb5565b611782565b60405161062e91906139f7565b60405180910390f35b34801561064357600080fd5b5061064c6118bf565b6040516106599190613cf1565b60405180910390f35b34801561066e57600080fd5b5061068960048036038101906106849190612ef3565b6118c9565b6040516106969190613a34565b60405180910390f35b3480156106ab57600080fd5b506106b4611970565b6040516106c191906139f7565b60405180910390f35b3480156106d657600080fd5b506106f160048036038101906106ec9190612ef3565b611aab565b60405161070093929190613d0c565b60405180910390f35b34801561071557600080fd5b50610730600480360381019061072b9190612cb5565b611ae5565b005b34801561073e57600080fd5b5061075960048036038101906107549190612cde565b611bc5565b6040516107669190613a19565b60405180910390f35b34801561077b57600080fd5b5061079660048036038101906107919190612ef3565b611c59565b6040516107a39190613cd6565b60405180910390f35b3480156107b857600080fd5b506107d360048036038101906107ce9190612cb5565b611cd9565b005b3480156107e157600080fd5b506107fc60048036038101906107f79190612ef3565b611dd1565b005b808060095461080d9190613ee0565b341461084e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084590613c76565b60405180910390fd5b8160008111610892576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088990613cb6565b60405180910390fd5b826000600c5414806108b35750600c54600a54826108b09190613ee0565b11155b6108f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e990613c96565b60405180910390fd5b60005b84600a546109039190613ee0565b8110156109265761091333611e57565b808061091e90614056565b9150506108f5565b7f46aebaa8c0d85641b84ebe767545bc1ce29e0fb10ca5f889e4569d890d8eccb733826040516109579291906139ac565b60405180910390a15050505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a3157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a415750610a4082611f27565b5b9050919050565b606060008054610a5790614024565b80601f0160208091040260200160405190810160405280929190818152602001828054610a8390614024565b8015610ad05780601f10610aa557610100808354040283529160200191610ad0565b820191906000526020600020905b815481529060010190602001808311610ab357829003601f168201915b5050505050905090565b6000610ae582611f91565b610b24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1b90613b96565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b6a82611259565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd290613c36565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bfa611ffd565b73ffffffffffffffffffffffffffffffffffffffff161480610c295750610c2881610c23611ffd565b611bc5565b5b610c68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5f90613b16565b60405180910390fd5b610c728383612005565b505050565b6000600780549050905090565b610c8c611ffd565b73ffffffffffffffffffffffffffffffffffffffff16610caa611455565b73ffffffffffffffffffffffffffffffffffffffff1614610d00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf790613bb6565b60405180910390fd5b80600a8190555050565b6000600c546007805490501115610d28576007805490509050610d2e565b600c5490505b90565b610d42610d3c611ffd565b826120be565b610d81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7890613c56565b60405180910390fd5b610d8c83838361219c565b505050565b610d99611ffd565b73ffffffffffffffffffffffffffffffffffffffff16610db7611455565b73ffffffffffffffffffffffffffffffffffffffff1614610e0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0490613bb6565b60405180910390fd5b818160089190610e1e929190612ad6565b505050565b610e2b611ffd565b73ffffffffffffffffffffffffffffffffffffffff16610e49611455565b73ffffffffffffffffffffffffffffffffffffffff1614610e9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9690613bb6565b60405180910390fd5b60014711610ee2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed990613c16565b60405180910390fd5b6000662386f26fc1000047610ef79190613f3a565b905060005b600b80549050811015610ffa576000600b8281548110610f45577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906002020190508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6064808460010154610fa59190613eaf565b86610fb09190613ee0565b610fba9190613eaf565b9081150290604051600060405180830381858888f19350505050158015610fe5573d6000803e3d6000fd5b50508080610ff290614056565b915050610efc565b5050565b61101983838360405180602001604052806000815250611720565b505050565b6060600061102b3361130b565b67ffffffffffffffff81111561106a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156110a357816020015b611090612b5c565b8152602001906001900390816110885790505b5090506000805b6007805490508110156111ca573373ffffffffffffffffffffffffffffffffffffffff166110d782611259565b73ffffffffffffffffffffffffffffffffffffffff1614156111b7576007818154811061112d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060030201604051806060016040529081600082015481526020016001820154815260200160028201548152505083838151811061119d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018190525081806111b390614056565b9250505b80806111c290614056565b9150506110aa565b50819250505090565b6111db611ffd565b73ffffffffffffffffffffffffffffffffffffffff166111f9611455565b73ffffffffffffffffffffffffffffffffffffffff161461124f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124690613bb6565b60405180910390fd5b80600c8190555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611302576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f990613b56565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561137c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137390613b36565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6113cb611ffd565b73ffffffffffffffffffffffffffffffffffffffff166113e9611455565b73ffffffffffffffffffffffffffffffffffffffff161461143f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143690613bb6565b60405180910390fd5b61144960006123f8565b565b6000600c54905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600954905090565b60606001805461149890614024565b80601f01602080910402602001604051908101604052809291908181526020018280546114c490614024565b80156115115780601f106114e657610100808354040283529160200191611511565b820191906000526020600020905b8154815290600101906020018083116114f457829003601f168201915b5050505050905090565b611523611ffd565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611591576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158890613ad6565b60405180910390fd5b806005600061159e611ffd565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661164b611ffd565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116909190613a19565b60405180910390a35050565b60006116a6611ffd565b73ffffffffffffffffffffffffffffffffffffffff166116c4611455565b73ffffffffffffffffffffffffffffffffffffffff161461171a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171190613bb6565b60405180910390fd5b47905090565b61173161172b611ffd565b836120be565b611770576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176790613c56565b60405180910390fd5b61177c848484846124be565b50505050565b6060600061178f8361130b565b67ffffffffffffffff8111156117ce577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156117fc5781602001602082028036833780820191505090505b5090506000805b6007805490508110156118b4578473ffffffffffffffffffffffffffffffffffffffff1661183082611259565b73ffffffffffffffffffffffffffffffffffffffff1614156118a15780838381518110611886577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050818061189d90614056565b9250505b80806118ac90614056565b915050611803565b508192505050919050565b6000600a54905090565b60606118d482611f91565b611913576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190a90613bf6565b60405180910390fd5b600061191d61251a565b9050600081511161193d5760405180602001604052806000815250611968565b80611947846125ac565b6040516020016119589291906138d3565b6040516020818303038152906040525b915050919050565b6060600061197d3361130b565b67ffffffffffffffff8111156119bc577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156119ea5781602001602082028036833780820191505090505b5090506000805b600780549050811015611aa2573373ffffffffffffffffffffffffffffffffffffffff16611a1e82611259565b73ffffffffffffffffffffffffffffffffffffffff161415611a8f5780838381518110611a74577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508180611a8b90614056565b9250505b8080611a9a90614056565b9150506119f1565b50819250505090565b60078181548110611abb57600080fd5b90600052602060002090600302016000915090508060000154908060010154908060020154905083565b611aed611ffd565b73ffffffffffffffffffffffffffffffffffffffff16611b0b611455565b73ffffffffffffffffffffffffffffffffffffffff1614611b61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5890613bb6565b60405180910390fd5b60005b600a54811015611b8a57611b7782611e57565b8080611b8290614056565b915050611b64565b7f9501db03829130b37dbb9e287b6c3c742e415bb4611389ded938f80fc60c0b4482604051611bb99190613945565b60405180910390a15050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c61612b5c565b60078281548110611c9b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906003020160405180606001604052908160008201548152602001600182015481526020016002820154815250509050919050565b611ce1611ffd565b73ffffffffffffffffffffffffffffffffffffffff16611cff611455565b73ffffffffffffffffffffffffffffffffffffffff1614611d55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4c90613bb6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611dc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dbc90613a76565b60405180910390fd5b611dce816123f8565b50565b611dd9611ffd565b73ffffffffffffffffffffffffffffffffffffffff16611df7611455565b73ffffffffffffffffffffffffffffffffffffffff1614611e4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4490613bb6565b60405180910390fd5b8060098190555050565b6000444233600780549050604051602001611e7594939291906138f7565b6040516020818303038152906040528051906020012060001c90506000600780549050905060006040518060600160405280838152602001428152602001662386f26fc1000085611ec691906140cd565b815250905060078190806001815401808255809150506001900390600052602060002090600302016000909190919091506000820151816000015560208201518160010155604082015181600201555050611f218483612759565b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661207883611259565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006120c982611f91565b612108576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ff90613af6565b60405180910390fd5b600061211383611259565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061218257508373ffffffffffffffffffffffffffffffffffffffff1661216a84610ada565b73ffffffffffffffffffffffffffffffffffffffff16145b8061219357506121928185611bc5565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166121bc82611259565b73ffffffffffffffffffffffffffffffffffffffff1614612212576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220990613bd6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612282576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227990613ab6565b60405180910390fd5b61228d838383612927565b612298600082612005565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122e89190613f3a565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461233f9190613e59565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6124c984848461219c565b6124d58484848461292c565b612514576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250b90613a56565b60405180910390fd5b50505050565b60606008805461252990614024565b80601f016020809104026020016040519081016040528092919081815260200182805461255590614024565b80156125a25780601f10612577576101008083540402835291602001916125a2565b820191906000526020600020905b81548152906001019060200180831161258557829003601f168201915b5050505050905090565b606060008214156125f4576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612754565b600082905060005b6000821461262657808061260f90614056565b915050600a8261261f9190613eaf565b91506125fc565b60008167ffffffffffffffff811115612668577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561269a5781602001600182028036833780820191505090505b5090505b6000851461274d576001826126b39190613f3a565b9150600a856126c291906140cd565b60306126ce9190613e59565b60f81b81838151811061270a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856127469190613eaf565b945061269e565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156127c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c090613b76565b60405180910390fd5b6127d281611f91565b15612812576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280990613a96565b60405180910390fd5b61281e60008383612927565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461286e9190613e59565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b600061294d8473ffffffffffffffffffffffffffffffffffffffff16612ac3565b15612ab6578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612976611ffd565b8786866040518563ffffffff1660e01b81526004016129989493929190613960565b602060405180830381600087803b1580156129b257600080fd5b505af19250505080156129e357506040513d601f19601f820116820180604052508101906129e09190612e85565b60015b612a66573d8060008114612a13576040519150601f19603f3d011682016040523d82523d6000602084013e612a18565b606091505b50600081511415612a5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5590613a56565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612abb565b600190505b949350505050565b600080823b905060008111915050919050565b828054612ae290614024565b90600052602060002090601f016020900481019282612b045760008555612b4b565b82601f10612b1d57803560ff1916838001178555612b4b565b82800160010185558215612b4b579182015b82811115612b4a578235825591602001919060010190612b2f565b5b509050612b589190612b7d565b5090565b60405180606001604052806000815260200160008152602001600081525090565b5b80821115612b96576000816000905550600101612b7e565b5090565b6000612bad612ba884613d74565b613d43565b905082815260208101848484011115612bc557600080fd5b612bd0848285613fe2565b509392505050565b600081359050612be7816141d8565b92915050565b600081359050612bfc816141ef565b92915050565b600081359050612c1181614206565b92915050565b600081519050612c2681614206565b92915050565b600082601f830112612c3d57600080fd5b8135612c4d848260208601612b9a565b91505092915050565b60008083601f840112612c6857600080fd5b8235905067ffffffffffffffff811115612c8157600080fd5b602083019150836001820283011115612c9957600080fd5b9250929050565b600081359050612caf8161421d565b92915050565b600060208284031215612cc757600080fd5b6000612cd584828501612bd8565b91505092915050565b60008060408385031215612cf157600080fd5b6000612cff85828601612bd8565b9250506020612d1085828601612bd8565b9150509250929050565b600080600060608486031215612d2f57600080fd5b6000612d3d86828701612bd8565b9350506020612d4e86828701612bd8565b9250506040612d5f86828701612ca0565b9150509250925092565b60008060008060808587031215612d7f57600080fd5b6000612d8d87828801612bd8565b9450506020612d9e87828801612bd8565b9350506040612daf87828801612ca0565b925050606085013567ffffffffffffffff811115612dcc57600080fd5b612dd887828801612c2c565b91505092959194509250565b60008060408385031215612df757600080fd5b6000612e0585828601612bd8565b9250506020612e1685828601612bed565b9150509250929050565b60008060408385031215612e3357600080fd5b6000612e4185828601612bd8565b9250506020612e5285828601612ca0565b9150509250929050565b600060208284031215612e6e57600080fd5b6000612e7c84828501612c02565b91505092915050565b600060208284031215612e9757600080fd5b6000612ea584828501612c17565b91505092915050565b60008060208385031215612ec157600080fd5b600083013567ffffffffffffffff811115612edb57600080fd5b612ee785828601612c56565b92509250509250929050565b600060208284031215612f0557600080fd5b6000612f1384828501612ca0565b91505092915050565b6000612f28838361381a565b60608301905092915050565b6000612f40838361389e565b60208301905092915050565b612f5581613f6e565b82525050565b612f6c612f6782613f6e565b61409f565b82525050565b6000612f7d82613dc4565b612f878185613e0a565b9350612f9283613da4565b8060005b83811015612fc3578151612faa8882612f1c565b9750612fb583613df0565b925050600181019050612f96565b5085935050505092915050565b6000612fdb82613dcf565b612fe58185613e1b565b9350612ff083613db4565b8060005b838110156130215781516130088882612f34565b975061301383613dfd565b925050600181019050612ff4565b5085935050505092915050565b61303781613f80565b82525050565b600061304882613dda565b6130528185613e2c565b9350613062818560208601613ff1565b61306b816141ba565b840191505092915050565b600061308182613de5565b61308b8185613e3d565b935061309b818560208601613ff1565b6130a4816141ba565b840191505092915050565b60006130ba82613de5565b6130c48185613e4e565b93506130d4818560208601613ff1565b80840191505092915050565b60006130ed603283613e3d565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613153602683613e3d565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006131b9601c83613e3d565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006131f9602483613e3d565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061325f601983613e3d565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b600061329f602c83613e3d565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613305603883613e3d565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b600061336b602a83613e3d565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b60006133d1602983613e3d565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613437602083613e3d565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613477602c83613e3d565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006134dd602083613e3d565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061351d602983613e3d565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613583602f83613e3d565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b60006135e9602883613e3d565b91507f74686973206163636f756e7420646f65736e2774206861766520656e6f75676860008301527f2062616c616e63650000000000000000000000000000000000000000000000006020830152604082019050919050565b600061364f602183613e3d565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006136b5603183613e3d565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b600061371b601183613e3d565b91507f496e737566696369656e742066756e64730000000000000000000000000000006000830152602082019050919050565b600061375b602883613e3d565b91507f596f752063616e6e6f7420627579206d6f7265207468616e207072652d73616c60008301527f6520737570706c790000000000000000000000000000000000000000000000006020830152604082019050919050565b60006137c1602483613e3d565b91507f426f6f7374657220756e697473206d757374206265206772656174657220746860008301527f616e2030000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b606082016000820151613830600085018261389e565b506020820151613843602085018261389e565b506040820151613856604085018261389e565b50505050565b606082016000820151613872600085018261389e565b506020820151613885602085018261389e565b506040820151613898604085018261389e565b50505050565b6138a781613fd8565b82525050565b6138b681613fd8565b82525050565b6138cd6138c882613fd8565b6140c3565b82525050565b60006138df82856130af565b91506138eb82846130af565b91508190509392505050565b600061390382876138bc565b60208201915061391382866138bc565b6020820191506139238285612f5b565b60148201915061393382846138bc565b60208201915081905095945050505050565b600060208201905061395a6000830184612f4c565b92915050565b60006080820190506139756000830187612f4c565b6139826020830186612f4c565b61398f60408301856138ad565b81810360608301526139a1818461303d565b905095945050505050565b60006040820190506139c16000830185612f4c565b6139ce60208301846138ad565b9392505050565b600060208201905081810360008301526139ef8184612f72565b905092915050565b60006020820190508181036000830152613a118184612fd0565b905092915050565b6000602082019050613a2e600083018461302e565b92915050565b60006020820190508181036000830152613a4e8184613076565b905092915050565b60006020820190508181036000830152613a6f816130e0565b9050919050565b60006020820190508181036000830152613a8f81613146565b9050919050565b60006020820190508181036000830152613aaf816131ac565b9050919050565b60006020820190508181036000830152613acf816131ec565b9050919050565b60006020820190508181036000830152613aef81613252565b9050919050565b60006020820190508181036000830152613b0f81613292565b9050919050565b60006020820190508181036000830152613b2f816132f8565b9050919050565b60006020820190508181036000830152613b4f8161335e565b9050919050565b60006020820190508181036000830152613b6f816133c4565b9050919050565b60006020820190508181036000830152613b8f8161342a565b9050919050565b60006020820190508181036000830152613baf8161346a565b9050919050565b60006020820190508181036000830152613bcf816134d0565b9050919050565b60006020820190508181036000830152613bef81613510565b9050919050565b60006020820190508181036000830152613c0f81613576565b9050919050565b60006020820190508181036000830152613c2f816135dc565b9050919050565b60006020820190508181036000830152613c4f81613642565b9050919050565b60006020820190508181036000830152613c6f816136a8565b9050919050565b60006020820190508181036000830152613c8f8161370e565b9050919050565b60006020820190508181036000830152613caf8161374e565b9050919050565b60006020820190508181036000830152613ccf816137b4565b9050919050565b6000606082019050613ceb600083018461385c565b92915050565b6000602082019050613d0660008301846138ad565b92915050565b6000606082019050613d2160008301866138ad565b613d2e60208301856138ad565b613d3b60408301846138ad565b949350505050565b6000604051905081810181811067ffffffffffffffff82111715613d6a57613d6961418b565b5b8060405250919050565b600067ffffffffffffffff821115613d8f57613d8e61418b565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613e6482613fd8565b9150613e6f83613fd8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613ea457613ea36140fe565b5b828201905092915050565b6000613eba82613fd8565b9150613ec583613fd8565b925082613ed557613ed461412d565b5b828204905092915050565b6000613eeb82613fd8565b9150613ef683613fd8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613f2f57613f2e6140fe565b5b828202905092915050565b6000613f4582613fd8565b9150613f5083613fd8565b925082821015613f6357613f626140fe565b5b828203905092915050565b6000613f7982613fb8565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561400f578082015181840152602081019050613ff4565b8381111561401e576000848401525b50505050565b6000600282049050600182168061403c57607f821691505b602082108114156140505761404f61415c565b5b50919050565b600061406182613fd8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614094576140936140fe565b5b600182019050919050565b60006140aa826140b1565b9050919050565b60006140bc826141cb565b9050919050565b6000819050919050565b60006140d882613fd8565b91506140e383613fd8565b9250826140f3576140f261412d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b6141e181613f6e565b81146141ec57600080fd5b50565b6141f881613f80565b811461420357600080fd5b50565b61420f81613f8c565b811461421a57600080fd5b50565b61422681613fd8565b811461423157600080fd5b5056fea2646970667358221220f04096cb5dadc793ee56447c55eb2d4807b6e8e61ee590b93e05b4aaedf0b7bf64736f6c6343000800003368747470733a2f2f6170692e63727970746f6d61726b65742e63617264732f61737365742f

Deployed Bytecode

0x6080604052600436106101f95760003560e01c806381a4a6d81161010d578063c0adc57b116100a0578063dfd233dd1161006f578063dfd233dd14610709578063e985e9c514610732578063eac8f5b81461076f578063f2fde38b146107ac578063fc263554146107d5576101f9565b8063c0adc57b14610637578063c87b56dd14610662578063ceda812c1461069f578063cf35bdd0146106ca576101f9565b8063a22cb465116100dc578063a22cb4651461057d578063b69ef8a8146105a6578063b88d4fde146105d1578063b9b93e3b146105fa576101f9565b806381a4a6d8146104d15780638da5cb5b146104fc5780639327253f1461052757806395d89b4114610552576101f9565b806323b872dd1161019057806347002d1d1161015f57806347002d1d146103ec57806361402596146104175780636352211e1461044057806370a082311461047d578063715018a6146104ba576101f9565b806323b872dd1461036757806330176e13146103905780633ccfd60b146103b957806342842e0e146103c3576101f9565b8063095ea7b3116101cc578063095ea7b3146102bf5780630aac5dfd146102e85780630eed80ca1461031357806318160ddd1461033c576101f9565b806301d9f9cd146101fe57806301ffc9a71461021a57806306fdde0314610257578063081812fc14610282575b600080fd5b61021860048036038101906102139190612ef3565b6107fe565b005b34801561022657600080fd5b50610241600480360381019061023c9190612e5c565b610966565b60405161024e9190613a19565b60405180910390f35b34801561026357600080fd5b5061026c610a48565b6040516102799190613a34565b60405180910390f35b34801561028e57600080fd5b506102a960048036038101906102a49190612ef3565b610ada565b6040516102b69190613945565b60405180910390f35b3480156102cb57600080fd5b506102e660048036038101906102e19190612e20565b610b5f565b005b3480156102f457600080fd5b506102fd610c77565b60405161030a9190613cf1565b60405180910390f35b34801561031f57600080fd5b5061033a60048036038101906103359190612ef3565b610c84565b005b34801561034857600080fd5b50610351610d0a565b60405161035e9190613cf1565b60405180910390f35b34801561037357600080fd5b5061038e60048036038101906103899190612d1a565b610d31565b005b34801561039c57600080fd5b506103b760048036038101906103b29190612eae565b610d91565b005b6103c1610e23565b005b3480156103cf57600080fd5b506103ea60048036038101906103e59190612d1a565b610ffe565b005b3480156103f857600080fd5b5061040161101e565b60405161040e91906139d5565b60405180910390f35b34801561042357600080fd5b5061043e60048036038101906104399190612ef3565b6111d3565b005b34801561044c57600080fd5b5061046760048036038101906104629190612ef3565b611259565b6040516104749190613945565b60405180910390f35b34801561048957600080fd5b506104a4600480360381019061049f9190612cb5565b61130b565b6040516104b19190613cf1565b60405180910390f35b3480156104c657600080fd5b506104cf6113c3565b005b3480156104dd57600080fd5b506104e661144b565b6040516104f39190613cf1565b60405180910390f35b34801561050857600080fd5b50610511611455565b60405161051e9190613945565b60405180910390f35b34801561053357600080fd5b5061053c61147f565b6040516105499190613cf1565b60405180910390f35b34801561055e57600080fd5b50610567611489565b6040516105749190613a34565b60405180910390f35b34801561058957600080fd5b506105a4600480360381019061059f9190612de4565b61151b565b005b3480156105b257600080fd5b506105bb61169c565b6040516105c89190613cf1565b60405180910390f35b3480156105dd57600080fd5b506105f860048036038101906105f39190612d69565b611720565b005b34801561060657600080fd5b50610621600480360381019061061c9190612cb5565b611782565b60405161062e91906139f7565b60405180910390f35b34801561064357600080fd5b5061064c6118bf565b6040516106599190613cf1565b60405180910390f35b34801561066e57600080fd5b5061068960048036038101906106849190612ef3565b6118c9565b6040516106969190613a34565b60405180910390f35b3480156106ab57600080fd5b506106b4611970565b6040516106c191906139f7565b60405180910390f35b3480156106d657600080fd5b506106f160048036038101906106ec9190612ef3565b611aab565b60405161070093929190613d0c565b60405180910390f35b34801561071557600080fd5b50610730600480360381019061072b9190612cb5565b611ae5565b005b34801561073e57600080fd5b5061075960048036038101906107549190612cde565b611bc5565b6040516107669190613a19565b60405180910390f35b34801561077b57600080fd5b5061079660048036038101906107919190612ef3565b611c59565b6040516107a39190613cd6565b60405180910390f35b3480156107b857600080fd5b506107d360048036038101906107ce9190612cb5565b611cd9565b005b3480156107e157600080fd5b506107fc60048036038101906107f79190612ef3565b611dd1565b005b808060095461080d9190613ee0565b341461084e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084590613c76565b60405180910390fd5b8160008111610892576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088990613cb6565b60405180910390fd5b826000600c5414806108b35750600c54600a54826108b09190613ee0565b11155b6108f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e990613c96565b60405180910390fd5b60005b84600a546109039190613ee0565b8110156109265761091333611e57565b808061091e90614056565b9150506108f5565b7f46aebaa8c0d85641b84ebe767545bc1ce29e0fb10ca5f889e4569d890d8eccb733826040516109579291906139ac565b60405180910390a15050505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a3157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a415750610a4082611f27565b5b9050919050565b606060008054610a5790614024565b80601f0160208091040260200160405190810160405280929190818152602001828054610a8390614024565b8015610ad05780601f10610aa557610100808354040283529160200191610ad0565b820191906000526020600020905b815481529060010190602001808311610ab357829003601f168201915b5050505050905090565b6000610ae582611f91565b610b24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1b90613b96565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b6a82611259565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd290613c36565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bfa611ffd565b73ffffffffffffffffffffffffffffffffffffffff161480610c295750610c2881610c23611ffd565b611bc5565b5b610c68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5f90613b16565b60405180910390fd5b610c728383612005565b505050565b6000600780549050905090565b610c8c611ffd565b73ffffffffffffffffffffffffffffffffffffffff16610caa611455565b73ffffffffffffffffffffffffffffffffffffffff1614610d00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf790613bb6565b60405180910390fd5b80600a8190555050565b6000600c546007805490501115610d28576007805490509050610d2e565b600c5490505b90565b610d42610d3c611ffd565b826120be565b610d81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7890613c56565b60405180910390fd5b610d8c83838361219c565b505050565b610d99611ffd565b73ffffffffffffffffffffffffffffffffffffffff16610db7611455565b73ffffffffffffffffffffffffffffffffffffffff1614610e0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0490613bb6565b60405180910390fd5b818160089190610e1e929190612ad6565b505050565b610e2b611ffd565b73ffffffffffffffffffffffffffffffffffffffff16610e49611455565b73ffffffffffffffffffffffffffffffffffffffff1614610e9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9690613bb6565b60405180910390fd5b60014711610ee2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed990613c16565b60405180910390fd5b6000662386f26fc1000047610ef79190613f3a565b905060005b600b80549050811015610ffa576000600b8281548110610f45577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906002020190508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6064808460010154610fa59190613eaf565b86610fb09190613ee0565b610fba9190613eaf565b9081150290604051600060405180830381858888f19350505050158015610fe5573d6000803e3d6000fd5b50508080610ff290614056565b915050610efc565b5050565b61101983838360405180602001604052806000815250611720565b505050565b6060600061102b3361130b565b67ffffffffffffffff81111561106a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156110a357816020015b611090612b5c565b8152602001906001900390816110885790505b5090506000805b6007805490508110156111ca573373ffffffffffffffffffffffffffffffffffffffff166110d782611259565b73ffffffffffffffffffffffffffffffffffffffff1614156111b7576007818154811061112d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060030201604051806060016040529081600082015481526020016001820154815260200160028201548152505083838151811061119d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018190525081806111b390614056565b9250505b80806111c290614056565b9150506110aa565b50819250505090565b6111db611ffd565b73ffffffffffffffffffffffffffffffffffffffff166111f9611455565b73ffffffffffffffffffffffffffffffffffffffff161461124f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124690613bb6565b60405180910390fd5b80600c8190555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611302576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f990613b56565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561137c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137390613b36565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6113cb611ffd565b73ffffffffffffffffffffffffffffffffffffffff166113e9611455565b73ffffffffffffffffffffffffffffffffffffffff161461143f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143690613bb6565b60405180910390fd5b61144960006123f8565b565b6000600c54905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600954905090565b60606001805461149890614024565b80601f01602080910402602001604051908101604052809291908181526020018280546114c490614024565b80156115115780601f106114e657610100808354040283529160200191611511565b820191906000526020600020905b8154815290600101906020018083116114f457829003601f168201915b5050505050905090565b611523611ffd565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611591576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158890613ad6565b60405180910390fd5b806005600061159e611ffd565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661164b611ffd565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116909190613a19565b60405180910390a35050565b60006116a6611ffd565b73ffffffffffffffffffffffffffffffffffffffff166116c4611455565b73ffffffffffffffffffffffffffffffffffffffff161461171a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171190613bb6565b60405180910390fd5b47905090565b61173161172b611ffd565b836120be565b611770576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176790613c56565b60405180910390fd5b61177c848484846124be565b50505050565b6060600061178f8361130b565b67ffffffffffffffff8111156117ce577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156117fc5781602001602082028036833780820191505090505b5090506000805b6007805490508110156118b4578473ffffffffffffffffffffffffffffffffffffffff1661183082611259565b73ffffffffffffffffffffffffffffffffffffffff1614156118a15780838381518110611886577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050818061189d90614056565b9250505b80806118ac90614056565b915050611803565b508192505050919050565b6000600a54905090565b60606118d482611f91565b611913576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190a90613bf6565b60405180910390fd5b600061191d61251a565b9050600081511161193d5760405180602001604052806000815250611968565b80611947846125ac565b6040516020016119589291906138d3565b6040516020818303038152906040525b915050919050565b6060600061197d3361130b565b67ffffffffffffffff8111156119bc577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156119ea5781602001602082028036833780820191505090505b5090506000805b600780549050811015611aa2573373ffffffffffffffffffffffffffffffffffffffff16611a1e82611259565b73ffffffffffffffffffffffffffffffffffffffff161415611a8f5780838381518110611a74577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508180611a8b90614056565b9250505b8080611a9a90614056565b9150506119f1565b50819250505090565b60078181548110611abb57600080fd5b90600052602060002090600302016000915090508060000154908060010154908060020154905083565b611aed611ffd565b73ffffffffffffffffffffffffffffffffffffffff16611b0b611455565b73ffffffffffffffffffffffffffffffffffffffff1614611b61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5890613bb6565b60405180910390fd5b60005b600a54811015611b8a57611b7782611e57565b8080611b8290614056565b915050611b64565b7f9501db03829130b37dbb9e287b6c3c742e415bb4611389ded938f80fc60c0b4482604051611bb99190613945565b60405180910390a15050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c61612b5c565b60078281548110611c9b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906003020160405180606001604052908160008201548152602001600182015481526020016002820154815250509050919050565b611ce1611ffd565b73ffffffffffffffffffffffffffffffffffffffff16611cff611455565b73ffffffffffffffffffffffffffffffffffffffff1614611d55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4c90613bb6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611dc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dbc90613a76565b60405180910390fd5b611dce816123f8565b50565b611dd9611ffd565b73ffffffffffffffffffffffffffffffffffffffff16611df7611455565b73ffffffffffffffffffffffffffffffffffffffff1614611e4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4490613bb6565b60405180910390fd5b8060098190555050565b6000444233600780549050604051602001611e7594939291906138f7565b6040516020818303038152906040528051906020012060001c90506000600780549050905060006040518060600160405280838152602001428152602001662386f26fc1000085611ec691906140cd565b815250905060078190806001815401808255809150506001900390600052602060002090600302016000909190919091506000820151816000015560208201518160010155604082015181600201555050611f218483612759565b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661207883611259565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006120c982611f91565b612108576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ff90613af6565b60405180910390fd5b600061211383611259565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061218257508373ffffffffffffffffffffffffffffffffffffffff1661216a84610ada565b73ffffffffffffffffffffffffffffffffffffffff16145b8061219357506121928185611bc5565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166121bc82611259565b73ffffffffffffffffffffffffffffffffffffffff1614612212576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220990613bd6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612282576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227990613ab6565b60405180910390fd5b61228d838383612927565b612298600082612005565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122e89190613f3a565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461233f9190613e59565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6124c984848461219c565b6124d58484848461292c565b612514576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250b90613a56565b60405180910390fd5b50505050565b60606008805461252990614024565b80601f016020809104026020016040519081016040528092919081815260200182805461255590614024565b80156125a25780601f10612577576101008083540402835291602001916125a2565b820191906000526020600020905b81548152906001019060200180831161258557829003601f168201915b5050505050905090565b606060008214156125f4576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612754565b600082905060005b6000821461262657808061260f90614056565b915050600a8261261f9190613eaf565b91506125fc565b60008167ffffffffffffffff811115612668577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561269a5781602001600182028036833780820191505090505b5090505b6000851461274d576001826126b39190613f3a565b9150600a856126c291906140cd565b60306126ce9190613e59565b60f81b81838151811061270a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856127469190613eaf565b945061269e565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156127c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c090613b76565b60405180910390fd5b6127d281611f91565b15612812576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280990613a96565b60405180910390fd5b61281e60008383612927565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461286e9190613e59565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b600061294d8473ffffffffffffffffffffffffffffffffffffffff16612ac3565b15612ab6578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612976611ffd565b8786866040518563ffffffff1660e01b81526004016129989493929190613960565b602060405180830381600087803b1580156129b257600080fd5b505af19250505080156129e357506040513d601f19601f820116820180604052508101906129e09190612e85565b60015b612a66573d8060008114612a13576040519150601f19603f3d011682016040523d82523d6000602084013e612a18565b606091505b50600081511415612a5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5590613a56565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612abb565b600190505b949350505050565b600080823b905060008111915050919050565b828054612ae290614024565b90600052602060002090601f016020900481019282612b045760008555612b4b565b82601f10612b1d57803560ff1916838001178555612b4b565b82800160010185558215612b4b579182015b82811115612b4a578235825591602001919060010190612b2f565b5b509050612b589190612b7d565b5090565b60405180606001604052806000815260200160008152602001600081525090565b5b80821115612b96576000816000905550600101612b7e565b5090565b6000612bad612ba884613d74565b613d43565b905082815260208101848484011115612bc557600080fd5b612bd0848285613fe2565b509392505050565b600081359050612be7816141d8565b92915050565b600081359050612bfc816141ef565b92915050565b600081359050612c1181614206565b92915050565b600081519050612c2681614206565b92915050565b600082601f830112612c3d57600080fd5b8135612c4d848260208601612b9a565b91505092915050565b60008083601f840112612c6857600080fd5b8235905067ffffffffffffffff811115612c8157600080fd5b602083019150836001820283011115612c9957600080fd5b9250929050565b600081359050612caf8161421d565b92915050565b600060208284031215612cc757600080fd5b6000612cd584828501612bd8565b91505092915050565b60008060408385031215612cf157600080fd5b6000612cff85828601612bd8565b9250506020612d1085828601612bd8565b9150509250929050565b600080600060608486031215612d2f57600080fd5b6000612d3d86828701612bd8565b9350506020612d4e86828701612bd8565b9250506040612d5f86828701612ca0565b9150509250925092565b60008060008060808587031215612d7f57600080fd5b6000612d8d87828801612bd8565b9450506020612d9e87828801612bd8565b9350506040612daf87828801612ca0565b925050606085013567ffffffffffffffff811115612dcc57600080fd5b612dd887828801612c2c565b91505092959194509250565b60008060408385031215612df757600080fd5b6000612e0585828601612bd8565b9250506020612e1685828601612bed565b9150509250929050565b60008060408385031215612e3357600080fd5b6000612e4185828601612bd8565b9250506020612e5285828601612ca0565b9150509250929050565b600060208284031215612e6e57600080fd5b6000612e7c84828501612c02565b91505092915050565b600060208284031215612e9757600080fd5b6000612ea584828501612c17565b91505092915050565b60008060208385031215612ec157600080fd5b600083013567ffffffffffffffff811115612edb57600080fd5b612ee785828601612c56565b92509250509250929050565b600060208284031215612f0557600080fd5b6000612f1384828501612ca0565b91505092915050565b6000612f28838361381a565b60608301905092915050565b6000612f40838361389e565b60208301905092915050565b612f5581613f6e565b82525050565b612f6c612f6782613f6e565b61409f565b82525050565b6000612f7d82613dc4565b612f878185613e0a565b9350612f9283613da4565b8060005b83811015612fc3578151612faa8882612f1c565b9750612fb583613df0565b925050600181019050612f96565b5085935050505092915050565b6000612fdb82613dcf565b612fe58185613e1b565b9350612ff083613db4565b8060005b838110156130215781516130088882612f34565b975061301383613dfd565b925050600181019050612ff4565b5085935050505092915050565b61303781613f80565b82525050565b600061304882613dda565b6130528185613e2c565b9350613062818560208601613ff1565b61306b816141ba565b840191505092915050565b600061308182613de5565b61308b8185613e3d565b935061309b818560208601613ff1565b6130a4816141ba565b840191505092915050565b60006130ba82613de5565b6130c48185613e4e565b93506130d4818560208601613ff1565b80840191505092915050565b60006130ed603283613e3d565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613153602683613e3d565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006131b9601c83613e3d565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006131f9602483613e3d565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061325f601983613e3d565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b600061329f602c83613e3d565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613305603883613e3d565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b600061336b602a83613e3d565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b60006133d1602983613e3d565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613437602083613e3d565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613477602c83613e3d565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006134dd602083613e3d565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061351d602983613e3d565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613583602f83613e3d565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b60006135e9602883613e3d565b91507f74686973206163636f756e7420646f65736e2774206861766520656e6f75676860008301527f2062616c616e63650000000000000000000000000000000000000000000000006020830152604082019050919050565b600061364f602183613e3d565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006136b5603183613e3d565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b600061371b601183613e3d565b91507f496e737566696369656e742066756e64730000000000000000000000000000006000830152602082019050919050565b600061375b602883613e3d565b91507f596f752063616e6e6f7420627579206d6f7265207468616e207072652d73616c60008301527f6520737570706c790000000000000000000000000000000000000000000000006020830152604082019050919050565b60006137c1602483613e3d565b91507f426f6f7374657220756e697473206d757374206265206772656174657220746860008301527f616e2030000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b606082016000820151613830600085018261389e565b506020820151613843602085018261389e565b506040820151613856604085018261389e565b50505050565b606082016000820151613872600085018261389e565b506020820151613885602085018261389e565b506040820151613898604085018261389e565b50505050565b6138a781613fd8565b82525050565b6138b681613fd8565b82525050565b6138cd6138c882613fd8565b6140c3565b82525050565b60006138df82856130af565b91506138eb82846130af565b91508190509392505050565b600061390382876138bc565b60208201915061391382866138bc565b6020820191506139238285612f5b565b60148201915061393382846138bc565b60208201915081905095945050505050565b600060208201905061395a6000830184612f4c565b92915050565b60006080820190506139756000830187612f4c565b6139826020830186612f4c565b61398f60408301856138ad565b81810360608301526139a1818461303d565b905095945050505050565b60006040820190506139c16000830185612f4c565b6139ce60208301846138ad565b9392505050565b600060208201905081810360008301526139ef8184612f72565b905092915050565b60006020820190508181036000830152613a118184612fd0565b905092915050565b6000602082019050613a2e600083018461302e565b92915050565b60006020820190508181036000830152613a4e8184613076565b905092915050565b60006020820190508181036000830152613a6f816130e0565b9050919050565b60006020820190508181036000830152613a8f81613146565b9050919050565b60006020820190508181036000830152613aaf816131ac565b9050919050565b60006020820190508181036000830152613acf816131ec565b9050919050565b60006020820190508181036000830152613aef81613252565b9050919050565b60006020820190508181036000830152613b0f81613292565b9050919050565b60006020820190508181036000830152613b2f816132f8565b9050919050565b60006020820190508181036000830152613b4f8161335e565b9050919050565b60006020820190508181036000830152613b6f816133c4565b9050919050565b60006020820190508181036000830152613b8f8161342a565b9050919050565b60006020820190508181036000830152613baf8161346a565b9050919050565b60006020820190508181036000830152613bcf816134d0565b9050919050565b60006020820190508181036000830152613bef81613510565b9050919050565b60006020820190508181036000830152613c0f81613576565b9050919050565b60006020820190508181036000830152613c2f816135dc565b9050919050565b60006020820190508181036000830152613c4f81613642565b9050919050565b60006020820190508181036000830152613c6f816136a8565b9050919050565b60006020820190508181036000830152613c8f8161370e565b9050919050565b60006020820190508181036000830152613caf8161374e565b9050919050565b60006020820190508181036000830152613ccf816137b4565b9050919050565b6000606082019050613ceb600083018461385c565b92915050565b6000602082019050613d0660008301846138ad565b92915050565b6000606082019050613d2160008301866138ad565b613d2e60208301856138ad565b613d3b60408301846138ad565b949350505050565b6000604051905081810181811067ffffffffffffffff82111715613d6a57613d6961418b565b5b8060405250919050565b600067ffffffffffffffff821115613d8f57613d8e61418b565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613e6482613fd8565b9150613e6f83613fd8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613ea457613ea36140fe565b5b828201905092915050565b6000613eba82613fd8565b9150613ec583613fd8565b925082613ed557613ed461412d565b5b828204905092915050565b6000613eeb82613fd8565b9150613ef683613fd8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613f2f57613f2e6140fe565b5b828202905092915050565b6000613f4582613fd8565b9150613f5083613fd8565b925082821015613f6357613f626140fe565b5b828203905092915050565b6000613f7982613fb8565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561400f578082015181840152602081019050613ff4565b8381111561401e576000848401525b50505050565b6000600282049050600182168061403c57607f821691505b602082108114156140505761404f61415c565b5b50919050565b600061406182613fd8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614094576140936140fe565b5b600182019050919050565b60006140aa826140b1565b9050919050565b60006140bc826141cb565b9050919050565b6000819050919050565b60006140d882613fd8565b91506140e383613fd8565b9250826140f3576140f261412d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b6141e181613f6e565b81146141ec57600080fd5b50565b6141f881613f80565b811461420357600080fd5b50565b61420f81613f8c565b811461421a57600080fd5b50565b61422681613fd8565b811461423157600080fd5b5056fea2646970667358221220f04096cb5dadc793ee56447c55eb2d4807b6e8e61ee590b93e05b4aaedf0b7bf64736f6c63430008000033

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.