ETH Price: $3,357.45 (-2.76%)
Gas: 5.22 Gwei

Token

Ugly Duck WTF (UglyDuck)
 

Overview

Max Total Supply

9,999 UglyDuck

Holders

1,853

Market

Volume (24H)

0.0016 ETH

Min Price (24H)

$5.37 @ 0.001600 ETH

Max Price (24H)

$5.37 @ 0.001600 ETH
Filtered by Token Holder
badidas.eth
Balance
2 UglyDuck
0x80329f59a703c94418167fd7a2dd5e11e8dff733
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:
UglyDuck

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : UglyDuckWTF.sol
//SPDX-License-Identifier: UNLICENSED

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract UglyDuck is ERC721, Ownable {
    using Strings for uint256;
    using ECDSA for bytes32;

    uint256 public maxSupply = 9999;
    uint256 public currentSupply = 0;

    uint256 public p1Limit = 2000;
    uint256 public p1Minted = 0;

    uint256 public p2Limit = 3000;
    uint256 public p2Minted = 0;

    uint256 public maxPerWallet = 1;
    uint256 public phase = 0;

    address private freeAddress = address(0x06c77D5fF190e1930b2A4FFC4E010afd5690B083);
    address private wallet = address(0x88a79630bd588e0b49b6F4B5822baA225958304F);

    string private baseURI;
    string private notRevealedUri = "ipfs://";

    bool public revealed = false;
    bool public baseLocked = false;

    mapping( address => uint256 ) public mintLog;

    constructor()
        ERC721("Ugly Duck WTF", "UglyDuck")
    {
        transferOwnership( msg.sender );
    }

    function withdraw() public onlyOwner {
        uint256 _balance = address( this ).balance;
        payable( wallet ).transfer( _balance );
    }

    function setWallet( address _newWallet ) public onlyOwner {
        wallet = _newWallet;
    }

    function totalSupply() public view returns (uint256) {
        return currentSupply;
    }

    function setMaxPerWallet( uint256 _amount ) external onlyOwner {
        maxPerWallet = _amount;
    }

    function validateSignature( address _addr, bytes memory _s ) internal view returns (bool){
        bytes32 messageHash = keccak256(
            abi.encodePacked( address(this), msg.sender)
        );

        address signer = messageHash.toEthSignedMessageHash().recover(_s);

        if( _addr == signer ) {
            return true;
        } else {
            return false;
        }
    }

    //Batch minting
    function mintBatch(
        address to,
        uint256 baseId,
        uint256 number
    ) internal {

        for (uint256 i = 0; i < number; i++) {
            _safeMint(to, baseId + i);
        }

    }

    /**
        Mint-a-Duck WTF WL
     */
    function whitelistMint( uint256 _amount, bytes calldata signature ) external {
        require( phase > 0 && phase < 4, "WTF?!? WL Mint is not active!");
        require(
            validateSignature(
                freeAddress,
                signature
            ),
            "SIGNATURE_VALIDATION_FAILED"
        );
        
        uint256 allowedAmount = 1;

        if( phase == 1 ) {
            //5 WL, 2k NFTs
            allowedAmount = 5;

            require( 
                p1Minted + _amount <= p1Limit, 
                "UglyDuck: You cant mint that many, phase 1 supply exceeded!" 
            );

            p1Minted += _amount;

        } else if( phase == 2 ) {

            //2 WL, 3k NFTs
            allowedAmount = 2;

            require( 
                p2Minted + _amount <= p2Limit, 
                "UglyDuck: You cant mint that many, phase 2 supply exceeded!" 
            );

            p2Minted += _amount;

        } 

        uint256 supply = currentSupply;

        require( 
            mintLog[ msg.sender ] + _amount <= allowedAmount, 
            "UglyDuck: You cant mint that many!." 
        );

        require(
            supply + _amount <= maxSupply,
            "UglyDuck: Mint too large, exceeding the collection supply"
        );


        mintLog[ msg.sender ] += _amount;
        currentSupply += _amount;

        mintBatch(msg.sender, supply, _amount);
    }

    /**
        Mint-a-Duck WTF Public
     */
    function publicMint( uint256 _amount) external {
        require( phase == 4, "WTF?!? Public Mint is not active!");
      
        uint256 supply = currentSupply;

        require( 
            mintLog[ msg.sender ] + _amount <= maxPerWallet, 
            "UglyDuck: You cant mint that many!." 
        );

        require(
            supply + _amount <= maxSupply,
            "UglyDuck: Mint too large, exceeding the collection supply"
        );


        mintLog[ msg.sender ] += _amount;
        currentSupply += _amount;

        mintBatch(msg.sender, supply, _amount);
    }

    function forceMint( uint256 number, address receiver ) external onlyOwner {
        uint256 supply = currentSupply;

        require(
            supply + number <= maxSupply,
            "UglyDuck: You can't mint more than max supply"
        );

        currentSupply += number;

        mintBatch( receiver, supply, number);
    }

    function ownerMint(uint256 number) external onlyOwner {
        uint256 supply = currentSupply;

        require(
            supply + number <= maxSupply,
            "UglyDuck: You can't mint more than max supply"
        );

        currentSupply += number;

        mintBatch(msg.sender, supply, number);
    }

    function reveal() public onlyOwner {
        revealed = true;
    }

    function setNotRevealedURI( string memory _notRevealedURI ) public onlyOwner {
        notRevealedUri = _notRevealedURI;
    }

    function setBaseURI( string memory _newBaseURI ) public onlyOwner {
        require( baseLocked == false, "Base URI change has been disabled permanently");

        baseURI = _newBaseURI;
    }

    function setPhase( uint256 p ) public onlyOwner {
        require( p >= 0 && p <= 4, "Valid phases are 0 to 4");

        phase = p;
    }

    function setP1Limit( uint256 l ) public onlyOwner {
        p1Limit = l;
    }

    function setP2Limit( uint256 l ) public onlyOwner {
        p2Limit = l;
    }

    //Lock base security - your nfts can never be changed.
    function lockBase() public onlyOwner {
        baseLocked = true;
    }

    // FACTORY
    function tokenURI( uint256 tokenId )
        public
        view
        override(ERC721)
        returns (string memory)
    {
        if (revealed == false) {
            return notRevealedUri;
        }

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

File 2 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

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() {
        _transferOwnership(_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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 4 of 13 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s;
        uint8 v;
        assembly {
            s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
            v := add(shr(255, vs), 27)
        }
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 5 of 13 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

File 9 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

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

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

pragma solidity ^0.8.0;

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

File 12 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 13 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"number","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"forceMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockBase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintLog","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"number","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"p1Limit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"p1Minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"p2Limit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"p2Minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"l","type":"uint256"}],"name":"setP1Limit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"l","type":"uint256"}],"name":"setP2Limit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"p","type":"uint256"}],"name":"setPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newWallet","type":"address"}],"name":"setWallet","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":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"whitelistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405261270f60075560006008556107d06009556000600a55610bb8600b556000600c556001600d556000600e557306c77d5ff190e1930b2a4ffc4e010afd5690b083600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507388a79630bd588e0b49b6f4b5822baa225958304f601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040518060400160405280600781526020017f697066733a2f2f00000000000000000000000000000000000000000000000000815250601290805190602001906200012692919062000450565b506000601360006101000a81548160ff0219169083151502179055506000601360016101000a81548160ff0219169083151502179055503480156200016a57600080fd5b506040518060400160405280600d81526020017f55676c79204475636b20575446000000000000000000000000000000000000008152506040518060400160405280600881526020017f55676c794475636b0000000000000000000000000000000000000000000000008152508160009080519060200190620001ef92919062000450565b5080600190805190602001906200020892919062000450565b5050506200022b6200021f6200024260201b60201c565b6200024a60201b60201c565b6200023c336200031060201b60201c565b62000664565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620003206200024260201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003466200042660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200039f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200039690620005cc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141562000412576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200040990620005aa565b60405180910390fd5b62000423816200024a60201b60201c565b50565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200045e90620005ff565b90600052602060002090601f016020900481019282620004825760008555620004ce565b82601f106200049d57805160ff1916838001178555620004ce565b82800160010185558215620004ce579182015b82811115620004cd578251825591602001919060010190620004b0565b5b509050620004dd9190620004e1565b5090565b5b80821115620004fc576000816000905550600101620004e2565b5090565b60006200050f602683620005ee565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b600062000577602083620005ee565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006020820190508181036000830152620005c58162000500565b9050919050565b60006020820190508181036000830152620005e78162000568565b9050919050565b600082825260208201905092915050565b600060028204905060018216806200061857607f821691505b602082108114156200062f576200062e62000635565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b614d8c80620006746000396000f3fe608060405234801561001057600080fd5b506004361061025e5760003560e01c80638074be9811610146578063b88d4fde116100c3578063deaa59df11610087578063deaa59df1461069f578063e268e4d3146106bb578063e985e9c5146106d7578063f19e75d414610707578063f2c4ce1e14610723578063f2fde38b1461073f5761025e565b8063b88d4fde146105f9578063c552e03b14610615578063c87b56dd14610633578063d4de7b0f14610663578063d5abeb01146106815761025e565b806395d89b411161010a57806395d89b411461057b5780639e852f7514610599578063a22cb465146105b5578063a475b5dd146105d1578063b1c9fe6e146105db5761025e565b80638074be98146104d7578063812d01c4146104f357806382476d19146105115780638da5cb5b1461052d57806394396a841461054b5761025e565b80633ccfd60b116101df57806355f804b3116101a357806355f804b3146104155780636352211e1461043157806370a0823114610461578063715018a614610491578063771282f61461049b5780637b082610146104b95761025e565b80633ccfd60b1461039557806342842e0e1461039f578063441a9877146103bb578063453c2310146103d957806351830227146103f75761025e565b80631c03ceb5116102265780631c03ceb51461031b57806323b872dd146103255780632cc82655146103415780632d16c6ab1461035d5780632db11544146103795761025e565b806301ffc9a71461026357806306fdde0314610293578063081812fc146102b1578063095ea7b3146102e157806318160ddd146102fd575b600080fd5b61027d600480360381019061027891906136a1565b61075b565b60405161028a91906144ad565b60405180910390f35b61029b61083d565b6040516102a8919061450d565b60405180910390f35b6102cb60048036038101906102c69190613734565b6108cf565b6040516102d89190614446565b60405180910390f35b6102fb60048036038101906102f69190613665565b610954565b005b610305610a6c565b60405161031291906148cf565b60405180910390f35b610323610a76565b005b61033f600480360381019061033a919061355f565b610b0f565b005b61035b60048036038101906103569190613734565b610b6f565b005b61037760048036038101906103729190613734565b610c46565b005b610393600480360381019061038e9190613734565b610ccc565b005b61039d610e75565b005b6103b960048036038101906103b4919061355f565b610f62565b005b6103c3610f82565b6040516103d091906148cf565b60405180910390f35b6103e1610f88565b6040516103ee91906148cf565b60405180910390f35b6103ff610f8e565b60405161040c91906144ad565b60405180910390f35b61042f600480360381019061042a91906136f3565b610fa1565b005b61044b60048036038101906104469190613734565b61108d565b6040516104589190614446565b60405180910390f35b61047b600480360381019061047691906134fa565b61113f565b60405161048891906148cf565b60405180910390f35b6104996111f7565b005b6104a361127f565b6040516104b091906148cf565b60405180910390f35b6104c1611285565b6040516104ce91906144ad565b60405180910390f35b6104f160048036038101906104ec919061375d565b611298565b005b6104fb611394565b60405161050891906148cf565b60405180910390f35b61052b60048036038101906105269190613734565b61139a565b005b610535611420565b6040516105429190614446565b60405180910390f35b610565600480360381019061056091906134fa565b61144a565b60405161057291906148cf565b60405180910390f35b610583611462565b604051610590919061450d565b60405180910390f35b6105b360048036038101906105ae9190613799565b6114f4565b005b6105cf60048036038101906105ca9190613629565b61185c565b005b6105d9611872565b005b6105e361190b565b6040516105f091906148cf565b60405180910390f35b610613600480360381019061060e91906135ae565b611911565b005b61061d611973565b60405161062a91906148cf565b60405180910390f35b61064d60048036038101906106489190613734565b611979565b60405161065a919061450d565b60405180910390f35b61066b611b0a565b60405161067891906148cf565b60405180910390f35b610689611b10565b60405161069691906148cf565b60405180910390f35b6106b960048036038101906106b491906134fa565b611b16565b005b6106d560048036038101906106d09190613734565b611bd6565b005b6106f160048036038101906106ec9190613523565b611c5c565b6040516106fe91906144ad565b60405180910390f35b610721600480360381019061071c9190613734565b611cf0565b005b61073d600480360381019061073891906136f3565b611deb565b005b610759600480360381019061075491906134fa565b611e81565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061082657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610836575061083582611f79565b5b9050919050565b60606000805461084c90614b46565b80601f016020809104026020016040519081016040528092919081815260200182805461087890614b46565b80156108c55780601f1061089a576101008083540402835291602001916108c5565b820191906000526020600020905b8154815290600101906020018083116108a857829003601f168201915b5050505050905090565b60006108da82611fe3565b610919576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610910906147af565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061095f8261108d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c79061484f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109ef61204f565b73ffffffffffffffffffffffffffffffffffffffff161480610a1e5750610a1d81610a1861204f565b611c5c565b5b610a5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a54906146ef565b60405180910390fd5b610a678383612057565b505050565b6000600854905090565b610a7e61204f565b73ffffffffffffffffffffffffffffffffffffffff16610a9c611420565b73ffffffffffffffffffffffffffffffffffffffff1614610af2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae9906147cf565b60405180910390fd5b6001601360016101000a81548160ff021916908315150217905550565b610b20610b1a61204f565b82612110565b610b5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b569061486f565b60405180910390fd5b610b6a8383836121ee565b505050565b610b7761204f565b73ffffffffffffffffffffffffffffffffffffffff16610b95611420565b73ffffffffffffffffffffffffffffffffffffffff1614610beb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be2906147cf565b60405180910390fd5b60008110158015610bfd575060048111155b610c3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c33906148af565b60405180910390fd5b80600e8190555050565b610c4e61204f565b73ffffffffffffffffffffffffffffffffffffffff16610c6c611420565b73ffffffffffffffffffffffffffffffffffffffff1614610cc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb9906147cf565b60405180910390fd5b8060098190555050565b6004600e5414610d11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d089061454f565b60405180910390fd5b60006008549050600d5482601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d6691906149be565b1115610da7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9e9061488f565b60405180910390fd5b6007548282610db691906149be565b1115610df7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dee9061480f565b60405180910390fd5b81601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610e4691906149be565b925050819055508160086000828254610e5f91906149be565b92505081905550610e7133828461244a565b5050565b610e7d61204f565b73ffffffffffffffffffffffffffffffffffffffff16610e9b611420565b73ffffffffffffffffffffffffffffffffffffffff1614610ef1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee8906147cf565b60405180910390fd5b6000479050601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610f5e573d6000803e3d6000fd5b5050565b610f7d83838360405180602001604052806000815250611911565b505050565b600b5481565b600d5481565b601360009054906101000a900460ff1681565b610fa961204f565b73ffffffffffffffffffffffffffffffffffffffff16610fc7611420565b73ffffffffffffffffffffffffffffffffffffffff161461101d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611014906147cf565b60405180910390fd5b60001515601360019054906101000a900460ff16151514611073576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106a9061456f565b60405180910390fd5b80601190805190602001906110899291906132d4565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611136576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112d9061472f565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a79061470f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6111ff61204f565b73ffffffffffffffffffffffffffffffffffffffff1661121d611420565b73ffffffffffffffffffffffffffffffffffffffff1614611273576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126a906147cf565b60405180910390fd5b61127d6000612483565b565b60085481565b601360019054906101000a900460ff1681565b6112a061204f565b73ffffffffffffffffffffffffffffffffffffffff166112be611420565b73ffffffffffffffffffffffffffffffffffffffff1614611314576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130b906147cf565b60405180910390fd5b60006008549050600754838261132a91906149be565b111561136b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113629061466f565b60405180910390fd5b826008600082825461137d91906149be565b9250508190555061138f82828561244a565b505050565b60095481565b6113a261204f565b73ffffffffffffffffffffffffffffffffffffffff166113c0611420565b73ffffffffffffffffffffffffffffffffffffffff1614611416576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140d906147cf565b60405180910390fd5b80600b8190555050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60146020528060005260406000206000915090505481565b60606001805461147190614b46565b80601f016020809104026020016040519081016040528092919081815260200182805461149d90614b46565b80156114ea5780601f106114bf576101008083540402835291602001916114ea565b820191906000526020600020905b8154815290600101906020018083116114cd57829003601f168201915b5050505050905090565b6000600e5411801561150857506004600e54105b611547576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153e9061478f565b60405180910390fd5b6115b7600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612549565b6115f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ed906146cf565b60405180910390fd5b6000600190506001600e54141561167b576005905060095484600a5461161c91906149be565b111561165d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116549061460f565b60405180910390fd5b83600a600082825461166f91906149be565b925050819055506116f7565b6002600e5414156116f65760029050600b5484600c5461169b91906149be565b11156116dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d39061482f565b60405180910390fd5b83600c60008282546116ee91906149be565b925050819055505b5b600060085490508185601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461174a91906149be565b111561178b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117829061488f565b60405180910390fd5b600754858261179a91906149be565b11156117db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d29061480f565b60405180910390fd5b84601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461182a91906149be565b92505081905550846008600082825461184391906149be565b9250508190555061185533828761244a565b5050505050565b61186e61186761204f565b83836125e2565b5050565b61187a61204f565b73ffffffffffffffffffffffffffffffffffffffff16611898611420565b73ffffffffffffffffffffffffffffffffffffffff16146118ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e5906147cf565b60405180910390fd5b6001601360006101000a81548160ff021916908315150217905550565b600e5481565b61192261191c61204f565b83612110565b611961576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119589061486f565b60405180910390fd5b61196d8484848461274f565b50505050565b600c5481565b606060001515601360009054906101000a900460ff1615151415611a2957601280546119a490614b46565b80601f01602080910402602001604051908101604052809291908181526020018280546119d090614b46565b8015611a1d5780601f106119f257610100808354040283529160200191611a1d565b820191906000526020600020905b815481529060010190602001808311611a0057829003601f168201915b50505050509050611b05565b600060118054611a3890614b46565b80601f0160208091040260200160405190810160405280929190818152602001828054611a6490614b46565b8015611ab15780601f10611a8657610100808354040283529160200191611ab1565b820191906000526020600020905b815481529060010190602001808311611a9457829003601f168201915b505050505090506000815111611ad65760405180602001604052806000815250611b01565b80611ae0846127ab565b604051602001611af19291906143f1565b6040516020818303038152906040525b9150505b919050565b600a5481565b60075481565b611b1e61204f565b73ffffffffffffffffffffffffffffffffffffffff16611b3c611420565b73ffffffffffffffffffffffffffffffffffffffff1614611b92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b89906147cf565b60405180910390fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611bde61204f565b73ffffffffffffffffffffffffffffffffffffffff16611bfc611420565b73ffffffffffffffffffffffffffffffffffffffff1614611c52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c49906147cf565b60405180910390fd5b80600d8190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611cf861204f565b73ffffffffffffffffffffffffffffffffffffffff16611d16611420565b73ffffffffffffffffffffffffffffffffffffffff1614611d6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d63906147cf565b60405180910390fd5b600060085490506007548282611d8291906149be565b1115611dc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dba9061466f565b60405180910390fd5b8160086000828254611dd591906149be565b92505081905550611de733828461244a565b5050565b611df361204f565b73ffffffffffffffffffffffffffffffffffffffff16611e11611420565b73ffffffffffffffffffffffffffffffffffffffff1614611e67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5e906147cf565b60405180910390fd5b8060129080519060200190611e7d9291906132d4565b5050565b611e8961204f565b73ffffffffffffffffffffffffffffffffffffffff16611ea7611420565b73ffffffffffffffffffffffffffffffffffffffff1614611efd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef4906147cf565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f64906145cf565b60405180910390fd5b611f7681612483565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166120ca8361108d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061211b82611fe3565b61215a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612151906146af565b60405180910390fd5b60006121658361108d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806121d457508373ffffffffffffffffffffffffffffffffffffffff166121bc846108cf565b73ffffffffffffffffffffffffffffffffffffffff16145b806121e557506121e48185611c5c565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661220e8261108d565b73ffffffffffffffffffffffffffffffffffffffff1614612264576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225b906147ef565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156122d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122cb9061462f565b60405180910390fd5b6122df838383612958565b6122ea600082612057565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461233a9190614a45565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461239191906149be565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60005b8181101561247d5761246a84828561246591906149be565b61295d565b808061247590614b78565b91505061244d565b50505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080303360405160200161255f9291906143c5565b6040516020818303038152906040528051906020012090506000612594846125868461297b565b6129ab90919063ffffffff16565b90508073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156125d5576001925050506125dc565b6000925050505b92915050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612651576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126489061464f565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161274291906144ad565b60405180910390a3505050565b61275a8484846121ee565b612766848484846129d2565b6127a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279c906145af565b60405180910390fd5b50505050565b606060008214156127f3576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612953565b600082905060005b6000821461282557808061280e90614b78565b915050600a8261281e9190614a14565b91506127fb565b60008167ffffffffffffffff811115612867577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156128995781602001600182028036833780820191505090505b5090505b6000851461294c576001826128b29190614a45565b9150600a856128c19190614bef565b60306128cd91906149be565b60f81b818381518110612909577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129459190614a14565b945061289d565b8093505050505b919050565b505050565b612977828260405180602001604052806000815250612b69565b5050565b60008160405160200161298e9190614420565b604051602081830303815290604052805190602001209050919050565b60008060006129ba8585612bc4565b915091506129c781612c47565b819250505092915050565b60006129f38473ffffffffffffffffffffffffffffffffffffffff16612f98565b15612b5c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a1c61204f565b8786866040518563ffffffff1660e01b8152600401612a3e9493929190614461565b602060405180830381600087803b158015612a5857600080fd5b505af1925050508015612a8957506040513d601f19601f82011682018060405250810190612a8691906136ca565b60015b612b0c573d8060008114612ab9576040519150601f19603f3d011682016040523d82523d6000602084013e612abe565b606091505b50600081511415612b04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612afb906145af565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b61565b600190505b949350505050565b612b738383612fab565b612b8060008484846129d2565b612bbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb6906145af565b60405180910390fd5b505050565b600080604183511415612c065760008060006020860151925060408601519150606086015160001a9050612bfa87828585613179565b94509450505050612c40565b604083511415612c37576000806020850151915060408501519050612c2c868383613286565b935093505050612c40565b60006002915091505b9250929050565b60006004811115612c81577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612cba577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612cc557612f95565b60016004811115612cff577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612d38577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612d79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d709061452f565b60405180910390fd5b60026004811115612db3577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612dec577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612e2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e249061458f565b60405180910390fd5b60036004811115612e67577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612ea0577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612ee1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed89061468f565b60405180910390fd5b600480811115612f1a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612f53577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612f94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f8b9061474f565b60405180910390fd5b5b50565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561301b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130129061476f565b60405180910390fd5b61302481611fe3565b15613064576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161305b906145ef565b60405180910390fd5b61307060008383612958565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130c091906149be565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156131b457600060039150915061327d565b601b8560ff16141580156131cc5750601c8560ff1614155b156131de57600060049150915061327d565b60006001878787876040516000815260200160405260405161320394939291906144c8565b6020604051602081039080840390855afa158015613225573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156132745760006001925092505061327d565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c0190506132c687828885613179565b935093505050935093915050565b8280546132e090614b46565b90600052602060002090601f0160209004810192826133025760008555613349565b82601f1061331b57805160ff1916838001178555613349565b82800160010185558215613349579182015b8281111561334857825182559160200191906001019061332d565b5b509050613356919061335a565b5090565b5b8082111561337357600081600090555060010161335b565b5090565b600061338a6133858461491b565b6148ea565b9050828152602081018484840111156133a257600080fd5b6133ad848285614b04565b509392505050565b60006133c86133c38461494b565b6148ea565b9050828152602081018484840111156133e057600080fd5b6133eb848285614b04565b509392505050565b60008135905061340281614cfa565b92915050565b60008135905061341781614d11565b92915050565b60008135905061342c81614d28565b92915050565b60008151905061344181614d28565b92915050565b60008083601f84011261345957600080fd5b8235905067ffffffffffffffff81111561347257600080fd5b60208301915083600182028301111561348a57600080fd5b9250929050565b600082601f8301126134a257600080fd5b81356134b2848260208601613377565b91505092915050565b600082601f8301126134cc57600080fd5b81356134dc8482602086016133b5565b91505092915050565b6000813590506134f481614d3f565b92915050565b60006020828403121561350c57600080fd5b600061351a848285016133f3565b91505092915050565b6000806040838503121561353657600080fd5b6000613544858286016133f3565b9250506020613555858286016133f3565b9150509250929050565b60008060006060848603121561357457600080fd5b6000613582868287016133f3565b9350506020613593868287016133f3565b92505060406135a4868287016134e5565b9150509250925092565b600080600080608085870312156135c457600080fd5b60006135d2878288016133f3565b94505060206135e3878288016133f3565b93505060406135f4878288016134e5565b925050606085013567ffffffffffffffff81111561361157600080fd5b61361d87828801613491565b91505092959194509250565b6000806040838503121561363c57600080fd5b600061364a858286016133f3565b925050602061365b85828601613408565b9150509250929050565b6000806040838503121561367857600080fd5b6000613686858286016133f3565b9250506020613697858286016134e5565b9150509250929050565b6000602082840312156136b357600080fd5b60006136c18482850161341d565b91505092915050565b6000602082840312156136dc57600080fd5b60006136ea84828501613432565b91505092915050565b60006020828403121561370557600080fd5b600082013567ffffffffffffffff81111561371f57600080fd5b61372b848285016134bb565b91505092915050565b60006020828403121561374657600080fd5b6000613754848285016134e5565b91505092915050565b6000806040838503121561377057600080fd5b600061377e858286016134e5565b925050602061378f858286016133f3565b9150509250929050565b6000806000604084860312156137ae57600080fd5b60006137bc868287016134e5565b935050602084013567ffffffffffffffff8111156137d957600080fd5b6137e586828701613447565b92509250509250925092565b6137fa81614a79565b82525050565b61381161380c82614a79565b614bc1565b82525050565b61382081614a8b565b82525050565b61382f81614a97565b82525050565b61384661384182614a97565b614bd3565b82525050565b60006138578261497b565b6138618185614991565b9350613871818560208601614b13565b61387a81614cdc565b840191505092915050565b600061389082614986565b61389a81856149a2565b93506138aa818560208601614b13565b6138b381614cdc565b840191505092915050565b60006138c982614986565b6138d381856149b3565b93506138e3818560208601614b13565b80840191505092915050565b60006138fc6018836149a2565b91507f45434453413a20696e76616c6964207369676e617475726500000000000000006000830152602082019050919050565b600061393c6021836149a2565b91507f5754463f213f205075626c6963204d696e74206973206e6f742061637469766560008301527f21000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006139a2602d836149a2565b91507f4261736520555249206368616e676520686173206265656e2064697361626c6560008301527f64207065726d616e656e746c79000000000000000000000000000000000000006020830152604082019050919050565b6000613a08601f836149a2565b91507f45434453413a20696e76616c6964207369676e6174757265206c656e677468006000830152602082019050919050565b6000613a48601c836149b3565b91507f19457468657265756d205369676e6564204d6573736167653a0a3332000000006000830152601c82019050919050565b6000613a886032836149a2565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613aee6026836149a2565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b54601c836149a2565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613b94603b836149a2565b91507f55676c794475636b3a20596f752063616e74206d696e742074686174206d616e60008301527f792c207068617365203120737570706c792065786365656465642100000000006020830152604082019050919050565b6000613bfa6024836149a2565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613c606019836149a2565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613ca0602d836149a2565b91507f55676c794475636b3a20596f752063616e2774206d696e74206d6f726520746860008301527f616e206d617820737570706c79000000000000000000000000000000000000006020830152604082019050919050565b6000613d066022836149a2565b91507f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613d6c602c836149a2565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613dd2601b836149a2565b91507f5349474e41545552455f56414c49444154494f4e5f4641494c454400000000006000830152602082019050919050565b6000613e126038836149a2565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613e78602a836149a2565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613ede6029836149a2565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613f446022836149a2565b91507f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613faa6020836149a2565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613fea601d836149a2565b91507f5754463f213f20574c204d696e74206973206e6f7420616374697665210000006000830152602082019050919050565b600061402a602c836149a2565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006140906005836149b3565b91507f2e6a736f6e0000000000000000000000000000000000000000000000000000006000830152600582019050919050565b60006140d06020836149a2565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006141106029836149a2565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006141766039836149a2565b91507f55676c794475636b3a204d696e7420746f6f206c617267652c2065786365656460008301527f696e672074686520636f6c6c656374696f6e20737570706c79000000000000006020830152604082019050919050565b60006141dc603b836149a2565b91507f55676c794475636b3a20596f752063616e74206d696e742074686174206d616e60008301527f792c207068617365203220737570706c792065786365656465642100000000006020830152604082019050919050565b60006142426021836149a2565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006142a86031836149a2565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b600061430e6023836149a2565b91507f55676c794475636b3a20596f752063616e74206d696e742074686174206d616e60008301527f79212e00000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006143746017836149a2565b91507f56616c69642070686173657320617265203020746f20340000000000000000006000830152602082019050919050565b6143b081614aed565b82525050565b6143bf81614af7565b82525050565b60006143d18285613800565b6014820191506143e18284613800565b6014820191508190509392505050565b60006143fd82856138be565b915061440982846138be565b915061441482614083565b91508190509392505050565b600061442b82613a3b565b91506144378284613835565b60208201915081905092915050565b600060208201905061445b60008301846137f1565b92915050565b600060808201905061447660008301876137f1565b61448360208301866137f1565b61449060408301856143a7565b81810360608301526144a2818461384c565b905095945050505050565b60006020820190506144c26000830184613817565b92915050565b60006080820190506144dd6000830187613826565b6144ea60208301866143b6565b6144f76040830185613826565b6145046060830184613826565b95945050505050565b600060208201905081810360008301526145278184613885565b905092915050565b60006020820190508181036000830152614548816138ef565b9050919050565b600060208201905081810360008301526145688161392f565b9050919050565b6000602082019050818103600083015261458881613995565b9050919050565b600060208201905081810360008301526145a8816139fb565b9050919050565b600060208201905081810360008301526145c881613a7b565b9050919050565b600060208201905081810360008301526145e881613ae1565b9050919050565b6000602082019050818103600083015261460881613b47565b9050919050565b6000602082019050818103600083015261462881613b87565b9050919050565b6000602082019050818103600083015261464881613bed565b9050919050565b6000602082019050818103600083015261466881613c53565b9050919050565b6000602082019050818103600083015261468881613c93565b9050919050565b600060208201905081810360008301526146a881613cf9565b9050919050565b600060208201905081810360008301526146c881613d5f565b9050919050565b600060208201905081810360008301526146e881613dc5565b9050919050565b6000602082019050818103600083015261470881613e05565b9050919050565b6000602082019050818103600083015261472881613e6b565b9050919050565b6000602082019050818103600083015261474881613ed1565b9050919050565b6000602082019050818103600083015261476881613f37565b9050919050565b6000602082019050818103600083015261478881613f9d565b9050919050565b600060208201905081810360008301526147a881613fdd565b9050919050565b600060208201905081810360008301526147c88161401d565b9050919050565b600060208201905081810360008301526147e8816140c3565b9050919050565b6000602082019050818103600083015261480881614103565b9050919050565b6000602082019050818103600083015261482881614169565b9050919050565b60006020820190508181036000830152614848816141cf565b9050919050565b6000602082019050818103600083015261486881614235565b9050919050565b600060208201905081810360008301526148888161429b565b9050919050565b600060208201905081810360008301526148a881614301565b9050919050565b600060208201905081810360008301526148c881614367565b9050919050565b60006020820190506148e460008301846143a7565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561491157614910614cad565b5b8060405250919050565b600067ffffffffffffffff82111561493657614935614cad565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff82111561496657614965614cad565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006149c982614aed565b91506149d483614aed565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614a0957614a08614c20565b5b828201905092915050565b6000614a1f82614aed565b9150614a2a83614aed565b925082614a3a57614a39614c4f565b5b828204905092915050565b6000614a5082614aed565b9150614a5b83614aed565b925082821015614a6e57614a6d614c20565b5b828203905092915050565b6000614a8482614acd565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614b31578082015181840152602081019050614b16565b83811115614b40576000848401525b50505050565b60006002820490506001821680614b5e57607f821691505b60208210811415614b7257614b71614c7e565b5b50919050565b6000614b8382614aed565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614bb657614bb5614c20565b5b600182019050919050565b6000614bcc82614bdd565b9050919050565b6000819050919050565b6000614be882614ced565b9050919050565b6000614bfa82614aed565b9150614c0583614aed565b925082614c1557614c14614c4f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b614d0381614a79565b8114614d0e57600080fd5b50565b614d1a81614a8b565b8114614d2557600080fd5b50565b614d3181614aa1565b8114614d3c57600080fd5b50565b614d4881614aed565b8114614d5357600080fd5b5056fea2646970667358221220705aafe43cd720108e4c4b0f9ff8678f1386cde315f066f34ef65b9eed50966864736f6c63430008000033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061025e5760003560e01c80638074be9811610146578063b88d4fde116100c3578063deaa59df11610087578063deaa59df1461069f578063e268e4d3146106bb578063e985e9c5146106d7578063f19e75d414610707578063f2c4ce1e14610723578063f2fde38b1461073f5761025e565b8063b88d4fde146105f9578063c552e03b14610615578063c87b56dd14610633578063d4de7b0f14610663578063d5abeb01146106815761025e565b806395d89b411161010a57806395d89b411461057b5780639e852f7514610599578063a22cb465146105b5578063a475b5dd146105d1578063b1c9fe6e146105db5761025e565b80638074be98146104d7578063812d01c4146104f357806382476d19146105115780638da5cb5b1461052d57806394396a841461054b5761025e565b80633ccfd60b116101df57806355f804b3116101a357806355f804b3146104155780636352211e1461043157806370a0823114610461578063715018a614610491578063771282f61461049b5780637b082610146104b95761025e565b80633ccfd60b1461039557806342842e0e1461039f578063441a9877146103bb578063453c2310146103d957806351830227146103f75761025e565b80631c03ceb5116102265780631c03ceb51461031b57806323b872dd146103255780632cc82655146103415780632d16c6ab1461035d5780632db11544146103795761025e565b806301ffc9a71461026357806306fdde0314610293578063081812fc146102b1578063095ea7b3146102e157806318160ddd146102fd575b600080fd5b61027d600480360381019061027891906136a1565b61075b565b60405161028a91906144ad565b60405180910390f35b61029b61083d565b6040516102a8919061450d565b60405180910390f35b6102cb60048036038101906102c69190613734565b6108cf565b6040516102d89190614446565b60405180910390f35b6102fb60048036038101906102f69190613665565b610954565b005b610305610a6c565b60405161031291906148cf565b60405180910390f35b610323610a76565b005b61033f600480360381019061033a919061355f565b610b0f565b005b61035b60048036038101906103569190613734565b610b6f565b005b61037760048036038101906103729190613734565b610c46565b005b610393600480360381019061038e9190613734565b610ccc565b005b61039d610e75565b005b6103b960048036038101906103b4919061355f565b610f62565b005b6103c3610f82565b6040516103d091906148cf565b60405180910390f35b6103e1610f88565b6040516103ee91906148cf565b60405180910390f35b6103ff610f8e565b60405161040c91906144ad565b60405180910390f35b61042f600480360381019061042a91906136f3565b610fa1565b005b61044b60048036038101906104469190613734565b61108d565b6040516104589190614446565b60405180910390f35b61047b600480360381019061047691906134fa565b61113f565b60405161048891906148cf565b60405180910390f35b6104996111f7565b005b6104a361127f565b6040516104b091906148cf565b60405180910390f35b6104c1611285565b6040516104ce91906144ad565b60405180910390f35b6104f160048036038101906104ec919061375d565b611298565b005b6104fb611394565b60405161050891906148cf565b60405180910390f35b61052b60048036038101906105269190613734565b61139a565b005b610535611420565b6040516105429190614446565b60405180910390f35b610565600480360381019061056091906134fa565b61144a565b60405161057291906148cf565b60405180910390f35b610583611462565b604051610590919061450d565b60405180910390f35b6105b360048036038101906105ae9190613799565b6114f4565b005b6105cf60048036038101906105ca9190613629565b61185c565b005b6105d9611872565b005b6105e361190b565b6040516105f091906148cf565b60405180910390f35b610613600480360381019061060e91906135ae565b611911565b005b61061d611973565b60405161062a91906148cf565b60405180910390f35b61064d60048036038101906106489190613734565b611979565b60405161065a919061450d565b60405180910390f35b61066b611b0a565b60405161067891906148cf565b60405180910390f35b610689611b10565b60405161069691906148cf565b60405180910390f35b6106b960048036038101906106b491906134fa565b611b16565b005b6106d560048036038101906106d09190613734565b611bd6565b005b6106f160048036038101906106ec9190613523565b611c5c565b6040516106fe91906144ad565b60405180910390f35b610721600480360381019061071c9190613734565b611cf0565b005b61073d600480360381019061073891906136f3565b611deb565b005b610759600480360381019061075491906134fa565b611e81565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061082657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610836575061083582611f79565b5b9050919050565b60606000805461084c90614b46565b80601f016020809104026020016040519081016040528092919081815260200182805461087890614b46565b80156108c55780601f1061089a576101008083540402835291602001916108c5565b820191906000526020600020905b8154815290600101906020018083116108a857829003601f168201915b5050505050905090565b60006108da82611fe3565b610919576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610910906147af565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061095f8261108d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c79061484f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109ef61204f565b73ffffffffffffffffffffffffffffffffffffffff161480610a1e5750610a1d81610a1861204f565b611c5c565b5b610a5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a54906146ef565b60405180910390fd5b610a678383612057565b505050565b6000600854905090565b610a7e61204f565b73ffffffffffffffffffffffffffffffffffffffff16610a9c611420565b73ffffffffffffffffffffffffffffffffffffffff1614610af2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae9906147cf565b60405180910390fd5b6001601360016101000a81548160ff021916908315150217905550565b610b20610b1a61204f565b82612110565b610b5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b569061486f565b60405180910390fd5b610b6a8383836121ee565b505050565b610b7761204f565b73ffffffffffffffffffffffffffffffffffffffff16610b95611420565b73ffffffffffffffffffffffffffffffffffffffff1614610beb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be2906147cf565b60405180910390fd5b60008110158015610bfd575060048111155b610c3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c33906148af565b60405180910390fd5b80600e8190555050565b610c4e61204f565b73ffffffffffffffffffffffffffffffffffffffff16610c6c611420565b73ffffffffffffffffffffffffffffffffffffffff1614610cc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb9906147cf565b60405180910390fd5b8060098190555050565b6004600e5414610d11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d089061454f565b60405180910390fd5b60006008549050600d5482601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d6691906149be565b1115610da7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9e9061488f565b60405180910390fd5b6007548282610db691906149be565b1115610df7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dee9061480f565b60405180910390fd5b81601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610e4691906149be565b925050819055508160086000828254610e5f91906149be565b92505081905550610e7133828461244a565b5050565b610e7d61204f565b73ffffffffffffffffffffffffffffffffffffffff16610e9b611420565b73ffffffffffffffffffffffffffffffffffffffff1614610ef1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee8906147cf565b60405180910390fd5b6000479050601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610f5e573d6000803e3d6000fd5b5050565b610f7d83838360405180602001604052806000815250611911565b505050565b600b5481565b600d5481565b601360009054906101000a900460ff1681565b610fa961204f565b73ffffffffffffffffffffffffffffffffffffffff16610fc7611420565b73ffffffffffffffffffffffffffffffffffffffff161461101d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611014906147cf565b60405180910390fd5b60001515601360019054906101000a900460ff16151514611073576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106a9061456f565b60405180910390fd5b80601190805190602001906110899291906132d4565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611136576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112d9061472f565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a79061470f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6111ff61204f565b73ffffffffffffffffffffffffffffffffffffffff1661121d611420565b73ffffffffffffffffffffffffffffffffffffffff1614611273576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126a906147cf565b60405180910390fd5b61127d6000612483565b565b60085481565b601360019054906101000a900460ff1681565b6112a061204f565b73ffffffffffffffffffffffffffffffffffffffff166112be611420565b73ffffffffffffffffffffffffffffffffffffffff1614611314576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130b906147cf565b60405180910390fd5b60006008549050600754838261132a91906149be565b111561136b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113629061466f565b60405180910390fd5b826008600082825461137d91906149be565b9250508190555061138f82828561244a565b505050565b60095481565b6113a261204f565b73ffffffffffffffffffffffffffffffffffffffff166113c0611420565b73ffffffffffffffffffffffffffffffffffffffff1614611416576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140d906147cf565b60405180910390fd5b80600b8190555050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60146020528060005260406000206000915090505481565b60606001805461147190614b46565b80601f016020809104026020016040519081016040528092919081815260200182805461149d90614b46565b80156114ea5780601f106114bf576101008083540402835291602001916114ea565b820191906000526020600020905b8154815290600101906020018083116114cd57829003601f168201915b5050505050905090565b6000600e5411801561150857506004600e54105b611547576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153e9061478f565b60405180910390fd5b6115b7600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612549565b6115f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ed906146cf565b60405180910390fd5b6000600190506001600e54141561167b576005905060095484600a5461161c91906149be565b111561165d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116549061460f565b60405180910390fd5b83600a600082825461166f91906149be565b925050819055506116f7565b6002600e5414156116f65760029050600b5484600c5461169b91906149be565b11156116dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d39061482f565b60405180910390fd5b83600c60008282546116ee91906149be565b925050819055505b5b600060085490508185601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461174a91906149be565b111561178b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117829061488f565b60405180910390fd5b600754858261179a91906149be565b11156117db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d29061480f565b60405180910390fd5b84601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461182a91906149be565b92505081905550846008600082825461184391906149be565b9250508190555061185533828761244a565b5050505050565b61186e61186761204f565b83836125e2565b5050565b61187a61204f565b73ffffffffffffffffffffffffffffffffffffffff16611898611420565b73ffffffffffffffffffffffffffffffffffffffff16146118ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e5906147cf565b60405180910390fd5b6001601360006101000a81548160ff021916908315150217905550565b600e5481565b61192261191c61204f565b83612110565b611961576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119589061486f565b60405180910390fd5b61196d8484848461274f565b50505050565b600c5481565b606060001515601360009054906101000a900460ff1615151415611a2957601280546119a490614b46565b80601f01602080910402602001604051908101604052809291908181526020018280546119d090614b46565b8015611a1d5780601f106119f257610100808354040283529160200191611a1d565b820191906000526020600020905b815481529060010190602001808311611a0057829003601f168201915b50505050509050611b05565b600060118054611a3890614b46565b80601f0160208091040260200160405190810160405280929190818152602001828054611a6490614b46565b8015611ab15780601f10611a8657610100808354040283529160200191611ab1565b820191906000526020600020905b815481529060010190602001808311611a9457829003601f168201915b505050505090506000815111611ad65760405180602001604052806000815250611b01565b80611ae0846127ab565b604051602001611af19291906143f1565b6040516020818303038152906040525b9150505b919050565b600a5481565b60075481565b611b1e61204f565b73ffffffffffffffffffffffffffffffffffffffff16611b3c611420565b73ffffffffffffffffffffffffffffffffffffffff1614611b92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b89906147cf565b60405180910390fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611bde61204f565b73ffffffffffffffffffffffffffffffffffffffff16611bfc611420565b73ffffffffffffffffffffffffffffffffffffffff1614611c52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c49906147cf565b60405180910390fd5b80600d8190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611cf861204f565b73ffffffffffffffffffffffffffffffffffffffff16611d16611420565b73ffffffffffffffffffffffffffffffffffffffff1614611d6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d63906147cf565b60405180910390fd5b600060085490506007548282611d8291906149be565b1115611dc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dba9061466f565b60405180910390fd5b8160086000828254611dd591906149be565b92505081905550611de733828461244a565b5050565b611df361204f565b73ffffffffffffffffffffffffffffffffffffffff16611e11611420565b73ffffffffffffffffffffffffffffffffffffffff1614611e67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5e906147cf565b60405180910390fd5b8060129080519060200190611e7d9291906132d4565b5050565b611e8961204f565b73ffffffffffffffffffffffffffffffffffffffff16611ea7611420565b73ffffffffffffffffffffffffffffffffffffffff1614611efd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef4906147cf565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f64906145cf565b60405180910390fd5b611f7681612483565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166120ca8361108d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061211b82611fe3565b61215a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612151906146af565b60405180910390fd5b60006121658361108d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806121d457508373ffffffffffffffffffffffffffffffffffffffff166121bc846108cf565b73ffffffffffffffffffffffffffffffffffffffff16145b806121e557506121e48185611c5c565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661220e8261108d565b73ffffffffffffffffffffffffffffffffffffffff1614612264576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225b906147ef565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156122d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122cb9061462f565b60405180910390fd5b6122df838383612958565b6122ea600082612057565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461233a9190614a45565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461239191906149be565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60005b8181101561247d5761246a84828561246591906149be565b61295d565b808061247590614b78565b91505061244d565b50505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080303360405160200161255f9291906143c5565b6040516020818303038152906040528051906020012090506000612594846125868461297b565b6129ab90919063ffffffff16565b90508073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156125d5576001925050506125dc565b6000925050505b92915050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612651576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126489061464f565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161274291906144ad565b60405180910390a3505050565b61275a8484846121ee565b612766848484846129d2565b6127a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279c906145af565b60405180910390fd5b50505050565b606060008214156127f3576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612953565b600082905060005b6000821461282557808061280e90614b78565b915050600a8261281e9190614a14565b91506127fb565b60008167ffffffffffffffff811115612867577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156128995781602001600182028036833780820191505090505b5090505b6000851461294c576001826128b29190614a45565b9150600a856128c19190614bef565b60306128cd91906149be565b60f81b818381518110612909577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129459190614a14565b945061289d565b8093505050505b919050565b505050565b612977828260405180602001604052806000815250612b69565b5050565b60008160405160200161298e9190614420565b604051602081830303815290604052805190602001209050919050565b60008060006129ba8585612bc4565b915091506129c781612c47565b819250505092915050565b60006129f38473ffffffffffffffffffffffffffffffffffffffff16612f98565b15612b5c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a1c61204f565b8786866040518563ffffffff1660e01b8152600401612a3e9493929190614461565b602060405180830381600087803b158015612a5857600080fd5b505af1925050508015612a8957506040513d601f19601f82011682018060405250810190612a8691906136ca565b60015b612b0c573d8060008114612ab9576040519150601f19603f3d011682016040523d82523d6000602084013e612abe565b606091505b50600081511415612b04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612afb906145af565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b61565b600190505b949350505050565b612b738383612fab565b612b8060008484846129d2565b612bbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb6906145af565b60405180910390fd5b505050565b600080604183511415612c065760008060006020860151925060408601519150606086015160001a9050612bfa87828585613179565b94509450505050612c40565b604083511415612c37576000806020850151915060408501519050612c2c868383613286565b935093505050612c40565b60006002915091505b9250929050565b60006004811115612c81577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612cba577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612cc557612f95565b60016004811115612cff577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612d38577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612d79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d709061452f565b60405180910390fd5b60026004811115612db3577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612dec577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612e2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e249061458f565b60405180910390fd5b60036004811115612e67577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612ea0577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612ee1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed89061468f565b60405180910390fd5b600480811115612f1a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612f53577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612f94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f8b9061474f565b60405180910390fd5b5b50565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561301b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130129061476f565b60405180910390fd5b61302481611fe3565b15613064576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161305b906145ef565b60405180910390fd5b61307060008383612958565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130c091906149be565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156131b457600060039150915061327d565b601b8560ff16141580156131cc5750601c8560ff1614155b156131de57600060049150915061327d565b60006001878787876040516000815260200160405260405161320394939291906144c8565b6020604051602081039080840390855afa158015613225573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156132745760006001925092505061327d565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c0190506132c687828885613179565b935093505050935093915050565b8280546132e090614b46565b90600052602060002090601f0160209004810192826133025760008555613349565b82601f1061331b57805160ff1916838001178555613349565b82800160010185558215613349579182015b8281111561334857825182559160200191906001019061332d565b5b509050613356919061335a565b5090565b5b8082111561337357600081600090555060010161335b565b5090565b600061338a6133858461491b565b6148ea565b9050828152602081018484840111156133a257600080fd5b6133ad848285614b04565b509392505050565b60006133c86133c38461494b565b6148ea565b9050828152602081018484840111156133e057600080fd5b6133eb848285614b04565b509392505050565b60008135905061340281614cfa565b92915050565b60008135905061341781614d11565b92915050565b60008135905061342c81614d28565b92915050565b60008151905061344181614d28565b92915050565b60008083601f84011261345957600080fd5b8235905067ffffffffffffffff81111561347257600080fd5b60208301915083600182028301111561348a57600080fd5b9250929050565b600082601f8301126134a257600080fd5b81356134b2848260208601613377565b91505092915050565b600082601f8301126134cc57600080fd5b81356134dc8482602086016133b5565b91505092915050565b6000813590506134f481614d3f565b92915050565b60006020828403121561350c57600080fd5b600061351a848285016133f3565b91505092915050565b6000806040838503121561353657600080fd5b6000613544858286016133f3565b9250506020613555858286016133f3565b9150509250929050565b60008060006060848603121561357457600080fd5b6000613582868287016133f3565b9350506020613593868287016133f3565b92505060406135a4868287016134e5565b9150509250925092565b600080600080608085870312156135c457600080fd5b60006135d2878288016133f3565b94505060206135e3878288016133f3565b93505060406135f4878288016134e5565b925050606085013567ffffffffffffffff81111561361157600080fd5b61361d87828801613491565b91505092959194509250565b6000806040838503121561363c57600080fd5b600061364a858286016133f3565b925050602061365b85828601613408565b9150509250929050565b6000806040838503121561367857600080fd5b6000613686858286016133f3565b9250506020613697858286016134e5565b9150509250929050565b6000602082840312156136b357600080fd5b60006136c18482850161341d565b91505092915050565b6000602082840312156136dc57600080fd5b60006136ea84828501613432565b91505092915050565b60006020828403121561370557600080fd5b600082013567ffffffffffffffff81111561371f57600080fd5b61372b848285016134bb565b91505092915050565b60006020828403121561374657600080fd5b6000613754848285016134e5565b91505092915050565b6000806040838503121561377057600080fd5b600061377e858286016134e5565b925050602061378f858286016133f3565b9150509250929050565b6000806000604084860312156137ae57600080fd5b60006137bc868287016134e5565b935050602084013567ffffffffffffffff8111156137d957600080fd5b6137e586828701613447565b92509250509250925092565b6137fa81614a79565b82525050565b61381161380c82614a79565b614bc1565b82525050565b61382081614a8b565b82525050565b61382f81614a97565b82525050565b61384661384182614a97565b614bd3565b82525050565b60006138578261497b565b6138618185614991565b9350613871818560208601614b13565b61387a81614cdc565b840191505092915050565b600061389082614986565b61389a81856149a2565b93506138aa818560208601614b13565b6138b381614cdc565b840191505092915050565b60006138c982614986565b6138d381856149b3565b93506138e3818560208601614b13565b80840191505092915050565b60006138fc6018836149a2565b91507f45434453413a20696e76616c6964207369676e617475726500000000000000006000830152602082019050919050565b600061393c6021836149a2565b91507f5754463f213f205075626c6963204d696e74206973206e6f742061637469766560008301527f21000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006139a2602d836149a2565b91507f4261736520555249206368616e676520686173206265656e2064697361626c6560008301527f64207065726d616e656e746c79000000000000000000000000000000000000006020830152604082019050919050565b6000613a08601f836149a2565b91507f45434453413a20696e76616c6964207369676e6174757265206c656e677468006000830152602082019050919050565b6000613a48601c836149b3565b91507f19457468657265756d205369676e6564204d6573736167653a0a3332000000006000830152601c82019050919050565b6000613a886032836149a2565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613aee6026836149a2565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b54601c836149a2565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613b94603b836149a2565b91507f55676c794475636b3a20596f752063616e74206d696e742074686174206d616e60008301527f792c207068617365203120737570706c792065786365656465642100000000006020830152604082019050919050565b6000613bfa6024836149a2565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613c606019836149a2565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613ca0602d836149a2565b91507f55676c794475636b3a20596f752063616e2774206d696e74206d6f726520746860008301527f616e206d617820737570706c79000000000000000000000000000000000000006020830152604082019050919050565b6000613d066022836149a2565b91507f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613d6c602c836149a2565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613dd2601b836149a2565b91507f5349474e41545552455f56414c49444154494f4e5f4641494c454400000000006000830152602082019050919050565b6000613e126038836149a2565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613e78602a836149a2565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613ede6029836149a2565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613f446022836149a2565b91507f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613faa6020836149a2565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613fea601d836149a2565b91507f5754463f213f20574c204d696e74206973206e6f7420616374697665210000006000830152602082019050919050565b600061402a602c836149a2565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006140906005836149b3565b91507f2e6a736f6e0000000000000000000000000000000000000000000000000000006000830152600582019050919050565b60006140d06020836149a2565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006141106029836149a2565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006141766039836149a2565b91507f55676c794475636b3a204d696e7420746f6f206c617267652c2065786365656460008301527f696e672074686520636f6c6c656374696f6e20737570706c79000000000000006020830152604082019050919050565b60006141dc603b836149a2565b91507f55676c794475636b3a20596f752063616e74206d696e742074686174206d616e60008301527f792c207068617365203220737570706c792065786365656465642100000000006020830152604082019050919050565b60006142426021836149a2565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006142a86031836149a2565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b600061430e6023836149a2565b91507f55676c794475636b3a20596f752063616e74206d696e742074686174206d616e60008301527f79212e00000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006143746017836149a2565b91507f56616c69642070686173657320617265203020746f20340000000000000000006000830152602082019050919050565b6143b081614aed565b82525050565b6143bf81614af7565b82525050565b60006143d18285613800565b6014820191506143e18284613800565b6014820191508190509392505050565b60006143fd82856138be565b915061440982846138be565b915061441482614083565b91508190509392505050565b600061442b82613a3b565b91506144378284613835565b60208201915081905092915050565b600060208201905061445b60008301846137f1565b92915050565b600060808201905061447660008301876137f1565b61448360208301866137f1565b61449060408301856143a7565b81810360608301526144a2818461384c565b905095945050505050565b60006020820190506144c26000830184613817565b92915050565b60006080820190506144dd6000830187613826565b6144ea60208301866143b6565b6144f76040830185613826565b6145046060830184613826565b95945050505050565b600060208201905081810360008301526145278184613885565b905092915050565b60006020820190508181036000830152614548816138ef565b9050919050565b600060208201905081810360008301526145688161392f565b9050919050565b6000602082019050818103600083015261458881613995565b9050919050565b600060208201905081810360008301526145a8816139fb565b9050919050565b600060208201905081810360008301526145c881613a7b565b9050919050565b600060208201905081810360008301526145e881613ae1565b9050919050565b6000602082019050818103600083015261460881613b47565b9050919050565b6000602082019050818103600083015261462881613b87565b9050919050565b6000602082019050818103600083015261464881613bed565b9050919050565b6000602082019050818103600083015261466881613c53565b9050919050565b6000602082019050818103600083015261468881613c93565b9050919050565b600060208201905081810360008301526146a881613cf9565b9050919050565b600060208201905081810360008301526146c881613d5f565b9050919050565b600060208201905081810360008301526146e881613dc5565b9050919050565b6000602082019050818103600083015261470881613e05565b9050919050565b6000602082019050818103600083015261472881613e6b565b9050919050565b6000602082019050818103600083015261474881613ed1565b9050919050565b6000602082019050818103600083015261476881613f37565b9050919050565b6000602082019050818103600083015261478881613f9d565b9050919050565b600060208201905081810360008301526147a881613fdd565b9050919050565b600060208201905081810360008301526147c88161401d565b9050919050565b600060208201905081810360008301526147e8816140c3565b9050919050565b6000602082019050818103600083015261480881614103565b9050919050565b6000602082019050818103600083015261482881614169565b9050919050565b60006020820190508181036000830152614848816141cf565b9050919050565b6000602082019050818103600083015261486881614235565b9050919050565b600060208201905081810360008301526148888161429b565b9050919050565b600060208201905081810360008301526148a881614301565b9050919050565b600060208201905081810360008301526148c881614367565b9050919050565b60006020820190506148e460008301846143a7565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561491157614910614cad565b5b8060405250919050565b600067ffffffffffffffff82111561493657614935614cad565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff82111561496657614965614cad565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006149c982614aed565b91506149d483614aed565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614a0957614a08614c20565b5b828201905092915050565b6000614a1f82614aed565b9150614a2a83614aed565b925082614a3a57614a39614c4f565b5b828204905092915050565b6000614a5082614aed565b9150614a5b83614aed565b925082821015614a6e57614a6d614c20565b5b828203905092915050565b6000614a8482614acd565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614b31578082015181840152602081019050614b16565b83811115614b40576000848401525b50505050565b60006002820490506001821680614b5e57607f821691505b60208210811415614b7257614b71614c7e565b5b50919050565b6000614b8382614aed565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614bb657614bb5614c20565b5b600182019050919050565b6000614bcc82614bdd565b9050919050565b6000819050919050565b6000614be882614ced565b9050919050565b6000614bfa82614aed565b9150614c0583614aed565b925082614c1557614c14614c4f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b614d0381614a79565b8114614d0e57600080fd5b50565b614d1a81614a8b565b8114614d2557600080fd5b50565b614d3181614aa1565b8114614d3c57600080fd5b50565b614d4881614aed565b8114614d5357600080fd5b5056fea2646970667358221220705aafe43cd720108e4c4b0f9ff8678f1386cde315f066f34ef65b9eed50966864736f6c63430008000033

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.