ETH Price: $2,977.88 (+4.07%)
Gas: 1 Gwei

Token

 

Overview

Max Total Supply

69

Holders

18

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
thingelstad.eth
0x2bda946a7740b1ddb0fd5c226819170c4dd15720
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:
Token

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : ERC1155.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract Token is ERC1155, Ownable, Pausable {
    struct Item {
        string name;
        uint256 price;
        uint64 limit;
    }

    bool private saleIsActive;

    mapping(uint8 => Item) private items;
    mapping(uint256 => uint256) private totalSupply;

    constructor(string memory _url) ERC1155(_url) {}    

    function withdraw() external onlyOwner {
        address _owner = owner();
        payable(_owner).transfer(address(this).balance);
    }

    function pause() external onlyOwner {
        _pause();
    }

    function unpause() external onlyOwner {
        _unpause();
    }

    function flipSaleState() external onlyOwner {
        saleIsActive = !saleIsActive;
    }

    function setURI(string memory newuri) external onlyOwner {
        _setURI(newuri);
    }    

    function addItem(uint8 _id, Item memory _item) external onlyOwner {
        items[_id] = _item;
    }

    function mint(uint8 _id, uint8 _amount) external payable {
        require(saleIsActive, "sale is not active");
        require(!paused(), "it should not be paused");

        Item memory item = items[_id];
        require(item.limit == 0 || item.limit >= totalSupply[_id] + _amount, "your purchase exceeds maximum tokens limit");

        require(item.price > 0, "item price should be >= 0");
        require(msg.value >= item.price * _amount, "amount sent is not enough for purchase");

        totalSupply[_id] += _amount;
        _mint(msg.sender, _id, _amount, "");
    }

    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override(ERC1155) {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);

        require(!paused(), "token transfer while paused");
    }    
}

File 2 of 11 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;

