ETH Price: $3,386.74 (+1.42%)

Token

Alltherest (ATR)
 

Overview

Max Total Supply

1,000 ATR

Holders

735

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
0 ATR
0xb5fba388ebd51b82b92bb66721f8c55b87f67509
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:
Alltherest

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : Alltherest.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.6;

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

/**
 * @title Alltherest
 */
contract Alltherest is ERC721, Ownable {
    using Counters for Counters.Counter;
    bool public whitelist_active = false;
    bool public mint_active = false;
    Counters.Counter private _tokenIdCounter;
    uint256 public HARD_CAP = 1000;
    bytes32 public MERKLE_ROOT;
    bool public is_collection_locked = false;
    string public contract_base_uri;
    mapping(uint256 => string) public selfie;
    mapping(address => uint256) public minted;

    constructor(
        string memory _name,
        string memory _ticker
    ) ERC721(_name, _ticker) {}

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

    function totalSupply() public view returns (uint256) {
        return _tokenIdCounter.current();
    }

    function tokenURI(uint256 _tokenId)
        public
        view
        override(ERC721)
        returns (string memory)
    {
        string memory _tknId = Strings.toString(_tokenId);
        return string(abi.encodePacked(contract_base_uri, _tknId, ".json"));
    }

    function tokensOfOwner(address _owner)
        external
        view
        returns (uint256[] memory ownerTokens)
    {
        uint256 tokenCount = balanceOf(_owner);
        if (tokenCount == 0) {
            // Return an empty array
            return new uint256[](0);
        } else {
            uint256[] memory result = new uint256[](tokenCount);
            uint256 totalTkns = totalSupply();
            uint256 resultIndex = 0;
            uint256 tnkId;

            for (tnkId = 1; tnkId <= totalTkns; tnkId++) {
                if (ownerOf(tnkId) == _owner) {
                    result[resultIndex] = tnkId;
                    resultIndex++;
                }
            }

            return result;
        }
    }

    function fixBaseURI(string memory _newURI) public onlyOwner {
        require(!is_collection_locked, "Collection locked");
        contract_base_uri = _newURI;
    }

    /*
        This method will allow owner lock the collection
    */
    function lockCollection() public onlyOwner {
        is_collection_locked = true;
    }

    /*
        This method will allow owner to change states
    */
    function fixStates(uint8 what, bool newState) external onlyOwner {
        if (what == 1) {
            mint_active = newState;
        } else if (what == 2) {
            whitelist_active = newState;
        }
    }

    /*
        This method will allow owner to set the merkle root
    */
    function fixMerkleRoot(bytes32 root) external onlyOwner {
        MERKLE_ROOT = root;
    }

    /*
        This method will return the whitelisting state for a proof
    */
    function isWhitelisted(bytes32[] calldata _merkleProof, address _address)
        public
        view
        returns (bool)
    {
        bytes32 leaf = keccak256(abi.encodePacked(_address));
        bool whitelisted = MerkleProof.verify(_merkleProof, MERKLE_ROOT, leaf);
        return whitelisted;
    }

    /*
        This method will allow users to mint the nft
    */
    function mintNFT(bytes32[] calldata _merkleProof, string memory _selfie)
        public
    {
        bool canMint = mint_active;
        if (mint_active && whitelist_active) {
            bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
            canMint = MerkleProof.verify(_merkleProof, MERKLE_ROOT, leaf);
        }
        require(
            totalSupply() < HARD_CAP &&
                minted[msg.sender] == 0 &&
                canMint,
            "Can't mint"
        );
        _tokenIdCounter.increment();
        uint256 nextId = _tokenIdCounter.current();
        _mint(msg.sender, nextId);
        selfie[nextId] = _selfie;
        minted[msg.sender] = nextId;
    }
}

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

        _afterTokenTransfer(address(0), to, tokenId);
    }

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

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

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

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

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

        _afterTokenTransfer(owner, address(0), tokenId);
    }

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

