ETH Price: $3,401.23 (+3.01%)

Token

Fractalz Waystone (WAYSTONE)
 

Overview

Max Total Supply

1,221 WAYSTONE

Holders

1,085

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
playwithmekid.eth
0xa53a7e1e00b0bbfdd58a21449e2fe606f58b9fae
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:
FractalzWaystone

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 100000 runs

Other Settings:
default evmVersion
File 1 of 12 : Fractalz.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "@openzeppelin/contracts/interfaces/IERC2981.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./token/ERC1155.sol";

contract FractalzWaystone is ERC1155, IERC2981, Ownable {

    string public name = "Fractalz Waystone";
    string public symbol = "WAYSTONE";

    string private baseURI;

    bytes32 public whitelistMerkleRoot;
    uint256 public maxSupply = 1200;
    uint256 public defaultToken = 1;
    uint256 public minted;
    
    uint256 internal toll = 500;

    bool public publicActive  = false;
    bool public presaleActive = false;

    mapping(uint256 => string) private tokenURIs;
    mapping(address => uint) public addressClaimed;

    constructor(
        string memory _baseURI
    ) ERC1155(){
        baseURI = _baseURI;
    }

    // Public Functions
    function allowlistMint(bytes32[] calldata _merkleProof) external {
        require(presaleActive, "Sale has not started yet.");
        require(addressClaimed[_msgSender()] < 1, "Exceeds mint allocation");
        require(minted < maxSupply, "Exceeds max supply");

        // Verify merkle proof
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verify(_merkleProof, whitelistMerkleRoot, leaf), "Invalid proof");
        minted++;
        addressClaimed[_msgSender()]++;
        _craftTokens(msg.sender,defaultToken,1,'');
    }

    function mint() external {
        require(publicActive, "Sale has not started yet.");
        require(addressClaimed[_msgSender()] < 1, "Exceeds mint allocation");
        require(minted < maxSupply, "Exceeds max supply");
        minted++;
        addressClaimed[_msgSender()]++;
        _craftTokens(msg.sender,defaultToken,1,'');
    }

    function uri(
        uint256 token
    ) public view virtual override returns (string memory) {
        string memory tokenURI = tokenURIs[token];
        return bytes(tokenURI).length > 0 ? tokenURI : baseURI;
    }


    // Team Functions
    function teamMint(
        uint256 _token,
        uint256 _quantity
    ) external onlyOwner {
        _craftTokens(msg.sender,_token,_quantity,'');
    }

    function airdropTokens(
        address[] memory _to,
        uint256 _token,
        uint256 _quantity
    ) external onlyOwner {
        for (uint256 i = 0; i < _to.length; i++) {
            _craftTokens(_to[i],_token,_quantity,'');
        }
    }

    function burn(
        address _from,
        uint256 _token,
        uint256 _quantity
    ) external onlyOwner {
        _burn(_from,_token,_quantity);
    }

    function setURI(
        uint256 _token,
        string memory _tokenURI
    ) external onlyOwner {
        tokenURIs[_token] = _tokenURI;
        emit URI(uri(_token), _token);
    }

    function setBaseURI(
        string memory _baseURI
    ) external onlyOwner {
        baseURI = _baseURI;
    }

    function enableMint(bool _publicActive) external onlyOwner {
        publicActive = _publicActive;
    }

    function enablePresale(bool _presaleActive) external onlyOwner {
        presaleActive = _presaleActive;
    }

    function setDefaultToken(
        uint256 _defaultToken
    ) external onlyOwner {
        defaultToken = _defaultToken;
    }

    function setRoyalty(uint256 _toll) external onlyOwner {
        require(_toll < 2500, "Royalty over 25%");
        toll = _toll;
    }

    function setWhitelistMerkleRoot(bytes32 _whitelistMerkleRoot) external onlyOwner {
      whitelistMerkleRoot = _whitelistMerkleRoot;
    }

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(
        uint256,
        uint256 _salePrice
    ) public view virtual override returns (address, uint256) {
        uint256 royaltyAmount = (_salePrice * toll) / 10000;
        return (owner(), royaltyAmount);
    }

    /**
     * @dev {IERC165-supportsInterface}.
     */
    function supportsInterface(
        bytes4 interfaceId
    ) public view virtual override(ERC1155, IERC165) returns (bool) {
        return
        interfaceId == type(IERC1155).interfaceId ||
        interfaceId == type(IERC1155MetadataURI).interfaceId ||
        interfaceId == type(IERC2981).interfaceId ||
        super.supportsInterface(interfaceId);
    }
}

File 2 of 12 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 3 of 12 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
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 Merkle 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 12 : 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 5 of 12 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.9;

