ETH Price: $3,433.93 (+1.04%)

Token

 

Overview

Max Total Supply

3,085

Holders

1,334

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
0x198e363e2e7d58f521960e4175a7dfe0f59936f2
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:
PudgyHalloween

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

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

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

contract PudgyHalloween is ERC1155, Ownable {

    PudgyPenguinsInterface public pudgyPenguins;

    uint256 public startEvent = 1635364800;
    uint256 public endEvent = 1636081200;

    mapping (uint256 => bool) private _pudgyPenguinsUsed;
    mapping (uint256 => uint256) private _pudgyHalloweenIds;

    uint256 private RANDOM_SEED = 5718512354;

    constructor(string memory _baseURI) ERC1155(_baseURI) {
        setURI(_baseURI);
    }

    function MintPudgyHalloween(uint256[] memory _tokenIds) public {

        require(block.timestamp >= startEvent, "Event not started");
        require(block.timestamp <= endEvent, "Event ended");

        address wallet = _msgSender();

        for (uint256 i = 0; i < _tokenIds.length; i++) {
            uint256  _tokenId = _tokenIds[i];
            require(pudgyPenguins.ownerOf(_tokenId) == wallet, "Bad owner!");
            require(canClaim(_tokenId), "Already Claimed!");

            _pudgyPenguinsUsed[_tokenId] = true;

            uint256 id = getRandomPudgyHalloween(_tokenId);

            _pudgyHalloweenIds[_tokenId] = id;

            _mint(wallet, id, 1, "");
        }

    }

    function getRandomPudgyHalloween(uint256 _tokenIds) private view returns(uint256){
        uint256 bigNumber = uint(keccak256(abi.encodePacked(block.timestamp, _tokenIds, RANDOM_SEED))) % 100;
        if(bigNumber <= 10) return 1;
        if(bigNumber <= 30) return 2;
        return 3;
    }

    function getPudgyHalloweenId(uint256 _token) public view returns(uint256){
        return _pudgyHalloweenIds[_token];
    }

    function getClaimed(address wallet) public view returns(uint256[] memory) {

        uint256[] memory tokens = pudgyPenguins.walletOfOwner(wallet);
        uint256[] memory claimed = new uint256[](tokens.length);

        for(uint256 i = 0; i < tokens.length; i++){
            if(!canClaim(tokens[i])){
                claimed[i] = tokens[i];
            }else{
                claimed[i] = 99999;
            }
        }

        return claimed;
    }
    function canClaim(uint256 _tokenId) public view returns(bool) {
        return _pudgyPenguinsUsed[_tokenId] == false;
    }

    function customOwnerAirdrop(address[] memory _wallets, uint256 _id, uint256 _count) public onlyOwner{
        for(uint256 i = 0; i < _wallets.length; i++){
            _mint(_wallets[i], _id, _count, "");
        }
    }

    function setURI(string memory _baseURI) public onlyOwner {
        _setURI(_baseURI);
    }

    function setPudgyPenguins(address _pudgyPenguins) public onlyOwner {
        pudgyPenguins = PudgyPenguinsInterface(_pudgyPenguins);
    }
    function setStartEvent(uint256 _start) public onlyOwner {
        startEvent = _start;
    }
    function setEndEvent(uint256 _end) public onlyOwner {
        endEvent = _end;
    }

    function withdraw() public onlyOwner {
        (bool success, ) = address(this).call{value: address(this).balance}("");
        require(success, "Transfer failed.");
    }

}

File 2 of 11 : PudgyPenguinsInterface.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract PudgyPenguinsInterface{
    function ownerOf(uint256 _token) public view returns(address){}
    function walletOfOwner(address _owner) external view returns (uint256[] memory){}
}

