ETH Price: $2,687.61 (-0.51%)

Contract

0x1f4E4eF54dB90934DE8fB2d68438C68660099Ad4
 

Overview

ETH Balance

0.01 ETH

Eth Value

$26.88 (@ $2,687.61/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Safe Transfer Fr...166783072023-02-21 17:16:47726 days ago1676999807IN
0x1f4E4eF5...660099Ad4
0 ETH0.002980243.92663663
Set Approval For...139875382022-01-12 0:30:301131 days ago1641947430IN
0x1f4E4eF5...660099Ad4
0 ETH0.00795506170.43888248
Add To Nice List137771952021-12-10 11:45:271164 days ago1639136727IN
0x1f4E4eF5...660099Ad4
0 ETH0.0065280845.48937738
Add To Nice List137279212021-12-02 14:43:371172 days ago1638456217IN
0x1f4E4eF5...660099Ad4
0 ETH0.00959641102.11232884
Send Present137207752021-12-01 11:25:101173 days ago1638357910IN
0x1f4E4eF5...660099Ad4
0.01 ETH0.029983689.63816995

Latest 3 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
139875442022-01-12 0:31:401131 days ago1641947500
0x1f4E4eF5...660099Ad4
0 ETH
137207752021-12-01 11:25:101173 days ago1638357910
0x1f4E4eF5...660099Ad4
0 ETH
137207752021-12-01 11:25:101173 days ago1638357910
0x1f4E4eF5...660099Ad4
0 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
NftySanta

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
No with 200 runs

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

pragma solidity 0.8.10;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/utils/ERC721Holder.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";

contract NftySanta is ERC721, IERC721Receiver, ERC721Holder, Ownable  {

    struct Present {
        IERC721 tokenAddress;
        uint256 tokenID;
        string message;
        address recipient;
    }

    // Counter for token IDs
    using Counters for Counters.Counter;
    Counters.Counter private _tokenIDs;

    mapping(uint256 => Present) private _presents;
    mapping(address => bool) private _niceList;

    string private _baseTokenURI;
    uint private _unixChristmas;
    uint private _presentPrice;

    // Events
    event PresentSent(uint256 tokenId);
    event PresentUnwrapped(address tokenAddress, uint256 tokenId, string message);

    constructor(string memory baseTokenURI, uint unixChristmas, uint presentPrice) ERC721("NftySanta", "SANTA") {
        setBaseTokenURI(baseTokenURI);
        setUnixChristmas(unixChristmas);
        setPresentPrice(presentPrice);
    }

    function unwrap(uint256 tokenID) public {
        require(_exists(tokenID), "Present does not exist or has been unwrapped already");
        Present memory present = _presents[tokenID];
        require(present.recipient == msg.sender, "This isn't your present buddy");
        require(block.timestamp >= _unixChristmas, "Not Christmas yet!");

        _burn(tokenID);
        delete _presents[tokenID];
        present.tokenAddress.safeTransferFrom(address(this), present.recipient, present.tokenID);

        emit PresentUnwrapped(address(present.tokenAddress), present.tokenID, present.message);
    }

     /**
     * @dev Main minting/ wrapping function.
     */
    function sendPresent(IERC721 giftedTokenAddress, uint256 giftedTokenId, string memory message, address recipient) public payable {
        // Can only send presents before or on christmas day
        require(block.timestamp < _unixChristmas + 86400, "Christmas is over, wait till next year");
        
        uint mintPrice = isOnNiceList() ? 0 : _presentPrice;
        require(msg.value == mintPrice, "Incorrect ETH sent");

        // We add 1 so that IDs start from 1 and not 0.
        uint256 tokenID = _tokenIDs.current() + 1;
        giftedTokenAddress.safeTransferFrom(msg.sender, address(this), giftedTokenId);
        _presents[tokenID] = Present(giftedTokenAddress, giftedTokenId, message, recipient);
        _safeMint(recipient, tokenID);
        _tokenIDs.increment();

        emit PresentSent(tokenID);
    }

    function isOnNiceList() public view returns (bool) {
        return _niceList[msg.sender];
    }

    function getPresentPrice() public view returns (uint) {
        return _presentPrice;
    }

    function getUnixChristmas() public view returns (uint) {
        return _unixChristmas;
    }

    // onlyOwner ---------------------------

    function setBaseTokenURI(string memory baseTokenURI) public onlyOwner {
        _baseTokenURI = baseTokenURI;
    } 

    function setUnixChristmas(uint unixChristmas) public onlyOwner {
        _unixChristmas = unixChristmas;
    } 

    function setPresentPrice(uint presentPrice) public onlyOwner {
        _presentPrice = presentPrice;
    } 

    function addToNiceList(address[] memory niceAddresses) public onlyOwner {
        uint256 arrayLength = niceAddresses.length;
        for (uint256 i=0; i < arrayLength; i++) {
            address niceAddress = niceAddresses[i];
            _niceList[niceAddress] = true;
        }

    }

    function removeFromNiceList(address naughtyAddr) public onlyOwner {
        _niceList[naughtyAddr] = false;
    }

    function withdraw(address withdrawAddress) public onlyOwner {
        uint balance = address(this).balance;
        require(balance > 0, "Balance is 0");
        payable(withdrawAddress).transfer(address(this).balance);
    }

    // internal overrides ---------------------------

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        // If token is being transferred and not minted or burned
        if (from != to && from != address(0) && to != address(0)) {
            _presents[tokenId].recipient = to;
        }
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
        return _baseTokenURI;
    }

}

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

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

pragma solidity ^0.8.0;

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

File 4 of 13 : ERC721Holder.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/utils/ERC721Holder.sol)

pragma solidity ^0.8.0;

import "../IERC721Receiver.sol";

/**
 * @dev Implementation of the {IERC721Receiver} interface.
 *
 * Accepts all token transfers.
 * Make sure the contract is able to use its token with {IERC721-safeTransferFrom}, {IERC721-approve} or {IERC721-setApprovalForAll}.
 */