import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

    error TokenIdCannotBeZero();

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
abstract contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

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

    constructor() {}

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

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: balance query for the zero address");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
    public
    view
    virtual
    override
    returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

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

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
    unchecked {
        _balances[id][from] = fromBalance - amount;
    }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _craftTokens(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {

        require(to != address(0), "ERC1155: mint to the zero address");
        if( id == 0 ) revert TokenIdCannotBeZero();

        address operator = _msgSender();

        _balances[id][to] += amount;
        emit TransferSingle(operator, address(0), to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _craftTokensMany(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        for (uint256 i = 0; i < ids.length; i++) {
            if( ids[i] == 0 ) revert TokenIdCannotBeZero();
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address from,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
    unchecked {
        _balances[id][from] = fromBalance - amount;
    }

        emit TransferSingle(operator, from, address(0), id, amount);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnMany(
        address from,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        }

        emit TransferBatch(operator, from, address(0), ids, amounts);
    }

    /**
     * @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, "ERC1155: setting approval status for self");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

File 6 of 12 : 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);
}

File 7 of 12 : 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 8 of 12 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

File 9 of 12 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
     * @dev Handles the receipt of a single ERC1155 token type. This function is
     * called at the end of a `safeTransferFrom` after the balance has been updated.
     *
     * NOTE: To accept the transfer, this must return
     * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
     * (i.e. 0xf23a6e61, or its own function selector).
     *
     * @param operator The address which initiated the transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param id The ID of the token being transferred
     * @param value The amount of tokens being transferred
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
     */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
     * @dev Handles the receipt of a multiple ERC1155 token types. This function
     * is called at the end of a `safeBatchTransferFrom` after the balances have
     * been updated.
     *
     * NOTE: To accept the transfer(s), this must return
     * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
     * (i.e. 0xbc197c81, or its own function selector).
     *
     * @param operator The address which initiated the batch transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param ids An array containing ids of each token being transferred (order and length must match values array)
     * @param values An array containing amounts of each token being transferred (order and length must match ids array)
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
     */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

File 10 of 12 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;

import "../IERC1155.sol";

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

File 11 of 12 : 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 12 of 12 : 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;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"TokenIdCannotBeZero","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","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":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_to","type":"address[]"},{"internalType":"uint256","name":"_token","type":"uint256"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"airdropTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"allowlistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_token","type":"uint256"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"defaultToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_publicActive","type":"bool"}],"name":"enableMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_presaleActive","type":"bool"}],"name":"enablePresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"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":[],"name":"presaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_defaultToken","type":"uint256"}],"name":"setDefaultToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_toll","type":"uint256"}],"name":"setRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_token","type":"uint256"},{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_whitelistMerkleRoot","type":"bytes32"}],"name":"setWhitelistMerkleRoot","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":"_token","type":"uint256"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"token","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"}]