File 3 of 11 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 4 of 11 : ERC1155.sol
// SPDX-License-Identifier: MIT

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 {
        require(_msgSender() != operator, "ERC1155: setting approval status for self");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_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 `account`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - If `account` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address account,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(account != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

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

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

        _doSafeTransferAcceptanceCheck(operator, address(0), account, 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 `account`
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address account,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

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

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

        emit TransferSingle(operator, account, 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 account,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

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

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

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

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

    /**
     * @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(to).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(to).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 5 of 11 : IERC1155.sol
// SPDX-License-Identifier: MIT

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

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.
        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. 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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 of 11 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 10 of 11 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 11 of 11 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseURI","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":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"MintPudgyHalloween","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"canClaim","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_wallets","type":"address[]"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"customOwnerAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endEvent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"getClaimed","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_token","type":"uint256"}],"name":"getPudgyHalloweenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pudgyPenguins","outputs":[{"internalType":"contract PudgyPenguinsInterface","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"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":"uint256","name":"_end","type":"uint256"}],"name":"setEndEvent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_pudgyPenguins","type":"address"}],"name":"setPudgyPenguins","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_start","type":"uint256"}],"name":"setStartEvent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startEvent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"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"}]

6080604052636179afc06005556361849e30600655640154d992e26009553480156200002a57600080fd5b50604051620044e8380380620044e883398181016040528101906200005091906200049f565b8062000062816200009b60201b60201c565b506200008362000077620000b760201b60201c565b620000bf60201b60201c565b62000094816200018560201b60201c565b50620005d8565b8060029080519060200190620000b392919062000252565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b62000195620000b760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620001bb6200022860201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000214576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200020b9062000551565b60405180910390fd5b62000225816200009b60201b60201c565b50565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200026090620005a2565b90600052602060002090601f016020900481019282620002845760008555620002d0565b82601f106200029f57805160ff1916838001178555620002d0565b82800160010185558215620002d0579182015b82811115620002cf578251825591602001919060010190620002b2565b5b509050620002df9190620002e3565b5090565b5b80821115620002fe576000816000905550600101620002e4565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200036b8262000320565b810181811067ffffffffffffffff821117156200038d576200038c62000331565b5b80604052505050565b6000620003a262000302565b9050620003b0828262000360565b919050565b600067ffffffffffffffff821115620003d357620003d262000331565b5b620003de8262000320565b9050602081019050919050565b60005b838110156200040b578082015181840152602081019050620003ee565b838111156200041b576000848401525b50505050565b6000620004386200043284620003b5565b62000396565b9050828152602081018484840111156200045757620004566200031b565b5b62000464848285620003eb565b509392505050565b600082601f83011262000484576200048362000316565b5b81516200049684826020860162000421565b91505092915050565b600060208284031215620004b857620004b76200030c565b5b600082015167ffffffffffffffff811115620004d957620004d862000311565b5b620004e7848285016200046c565b91505092915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000539602083620004f0565b9150620005468262000501565b602082019050919050565b600060208201905081810360008301526200056c816200052a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620005bb57607f821691505b60208210811415620005d257620005d162000573565b5b50919050565b613f0080620005e86000396000f3fe608060405234801561001057600080fd5b50600436106101575760003560e01c806386ec6177116100c3578063e2fd38e91161007c578063e2fd38e91461039a578063e5fb3be4146103b8578063e985e9c5146103e8578063eb46260e14610418578063f242432a14610448578063f2fde38b1461046457610157565b806386ec6177146102d85780638da5cb5b146102f65780639db4b20b14610314578063a22cb46514610332578063a61fe3341461034e578063c95c0d891461036a57610157565b80633ccfd60b116101155780633ccfd60b146102405780634e1273f41461024a5780634f6c998c1461027a5780636e1c354414610296578063715018a6146102b257806381cdc164146102bc57610157565b8062fdd58e1461015c57806301ffc9a71461018c57806302fe5305146101bc5780630e89341c146101d857806324341e71146102085780632eb2c2d614610224575b600080fd5b610176600480360381019061017191906124a9565b610480565b60405161018391906124f8565b60405180910390f35b6101a660048036038101906101a1919061256b565b610549565b6040516101b391906125b3565b60405180910390f35b6101d660048036038101906101d19190612714565b61062b565b005b6101f260048036038101906101ed919061275d565b6106b3565b6040516101ff9190612812565b60405180910390f35b610222600480360381019061021d91906128fc565b610747565b005b61023e60048036038101906102399190612acf565b61081d565b005b6102486108be565b005b610264600480360381019061025f9190612b9e565b6109e9565b6040516102719190612cd4565b60405180910390f35b610294600480360381019061028f9190612cf6565b610b02565b005b6102b060048036038101906102ab919061275d565b610bc2565b005b6102ba610c48565b005b6102d660048036038101906102d1919061275d565b610cd0565b005b6102e0610d56565b6040516102ed91906124f8565b60405180910390f35b6102fe610d5c565b60405161030b9190612d32565b60405180910390f35b61031c610d86565b6040516103299190612dac565b60405180910390f35b61034c60048036038101906103479190612df3565b610dac565b005b61036860048036038101906103639190612e33565b610f2d565b005b610384600480360381019061037f919061275d565b6111d5565b60405161039191906125b3565b60405180910390f35b6103a2611205565b6040516103af91906124f8565b60405180910390f35b6103d260048036038101906103cd919061275d565b61120b565b6040516103df91906124f8565b60405180910390f35b61040260048036038101906103fd9190612e7c565b611228565b60405161040f91906125b3565b60405180910390f35b610432600480360381019061042d9190612cf6565b6112bc565b60405161043f9190612cd4565b60405180910390f35b610462600480360381019061045d9190612ebc565b611474565b005b61047e60048036038101906104799190612cf6565b611515565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156104f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e890612fc5565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061061457507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061062457506106238261160d565b5b9050919050565b610633611677565b73ffffffffffffffffffffffffffffffffffffffff16610651610d5c565b73ffffffffffffffffffffffffffffffffffffffff16146106a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069e90613031565b60405180910390fd5b6106b08161167f565b50565b6060600280546106c290613080565b80601f01602080910402602001604051908101604052809291908181526020018280546106ee90613080565b801561073b5780601f106107105761010080835404028352916020019161073b565b820191906000526020600020905b81548152906001019060200180831161071e57829003601f168201915b50505050509050919050565b61074f611677565b73ffffffffffffffffffffffffffffffffffffffff1661076d610d5c565b73ffffffffffffffffffffffffffffffffffffffff16146107c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ba90613031565b60405180910390fd5b60005b8351811015610817576108048482815181106107e5576107e46130b2565b5b6020026020010151848460405180602001604052806000815250611699565b808061080f90613110565b9150506107c6565b50505050565b610825611677565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061086b575061086a85610865611677565b611228565b5b6108aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a1906131cb565b60405180910390fd5b6108b7858585858561182f565b5050505050565b6108c6611677565b73ffffffffffffffffffffffffffffffffffffffff166108e4610d5c565b73ffffffffffffffffffffffffffffffffffffffff161461093a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093190613031565b60405180910390fd5b60003073ffffffffffffffffffffffffffffffffffffffff16476040516109609061321c565b60006040518083038185875af1925050503d806000811461099d576040519150601f19603f3d011682016040523d82523d6000602084013e6109a2565b606091505b50509050806109e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109dd9061327d565b60405180910390fd5b50565b60608151835114610a2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a269061330f565b60405180910390fd5b6000835167ffffffffffffffff811115610a4c57610a4b6125e9565b5b604051908082528060200260200182016040528015610a7a5781602001602082028036833780820191505090505b50905060005b8451811015610af757610ac7858281518110610a9f57610a9e6130b2565b5b6020026020010151858381518110610aba57610ab96130b2565b5b6020026020010151610480565b828281518110610ada57610ad96130b2565b5b60200260200101818152505080610af090613110565b9050610a80565b508091505092915050565b610b0a611677565b73ffffffffffffffffffffffffffffffffffffffff16610b28610d5c565b73ffffffffffffffffffffffffffffffffffffffff1614610b7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7590613031565b60405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610bca611677565b73ffffffffffffffffffffffffffffffffffffffff16610be8610d5c565b73ffffffffffffffffffffffffffffffffffffffff1614610c3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3590613031565b60405180910390fd5b8060058190555050565b610c50611677565b73ffffffffffffffffffffffffffffffffffffffff16610c6e610d5c565b73ffffffffffffffffffffffffffffffffffffffff1614610cc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbb90613031565b60405180910390fd5b610cce6000611b43565b565b610cd8611677565b73ffffffffffffffffffffffffffffffffffffffff16610cf6610d5c565b73ffffffffffffffffffffffffffffffffffffffff1614610d4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4390613031565b60405180910390fd5b8060068190555050565b60065481565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b8173ffffffffffffffffffffffffffffffffffffffff16610dcb611677565b73ffffffffffffffffffffffffffffffffffffffff161415610e22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e19906133a1565b60405180910390fd5b8060016000610e2f611677565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610edc611677565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610f2191906125b3565b60405180910390a35050565b600554421015610f72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f699061340d565b60405180910390fd5b600654421115610fb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fae90613479565b60405180910390fd5b6000610fc1611677565b905060005b82518110156111d0576000838281518110610fe457610fe36130b2565b5b602002602001015190508273ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b815260040161106091906124f8565b60206040518083038186803b15801561107857600080fd5b505afa15801561108c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b091906134ae565b73ffffffffffffffffffffffffffffffffffffffff1614611106576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fd90613527565b60405180910390fd5b61110f816111d5565b61114e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114590613593565b60405180910390fd5b60016007600083815260200190815260200160002060006101000a81548160ff021916908315150217905550600061118582611c09565b90508060086000848152602001908152602001600020819055506111bb8482600160405180602001604052806000815250611699565b505080806111c890613110565b915050610fc6565b505050565b60008015156007600084815260200190815260200160002060009054906101000a900460ff161515149050919050565b60055481565b600060086000838152602001908152602001600020549050919050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663438b6300846040518263ffffffff1660e01b815260040161131b9190612d32565b60006040518083038186803b15801561133357600080fd5b505afa158015611347573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611370919061365f565b90506000815167ffffffffffffffff81111561138f5761138e6125e9565b5b6040519080825280602002602001820160405280156113bd5781602001602082028036833780820191505090505b50905060005b8251811015611469576113ef8382815181106113e2576113e16130b2565b5b60200260200101516111d5565b61143257828181518110611406576114056130b2565b5b6020026020010151828281518110611421576114206130b2565b5b602002602001018181525050611456565b6201869f828281518110611449576114486130b2565b5b6020026020010181815250505b808061146190613110565b9150506113c3565b508092505050919050565b61147c611677565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806114c257506114c1856114bc611677565b611228565b5b611501576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f89061371a565b60405180910390fd5b61150e8585858585611c79565b5050505050565b61151d611677565b73ffffffffffffffffffffffffffffffffffffffff1661153b610d5c565b73ffffffffffffffffffffffffffffffffffffffff1614611591576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158890613031565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611601576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f8906137ac565b60405180910390fd5b61160a81611b43565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b806002908051906020019061169592919061235e565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611709576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117009061383e565b60405180910390fd5b6000611713611677565b90506117348160008761172588611efb565b61172e88611efb565b87611f75565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611793919061385e565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516118119291906138b4565b60405180910390a461182881600087878787611f7d565b5050505050565b8151835114611873576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186a9061394f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156118e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118da906139e1565b60405180910390fd5b60006118ed611677565b90506118fd818787878787611f75565b60005b8451811015611aae57600085828151811061191e5761191d6130b2565b5b60200260200101519050600085838151811061193d5761193c6130b2565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156119de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d590613a73565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a93919061385e565b9250508190555050505080611aa790613110565b9050611900565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611b25929190613a93565b60405180910390a4611b3b818787878787612164565b505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008060644284600954604051602001611c2593929190613aeb565b6040516020818303038152906040528051906020012060001c611c489190613b57565b9050600a8111611c5c576001915050611c74565b601e8111611c6e576002915050611c74565b60039150505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611ce9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce0906139e1565b60405180910390fd5b6000611cf3611677565b9050611d13818787611d0488611efb565b611d0d88611efb565b87611f75565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611daa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da190613a73565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e5f919061385e565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051611edc9291906138b4565b60405180910390a4611ef2828888888888611f7d565b50505050505050565b60606000600167ffffffffffffffff811115611f1a57611f196125e9565b5b604051908082528060200260200182016040528015611f485781602001602082028036833780820191505090505b5090508281600081518110611f6057611f5f6130b2565b5b60200260200101818152505080915050919050565b505050505050565b611f9c8473ffffffffffffffffffffffffffffffffffffffff1661234b565b1561215c578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401611fe2959493929190613bdd565b602060405180830381600087803b158015611ffc57600080fd5b505af192505050801561202d57506040513d601f19601f8201168201806040525081019061202a9190613c4c565b60015b6120d357612039613c86565b806308c379a01415612096575061204e613ca8565b806120595750612098565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208d9190612812565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ca90613db0565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461215a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215190613e42565b60405180910390fd5b505b505050505050565b6121838473ffffffffffffffffffffffffffffffffffffffff1661234b565b15612343578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016121c9959493929190613e62565b602060405180830381600087803b1580156121e357600080fd5b505af192505050801561221457506040513d601f19601f820116820180604052508101906122119190613c4c565b60015b6122ba57612220613c86565b806308c379a0141561227d5750612235613ca8565b80612240575061227f565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122749190612812565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b190613db0565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612341576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233890613e42565b60405180910390fd5b505b505050505050565b600080823b905060008111915050919050565b82805461236a90613080565b90600052602060002090601f01602090048101928261238c57600085556123d3565b82601f106123a557805160ff19168380011785556123d3565b828001600101855582156123d3579182015b828111156123d25782518255916020019190600101906123b7565b5b5090506123e091906123e4565b5090565b5b808211156123fd5760008160009055506001016123e5565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061244082612415565b9050919050565b61245081612435565b811461245b57600080fd5b50565b60008135905061246d81612447565b92915050565b6000819050919050565b61248681612473565b811461249157600080fd5b50565b6000813590506124a38161247d565b92915050565b600080604083850312156124c0576124bf61240b565b5b60006124ce8582860161245e565b92505060206124df85828601612494565b9150509250929050565b6124f281612473565b82525050565b600060208201905061250d60008301846124e9565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61254881612513565b811461255357600080fd5b50565b6000813590506125658161253f565b92915050565b6000602082840312156125815761258061240b565b5b600061258f84828501612556565b91505092915050565b60008115159050919050565b6125ad81612598565b82525050565b60006020820190506125c860008301846125a4565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612621826125d8565b810181811067ffffffffffffffff821117156126405761263f6125e9565b5b80604052505050565b6000612653612401565b905061265f8282612618565b919050565b600067ffffffffffffffff82111561267f5761267e6125e9565b5b612688826125d8565b9050602081019050919050565b82818337600083830152505050565b60006126b76126b284612664565b612649565b9050828152602081018484840111156126d3576126d26125d3565b5b6126de848285612695565b509392505050565b600082601f8301126126fb576126fa6125ce565b5b813561270b8482602086016126a4565b91505092915050565b60006020828403121561272a5761272961240b565b5b600082013567ffffffffffffffff81111561274857612747612410565b5b612754848285016126e6565b91505092915050565b6000602082840312156127735761277261240b565b5b600061278184828501612494565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156127c45780820151818401526020810190506127a9565b838111156127d3576000848401525b50505050565b60006127e48261278a565b6127ee8185612795565b93506127fe8185602086016127a6565b612807816125d8565b840191505092915050565b6000602082019050818103600083015261282c81846127d9565b905092915050565b600067ffffffffffffffff82111561284f5761284e6125e9565b5b602082029050602081019050919050565b600080fd5b600061287861287384612834565b612649565b9050808382526020820190506020840283018581111561289b5761289a612860565b5b835b818110156128c457806128b0888261245e565b84526020840193505060208101905061289d565b5050509392505050565b600082601f8301126128e3576128e26125ce565b5b81356128f3848260208601612865565b91505092915050565b6000806000606084860312156129155761291461240b565b5b600084013567ffffffffffffffff81111561293357612932612410565b5b61293f868287016128ce565b935050602061295086828701612494565b925050604061296186828701612494565b9150509250925092565b600067ffffffffffffffff821115612986576129856125e9565b5b602082029050602081019050919050565b60006129aa6129a58461296b565b612649565b905080838252602082019050602084028301858111156129cd576129cc612860565b5b835b818110156129f657806129e28882612494565b8452602084019350506020810190506129cf565b5050509392505050565b600082601f830112612a1557612a146125ce565b5b8135612a25848260208601612997565b91505092915050565b600067ffffffffffffffff821115612a4957612a486125e9565b5b612a52826125d8565b9050602081019050919050565b6000612a72612a6d84612a2e565b612649565b905082815260208101848484011115612a8e57612a8d6125d3565b5b612a99848285612695565b509392505050565b600082601f830112612ab657612ab56125ce565b5b8135612ac6848260208601612a5f565b91505092915050565b600080600080600060a08688031215612aeb57612aea61240b565b5b6000612af98882890161245e565b9550506020612b0a8882890161245e565b945050604086013567ffffffffffffffff811115612b2b57612b2a612410565b5b612b3788828901612a00565b935050606086013567ffffffffffffffff811115612b5857612b57612410565b5b612b6488828901612a00565b925050608086013567ffffffffffffffff811115612b8557612b84612410565b5b612b9188828901612aa1565b9150509295509295909350565b60008060408385031215612bb557612bb461240b565b5b600083013567ffffffffffffffff811115612bd357612bd2612410565b5b612bdf858286016128ce565b925050602083013567ffffffffffffffff811115612c0057612bff612410565b5b612c0c85828601612a00565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612c4b81612473565b82525050565b6000612c5d8383612c42565b60208301905092915050565b6000602082019050919050565b6000612c8182612c16565b612c8b8185612c21565b9350612c9683612c32565b8060005b83811015612cc7578151612cae8882612c51565b9750612cb983612c69565b925050600181019050612c9a565b5085935050505092915050565b60006020820190508181036000830152612cee8184612c76565b905092915050565b600060208284031215612d0c57612d0b61240b565b5b6000612d1a8482850161245e565b91505092915050565b612d2c81612435565b82525050565b6000602082019050612d476000830184612d23565b92915050565b6000819050919050565b6000612d72612d6d612d6884612415565b612d4d565b612415565b9050919050565b6000612d8482612d57565b9050919050565b6000612d9682612d79565b9050919050565b612da681612d8b565b82525050565b6000602082019050612dc16000830184612d9d565b92915050565b612dd081612598565b8114612ddb57600080fd5b50565b600081359050612ded81612dc7565b92915050565b60008060408385031215612e0a57612e0961240b565b5b6000612e188582860161245e565b9250506020612e2985828601612dde565b9150509250929050565b600060208284031215612e4957612e4861240b565b5b600082013567ffffffffffffffff811115612e6757612e66612410565b5b612e7384828501612a00565b91505092915050565b60008060408385031215612e9357612e9261240b565b5b6000612ea18582860161245e565b9250506020612eb28582860161245e565b9150509250929050565b600080600080600060a08688031215612ed857612ed761240b565b5b6000612ee68882890161245e565b9550506020612ef78882890161245e565b9450506040612f0888828901612494565b9350506060612f1988828901612494565b925050608086013567ffffffffffffffff811115612f3a57612f39612410565b5b612f4688828901612aa1565b9150509295509295909350565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000612faf602b83612795565b9150612fba82612f53565b604082019050919050565b60006020820190508181036000830152612fde81612fa2565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061301b602083612795565b915061302682612fe5565b602082019050919050565b6000602082019050818103600083015261304a8161300e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061309857607f821691505b602082108114156130ac576130ab613051565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061311b82612473565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561314e5761314d6130e1565b5b600182019050919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b60006131b5603283612795565b91506131c082613159565b604082019050919050565b600060208201905081810360008301526131e4816131a8565b9050919050565b600081905092915050565b50565b60006132066000836131eb565b9150613211826131f6565b600082019050919050565b6000613227826131f9565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b6000613267601083612795565b915061327282613231565b602082019050919050565b600060208201905081810360008301526132968161325a565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006132f9602983612795565b91506133048261329d565b604082019050919050565b60006020820190508181036000830152613328816132ec565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b600061338b602983612795565b91506133968261332f565b604082019050919050565b600060208201905081810360008301526133ba8161337e565b9050919050565b7f4576656e74206e6f742073746172746564000000000000000000000000000000600082015250565b60006133f7601183612795565b9150613402826133c1565b602082019050919050565b60006020820190508181036000830152613426816133ea565b9050919050565b7f4576656e7420656e646564000000000000000000000000000000000000000000600082015250565b6000613463600b83612795565b915061346e8261342d565b602082019050919050565b6000602082019050818103600083015261349281613456565b9050919050565b6000815190506134a881612447565b92915050565b6000602082840312156134c4576134c361240b565b5b60006134d284828501613499565b91505092915050565b7f426164206f776e65722100000000000000000000000000000000000000000000600082015250565b6000613511600a83612795565b915061351c826134db565b602082019050919050565b6000602082019050818103600083015261354081613504565b9050919050565b7f416c726561647920436c61696d65642100000000000000000000000000000000600082015250565b600061357d601083612795565b915061358882613547565b602082019050919050565b600060208201905081810360008301526135ac81613570565b9050919050565b6000815190506135c28161247d565b92915050565b60006135db6135d68461296b565b612649565b905080838252602082019050602084028301858111156135fe576135fd612860565b5b835b81811015613627578061361388826135b3565b845260208401935050602081019050613600565b5050509392505050565b600082601f830112613646576136456125ce565b5b81516136568482602086016135c8565b91505092915050565b6000602082840312156136755761367461240b565b5b600082015167ffffffffffffffff81111561369357613692612410565b5b61369f84828501613631565b91505092915050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000613704602983612795565b915061370f826136a8565b604082019050919050565b60006020820190508181036000830152613733816136f7565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613796602683612795565b91506137a18261373a565b604082019050919050565b600060208201905081810360008301526137c581613789565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613828602183612795565b9150613833826137cc565b604082019050919050565b600060208201905081810360008301526138578161381b565b9050919050565b600061386982612473565b915061387483612473565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156138a9576138a86130e1565b5b828201905092915050565b60006040820190506138c960008301856124e9565b6138d660208301846124e9565b9392505050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000613939602883612795565b9150613944826138dd565b604082019050919050565b600060208201905081810360008301526139688161392c565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006139cb602583612795565b91506139d68261396f565b604082019050919050565b600060208201905081810360008301526139fa816139be565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000613a5d602a83612795565b9150613a6882613a01565b604082019050919050565b60006020820190508181036000830152613a8c81613a50565b9050919050565b60006040820190508181036000830152613aad8185612c76565b90508181036020830152613ac18184612c76565b90509392505050565b6000819050919050565b613ae5613ae082612473565b613aca565b82525050565b6000613af78286613ad4565b602082019150613b078285613ad4565b602082019150613b178284613ad4565b602082019150819050949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613b6282612473565b9150613b6d83612473565b925082613b7d57613b7c613b28565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000613baf82613b88565b613bb98185613b93565b9350613bc98185602086016127a6565b613bd2816125d8565b840191505092915050565b600060a082019050613bf26000830188612d23565b613bff6020830187612d23565b613c0c60408301866124e9565b613c1960608301856124e9565b8181036080830152613c2b8184613ba4565b90509695505050505050565b600081519050613c468161253f565b92915050565b600060208284031215613c6257613c6161240b565b5b6000613c7084828501613c37565b91505092915050565b60008160e01c9050919050565b600060033d1115613ca55760046000803e613ca2600051613c79565b90505b90565b600060443d1015613cb857613d3b565b613cc0612401565b60043d036004823e80513d602482011167ffffffffffffffff82111715613ce8575050613d3b565b808201805167ffffffffffffffff811115613d065750505050613d3b565b80602083010160043d038501811115613d23575050505050613d3b565b613d3282602001850186612618565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000613d9a603483612795565b9150613da582613d3e565b604082019050919050565b60006020820190508181036000830152613dc981613d8d565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000613e2c602883612795565b9150613e3782613dd0565b604082019050919050565b60006020820190508181036000830152613e5b81613e1f565b9050919050565b600060a082019050613e776000830188612d23565b613e846020830187612d23565b8181036040830152613e968186612c76565b90508181036060830152613eaa8185612c76565b90508181036080830152613ebe8184613ba4565b9050969550505050505056fea2646970667358221220dd23b45227c2c656e18b1c29cfa8c05be171ff6f8580556d85fe2b4bb243bb4764736f6c634300080900330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002b68747470733a2f2f6170692e707564677970656e6775696e732e696f2f68616c6c6f7765656e2f7b69647d000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101575760003560e01c806386ec6177116100c3578063e2fd38e91161007c578063e2fd38e91461039a578063e5fb3be4146103b8578063e985e9c5146103e8578063eb46260e14610418578063f242432a14610448578063f2fde38b1461046457610157565b806386ec6177146102d85780638da5cb5b146102f65780639db4b20b14610314578063a22cb46514610332578063a61fe3341461034e578063c95c0d891461036a57610157565b80633ccfd60b116101155780633ccfd60b146102405780634e1273f41461024a5780634f6c998c1461027a5780636e1c354414610296578063715018a6146102b257806381cdc164146102bc57610157565b8062fdd58e1461015c57806301ffc9a71461018c57806302fe5305146101bc5780630e89341c146101d857806324341e71146102085780632eb2c2d614610224575b600080fd5b610176600480360381019061017191906124a9565b610480565b60405161018391906124f8565b60405180910390f35b6101a660048036038101906101a1919061256b565b610549565b6040516101b391906125b3565b60405180910390f35b6101d660048036038101906101d19190612714565b61062b565b005b6101f260048036038101906101ed919061275d565b6106b3565b6040516101ff9190612812565b60405180910390f35b610222600480360381019061021d91906128fc565b610747565b005b61023e60048036038101906102399190612acf565b61081d565b005b6102486108be565b005b610264600480360381019061025f9190612b9e565b6109e9565b6040516102719190612cd4565b60405180910390f35b610294600480360381019061028f9190612cf6565b610b02565b005b6102b060048036038101906102ab919061275d565b610bc2565b005b6102ba610c48565b005b6102d660048036038101906102d1919061275d565b610cd0565b005b6102e0610d56565b6040516102ed91906124f8565b60405180910390f35b6102fe610d5c565b60405161030b9190612d32565b60405180910390f35b61031c610d86565b6040516103299190612dac565b60405180910390f35b61034c60048036038101906103479190612df3565b610dac565b005b61036860048036038101906103639190612e33565b610f2d565b005b610384600480360381019061037f919061275d565b6111d5565b60405161039191906125b3565b60405180910390f35b6103a2611205565b6040516103af91906124f8565b60405180910390f35b6103d260048036038101906103cd919061275d565b61120b565b6040516103df91906124f8565b60405180910390f35b61040260048036038101906103fd9190612e7c565b611228565b60405161040f91906125b3565b60405180910390f35b610432600480360381019061042d9190612cf6565b6112bc565b60405161043f9190612cd4565b60405180910390f35b610462600480360381019061045d9190612ebc565b611474565b005b61047e60048036038101906104799190612cf6565b611515565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156104f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e890612fc5565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061061457507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061062457506106238261160d565b5b9050919050565b610633611677565b73ffffffffffffffffffffffffffffffffffffffff16610651610d5c565b73ffffffffffffffffffffffffffffffffffffffff16146106a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069e90613031565b60405180910390fd5b6106b08161167f565b50565b6060600280546106c290613080565b80601f01602080910402602001604051908101604052809291908181526020018280546106ee90613080565b801561073b5780601f106107105761010080835404028352916020019161073b565b820191906000526020600020905b81548152906001019060200180831161071e57829003601f168201915b50505050509050919050565b61074f611677565b73ffffffffffffffffffffffffffffffffffffffff1661076d610d5c565b73ffffffffffffffffffffffffffffffffffffffff16146107c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ba90613031565b60405180910390fd5b60005b8351811015610817576108048482815181106107e5576107e46130b2565b5b6020026020010151848460405180602001604052806000815250611699565b808061080f90613110565b9150506107c6565b50505050565b610825611677565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061086b575061086a85610865611677565b611228565b5b6108aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a1906131cb565b60405180910390fd5b6108b7858585858561182f565b5050505050565b6108c6611677565b73ffffffffffffffffffffffffffffffffffffffff166108e4610d5c565b73ffffffffffffffffffffffffffffffffffffffff161461093a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093190613031565b60405180910390fd5b60003073ffffffffffffffffffffffffffffffffffffffff16476040516109609061321c565b60006040518083038185875af1925050503d806000811461099d576040519150601f19603f3d011682016040523d82523d6000602084013e6109a2565b606091505b50509050806109e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109dd9061327d565b60405180910390fd5b50565b60608151835114610a2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a269061330f565b60405180910390fd5b6000835167ffffffffffffffff811115610a4c57610a4b6125e9565b5b604051908082528060200260200182016040528015610a7a5781602001602082028036833780820191505090505b50905060005b8451811015610af757610ac7858281518110610a9f57610a9e6130b2565b5b6020026020010151858381518110610aba57610ab96130b2565b5b6020026020010151610480565b828281518110610ada57610ad96130b2565b5b60200260200101818152505080610af090613110565b9050610a80565b508091505092915050565b610b0a611677565b73ffffffffffffffffffffffffffffffffffffffff16610b28610d5c565b73ffffffffffffffffffffffffffffffffffffffff1614610b7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7590613031565b60405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610bca611677565b73ffffffffffffffffffffffffffffffffffffffff16610be8610d5c565b73ffffffffffffffffffffffffffffffffffffffff1614610c3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3590613031565b60405180910390fd5b8060058190555050565b610c50611677565b73ffffffffffffffffffffffffffffffffffffffff16610c6e610d5c565b73ffffffffffffffffffffffffffffffffffffffff1614610cc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbb90613031565b60405180910390fd5b610cce6000611b43565b565b610cd8611677565b73ffffffffffffffffffffffffffffffffffffffff16610cf6610d5c565b73ffffffffffffffffffffffffffffffffffffffff1614610d4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4390613031565b60405180910390fd5b8060068190555050565b60065481565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b8173ffffffffffffffffffffffffffffffffffffffff16610dcb611677565b73ffffffffffffffffffffffffffffffffffffffff161415610e22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e19906133a1565b60405180910390fd5b8060016000610e2f611677565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610edc611677565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610f2191906125b3565b60405180910390a35050565b600554421015610f72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f699061340d565b60405180910390fd5b600654421115610fb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fae90613479565b60405180910390fd5b6000610fc1611677565b905060005b82518110156111d0576000838281518110610fe457610fe36130b2565b5b602002602001015190508273ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b815260040161106091906124f8565b60206040518083038186803b15801561107857600080fd5b505afa15801561108c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b091906134ae565b73ffffffffffffffffffffffffffffffffffffffff1614611106576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fd90613527565b60405180910390fd5b61110f816111d5565b61114e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114590613593565b60405180910390fd5b60016007600083815260200190815260200160002060006101000a81548160ff021916908315150217905550600061118582611c09565b90508060086000848152602001908152602001600020819055506111bb8482600160405180602001604052806000815250611699565b505080806111c890613110565b915050610fc6565b505050565b60008015156007600084815260200190815260200160002060009054906101000a900460ff161515149050919050565b60055481565b600060086000838152602001908152602001600020549050919050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663438b6300846040518263ffffffff1660e01b815260040161131b9190612d32565b60006040518083038186803b15801561133357600080fd5b505afa158015611347573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611370919061365f565b90506000815167ffffffffffffffff81111561138f5761138e6125e9565b5b6040519080825280602002602001820160405280156113bd5781602001602082028036833780820191505090505b50905060005b8251811015611469576113ef8382815181106113e2576113e16130b2565b5b60200260200101516111d5565b61143257828181518110611406576114056130b2565b5b6020026020010151828281518110611421576114206130b2565b5b602002602001018181525050611456565b6201869f828281518110611449576114486130b2565b5b6020026020010181815250505b808061146190613110565b9150506113c3565b508092505050919050565b61147c611677565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806114c257506114c1856114bc611677565b611228565b5b611501576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f89061371a565b60405180910390fd5b61150e8585858585611c79565b5050505050565b61151d611677565b73ffffffffffffffffffffffffffffffffffffffff1661153b610d5c565b73ffffffffffffffffffffffffffffffffffffffff1614611591576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158890613031565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611601576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f8906137ac565b60405180910390fd5b61160a81611b43565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b806002908051906020019061169592919061235e565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611709576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117009061383e565b60405180910390fd5b6000611713611677565b90506117348160008761172588611efb565b61172e88611efb565b87611f75565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611793919061385e565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516118119291906138b4565b60405180910390a461182881600087878787611f7d565b5050505050565b8151835114611873576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186a9061394f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156118e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118da906139e1565b60405180910390fd5b60006118ed611677565b90506118fd818787878787611f75565b60005b8451811015611aae57600085828151811061191e5761191d6130b2565b5b60200260200101519050600085838151811061193d5761193c6130b2565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156119de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d590613a73565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a93919061385e565b9250508190555050505080611aa790613110565b9050611900565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611b25929190613a93565b60405180910390a4611b3b818787878787612164565b505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008060644284600954604051602001611c2593929190613aeb565b6040516020818303038152906040528051906020012060001c611c489190613b57565b9050600a8111611c5c576001915050611c74565b601e8111611c6e576002915050611c74565b60039150505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611ce9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce0906139e1565b60405180910390fd5b6000611cf3611677565b9050611d13818787611d0488611efb565b611d0d88611efb565b87611f75565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611daa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da190613a73565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e5f919061385e565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051611edc9291906138b4565b60405180910390a4611ef2828888888888611f7d565b50505050505050565b60606000600167ffffffffffffffff811115611f1a57611f196125e9565b5b604051908082528060200260200182016040528015611f485781602001602082028036833780820191505090505b5090508281600081518110611f6057611f5f6130b2565b5b60200260200101818152505080915050919050565b505050505050565b611f9c8473ffffffffffffffffffffffffffffffffffffffff1661234b565b1561215c578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401611fe2959493929190613bdd565b602060405180830381600087803b158015611ffc57600080fd5b505af192505050801561202d57506040513d601f19601f8201168201806040525081019061202a9190613c4c565b60015b6120d357612039613c86565b806308c379a01415612096575061204e613ca8565b806120595750612098565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208d9190612812565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ca90613db0565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461215a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215190613e42565b60405180910390fd5b505b505050505050565b6121838473ffffffffffffffffffffffffffffffffffffffff1661234b565b15612343578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016121c9959493929190613e62565b602060405180830381600087803b1580156121e357600080fd5b505af192505050801561221457506040513d601f19601f820116820180604052508101906122119190613c4c565b60015b6122ba57612220613c86565b806308c379a0141561227d5750612235613ca8565b80612240575061227f565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122749190612812565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b190613db0565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612341576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233890613e42565b60405180910390fd5b505b505050505050565b600080823b905060008111915050919050565b82805461236a90613080565b90600052602060002090601f01602090048101928261238c57600085556123d3565b82601f106123a557805160ff19168380011785556123d3565b828001600101855582156123d3579182015b828111156123d25782518255916020019190600101906123b7565b5b5090506123e091906123e4565b5090565b5b808211156123fd5760008160009055506001016123e5565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061244082612415565b9050919050565b61245081612435565b811461245b57600080fd5b50565b60008135905061246d81612447565b92915050565b6000819050919050565b61248681612473565b811461249157600080fd5b50565b6000813590506124a38161247d565b92915050565b600080604083850312156124c0576124bf61240b565b5b60006124ce8582860161245e565b92505060206124df85828601612494565b9150509250929050565b6124f281612473565b82525050565b600060208201905061250d60008301846124e9565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61254881612513565b811461255357600080fd5b50565b6000813590506125658161253f565b92915050565b6000602082840312156125815761258061240b565b5b600061258f84828501612556565b91505092915050565b60008115159050919050565b6125ad81612598565b82525050565b60006020820190506125c860008301846125a4565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612621826125d8565b810181811067ffffffffffffffff821117156126405761263f6125e9565b5b80604052505050565b6000612653612401565b905061265f8282612618565b919050565b600067ffffffffffffffff82111561267f5761267e6125e9565b5b612688826125d8565b9050602081019050919050565b82818337600083830152505050565b60006126b76126b284612664565b612649565b9050828152602081018484840111156126d3576126d26125d3565b5b6126de848285612695565b509392505050565b600082601f8301126126fb576126fa6125ce565b5b813561270b8482602086016126a4565b91505092915050565b60006020828403121561272a5761272961240b565b5b600082013567ffffffffffffffff81111561274857612747612410565b5b612754848285016126e6565b91505092915050565b6000602082840312156127735761277261240b565b5b600061278184828501612494565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156127c45780820151818401526020810190506127a9565b838111156127d3576000848401525b50505050565b60006127e48261278a565b6127ee8185612795565b93506127fe8185602086016127a6565b612807816125d8565b840191505092915050565b6000602082019050818103600083015261282c81846127d9565b905092915050565b600067ffffffffffffffff82111561284f5761284e6125e9565b5b602082029050602081019050919050565b600080fd5b600061287861287384612834565b612649565b9050808382526020820190506020840283018581111561289b5761289a612860565b5b835b818110156128c457806128b0888261245e565b84526020840193505060208101905061289d565b5050509392505050565b600082601f8301126128e3576128e26125ce565b5b81356128f3848260208601612865565b91505092915050565b6000806000606084860312156129155761291461240b565b5b600084013567ffffffffffffffff81111561293357612932612410565b5b61293f868287016128ce565b935050602061295086828701612494565b925050604061296186828701612494565b9150509250925092565b600067ffffffffffffffff821115612986576129856125e9565b5b602082029050602081019050919050565b60006129aa6129a58461296b565b612649565b905080838252602082019050602084028301858111156129cd576129cc612860565b5b835b818110156129f657806129e28882612494565b8452602084019350506020810190506129cf565b5050509392505050565b600082601f830112612a1557612a146125ce565b5b8135612a25848260208601612997565b91505092915050565b600067ffffffffffffffff821115612a4957612a486125e9565b5b612a52826125d8565b9050602081019050919050565b6000612a72612a6d84612a2e565b612649565b905082815260208101848484011115612a8e57612a8d6125d3565b5b612a99848285612695565b509392505050565b600082601f830112612ab657612ab56125ce565b5b8135612ac6848260208601612a5f565b91505092915050565b600080600080600060a08688031215612aeb57612aea61240b565b5b6000612af98882890161245e565b9550506020612b0a8882890161245e565b945050604086013567ffffffffffffffff811115612b2b57612b2a612410565b5b612b3788828901612a00565b935050606086013567ffffffffffffffff811115612b5857612b57612410565b5b612b6488828901612a00565b925050608086013567ffffffffffffffff811115612b8557612b84612410565b5b612b9188828901612aa1565b9150509295509295909350565b60008060408385031215612bb557612bb461240b565b5b600083013567ffffffffffffffff811115612bd357612bd2612410565b5b612bdf858286016128ce565b925050602083013567ffffffffffffffff811115612c0057612bff612410565b5b612c0c85828601612a00565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612c4b81612473565b82525050565b6000612c5d8383612c42565b60208301905092915050565b6000602082019050919050565b6000612c8182612c16565b612c8b8185612c21565b9350612c9683612c32565b8060005b83811015612cc7578151612cae8882612c51565b9750612cb983612c69565b925050600181019050612c9a565b5085935050505092915050565b60006020820190508181036000830152612cee8184612c76565b905092915050565b600060208284031215612d0c57612d0b61240b565b5b6000612d1a8482850161245e565b91505092915050565b612d2c81612435565b82525050565b6000602082019050612d476000830184612d23565b92915050565b6000819050919050565b6000612d72612d6d612d6884612415565b612d4d565b612415565b9050919050565b6000612d8482612d57565b9050919050565b6000612d9682612d79565b9050919050565b612da681612d8b565b82525050565b6000602082019050612dc16000830184612d9d565b92915050565b612dd081612598565b8114612ddb57600080fd5b50565b600081359050612ded81612dc7565b92915050565b60008060408385031215612e0a57612e0961240b565b5b6000612e188582860161245e565b9250506020612e2985828601612dde565b9150509250929050565b600060208284031215612e4957612e4861240b565b5b600082013567ffffffffffffffff811115612e6757612e66612410565b5b612e7384828501612a00565b91505092915050565b60008060408385031215612e9357612e9261240b565b5b6000612ea18582860161245e565b9250506020612eb28582860161245e565b9150509250929050565b600080600080600060a08688031215612ed857612ed761240b565b5b6000612ee68882890161245e565b9550506020612ef78882890161245e565b9450506040612f0888828901612494565b9350506060612f1988828901612494565b925050608086013567ffffffffffffffff811115612f3a57612f39612410565b5b612f4688828901612aa1565b9150509295509295909350565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000612faf602b83612795565b9150612fba82612f53565b604082019050919050565b60006020820190508181036000830152612fde81612fa2565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061301b602083612795565b915061302682612fe5565b602082019050919050565b6000602082019050818103600083015261304a8161300e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061309857607f821691505b602082108114156130ac576130ab613051565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061311b82612473565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561314e5761314d6130e1565b5b600182019050919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b60006131b5603283612795565b91506131c082613159565b604082019050919050565b600060208201905081810360008301526131e4816131a8565b9050919050565b600081905092915050565b50565b60006132066000836131eb565b9150613211826131f6565b600082019050919050565b6000613227826131f9565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b6000613267601083612795565b915061327282613231565b602082019050919050565b600060208201905081810360008301526132968161325a565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006132f9602983612795565b91506133048261329d565b604082019050919050565b60006020820190508181036000830152613328816132ec565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b600061338b602983612795565b91506133968261332f565b604082019050919050565b600060208201905081810360008301526133ba8161337e565b9050919050565b7f4576656e74206e6f742073746172746564000000000000000000000000000000600082015250565b60006133f7601183612795565b9150613402826133c1565b602082019050919050565b60006020820190508181036000830152613426816133ea565b9050919050565b7f4576656e7420656e646564000000000000000000000000000000000000000000600082015250565b6000613463600b83612795565b915061346e8261342d565b602082019050919050565b6000602082019050818103600083015261349281613456565b9050919050565b6000815190506134a881612447565b92915050565b6000602082840312156134c4576134c361240b565b5b60006134d284828501613499565b91505092915050565b7f426164206f776e65722100000000000000000000000000000000000000000000600082015250565b6000613511600a83612795565b915061351c826134db565b602082019050919050565b6000602082019050818103600083015261354081613504565b9050919050565b7f416c726561647920436c61696d65642100000000000000000000000000000000600082015250565b600061357d601083612795565b915061358882613547565b602082019050919050565b600060208201905081810360008301526135ac81613570565b9050919050565b6000815190506135c28161247d565b92915050565b60006135db6135d68461296b565b612649565b905080838252602082019050602084028301858111156135fe576135fd612860565b5b835b81811015613627578061361388826135b3565b845260208401935050602081019050613600565b5050509392505050565b600082601f830112613646576136456125ce565b5b81516136568482602086016135c8565b91505092915050565b6000602082840312156136755761367461240b565b5b600082015167ffffffffffffffff81111561369357613692612410565b5b61369f84828501613631565b91505092915050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000613704602983612795565b915061370f826136a8565b604082019050919050565b60006020820190508181036000830152613733816136f7565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613796602683612795565b91506137a18261373a565b604082019050919050565b600060208201905081810360008301526137c581613789565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613828602183612795565b9150613833826137cc565b604082019050919050565b600060208201905081810360008301526138578161381b565b9050919050565b600061386982612473565b915061387483612473565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156138a9576138a86130e1565b5b828201905092915050565b60006040820190506138c960008301856124e9565b6138d660208301846124e9565b9392505050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000613939602883612795565b9150613944826138dd565b604082019050919050565b600060208201905081810360008301526139688161392c565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006139cb602583612795565b91506139d68261396f565b604082019050919050565b600060208201905081810360008301526139fa816139be565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000613a5d602a83612795565b9150613a6882613a01565b604082019050919050565b60006020820190508181036000830152613a8c81613a50565b9050919050565b60006040820190508181036000830152613aad8185612c76565b90508181036020830152613ac18184612c76565b90509392505050565b6000819050919050565b613ae5613ae082612473565b613aca565b82525050565b6000613af78286613ad4565b602082019150613b078285613ad4565b602082019150613b178284613ad4565b602082019150819050949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613b6282612473565b9150613b6d83612473565b925082613b7d57613b7c613b28565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000613baf82613b88565b613bb98185613b93565b9350613bc98185602086016127a6565b613bd2816125d8565b840191505092915050565b600060a082019050613bf26000830188612d23565b613bff6020830187612d23565b613c0c60408301866124e9565b613c1960608301856124e9565b8181036080830152613c2b8184613ba4565b90509695505050505050565b600081519050613c468161253f565b92915050565b600060208284031215613c6257613c6161240b565b5b6000613c7084828501613c37565b91505092915050565b60008160e01c9050919050565b600060033d1115613ca55760046000803e613ca2600051613c79565b90505b90565b600060443d1015613cb857613d3b565b613cc0612401565b60043d036004823e80513d602482011167ffffffffffffffff82111715613ce8575050613d3b565b808201805167ffffffffffffffff811115613d065750505050613d3b565b80602083010160043d038501811115613d23575050505050613d3b565b613d3282602001850186612618565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000613d9a603483612795565b9150613da582613d3e565b604082019050919050565b60006020820190508181036000830152613dc981613d8d565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000613e2c602883612795565b9150613e3782613dd0565b604082019050919050565b60006020820190508181036000830152613e5b81613e1f565b9050919050565b600060a082019050613e776000830188612d23565b613e846020830187612d23565b8181036040830152613e968186612c76565b90508181036060830152613eaa8185612c76565b90508181036080830152613ebe8184613ba4565b9050969550505050505056fea2646970667358221220dd23b45227c2c656e18b1c29cfa8c05be171ff6f8580556d85fe2b4bb243bb4764736f6c63430008090033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002b68747470733a2f2f6170692e707564677970656e6775696e732e696f2f68616c6c6f7765656e2f7b69647d000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _baseURI (string): https://api.pudgypenguins.io/halloween/{id}

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 000000000000000000000000000000000000000000000000000000000000002b
Arg [2] : 68747470733a2f2f6170692e707564677970656e6775696e732e696f2f68616c
Arg [3] : 6c6f7765656e2f7b69647d000000000000000000000000000000000000000000


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.