contract ERC721Holder is IERC721Receiver {
    /**
     * @dev See {IERC721Receiver-onERC721Received}.
     *
     * Always returns `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address,
        address,
        uint256,
        bytes memory
    ) public virtual override returns (bytes4) {
        return this.onERC721Received.selector;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseTokenURI","type":"string"},{"internalType":"uint256","name":"unixChristmas","type":"uint256"},{"internalType":"uint256","name":"presentPrice","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"PresentSent","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"message","type":"string"}],"name":"PresentUnwrapped","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address[]","name":"niceAddresses","type":"address[]"}],"name":"addToNiceList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPresentPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getUnixChristmas","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOnNiceList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"naughtyAddr","type":"address"}],"name":"removeFromNiceList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC721","name":"giftedTokenAddress","type":"address"},{"internalType":"uint256","name":"giftedTokenId","type":"uint256"},{"internalType":"string","name":"message","type":"string"},{"internalType":"address","name":"recipient","type":"address"}],"name":"sendPresent","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"presentPrice","type":"uint256"}],"name":"setPresentPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"unixChristmas","type":"uint256"}],"name":"setUnixChristmas","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"unwrap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"withdrawAddress","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620048dc380380620048dc833981810160405281019062000037919062000690565b6040518060400160405280600981526020017f4e66747953616e746100000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f53414e54410000000000000000000000000000000000000000000000000000008152508160009080519060200190620000bb92919062000408565b508060019080519060200190620000d492919062000408565b505050620000f7620000eb6200013360201b60201c565b6200013b60201b60201c565b62000108836200020160201b60201c565b6200011982620002ac60201b60201c565b6200012a816200034560201b60201c565b505050620007f3565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002116200013360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000237620003de60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000290576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000287906200076c565b60405180910390fd5b80600a9080519060200190620002a892919062000408565b5050565b620002bc6200013360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002e2620003de60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200033b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000332906200076c565b60405180910390fd5b80600b8190555050565b620003556200013360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200037b620003de60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620003d4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003cb906200076c565b60405180910390fd5b80600c8190555050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200041690620007bd565b90600052602060002090601f0160209004810192826200043a576000855562000486565b82601f106200045557805160ff191683800117855562000486565b8280016001018555821562000486579182015b828111156200048557825182559160200191906001019062000468565b5b50905062000495919062000499565b5090565b5b80821115620004b45760008160009055506001016200049a565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200052182620004d6565b810181811067ffffffffffffffff82111715620005435762000542620004e7565b5b80604052505050565b600062000558620004b8565b905062000566828262000516565b919050565b600067ffffffffffffffff821115620005895762000588620004e7565b5b6200059482620004d6565b9050602081019050919050565b60005b83811015620005c1578082015181840152602081019050620005a4565b83811115620005d1576000848401525b50505050565b6000620005ee620005e8846200056b565b6200054c565b9050828152602081018484840111156200060d576200060c620004d1565b5b6200061a848285620005a1565b509392505050565b600082601f8301126200063a5762000639620004cc565b5b81516200064c848260208601620005d7565b91505092915050565b6000819050919050565b6200066a8162000655565b81146200067657600080fd5b50565b6000815190506200068a816200065f565b92915050565b600080600060608486031215620006ac57620006ab620004c2565b5b600084015167ffffffffffffffff811115620006cd57620006cc620004c7565b5b620006db8682870162000622565b9350506020620006ee8682870162000679565b9250506040620007018682870162000679565b9150509250925092565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000620007546020836200070b565b915062000761826200071c565b602082019050919050565b60006020820190508181036000830152620007878162000745565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620007d657607f821691505b60208210811415620007ed57620007ec6200078e565b5b50919050565b6140d980620008036000396000f3fe6080604052600436106101b75760003560e01c80636e6ab8c8116100ec578063a22cb4651161008a578063de0e9a3e11610064578063de0e9a3e146105f7578063e01b9bdc14610620578063e985e9c51461064b578063f2fde38b14610688576101b7565b8063a22cb46514610568578063b88d4fde14610591578063c87b56dd146105ba576101b7565b806388257bbb116100c657806388257bbb146104be5780638ca738b1146104e75780638da5cb5b1461051257806395d89b411461053d576101b7565b80636e6ab8c81461044157806370a082311461046a578063715018a6146104a7576101b7565b80631f0340fa1161015957806330176e131161013357806330176e131461038957806342842e0e146103b257806351cff8d9146103db5780636352211e14610404576101b7565b80631f0340fa1461031b57806323b872dd146103375780632705889414610360576101b7565b8063095ea7b311610195578063095ea7b314610261578063150b7a021461028a5780631ba896a2146102c75780631de91351146102f0576101b7565b806301ffc9a7146101bc57806306fdde03146101f9578063081812fc14610224575b600080fd5b3480156101c857600080fd5b506101e360048036038101906101de9190612a20565b6106b1565b6040516101f09190612a68565b60405180910390f35b34801561020557600080fd5b5061020e610793565b60405161021b9190612b1c565b60405180910390f35b34801561023057600080fd5b5061024b60048036038101906102469190612b74565b610825565b6040516102589190612be2565b60405180910390f35b34801561026d57600080fd5b5061028860048036038101906102839190612c29565b6108aa565b005b34801561029657600080fd5b506102b160048036038101906102ac9190612d9e565b6109c2565b6040516102be9190612e30565b60405180910390f35b3480156102d357600080fd5b506102ee60048036038101906102e99190612b74565b6109d6565b005b3480156102fc57600080fd5b50610305610a5c565b6040516103129190612e5a565b60405180910390f35b61033560048036038101906103309190612f54565b610a66565b005b34801561034357600080fd5b5061035e60048036038101906103599190612fd7565b610d09565b005b34801561036c57600080fd5b506103876004803603810190610382919061302a565b610d69565b005b34801561039557600080fd5b506103b060048036038101906103ab9190613057565b610e40565b005b3480156103be57600080fd5b506103d960048036038101906103d49190612fd7565b610ed6565b005b3480156103e757600080fd5b5061040260048036038101906103fd919061302a565b610ef6565b005b34801561041057600080fd5b5061042b60048036038101906104269190612b74565b611005565b6040516104389190612be2565b60405180910390f35b34801561044d57600080fd5b5061046860048036038101906104639190613168565b6110b7565b005b34801561047657600080fd5b50610491600480360381019061048c919061302a565b6111d4565b60405161049e9190612e5a565b60405180910390f35b3480156104b357600080fd5b506104bc61128c565b005b3480156104ca57600080fd5b506104e560048036038101906104e09190612b74565b611314565b005b3480156104f357600080fd5b506104fc61139a565b6040516105099190612a68565b60405180910390f35b34801561051e57600080fd5b506105276113ee565b6040516105349190612be2565b60405180910390f35b34801561054957600080fd5b50610552611418565b60405161055f9190612b1c565b60405180910390f35b34801561057457600080fd5b5061058f600480360381019061058a91906131dd565b6114aa565b005b34801561059d57600080fd5b506105b860048036038101906105b39190612d9e565b6114c0565b005b3480156105c657600080fd5b506105e160048036038101906105dc9190612b74565b611522565b6040516105ee9190612b1c565b60405180910390f35b34801561060357600080fd5b5061061e60048036038101906106199190612b74565b6115fe565b005b34801561062c57600080fd5b506106356119b2565b6040516106429190612e5a565b60405180910390f35b34801561065757600080fd5b50610672600480360381019061066d919061321d565b6119bc565b60405161067f9190612a68565b60405180910390f35b34801561069457600080fd5b506106af60048036038101906106aa919061302a565b611a50565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061077c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061078c575061078b82611b48565b5b9050919050565b6060600080546107a29061328c565b80601f01602080910402602001604051908101604052809291908181526020018280546107ce9061328c565b801561081b5780601f106107f05761010080835404028352916020019161081b565b820191906000526020600020905b8154815290600101906020018083116107fe57829003601f168201915b5050505050905090565b600061083082611bb2565b61086f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086690613330565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108b582611005565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610926576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091d906133c2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610945611c1e565b73ffffffffffffffffffffffffffffffffffffffff16148061097457506109738161096e611c1e565b6119bc565b5b6109b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109aa90613454565b60405180910390fd5b6109bd8383611c26565b505050565b600063150b7a0260e01b9050949350505050565b6109de611c1e565b73ffffffffffffffffffffffffffffffffffffffff166109fc6113ee565b73ffffffffffffffffffffffffffffffffffffffff1614610a52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a49906134c0565b60405180910390fd5b80600b8190555050565b6000600b54905090565b62015180600b54610a77919061350f565b4210610ab8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aaf906135d7565b60405180910390fd5b6000610ac261139a565b610ace57600c54610ad1565b60005b9050803414610b15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0c90613643565b60405180910390fd5b60006001610b236007611cdf565b610b2d919061350f565b90508573ffffffffffffffffffffffffffffffffffffffff166342842e0e3330886040518463ffffffff1660e01b8152600401610b6c93929190613663565b600060405180830381600087803b158015610b8657600080fd5b505af1158015610b9a573d6000803e3d6000fd5b5050505060405180608001604052808773ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018581526020018473ffffffffffffffffffffffffffffffffffffffff168152506008600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101556040820151816002019080519060200190610c6b9291906128d1565b5060608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550905050610cc08382611ced565b610cca6007611d0b565b7fb7fea3536ca2af7ea80d3bcfe7c261a3464929ab1fcf1f7d7797242fc0542a6081604051610cf99190612e5a565b60405180910390a1505050505050565b610d1a610d14611c1e565b82611d21565b610d59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d509061370c565b60405180910390fd5b610d64838383611dff565b505050565b610d71611c1e565b73ffffffffffffffffffffffffffffffffffffffff16610d8f6113ee565b73ffffffffffffffffffffffffffffffffffffffff1614610de5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddc906134c0565b60405180910390fd5b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b610e48611c1e565b73ffffffffffffffffffffffffffffffffffffffff16610e666113ee565b73ffffffffffffffffffffffffffffffffffffffff1614610ebc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb3906134c0565b60405180910390fd5b80600a9080519060200190610ed29291906128d1565b5050565b610ef1838383604051806020016040528060008152506114c0565b505050565b610efe611c1e565b73ffffffffffffffffffffffffffffffffffffffff16610f1c6113ee565b73ffffffffffffffffffffffffffffffffffffffff1614610f72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f69906134c0565b60405180910390fd5b600047905060008111610fba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb190613778565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611000573d6000803e3d6000fd5b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a59061380a565b60405180910390fd5b80915050919050565b6110bf611c1e565b73ffffffffffffffffffffffffffffffffffffffff166110dd6113ee565b73ffffffffffffffffffffffffffffffffffffffff1614611133576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112a906134c0565b60405180910390fd5b60008151905060005b818110156111cf5760008382815181106111595761115861382a565b5b602002602001015190506001600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505080806111c790613859565b91505061113c565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611245576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123c90613914565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611294611c1e565b73ffffffffffffffffffffffffffffffffffffffff166112b26113ee565b73ffffffffffffffffffffffffffffffffffffffff1614611308576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ff906134c0565b60405180910390fd5b611312600061205b565b565b61131c611c1e565b73ffffffffffffffffffffffffffffffffffffffff1661133a6113ee565b73ffffffffffffffffffffffffffffffffffffffff1614611390576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611387906134c0565b60405180910390fd5b80600c8190555050565b6000600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546114279061328c565b80601f01602080910402602001604051908101604052809291908181526020018280546114539061328c565b80156114a05780601f10611475576101008083540402835291602001916114a0565b820191906000526020600020905b81548152906001019060200180831161148357829003601f168201915b5050505050905090565b6114bc6114b5611c1e565b8383612121565b5050565b6114d16114cb611c1e565b83611d21565b611510576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115079061370c565b60405180910390fd5b61151c8484848461228e565b50505050565b606061152d82611bb2565b61156c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611563906139a6565b60405180910390fd5b600a80546115799061328c565b80601f01602080910402602001604051908101604052809291908181526020018280546115a59061328c565b80156115f25780601f106115c7576101008083540402835291602001916115f2565b820191906000526020600020905b8154815290600101906020018083116115d557829003601f168201915b50505050509050919050565b61160781611bb2565b611646576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163d90613a38565b60405180910390fd5b6000600860008381526020019081526020016000206040518060800160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600182015481526020016002820180546116d69061328c565b80601f01602080910402602001604051908101604052809291908181526020018280546117029061328c565b801561174f5780601f106117245761010080835404028352916020019161174f565b820191906000526020600020905b81548152906001019060200180831161173257829003601f168201915b505050505081526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152505090503373ffffffffffffffffffffffffffffffffffffffff16816060015173ffffffffffffffffffffffffffffffffffffffff1614611822576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181990613aa4565b60405180910390fd5b600b54421015611867576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185e90613b10565b60405180910390fd5b611870826122ea565b60086000838152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560018201600090556002820160006118c39190612957565b6003820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555050806000015173ffffffffffffffffffffffffffffffffffffffff166342842e0e30836060015184602001516040518463ffffffff1660e01b815260040161193593929190613663565b600060405180830381600087803b15801561194f57600080fd5b505af1158015611963573d6000803e3d6000fd5b505050507fd92651280b53299087b582148349444e6827bac6a1f69d07c72553e6027e014e8160000151826020015183604001516040516119a693929190613b30565b60405180910390a15050565b6000600c54905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611a58611c1e565b73ffffffffffffffffffffffffffffffffffffffff16611a766113ee565b73ffffffffffffffffffffffffffffffffffffffff1614611acc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac3906134c0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3390613be0565b60405180910390fd5b611b458161205b565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611c9983611005565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b611d078282604051806020016040528060008152506123fb565b5050565b6001816000016000828254019250508190555050565b6000611d2c82611bb2565b611d6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6290613c72565b60405180910390fd5b6000611d7683611005565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611de557508373ffffffffffffffffffffffffffffffffffffffff16611dcd84610825565b73ffffffffffffffffffffffffffffffffffffffff16145b80611df65750611df581856119bc565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611e1f82611005565b73ffffffffffffffffffffffffffffffffffffffff1614611e75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6c90613d04565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ee5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611edc90613d96565b60405180910390fd5b611ef0838383612456565b611efb600082611c26565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f4b9190613db6565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fa2919061350f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612190576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218790613e36565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122819190612a68565b60405180910390a3505050565b612299848484611dff565b6122a584848484612563565b6122e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122db90613ec8565b60405180910390fd5b50505050565b60006122f582611005565b905061230381600084612456565b61230e600083611c26565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461235e9190613db6565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b61240583836126eb565b6124126000848484612563565b612451576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244890613ec8565b60405180910390fd5b505050565b6124618383836128b9565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156124ca5750600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b80156125035750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b1561255e57816008600083815260200190815260200160002060030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b505050565b60006125848473ffffffffffffffffffffffffffffffffffffffff166128be565b156126de578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026125ad611c1e565b8786866040518563ffffffff1660e01b81526004016125cf9493929190613f3d565b6020604051808303816000875af192505050801561260b57506040513d601f19601f820116820180604052508101906126089190613f9e565b60015b61268e573d806000811461263b576040519150601f19603f3d011682016040523d82523d6000602084013e612640565b606091505b50600081511415612686576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267d90613ec8565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506126e3565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561275b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275290614017565b60405180910390fd5b61276481611bb2565b156127a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279b90614083565b60405180910390fd5b6127b060008383612456565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612800919061350f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b600080823b905060008111915050919050565b8280546128dd9061328c565b90600052602060002090601f0160209004810192826128ff5760008555612946565b82601f1061291857805160ff1916838001178555612946565b82800160010185558215612946579182015b8281111561294557825182559160200191906001019061292a565b5b5090506129539190612997565b5090565b5080546129639061328c565b6000825580601f106129755750612994565b601f0160209004906000526020600020908101906129939190612997565b5b50565b5b808211156129b0576000816000905550600101612998565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6129fd816129c8565b8114612a0857600080fd5b50565b600081359050612a1a816129f4565b92915050565b600060208284031215612a3657612a356129be565b5b6000612a4484828501612a0b565b91505092915050565b60008115159050919050565b612a6281612a4d565b82525050565b6000602082019050612a7d6000830184612a59565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612abd578082015181840152602081019050612aa2565b83811115612acc576000848401525b50505050565b6000601f19601f8301169050919050565b6000612aee82612a83565b612af88185612a8e565b9350612b08818560208601612a9f565b612b1181612ad2565b840191505092915050565b60006020820190508181036000830152612b368184612ae3565b905092915050565b6000819050919050565b612b5181612b3e565b8114612b5c57600080fd5b50565b600081359050612b6e81612b48565b92915050565b600060208284031215612b8a57612b896129be565b5b6000612b9884828501612b5f565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612bcc82612ba1565b9050919050565b612bdc81612bc1565b82525050565b6000602082019050612bf76000830184612bd3565b92915050565b612c0681612bc1565b8114612c1157600080fd5b50565b600081359050612c2381612bfd565b92915050565b60008060408385031215612c4057612c3f6129be565b5b6000612c4e85828601612c14565b9250506020612c5f85828601612b5f565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612cab82612ad2565b810181811067ffffffffffffffff82111715612cca57612cc9612c73565b5b80604052505050565b6000612cdd6129b4565b9050612ce98282612ca2565b919050565b600067ffffffffffffffff821115612d0957612d08612c73565b5b612d1282612ad2565b9050602081019050919050565b82818337600083830152505050565b6000612d41612d3c84612cee565b612cd3565b905082815260208101848484011115612d5d57612d5c612c6e565b5b612d68848285612d1f565b509392505050565b600082601f830112612d8557612d84612c69565b5b8135612d95848260208601612d2e565b91505092915050565b60008060008060808587031215612db857612db76129be565b5b6000612dc687828801612c14565b9450506020612dd787828801612c14565b9350506040612de887828801612b5f565b925050606085013567ffffffffffffffff811115612e0957612e086129c3565b5b612e1587828801612d70565b91505092959194509250565b612e2a816129c8565b82525050565b6000602082019050612e456000830184612e21565b92915050565b612e5481612b3e565b82525050565b6000602082019050612e6f6000830184612e4b565b92915050565b6000612e8082612bc1565b9050919050565b612e9081612e75565b8114612e9b57600080fd5b50565b600081359050612ead81612e87565b92915050565b600067ffffffffffffffff821115612ece57612ecd612c73565b5b612ed782612ad2565b9050602081019050919050565b6000612ef7612ef284612eb3565b612cd3565b905082815260208101848484011115612f1357612f12612c6e565b5b612f1e848285612d1f565b509392505050565b600082601f830112612f3b57612f3a612c69565b5b8135612f4b848260208601612ee4565b91505092915050565b60008060008060808587031215612f6e57612f6d6129be565b5b6000612f7c87828801612e9e565b9450506020612f8d87828801612b5f565b935050604085013567ffffffffffffffff811115612fae57612fad6129c3565b5b612fba87828801612f26565b9250506060612fcb87828801612c14565b91505092959194509250565b600080600060608486031215612ff057612fef6129be565b5b6000612ffe86828701612c14565b935050602061300f86828701612c14565b925050604061302086828701612b5f565b9150509250925092565b6000602082840312156130405761303f6129be565b5b600061304e84828501612c14565b91505092915050565b60006020828403121561306d5761306c6129be565b5b600082013567ffffffffffffffff81111561308b5761308a6129c3565b5b61309784828501612f26565b91505092915050565b600067ffffffffffffffff8211156130bb576130ba612c73565b5b602082029050602081019050919050565b600080fd5b60006130e46130df846130a0565b612cd3565b90508083825260208201905060208402830185811115613107576131066130cc565b5b835b81811015613130578061311c8882612c14565b845260208401935050602081019050613109565b5050509392505050565b600082601f83011261314f5761314e612c69565b5b813561315f8482602086016130d1565b91505092915050565b60006020828403121561317e5761317d6129be565b5b600082013567ffffffffffffffff81111561319c5761319b6129c3565b5b6131a88482850161313a565b91505092915050565b6131ba81612a4d565b81146131c557600080fd5b50565b6000813590506131d7816131b1565b92915050565b600080604083850312156131f4576131f36129be565b5b600061320285828601612c14565b9250506020613213858286016131c8565b9150509250929050565b60008060408385031215613234576132336129be565b5b600061324285828601612c14565b925050602061325385828601612c14565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806132a457607f821691505b602082108114156132b8576132b761325d565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061331a602c83612a8e565b9150613325826132be565b604082019050919050565b600060208201905081810360008301526133498161330d565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006133ac602183612a8e565b91506133b782613350565b604082019050919050565b600060208201905081810360008301526133db8161339f565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061343e603883612a8e565b9150613449826133e2565b604082019050919050565b6000602082019050818103600083015261346d81613431565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006134aa602083612a8e565b91506134b582613474565b602082019050919050565b600060208201905081810360008301526134d98161349d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061351a82612b3e565b915061352583612b3e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561355a576135596134e0565b5b828201905092915050565b7f4368726973746d6173206973206f7665722c20776169742074696c6c206e657860008201527f7420796561720000000000000000000000000000000000000000000000000000602082015250565b60006135c1602683612a8e565b91506135cc82613565565b604082019050919050565b600060208201905081810360008301526135f0816135b4565b9050919050565b7f496e636f7272656374204554482073656e740000000000000000000000000000600082015250565b600061362d601283612a8e565b9150613638826135f7565b602082019050919050565b6000602082019050818103600083015261365c81613620565b9050919050565b60006060820190506136786000830186612bd3565b6136856020830185612bd3565b6136926040830184612e4b565b949350505050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006136f6603183612a8e565b91506137018261369a565b604082019050919050565b60006020820190508181036000830152613725816136e9565b9050919050565b7f42616c616e636520697320300000000000000000000000000000000000000000600082015250565b6000613762600c83612a8e565b915061376d8261372c565b602082019050919050565b6000602082019050818103600083015261379181613755565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006137f4602983612a8e565b91506137ff82613798565b604082019050919050565b60006020820190508181036000830152613823816137e7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061386482612b3e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613897576138966134e0565b5b600182019050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006138fe602a83612a8e565b9150613909826138a2565b604082019050919050565b6000602082019050818103600083015261392d816138f1565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613990602f83612a8e565b915061399b82613934565b604082019050919050565b600060208201905081810360008301526139bf81613983565b9050919050565b7f50726573656e7420646f6573206e6f74206578697374206f722068617320626560008201527f656e20756e7772617070656420616c7265616479000000000000000000000000602082015250565b6000613a22603483612a8e565b9150613a2d826139c6565b604082019050919050565b60006020820190508181036000830152613a5181613a15565b9050919050565b7f546869732069736e277420796f75722070726573656e74206275646479000000600082015250565b6000613a8e601d83612a8e565b9150613a9982613a58565b602082019050919050565b60006020820190508181036000830152613abd81613a81565b9050919050565b7f4e6f74204368726973746d617320796574210000000000000000000000000000600082015250565b6000613afa601283612a8e565b9150613b0582613ac4565b602082019050919050565b60006020820190508181036000830152613b2981613aed565b9050919050565b6000606082019050613b456000830186612bd3565b613b526020830185612e4b565b8181036040830152613b648184612ae3565b9050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613bca602683612a8e565b9150613bd582613b6e565b604082019050919050565b60006020820190508181036000830152613bf981613bbd565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613c5c602c83612a8e565b9150613c6782613c00565b604082019050919050565b60006020820190508181036000830152613c8b81613c4f565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000613cee602983612a8e565b9150613cf982613c92565b604082019050919050565b60006020820190508181036000830152613d1d81613ce1565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613d80602483612a8e565b9150613d8b82613d24565b604082019050919050565b60006020820190508181036000830152613daf81613d73565b9050919050565b6000613dc182612b3e565b9150613dcc83612b3e565b925082821015613ddf57613dde6134e0565b5b828203905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613e20601983612a8e565b9150613e2b82613dea565b602082019050919050565b60006020820190508181036000830152613e4f81613e13565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613eb2603283612a8e565b9150613ebd82613e56565b604082019050919050565b60006020820190508181036000830152613ee181613ea5565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613f0f82613ee8565b613f198185613ef3565b9350613f29818560208601612a9f565b613f3281612ad2565b840191505092915050565b6000608082019050613f526000830187612bd3565b613f5f6020830186612bd3565b613f6c6040830185612e4b565b8181036060830152613f7e8184613f04565b905095945050505050565b600081519050613f98816129f4565b92915050565b600060208284031215613fb457613fb36129be565b5b6000613fc284828501613f89565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614001602083612a8e565b915061400c82613fcb565b602082019050919050565b6000602082019050818103600083015261403081613ff4565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061406d601c83612a8e565b915061407882614037565b602082019050919050565b6000602082019050818103600083015261409c81614060565b905091905056fea2646970667358221220b35f3345a539b3a5f89399185c56ba4d060abba9a4ebce21301a61a6b7ff23cf64736f6c634300080a003300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000061c65f00000000000000000000000000000000000000000000000000002386f26fc1000000000000000000000000000000000000000000000000000000000000000008a9646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c65776f6749434167496d3568625755694f694169546d5a3065534254595735305953424861575a304969774b4943416749434a6b5a584e6a636d6c7764476c766269493649434a546232316c6232356c494768686379427a5a57353049486c7664534268494764705a6e516849466c766453426a5957346764573533636d467749475a796232306754576c6b626d6c6e61485167565652444947397549444930644767675247566a5a5731695a584967595851676148523063484d364c79397565575a3065584e68626e52684c6d4e7662533931626e64795958416762334967616e567a6443426a595778734948567564334a6863436770494864706447676765573931636942306232746c626942705a43427662694230614755675932397564484a68593351684969774b4943416749434a706257466e5a53493649434a6b595852684f6d6c745957646c4c334e325a79743462577737596d467a5a5459304c464249546a4a6165554979576c684b656d46584f58565155306c345447704a61556c48536d686a4d6c5a5259323035625746586547785155306f77595663314e557859516e704a61554930596c643464574e364d476c685346497759305276646b777a5a444e6b6554557a54586b31646d4e7459335a4e616b463354554d35656d527459326c4a53467077576c686b5132497a5a7a6c4a616b466e54554e42656b35365457644e656d4e3653576c434d324658556a4268524442705458705664306c70516d396156327875595568524f556c715454464e51306b72554568536347524865477851625456745a454d7864324e74566e7061567a557755454d354d474659556e4e6156445134576b645762574e364e446868567a466f576a4a565a306c495a48426153464a7655464e4a6555353651576c4a523268735956646b623252454d476c4e616d4e3353576c43634670454d476c68567a467554564e4a5a324649536d7861616a4270576b64474d466c556348426956305a75576c4d3564324a74597a645a62555a36576c525a4d45784862466452617a6c545a487043544649795a485a5256555a435556553156465a5861455a575632524355565647556b3546526b4a5256565a5155577447546c4656526b4a524d485231537a464f57464656526b4a5256555a5a5647784f5530314662454e4e62553579597a4a614d314656526b4a5262576853566b566155314a72526b4a5256555a53556c564b516b3957546e7055574767315646567a4e557436526d744f57464930566e706b57553555546a5a6c566b5a4d5931564f63575179556b4a5256555a435556646e64315a58637a465752555a5254486b34646b78354f485a4d65546832566d35736331565962454a5256555a44596b524363314a57526c6456616c4a315648704f616d5655535870535254464455565657566c5248576d3553626c4a4c5554466b636c6f7765476c68565659775a46566e65464a47516e5a57525778615930644f626b7778526e4a6856467036545441315232467361445a61525842485a47784364303171576c425852303432576b5a536345347862445a614d6b354a5557356b616b7436546c524e51335132546d35475956527361445a61524535445a444a4f53564658546a4e5761315a5959556857643155786148564f4d47677a5754426f51316b78576c56545133525a576d307854553478546e6c5452556f7a5754426f5132567162445a5a567a56465530564b4d316b7761455a6152455a685655524b63314e596144524c4d6e684f556b564b4d316b775a44526152454a71546c5a5a636c64756346524d4d6e4261566c64764d464e56536a4e5a4d476730546c563055453945536b4a6c566b5977576a4a4f65565a59516b645452556f7a5754426f52575245536d395265584e3259544935556d4671536c6c5256555a7a596d7042654746484f56425352324e355646686f5530355863336c535746457a596c5647613246564f445656534535455956525355464a4859336c555632685454444a4b63464a4856585a6a625570525457357353317049634668566130313459556473536c5177556d354e617a55305657357763575675576c525853456f78596b5a5353314e47516d70574d464a75546b5535635745774d444e6a4d304a335657356f4e6b307a556c4a5752324d7756444253626b3547526e704e567a6b315a45526f526c4a48597a42554d464a32546c524b65574a495a464657626e4279546b553552567036556c6868656b6c35596b566f5756527257587052626d527155305647616b314661456c61524768325a444a7754457377556d354f52546c43546b64775446564865464a5756315632576a427355464a4859334a5556577878596d314b4d30737a516b356a534764335556564b51325179546b6c52626d52715530564b4d316b7761464e4c4d6e5232565770724d324656546b316a4d6b354a5557356b616d5255546d7857557a67305a47357355574579556b784f52546c46576e7053523246725458645662553031546a464b6231705556584a5352324d77556d317753553147536d7455617a6c68546c64464d557377556d354f525670785530524355317057576e466a523159795758704f51325179546b786c6257387955316861544752726144566152324d7756444253576d5645546b6c614d446c765655524763574636556c425352323979596d6c30546c4977576a4a61626c4530537a4a6b4d553478516c4a5256555a435556564756465a57576c425661334d7855544673536c4e554d476c4d656a513454444a536246707554537451534534775a56643462464275556e706a52305a315355687a5a3251796148426b52315630597a4e4361466b7956545a6a53457073535567774f45777a546a426c56336873554770344d574d795657644a52326835576c645a4f556c70546e426956324e3453576c434e4642545354464e61556c6e5a5651776155355556576c4a517a677255454d35656d527459797369436e303d0000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101b75760003560e01c80636e6ab8c8116100ec578063a22cb4651161008a578063de0e9a3e11610064578063de0e9a3e146105f7578063e01b9bdc14610620578063e985e9c51461064b578063f2fde38b14610688576101b7565b8063a22cb46514610568578063b88d4fde14610591578063c87b56dd146105ba576101b7565b806388257bbb116100c657806388257bbb146104be5780638ca738b1146104e75780638da5cb5b1461051257806395d89b411461053d576101b7565b80636e6ab8c81461044157806370a082311461046a578063715018a6146104a7576101b7565b80631f0340fa1161015957806330176e131161013357806330176e131461038957806342842e0e146103b257806351cff8d9146103db5780636352211e14610404576101b7565b80631f0340fa1461031b57806323b872dd146103375780632705889414610360576101b7565b8063095ea7b311610195578063095ea7b314610261578063150b7a021461028a5780631ba896a2146102c75780631de91351146102f0576101b7565b806301ffc9a7146101bc57806306fdde03146101f9578063081812fc14610224575b600080fd5b3480156101c857600080fd5b506101e360048036038101906101de9190612a20565b6106b1565b6040516101f09190612a68565b60405180910390f35b34801561020557600080fd5b5061020e610793565b60405161021b9190612b1c565b60405180910390f35b34801561023057600080fd5b5061024b60048036038101906102469190612b74565b610825565b6040516102589190612be2565b60405180910390f35b34801561026d57600080fd5b5061028860048036038101906102839190612c29565b6108aa565b005b34801561029657600080fd5b506102b160048036038101906102ac9190612d9e565b6109c2565b6040516102be9190612e30565b60405180910390f35b3480156102d357600080fd5b506102ee60048036038101906102e99190612b74565b6109d6565b005b3480156102fc57600080fd5b50610305610a5c565b6040516103129190612e5a565b60405180910390f35b61033560048036038101906103309190612f54565b610a66565b005b34801561034357600080fd5b5061035e60048036038101906103599190612fd7565b610d09565b005b34801561036c57600080fd5b506103876004803603810190610382919061302a565b610d69565b005b34801561039557600080fd5b506103b060048036038101906103ab9190613057565b610e40565b005b3480156103be57600080fd5b506103d960048036038101906103d49190612fd7565b610ed6565b005b3480156103e757600080fd5b5061040260048036038101906103fd919061302a565b610ef6565b005b34801561041057600080fd5b5061042b60048036038101906104269190612b74565b611005565b6040516104389190612be2565b60405180910390f35b34801561044d57600080fd5b5061046860048036038101906104639190613168565b6110b7565b005b34801561047657600080fd5b50610491600480360381019061048c919061302a565b6111d4565b60405161049e9190612e5a565b60405180910390f35b3480156104b357600080fd5b506104bc61128c565b005b3480156104ca57600080fd5b506104e560048036038101906104e09190612b74565b611314565b005b3480156104f357600080fd5b506104fc61139a565b6040516105099190612a68565b60405180910390f35b34801561051e57600080fd5b506105276113ee565b6040516105349190612be2565b60405180910390f35b34801561054957600080fd5b50610552611418565b60405161055f9190612b1c565b60405180910390f35b34801561057457600080fd5b5061058f600480360381019061058a91906131dd565b6114aa565b005b34801561059d57600080fd5b506105b860048036038101906105b39190612d9e565b6114c0565b005b3480156105c657600080fd5b506105e160048036038101906105dc9190612b74565b611522565b6040516105ee9190612b1c565b60405180910390f35b34801561060357600080fd5b5061061e60048036038101906106199190612b74565b6115fe565b005b34801561062c57600080fd5b506106356119b2565b6040516106429190612e5a565b60405180910390f35b34801561065757600080fd5b50610672600480360381019061066d919061321d565b6119bc565b60405161067f9190612a68565b60405180910390f35b34801561069457600080fd5b506106af60048036038101906106aa919061302a565b611a50565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061077c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061078c575061078b82611b48565b5b9050919050565b6060600080546107a29061328c565b80601f01602080910402602001604051908101604052809291908181526020018280546107ce9061328c565b801561081b5780601f106107f05761010080835404028352916020019161081b565b820191906000526020600020905b8154815290600101906020018083116107fe57829003601f168201915b5050505050905090565b600061083082611bb2565b61086f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086690613330565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108b582611005565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610926576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091d906133c2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610945611c1e565b73ffffffffffffffffffffffffffffffffffffffff16148061097457506109738161096e611c1e565b6119bc565b5b6109b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109aa90613454565b60405180910390fd5b6109bd8383611c26565b505050565b600063150b7a0260e01b9050949350505050565b6109de611c1e565b73ffffffffffffffffffffffffffffffffffffffff166109fc6113ee565b73ffffffffffffffffffffffffffffffffffffffff1614610a52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a49906134c0565b60405180910390fd5b80600b8190555050565b6000600b54905090565b62015180600b54610a77919061350f565b4210610ab8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aaf906135d7565b60405180910390fd5b6000610ac261139a565b610ace57600c54610ad1565b60005b9050803414610b15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0c90613643565b60405180910390fd5b60006001610b236007611cdf565b610b2d919061350f565b90508573ffffffffffffffffffffffffffffffffffffffff166342842e0e3330886040518463ffffffff1660e01b8152600401610b6c93929190613663565b600060405180830381600087803b158015610b8657600080fd5b505af1158015610b9a573d6000803e3d6000fd5b5050505060405180608001604052808773ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018581526020018473ffffffffffffffffffffffffffffffffffffffff168152506008600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101556040820151816002019080519060200190610c6b9291906128d1565b5060608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550905050610cc08382611ced565b610cca6007611d0b565b7fb7fea3536ca2af7ea80d3bcfe7c261a3464929ab1fcf1f7d7797242fc0542a6081604051610cf99190612e5a565b60405180910390a1505050505050565b610d1a610d14611c1e565b82611d21565b610d59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d509061370c565b60405180910390fd5b610d64838383611dff565b505050565b610d71611c1e565b73ffffffffffffffffffffffffffffffffffffffff16610d8f6113ee565b73ffffffffffffffffffffffffffffffffffffffff1614610de5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddc906134c0565b60405180910390fd5b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b610e48611c1e565b73ffffffffffffffffffffffffffffffffffffffff16610e666113ee565b73ffffffffffffffffffffffffffffffffffffffff1614610ebc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb3906134c0565b60405180910390fd5b80600a9080519060200190610ed29291906128d1565b5050565b610ef1838383604051806020016040528060008152506114c0565b505050565b610efe611c1e565b73ffffffffffffffffffffffffffffffffffffffff16610f1c6113ee565b73ffffffffffffffffffffffffffffffffffffffff1614610f72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f69906134c0565b60405180910390fd5b600047905060008111610fba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb190613778565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611000573d6000803e3d6000fd5b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a59061380a565b60405180910390fd5b80915050919050565b6110bf611c1e565b73ffffffffffffffffffffffffffffffffffffffff166110dd6113ee565b73ffffffffffffffffffffffffffffffffffffffff1614611133576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112a906134c0565b60405180910390fd5b60008151905060005b818110156111cf5760008382815181106111595761115861382a565b5b602002602001015190506001600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505080806111c790613859565b91505061113c565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611245576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123c90613914565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611294611c1e565b73ffffffffffffffffffffffffffffffffffffffff166112b26113ee565b73ffffffffffffffffffffffffffffffffffffffff1614611308576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ff906134c0565b60405180910390fd5b611312600061205b565b565b61131c611c1e565b73ffffffffffffffffffffffffffffffffffffffff1661133a6113ee565b73ffffffffffffffffffffffffffffffffffffffff1614611390576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611387906134c0565b60405180910390fd5b80600c8190555050565b6000600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546114279061328c565b80601f01602080910402602001604051908101604052809291908181526020018280546114539061328c565b80156114a05780601f10611475576101008083540402835291602001916114a0565b820191906000526020600020905b81548152906001019060200180831161148357829003601f168201915b5050505050905090565b6114bc6114b5611c1e565b8383612121565b5050565b6114d16114cb611c1e565b83611d21565b611510576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115079061370c565b60405180910390fd5b61151c8484848461228e565b50505050565b606061152d82611bb2565b61156c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611563906139a6565b60405180910390fd5b600a80546115799061328c565b80601f01602080910402602001604051908101604052809291908181526020018280546115a59061328c565b80156115f25780601f106115c7576101008083540402835291602001916115f2565b820191906000526020600020905b8154815290600101906020018083116115d557829003601f168201915b50505050509050919050565b61160781611bb2565b611646576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163d90613a38565b60405180910390fd5b6000600860008381526020019081526020016000206040518060800160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600182015481526020016002820180546116d69061328c565b80601f01602080910402602001604051908101604052809291908181526020018280546117029061328c565b801561174f5780601f106117245761010080835404028352916020019161174f565b820191906000526020600020905b81548152906001019060200180831161173257829003601f168201915b505050505081526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152505090503373ffffffffffffffffffffffffffffffffffffffff16816060015173ffffffffffffffffffffffffffffffffffffffff1614611822576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181990613aa4565b60405180910390fd5b600b54421015611867576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185e90613b10565b60405180910390fd5b611870826122ea565b60086000838152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560018201600090556002820160006118c39190612957565b6003820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555050806000015173ffffffffffffffffffffffffffffffffffffffff166342842e0e30836060015184602001516040518463ffffffff1660e01b815260040161193593929190613663565b600060405180830381600087803b15801561194f57600080fd5b505af1158015611963573d6000803e3d6000fd5b505050507fd92651280b53299087b582148349444e6827bac6a1f69d07c72553e6027e014e8160000151826020015183604001516040516119a693929190613b30565b60405180910390a15050565b6000600c54905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611a58611c1e565b73ffffffffffffffffffffffffffffffffffffffff16611a766113ee565b73ffffffffffffffffffffffffffffffffffffffff1614611acc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac3906134c0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3390613be0565b60405180910390fd5b611b458161205b565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611c9983611005565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b611d078282604051806020016040528060008152506123fb565b5050565b6001816000016000828254019250508190555050565b6000611d2c82611bb2565b611d6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6290613c72565b60405180910390fd5b6000611d7683611005565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611de557508373ffffffffffffffffffffffffffffffffffffffff16611dcd84610825565b73ffffffffffffffffffffffffffffffffffffffff16145b80611df65750611df581856119bc565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611e1f82611005565b73ffffffffffffffffffffffffffffffffffffffff1614611e75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6c90613d04565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ee5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611edc90613d96565b60405180910390fd5b611ef0838383612456565b611efb600082611c26565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f4b9190613db6565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fa2919061350f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612190576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218790613e36565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122819190612a68565b60405180910390a3505050565b612299848484611dff565b6122a584848484612563565b6122e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122db90613ec8565b60405180910390fd5b50505050565b60006122f582611005565b905061230381600084612456565b61230e600083611c26565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461235e9190613db6565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b61240583836126eb565b6124126000848484612563565b612451576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244890613ec8565b60405180910390fd5b505050565b6124618383836128b9565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156124ca5750600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b80156125035750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b1561255e57816008600083815260200190815260200160002060030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b505050565b60006125848473ffffffffffffffffffffffffffffffffffffffff166128be565b156126de578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026125ad611c1e565b8786866040518563ffffffff1660e01b81526004016125cf9493929190613f3d565b6020604051808303816000875af192505050801561260b57506040513d601f19601f820116820180604052508101906126089190613f9e565b60015b61268e573d806000811461263b576040519150601f19603f3d011682016040523d82523d6000602084013e612640565b606091505b50600081511415612686576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267d90613ec8565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506126e3565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561275b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275290614017565b60405180910390fd5b61276481611bb2565b156127a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279b90614083565b60405180910390fd5b6127b060008383612456565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612800919061350f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b600080823b905060008111915050919050565b8280546128dd9061328c565b90600052602060002090601f0160209004810192826128ff5760008555612946565b82601f1061291857805160ff1916838001178555612946565b82800160010185558215612946579182015b8281111561294557825182559160200191906001019061292a565b5b5090506129539190612997565b5090565b5080546129639061328c565b6000825580601f106129755750612994565b601f0160209004906000526020600020908101906129939190612997565b5b50565b5b808211156129b0576000816000905550600101612998565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6129fd816129c8565b8114612a0857600080fd5b50565b600081359050612a1a816129f4565b92915050565b600060208284031215612a3657612a356129be565b5b6000612a4484828501612a0b565b91505092915050565b60008115159050919050565b612a6281612a4d565b82525050565b6000602082019050612a7d6000830184612a59565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612abd578082015181840152602081019050612aa2565b83811115612acc576000848401525b50505050565b6000601f19601f8301169050919050565b6000612aee82612a83565b612af88185612a8e565b9350612b08818560208601612a9f565b612b1181612ad2565b840191505092915050565b60006020820190508181036000830152612b368184612ae3565b905092915050565b6000819050919050565b612b5181612b3e565b8114612b5c57600080fd5b50565b600081359050612b6e81612b48565b92915050565b600060208284031215612b8a57612b896129be565b5b6000612b9884828501612b5f565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612bcc82612ba1565b9050919050565b612bdc81612bc1565b82525050565b6000602082019050612bf76000830184612bd3565b92915050565b612c0681612bc1565b8114612c1157600080fd5b50565b600081359050612c2381612bfd565b92915050565b60008060408385031215612c4057612c3f6129be565b5b6000612c4e85828601612c14565b9250506020612c5f85828601612b5f565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612cab82612ad2565b810181811067ffffffffffffffff82111715612cca57612cc9612c73565b5b80604052505050565b6000612cdd6129b4565b9050612ce98282612ca2565b919050565b600067ffffffffffffffff821115612d0957612d08612c73565b5b612d1282612ad2565b9050602081019050919050565b82818337600083830152505050565b6000612d41612d3c84612cee565b612cd3565b905082815260208101848484011115612d5d57612d5c612c6e565b5b612d68848285612d1f565b509392505050565b600082601f830112612d8557612d84612c69565b5b8135612d95848260208601612d2e565b91505092915050565b60008060008060808587031215612db857612db76129be565b5b6000612dc687828801612c14565b9450506020612dd787828801612c14565b9350506040612de887828801612b5f565b925050606085013567ffffffffffffffff811115612e0957612e086129c3565b5b612e1587828801612d70565b91505092959194509250565b612e2a816129c8565b82525050565b6000602082019050612e456000830184612e21565b92915050565b612e5481612b3e565b82525050565b6000602082019050612e6f6000830184612e4b565b92915050565b6000612e8082612bc1565b9050919050565b612e9081612e75565b8114612e9b57600080fd5b50565b600081359050612ead81612e87565b92915050565b600067ffffffffffffffff821115612ece57612ecd612c73565b5b612ed782612ad2565b9050602081019050919050565b6000612ef7612ef284612eb3565b612cd3565b905082815260208101848484011115612f1357612f12612c6e565b5b612f1e848285612d1f565b509392505050565b600082601f830112612f3b57612f3a612c69565b5b8135612f4b848260208601612ee4565b91505092915050565b60008060008060808587031215612f6e57612f6d6129be565b5b6000612f7c87828801612e9e565b9450506020612f8d87828801612b5f565b935050604085013567ffffffffffffffff811115612fae57612fad6129c3565b5b612fba87828801612f26565b9250506060612fcb87828801612c14565b91505092959194509250565b600080600060608486031215612ff057612fef6129be565b5b6000612ffe86828701612c14565b935050602061300f86828701612c14565b925050604061302086828701612b5f565b9150509250925092565b6000602082840312156130405761303f6129be565b5b600061304e84828501612c14565b91505092915050565b60006020828403121561306d5761306c6129be565b5b600082013567ffffffffffffffff81111561308b5761308a6129c3565b5b61309784828501612f26565b91505092915050565b600067ffffffffffffffff8211156130bb576130ba612c73565b5b602082029050602081019050919050565b600080fd5b60006130e46130df846130a0565b612cd3565b90508083825260208201905060208402830185811115613107576131066130cc565b5b835b81811015613130578061311c8882612c14565b845260208401935050602081019050613109565b5050509392505050565b600082601f83011261314f5761314e612c69565b5b813561315f8482602086016130d1565b91505092915050565b60006020828403121561317e5761317d6129be565b5b600082013567ffffffffffffffff81111561319c5761319b6129c3565b5b6131a88482850161313a565b91505092915050565b6131ba81612a4d565b81146131c557600080fd5b50565b6000813590506131d7816131b1565b92915050565b600080604083850312156131f4576131f36129be565b5b600061320285828601612c14565b9250506020613213858286016131c8565b9150509250929050565b60008060408385031215613234576132336129be565b5b600061324285828601612c14565b925050602061325385828601612c14565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806132a457607f821691505b602082108114156132b8576132b761325d565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061331a602c83612a8e565b9150613325826132be565b604082019050919050565b600060208201905081810360008301526133498161330d565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006133ac602183612a8e565b91506133b782613350565b604082019050919050565b600060208201905081810360008301526133db8161339f565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061343e603883612a8e565b9150613449826133e2565b604082019050919050565b6000602082019050818103600083015261346d81613431565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006134aa602083612a8e565b91506134b582613474565b602082019050919050565b600060208201905081810360008301526134d98161349d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061351a82612b3e565b915061352583612b3e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561355a576135596134e0565b5b828201905092915050565b7f4368726973746d6173206973206f7665722c20776169742074696c6c206e657860008201527f7420796561720000000000000000000000000000000000000000000000000000602082015250565b60006135c1602683612a8e565b91506135cc82613565565b604082019050919050565b600060208201905081810360008301526135f0816135b4565b9050919050565b7f496e636f7272656374204554482073656e740000000000000000000000000000600082015250565b600061362d601283612a8e565b9150613638826135f7565b602082019050919050565b6000602082019050818103600083015261365c81613620565b9050919050565b60006060820190506136786000830186612bd3565b6136856020830185612bd3565b6136926040830184612e4b565b949350505050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006136f6603183612a8e565b91506137018261369a565b604082019050919050565b60006020820190508181036000830152613725816136e9565b9050919050565b7f42616c616e636520697320300000000000000000000000000000000000000000600082015250565b6000613762600c83612a8e565b915061376d8261372c565b602082019050919050565b6000602082019050818103600083015261379181613755565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006137f4602983612a8e565b91506137ff82613798565b604082019050919050565b60006020820190508181036000830152613823816137e7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061386482612b3e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613897576138966134e0565b5b600182019050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006138fe602a83612a8e565b9150613909826138a2565b604082019050919050565b6000602082019050818103600083015261392d816138f1565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613990602f83612a8e565b915061399b82613934565b604082019050919050565b600060208201905081810360008301526139bf81613983565b9050919050565b7f50726573656e7420646f6573206e6f74206578697374206f722068617320626560008201527f656e20756e7772617070656420616c7265616479000000000000000000000000602082015250565b6000613a22603483612a8e565b9150613a2d826139c6565b604082019050919050565b60006020820190508181036000830152613a5181613a15565b9050919050565b7f546869732069736e277420796f75722070726573656e74206275646479000000600082015250565b6000613a8e601d83612a8e565b9150613a9982613a58565b602082019050919050565b60006020820190508181036000830152613abd81613a81565b9050919050565b7f4e6f74204368726973746d617320796574210000000000000000000000000000600082015250565b6000613afa601283612a8e565b9150613b0582613ac4565b602082019050919050565b60006020820190508181036000830152613b2981613aed565b9050919050565b6000606082019050613b456000830186612bd3565b613b526020830185612e4b565b8181036040830152613b648184612ae3565b9050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613bca602683612a8e565b9150613bd582613b6e565b604082019050919050565b60006020820190508181036000830152613bf981613bbd565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613c5c602c83612a8e565b9150613c6782613c00565b604082019050919050565b60006020820190508181036000830152613c8b81613c4f565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000613cee602983612a8e565b9150613cf982613c92565b604082019050919050565b60006020820190508181036000830152613d1d81613ce1565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613d80602483612a8e565b9150613d8b82613d24565b604082019050919050565b60006020820190508181036000830152613daf81613d73565b9050919050565b6000613dc182612b3e565b9150613dcc83612b3e565b925082821015613ddf57613dde6134e0565b5b828203905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613e20601983612a8e565b9150613e2b82613dea565b602082019050919050565b60006020820190508181036000830152613e4f81613e13565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613eb2603283612a8e565b9150613ebd82613e56565b604082019050919050565b60006020820190508181036000830152613ee181613ea5565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613f0f82613ee8565b613f198185613ef3565b9350613f29818560208601612a9f565b613f3281612ad2565b840191505092915050565b6000608082019050613f526000830187612bd3565b613f5f6020830186612bd3565b613f6c6040830185612e4b565b8181036060830152613f7e8184613f04565b905095945050505050565b600081519050613f98816129f4565b92915050565b600060208284031215613fb457613fb36129be565b5b6000613fc284828501613f89565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614001602083612a8e565b915061400c82613fcb565b602082019050919050565b6000602082019050818103600083015261403081613ff4565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061406d601c83612a8e565b915061407882614037565b602082019050919050565b6000602082019050818103600083015261409c81614060565b905091905056fea2646970667358221220b35f3345a539b3a5f89399185c56ba4d060abba9a4ebce21301a61a6b7ff23cf64736f6c634300080a0033

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

00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000061c65f00000000000000000000000000000000000000000000000000002386f26fc1000000000000000000000000000000000000000000000000000000000000000008a9646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c65776f6749434167496d3568625755694f694169546d5a3065534254595735305953424861575a304969774b4943416749434a6b5a584e6a636d6c7764476c766269493649434a546232316c6232356c494768686379427a5a57353049486c7664534268494764705a6e516849466c766453426a5957346764573533636d467749475a796232306754576c6b626d6c6e61485167565652444947397549444930644767675247566a5a5731695a584967595851676148523063484d364c79397565575a3065584e68626e52684c6d4e7662533931626e64795958416762334967616e567a6443426a595778734948567564334a6863436770494864706447676765573931636942306232746c626942705a43427662694230614755675932397564484a68593351684969774b4943416749434a706257466e5a53493649434a6b595852684f6d6c745957646c4c334e325a79743462577737596d467a5a5459304c464249546a4a6165554979576c684b656d46584f58565155306c345447704a61556c48536d686a4d6c5a5259323035625746586547785155306f77595663314e557859516e704a61554930596c643464574e364d476c685346497759305276646b777a5a444e6b6554557a54586b31646d4e7459335a4e616b463354554d35656d527459326c4a53467077576c686b5132497a5a7a6c4a616b466e54554e42656b35365457644e656d4e3653576c434d324658556a4268524442705458705664306c70516d396156327875595568524f556c715454464e51306b72554568536347524865477851625456745a454d7864324e74566e7061567a557755454d354d474659556e4e6156445134576b645762574e364e446868567a466f576a4a565a306c495a48426153464a7655464e4a6555353651576c4a523268735956646b623252454d476c4e616d4e3353576c43634670454d476c68567a467554564e4a5a324649536d7861616a4270576b64474d466c556348426956305a75576c4d3564324a74597a645a62555a36576c525a4d45784862466452617a6c545a487043544649795a485a5256555a435556553156465a5861455a575632524355565647556b3546526b4a5256565a5155577447546c4656526b4a524d485231537a464f57464656526b4a5256555a5a5647784f5530314662454e4e62553579597a4a614d314656526b4a5262576853566b566155314a72526b4a5256555a53556c564b516b3957546e7055574767315646567a4e557436526d744f57464930566e706b57553555546a5a6c566b5a4d5931564f63575179556b4a5256555a435556646e64315a58637a465752555a5254486b34646b78354f485a4d65546832566d35736331565962454a5256555a44596b524363314a57526c6456616c4a315648704f616d5655535870535254464455565657566c5248576d3553626c4a4c5554466b636c6f7765476c68565659775a46566e65464a47516e5a57525778615930644f626b7778526e4a6856467036545441315232467361445a61525842485a47784364303171576c425852303432576b5a536345347862445a614d6b354a5557356b616b7436546c524e51335132546d35475956527361445a61524535445a444a4f53564658546a4e5761315a5959556857643155786148564f4d47677a5754426f51316b78576c56545133525a576d307854553478546e6c5452556f7a5754426f5132567162445a5a567a56465530564b4d316b7761455a6152455a685655524b63314e596144524c4d6e684f556b564b4d316b775a44526152454a71546c5a5a636c64756346524d4d6e4261566c64764d464e56536a4e5a4d476730546c563055453945536b4a6c566b5977576a4a4f65565a59516b645452556f7a5754426f52575245536d395265584e3259544935556d4671536c6c5256555a7a596d7042654746484f56425352324e355646686f5530355863336c535746457a596c5647613246564f445656534535455956525355464a4859336c555632685454444a4b63464a4856585a6a625570525457357353317049634668566130313459556473536c5177556d354e617a55305657357763575675576c525853456f78596b5a5353314e47516d70574d464a75546b5535635745774d444e6a4d304a335657356f4e6b307a556c4a5752324d7756444253626b3547526e704e567a6b315a45526f526c4a48597a42554d464a32546c524b65574a495a464657626e4279546b553552567036556c6868656b6c35596b566f5756527257587052626d527155305647616b314661456c61524768325a444a7754457377556d354f52546c43546b64775446564865464a5756315632576a427355464a4859334a5556577878596d314b4d30737a516b356a534764335556564b51325179546b6c52626d52715530564b4d316b7761464e4c4d6e5232565770724d324656546b316a4d6b354a5557356b616d5255546d7857557a67305a47357355574579556b784f52546c46576e7053523246725458645662553031546a464b6231705556584a5352324d77556d317753553147536d7455617a6c68546c64464d557377556d354f525670785530524355317057576e466a523159795758704f51325179546b786c6257387955316861544752726144566152324d7756444253576d5645546b6c614d446c765655524763574636556c425352323979596d6c30546c4977576a4a61626c4530537a4a6b4d553478516c4a5256555a435556564756465a57576c425661334d7855544673536c4e554d476c4d656a513454444a536246707554537451534534775a56643462464275556e706a52305a315355687a5a3251796148426b52315630597a4e4361466b7956545a6a53457073535567774f45777a546a426c56336873554770344d574d795657644a52326835576c645a4f556c70546e426956324e3453576c434e4642545354464e61556c6e5a5651776155355556576c4a517a677255454d35656d527459797369436e303d0000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : baseTokenURI (string): data:application/json;base64,ewogICAgIm5hbWUiOiAiTmZ0eSBTYW50YSBHaWZ0IiwKICAgICJkZXNjcmlwdGlvbiI6ICJTb21lb25lIGhhcyBzZW50IHlvdSBhIGdpZnQhIFlvdSBjYW4gdW53cmFwIGZyb20gTWlkbmlnaHQgVVRDIG9uIDI0dGggRGVjZW1iZXIgYXQgaHR0cHM6Ly9ueWZ0eXNhbnRhLmNvbS91bndyYXAgb3IganVzdCBjYWxsIHVud3JhcCgpIHdpdGggeW91ciB0b2tlbiBpZCBvbiB0aGUgY29udHJhY3QhIiwKICAgICJpbWFnZSI6ICJkYXRhOmltYWdlL3N2Zyt4bWw7YmFzZTY0LFBITjJaeUIyWlhKemFXOXVQU0l4TGpJaUlHSmhjMlZRY205bWFXeGxQU0owYVc1NUxYQnpJaUI0Yld4dWN6MGlhSFIwY0RvdkwzZDNkeTUzTXk1dmNtY3ZNakF3TUM5emRtY2lJSFpwWlhkQ2IzZzlJakFnTUNBek56TWdNemN6SWlCM2FXUjBhRDBpTXpVd0lpQm9aV2xuYUhROUlqTTFNQ0krUEhScGRHeGxQbTVtZEMxd2NtVnpaVzUwUEM5MGFYUnNaVDQ4WkdWbWN6NDhhVzFoWjJVZ0lIZHBaSFJvUFNJeU56QWlJR2hsYVdkb2REMGlNamN3SWlCcFpEMGlhVzFuTVNJZ2FISmxaajBpWkdGMFlUcHBiV0ZuWlM5d2JtYzdZbUZ6WlRZMExHbFdRazlTZHpCTFIyZHZRVUZCUVU1VFZXaEZWV2RCUVVGUk5FRkJRVVZQUWtGTlFVRkJRMHR1SzFOWFFVRkJRVUZZVGxOU01FbENNbU5yYzJaM1FVRkJRbWhSVkVaU1JrRkJRVUZSUlVKQk9WTnpUWGg1VFVzNUt6RmtOWFI0VnpkWU5UTjZlVkZMY1VOcWQyUkJRVUZCUVdnd1ZXczFWRUZRTHk4dkx5OHZMeTh2Vm5sc1VYbEJRVUZDYkRCc1JWRldValJ1VHpOamVUSXpSRTFDUVVWVlRHWm5SblJLUTFkcloweGlhVVYwZFVneFJGQnZWRWxaY0dObkwxRnJhVFp6TTA1R2FsaDZaRXBHZGxCd01qWlBXR042WkZScE4xbDZaMk5JUW5kakt6TlRNQ3Q2Tm5GYVRsaDZaRE5DZDJOSVFXTjNWa1ZYYUhWd1UxaHVOMGgzWTBoQ1kxWlVTQ3RZWm0xTU4xTnlTRUozWTBoQ2VqbDZZVzVFU0VKM1kwaEZaREZhVURKc1NYaDRLMnhOUkVKM1kwZDRaREJqTlZZclducFRMMnBaVldvMFNVSjNZMGg0TlV0UE9ESkJlVkYwWjJOeVZYQkdTRUozWTBoRWRESm9ReXN2YTI5UmFqSllRVUZzYmpBeGFHOVBSR2N5VFhoU05Xc3lSWFEzYlVGa2FVODVVSE5EYVRSUFJHY3lUV2hTTDJKcFJHVXZjbUpRTW5sS1pIcFhVa014YUdsSlQwUm5NazU0VW5wcWVuWlRXSEoxYkZSS1NGQmpWMFJuTkU5cWEwMDNjM0J3VW5oNk0zUlJWR2MwVDBSbk5GRnpNVzk1ZERoRlJHYzBUMFJ2TlRKeWJIZFFWbnByTkU5RVp6Ulhhekl5YkVoWVRrWXpRbmRqU0VGak1FaElaRGh2ZDJwTEswUm5ORTlCTkdwTFVHeFJWV1V2WjBsUFJHY3JUVWxxYm1KM0szQk5jSGd3UVVKQ2QyTklRbmRqU0VKM1kwaFNLMnR2VWprM2FVTk1jMk5JUW5kamRUTmxWUzg0ZG5sUWEyUkxORTlFWnpSR2FrTXdVbU01TjFKb1pUVXJSR2MwUm1wSU1GSmtUazlhTldFMUswUm5ORVpxU0RCU1pWWnFjR1YyWXpOQ2QyTkxlbW8yU1haTGRraDVaR2MwVDBSWmVETklaMDlvVURGcWF6UlBSR29yYml0TlIwWjJablE0SzJkMU4xQlJRVUZCUVVGVFZWWlBVa3MxUTFsSlNUMGlMejQ4TDJSbFpuTStQSE4wZVd4bFBuUnpjR0Z1SUhzZ2QyaHBkR1V0YzNCaFkyVTZjSEpsSUgwOEwzTjBlV3hsUGp4MWMyVWdJR2h5WldZOUlpTnBiV2N4SWlCNFBTSTFNaUlnZVQwaU5UVWlJQzgrUEM5emRtYysiCn0=
Arg [1] : unixChristmas (uint256): 1640390400
Arg [2] : presentPrice (uint256): 10000000000000000

-----Encoded View---------------
74 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 0000000000000000000000000000000000000000000000000000000061c65f00
Arg [2] : 000000000000000000000000000000000000000000000000002386f26fc10000
Arg [3] : 00000000000000000000000000000000000000000000000000000000000008a9
Arg [4] : 646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c65776f
Arg [5] : 6749434167496d3568625755694f694169546d5a306553425459573530595342
Arg [6] : 4861575a304969774b4943416749434a6b5a584e6a636d6c7764476c76626949
Arg [7] : 3649434a546232316c6232356c494768686379427a5a57353049486c76645342
Arg [8] : 68494764705a6e516849466c766453426a5957346764573533636d467749475a
Arg [9] : 796232306754576c6b626d6c6e61485167565652444947397549444930644767
Arg [10] : 675247566a5a5731695a584967595851676148523063484d364c79397565575a
Arg [11] : 3065584e68626e52684c6d4e7662533931626e64795958416762334967616e56
Arg [12] : 7a6443426a595778734948567564334a68634367704948647064476767655739
Arg [13] : 31636942306232746c626942705a43427662694230614755675932397564484a
Arg [14] : 68593351684969774b4943416749434a706257466e5a53493649434a6b595852
Arg [15] : 684f6d6c745957646c4c334e325a79743462577737596d467a5a5459304c4642
Arg [16] : 49546a4a6165554979576c684b656d46584f58565155306c345447704a61556c
Arg [17] : 48536d686a4d6c5a5259323035625746586547785155306f77595663314e5578
Arg [18] : 59516e704a61554930596c643464574e364d476c685346497759305276646b77
Arg [19] : 7a5a444e6b6554557a54586b31646d4e7459335a4e616b463354554d35656d52
Arg [20] : 7459326c4a53467077576c686b5132497a5a7a6c4a616b466e54554e42656b35
Arg [21] : 365457644e656d4e3653576c434d324658556a4268524442705458705664306c
Arg [22] : 70516d396156327875595568524f556c715454464e51306b7255456853634752
Arg [23] : 4865477851625456745a454d7864324e74566e7061567a557755454d354d4746
Arg [24] : 59556e4e6156445134576b645762574e364e446868567a466f576a4a565a306c
Arg [25] : 495a48426153464a7655464e4a6555353651576c4a523268735956646b623252
Arg [26] : 454d476c4e616d4e3353576c43634670454d476c68567a467554564e4a5a3246
Arg [27] : 49536d7861616a4270576b64474d466c556348426956305a75576c4d3564324a
Arg [28] : 74597a645a62555a36576c525a4d45784862466452617a6c545a487043544649
Arg [29] : 795a485a5256555a435556553156465a5861455a575632524355565647556b35
Arg [30] : 46526b4a5256565a5155577447546c4656526b4a524d485231537a464f574646
Arg [31] : 56526b4a5256555a5a5647784f5530314662454e4e62553579597a4a614d3146
Arg [32] : 56526b4a5262576853566b566155314a72526b4a5256555a53556c564b516b39
Arg [33] : 57546e7055574767315646567a4e557436526d744f57464930566e706b575535
Arg [34] : 55546a5a6c566b5a4d5931564f63575179556b4a5256555a435556646e64315a
Arg [35] : 58637a465752555a5254486b34646b78354f485a4d65546832566d3573633156
Arg [36] : 5962454a5256555a44596b524363314a57526c6456616c4a315648704f616d56
Arg [37] : 55535870535254464455565657566c5248576d3553626c4a4c5554466b636c6f
Arg [38] : 7765476c68565659775a46566e65464a47516e5a57525778615930644f626b77
Arg [39] : 78526e4a6856467036545441315232467361445a61525842485a477843643031
Arg [40] : 71576c425852303432576b5a536345347862445a614d6b354a5557356b616b74
Arg [41] : 36546c524e51335132546d35475956527361445a61524535445a444a4f535646
Arg [42] : 58546a4e5761315a5959556857643155786148564f4d47677a5754426f51316b
Arg [43] : 78576c56545133525a576d307854553478546e6c5452556f7a5754426f513256
Arg [44] : 7162445a5a567a56465530564b4d316b7761455a6152455a685655524b63314e
Arg [45] : 596144524c4d6e684f556b564b4d316b775a44526152454a71546c5a5a636c64
Arg [46] : 756346524d4d6e4261566c64764d464e56536a4e5a4d476730546c5630554539
Arg [47] : 45536b4a6c566b5977576a4a4f65565a59516b645452556f7a5754426f525752
Arg [48] : 45536d395265584e3259544935556d4671536c6c5256555a7a596d7042654746
Arg [49] : 484f56425352324e355646686f5530355863336c535746457a596c5647613246
Arg [50] : 564f445656534535455956525355464a4859336c555632685454444a4b63464a
Arg [51] : 4856585a6a625570525457357353317049634668566130313459556473536c51
Arg [52] : 77556d354e617a55305657357763575675576c525853456f78596b5a5353314e
Arg [53] : 47516d70574d464a75546b5535635745774d444e6a4d304a335657356f4e6b30
Arg [54] : 7a556c4a5752324d7756444253626b3547526e704e567a6b315a45526f526c4a
Arg [55] : 48597a42554d464a32546c524b65574a495a464657626e4279546b5535525670
Arg [56] : 36556c6868656b6c35596b566f5756527257587052626d527155305647616b31
Arg [57] : 4661456c61524768325a444a7754457377556d354f52546c43546b6477544656
Arg [58] : 4865464a5756315632576a427355464a4859334a5556577878596d314b4d3073
Arg [59] : 7a516b356a534764335556564b51325179546b6c52626d52715530564b4d316b
Arg [60] : 7761464e4c4d6e5232565770724d324656546b316a4d6b354a5557356b616d52
Arg [61] : 55546d7857557a67305a47357355574579556b784f52546c46576e7053523246
Arg [62] : 725458645662553031546a464b6231705556584a5352324d77556d3177535531
Arg [63] : 47536d7455617a6c68546c64464d557377556d354f5256707855305243553170
Arg [64] : 57576e466a523159795758704f51325179546b786c6257387955316861544752
Arg [65] : 726144566152324d7756444253576d5645546b6c614d446c7656555247635746
Arg [66] : 36556c425352323979596d6c30546c4977576a4a61626c4530537a4a6b4d5534
Arg [67] : 78516c4a5256555a435556564756465a57576c425661334d7855544673536c4e
Arg [68] : 554d476c4d656a513454444a536246707554537451534534775a566434624642
Arg [69] : 75556e706a52305a315355687a5a3251796148426b52315630597a4e4361466b
Arg [70] : 7956545a6a53457073535567774f45777a546a426c56336873554770344d574d
Arg [71] : 795657644a52326835576c645a4f556c70546e426956324e3453576c434e4642
Arg [72] : 545354464e61556c6e5a5651776155355556576c4a517a677255454d35656d52
Arg [73] : 7459797369436e303d0000000000000000000000000000000000000000000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.