File 3 of 13 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 4 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 5 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 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 : 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 8 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 9 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 10 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 11 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 12 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 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"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_ticker","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"HARD_CAP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MERKLE_ROOT","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contract_base_uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_newURI","type":"string"}],"name":"fixBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"fixMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"what","type":"uint8"},{"internalType":"bool","name":"newState","type":"bool"}],"name":"fixStates","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":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"address","name":"_address","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"is_collection_locked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockCollection","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"string","name":"_selfie","type":"string"}],"name":"mintNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mint_active","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minted","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":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"selfie","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"ownerTokens","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelist_active","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60806040526000600660146101000a81548160ff0219169083151502179055506000600660156101000a81548160ff0219169083151502179055506103e86008556000600a60006101000a81548160ff0219169083151502179055503480156200006857600080fd5b50604051620041543803806200415483398181016040528101906200008e9190620002e8565b81818160009080519060200190620000a8929190620001ba565b508060019080519060200190620000c1929190620001ba565b505050620000e4620000d8620000ec60201b60201c565b620000f460201b60201c565b5050620004f1565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001c89062000402565b90600052602060002090601f016020900481019282620001ec576000855562000238565b82601f106200020757805160ff191683800117855562000238565b8280016001018555821562000238579182015b82811115620002375782518255916020019190600101906200021a565b5b5090506200024791906200024b565b5090565b5b80821115620002665760008160009055506001016200024c565b5090565b6000620002816200027b8462000396565b6200036d565b905082815260208101848484011115620002a0576200029f620004d1565b5b620002ad848285620003cc565b509392505050565b600082601f830112620002cd57620002cc620004cc565b5b8151620002df8482602086016200026a565b91505092915050565b60008060408385031215620003025762000301620004db565b5b600083015167ffffffffffffffff811115620003235762000322620004d6565b5b6200033185828601620002b5565b925050602083015167ffffffffffffffff811115620003555762000354620004d6565b5b6200036385828601620002b5565b9150509250929050565b6000620003796200038c565b905062000387828262000438565b919050565b6000604051905090565b600067ffffffffffffffff821115620003b457620003b36200049d565b5b620003bf82620004e0565b9050602081019050919050565b60005b83811015620003ec578082015181840152602081019050620003cf565b83811115620003fc576000848401525b50505050565b600060028204905060018216806200041b57607f821691505b602082108114156200043257620004316200046e565b5b50919050565b6200044382620004e0565b810181811067ffffffffffffffff821117156200046557620004646200049d565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b613c5380620005016000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c806361ad20571161010f57806395d89b41116100a2578063debefaa611610071578063debefaa614610581578063e36994a1146105b1578063e985e9c5146105e1578063f2fde38b14610611576101f0565b806395d89b41146104fb578063a22cb46514610519578063b88d4fde14610535578063c87b56dd14610551576101f0565b8063738b6d63116100de578063738b6d63146104735780638462151c1461048f5780638b22f341146104bf5780638da5cb5b146104dd576101f0565b806361ad2057146103eb5780636352211e1461040957806370a0823114610439578063715018a614610469576101f0565b8063211eb07d1161018757806342842e0e1161015657806342842e0e1461037757806347d0c9301461039357806351e75e8b146103af5780635452568c146103cd576101f0565b8063211eb07d1461030557806323b872dd146103215780633a03171c1461033d5780633cfbec5c1461035b576101f0565b80630ee83a71116101c35780630ee83a711461028f5780631036b3c51461029957806318160ddd146102b75780631e7269c5146102d5576101f0565b806301ffc9a7146101f557806306fdde0314610225578063081812fc14610243578063095ea7b314610273575b600080fd5b61020f600480360381019061020a9190612961565b61062d565b60405161021c9190612fb4565b60405180910390f35b61022d61070f565b60405161023a9190612fea565b60405180910390f35b61025d60048036038101906102589190612a04565b6107a1565b60405161026a9190612f2b565b60405180910390f35b61028d60048036038101906102889190612818565b610826565b005b61029761093e565b005b6102a16109d7565b6040516102ae9190612fb4565b60405180910390f35b6102bf6109ea565b6040516102cc919061322c565b60405180910390f35b6102ef60048036038101906102ea9190612695565b6109fb565b6040516102fc919061322c565b60405180910390f35b61031f600480360381019061031a91906129bb565b610a13565b005b61033b60048036038101906103369190612702565b610af9565b005b610345610b59565b604051610352919061322c565b60405180910390f35b61037560048036038101906103709190612a31565b610b5f565b005b610391600480360381019061038c9190612702565b610c32565b005b6103ad60048036038101906103a89190612934565b610c52565b005b6103b7610cd8565b6040516103c49190612fcf565b60405180910390f35b6103d5610cde565b6040516103e29190612fb4565b60405180910390f35b6103f3610cf1565b6040516104009190612fea565b60405180910390f35b610423600480360381019061041e9190612a04565b610d7f565b6040516104309190612f2b565b60405180910390f35b610453600480360381019061044e9190612695565b610e31565b604051610460919061322c565b60405180910390f35b610471610ee9565b005b61048d600480360381019061048891906128b8565b610f71565b005b6104a960048036038101906104a49190612695565b611163565b6040516104b69190612f92565b60405180910390f35b6104c76112c1565b6040516104d49190612fb4565b60405180910390f35b6104e56112d4565b6040516104f29190612f2b565b60405180910390f35b6105036112fe565b6040516105109190612fea565b60405180910390f35b610533600480360381019061052e91906127d8565b611390565b005b61054f600480360381019061054a9190612755565b6113a6565b005b61056b60048036038101906105669190612a04565b611408565b6040516105789190612fea565b60405180910390f35b61059b60048036038101906105969190612858565b611442565b6040516105a89190612fb4565b60405180910390f35b6105cb60048036038101906105c69190612a04565b6114cc565b6040516105d89190612fea565b60405180910390f35b6105fb60048036038101906105f691906126c2565b61156c565b6040516106089190612fb4565b60405180910390f35b61062b60048036038101906106269190612695565b611600565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106f857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107085750610707826116f8565b5b9050919050565b60606000805461071e906134e7565b80601f016020809104026020016040519081016040528092919081815260200182805461074a906134e7565b80156107975780601f1061076c57610100808354040283529160200191610797565b820191906000526020600020905b81548152906001019060200180831161077a57829003601f168201915b5050505050905090565b60006107ac82611762565b6107eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e2906131ac565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061083182610d7f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610899906131ec565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108c16117ce565b73ffffffffffffffffffffffffffffffffffffffff1614806108f057506108ef816108ea6117ce565b61156c565b5b61092f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109269061312c565b60405180910390fd5b61093983836117d6565b505050565b6109466117ce565b73ffffffffffffffffffffffffffffffffffffffff166109646112d4565b73ffffffffffffffffffffffffffffffffffffffff16146109ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b1906131cc565b60405180910390fd5b6001600a60006101000a81548160ff021916908315150217905550565b600660149054906101000a900460ff1681565b60006109f6600761188f565b905090565b600d6020528060005260406000206000915090505481565b610a1b6117ce565b73ffffffffffffffffffffffffffffffffffffffff16610a396112d4565b73ffffffffffffffffffffffffffffffffffffffff1614610a8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a86906131cc565b60405180910390fd5b600a60009054906101000a900460ff1615610adf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad69061300c565b60405180910390fd5b80600b9080519060200190610af5929190612429565b5050565b610b0a610b046117ce565b8261189d565b610b49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b409061320c565b60405180910390fd5b610b5483838361197b565b505050565b60085481565b610b676117ce565b73ffffffffffffffffffffffffffffffffffffffff16610b856112d4565b73ffffffffffffffffffffffffffffffffffffffff1614610bdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd2906131cc565b60405180910390fd5b60018260ff161415610c065780600660156101000a81548160ff021916908315150217905550610c2e565b60028260ff161415610c2d5780600660146101000a81548160ff0219169083151502179055505b5b5050565b610c4d838383604051806020016040528060008152506113a6565b505050565b610c5a6117ce565b73ffffffffffffffffffffffffffffffffffffffff16610c786112d4565b73ffffffffffffffffffffffffffffffffffffffff1614610cce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc5906131cc565b60405180910390fd5b8060098190555050565b60095481565b600660159054906101000a900460ff1681565b600b8054610cfe906134e7565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2a906134e7565b8015610d775780601f10610d4c57610100808354040283529160200191610d77565b820191906000526020600020905b815481529060010190602001808311610d5a57829003601f168201915b505050505081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1f9061316c565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ea2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e999061314c565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610ef16117ce565b73ffffffffffffffffffffffffffffffffffffffff16610f0f6112d4565b73ffffffffffffffffffffffffffffffffffffffff1614610f65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5c906131cc565b60405180910390fd5b610f6f6000611be2565b565b6000600660159054906101000a900460ff169050600660159054906101000a900460ff168015610fad5750600660149054906101000a900460ff165b1561102f57600033604051602001610fc59190612ee1565b60405160208183030381529060405280519060200120905061102b858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060095483611ca8565b9150505b60085461103a6109ea565b10801561108657506000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054145b801561108f5750805b6110ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c59061302c565b60405180910390fd5b6110d86007611cbf565b60006110e4600761188f565b90506110f03382611cd5565b82600c60008381526020019081526020016000209080519060200190611117929190612429565b5080600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050505050565b6060600061117083610e31565b905060008114156111cd57600067ffffffffffffffff811115611196576111956136a4565b5b6040519080825280602002602001820160405280156111c45781602001602082028036833780820191505090505b509150506112bc565b60008167ffffffffffffffff8111156111e9576111e86136a4565b5b6040519080825280602002602001820160405280156112175781602001602082028036833780820191505090505b50905060006112246109ea565b9050600080600190505b8281116112b3578673ffffffffffffffffffffffffffffffffffffffff1661125582610d7f565b73ffffffffffffffffffffffffffffffffffffffff1614156112a0578084838151811061128557611284613675565b5b602002602001018181525050818061129c9061354a565b9250505b80806112ab9061354a565b91505061122e565b83955050505050505b919050565b600a60009054906101000a900460ff1681565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461130d906134e7565b80601f0160208091040260200160405190810160405280929190818152602001828054611339906134e7565b80156113865780601f1061135b57610100808354040283529160200191611386565b820191906000526020600020905b81548152906001019060200180831161136957829003601f168201915b5050505050905090565b6113a261139b6117ce565b8383611eaf565b5050565b6113b76113b16117ce565b8361189d565b6113f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ed9061320c565b60405180910390fd5b6114028484848461201c565b50505050565b6060600061141583612078565b9050600b8160405160200161142b929190612efc565b604051602081830303815290604052915050919050565b600080826040516020016114569190612ee1565b60405160208183030381529060405280519060200120905060006114be868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060095484611ca8565b905080925050509392505050565b600c60205280600052604060002060009150905080546114eb906134e7565b80601f0160208091040260200160405190810160405280929190818152602001828054611517906134e7565b80156115645780601f1061153957610100808354040283529160200191611564565b820191906000526020600020905b81548152906001019060200180831161154757829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6116086117ce565b73ffffffffffffffffffffffffffffffffffffffff166116266112d4565b73ffffffffffffffffffffffffffffffffffffffff161461167c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611673906131cc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e39061306c565b60405180910390fd5b6116f581611be2565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661184983610d7f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b60006118a882611762565b6118e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118de9061310c565b60405180910390fd5b60006118f283610d7f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061196157508373ffffffffffffffffffffffffffffffffffffffff16611949846107a1565b73ffffffffffffffffffffffffffffffffffffffff16145b806119725750611971818561156c565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661199b82610d7f565b73ffffffffffffffffffffffffffffffffffffffff16146119f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e89061308c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a58906130cc565b60405180910390fd5b611a6c8383836121d9565b611a776000826117d6565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ac791906133e6565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b1e919061335f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611bdd8383836121de565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600082611cb585846121e3565b1490509392505050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3c9061318c565b60405180910390fd5b611d4e81611762565b15611d8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d85906130ac565b60405180910390fd5b611d9a600083836121d9565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611dea919061335f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611eab600083836121de565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611f1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f15906130ec565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161200f9190612fb4565b60405180910390a3505050565b61202784848461197b565b61203384848484612258565b612072576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120699061304c565b60405180910390fd5b50505050565b606060008214156120c0576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506121d4565b600082905060005b600082146120f25780806120db9061354a565b915050600a826120eb91906133b5565b91506120c8565b60008167ffffffffffffffff81111561210e5761210d6136a4565b5b6040519080825280601f01601f1916602001820160405280156121405781602001600182028036833780820191505090505b5090505b600085146121cd5760018261215991906133e6565b9150600a8561216891906135b7565b6030612174919061335f565b60f81b81838151811061218a57612189613675565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856121c691906133b5565b9450612144565b8093505050505b919050565b505050565b505050565b60008082905060005b845181101561224d57600085828151811061220a57612209613675565b5b6020026020010151905080831161222c5761222583826123ef565b9250612239565b61223681846123ef565b92505b5080806122459061354a565b9150506121ec565b508091505092915050565b60006122798473ffffffffffffffffffffffffffffffffffffffff16612406565b156123e2578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026122a26117ce565b8786866040518563ffffffff1660e01b81526004016122c49493929190612f46565b602060405180830381600087803b1580156122de57600080fd5b505af192505050801561230f57506040513d601f19601f8201168201806040525081019061230c919061298e565b60015b612392573d806000811461233f576040519150601f19603f3d011682016040523d82523d6000602084013e612344565b606091505b5060008151141561238a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123819061304c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506123e7565b600190505b949350505050565b600082600052816020526040600020905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054612435906134e7565b90600052602060002090601f016020900481019282612457576000855561249e565b82601f1061247057805160ff191683800117855561249e565b8280016001018555821561249e579182015b8281111561249d578251825591602001919060010190612482565b5b5090506124ab91906124af565b5090565b5b808211156124c85760008160009055506001016124b0565b5090565b60006124df6124da8461326c565b613247565b9050828152602081018484840111156124fb576124fa6136e2565b5b6125068482856134a5565b509392505050565b600061252161251c8461329d565b613247565b90508281526020810184848401111561253d5761253c6136e2565b5b6125488482856134a5565b509392505050565b60008135905061255f81613b93565b92915050565b60008083601f84011261257b5761257a6136d8565b5b8235905067ffffffffffffffff811115612598576125976136d3565b5b6020830191508360208202830111156125b4576125b36136dd565b5b9250929050565b6000813590506125ca81613baa565b92915050565b6000813590506125df81613bc1565b92915050565b6000813590506125f481613bd8565b92915050565b60008151905061260981613bd8565b92915050565b600082601f830112612624576126236136d8565b5b81356126348482602086016124cc565b91505092915050565b600082601f830112612652576126516136d8565b5b813561266284826020860161250e565b91505092915050565b60008135905061267a81613bef565b92915050565b60008135905061268f81613c06565b92915050565b6000602082840312156126ab576126aa6136ec565b5b60006126b984828501612550565b91505092915050565b600080604083850312156126d9576126d86136ec565b5b60006126e785828601612550565b92505060206126f885828601612550565b9150509250929050565b60008060006060848603121561271b5761271a6136ec565b5b600061272986828701612550565b935050602061273a86828701612550565b925050604061274b8682870161266b565b9150509250925092565b6000806000806080858703121561276f5761276e6136ec565b5b600061277d87828801612550565b945050602061278e87828801612550565b935050604061279f8782880161266b565b925050606085013567ffffffffffffffff8111156127c0576127bf6136e7565b5b6127cc8782880161260f565b91505092959194509250565b600080604083850312156127ef576127ee6136ec565b5b60006127fd85828601612550565b925050602061280e858286016125bb565b9150509250929050565b6000806040838503121561282f5761282e6136ec565b5b600061283d85828601612550565b925050602061284e8582860161266b565b9150509250929050565b600080600060408486031215612871576128706136ec565b5b600084013567ffffffffffffffff81111561288f5761288e6136e7565b5b61289b86828701612565565b935093505060206128ae86828701612550565b9150509250925092565b6000806000604084860312156128d1576128d06136ec565b5b600084013567ffffffffffffffff8111156128ef576128ee6136e7565b5b6128fb86828701612565565b9350935050602084013567ffffffffffffffff81111561291e5761291d6136e7565b5b61292a8682870161263d565b9150509250925092565b60006020828403121561294a576129496136ec565b5b6000612958848285016125d0565b91505092915050565b600060208284031215612977576129766136ec565b5b6000612985848285016125e5565b91505092915050565b6000602082840312156129a4576129a36136ec565b5b60006129b2848285016125fa565b91505092915050565b6000602082840312156129d1576129d06136ec565b5b600082013567ffffffffffffffff8111156129ef576129ee6136e7565b5b6129fb8482850161263d565b91505092915050565b600060208284031215612a1a57612a196136ec565b5b6000612a288482850161266b565b91505092915050565b60008060408385031215612a4857612a476136ec565b5b6000612a5685828601612680565b9250506020612a67858286016125bb565b9150509250929050565b6000612a7d8383612ec3565b60208301905092915050565b612a928161341a565b82525050565b612aa9612aa48261341a565b613593565b82525050565b6000612aba826132f3565b612ac48185613321565b9350612acf836132ce565b8060005b83811015612b00578151612ae78882612a71565b9750612af283613314565b925050600181019050612ad3565b5085935050505092915050565b612b168161342c565b82525050565b612b2581613438565b82525050565b6000612b36826132fe565b612b408185613332565b9350612b508185602086016134b4565b612b59816136f1565b840191505092915050565b6000612b6f82613309565b612b798185613343565b9350612b898185602086016134b4565b612b92816136f1565b840191505092915050565b6000612ba882613309565b612bb28185613354565b9350612bc28185602086016134b4565b80840191505092915050565b60008154612bdb816134e7565b612be58186613354565b94506001821660008114612c005760018114612c1157612c44565b60ff19831686528186019350612c44565b612c1a856132de565b60005b83811015612c3c57815481890152600182019150602081019050612c1d565b838801955050505b50505092915050565b6000612c5a601183613343565b9150612c658261370f565b602082019050919050565b6000612c7d600a83613343565b9150612c8882613738565b602082019050919050565b6000612ca0603283613343565b9150612cab82613761565b604082019050919050565b6000612cc3602683613343565b9150612cce826137b0565b604082019050919050565b6000612ce6602583613343565b9150612cf1826137ff565b604082019050919050565b6000612d09601c83613343565b9150612d148261384e565b602082019050919050565b6000612d2c602483613343565b9150612d3782613877565b604082019050919050565b6000612d4f601983613343565b9150612d5a826138c6565b602082019050919050565b6000612d72602c83613343565b9150612d7d826138ef565b604082019050919050565b6000612d95603883613343565b9150612da08261393e565b604082019050919050565b6000612db8602a83613343565b9150612dc38261398d565b604082019050919050565b6000612ddb602983613343565b9150612de6826139dc565b604082019050919050565b6000612dfe602083613343565b9150612e0982613a2b565b602082019050919050565b6000612e21602c83613343565b9150612e2c82613a54565b604082019050919050565b6000612e44600583613354565b9150612e4f82613aa3565b600582019050919050565b6000612e67602083613343565b9150612e7282613acc565b602082019050919050565b6000612e8a602183613343565b9150612e9582613af5565b604082019050919050565b6000612ead603183613343565b9150612eb882613b44565b604082019050919050565b612ecc8161348e565b82525050565b612edb8161348e565b82525050565b6000612eed8284612a98565b60148201915081905092915050565b6000612f088285612bce565b9150612f148284612b9d565b9150612f1f82612e37565b91508190509392505050565b6000602082019050612f406000830184612a89565b92915050565b6000608082019050612f5b6000830187612a89565b612f686020830186612a89565b612f756040830185612ed2565b8181036060830152612f878184612b2b565b905095945050505050565b60006020820190508181036000830152612fac8184612aaf565b905092915050565b6000602082019050612fc96000830184612b0d565b92915050565b6000602082019050612fe46000830184612b1c565b92915050565b600060208201905081810360008301526130048184612b64565b905092915050565b6000602082019050818103600083015261302581612c4d565b9050919050565b6000602082019050818103600083015261304581612c70565b9050919050565b6000602082019050818103600083015261306581612c93565b9050919050565b6000602082019050818103600083015261308581612cb6565b9050919050565b600060208201905081810360008301526130a581612cd9565b9050919050565b600060208201905081810360008301526130c581612cfc565b9050919050565b600060208201905081810360008301526130e581612d1f565b9050919050565b6000602082019050818103600083015261310581612d42565b9050919050565b6000602082019050818103600083015261312581612d65565b9050919050565b6000602082019050818103600083015261314581612d88565b9050919050565b6000602082019050818103600083015261316581612dab565b9050919050565b6000602082019050818103600083015261318581612dce565b9050919050565b600060208201905081810360008301526131a581612df1565b9050919050565b600060208201905081810360008301526131c581612e14565b9050919050565b600060208201905081810360008301526131e581612e5a565b9050919050565b6000602082019050818103600083015261320581612e7d565b9050919050565b6000602082019050818103600083015261322581612ea0565b9050919050565b60006020820190506132416000830184612ed2565b92915050565b6000613251613262565b905061325d8282613519565b919050565b6000604051905090565b600067ffffffffffffffff821115613287576132866136a4565b5b613290826136f1565b9050602081019050919050565b600067ffffffffffffffff8211156132b8576132b76136a4565b5b6132c1826136f1565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061336a8261348e565b91506133758361348e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156133aa576133a96135e8565b5b828201905092915050565b60006133c08261348e565b91506133cb8361348e565b9250826133db576133da613617565b5b828204905092915050565b60006133f18261348e565b91506133fc8361348e565b92508282101561340f5761340e6135e8565b5b828203905092915050565b60006134258261346e565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156134d25780820151818401526020810190506134b7565b838111156134e1576000848401525b50505050565b600060028204905060018216806134ff57607f821691505b6020821081141561351357613512613646565b5b50919050565b613522826136f1565b810181811067ffffffffffffffff82111715613541576135406136a4565b5b80604052505050565b60006135558261348e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613588576135876135e8565b5b600182019050919050565b600061359e826135a5565b9050919050565b60006135b082613702565b9050919050565b60006135c28261348e565b91506135cd8361348e565b9250826135dd576135dc613617565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f436f6c6c656374696f6e206c6f636b6564000000000000000000000000000000600082015250565b7f43616e2774206d696e7400000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b613b9c8161341a565b8114613ba757600080fd5b50565b613bb38161342c565b8114613bbe57600080fd5b50565b613bca81613438565b8114613bd557600080fd5b50565b613be181613442565b8114613bec57600080fd5b50565b613bf88161348e565b8114613c0357600080fd5b50565b613c0f81613498565b8114613c1a57600080fd5b5056fea2646970667358221220a74b71a53c687bc10a0bfefaac9125cf2ed4af92780861763bfa8767e262044464736f6c6343000806003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000a416c6c746865726573740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034154520000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101f05760003560e01c806361ad20571161010f57806395d89b41116100a2578063debefaa611610071578063debefaa614610581578063e36994a1146105b1578063e985e9c5146105e1578063f2fde38b14610611576101f0565b806395d89b41146104fb578063a22cb46514610519578063b88d4fde14610535578063c87b56dd14610551576101f0565b8063738b6d63116100de578063738b6d63146104735780638462151c1461048f5780638b22f341146104bf5780638da5cb5b146104dd576101f0565b806361ad2057146103eb5780636352211e1461040957806370a0823114610439578063715018a614610469576101f0565b8063211eb07d1161018757806342842e0e1161015657806342842e0e1461037757806347d0c9301461039357806351e75e8b146103af5780635452568c146103cd576101f0565b8063211eb07d1461030557806323b872dd146103215780633a03171c1461033d5780633cfbec5c1461035b576101f0565b80630ee83a71116101c35780630ee83a711461028f5780631036b3c51461029957806318160ddd146102b75780631e7269c5146102d5576101f0565b806301ffc9a7146101f557806306fdde0314610225578063081812fc14610243578063095ea7b314610273575b600080fd5b61020f600480360381019061020a9190612961565b61062d565b60405161021c9190612fb4565b60405180910390f35b61022d61070f565b60405161023a9190612fea565b60405180910390f35b61025d60048036038101906102589190612a04565b6107a1565b60405161026a9190612f2b565b60405180910390f35b61028d60048036038101906102889190612818565b610826565b005b61029761093e565b005b6102a16109d7565b6040516102ae9190612fb4565b60405180910390f35b6102bf6109ea565b6040516102cc919061322c565b60405180910390f35b6102ef60048036038101906102ea9190612695565b6109fb565b6040516102fc919061322c565b60405180910390f35b61031f600480360381019061031a91906129bb565b610a13565b005b61033b60048036038101906103369190612702565b610af9565b005b610345610b59565b604051610352919061322c565b60405180910390f35b61037560048036038101906103709190612a31565b610b5f565b005b610391600480360381019061038c9190612702565b610c32565b005b6103ad60048036038101906103a89190612934565b610c52565b005b6103b7610cd8565b6040516103c49190612fcf565b60405180910390f35b6103d5610cde565b6040516103e29190612fb4565b60405180910390f35b6103f3610cf1565b6040516104009190612fea565b60405180910390f35b610423600480360381019061041e9190612a04565b610d7f565b6040516104309190612f2b565b60405180910390f35b610453600480360381019061044e9190612695565b610e31565b604051610460919061322c565b60405180910390f35b610471610ee9565b005b61048d600480360381019061048891906128b8565b610f71565b005b6104a960048036038101906104a49190612695565b611163565b6040516104b69190612f92565b60405180910390f35b6104c76112c1565b6040516104d49190612fb4565b60405180910390f35b6104e56112d4565b6040516104f29190612f2b565b60405180910390f35b6105036112fe565b6040516105109190612fea565b60405180910390f35b610533600480360381019061052e91906127d8565b611390565b005b61054f600480360381019061054a9190612755565b6113a6565b005b61056b60048036038101906105669190612a04565b611408565b6040516105789190612fea565b60405180910390f35b61059b60048036038101906105969190612858565b611442565b6040516105a89190612fb4565b60405180910390f35b6105cb60048036038101906105c69190612a04565b6114cc565b6040516105d89190612fea565b60405180910390f35b6105fb60048036038101906105f691906126c2565b61156c565b6040516106089190612fb4565b60405180910390f35b61062b60048036038101906106269190612695565b611600565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106f857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107085750610707826116f8565b5b9050919050565b60606000805461071e906134e7565b80601f016020809104026020016040519081016040528092919081815260200182805461074a906134e7565b80156107975780601f1061076c57610100808354040283529160200191610797565b820191906000526020600020905b81548152906001019060200180831161077a57829003601f168201915b5050505050905090565b60006107ac82611762565b6107eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e2906131ac565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061083182610d7f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610899906131ec565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108c16117ce565b73ffffffffffffffffffffffffffffffffffffffff1614806108f057506108ef816108ea6117ce565b61156c565b5b61092f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109269061312c565b60405180910390fd5b61093983836117d6565b505050565b6109466117ce565b73ffffffffffffffffffffffffffffffffffffffff166109646112d4565b73ffffffffffffffffffffffffffffffffffffffff16146109ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b1906131cc565b60405180910390fd5b6001600a60006101000a81548160ff021916908315150217905550565b600660149054906101000a900460ff1681565b60006109f6600761188f565b905090565b600d6020528060005260406000206000915090505481565b610a1b6117ce565b73ffffffffffffffffffffffffffffffffffffffff16610a396112d4565b73ffffffffffffffffffffffffffffffffffffffff1614610a8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a86906131cc565b60405180910390fd5b600a60009054906101000a900460ff1615610adf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad69061300c565b60405180910390fd5b80600b9080519060200190610af5929190612429565b5050565b610b0a610b046117ce565b8261189d565b610b49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b409061320c565b60405180910390fd5b610b5483838361197b565b505050565b60085481565b610b676117ce565b73ffffffffffffffffffffffffffffffffffffffff16610b856112d4565b73ffffffffffffffffffffffffffffffffffffffff1614610bdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd2906131cc565b60405180910390fd5b60018260ff161415610c065780600660156101000a81548160ff021916908315150217905550610c2e565b60028260ff161415610c2d5780600660146101000a81548160ff0219169083151502179055505b5b5050565b610c4d838383604051806020016040528060008152506113a6565b505050565b610c5a6117ce565b73ffffffffffffffffffffffffffffffffffffffff16610c786112d4565b73ffffffffffffffffffffffffffffffffffffffff1614610cce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc5906131cc565b60405180910390fd5b8060098190555050565b60095481565b600660159054906101000a900460ff1681565b600b8054610cfe906134e7565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2a906134e7565b8015610d775780601f10610d4c57610100808354040283529160200191610d77565b820191906000526020600020905b815481529060010190602001808311610d5a57829003601f168201915b505050505081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1f9061316c565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ea2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e999061314c565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610ef16117ce565b73ffffffffffffffffffffffffffffffffffffffff16610f0f6112d4565b73ffffffffffffffffffffffffffffffffffffffff1614610f65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5c906131cc565b60405180910390fd5b610f6f6000611be2565b565b6000600660159054906101000a900460ff169050600660159054906101000a900460ff168015610fad5750600660149054906101000a900460ff165b1561102f57600033604051602001610fc59190612ee1565b60405160208183030381529060405280519060200120905061102b858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060095483611ca8565b9150505b60085461103a6109ea565b10801561108657506000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054145b801561108f5750805b6110ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c59061302c565b60405180910390fd5b6110d86007611cbf565b60006110e4600761188f565b90506110f03382611cd5565b82600c60008381526020019081526020016000209080519060200190611117929190612429565b5080600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050505050565b6060600061117083610e31565b905060008114156111cd57600067ffffffffffffffff811115611196576111956136a4565b5b6040519080825280602002602001820160405280156111c45781602001602082028036833780820191505090505b509150506112bc565b60008167ffffffffffffffff8111156111e9576111e86136a4565b5b6040519080825280602002602001820160405280156112175781602001602082028036833780820191505090505b50905060006112246109ea565b9050600080600190505b8281116112b3578673ffffffffffffffffffffffffffffffffffffffff1661125582610d7f565b73ffffffffffffffffffffffffffffffffffffffff1614156112a0578084838151811061128557611284613675565b5b602002602001018181525050818061129c9061354a565b9250505b80806112ab9061354a565b91505061122e565b83955050505050505b919050565b600a60009054906101000a900460ff1681565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461130d906134e7565b80601f0160208091040260200160405190810160405280929190818152602001828054611339906134e7565b80156113865780601f1061135b57610100808354040283529160200191611386565b820191906000526020600020905b81548152906001019060200180831161136957829003601f168201915b5050505050905090565b6113a261139b6117ce565b8383611eaf565b5050565b6113b76113b16117ce565b8361189d565b6113f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ed9061320c565b60405180910390fd5b6114028484848461201c565b50505050565b6060600061141583612078565b9050600b8160405160200161142b929190612efc565b604051602081830303815290604052915050919050565b600080826040516020016114569190612ee1565b60405160208183030381529060405280519060200120905060006114be868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060095484611ca8565b905080925050509392505050565b600c60205280600052604060002060009150905080546114eb906134e7565b80601f0160208091040260200160405190810160405280929190818152602001828054611517906134e7565b80156115645780601f1061153957610100808354040283529160200191611564565b820191906000526020600020905b81548152906001019060200180831161154757829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6116086117ce565b73ffffffffffffffffffffffffffffffffffffffff166116266112d4565b73ffffffffffffffffffffffffffffffffffffffff161461167c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611673906131cc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e39061306c565b60405180910390fd5b6116f581611be2565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661184983610d7f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b60006118a882611762565b6118e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118de9061310c565b60405180910390fd5b60006118f283610d7f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061196157508373ffffffffffffffffffffffffffffffffffffffff16611949846107a1565b73ffffffffffffffffffffffffffffffffffffffff16145b806119725750611971818561156c565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661199b82610d7f565b73ffffffffffffffffffffffffffffffffffffffff16146119f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e89061308c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a58906130cc565b60405180910390fd5b611a6c8383836121d9565b611a776000826117d6565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ac791906133e6565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b1e919061335f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611bdd8383836121de565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600082611cb585846121e3565b1490509392505050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3c9061318c565b60405180910390fd5b611d4e81611762565b15611d8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d85906130ac565b60405180910390fd5b611d9a600083836121d9565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611dea919061335f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611eab600083836121de565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611f1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f15906130ec565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161200f9190612fb4565b60405180910390a3505050565b61202784848461197b565b61203384848484612258565b612072576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120699061304c565b60405180910390fd5b50505050565b606060008214156120c0576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506121d4565b600082905060005b600082146120f25780806120db9061354a565b915050600a826120eb91906133b5565b91506120c8565b60008167ffffffffffffffff81111561210e5761210d6136a4565b5b6040519080825280601f01601f1916602001820160405280156121405781602001600182028036833780820191505090505b5090505b600085146121cd5760018261215991906133e6565b9150600a8561216891906135b7565b6030612174919061335f565b60f81b81838151811061218a57612189613675565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856121c691906133b5565b9450612144565b8093505050505b919050565b505050565b505050565b60008082905060005b845181101561224d57600085828151811061220a57612209613675565b5b6020026020010151905080831161222c5761222583826123ef565b9250612239565b61223681846123ef565b92505b5080806122459061354a565b9150506121ec565b508091505092915050565b60006122798473ffffffffffffffffffffffffffffffffffffffff16612406565b156123e2578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026122a26117ce565b8786866040518563ffffffff1660e01b81526004016122c49493929190612f46565b602060405180830381600087803b1580156122de57600080fd5b505af192505050801561230f57506040513d601f19601f8201168201806040525081019061230c919061298e565b60015b612392573d806000811461233f576040519150601f19603f3d011682016040523d82523d6000602084013e612344565b606091505b5060008151141561238a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123819061304c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506123e7565b600190505b949350505050565b600082600052816020526040600020905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054612435906134e7565b90600052602060002090601f016020900481019282612457576000855561249e565b82601f1061247057805160ff191683800117855561249e565b8280016001018555821561249e579182015b8281111561249d578251825591602001919060010190612482565b5b5090506124ab91906124af565b5090565b5b808211156124c85760008160009055506001016124b0565b5090565b60006124df6124da8461326c565b613247565b9050828152602081018484840111156124fb576124fa6136e2565b5b6125068482856134a5565b509392505050565b600061252161251c8461329d565b613247565b90508281526020810184848401111561253d5761253c6136e2565b5b6125488482856134a5565b509392505050565b60008135905061255f81613b93565b92915050565b60008083601f84011261257b5761257a6136d8565b5b8235905067ffffffffffffffff811115612598576125976136d3565b5b6020830191508360208202830111156125b4576125b36136dd565b5b9250929050565b6000813590506125ca81613baa565b92915050565b6000813590506125df81613bc1565b92915050565b6000813590506125f481613bd8565b92915050565b60008151905061260981613bd8565b92915050565b600082601f830112612624576126236136d8565b5b81356126348482602086016124cc565b91505092915050565b600082601f830112612652576126516136d8565b5b813561266284826020860161250e565b91505092915050565b60008135905061267a81613bef565b92915050565b60008135905061268f81613c06565b92915050565b6000602082840312156126ab576126aa6136ec565b5b60006126b984828501612550565b91505092915050565b600080604083850312156126d9576126d86136ec565b5b60006126e785828601612550565b92505060206126f885828601612550565b9150509250929050565b60008060006060848603121561271b5761271a6136ec565b5b600061272986828701612550565b935050602061273a86828701612550565b925050604061274b8682870161266b565b9150509250925092565b6000806000806080858703121561276f5761276e6136ec565b5b600061277d87828801612550565b945050602061278e87828801612550565b935050604061279f8782880161266b565b925050606085013567ffffffffffffffff8111156127c0576127bf6136e7565b5b6127cc8782880161260f565b91505092959194509250565b600080604083850312156127ef576127ee6136ec565b5b60006127fd85828601612550565b925050602061280e858286016125bb565b9150509250929050565b6000806040838503121561282f5761282e6136ec565b5b600061283d85828601612550565b925050602061284e8582860161266b565b9150509250929050565b600080600060408486031215612871576128706136ec565b5b600084013567ffffffffffffffff81111561288f5761288e6136e7565b5b61289b86828701612565565b935093505060206128ae86828701612550565b9150509250925092565b6000806000604084860312156128d1576128d06136ec565b5b600084013567ffffffffffffffff8111156128ef576128ee6136e7565b5b6128fb86828701612565565b9350935050602084013567ffffffffffffffff81111561291e5761291d6136e7565b5b61292a8682870161263d565b9150509250925092565b60006020828403121561294a576129496136ec565b5b6000612958848285016125d0565b91505092915050565b600060208284031215612977576129766136ec565b5b6000612985848285016125e5565b91505092915050565b6000602082840312156129a4576129a36136ec565b5b60006129b2848285016125fa565b91505092915050565b6000602082840312156129d1576129d06136ec565b5b600082013567ffffffffffffffff8111156129ef576129ee6136e7565b5b6129fb8482850161263d565b91505092915050565b600060208284031215612a1a57612a196136ec565b5b6000612a288482850161266b565b91505092915050565b60008060408385031215612a4857612a476136ec565b5b6000612a5685828601612680565b9250506020612a67858286016125bb565b9150509250929050565b6000612a7d8383612ec3565b60208301905092915050565b612a928161341a565b82525050565b612aa9612aa48261341a565b613593565b82525050565b6000612aba826132f3565b612ac48185613321565b9350612acf836132ce565b8060005b83811015612b00578151612ae78882612a71565b9750612af283613314565b925050600181019050612ad3565b5085935050505092915050565b612b168161342c565b82525050565b612b2581613438565b82525050565b6000612b36826132fe565b612b408185613332565b9350612b508185602086016134b4565b612b59816136f1565b840191505092915050565b6000612b6f82613309565b612b798185613343565b9350612b898185602086016134b4565b612b92816136f1565b840191505092915050565b6000612ba882613309565b612bb28185613354565b9350612bc28185602086016134b4565b80840191505092915050565b60008154612bdb816134e7565b612be58186613354565b94506001821660008114612c005760018114612c1157612c44565b60ff19831686528186019350612c44565b612c1a856132de565b60005b83811015612c3c57815481890152600182019150602081019050612c1d565b838801955050505b50505092915050565b6000612c5a601183613343565b9150612c658261370f565b602082019050919050565b6000612c7d600a83613343565b9150612c8882613738565b602082019050919050565b6000612ca0603283613343565b9150612cab82613761565b604082019050919050565b6000612cc3602683613343565b9150612cce826137b0565b604082019050919050565b6000612ce6602583613343565b9150612cf1826137ff565b604082019050919050565b6000612d09601c83613343565b9150612d148261384e565b602082019050919050565b6000612d2c602483613343565b9150612d3782613877565b604082019050919050565b6000612d4f601983613343565b9150612d5a826138c6565b602082019050919050565b6000612d72602c83613343565b9150612d7d826138ef565b604082019050919050565b6000612d95603883613343565b9150612da08261393e565b604082019050919050565b6000612db8602a83613343565b9150612dc38261398d565b604082019050919050565b6000612ddb602983613343565b9150612de6826139dc565b604082019050919050565b6000612dfe602083613343565b9150612e0982613a2b565b602082019050919050565b6000612e21602c83613343565b9150612e2c82613a54565b604082019050919050565b6000612e44600583613354565b9150612e4f82613aa3565b600582019050919050565b6000612e67602083613343565b9150612e7282613acc565b602082019050919050565b6000612e8a602183613343565b9150612e9582613af5565b604082019050919050565b6000612ead603183613343565b9150612eb882613b44565b604082019050919050565b612ecc8161348e565b82525050565b612edb8161348e565b82525050565b6000612eed8284612a98565b60148201915081905092915050565b6000612f088285612bce565b9150612f148284612b9d565b9150612f1f82612e37565b91508190509392505050565b6000602082019050612f406000830184612a89565b92915050565b6000608082019050612f5b6000830187612a89565b612f686020830186612a89565b612f756040830185612ed2565b8181036060830152612f878184612b2b565b905095945050505050565b60006020820190508181036000830152612fac8184612aaf565b905092915050565b6000602082019050612fc96000830184612b0d565b92915050565b6000602082019050612fe46000830184612b1c565b92915050565b600060208201905081810360008301526130048184612b64565b905092915050565b6000602082019050818103600083015261302581612c4d565b9050919050565b6000602082019050818103600083015261304581612c70565b9050919050565b6000602082019050818103600083015261306581612c93565b9050919050565b6000602082019050818103600083015261308581612cb6565b9050919050565b600060208201905081810360008301526130a581612cd9565b9050919050565b600060208201905081810360008301526130c581612cfc565b9050919050565b600060208201905081810360008301526130e581612d1f565b9050919050565b6000602082019050818103600083015261310581612d42565b9050919050565b6000602082019050818103600083015261312581612d65565b9050919050565b6000602082019050818103600083015261314581612d88565b9050919050565b6000602082019050818103600083015261316581612dab565b9050919050565b6000602082019050818103600083015261318581612dce565b9050919050565b600060208201905081810360008301526131a581612df1565b9050919050565b600060208201905081810360008301526131c581612e14565b9050919050565b600060208201905081810360008301526131e581612e5a565b9050919050565b6000602082019050818103600083015261320581612e7d565b9050919050565b6000602082019050818103600083015261322581612ea0565b9050919050565b60006020820190506132416000830184612ed2565b92915050565b6000613251613262565b905061325d8282613519565b919050565b6000604051905090565b600067ffffffffffffffff821115613287576132866136a4565b5b613290826136f1565b9050602081019050919050565b600067ffffffffffffffff8211156132b8576132b76136a4565b5b6132c1826136f1565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061336a8261348e565b91506133758361348e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156133aa576133a96135e8565b5b828201905092915050565b60006133c08261348e565b91506133cb8361348e565b9250826133db576133da613617565b5b828204905092915050565b60006133f18261348e565b91506133fc8361348e565b92508282101561340f5761340e6135e8565b5b828203905092915050565b60006134258261346e565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156134d25780820151818401526020810190506134b7565b838111156134e1576000848401525b50505050565b600060028204905060018216806134ff57607f821691505b6020821081141561351357613512613646565b5b50919050565b613522826136f1565b810181811067ffffffffffffffff82111715613541576135406136a4565b5b80604052505050565b60006135558261348e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613588576135876135e8565b5b600182019050919050565b600061359e826135a5565b9050919050565b60006135b082613702565b9050919050565b60006135c28261348e565b91506135cd8361348e565b9250826135dd576135dc613617565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f436f6c6c656374696f6e206c6f636b6564000000000000000000000000000000600082015250565b7f43616e2774206d696e7400000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b613b9c8161341a565b8114613ba757600080fd5b50565b613bb38161342c565b8114613bbe57600080fd5b50565b613bca81613438565b8114613bd557600080fd5b50565b613be181613442565b8114613bec57600080fd5b50565b613bf88161348e565b8114613c0357600080fd5b50565b613c0f81613498565b8114613c1a57600080fd5b5056fea2646970667358221220a74b71a53c687bc10a0bfefaac9125cf2ed4af92780861763bfa8767e262044464736f6c63430008060033

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000a416c6c746865726573740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034154520000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Alltherest
Arg [1] : _ticker (string): ATR

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [3] : 416c6c7468657265737400000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [5] : 4154520000000000000000000000000000000000000000000000000000000000


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.