import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @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._
 */
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;

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

    /**
     * @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 {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @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();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data);

        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();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        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 Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @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 _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data);

        _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 _mintBatch(
        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();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _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();

        _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), "");

        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 _burnBatch(
        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();

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        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);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    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 3 of 11 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 4 of 11 : 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 11 : 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 6 of 11 : 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 7 of 11 : 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 8 of 11 : 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 9 of 11 : 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 10 of 11 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_url","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"uint8","name":"_id","type":"uint8"},{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint64","name":"limit","type":"uint64"}],"internalType":"struct Token.Item","name":"_item","type":"tuple"}],"name":"addItem","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":[],"name":"flipSaleState","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":[{"internalType":"uint8","name":"_id","type":"uint8"},{"internalType":"uint8","name":"_amount","type":"uint8"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"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":"newuri","type":"string"}],"name":"setURI","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":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620042c3380380620042c3833981810160405281019062000037919062000298565b8062000049816200008c60201b60201c565b506200006a6200005e620000a860201b60201c565b620000b060201b60201c565b6000600360146101000a81548160ff021916908315150217905550506200044d565b8060029080519060200190620000a492919062000176565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001849062000372565b90600052602060002090601f016020900481019282620001a85760008555620001f4565b82601f10620001c357805160ff1916838001178555620001f4565b82800160010185558215620001f4579182015b82811115620001f3578251825591602001919060010190620001d6565b5b50905062000203919062000207565b5090565b5b808211156200022257600081600090555060010162000208565b5090565b60006200023d620002378462000306565b620002dd565b9050828152602081018484840111156200025657600080fd5b620002638482856200033c565b509392505050565b600082601f8301126200027d57600080fd5b81516200028f84826020860162000226565b91505092915050565b600060208284031215620002ab57600080fd5b600082015167ffffffffffffffff811115620002c657600080fd5b620002d4848285016200026b565b91505092915050565b6000620002e9620002fc565b9050620002f78282620003a8565b919050565b6000604051905090565b600067ffffffffffffffff8211156200032457620003236200040d565b5b6200032f826200043c565b9050602081019050919050565b60005b838110156200035c5780820151818401526020810190506200033f565b838111156200036c576000848401525b50505050565b600060028204905060018216806200038b57607f821691505b60208210811415620003a257620003a1620003de565b5b50919050565b620003b3826200043c565b810181811067ffffffffffffffff82111715620003d557620003d46200040d565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b613e66806200045d6000396000f3fe6080604052600436106101135760003560e01c80634e1273f4116100a05780638da5cb5b116100645780638da5cb5b14610341578063a22cb4651461036c578063e985e9c514610395578063f242432a146103d2578063f2fde38b146103fb57610113565b80634e1273f4146102825780635c975abb146102bf578063715018a6146102ea578063734f29d5146103015780638456cb591461032a57610113565b806329a0eee8116100e757806329a0eee8146101f85780632eb2c2d61461021457806334918dfd1461023d5780633ccfd60b146102545780633f4ba83a1461026b57610113565b8062fdd58e1461011857806301ffc9a71461015557806302fe5305146101925780630e89341c146101bb575b600080fd5b34801561012457600080fd5b5061013f600480360381019061013a9190612901565b610424565b60405161014c919061330b565b60405180910390f35b34801561016157600080fd5b5061017c600480360381019061017791906129a9565b6104ed565b604051610189919061302e565b60405180910390f35b34801561019e57600080fd5b506101b960048036038101906101b491906129fb565b6105cf565b005b3480156101c757600080fd5b506101e260048036038101906101dd9190612a3c565b610657565b6040516101ef9190613049565b60405180910390f35b610212600480360381019061020d9190612ab9565b6106eb565b005b34801561022057600080fd5b5061023b60048036038101906102369190612777565b6109f8565b005b34801561024957600080fd5b50610252610a99565b005b34801561026057600080fd5b50610269610b41565b005b34801561027757600080fd5b50610280610c13565b005b34801561028e57600080fd5b506102a960048036038101906102a4919061293d565b610c99565b6040516102b69190612fd5565b60405180910390f35b3480156102cb57600080fd5b506102d4610e4a565b6040516102e1919061302e565b60405180910390f35b3480156102f657600080fd5b506102ff610e61565b005b34801561030d57600080fd5b5061032860048036038101906103239190612a65565b610ee9565b005b34801561033657600080fd5b5061033f610fdc565b005b34801561034d57600080fd5b50610356611062565b6040516103639190612ef8565b60405180910390f35b34801561037857600080fd5b50610393600480360381019061038e91906128c5565b61108c565b005b3480156103a157600080fd5b506103bc60048036038101906103b7919061273b565b6110a2565b6040516103c9919061302e565b60405180910390f35b3480156103de57600080fd5b506103f960048036038101906103f49190612836565b611136565b005b34801561040757600080fd5b50610422600480360381019061041d9190612712565b6111d7565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610495576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161048c906130eb565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105b857507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105c857506105c7826112cf565b5b9050919050565b6105d7611339565b73ffffffffffffffffffffffffffffffffffffffff166105f5611062565b73ffffffffffffffffffffffffffffffffffffffff161461064b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610642906131eb565b60405180910390fd5b61065481611341565b50565b60606002805461066690613626565b80601f016020809104026020016040519081016040528092919081815260200182805461069290613626565b80156106df5780601f106106b4576101008083540402835291602001916106df565b820191906000526020600020905b8154815290600101906020018083116106c257829003601f168201915b50505050509050919050565b600360159054906101000a900460ff1661073a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107319061314b565b60405180910390fd5b610742610e4a565b15610782576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610779906132cb565b60405180910390fd5b6000600460008460ff1660ff1681526020019081526020016000206040518060600160405290816000820180546107b890613626565b80601f01602080910402602001604051908101604052809291908181526020018280546107e490613626565b80156108315780601f1061080657610100808354040283529160200191610831565b820191906000526020600020905b81548152906001019060200180831161081457829003601f168201915b50505050508152602001600182015481526020016002820160009054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff168152505090506000816040015167ffffffffffffffff1614806108c757508160ff16600560008560ff168152602001908152602001600020546108b5919061349f565b816040015167ffffffffffffffff1610155b610906576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108fd9061324b565b60405180910390fd5b600081602001511161094d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109449061320b565b60405180910390fd5b8160ff16816020015161096091906134f5565b3410156109a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109999061306b565b60405180910390fd5b8160ff16600560008560ff16815260200190815260200160002060008282546109cb919061349f565b925050819055506109f3338460ff168460ff166040518060200160405280600081525061135b565b505050565b610a00611339565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610a465750610a4585610a40611339565b6110a2565b5b610a85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7c906131ab565b60405180910390fd5b610a9285858585856114f1565b5050505050565b610aa1611339565b73ffffffffffffffffffffffffffffffffffffffff16610abf611062565b73ffffffffffffffffffffffffffffffffffffffff1614610b15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0c906131eb565b60405180910390fd5b600360159054906101000a900460ff1615600360156101000a81548160ff021916908315150217905550565b610b49611339565b73ffffffffffffffffffffffffffffffffffffffff16610b67611062565b73ffffffffffffffffffffffffffffffffffffffff1614610bbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb4906131eb565b60405180910390fd5b6000610bc7611062565b90508073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610c0f573d6000803e3d6000fd5b5050565b610c1b611339565b73ffffffffffffffffffffffffffffffffffffffff16610c39611062565b73ffffffffffffffffffffffffffffffffffffffff1614610c8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c86906131eb565b60405180910390fd5b610c97611851565b565b60608151835114610cdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd69061328b565b60405180910390fd5b6000835167ffffffffffffffff811115610d22577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610d505781602001602082028036833780820191505090505b50905060005b8451811015610e3f57610de9858281518110610d9b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110610ddc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610424565b828281518110610e22577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080610e3890613689565b9050610d56565b508091505092915050565b6000600360149054906101000a900460ff16905090565b610e69611339565b73ffffffffffffffffffffffffffffffffffffffff16610e87611062565b73ffffffffffffffffffffffffffffffffffffffff1614610edd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed4906131eb565b60405180910390fd5b610ee760006118f3565b565b610ef1611339565b73ffffffffffffffffffffffffffffffffffffffff16610f0f611062565b73ffffffffffffffffffffffffffffffffffffffff1614610f65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5c906131eb565b60405180910390fd5b80600460008460ff1660ff1681526020019081526020016000206000820151816000019080519060200190610f9b929190612368565b506020820151816001015560408201518160020160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505050565b610fe4611339565b73ffffffffffffffffffffffffffffffffffffffff16611002611062565b73ffffffffffffffffffffffffffffffffffffffff1614611058576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104f906131eb565b60405180910390fd5b6110606119b9565b565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61109e611097611339565b8383611a5c565b5050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61113e611339565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061118457506111838561117e611339565b6110a2565b5b6111c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ba9061312b565b60405180910390fd5b6111d08585858585611bc9565b5050505050565b6111df611339565b73ffffffffffffffffffffffffffffffffffffffff166111fd611062565b73ffffffffffffffffffffffffffffffffffffffff1614611253576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124a906131eb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ba9061310b565b60405180910390fd5b6112cc816118f3565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b8060029080519060200190611357929190612368565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156113cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c2906132eb565b60405180910390fd5b60006113d5611339565b90506113f6816000876113e788611e4b565b6113f088611e4b565b87611f11565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611455919061349f565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516114d3929190613326565b60405180910390a46114ea81600087878787611f6f565b5050505050565b8151835114611535576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152c906132ab565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156115a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159c9061318b565b60405180910390fd5b60006115af611339565b90506115bf818787878787611f11565b60005b84518110156117bc576000858281518110611606577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600085838151811061164b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156116ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e3906131cb565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117a1919061349f565b92505081905550505050806117b590613689565b90506115c2565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611833929190612ff7565b60405180910390a4611849818787878787612156565b505050505050565b611859610e4a565b611898576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188f906130cb565b60405180910390fd5b6000600360146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6118dc611339565b6040516118e99190612ef8565b60405180910390a1565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6119c1610e4a565b15611a01576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f89061316b565b60405180910390fd5b6001600360146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611a45611339565b604051611a529190612ef8565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611acb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac29061326b565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611bbc919061302e565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611c39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c309061318b565b60405180910390fd5b6000611c43611339565b9050611c63818787611c5488611e4b565b611c5d88611e4b565b87611f11565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611cfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf1906131cb565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611daf919061349f565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051611e2c929190613326565b60405180910390a4611e42828888888888611f6f565b50505050505050565b60606000600167ffffffffffffffff811115611e90577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611ebe5781602001602082028036833780820191505090505b5090508281600081518110611efc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b611f1f86868686868661233d565b611f27610e4a565b15611f67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5e9061322b565b60405180910390fd5b505050505050565b611f8e8473ffffffffffffffffffffffffffffffffffffffff16612345565b1561214e578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401611fd4959493929190612f7b565b602060405180830381600087803b158015611fee57600080fd5b505af192505050801561201f57506040513d601f19601f8201168201806040525081019061201c91906129d2565b60015b6120c55761202b61375f565b806308c379a014156120885750612040613d10565b8061204b575061208a565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207f9190613049565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120bc9061308b565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461214c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612143906130ab565b60405180910390fd5b505b505050505050565b6121758473ffffffffffffffffffffffffffffffffffffffff16612345565b15612335578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016121bb959493929190612f13565b602060405180830381600087803b1580156121d557600080fd5b505af192505050801561220657506040513d601f19601f8201168201806040525081019061220391906129d2565b60015b6122ac5761221261375f565b806308c379a0141561226f5750612227613d10565b806122325750612271565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122669190613049565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a39061308b565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612333576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232a906130ab565b60405180910390fd5b505b505050505050565b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461237490613626565b90600052602060002090601f01602090048101928261239657600085556123dd565b82601f106123af57805160ff19168380011785556123dd565b828001600101855582156123dd579182015b828111156123dc5782518255916020019190600101906123c1565b5b5090506123ea91906123ee565b5090565b5b808211156124075760008160009055506001016123ef565b5090565b600061241e61241984613374565b61334f565b9050808382526020820190508285602086028201111561243d57600080fd5b60005b8581101561246d5781612453888261255f565b845260208401935060208301925050600181019050612440565b5050509392505050565b600061248a612485846133a0565b61334f565b905080838252602082019050828560208602820111156124a957600080fd5b60005b858110156124d957816124bf88826126d3565b8452602084019350602083019250506001810190506124ac565b5050509392505050565b60006124f66124f1846133cc565b61334f565b90508281526020810184848401111561250e57600080fd5b6125198482856135e4565b509392505050565b600061253461252f846133fd565b61334f565b90508281526020810184848401111561254c57600080fd5b6125578482856135e4565b509392505050565b60008135905061256e81613da6565b92915050565b600082601f83011261258557600080fd5b813561259584826020860161240b565b91505092915050565b600082601f8301126125af57600080fd5b81356125bf848260208601612477565b91505092915050565b6000813590506125d781613dbd565b92915050565b6000813590506125ec81613dd4565b92915050565b60008151905061260181613dd4565b92915050565b600082601f83011261261857600080fd5b81356126288482602086016124e3565b91505092915050565b600082601f83011261264257600080fd5b8135612652848260208601612521565b91505092915050565b60006060828403121561266d57600080fd5b612677606061334f565b9050600082013567ffffffffffffffff81111561269357600080fd5b61269f84828501612631565b60008301525060206126b3848285016126d3565b60208301525060406126c7848285016126e8565b60408301525092915050565b6000813590506126e281613deb565b92915050565b6000813590506126f781613e02565b92915050565b60008135905061270c81613e19565b92915050565b60006020828403121561272457600080fd5b60006127328482850161255f565b91505092915050565b6000806040838503121561274e57600080fd5b600061275c8582860161255f565b925050602061276d8582860161255f565b9150509250929050565b600080600080600060a0868803121561278f57600080fd5b600061279d8882890161255f565b95505060206127ae8882890161255f565b945050604086013567ffffffffffffffff8111156127cb57600080fd5b6127d78882890161259e565b935050606086013567ffffffffffffffff8111156127f457600080fd5b6128008882890161259e565b925050608086013567ffffffffffffffff81111561281d57600080fd5b61282988828901612607565b9150509295509295909350565b600080600080600060a0868803121561284e57600080fd5b600061285c8882890161255f565b955050602061286d8882890161255f565b945050604061287e888289016126d3565b935050606061288f888289016126d3565b925050608086013567ffffffffffffffff8111156128ac57600080fd5b6128b888828901612607565b9150509295509295909350565b600080604083850312156128d857600080fd5b60006128e68582860161255f565b92505060206128f7858286016125c8565b9150509250929050565b6000806040838503121561291457600080fd5b60006129228582860161255f565b9250506020612933858286016126d3565b9150509250929050565b6000806040838503121561295057600080fd5b600083013567ffffffffffffffff81111561296a57600080fd5b61297685828601612574565b925050602083013567ffffffffffffffff81111561299357600080fd5b61299f8582860161259e565b9150509250929050565b6000602082840312156129bb57600080fd5b60006129c9848285016125dd565b91505092915050565b6000602082840312156129e457600080fd5b60006129f2848285016125f2565b91505092915050565b600060208284031215612a0d57600080fd5b600082013567ffffffffffffffff811115612a2757600080fd5b612a3384828501612631565b91505092915050565b600060208284031215612a4e57600080fd5b6000612a5c848285016126d3565b91505092915050565b60008060408385031215612a7857600080fd5b6000612a86858286016126fd565b925050602083013567ffffffffffffffff811115612aa357600080fd5b612aaf8582860161265b565b9150509250929050565b60008060408385031215612acc57600080fd5b6000612ada858286016126fd565b9250506020612aeb858286016126fd565b9150509250929050565b6000612b018383612eda565b60208301905092915050565b612b168161354f565b82525050565b6000612b278261343e565b612b31818561346c565b9350612b3c8361342e565b8060005b83811015612b6d578151612b548882612af5565b9750612b5f8361345f565b925050600181019050612b40565b5085935050505092915050565b612b8381613561565b82525050565b6000612b9482613449565b612b9e818561347d565b9350612bae8185602086016135f3565b612bb781613781565b840191505092915050565b6000612bcd82613454565b612bd7818561348e565b9350612be78185602086016135f3565b612bf081613781565b840191505092915050565b6000612c0860268361348e565b9150612c138261379f565b604082019050919050565b6000612c2b60348361348e565b9150612c36826137ee565b604082019050919050565b6000612c4e60288361348e565b9150612c598261383d565b604082019050919050565b6000612c7160148361348e565b9150612c7c8261388c565b602082019050919050565b6000612c94602b8361348e565b9150612c9f826138b5565b604082019050919050565b6000612cb760268361348e565b9150612cc282613904565b604082019050919050565b6000612cda60298361348e565b9150612ce582613953565b604082019050919050565b6000612cfd60128361348e565b9150612d08826139a2565b602082019050919050565b6000612d2060108361348e565b9150612d2b826139cb565b602082019050919050565b6000612d4360258361348e565b9150612d4e826139f4565b604082019050919050565b6000612d6660328361348e565b9150612d7182613a43565b604082019050919050565b6000612d89602a8361348e565b9150612d9482613a92565b604082019050919050565b6000612dac60208361348e565b9150612db782613ae1565b602082019050919050565b6000612dcf60198361348e565b9150612dda82613b0a565b602082019050919050565b6000612df2601b8361348e565b9150612dfd82613b33565b602082019050919050565b6000612e15602a8361348e565b9150612e2082613b5c565b604082019050919050565b6000612e3860298361348e565b9150612e4382613bab565b604082019050919050565b6000612e5b60298361348e565b9150612e6682613bfa565b604082019050919050565b6000612e7e60288361348e565b9150612e8982613c49565b604082019050919050565b6000612ea160178361348e565b9150612eac82613c98565b602082019050919050565b6000612ec460218361348e565b9150612ecf82613cc1565b604082019050919050565b612ee3816135b9565b82525050565b612ef2816135b9565b82525050565b6000602082019050612f0d6000830184612b0d565b92915050565b600060a082019050612f286000830188612b0d565b612f356020830187612b0d565b8181036040830152612f478186612b1c565b90508181036060830152612f5b8185612b1c565b90508181036080830152612f6f8184612b89565b90509695505050505050565b600060a082019050612f906000830188612b0d565b612f9d6020830187612b0d565b612faa6040830186612ee9565b612fb76060830185612ee9565b8181036080830152612fc98184612b89565b90509695505050505050565b60006020820190508181036000830152612fef8184612b1c565b905092915050565b600060408201905081810360008301526130118185612b1c565b905081810360208301526130258184612b1c565b90509392505050565b60006020820190506130436000830184612b7a565b92915050565b600060208201905081810360008301526130638184612bc2565b905092915050565b6000602082019050818103600083015261308481612bfb565b9050919050565b600060208201905081810360008301526130a481612c1e565b9050919050565b600060208201905081810360008301526130c481612c41565b9050919050565b600060208201905081810360008301526130e481612c64565b9050919050565b6000602082019050818103600083015261310481612c87565b9050919050565b6000602082019050818103600083015261312481612caa565b9050919050565b6000602082019050818103600083015261314481612ccd565b9050919050565b6000602082019050818103600083015261316481612cf0565b9050919050565b6000602082019050818103600083015261318481612d13565b9050919050565b600060208201905081810360008301526131a481612d36565b9050919050565b600060208201905081810360008301526131c481612d59565b9050919050565b600060208201905081810360008301526131e481612d7c565b9050919050565b6000602082019050818103600083015261320481612d9f565b9050919050565b6000602082019050818103600083015261322481612dc2565b9050919050565b6000602082019050818103600083015261324481612de5565b9050919050565b6000602082019050818103600083015261326481612e08565b9050919050565b6000602082019050818103600083015261328481612e2b565b9050919050565b600060208201905081810360008301526132a481612e4e565b9050919050565b600060208201905081810360008301526132c481612e71565b9050919050565b600060208201905081810360008301526132e481612e94565b9050919050565b6000602082019050818103600083015261330481612eb7565b9050919050565b60006020820190506133206000830184612ee9565b92915050565b600060408201905061333b6000830185612ee9565b6133486020830184612ee9565b9392505050565b600061335961336a565b90506133658282613658565b919050565b6000604051905090565b600067ffffffffffffffff82111561338f5761338e613730565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156133bb576133ba613730565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156133e7576133e6613730565b5b6133f082613781565b9050602081019050919050565b600067ffffffffffffffff82111561341857613417613730565b5b61342182613781565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b60006134aa826135b9565b91506134b5836135b9565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156134ea576134e96136d2565b5b828201905092915050565b6000613500826135b9565b915061350b836135b9565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613544576135436136d2565b5b828202905092915050565b600061355a82613599565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156136115780820151818401526020810190506135f6565b83811115613620576000848401525b50505050565b6000600282049050600182168061363e57607f821691505b6020821081141561365257613651613701565b5b50919050565b61366182613781565b810181811067ffffffffffffffff821117156136805761367f613730565b5b80604052505050565b6000613694826135b9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156136c7576136c66136d2565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d111561377e5760046000803e61377b600051613792565b90505b90565b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f616d6f756e742073656e74206973206e6f7420656e6f75676820666f7220707560008201527f7263686173650000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f73616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f6974656d2070726963652073686f756c64206265203e3d203000000000000000600082015250565b7f746f6b656e207472616e73666572207768696c65207061757365640000000000600082015250565b7f796f75722070757263686173652065786365656473206d6178696d756d20746f60008201527f6b656e73206c696d697400000000000000000000000000000000000000000000602082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f69742073686f756c64206e6f7420626520706175736564000000000000000000600082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d1015613d2057613da3565b613d2861336a565b60043d036004823e80513d602482011167ffffffffffffffff82111715613d50575050613da3565b808201805167ffffffffffffffff811115613d6e5750505050613da3565b80602083010160043d038501811115613d8b575050505050613da3565b613d9a82602001850186613658565b82955050505050505b90565b613daf8161354f565b8114613dba57600080fd5b50565b613dc681613561565b8114613dd157600080fd5b50565b613ddd8161356d565b8114613de857600080fd5b50565b613df4816135b9565b8114613dff57600080fd5b50565b613e0b816135c3565b8114613e1657600080fd5b50565b613e22816135d7565b8114613e2d57600080fd5b5056fea2646970667358221220b203a97f2bd88c2c219df02508a8f0da87bb1a4556a5c024081294147af91f4464736f6c634300080400330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002f687474703a2f2f333935632d3137362d39382d31392d34362e6e67726f6b2e696f2f6170692f7b69647d2e6a736f6e0000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101135760003560e01c80634e1273f4116100a05780638da5cb5b116100645780638da5cb5b14610341578063a22cb4651461036c578063e985e9c514610395578063f242432a146103d2578063f2fde38b146103fb57610113565b80634e1273f4146102825780635c975abb146102bf578063715018a6146102ea578063734f29d5146103015780638456cb591461032a57610113565b806329a0eee8116100e757806329a0eee8146101f85780632eb2c2d61461021457806334918dfd1461023d5780633ccfd60b146102545780633f4ba83a1461026b57610113565b8062fdd58e1461011857806301ffc9a71461015557806302fe5305146101925780630e89341c146101bb575b600080fd5b34801561012457600080fd5b5061013f600480360381019061013a9190612901565b610424565b60405161014c919061330b565b60405180910390f35b34801561016157600080fd5b5061017c600480360381019061017791906129a9565b6104ed565b604051610189919061302e565b60405180910390f35b34801561019e57600080fd5b506101b960048036038101906101b491906129fb565b6105cf565b005b3480156101c757600080fd5b506101e260048036038101906101dd9190612a3c565b610657565b6040516101ef9190613049565b60405180910390f35b610212600480360381019061020d9190612ab9565b6106eb565b005b34801561022057600080fd5b5061023b60048036038101906102369190612777565b6109f8565b005b34801561024957600080fd5b50610252610a99565b005b34801561026057600080fd5b50610269610b41565b005b34801561027757600080fd5b50610280610c13565b005b34801561028e57600080fd5b506102a960048036038101906102a4919061293d565b610c99565b6040516102b69190612fd5565b60405180910390f35b3480156102cb57600080fd5b506102d4610e4a565b6040516102e1919061302e565b60405180910390f35b3480156102f657600080fd5b506102ff610e61565b005b34801561030d57600080fd5b5061032860048036038101906103239190612a65565b610ee9565b005b34801561033657600080fd5b5061033f610fdc565b005b34801561034d57600080fd5b50610356611062565b6040516103639190612ef8565b60405180910390f35b34801561037857600080fd5b50610393600480360381019061038e91906128c5565b61108c565b005b3480156103a157600080fd5b506103bc60048036038101906103b7919061273b565b6110a2565b6040516103c9919061302e565b60405180910390f35b3480156103de57600080fd5b506103f960048036038101906103f49190612836565b611136565b005b34801561040757600080fd5b50610422600480360381019061041d9190612712565b6111d7565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610495576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161048c906130eb565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105b857507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105c857506105c7826112cf565b5b9050919050565b6105d7611339565b73ffffffffffffffffffffffffffffffffffffffff166105f5611062565b73ffffffffffffffffffffffffffffffffffffffff161461064b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610642906131eb565b60405180910390fd5b61065481611341565b50565b60606002805461066690613626565b80601f016020809104026020016040519081016040528092919081815260200182805461069290613626565b80156106df5780601f106106b4576101008083540402835291602001916106df565b820191906000526020600020905b8154815290600101906020018083116106c257829003601f168201915b50505050509050919050565b600360159054906101000a900460ff1661073a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107319061314b565b60405180910390fd5b610742610e4a565b15610782576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610779906132cb565b60405180910390fd5b6000600460008460ff1660ff1681526020019081526020016000206040518060600160405290816000820180546107b890613626565b80601f01602080910402602001604051908101604052809291908181526020018280546107e490613626565b80156108315780601f1061080657610100808354040283529160200191610831565b820191906000526020600020905b81548152906001019060200180831161081457829003601f168201915b50505050508152602001600182015481526020016002820160009054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff168152505090506000816040015167ffffffffffffffff1614806108c757508160ff16600560008560ff168152602001908152602001600020546108b5919061349f565b816040015167ffffffffffffffff1610155b610906576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108fd9061324b565b60405180910390fd5b600081602001511161094d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109449061320b565b60405180910390fd5b8160ff16816020015161096091906134f5565b3410156109a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109999061306b565b60405180910390fd5b8160ff16600560008560ff16815260200190815260200160002060008282546109cb919061349f565b925050819055506109f3338460ff168460ff166040518060200160405280600081525061135b565b505050565b610a00611339565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610a465750610a4585610a40611339565b6110a2565b5b610a85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7c906131ab565b60405180910390fd5b610a9285858585856114f1565b5050505050565b610aa1611339565b73ffffffffffffffffffffffffffffffffffffffff16610abf611062565b73ffffffffffffffffffffffffffffffffffffffff1614610b15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0c906131eb565b60405180910390fd5b600360159054906101000a900460ff1615600360156101000a81548160ff021916908315150217905550565b610b49611339565b73ffffffffffffffffffffffffffffffffffffffff16610b67611062565b73ffffffffffffffffffffffffffffffffffffffff1614610bbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb4906131eb565b60405180910390fd5b6000610bc7611062565b90508073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610c0f573d6000803e3d6000fd5b5050565b610c1b611339565b73ffffffffffffffffffffffffffffffffffffffff16610c39611062565b73ffffffffffffffffffffffffffffffffffffffff1614610c8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c86906131eb565b60405180910390fd5b610c97611851565b565b60608151835114610cdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd69061328b565b60405180910390fd5b6000835167ffffffffffffffff811115610d22577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610d505781602001602082028036833780820191505090505b50905060005b8451811015610e3f57610de9858281518110610d9b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110610ddc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610424565b828281518110610e22577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080610e3890613689565b9050610d56565b508091505092915050565b6000600360149054906101000a900460ff16905090565b610e69611339565b73ffffffffffffffffffffffffffffffffffffffff16610e87611062565b73ffffffffffffffffffffffffffffffffffffffff1614610edd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed4906131eb565b60405180910390fd5b610ee760006118f3565b565b610ef1611339565b73ffffffffffffffffffffffffffffffffffffffff16610f0f611062565b73ffffffffffffffffffffffffffffffffffffffff1614610f65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5c906131eb565b60405180910390fd5b80600460008460ff1660ff1681526020019081526020016000206000820151816000019080519060200190610f9b929190612368565b506020820151816001015560408201518160020160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505050565b610fe4611339565b73ffffffffffffffffffffffffffffffffffffffff16611002611062565b73ffffffffffffffffffffffffffffffffffffffff1614611058576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104f906131eb565b60405180910390fd5b6110606119b9565b565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61109e611097611339565b8383611a5c565b5050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61113e611339565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061118457506111838561117e611339565b6110a2565b5b6111c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ba9061312b565b60405180910390fd5b6111d08585858585611bc9565b5050505050565b6111df611339565b73ffffffffffffffffffffffffffffffffffffffff166111fd611062565b73ffffffffffffffffffffffffffffffffffffffff1614611253576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124a906131eb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ba9061310b565b60405180910390fd5b6112cc816118f3565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b8060029080519060200190611357929190612368565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156113cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c2906132eb565b60405180910390fd5b60006113d5611339565b90506113f6816000876113e788611e4b565b6113f088611e4b565b87611f11565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611455919061349f565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516114d3929190613326565b60405180910390a46114ea81600087878787611f6f565b5050505050565b8151835114611535576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152c906132ab565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156115a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159c9061318b565b60405180910390fd5b60006115af611339565b90506115bf818787878787611f11565b60005b84518110156117bc576000858281518110611606577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600085838151811061164b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156116ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e3906131cb565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117a1919061349f565b92505081905550505050806117b590613689565b90506115c2565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611833929190612ff7565b60405180910390a4611849818787878787612156565b505050505050565b611859610e4a565b611898576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188f906130cb565b60405180910390fd5b6000600360146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6118dc611339565b6040516118e99190612ef8565b60405180910390a1565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6119c1610e4a565b15611a01576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f89061316b565b60405180910390fd5b6001600360146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611a45611339565b604051611a529190612ef8565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611acb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac29061326b565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611bbc919061302e565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611c39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c309061318b565b60405180910390fd5b6000611c43611339565b9050611c63818787611c5488611e4b565b611c5d88611e4b565b87611f11565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611cfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf1906131cb565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611daf919061349f565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051611e2c929190613326565b60405180910390a4611e42828888888888611f6f565b50505050505050565b60606000600167ffffffffffffffff811115611e90577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611ebe5781602001602082028036833780820191505090505b5090508281600081518110611efc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b611f1f86868686868661233d565b611f27610e4a565b15611f67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5e9061322b565b60405180910390fd5b505050505050565b611f8e8473ffffffffffffffffffffffffffffffffffffffff16612345565b1561214e578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401611fd4959493929190612f7b565b602060405180830381600087803b158015611fee57600080fd5b505af192505050801561201f57506040513d601f19601f8201168201806040525081019061201c91906129d2565b60015b6120c55761202b61375f565b806308c379a014156120885750612040613d10565b8061204b575061208a565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207f9190613049565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120bc9061308b565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461214c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612143906130ab565b60405180910390fd5b505b505050505050565b6121758473ffffffffffffffffffffffffffffffffffffffff16612345565b15612335578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016121bb959493929190612f13565b602060405180830381600087803b1580156121d557600080fd5b505af192505050801561220657506040513d601f19601f8201168201806040525081019061220391906129d2565b60015b6122ac5761221261375f565b806308c379a0141561226f5750612227613d10565b806122325750612271565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122669190613049565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a39061308b565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612333576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232a906130ab565b60405180910390fd5b505b505050505050565b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461237490613626565b90600052602060002090601f01602090048101928261239657600085556123dd565b82601f106123af57805160ff19168380011785556123dd565b828001600101855582156123dd579182015b828111156123dc5782518255916020019190600101906123c1565b5b5090506123ea91906123ee565b5090565b5b808211156124075760008160009055506001016123ef565b5090565b600061241e61241984613374565b61334f565b9050808382526020820190508285602086028201111561243d57600080fd5b60005b8581101561246d5781612453888261255f565b845260208401935060208301925050600181019050612440565b5050509392505050565b600061248a612485846133a0565b61334f565b905080838252602082019050828560208602820111156124a957600080fd5b60005b858110156124d957816124bf88826126d3565b8452602084019350602083019250506001810190506124ac565b5050509392505050565b60006124f66124f1846133cc565b61334f565b90508281526020810184848401111561250e57600080fd5b6125198482856135e4565b509392505050565b600061253461252f846133fd565b61334f565b90508281526020810184848401111561254c57600080fd5b6125578482856135e4565b509392505050565b60008135905061256e81613da6565b92915050565b600082601f83011261258557600080fd5b813561259584826020860161240b565b91505092915050565b600082601f8301126125af57600080fd5b81356125bf848260208601612477565b91505092915050565b6000813590506125d781613dbd565b92915050565b6000813590506125ec81613dd4565b92915050565b60008151905061260181613dd4565b92915050565b600082601f83011261261857600080fd5b81356126288482602086016124e3565b91505092915050565b600082601f83011261264257600080fd5b8135612652848260208601612521565b91505092915050565b60006060828403121561266d57600080fd5b612677606061334f565b9050600082013567ffffffffffffffff81111561269357600080fd5b61269f84828501612631565b60008301525060206126b3848285016126d3565b60208301525060406126c7848285016126e8565b60408301525092915050565b6000813590506126e281613deb565b92915050565b6000813590506126f781613e02565b92915050565b60008135905061270c81613e19565b92915050565b60006020828403121561272457600080fd5b60006127328482850161255f565b91505092915050565b6000806040838503121561274e57600080fd5b600061275c8582860161255f565b925050602061276d8582860161255f565b9150509250929050565b600080600080600060a0868803121561278f57600080fd5b600061279d8882890161255f565b95505060206127ae8882890161255f565b945050604086013567ffffffffffffffff8111156127cb57600080fd5b6127d78882890161259e565b935050606086013567ffffffffffffffff8111156127f457600080fd5b6128008882890161259e565b925050608086013567ffffffffffffffff81111561281d57600080fd5b61282988828901612607565b9150509295509295909350565b600080600080600060a0868803121561284e57600080fd5b600061285c8882890161255f565b955050602061286d8882890161255f565b945050604061287e888289016126d3565b935050606061288f888289016126d3565b925050608086013567ffffffffffffffff8111156128ac57600080fd5b6128b888828901612607565b9150509295509295909350565b600080604083850312156128d857600080fd5b60006128e68582860161255f565b92505060206128f7858286016125c8565b9150509250929050565b6000806040838503121561291457600080fd5b60006129228582860161255f565b9250506020612933858286016126d3565b9150509250929050565b6000806040838503121561295057600080fd5b600083013567ffffffffffffffff81111561296a57600080fd5b61297685828601612574565b925050602083013567ffffffffffffffff81111561299357600080fd5b61299f8582860161259e565b9150509250929050565b6000602082840312156129bb57600080fd5b60006129c9848285016125dd565b91505092915050565b6000602082840312156129e457600080fd5b60006129f2848285016125f2565b91505092915050565b600060208284031215612a0d57600080fd5b600082013567ffffffffffffffff811115612a2757600080fd5b612a3384828501612631565b91505092915050565b600060208284031215612a4e57600080fd5b6000612a5c848285016126d3565b91505092915050565b60008060408385031215612a7857600080fd5b6000612a86858286016126fd565b925050602083013567ffffffffffffffff811115612aa357600080fd5b612aaf8582860161265b565b9150509250929050565b60008060408385031215612acc57600080fd5b6000612ada858286016126fd565b9250506020612aeb858286016126fd565b9150509250929050565b6000612b018383612eda565b60208301905092915050565b612b168161354f565b82525050565b6000612b278261343e565b612b31818561346c565b9350612b3c8361342e565b8060005b83811015612b6d578151612b548882612af5565b9750612b5f8361345f565b925050600181019050612b40565b5085935050505092915050565b612b8381613561565b82525050565b6000612b9482613449565b612b9e818561347d565b9350612bae8185602086016135f3565b612bb781613781565b840191505092915050565b6000612bcd82613454565b612bd7818561348e565b9350612be78185602086016135f3565b612bf081613781565b840191505092915050565b6000612c0860268361348e565b9150612c138261379f565b604082019050919050565b6000612c2b60348361348e565b9150612c36826137ee565b604082019050919050565b6000612c4e60288361348e565b9150612c598261383d565b604082019050919050565b6000612c7160148361348e565b9150612c7c8261388c565b602082019050919050565b6000612c94602b8361348e565b9150612c9f826138b5565b604082019050919050565b6000612cb760268361348e565b9150612cc282613904565b604082019050919050565b6000612cda60298361348e565b9150612ce582613953565b604082019050919050565b6000612cfd60128361348e565b9150612d08826139a2565b602082019050919050565b6000612d2060108361348e565b9150612d2b826139cb565b602082019050919050565b6000612d4360258361348e565b9150612d4e826139f4565b604082019050919050565b6000612d6660328361348e565b9150612d7182613a43565b604082019050919050565b6000612d89602a8361348e565b9150612d9482613a92565b604082019050919050565b6000612dac60208361348e565b9150612db782613ae1565b602082019050919050565b6000612dcf60198361348e565b9150612dda82613b0a565b602082019050919050565b6000612df2601b8361348e565b9150612dfd82613b33565b602082019050919050565b6000612e15602a8361348e565b9150612e2082613b5c565b604082019050919050565b6000612e3860298361348e565b9150612e4382613bab565b604082019050919050565b6000612e5b60298361348e565b9150612e6682613bfa565b604082019050919050565b6000612e7e60288361348e565b9150612e8982613c49565b604082019050919050565b6000612ea160178361348e565b9150612eac82613c98565b602082019050919050565b6000612ec460218361348e565b9150612ecf82613cc1565b604082019050919050565b612ee3816135b9565b82525050565b612ef2816135b9565b82525050565b6000602082019050612f0d6000830184612b0d565b92915050565b600060a082019050612f286000830188612b0d565b612f356020830187612b0d565b8181036040830152612f478186612b1c565b90508181036060830152612f5b8185612b1c565b90508181036080830152612f6f8184612b89565b90509695505050505050565b600060a082019050612f906000830188612b0d565b612f9d6020830187612b0d565b612faa6040830186612ee9565b612fb76060830185612ee9565b8181036080830152612fc98184612b89565b90509695505050505050565b60006020820190508181036000830152612fef8184612b1c565b905092915050565b600060408201905081810360008301526130118185612b1c565b905081810360208301526130258184612b1c565b90509392505050565b60006020820190506130436000830184612b7a565b92915050565b600060208201905081810360008301526130638184612bc2565b905092915050565b6000602082019050818103600083015261308481612bfb565b9050919050565b600060208201905081810360008301526130a481612c1e565b9050919050565b600060208201905081810360008301526130c481612c41565b9050919050565b600060208201905081810360008301526130e481612c64565b9050919050565b6000602082019050818103600083015261310481612c87565b9050919050565b6000602082019050818103600083015261312481612caa565b9050919050565b6000602082019050818103600083015261314481612ccd565b9050919050565b6000602082019050818103600083015261316481612cf0565b9050919050565b6000602082019050818103600083015261318481612d13565b9050919050565b600060208201905081810360008301526131a481612d36565b9050919050565b600060208201905081810360008301526131c481612d59565b9050919050565b600060208201905081810360008301526131e481612d7c565b9050919050565b6000602082019050818103600083015261320481612d9f565b9050919050565b6000602082019050818103600083015261322481612dc2565b9050919050565b6000602082019050818103600083015261324481612de5565b9050919050565b6000602082019050818103600083015261326481612e08565b9050919050565b6000602082019050818103600083015261328481612e2b565b9050919050565b600060208201905081810360008301526132a481612e4e565b9050919050565b600060208201905081810360008301526132c481612e71565b9050919050565b600060208201905081810360008301526132e481612e94565b9050919050565b6000602082019050818103600083015261330481612eb7565b9050919050565b60006020820190506133206000830184612ee9565b92915050565b600060408201905061333b6000830185612ee9565b6133486020830184612ee9565b9392505050565b600061335961336a565b90506133658282613658565b919050565b6000604051905090565b600067ffffffffffffffff82111561338f5761338e613730565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156133bb576133ba613730565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156133e7576133e6613730565b5b6133f082613781565b9050602081019050919050565b600067ffffffffffffffff82111561341857613417613730565b5b61342182613781565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b60006134aa826135b9565b91506134b5836135b9565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156134ea576134e96136d2565b5b828201905092915050565b6000613500826135b9565b915061350b836135b9565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613544576135436136d2565b5b828202905092915050565b600061355a82613599565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156136115780820151818401526020810190506135f6565b83811115613620576000848401525b50505050565b6000600282049050600182168061363e57607f821691505b6020821081141561365257613651613701565b5b50919050565b61366182613781565b810181811067ffffffffffffffff821117156136805761367f613730565b5b80604052505050565b6000613694826135b9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156136c7576136c66136d2565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d111561377e5760046000803e61377b600051613792565b90505b90565b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f616d6f756e742073656e74206973206e6f7420656e6f75676820666f7220707560008201527f7263686173650000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f73616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f6974656d2070726963652073686f756c64206265203e3d203000000000000000600082015250565b7f746f6b656e207472616e73666572207768696c65207061757365640000000000600082015250565b7f796f75722070757263686173652065786365656473206d6178696d756d20746f60008201527f6b656e73206c696d697400000000000000000000000000000000000000000000602082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f69742073686f756c64206e6f7420626520706175736564000000000000000000600082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d1015613d2057613da3565b613d2861336a565b60043d036004823e80513d602482011167ffffffffffffffff82111715613d50575050613da3565b808201805167ffffffffffffffff811115613d6e5750505050613da3565b80602083010160043d038501811115613d8b575050505050613da3565b613d9a82602001850186613658565b82955050505050505b90565b613daf8161354f565b8114613dba57600080fd5b50565b613dc681613561565b8114613dd157600080fd5b50565b613ddd8161356d565b8114613de857600080fd5b50565b613df4816135b9565b8114613dff57600080fd5b50565b613e0b816135c3565b8114613e1657600080fd5b50565b613e22816135d7565b8114613e2d57600080fd5b5056fea2646970667358221220b203a97f2bd88c2c219df02508a8f0da87bb1a4556a5c024081294147af91f4464736f6c63430008040033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002f687474703a2f2f333935632d3137362d39382d31392d34362e6e67726f6b2e696f2f6170692f7b69647d2e6a736f6e0000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _url (string): http://395c-176-98-19-46.ngrok.io/api/{id}.json

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 000000000000000000000000000000000000000000000000000000000000002f
Arg [2] : 687474703a2f2f333935632d3137362d39382d31392d34362e6e67726f6b2e69
Arg [3] : 6f2f6170692f7b69647d2e6a736f6e0000000000000000000000000000000000


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.