60c060405260116080819052704672616374616c7a2057617973746f6e6560781b60a09081526200003491600391906200012d565b506040805180820190915260088082526757415953544f4e4560c01b602090920191825262000066916004916200012d565b506104b060075560016008556101f4600a55600b805461ffff191690553480156200009057600080fd5b50604051620037a2380380620037a2833981016040819052620000b391620001e9565b620000be33620000db565b8051620000d39060059060208401906200012d565b505062000302565b600280546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200013b90620002c5565b90600052602060002090601f0160209004810192826200015f5760008555620001aa565b82601f106200017a57805160ff1916838001178555620001aa565b82800160010185558215620001aa579182015b82811115620001aa5782518255916020019190600101906200018d565b50620001b8929150620001bc565b5090565b5b80821115620001b85760008155600101620001bd565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215620001fd57600080fd5b82516001600160401b03808211156200021557600080fd5b818501915085601f8301126200022a57600080fd5b8151818111156200023f576200023f620001d3565b604051601f8201601f19908116603f011681019083821181831017156200026a576200026a620001d3565b8160405282815288868487010111156200028357600080fd5b600093505b82841015620002a7578484018601518185018701529285019262000288565b82841115620002b95760008684830101525b98975050505050505050565b600181811c90821680620002da57607f821691505b60208210811415620002fc57634e487b7160e01b600052602260045260246000fd5b50919050565b61349080620003126000396000f3fe608060405234801561001057600080fd5b506004361061020a5760003560e01c806374c13fda1161012a578063bd32fb66116100bd578063e985e9c51161008c578063f2fde38b11610071578063f2fde38b146104b1578063f473b32c146104c4578063f5298aca146104d757600080fd5b8063e985e9c514610455578063f242432a1461049e57600080fd5b8063bd32fb6614610413578063c68b330514610426578063d1454bf414610439578063d5abeb011461044c57600080fd5b80638da5cb5b116100f95780638da5cb5b146103c757806395d89b41146103ef578063a22cb465146103f7578063aa98e0c61461040a57600080fd5b806374c13fda14610378578063772dc32f14610381578063862440e2146103a157806388104333146103b457600080fd5b80634209a2e1116101a2578063537924ef11610171578063537924ef1461033757806355f804b31461034a57806369b5b29c1461035d578063715018a61461037057600080fd5b80634209a2e1146102e95780634e1273f4146102fc5780634f02c4201461031c57806353135ca01461032557600080fd5b80631249c58b116101de5780631249c58b146102805780632a55205a1461028a5780632eb2c2d6146102c95780633f2981cf146102dc57600080fd5b8062fdd58e1461020f57806301ffc9a71461023557806306fdde03146102585780630e89341c1461026d575b600080fd5b61022261021d366004612a05565b6104ea565b6040519081526020015b60405180910390f35b610248610243366004612a5d565b6105c7565b604051901515815260200161022c565b6102606106bb565b60405161022c9190612ae5565b61026061027b366004612af8565b610749565b610288610889565b005b61029d610298366004612b11565b610a54565b6040805173ffffffffffffffffffffffffffffffffffffffff909316835260208301919091520161022c565b6102886102d7366004612cd4565b610a9f565b600b546102489060ff1681565b6102886102f7366004612af8565b610b68565b61030f61030a366004612deb565b610c59565b60405161022c9190612e8a565b61022260095481565b600b5461024890610100900460ff1681565b610288610345366004612e9d565b610db1565b610288610358366004612f12565b611077565b61028861036b366004612b11565b61110f565b6102886111ab565b61022260085481565b61022261038f366004612f4f565b600d6020526000908152604090205481565b6102886103af366004612f6a565b611236565b6102886103c2366004612af8565b61131b565b60025460405173ffffffffffffffffffffffffffffffffffffffff909116815260200161022c565b6102606113a1565b610288610405366004612fb7565b6113ae565b61022260065481565b610288610421366004612af8565b6113b9565b610288610434366004612fea565b61143f565b610288610447366004612fea565b6114f1565b61022260075481565b610248610463366004613005565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205460ff1690565b6102886104ac36600461302f565b6115a9565b6102886104bf366004612f4f565b61166b565b6102886104d2366004613094565b61179b565b6102886104e53660046130e2565b611874565b600073ffffffffffffffffffffffffffffffffffffffff8316610594576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526020818152604080832073ffffffffffffffffffffffffffffffffffffffff949094168352929052205490565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167fd9b67a2600000000000000000000000000000000000000000000000000000000148061065a57507fffffffff0000000000000000000000000000000000000000000000000000000082167f0e89341c00000000000000000000000000000000000000000000000000000000145b806106a657507fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a00000000000000000000000000000000000000000000000000000000145b806106b557506106b582611900565b92915050565b600380546106c890613115565b80601f01602080910402602001604051908101604052809291908181526020018280546106f490613115565b80156107415780601f1061071657610100808354040283529160200191610741565b820191906000526020600020905b81548152906001019060200180831161072457829003601f168201915b505050505081565b6000818152600c602052604081208054606092919061076790613115565b80601f016020809104026020016040519081016040528092919081815260200182805461079390613115565b80156107e05780601f106107b5576101008083540402835291602001916107e0565b820191906000526020600020905b8154815290600101906020018083116107c357829003601f168201915b50505050509050600081511161088057600580546107fd90613115565b80601f016020809104026020016040519081016040528092919081815260200182805461082990613115565b80156108765780601f1061084b57610100808354040283529160200191610876565b820191906000526020600020905b81548152906001019060200180831161085957829003601f168201915b5050505050610882565b805b9392505050565b600b5460ff166108f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f53616c6520686173206e6f742073746172746564207965742e00000000000000604482015260640161058b565b336000908152600d602052604090205460011161096e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f45786365656473206d696e7420616c6c6f636174696f6e000000000000000000604482015260640161058b565b600754600954106109db576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f45786365656473206d617820737570706c790000000000000000000000000000604482015260640161058b565b600980549060006109eb83613198565b9190505550600d60006109fb3390565b73ffffffffffffffffffffffffffffffffffffffff16815260208101919091526040016000908120805491610a2f83613198565b9190505550610a52336008546001604051806020016040528060008152506119e3565b565b6000806000612710600a5485610a6a91906131d1565b610a74919061320e565b9050610a9560025473ffffffffffffffffffffffffffffffffffffffff1690565b9590945092505050565b73ffffffffffffffffffffffffffffffffffffffff8516331480610ac85750610ac88533610463565b610b54576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000606482015260840161058b565b610b618585858585611b69565b5050505050565b60025473ffffffffffffffffffffffffffffffffffffffff163314610be9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058b565b6109c48110610c54576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f526f79616c7479206f7665722032352500000000000000000000000000000000604482015260640161058b565b600a55565b60608151835114610cec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d617463680000000000000000000000000000000000000000000000606482015260840161058b565b6000835167ffffffffffffffff811115610d0857610d08612b33565b604051908082528060200260200182016040528015610d31578160200160208202803683370190505b50905060005b8451811015610da957610d7c858281518110610d5557610d55613249565b6020026020010151858381518110610d6f57610d6f613249565b60200260200101516104ea565b828281518110610d8e57610d8e613249565b6020908102919091010152610da281613198565b9050610d37565b509392505050565b600b54610100900460ff16610e22576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f53616c6520686173206e6f742073746172746564207965742e00000000000000604482015260640161058b565b336000908152600d6020526040902054600111610e9b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f45786365656473206d696e7420616c6c6f636174696f6e000000000000000000604482015260640161058b565b60075460095410610f08576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f45786365656473206d617820737570706c790000000000000000000000000000604482015260640161058b565b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b166020820152600090603401604051602081830303815290604052805190602001209050610f95838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506006549150849050611ea3565b610ffb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f496e76616c69642070726f6f6600000000000000000000000000000000000000604482015260640161058b565b6009805490600061100b83613198565b9190505550600d600061101b3390565b73ffffffffffffffffffffffffffffffffffffffff1681526020810191909152604001600090812080549161104f83613198565b9190505550611072336008546001604051806020016040528060008152506119e3565b505050565b60025473ffffffffffffffffffffffffffffffffffffffff1633146110f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058b565b805161110b906005906020840190612943565b5050565b60025473ffffffffffffffffffffffffffffffffffffffff163314611190576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058b565b61110b338383604051806020016040528060008152506119e3565b60025473ffffffffffffffffffffffffffffffffffffffff16331461122c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058b565b610a526000611eb9565b60025473ffffffffffffffffffffffffffffffffffffffff1633146112b7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058b565b6000828152600c6020908152604090912082516112d692840190612943565b50817f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b61130284610749565b60405161130f9190612ae5565b60405180910390a25050565b60025473ffffffffffffffffffffffffffffffffffffffff16331461139c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058b565b600855565b600480546106c890613115565b61110b338383611f30565b60025473ffffffffffffffffffffffffffffffffffffffff16331461143a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058b565b600655565b60025473ffffffffffffffffffffffffffffffffffffffff1633146114c0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058b565b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b60025473ffffffffffffffffffffffffffffffffffffffff163314611572576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058b565b600b8054911515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909216919091179055565b73ffffffffffffffffffffffffffffffffffffffff85163314806115d257506115d28533610463565b61165e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f7665640000000000000000000000000000000000000000000000606482015260840161058b565b610b618585858585612084565b60025473ffffffffffffffffffffffffffffffffffffffff1633146116ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058b565b73ffffffffffffffffffffffffffffffffffffffff811661178f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161058b565b61179881611eb9565b50565b60025473ffffffffffffffffffffffffffffffffffffffff16331461181c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058b565b60005b835181101561186e5761185c84828151811061183d5761183d613249565b60200260200101518484604051806020016040528060008152506119e3565b8061186681613198565b91505061181f565b50505050565b60025473ffffffffffffffffffffffffffffffffffffffff1633146118f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058b565b6110728383836122a7565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167fd9b67a2600000000000000000000000000000000000000000000000000000000148061199357507fffffffff0000000000000000000000000000000000000000000000000000000082167f0e89341c00000000000000000000000000000000000000000000000000000000145b806106b557507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146106b5565b73ffffffffffffffffffffffffffffffffffffffff8416611a86576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f7300000000000000000000000000000000000000000000000000000000000000606482015260840161058b565b82611abd576040517f7321e15a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008381526020818152604080832073ffffffffffffffffffffffffffffffffffffffff88168452909152812080543392859291611afc908490613278565b9091555050604080518581526020810185905273ffffffffffffffffffffffffffffffffffffffff80881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610b6181600087878787612481565b8151835114611bfa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d61746368000000000000000000000000000000000000000000000000606482015260840161058b565b73ffffffffffffffffffffffffffffffffffffffff8416611c9d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161058b565b3360005b8451811015611e0e576000858281518110611cbe57611cbe613249565b602002602001015190506000858381518110611cdc57611cdc613249565b6020908102919091018101516000848152808352604080822073ffffffffffffffffffffffffffffffffffffffff8e168352909352919091205490915081811015611da9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e7366657200000000000000000000000000000000000000000000606482015260840161058b565b60008381526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8e8116855292528083208585039055908b16825281208054849290611df3908490613278565b9250508190555050505080611e0790613198565b9050611ca1565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611e85929190613290565b60405180910390a4611e9b81878787878761271b565b505050505050565b600082611eb085846128d7565b14949350505050565b6002805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611fec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c660000000000000000000000000000000000000000000000606482015260840161058b565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8416612127576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161058b565b60008381526020818152604080832073ffffffffffffffffffffffffffffffffffffffff891684529091529020543390838110156121e7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e7366657200000000000000000000000000000000000000000000606482015260840161058b565b60008581526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8b8116855292528083208785039055908816825281208054869290612231908490613278565b9091555050604080518681526020810186905273ffffffffffffffffffffffffffffffffffffffff808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461229e828888888888612481565b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff831661234a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161058b565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152902054339082811015612409576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60448201527f616e636500000000000000000000000000000000000000000000000000000000606482015260840161058b565b60008481526020818152604080832073ffffffffffffffffffffffffffffffffffffffff898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b73ffffffffffffffffffffffffffffffffffffffff84163b15611e9b576040517ff23a6e6100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063f23a6e61906124f890899089908890889088906004016132be565b602060405180830381600087803b15801561251257600080fd5b505af1925050508015612560575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261255d9181019061330e565b60015b61264a5761256c61332b565b806308c379a014156125c05750612581613347565b8061258c57506125c2565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161058b9190612ae5565b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e746572000000000000000000000000606482015260840161058b565b7fffffffff0000000000000000000000000000000000000000000000000000000081167ff23a6e61000000000000000000000000000000000000000000000000000000001461229e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e73000000000000000000000000000000000000000000000000606482015260840161058b565b73ffffffffffffffffffffffffffffffffffffffff84163b15611e9b576040517fbc197c8100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063bc197c819061279290899089908890889088906004016133ef565b602060405180830381600087803b1580156127ac57600080fd5b505af19250505080156127fa575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526127f79181019061330e565b60015b6128065761256c61332b565b7fffffffff0000000000000000000000000000000000000000000000000000000081167fbc197c81000000000000000000000000000000000000000000000000000000001461229e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e73000000000000000000000000000000000000000000000000606482015260840161058b565b600081815b8451811015610da95760008582815181106128f9576128f9613249565b6020026020010151905080831161291f5760008381526020829052604090209250612930565b600081815260208490526040902092505b508061293b81613198565b9150506128dc565b82805461294f90613115565b90600052602060002090601f01602090048101928261297157600085556129b7565b82601f1061298a57805160ff19168380011785556129b7565b828001600101855582156129b7579182015b828111156129b757825182559160200191906001019061299c565b506129c39291506129c7565b5090565b5b808211156129c357600081556001016129c8565b803573ffffffffffffffffffffffffffffffffffffffff81168114612a0057600080fd5b919050565b60008060408385031215612a1857600080fd5b612a21836129dc565b946020939093013593505050565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461179857600080fd5b600060208284031215612a6f57600080fd5b813561088281612a2f565b6000815180845260005b81811015612aa057602081850181015186830182015201612a84565b81811115612ab2576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006108826020830184612a7a565b600060208284031215612b0a57600080fd5b5035919050565b60008060408385031215612b2457600080fd5b50508035926020909101359150565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116810181811067ffffffffffffffff82111715612ba657612ba6612b33565b6040525050565b600067ffffffffffffffff821115612bc757612bc7612b33565b5060051b60200190565b600082601f830112612be257600080fd5b81356020612bef82612bad565b604051612bfc8282612b62565b83815260059390931b8501820192828101915086841115612c1c57600080fd5b8286015b84811015612c375780358352918301918301612c20565b509695505050505050565b600082601f830112612c5357600080fd5b813567ffffffffffffffff811115612c6d57612c6d612b33565b604051612ca260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8501160182612b62565b818152846020838601011115612cb757600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a08688031215612cec57600080fd5b612cf5866129dc565b9450612d03602087016129dc565b9350604086013567ffffffffffffffff80821115612d2057600080fd5b612d2c89838a01612bd1565b94506060880135915080821115612d4257600080fd5b612d4e89838a01612bd1565b93506080880135915080821115612d6457600080fd5b50612d7188828901612c42565b9150509295509295909350565b600082601f830112612d8f57600080fd5b81356020612d9c82612bad565b604051612da98282612b62565b83815260059390931b8501820192828101915086841115612dc957600080fd5b8286015b84811015612c3757612dde816129dc565b8352918301918301612dcd565b60008060408385031215612dfe57600080fd5b823567ffffffffffffffff80821115612e1657600080fd5b612e2286838701612d7e565b93506020850135915080821115612e3857600080fd5b50612e4585828601612bd1565b9150509250929050565b600081518084526020808501945080840160005b83811015612e7f57815187529582019590820190600101612e63565b509495945050505050565b6020815260006108826020830184612e4f565b60008060208385031215612eb057600080fd5b823567ffffffffffffffff80821115612ec857600080fd5b818501915085601f830112612edc57600080fd5b813581811115612eeb57600080fd5b8660208260051b8501011115612f0057600080fd5b60209290920196919550909350505050565b600060208284031215612f2457600080fd5b813567ffffffffffffffff811115612f3b57600080fd5b612f4784828501612c42565b949350505050565b600060208284031215612f6157600080fd5b610882826129dc565b60008060408385031215612f7d57600080fd5b82359150602083013567ffffffffffffffff811115612f9b57600080fd5b612e4585828601612c42565b80358015158114612a0057600080fd5b60008060408385031215612fca57600080fd5b612fd3836129dc565b9150612fe160208401612fa7565b90509250929050565b600060208284031215612ffc57600080fd5b61088282612fa7565b6000806040838503121561301857600080fd5b613021836129dc565b9150612fe1602084016129dc565b600080600080600060a0868803121561304757600080fd5b613050866129dc565b945061305e602087016129dc565b93506040860135925060608601359150608086013567ffffffffffffffff81111561308857600080fd5b612d7188828901612c42565b6000806000606084860312156130a957600080fd5b833567ffffffffffffffff8111156130c057600080fd5b6130cc86828701612d7e565b9660208601359650604090950135949350505050565b6000806000606084860312156130f757600080fd5b613100846129dc565b95602085013595506040909401359392505050565b600181811c9082168061312957607f821691505b60208210811415613163577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156131ca576131ca613169565b5060010190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561320957613209613169565b500290565b600082613244577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000821982111561328b5761328b613169565b500190565b6040815260006132a36040830185612e4f565b82810360208401526132b58185612e4f565b95945050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525084604083015283606083015260a0608083015261330360a0830184612a7a565b979650505050505050565b60006020828403121561332057600080fd5b815161088281612a2f565b600060033d11156133445760046000803e5060005160e01c5b90565b600060443d10156133555790565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc803d016004833e81513d67ffffffffffffffff81602484011181841117156133a357505050505090565b82850191508151818111156133bb5750505050505090565b843d87010160208285010111156133d55750505050505090565b6133e460208286010187612b62565b509095945050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525060a0604083015261342860a0830186612e4f565b828103606084015261343a8186612e4f565b9050828103608084015261344e8185612a7a565b9897505050505050505056fea26469706673582212204f5d5a9a838a303312ee8e59df8b0c3838716f7522ed4da4b5cb994e210239d264736f6c634300080900330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000f697066733a2f2f626173655f7572690000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061020a5760003560e01c806374c13fda1161012a578063bd32fb66116100bd578063e985e9c51161008c578063f2fde38b11610071578063f2fde38b146104b1578063f473b32c146104c4578063f5298aca146104d757600080fd5b8063e985e9c514610455578063f242432a1461049e57600080fd5b8063bd32fb6614610413578063c68b330514610426578063d1454bf414610439578063d5abeb011461044c57600080fd5b80638da5cb5b116100f95780638da5cb5b146103c757806395d89b41146103ef578063a22cb465146103f7578063aa98e0c61461040a57600080fd5b806374c13fda14610378578063772dc32f14610381578063862440e2146103a157806388104333146103b457600080fd5b80634209a2e1116101a2578063537924ef11610171578063537924ef1461033757806355f804b31461034a57806369b5b29c1461035d578063715018a61461037057600080fd5b80634209a2e1146102e95780634e1273f4146102fc5780634f02c4201461031c57806353135ca01461032557600080fd5b80631249c58b116101de5780631249c58b146102805780632a55205a1461028a5780632eb2c2d6146102c95780633f2981cf146102dc57600080fd5b8062fdd58e1461020f57806301ffc9a71461023557806306fdde03146102585780630e89341c1461026d575b600080fd5b61022261021d366004612a05565b6104ea565b6040519081526020015b60405180910390f35b610248610243366004612a5d565b6105c7565b604051901515815260200161022c565b6102606106bb565b60405161022c9190612ae5565b61026061027b366004612af8565b610749565b610288610889565b005b61029d610298366004612b11565b610a54565b6040805173ffffffffffffffffffffffffffffffffffffffff909316835260208301919091520161022c565b6102886102d7366004612cd4565b610a9f565b600b546102489060ff1681565b6102886102f7366004612af8565b610b68565b61030f61030a366004612deb565b610c59565b60405161022c9190612e8a565b61022260095481565b600b5461024890610100900460ff1681565b610288610345366004612e9d565b610db1565b610288610358366004612f12565b611077565b61028861036b366004612b11565b61110f565b6102886111ab565b61022260085481565b61022261038f366004612f4f565b600d6020526000908152604090205481565b6102886103af366004612f6a565b611236565b6102886103c2366004612af8565b61131b565b60025460405173ffffffffffffffffffffffffffffffffffffffff909116815260200161022c565b6102606113a1565b610288610405366004612fb7565b6113ae565b61022260065481565b610288610421366004612af8565b6113b9565b610288610434366004612fea565b61143f565b610288610447366004612fea565b6114f1565b61022260075481565b610248610463366004613005565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205460ff1690565b6102886104ac36600461302f565b6115a9565b6102886104bf366004612f4f565b61166b565b6102886104d2366004613094565b61179b565b6102886104e53660046130e2565b611874565b600073ffffffffffffffffffffffffffffffffffffffff8316610594576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526020818152604080832073ffffffffffffffffffffffffffffffffffffffff949094168352929052205490565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167fd9b67a2600000000000000000000000000000000000000000000000000000000148061065a57507fffffffff0000000000000000000000000000000000000000000000000000000082167f0e89341c00000000000000000000000000000000000000000000000000000000145b806106a657507fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a00000000000000000000000000000000000000000000000000000000145b806106b557506106b582611900565b92915050565b600380546106c890613115565b80601f01602080910402602001604051908101604052809291908181526020018280546106f490613115565b80156107415780601f1061071657610100808354040283529160200191610741565b820191906000526020600020905b81548152906001019060200180831161072457829003601f168201915b505050505081565b6000818152600c602052604081208054606092919061076790613115565b80601f016020809104026020016040519081016040528092919081815260200182805461079390613115565b80156107e05780601f106107b5576101008083540402835291602001916107e0565b820191906000526020600020905b8154815290600101906020018083116107c357829003601f168201915b50505050509050600081511161088057600580546107fd90613115565b80601f016020809104026020016040519081016040528092919081815260200182805461082990613115565b80156108765780601f1061084b57610100808354040283529160200191610876565b820191906000526020600020905b81548152906001019060200180831161085957829003601f168201915b5050505050610882565b805b9392505050565b600b5460ff166108f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f53616c6520686173206e6f742073746172746564207965742e00000000000000604482015260640161058b565b336000908152600d602052604090205460011161096e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f45786365656473206d696e7420616c6c6f636174696f6e000000000000000000604482015260640161058b565b600754600954106109db576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f45786365656473206d617820737570706c790000000000000000000000000000604482015260640161058b565b600980549060006109eb83613198565b9190505550600d60006109fb3390565b73ffffffffffffffffffffffffffffffffffffffff16815260208101919091526040016000908120805491610a2f83613198565b9190505550610a52336008546001604051806020016040528060008152506119e3565b565b6000806000612710600a5485610a6a91906131d1565b610a74919061320e565b9050610a9560025473ffffffffffffffffffffffffffffffffffffffff1690565b9590945092505050565b73ffffffffffffffffffffffffffffffffffffffff8516331480610ac85750610ac88533610463565b610b54576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000606482015260840161058b565b610b618585858585611b69565b5050505050565b60025473ffffffffffffffffffffffffffffffffffffffff163314610be9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058b565b6109c48110610c54576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f526f79616c7479206f7665722032352500000000000000000000000000000000604482015260640161058b565b600a55565b60608151835114610cec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d617463680000000000000000000000000000000000000000000000606482015260840161058b565b6000835167ffffffffffffffff811115610d0857610d08612b33565b604051908082528060200260200182016040528015610d31578160200160208202803683370190505b50905060005b8451811015610da957610d7c858281518110610d5557610d55613249565b6020026020010151858381518110610d6f57610d6f613249565b60200260200101516104ea565b828281518110610d8e57610d8e613249565b6020908102919091010152610da281613198565b9050610d37565b509392505050565b600b54610100900460ff16610e22576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f53616c6520686173206e6f742073746172746564207965742e00000000000000604482015260640161058b565b336000908152600d6020526040902054600111610e9b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f45786365656473206d696e7420616c6c6f636174696f6e000000000000000000604482015260640161058b565b60075460095410610f08576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f45786365656473206d617820737570706c790000000000000000000000000000604482015260640161058b565b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b166020820152600090603401604051602081830303815290604052805190602001209050610f95838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506006549150849050611ea3565b610ffb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f496e76616c69642070726f6f6600000000000000000000000000000000000000604482015260640161058b565b6009805490600061100b83613198565b9190505550600d600061101b3390565b73ffffffffffffffffffffffffffffffffffffffff1681526020810191909152604001600090812080549161104f83613198565b9190505550611072336008546001604051806020016040528060008152506119e3565b505050565b60025473ffffffffffffffffffffffffffffffffffffffff1633146110f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058b565b805161110b906005906020840190612943565b5050565b60025473ffffffffffffffffffffffffffffffffffffffff163314611190576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058b565b61110b338383604051806020016040528060008152506119e3565b60025473ffffffffffffffffffffffffffffffffffffffff16331461122c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058b565b610a526000611eb9565b60025473ffffffffffffffffffffffffffffffffffffffff1633146112b7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058b565b6000828152600c6020908152604090912082516112d692840190612943565b50817f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b61130284610749565b60405161130f9190612ae5565b60405180910390a25050565b60025473ffffffffffffffffffffffffffffffffffffffff16331461139c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058b565b600855565b600480546106c890613115565b61110b338383611f30565b60025473ffffffffffffffffffffffffffffffffffffffff16331461143a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058b565b600655565b60025473ffffffffffffffffffffffffffffffffffffffff1633146114c0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058b565b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b60025473ffffffffffffffffffffffffffffffffffffffff163314611572576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058b565b600b8054911515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909216919091179055565b73ffffffffffffffffffffffffffffffffffffffff85163314806115d257506115d28533610463565b61165e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f7665640000000000000000000000000000000000000000000000606482015260840161058b565b610b618585858585612084565b60025473ffffffffffffffffffffffffffffffffffffffff1633146116ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058b565b73ffffffffffffffffffffffffffffffffffffffff811661178f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161058b565b61179881611eb9565b50565b60025473ffffffffffffffffffffffffffffffffffffffff16331461181c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058b565b60005b835181101561186e5761185c84828151811061183d5761183d613249565b60200260200101518484604051806020016040528060008152506119e3565b8061186681613198565b91505061181f565b50505050565b60025473ffffffffffffffffffffffffffffffffffffffff1633146118f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058b565b6110728383836122a7565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167fd9b67a2600000000000000000000000000000000000000000000000000000000148061199357507fffffffff0000000000000000000000000000000000000000000000000000000082167f0e89341c00000000000000000000000000000000000000000000000000000000145b806106b557507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146106b5565b73ffffffffffffffffffffffffffffffffffffffff8416611a86576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f7300000000000000000000000000000000000000000000000000000000000000606482015260840161058b565b82611abd576040517f7321e15a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008381526020818152604080832073ffffffffffffffffffffffffffffffffffffffff88168452909152812080543392859291611afc908490613278565b9091555050604080518581526020810185905273ffffffffffffffffffffffffffffffffffffffff80881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610b6181600087878787612481565b8151835114611bfa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d61746368000000000000000000000000000000000000000000000000606482015260840161058b565b73ffffffffffffffffffffffffffffffffffffffff8416611c9d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161058b565b3360005b8451811015611e0e576000858281518110611cbe57611cbe613249565b602002602001015190506000858381518110611cdc57611cdc613249565b6020908102919091018101516000848152808352604080822073ffffffffffffffffffffffffffffffffffffffff8e168352909352919091205490915081811015611da9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e7366657200000000000000000000000000000000000000000000606482015260840161058b565b60008381526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8e8116855292528083208585039055908b16825281208054849290611df3908490613278565b9250508190555050505080611e0790613198565b9050611ca1565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611e85929190613290565b60405180910390a4611e9b81878787878761271b565b505050505050565b600082611eb085846128d7565b14949350505050565b6002805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611fec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c660000000000000000000000000000000000000000000000606482015260840161058b565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8416612127576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161058b565b60008381526020818152604080832073ffffffffffffffffffffffffffffffffffffffff891684529091529020543390838110156121e7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e7366657200000000000000000000000000000000000000000000606482015260840161058b565b60008581526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8b8116855292528083208785039055908816825281208054869290612231908490613278565b9091555050604080518681526020810186905273ffffffffffffffffffffffffffffffffffffffff808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461229e828888888888612481565b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff831661234a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161058b565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152902054339082811015612409576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60448201527f616e636500000000000000000000000000000000000000000000000000000000606482015260840161058b565b60008481526020818152604080832073ffffffffffffffffffffffffffffffffffffffff898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b73ffffffffffffffffffffffffffffffffffffffff84163b15611e9b576040517ff23a6e6100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063f23a6e61906124f890899089908890889088906004016132be565b602060405180830381600087803b15801561251257600080fd5b505af1925050508015612560575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261255d9181019061330e565b60015b61264a5761256c61332b565b806308c379a014156125c05750612581613347565b8061258c57506125c2565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161058b9190612ae5565b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e746572000000000000000000000000606482015260840161058b565b7fffffffff0000000000000000000000000000000000000000000000000000000081167ff23a6e61000000000000000000000000000000000000000000000000000000001461229e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e73000000000000000000000000000000000000000000000000606482015260840161058b565b73ffffffffffffffffffffffffffffffffffffffff84163b15611e9b576040517fbc197c8100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063bc197c819061279290899089908890889088906004016133ef565b602060405180830381600087803b1580156127ac57600080fd5b505af19250505080156127fa575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526127f79181019061330e565b60015b6128065761256c61332b565b7fffffffff0000000000000000000000000000000000000000000000000000000081167fbc197c81000000000000000000000000000000000000000000000000000000001461229e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e73000000000000000000000000000000000000000000000000606482015260840161058b565b600081815b8451811015610da95760008582815181106128f9576128f9613249565b6020026020010151905080831161291f5760008381526020829052604090209250612930565b600081815260208490526040902092505b508061293b81613198565b9150506128dc565b82805461294f90613115565b90600052602060002090601f01602090048101928261297157600085556129b7565b82601f1061298a57805160ff19168380011785556129b7565b828001600101855582156129b7579182015b828111156129b757825182559160200191906001019061299c565b506129c39291506129c7565b5090565b5b808211156129c357600081556001016129c8565b803573ffffffffffffffffffffffffffffffffffffffff81168114612a0057600080fd5b919050565b60008060408385031215612a1857600080fd5b612a21836129dc565b946020939093013593505050565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461179857600080fd5b600060208284031215612a6f57600080fd5b813561088281612a2f565b6000815180845260005b81811015612aa057602081850181015186830182015201612a84565b81811115612ab2576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006108826020830184612a7a565b600060208284031215612b0a57600080fd5b5035919050565b60008060408385031215612b2457600080fd5b50508035926020909101359150565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116810181811067ffffffffffffffff82111715612ba657612ba6612b33565b6040525050565b600067ffffffffffffffff821115612bc757612bc7612b33565b5060051b60200190565b600082601f830112612be257600080fd5b81356020612bef82612bad565b604051612bfc8282612b62565b83815260059390931b8501820192828101915086841115612c1c57600080fd5b8286015b84811015612c375780358352918301918301612c20565b509695505050505050565b600082601f830112612c5357600080fd5b813567ffffffffffffffff811115612c6d57612c6d612b33565b604051612ca260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8501160182612b62565b818152846020838601011115612cb757600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a08688031215612cec57600080fd5b612cf5866129dc565b9450612d03602087016129dc565b9350604086013567ffffffffffffffff80821115612d2057600080fd5b612d2c89838a01612bd1565b94506060880135915080821115612d4257600080fd5b612d4e89838a01612bd1565b93506080880135915080821115612d6457600080fd5b50612d7188828901612c42565b9150509295509295909350565b600082601f830112612d8f57600080fd5b81356020612d9c82612bad565b604051612da98282612b62565b83815260059390931b8501820192828101915086841115612dc957600080fd5b8286015b84811015612c3757612dde816129dc565b8352918301918301612dcd565b60008060408385031215612dfe57600080fd5b823567ffffffffffffffff80821115612e1657600080fd5b612e2286838701612d7e565b93506020850135915080821115612e3857600080fd5b50612e4585828601612bd1565b9150509250929050565b600081518084526020808501945080840160005b83811015612e7f57815187529582019590820190600101612e63565b509495945050505050565b6020815260006108826020830184612e4f565b60008060208385031215612eb057600080fd5b823567ffffffffffffffff80821115612ec857600080fd5b818501915085601f830112612edc57600080fd5b813581811115612eeb57600080fd5b8660208260051b8501011115612f0057600080fd5b60209290920196919550909350505050565b600060208284031215612f2457600080fd5b813567ffffffffffffffff811115612f3b57600080fd5b612f4784828501612c42565b949350505050565b600060208284031215612f6157600080fd5b610882826129dc565b60008060408385031215612f7d57600080fd5b82359150602083013567ffffffffffffffff811115612f9b57600080fd5b612e4585828601612c42565b80358015158114612a0057600080fd5b60008060408385031215612fca57600080fd5b612fd3836129dc565b9150612fe160208401612fa7565b90509250929050565b600060208284031215612ffc57600080fd5b61088282612fa7565b6000806040838503121561301857600080fd5b613021836129dc565b9150612fe1602084016129dc565b600080600080600060a0868803121561304757600080fd5b613050866129dc565b945061305e602087016129dc565b93506040860135925060608601359150608086013567ffffffffffffffff81111561308857600080fd5b612d7188828901612c42565b6000806000606084860312156130a957600080fd5b833567ffffffffffffffff8111156130c057600080fd5b6130cc86828701612d7e565b9660208601359650604090950135949350505050565b6000806000606084860312156130f757600080fd5b613100846129dc565b95602085013595506040909401359392505050565b600181811c9082168061312957607f821691505b60208210811415613163577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156131ca576131ca613169565b5060010190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561320957613209613169565b500290565b600082613244577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000821982111561328b5761328b613169565b500190565b6040815260006132a36040830185612e4f565b82810360208401526132b58185612e4f565b95945050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525084604083015283606083015260a0608083015261330360a0830184612a7a565b979650505050505050565b60006020828403121561332057600080fd5b815161088281612a2f565b600060033d11156133445760046000803e5060005160e01c5b90565b600060443d10156133555790565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc803d016004833e81513d67ffffffffffffffff81602484011181841117156133a357505050505090565b82850191508151818111156133bb5750505050505090565b843d87010160208285010111156133d55750505050505090565b6133e460208286010187612b62565b509095945050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525060a0604083015261342860a0830186612e4f565b828103606084015261343a8186612e4f565b9050828103608084015261344e8185612a7a565b9897505050505050505056fea26469706673582212204f5d5a9a838a303312ee8e59df8b0c3838716f7522ed4da4b5cb994e210239d264736f6c63430008090033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000f697066733a2f2f626173655f7572690000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _baseURI (string): ipfs://base_uri

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [2] : 697066733a2f2f626173655f7572690000000000000000000000000000000000


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.