ETH Price: $3,197.10 (-0.61%)
Gas: 2.32 Gwei

Contract

0x7d73290525c51AC26ADbeFFD52Af5dF817c04EaC
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

1 address found via
Transaction Hash
Method
Block
From
To
Transfer From216253632025-01-14 21:18:5914 hrs ago1736889539IN
0x7d732905...817c04EaC
0 ETH0.000392075.75790333
Safe Transfer Fr...197144302024-04-23 0:11:35267 days ago1713831095IN
0x7d732905...817c04EaC
0 ETH0.000893867.62958306
Redeem196633582024-04-15 20:41:59274 days ago1713213719IN
0x7d732905...817c04EaC
0 ETH0.0006947613.33311537
Withdraw192423122024-02-16 18:43:47333 days ago1708109027IN
0x7d732905...817c04EaC
0.2 ETH0.0008759528.80671346
Redeem190657002024-01-23 0:05:59358 days ago1705968359IN
0x7d732905...817c04EaC
0 ETH0.0005706610.95162838
Set Approval For...188356432023-12-21 17:10:35390 days ago1703178635IN
0x7d732905...817c04EaC
0 ETH0.0033537771.8723102
Safe Transfer Fr...187857752023-12-14 17:10:23397 days ago1702573823IN
0x7d732905...817c04EaC
0 ETH0.0045803550.00550959
Safe Transfer Fr...187857702023-12-14 17:09:23397 days ago1702573763IN
0x7d732905...817c04EaC
0 ETH0.0044938549.06111931
Redeem184453152023-10-28 1:06:47445 days ago1698455207IN
0x7d732905...817c04EaC
0 ETH0.0005443310.44619613
Safe Transfer Fr...184453002023-10-28 1:03:47445 days ago1698455027IN
0x7d732905...817c04EaC
0 ETH0.0006382311.84796472
Safe Transfer Fr...184432242023-10-27 18:06:47445 days ago1698430007IN
0x7d732905...817c04EaC
0 ETH0.0017998418.510401
Safe Transfer Fr...184072792023-10-22 17:19:47450 days ago1697995187IN
0x7d732905...817c04EaC
0 ETH0.0007117310.028863
Safe Transfer Fr...184072742023-10-22 17:18:47450 days ago1697995127IN
0x7d732905...817c04EaC
0 ETH0.000905719.88806642
Safe Transfer Fr...184072712023-10-22 17:18:11450 days ago1697995091IN
0x7d732905...817c04EaC
0 ETH0.0008188.93043126
Safe Transfer Fr...184072672023-10-22 17:17:23450 days ago1697995043IN
0x7d732905...817c04EaC
0 ETH0.000648219.13382999
Redeem182820652023-10-05 4:55:59468 days ago1696481759IN
0x7d732905...817c04EaC
0 ETH0.000325426.24528461
Mint182820612023-10-05 4:55:11468 days ago1696481711IN
0x7d732905...817c04EaC
0.1 ETH0.000663848.15388611
Redeem182674462023-10-03 3:51:59470 days ago1696305119IN
0x7d732905...817c04EaC
0 ETH0.000364977.00428579
Redeem182673952023-10-03 3:41:47470 days ago1696304507IN
0x7d732905...817c04EaC
0 ETH0.00034756.66892105
Redeem182227362023-09-26 21:49:59476 days ago1695764999IN
0x7d732905...817c04EaC
0 ETH0.0006448512.37534341
Mint182227312023-09-26 21:48:59476 days ago1695764939IN
0x7d732905...817c04EaC
0.1 ETH0.0011609714.2599759
Set Approval For...182216202023-09-26 18:04:59476 days ago1695751499IN
0x7d732905...817c04EaC
0 ETH0.0012368126.50530894
Redeem182213612023-09-26 17:12:47476 days ago1695748367IN
0x7d732905...817c04EaC
0 ETH0.0015901230.51599915
Redeem182213352023-09-26 17:07:35476 days ago1695748055IN
0x7d732905...817c04EaC
0 ETH0.001764433.86054577
Set Approval For...179965792023-08-26 4:51:11508 days ago1693025471IN
0x7d732905...817c04EaC
0 ETH0.0005422711.62111414
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
192423122024-02-16 18:43:47333 days ago1708109027
0x7d732905...817c04EaC
0.4 ETH
172960072023-05-19 20:50:35606 days ago1684529435
0x7d732905...817c04EaC
2 ETH
172959972023-05-19 20:48:35606 days ago1684529315
0x7d732905...817c04EaC
2 ETH
172888702023-05-18 20:40:47607 days ago1684442447
0x7d732905...817c04EaC
2 ETH
172888592023-05-18 20:38:23607 days ago1684442303
0x7d732905...817c04EaC
2 ETH
172888492023-05-18 20:36:23607 days ago1684442183
0x7d732905...817c04EaC
2 ETH
172888132023-05-18 20:29:11607 days ago1684441751
0x7d732905...817c04EaC
2 ETH
170822032023-04-19 17:44:11636 days ago1681926251
0x7d732905...817c04EaC
0.4 ETH
163354722023-01-04 19:19:35741 days ago1672859975
0x7d732905...817c04EaC
0.6 ETH
160489502022-11-25 19:01:35781 days ago1669402895
0x7d732905...817c04EaC
1 ETH
159985852022-11-18 18:07:23788 days ago1668794843
0x7d732905...817c04EaC
0.6 ETH
159910372022-11-17 16:48:35789 days ago1668703715
0x7d732905...817c04EaC
1 ETH
159288562022-11-09 0:20:35798 days ago1667953235
0x7d732905...817c04EaC
1 ETH
159273092022-11-08 19:08:59798 days ago1667934539
0x7d732905...817c04EaC
1 ETH
159214012022-11-07 23:22:23799 days ago1667863343
0x7d732905...817c04EaC
1 ETH
159211402022-11-07 22:29:47799 days ago1667860187
0x7d732905...817c04EaC
1 ETH
159210652022-11-07 22:14:47799 days ago1667859287
0x7d732905...817c04EaC
0.4 ETH
156777022022-10-04 22:20:11833 days ago1664922011
0x7d732905...817c04EaC
0.6 ETH
154100152022-08-25 16:01:48873 days ago1661443308
0x7d732905...817c04EaC
1 ETH
153607042022-08-17 20:00:11881 days ago1660766411
0x7d732905...817c04EaC
0.8 ETH
153351692022-08-13 19:10:37885 days ago1660417837
0x7d732905...817c04EaC
0.8 ETH
153045622022-08-08 23:32:47890 days ago1660001567
0x7d732905...817c04EaC
0.4 ETH
152210902022-07-26 23:35:49903 days ago1658878549
0x7d732905...817c04EaC
1.2 ETH
151422732022-07-14 18:00:51915 days ago1657821651
0x7d732905...817c04EaC
1.1 ETH
150957082022-07-07 13:26:05922 days ago1657200365
0x7d732905...817c04EaC
4.4 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DogeVodka

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : DogeVodka.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import {MerkleProof} from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

contract DogeVodka is ERC721A, Ownable, AccessControl {
    using MerkleProof for bytes32[];
    using Strings for uint256;

    string private baseURI;
    string private redeemedBaseURI;
    bytes32 private preWhitelistCode;

    mapping(uint256 => bool) public redeemedToken;

    bytes32 public constant REDEEMER_ROLE = keccak256("REEDEMER_ROLE");

    constructor() ERC721A("SpiritPunks Rocket Pass", "ROCKETPASS") {
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
    }

    bool public saleStarted = false;
    bool public preWhitelist = true;
    bool public publicSaleStarted = false;
    bool public redeemStarted = false;
    uint256 public constant vodkaPrice = 0.1 ether;
    uint256 public constant maxVodkas = 2013;
    uint8 public constant maxVodkasPurchase = 5;

    bytes32 public merkleRoot;

    event Redeemed(uint256[] _tokenIds);

    /**
     * @dev Returns the starting token ID.
     * To change the starting token ID, please override this function.
     */
    function _startTokenId() internal pure override returns (uint256) {
        return 1;
    }

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

    function setRedeemedBaseURI(string memory _redeemedBaseURI) public onlyOwner {
        redeemedBaseURI = _redeemedBaseURI;
    }

    function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner {
        merkleRoot = _merkleRoot;
    }

    function mint(
        bytes32[] memory proof,
        bytes32 leaf,
        uint16 numberOfTokens
    ) public payable {
        require(saleStarted == true, "The sale is paused");
        if (publicSaleStarted == false && preWhitelist == false) {
            require(keccak256(abi.encodePacked(msg.sender)) == leaf, "This leaf does not belong to the sender");
            require(proof.verify(merkleRoot, leaf), "You are not in the list");
        } else if (preWhitelist == true) {
            require(leaf == preWhitelistCode, "The pre-whitelist code is not correct");
        }

        require(numberOfTokens <= maxVodkasPurchase, "Can only mint 5 tokens at a time");
        require(totalSupply() + numberOfTokens <= maxVodkas, "Purchase would exceed max supply of Doge Vodkas");
        require(vodkaPrice * numberOfTokens == msg.value, "Ether value sent is not correct");

        _safeMint(msg.sender, numberOfTokens);
    }

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

        if (redeemedToken[tokenId] == true) return string(abi.encodePacked(redeemedBaseURI, tokenId.toString()));
        else return string(abi.encodePacked(baseURI, tokenId.toString()));
    }

    function redeem(uint256[] memory tokenIds) public onlyRole(REDEEMER_ROLE) {
        require(redeemStarted == true, "The redeem is paused");

        for (uint256 i = 0; i < tokenIds.length; i++) redeemedToken[tokenIds[i]] = true;

        emit Redeemed(tokenIds);
    }

    function startSale() public onlyOwner {
        saleStarted = true;
    }

    function pauseSale() public onlyOwner {
        saleStarted = false;
    }

    function togglePublicSale() public onlyOwner {
        publicSaleStarted = !publicSaleStarted;
    }

    function withdraw() public payable onlyOwner {
        require(payable(msg.sender).send(address(this).balance), "Error withdrawing funds");
    }

    function supportsInterface(bytes4 interfaceId) public view virtual override(AccessControl, ERC721A) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    function setPreWhitelistCode(bytes32 _preWhitelistCode) public onlyOwner {
        preWhitelistCode = _preWhitelistCode;
    }

    function startWhitelist() public onlyOwner {
        preWhitelist = false;
    }

    function startRedeem() public onlyOwner {
        redeemStarted = true;
    }

    function pauseRedeem() public onlyOwner {
        redeemStarted = false;
    }
}

File 2 of 15 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v3.3.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is Context, ERC165, IERC721A {
    using Address for address;
    using Strings for uint256;

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex;

    // The number of tokens burned.
    uint256 internal _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

    // 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;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    /**
     * To change the starting tokenId, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to _startTokenId()
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @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 override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return _addressData[owner].aux;
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        _addressData[owner].aux = aux;
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr) if (curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant:
                    // There will always be an ownership that has an address and is not burned
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return _ownershipOf(tokenId).addr;
    }

    /**
     * @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) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        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 override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

        if (_msgSender() != owner) if(!isApprovedForAll(owner, _msgSender())) {
            revert ApprovalCallerNotOwnerNorApproved();
        }

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

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

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_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 {
        _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 {
        _transfer(from, to, tokenId);
        if (to.isContract()) if(!_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

    /**
     * @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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned;
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement
     *   {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex < end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex < end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 quantity) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            do {
                emit Transfer(address(0), to, updatedIndex++);
            } while (updatedIndex < end);

            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) private {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSender() == from ||
            isApprovedForAll(from, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = to;
            currSlot.startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        address from = prevOwnership.addr;

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSender() == from ||
                isApprovedForAll(from, _msgSender()) ||
                getApproved(tokenId) == _msgSender());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            AddressData storage addressData = _addressData[from];
            addressData.balance -= 1;
            addressData.numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = from;
            currSlot.startTimestamp = uint64(block.timestamp);
            currSlot.burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
            return retval == IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * 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, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 15 : AccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 5 of 15 : MerkleProof.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];

            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }

        // Check if the computed hash (root) is equal to the provided root
        return computedHash == root;
    }
}

File 6 of 15 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v3.3.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';

/**
 * @dev Interface of an ERC721A compliant contract.
 */
interface IERC721A is IERC721, IERC721Metadata {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

    /**
     * The caller cannot approve to the current owner.
     */
    error ApprovalToCurrentOwner();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     * 
     * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);
}

File 7 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

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 8 of 15 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 10 of 15 : Strings.sol
// SPDX-License-Identifier: MIT

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 11 of 15 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 12 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT

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 13 of 15 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

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 14 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 15 of 15 : IAccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"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":"_tokenIds","type":"uint256[]"}],"name":"Redeemed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REDEEMER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"maxVodkas","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxVodkasPurchase","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes32","name":"leaf","type":"bytes32"},{"internalType":"uint16","name":"numberOfTokens","type":"uint16"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseRedeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pauseSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"preWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"redeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"redeemStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"redeemedToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","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":[],"name":"saleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_preWhitelistCode","type":"bytes32"}],"name":"setPreWhitelistCode","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_redeemedBaseURI","type":"string"}],"name":"setRedeemedBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startRedeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startWhitelist","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":[],"name":"togglePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vodkaPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

60806040526000600e60006101000a81548160ff0219169083151502179055506001600e60016101000a81548160ff0219169083151502179055506000600e60026101000a81548160ff0219169083151502179055506000600e60036101000a81548160ff0219169083151502179055503480156200007d57600080fd5b506040518060400160405280601781526020017f53706972697450756e6b7320526f636b657420506173730000000000000000008152506040518060400160405280600a81526020017f524f434b45545041535300000000000000000000000000000000000000000000815250816002908051906020019062000102929190620003b9565b5080600390805190602001906200011b929190620003b9565b506200012c6200016f60201b60201c565b600081905550505062000154620001486200017860201b60201c565b6200018060201b60201c565b620001696000801b336200024660201b60201c565b620004ce565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200025882826200025c60201b60201c565b5050565b6200026e82826200034e60201b60201c565b6200034a5760016009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620002ef6200017860201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b828054620003c79062000469565b90600052602060002090601f016020900481019282620003eb576000855562000437565b82601f106200040657805160ff191683800117855562000437565b8280016001018555821562000437579182015b828111156200043657825182559160200191906001019062000419565b5b5090506200044691906200044a565b5090565b5b80821115620004655760008160009055506001016200044b565b5090565b600060028204905060018216806200048257607f821691505b602082108114156200049957620004986200049f565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61510c80620004de6000396000f3fe60806040526004361061027d5760003560e01c80637f19c4121161014f578063b66a0e5d116100c1578063d63385901161007a578063d63385901461091b578063dac587d714610937578063e222c7f914610960578063e985e9c514610977578063f2fde38b146109b4578063f9afb26a146109dd5761027d565b8063b66a0e5d1461081f578063b88d4fde14610836578063c0df27051461085f578063c87b56dd1461088a578063d1b42e85146108c7578063d547741f146108f25761027d565b80639e3578d7116101135780639e3578d714610721578063a217fddf14610738578063a22cb46514610763578063a2e914771461078c578063b1b71dad146107b7578063b56a26d0146107f45761027d565b80637f19c4121461064c5780637fa46ab4146106635780638da5cb5b1461068e57806391d14854146106b957806395d89b41146106f65761027d565b806332ec84d2116101f357806356a1f574116101ac57806356a1f5741461053e5780635c474f9e146105675780636352211e1461059257806370a08231146105cf578063715018a61461060c5780637cb64759146106235761027d565b806332ec84d21461048b57806336568abe146104a25780633ccfd60b146104cb57806342842e0e146104d557806355367ba9146104fe57806355f804b3146105155761027d565b806319b3d7a31161024557806319b3d7a31461037b57806323b872dd146103a6578063248a9ca3146103cf5780632eb4a7ab1461040c5780632f2ff15d1461043757806330ae9f27146104605761027d565b806301ffc9a71461028257806306fdde03146102bf578063081812fc146102ea578063095ea7b31461032757806318160ddd14610350575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a49190613f07565b610a06565b6040516102b69190614541565b60405180910390f35b3480156102cb57600080fd5b506102d4610ae8565b6040516102e19190614577565b60405180910390f35b3480156102f657600080fd5b50610311600480360381019061030c9190613f9a565b610b7a565b60405161031e91906144b8565b60405180910390f35b34801561033357600080fd5b5061034e60048036038101906103499190613dbe565b610bf6565b005b34801561035c57600080fd5b50610365610cfb565b6040516103729190614759565b60405180910390f35b34801561038757600080fd5b50610390610d12565b60405161039d9190614541565b60405180910390f35b3480156103b257600080fd5b506103cd60048036038101906103c89190613cb8565b610d25565b005b3480156103db57600080fd5b506103f660048036038101906103f19190613ea2565b610d35565b604051610403919061455c565b60405180910390f35b34801561041857600080fd5b50610421610d55565b60405161042e919061455c565b60405180910390f35b34801561044357600080fd5b5061045e60048036038101906104599190613ecb565b610d5b565b005b34801561046c57600080fd5b50610475610d84565b6040516104829190614541565b60405180910390f35b34801561049757600080fd5b506104a0610d97565b005b3480156104ae57600080fd5b506104c960048036038101906104c49190613ecb565b610e30565b005b6104d3610eb3565b005b3480156104e157600080fd5b506104fc60048036038101906104f79190613cb8565b610fa5565b005b34801561050a57600080fd5b50610513610fc5565b005b34801561052157600080fd5b5061053c60048036038101906105379190613f59565b61105e565b005b34801561054a57600080fd5b5061056560048036038101906105609190613f59565b6110f4565b005b34801561057357600080fd5b5061057c61118a565b6040516105899190614541565b60405180910390f35b34801561059e57600080fd5b506105b960048036038101906105b49190613f9a565b61119d565b6040516105c691906144b8565b60405180910390f35b3480156105db57600080fd5b506105f660048036038101906105f19190613c53565b6111b3565b6040516106039190614759565b60405180910390f35b34801561061857600080fd5b50610621611283565b005b34801561062f57600080fd5b5061064a60048036038101906106459190613ea2565b61130b565b005b34801561065857600080fd5b50610661611391565b005b34801561066f57600080fd5b5061067861142a565b604051610685919061455c565b60405180910390f35b34801561069a57600080fd5b506106a361144e565b6040516106b091906144b8565b60405180910390f35b3480156106c557600080fd5b506106e060048036038101906106db9190613ecb565b611478565b6040516106ed9190614541565b60405180910390f35b34801561070257600080fd5b5061070b6114e3565b6040516107189190614577565b60405180910390f35b34801561072d57600080fd5b50610736611575565b005b34801561074457600080fd5b5061074d61160e565b60405161075a919061455c565b60405180910390f35b34801561076f57600080fd5b5061078a60048036038101906107859190613d82565b611615565b005b34801561079857600080fd5b506107a161178d565b6040516107ae9190614541565b60405180910390f35b3480156107c357600080fd5b506107de60048036038101906107d99190613f9a565b6117a0565b6040516107eb9190614541565b60405180910390f35b34801561080057600080fd5b506108096117c0565b6040516108169190614759565b60405180910390f35b34801561082b57600080fd5b506108346117c6565b005b34801561084257600080fd5b5061085d60048036038101906108589190613d07565b61185f565b005b34801561086b57600080fd5b506108746118d7565b6040516108819190614774565b60405180910390f35b34801561089657600080fd5b506108b160048036038101906108ac9190613f9a565b6118dc565b6040516108be9190614577565b60405180910390f35b3480156108d357600080fd5b506108dc6119b8565b6040516108e99190614759565b60405180910390f35b3480156108fe57600080fd5b5061091960048036038101906109149190613ecb565b6119c4565b005b61093560048036038101906109309190613dfa565b6119ed565b005b34801561094357600080fd5b5061095e60048036038101906109599190613ea2565b611cb5565b005b34801561096c57600080fd5b50610975611d3b565b005b34801561098357600080fd5b5061099e60048036038101906109999190613c7c565b611de3565b6040516109ab9190614541565b60405180910390f35b3480156109c057600080fd5b506109db60048036038101906109d69190613c53565b611e77565b005b3480156109e957600080fd5b50610a0460048036038101906109ff9190613e61565b611f6f565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ad157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ae15750610ae0826120be565b5b9050919050565b606060028054610af790614b19565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2390614b19565b8015610b705780601f10610b4557610100808354040283529160200191610b70565b820191906000526020600020905b815481529060010190602001808311610b5357829003601f168201915b5050505050905090565b6000610b8582612138565b610bbb576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c018261119d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c69576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c88612186565b73ffffffffffffffffffffffffffffffffffffffff1614610ceb57610cb481610caf612186565b611de3565b610cea576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b610cf683838361218e565b505050565b6000610d05612240565b6001546000540303905090565b600e60039054906101000a900460ff1681565b610d30838383612249565b505050565b600060096000838152602001908152602001600020600101549050919050565b600f5481565b610d6482610d35565b610d7581610d70612186565b6126ff565b610d7f838361279c565b505050565b600e60019054906101000a900460ff1681565b610d9f612186565b73ffffffffffffffffffffffffffffffffffffffff16610dbd61144e565b73ffffffffffffffffffffffffffffffffffffffff1614610e13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0a906146d9565b60405180910390fd5b6000600e60036101000a81548160ff021916908315150217905550565b610e38612186565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ea5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9c90614739565b60405180910390fd5b610eaf828261287d565b5050565b610ebb612186565b73ffffffffffffffffffffffffffffffffffffffff16610ed961144e565b73ffffffffffffffffffffffffffffffffffffffff1614610f2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f26906146d9565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050610fa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9a90614619565b60405180910390fd5b565b610fc08383836040518060200160405280600081525061185f565b505050565b610fcd612186565b73ffffffffffffffffffffffffffffffffffffffff16610feb61144e565b73ffffffffffffffffffffffffffffffffffffffff1614611041576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611038906146d9565b60405180910390fd5b6000600e60006101000a81548160ff021916908315150217905550565b611066612186565b73ffffffffffffffffffffffffffffffffffffffff1661108461144e565b73ffffffffffffffffffffffffffffffffffffffff16146110da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d1906146d9565b60405180910390fd5b80600a90805190602001906110f09291906138de565b5050565b6110fc612186565b73ffffffffffffffffffffffffffffffffffffffff1661111a61144e565b73ffffffffffffffffffffffffffffffffffffffff1614611170576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611167906146d9565b60405180910390fd5b80600b90805190602001906111869291906138de565b5050565b600e60009054906101000a900460ff1681565b60006111a88261295f565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561121b576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61128b612186565b73ffffffffffffffffffffffffffffffffffffffff166112a961144e565b73ffffffffffffffffffffffffffffffffffffffff16146112ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f6906146d9565b60405180910390fd5b6113096000612bea565b565b611313612186565b73ffffffffffffffffffffffffffffffffffffffff1661133161144e565b73ffffffffffffffffffffffffffffffffffffffff1614611387576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137e906146d9565b60405180910390fd5b80600f8190555050565b611399612186565b73ffffffffffffffffffffffffffffffffffffffff166113b761144e565b73ffffffffffffffffffffffffffffffffffffffff161461140d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611404906146d9565b60405180910390fd5b6000600e60016101000a81548160ff021916908315150217905550565b7f601e4fbdd617f5aeda19665200405a18d4af63034e41ff4b489ed2e5294bebfd81565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6060600380546114f290614b19565b80601f016020809104026020016040519081016040528092919081815260200182805461151e90614b19565b801561156b5780601f106115405761010080835404028352916020019161156b565b820191906000526020600020905b81548152906001019060200180831161154e57829003601f168201915b5050505050905090565b61157d612186565b73ffffffffffffffffffffffffffffffffffffffff1661159b61144e565b73ffffffffffffffffffffffffffffffffffffffff16146115f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e8906146d9565b60405180910390fd5b6001600e60036101000a81548160ff021916908315150217905550565b6000801b81565b61161d612186565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611682576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061168f612186565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661173c612186565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516117819190614541565b60405180910390a35050565b600e60029054906101000a900460ff1681565b600d6020528060005260406000206000915054906101000a900460ff1681565b6107dd81565b6117ce612186565b73ffffffffffffffffffffffffffffffffffffffff166117ec61144e565b73ffffffffffffffffffffffffffffffffffffffff1614611842576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611839906146d9565b60405180910390fd5b6001600e60006101000a81548160ff021916908315150217905550565b61186a848484612249565b6118898373ffffffffffffffffffffffffffffffffffffffff16612cb0565b156118d15761189a84848484612cc3565b6118d0576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600581565b60606118e782612138565b611926576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191d906145d9565b60405180910390fd5b60011515600d600084815260200190815260200160002060009054906101000a900460ff161515141561198557600b61195e83612e23565b60405160200161196f92919061445a565b60405160208183030381529060405290506119b3565b600a61199083612e23565b6040516020016119a192919061445a565b60405160208183030381529060405290505b919050565b67016345785d8a000081565b6119cd82610d35565b6119de816119d9612186565b6126ff565b6119e8838361287d565b505050565b60011515600e60009054906101000a900460ff16151514611a43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3a90614699565b60405180910390fd5b60001515600e60029054906101000a900460ff161515148015611a79575060001515600e60019054906101000a900460ff161515145b15611b41578133604051602001611a909190614413565b6040516020818303038152906040528051906020012014611ae6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611add90614719565b60405180910390fd5b611afd600f548385612fd09092919063ffffffff16565b611b3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3390614679565b60405180910390fd5b611ba3565b60011515600e60019054906101000a900460ff1615151415611ba257600c548214611ba1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b98906146b9565b60405180910390fd5b5b5b600560ff168161ffff161115611bee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be5906145b9565b60405180910390fd5b6107dd8161ffff16611bfe610cfb565b611c0891906148ff565b1115611c49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4090614639565b60405180910390fd5b348161ffff1667016345785d8a0000611c629190614986565b14611ca2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9990614659565b60405180910390fd5b611cb0338261ffff166130ac565b505050565b611cbd612186565b73ffffffffffffffffffffffffffffffffffffffff16611cdb61144e565b73ffffffffffffffffffffffffffffffffffffffff1614611d31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d28906146d9565b60405180910390fd5b80600c8190555050565b611d43612186565b73ffffffffffffffffffffffffffffffffffffffff16611d6161144e565b73ffffffffffffffffffffffffffffffffffffffff1614611db7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dae906146d9565b60405180910390fd5b600e60029054906101000a900460ff1615600e60026101000a81548160ff021916908315150217905550565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611e7f612186565b73ffffffffffffffffffffffffffffffffffffffff16611e9d61144e565b73ffffffffffffffffffffffffffffffffffffffff1614611ef3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eea906146d9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5a906145f9565b60405180910390fd5b611f6c81612bea565b50565b7f601e4fbdd617f5aeda19665200405a18d4af63034e41ff4b489ed2e5294bebfd611fa181611f9c612186565b6126ff565b60011515600e60039054906101000a900460ff16151514611ff7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fee906146f9565b60405180910390fd5b60005b8251811015612082576001600d6000858481518110612042577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff021916908315150217905550808061207a90614b7c565b915050611ffa565b507f5b3c472d6aa6e058dfe95f09b7ca4fbefcf386c7d343f5791fdf12d7ceec3b50826040516120b2919061451f565b60405180910390a15050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806121315750612130826130ca565b5b9050919050565b600081612143612240565b11158015612152575060005482105b801561217f575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b60006122548261295f565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146122bf576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166122e0612186565b73ffffffffffffffffffffffffffffffffffffffff16148061230f575061230e85612309612186565b611de3565b5b80612354575061231d612186565b73ffffffffffffffffffffffffffffffffffffffff1661233c84610b7a565b73ffffffffffffffffffffffffffffffffffffffff16145b90508061238d576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156123f4576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61240185858560016131ac565b61240d6000848761218e565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561268d57600054821461268c57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46126f885858560016131b2565b5050505050565b6127098282611478565b6127985761272e8173ffffffffffffffffffffffffffffffffffffffff1660146131b8565b61273c8360001c60206131b8565b60405160200161274d92919061447e565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278f9190614577565b60405180910390fd5b5050565b6127a68282611478565b6128795760016009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061281e612186565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6128878282611478565b1561295b5760006009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612900612186565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b612967613964565b600082905080612975612240565b11612bb357600054811015612bb2576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612bb057600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612a94578092505050612be5565b5b600115612baf57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612baa578092505050612be5565b612a95565b5b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080823b905060008111915050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612ce9612186565b8786866040518563ffffffff1660e01b8152600401612d0b94939291906144d3565b602060405180830381600087803b158015612d2557600080fd5b505af1925050508015612d5657506040513d601f19601f82011682018060405250810190612d539190613f30565b60015b612dd0573d8060008114612d86576040519150601f19603f3d011682016040523d82523d6000602084013e612d8b565b606091505b50600081511415612dc8576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415612e6b576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612fcb565b600082905060005b60008214612e9d578080612e8690614b7c565b915050600a82612e969190614955565b9150612e73565b60008167ffffffffffffffff811115612edf577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612f115781602001600182028036833780820191505090505b5090505b60008514612fc457600182612f2a91906149e0565b9150600a85612f399190614bf3565b6030612f4591906148ff565b60f81b818381518110612f81577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612fbd9190614955565b9450612f15565b8093505050505b919050565b60008082905060005b855181101561309e57600086828151811061301d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905080831161305e57828160405160200161304192919061442e565b60405160208183030381529060405280519060200120925061308a565b808360405160200161307192919061442e565b6040516020818303038152906040528051906020012092505b50808061309690614b7c565b915050612fd9565b508381149150509392505050565b6130c68282604051806020016040528060008152506134b2565b5050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061319557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806131a557506131a482613874565b5b9050919050565b50505050565b50505050565b6060600060028360026131cb9190614986565b6131d591906148ff565b67ffffffffffffffff811115613214577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156132465781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106132a4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061332e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261336e9190614986565b61337891906148ff565b90505b6001811115613464577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106133e0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b82828151811061341d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061345d90614aef565b905061337b565b50600084146134a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161349f90614599565b60405180910390fd5b8091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561351f576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600083141561355a576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61356760008583866131ac565b82600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600084820190506137288673ffffffffffffffffffffffffffffffffffffffff16612cb0565b156137ed575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461379d6000878480600101955087612cc3565b6137d3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821061372e5782600054146137e857600080fd5b613858565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106137ee575b81600081905550505061386e60008583866131b2565b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b8280546138ea90614b19565b90600052602060002090601f01602090048101928261390c5760008555613953565b82601f1061392557805160ff1916838001178555613953565b82800160010185558215613953579182015b82811115613952578251825591602001919060010190613937565b5b50905061396091906139a7565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156139c05760008160009055506001016139a8565b5090565b60006139d76139d2846147b4565b61478f565b905080838252602082019050828560208602820111156139f657600080fd5b60005b85811015613a265781613a0c8882613b96565b8452602084019350602083019250506001810190506139f9565b5050509392505050565b6000613a43613a3e846147e0565b61478f565b90508083825260208201905082856020860282011115613a6257600080fd5b60005b85811015613a925781613a788882613c3e565b845260208401935060208301925050600181019050613a65565b5050509392505050565b6000613aaf613aaa8461480c565b61478f565b905082815260208101848484011115613ac757600080fd5b613ad2848285614aad565b509392505050565b6000613aed613ae88461483d565b61478f565b905082815260208101848484011115613b0557600080fd5b613b10848285614aad565b509392505050565b600081359050613b278161504c565b92915050565b600082601f830112613b3e57600080fd5b8135613b4e8482602086016139c4565b91505092915050565b600082601f830112613b6857600080fd5b8135613b78848260208601613a30565b91505092915050565b600081359050613b9081615063565b92915050565b600081359050613ba58161507a565b92915050565b600081359050613bba81615091565b92915050565b600081519050613bcf81615091565b92915050565b600082601f830112613be657600080fd5b8135613bf6848260208601613a9c565b91505092915050565b600082601f830112613c1057600080fd5b8135613c20848260208601613ada565b91505092915050565b600081359050613c38816150a8565b92915050565b600081359050613c4d816150bf565b92915050565b600060208284031215613c6557600080fd5b6000613c7384828501613b18565b91505092915050565b60008060408385031215613c8f57600080fd5b6000613c9d85828601613b18565b9250506020613cae85828601613b18565b9150509250929050565b600080600060608486031215613ccd57600080fd5b6000613cdb86828701613b18565b9350506020613cec86828701613b18565b9250506040613cfd86828701613c3e565b9150509250925092565b60008060008060808587031215613d1d57600080fd5b6000613d2b87828801613b18565b9450506020613d3c87828801613b18565b9350506040613d4d87828801613c3e565b925050606085013567ffffffffffffffff811115613d6a57600080fd5b613d7687828801613bd5565b91505092959194509250565b60008060408385031215613d9557600080fd5b6000613da385828601613b18565b9250506020613db485828601613b81565b9150509250929050565b60008060408385031215613dd157600080fd5b6000613ddf85828601613b18565b9250506020613df085828601613c3e565b9150509250929050565b600080600060608486031215613e0f57600080fd5b600084013567ffffffffffffffff811115613e2957600080fd5b613e3586828701613b2d565b9350506020613e4686828701613b96565b9250506040613e5786828701613c29565b9150509250925092565b600060208284031215613e7357600080fd5b600082013567ffffffffffffffff811115613e8d57600080fd5b613e9984828501613b57565b91505092915050565b600060208284031215613eb457600080fd5b6000613ec284828501613b96565b91505092915050565b60008060408385031215613ede57600080fd5b6000613eec85828601613b96565b9250506020613efd85828601613b18565b9150509250929050565b600060208284031215613f1957600080fd5b6000613f2784828501613bab565b91505092915050565b600060208284031215613f4257600080fd5b6000613f5084828501613bc0565b91505092915050565b600060208284031215613f6b57600080fd5b600082013567ffffffffffffffff811115613f8557600080fd5b613f9184828501613bff565b91505092915050565b600060208284031215613fac57600080fd5b6000613fba84828501613c3e565b91505092915050565b6000613fcf83836143e6565b60208301905092915050565b613fe481614a14565b82525050565b613ffb613ff682614a14565b614bc5565b82525050565b600061400c82614893565b61401681856148c1565b93506140218361486e565b8060005b838110156140525781516140398882613fc3565b9750614044836148b4565b925050600181019050614025565b5085935050505092915050565b61406881614a26565b82525050565b61407781614a32565b82525050565b61408e61408982614a32565b614bd7565b82525050565b600061409f8261489e565b6140a981856148d2565b93506140b9818560208601614abc565b6140c281614ce0565b840191505092915050565b60006140d8826148a9565b6140e281856148e3565b93506140f2818560208601614abc565b6140fb81614ce0565b840191505092915050565b6000614111826148a9565b61411b81856148f4565b935061412b818560208601614abc565b80840191505092915050565b6000815461414481614b19565b61414e81866148f4565b94506001821660008114614169576001811461417a576141ad565b60ff198316865281860193506141ad565b6141838561487e565b60005b838110156141a557815481890152600182019150602081019050614186565b838801955050505b50505092915050565b60006141c36020836148e3565b91506141ce82614cfe565b602082019050919050565b60006141e66020836148e3565b91506141f182614d27565b602082019050919050565b6000614209601f836148e3565b915061421482614d50565b602082019050919050565b600061422c6026836148e3565b915061423782614d79565b604082019050919050565b600061424f6017836148e3565b915061425a82614dc8565b602082019050919050565b6000614272602f836148e3565b915061427d82614df1565b604082019050919050565b6000614295601f836148e3565b91506142a082614e40565b602082019050919050565b60006142b86017836148e3565b91506142c382614e69565b602082019050919050565b60006142db6012836148e3565b91506142e682614e92565b602082019050919050565b60006142fe6025836148e3565b915061430982614ebb565b604082019050919050565b60006143216020836148e3565b915061432c82614f0a565b602082019050919050565b60006143446014836148e3565b915061434f82614f33565b602082019050919050565b60006143676027836148e3565b915061437282614f5c565b604082019050919050565b600061438a6017836148f4565b915061439582614fab565b601782019050919050565b60006143ad6011836148f4565b91506143b882614fd4565b601182019050919050565b60006143d0602f836148e3565b91506143db82614ffd565b604082019050919050565b6143ef81614a96565b82525050565b6143fe81614a96565b82525050565b61440d81614aa0565b82525050565b600061441f8284613fea565b60148201915081905092915050565b600061443a828561407d565b60208201915061444a828461407d565b6020820191508190509392505050565b60006144668285614137565b91506144728284614106565b91508190509392505050565b60006144898261437d565b91506144958285614106565b91506144a0826143a0565b91506144ac8284614106565b91508190509392505050565b60006020820190506144cd6000830184613fdb565b92915050565b60006080820190506144e86000830187613fdb565b6144f56020830186613fdb565b61450260408301856143f5565b81810360608301526145148184614094565b905095945050505050565b600060208201905081810360008301526145398184614001565b905092915050565b6000602082019050614556600083018461405f565b92915050565b6000602082019050614571600083018461406e565b92915050565b6000602082019050818103600083015261459181846140cd565b905092915050565b600060208201905081810360008301526145b2816141b6565b9050919050565b600060208201905081810360008301526145d2816141d9565b9050919050565b600060208201905081810360008301526145f2816141fc565b9050919050565b600060208201905081810360008301526146128161421f565b9050919050565b6000602082019050818103600083015261463281614242565b9050919050565b6000602082019050818103600083015261465281614265565b9050919050565b6000602082019050818103600083015261467281614288565b9050919050565b60006020820190508181036000830152614692816142ab565b9050919050565b600060208201905081810360008301526146b2816142ce565b9050919050565b600060208201905081810360008301526146d2816142f1565b9050919050565b600060208201905081810360008301526146f281614314565b9050919050565b6000602082019050818103600083015261471281614337565b9050919050565b600060208201905081810360008301526147328161435a565b9050919050565b60006020820190508181036000830152614752816143c3565b9050919050565b600060208201905061476e60008301846143f5565b92915050565b60006020820190506147896000830184614404565b92915050565b60006147996147aa565b90506147a58282614b4b565b919050565b6000604051905090565b600067ffffffffffffffff8211156147cf576147ce614cb1565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156147fb576147fa614cb1565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561482757614826614cb1565b5b61483082614ce0565b9050602081019050919050565b600067ffffffffffffffff82111561485857614857614cb1565b5b61486182614ce0565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061490a82614a96565b915061491583614a96565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561494a57614949614c24565b5b828201905092915050565b600061496082614a96565b915061496b83614a96565b92508261497b5761497a614c53565b5b828204905092915050565b600061499182614a96565b915061499c83614a96565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156149d5576149d4614c24565b5b828202905092915050565b60006149eb82614a96565b91506149f683614a96565b925082821015614a0957614a08614c24565b5b828203905092915050565b6000614a1f82614a76565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614ada578082015181840152602081019050614abf565b83811115614ae9576000848401525b50505050565b6000614afa82614a96565b91506000821415614b0e57614b0d614c24565b5b600182039050919050565b60006002820490506001821680614b3157607f821691505b60208210811415614b4557614b44614c82565b5b50919050565b614b5482614ce0565b810181811067ffffffffffffffff82111715614b7357614b72614cb1565b5b80604052505050565b6000614b8782614a96565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614bba57614bb9614c24565b5b600182019050919050565b6000614bd082614be1565b9050919050565b6000819050919050565b6000614bec82614cf1565b9050919050565b6000614bfe82614a96565b9150614c0983614a96565b925082614c1957614c18614c53565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f43616e206f6e6c79206d696e74203520746f6b656e7320617420612074696d65600082015250565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4572726f72207769746864726177696e672066756e6473000000000000000000600082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f6620446f676520566f646b61730000000000000000000000000000000000602082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f596f7520617265206e6f7420696e20746865206c697374000000000000000000600082015250565b7f5468652073616c65206973207061757365640000000000000000000000000000600082015250565b7f546865207072652d77686974656c69737420636f6465206973206e6f7420636f60008201527f7272656374000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5468652072656465656d20697320706175736564000000000000000000000000600082015250565b7f54686973206c65616620646f6573206e6f742062656c6f6e6720746f2074686560008201527f2073656e64657200000000000000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b61505581614a14565b811461506057600080fd5b50565b61506c81614a26565b811461507757600080fd5b50565b61508381614a32565b811461508e57600080fd5b50565b61509a81614a3c565b81146150a557600080fd5b50565b6150b181614a68565b81146150bc57600080fd5b50565b6150c881614a96565b81146150d357600080fd5b5056fea2646970667358221220aa728a615a69a6d7e84c0bb028a0c1cea854e20e4fe84be92cf002953c56736664736f6c63430008040033

Deployed Bytecode

0x60806040526004361061027d5760003560e01c80637f19c4121161014f578063b66a0e5d116100c1578063d63385901161007a578063d63385901461091b578063dac587d714610937578063e222c7f914610960578063e985e9c514610977578063f2fde38b146109b4578063f9afb26a146109dd5761027d565b8063b66a0e5d1461081f578063b88d4fde14610836578063c0df27051461085f578063c87b56dd1461088a578063d1b42e85146108c7578063d547741f146108f25761027d565b80639e3578d7116101135780639e3578d714610721578063a217fddf14610738578063a22cb46514610763578063a2e914771461078c578063b1b71dad146107b7578063b56a26d0146107f45761027d565b80637f19c4121461064c5780637fa46ab4146106635780638da5cb5b1461068e57806391d14854146106b957806395d89b41146106f65761027d565b806332ec84d2116101f357806356a1f574116101ac57806356a1f5741461053e5780635c474f9e146105675780636352211e1461059257806370a08231146105cf578063715018a61461060c5780637cb64759146106235761027d565b806332ec84d21461048b57806336568abe146104a25780633ccfd60b146104cb57806342842e0e146104d557806355367ba9146104fe57806355f804b3146105155761027d565b806319b3d7a31161024557806319b3d7a31461037b57806323b872dd146103a6578063248a9ca3146103cf5780632eb4a7ab1461040c5780632f2ff15d1461043757806330ae9f27146104605761027d565b806301ffc9a71461028257806306fdde03146102bf578063081812fc146102ea578063095ea7b31461032757806318160ddd14610350575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a49190613f07565b610a06565b6040516102b69190614541565b60405180910390f35b3480156102cb57600080fd5b506102d4610ae8565b6040516102e19190614577565b60405180910390f35b3480156102f657600080fd5b50610311600480360381019061030c9190613f9a565b610b7a565b60405161031e91906144b8565b60405180910390f35b34801561033357600080fd5b5061034e60048036038101906103499190613dbe565b610bf6565b005b34801561035c57600080fd5b50610365610cfb565b6040516103729190614759565b60405180910390f35b34801561038757600080fd5b50610390610d12565b60405161039d9190614541565b60405180910390f35b3480156103b257600080fd5b506103cd60048036038101906103c89190613cb8565b610d25565b005b3480156103db57600080fd5b506103f660048036038101906103f19190613ea2565b610d35565b604051610403919061455c565b60405180910390f35b34801561041857600080fd5b50610421610d55565b60405161042e919061455c565b60405180910390f35b34801561044357600080fd5b5061045e60048036038101906104599190613ecb565b610d5b565b005b34801561046c57600080fd5b50610475610d84565b6040516104829190614541565b60405180910390f35b34801561049757600080fd5b506104a0610d97565b005b3480156104ae57600080fd5b506104c960048036038101906104c49190613ecb565b610e30565b005b6104d3610eb3565b005b3480156104e157600080fd5b506104fc60048036038101906104f79190613cb8565b610fa5565b005b34801561050a57600080fd5b50610513610fc5565b005b34801561052157600080fd5b5061053c60048036038101906105379190613f59565b61105e565b005b34801561054a57600080fd5b5061056560048036038101906105609190613f59565b6110f4565b005b34801561057357600080fd5b5061057c61118a565b6040516105899190614541565b60405180910390f35b34801561059e57600080fd5b506105b960048036038101906105b49190613f9a565b61119d565b6040516105c691906144b8565b60405180910390f35b3480156105db57600080fd5b506105f660048036038101906105f19190613c53565b6111b3565b6040516106039190614759565b60405180910390f35b34801561061857600080fd5b50610621611283565b005b34801561062f57600080fd5b5061064a60048036038101906106459190613ea2565b61130b565b005b34801561065857600080fd5b50610661611391565b005b34801561066f57600080fd5b5061067861142a565b604051610685919061455c565b60405180910390f35b34801561069a57600080fd5b506106a361144e565b6040516106b091906144b8565b60405180910390f35b3480156106c557600080fd5b506106e060048036038101906106db9190613ecb565b611478565b6040516106ed9190614541565b60405180910390f35b34801561070257600080fd5b5061070b6114e3565b6040516107189190614577565b60405180910390f35b34801561072d57600080fd5b50610736611575565b005b34801561074457600080fd5b5061074d61160e565b60405161075a919061455c565b60405180910390f35b34801561076f57600080fd5b5061078a60048036038101906107859190613d82565b611615565b005b34801561079857600080fd5b506107a161178d565b6040516107ae9190614541565b60405180910390f35b3480156107c357600080fd5b506107de60048036038101906107d99190613f9a565b6117a0565b6040516107eb9190614541565b60405180910390f35b34801561080057600080fd5b506108096117c0565b6040516108169190614759565b60405180910390f35b34801561082b57600080fd5b506108346117c6565b005b34801561084257600080fd5b5061085d60048036038101906108589190613d07565b61185f565b005b34801561086b57600080fd5b506108746118d7565b6040516108819190614774565b60405180910390f35b34801561089657600080fd5b506108b160048036038101906108ac9190613f9a565b6118dc565b6040516108be9190614577565b60405180910390f35b3480156108d357600080fd5b506108dc6119b8565b6040516108e99190614759565b60405180910390f35b3480156108fe57600080fd5b5061091960048036038101906109149190613ecb565b6119c4565b005b61093560048036038101906109309190613dfa565b6119ed565b005b34801561094357600080fd5b5061095e60048036038101906109599190613ea2565b611cb5565b005b34801561096c57600080fd5b50610975611d3b565b005b34801561098357600080fd5b5061099e60048036038101906109999190613c7c565b611de3565b6040516109ab9190614541565b60405180910390f35b3480156109c057600080fd5b506109db60048036038101906109d69190613c53565b611e77565b005b3480156109e957600080fd5b50610a0460048036038101906109ff9190613e61565b611f6f565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ad157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ae15750610ae0826120be565b5b9050919050565b606060028054610af790614b19565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2390614b19565b8015610b705780601f10610b4557610100808354040283529160200191610b70565b820191906000526020600020905b815481529060010190602001808311610b5357829003601f168201915b5050505050905090565b6000610b8582612138565b610bbb576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c018261119d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c69576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c88612186565b73ffffffffffffffffffffffffffffffffffffffff1614610ceb57610cb481610caf612186565b611de3565b610cea576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b610cf683838361218e565b505050565b6000610d05612240565b6001546000540303905090565b600e60039054906101000a900460ff1681565b610d30838383612249565b505050565b600060096000838152602001908152602001600020600101549050919050565b600f5481565b610d6482610d35565b610d7581610d70612186565b6126ff565b610d7f838361279c565b505050565b600e60019054906101000a900460ff1681565b610d9f612186565b73ffffffffffffffffffffffffffffffffffffffff16610dbd61144e565b73ffffffffffffffffffffffffffffffffffffffff1614610e13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0a906146d9565b60405180910390fd5b6000600e60036101000a81548160ff021916908315150217905550565b610e38612186565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ea5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9c90614739565b60405180910390fd5b610eaf828261287d565b5050565b610ebb612186565b73ffffffffffffffffffffffffffffffffffffffff16610ed961144e565b73ffffffffffffffffffffffffffffffffffffffff1614610f2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f26906146d9565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050610fa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9a90614619565b60405180910390fd5b565b610fc08383836040518060200160405280600081525061185f565b505050565b610fcd612186565b73ffffffffffffffffffffffffffffffffffffffff16610feb61144e565b73ffffffffffffffffffffffffffffffffffffffff1614611041576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611038906146d9565b60405180910390fd5b6000600e60006101000a81548160ff021916908315150217905550565b611066612186565b73ffffffffffffffffffffffffffffffffffffffff1661108461144e565b73ffffffffffffffffffffffffffffffffffffffff16146110da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d1906146d9565b60405180910390fd5b80600a90805190602001906110f09291906138de565b5050565b6110fc612186565b73ffffffffffffffffffffffffffffffffffffffff1661111a61144e565b73ffffffffffffffffffffffffffffffffffffffff1614611170576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611167906146d9565b60405180910390fd5b80600b90805190602001906111869291906138de565b5050565b600e60009054906101000a900460ff1681565b60006111a88261295f565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561121b576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61128b612186565b73ffffffffffffffffffffffffffffffffffffffff166112a961144e565b73ffffffffffffffffffffffffffffffffffffffff16146112ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f6906146d9565b60405180910390fd5b6113096000612bea565b565b611313612186565b73ffffffffffffffffffffffffffffffffffffffff1661133161144e565b73ffffffffffffffffffffffffffffffffffffffff1614611387576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137e906146d9565b60405180910390fd5b80600f8190555050565b611399612186565b73ffffffffffffffffffffffffffffffffffffffff166113b761144e565b73ffffffffffffffffffffffffffffffffffffffff161461140d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611404906146d9565b60405180910390fd5b6000600e60016101000a81548160ff021916908315150217905550565b7f601e4fbdd617f5aeda19665200405a18d4af63034e41ff4b489ed2e5294bebfd81565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6060600380546114f290614b19565b80601f016020809104026020016040519081016040528092919081815260200182805461151e90614b19565b801561156b5780601f106115405761010080835404028352916020019161156b565b820191906000526020600020905b81548152906001019060200180831161154e57829003601f168201915b5050505050905090565b61157d612186565b73ffffffffffffffffffffffffffffffffffffffff1661159b61144e565b73ffffffffffffffffffffffffffffffffffffffff16146115f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e8906146d9565b60405180910390fd5b6001600e60036101000a81548160ff021916908315150217905550565b6000801b81565b61161d612186565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611682576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061168f612186565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661173c612186565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516117819190614541565b60405180910390a35050565b600e60029054906101000a900460ff1681565b600d6020528060005260406000206000915054906101000a900460ff1681565b6107dd81565b6117ce612186565b73ffffffffffffffffffffffffffffffffffffffff166117ec61144e565b73ffffffffffffffffffffffffffffffffffffffff1614611842576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611839906146d9565b60405180910390fd5b6001600e60006101000a81548160ff021916908315150217905550565b61186a848484612249565b6118898373ffffffffffffffffffffffffffffffffffffffff16612cb0565b156118d15761189a84848484612cc3565b6118d0576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600581565b60606118e782612138565b611926576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191d906145d9565b60405180910390fd5b60011515600d600084815260200190815260200160002060009054906101000a900460ff161515141561198557600b61195e83612e23565b60405160200161196f92919061445a565b60405160208183030381529060405290506119b3565b600a61199083612e23565b6040516020016119a192919061445a565b60405160208183030381529060405290505b919050565b67016345785d8a000081565b6119cd82610d35565b6119de816119d9612186565b6126ff565b6119e8838361287d565b505050565b60011515600e60009054906101000a900460ff16151514611a43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3a90614699565b60405180910390fd5b60001515600e60029054906101000a900460ff161515148015611a79575060001515600e60019054906101000a900460ff161515145b15611b41578133604051602001611a909190614413565b6040516020818303038152906040528051906020012014611ae6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611add90614719565b60405180910390fd5b611afd600f548385612fd09092919063ffffffff16565b611b3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3390614679565b60405180910390fd5b611ba3565b60011515600e60019054906101000a900460ff1615151415611ba257600c548214611ba1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b98906146b9565b60405180910390fd5b5b5b600560ff168161ffff161115611bee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be5906145b9565b60405180910390fd5b6107dd8161ffff16611bfe610cfb565b611c0891906148ff565b1115611c49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4090614639565b60405180910390fd5b348161ffff1667016345785d8a0000611c629190614986565b14611ca2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9990614659565b60405180910390fd5b611cb0338261ffff166130ac565b505050565b611cbd612186565b73ffffffffffffffffffffffffffffffffffffffff16611cdb61144e565b73ffffffffffffffffffffffffffffffffffffffff1614611d31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d28906146d9565b60405180910390fd5b80600c8190555050565b611d43612186565b73ffffffffffffffffffffffffffffffffffffffff16611d6161144e565b73ffffffffffffffffffffffffffffffffffffffff1614611db7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dae906146d9565b60405180910390fd5b600e60029054906101000a900460ff1615600e60026101000a81548160ff021916908315150217905550565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611e7f612186565b73ffffffffffffffffffffffffffffffffffffffff16611e9d61144e565b73ffffffffffffffffffffffffffffffffffffffff1614611ef3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eea906146d9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5a906145f9565b60405180910390fd5b611f6c81612bea565b50565b7f601e4fbdd617f5aeda19665200405a18d4af63034e41ff4b489ed2e5294bebfd611fa181611f9c612186565b6126ff565b60011515600e60039054906101000a900460ff16151514611ff7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fee906146f9565b60405180910390fd5b60005b8251811015612082576001600d6000858481518110612042577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff021916908315150217905550808061207a90614b7c565b915050611ffa565b507f5b3c472d6aa6e058dfe95f09b7ca4fbefcf386c7d343f5791fdf12d7ceec3b50826040516120b2919061451f565b60405180910390a15050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806121315750612130826130ca565b5b9050919050565b600081612143612240565b11158015612152575060005482105b801561217f575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b60006122548261295f565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146122bf576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166122e0612186565b73ffffffffffffffffffffffffffffffffffffffff16148061230f575061230e85612309612186565b611de3565b5b80612354575061231d612186565b73ffffffffffffffffffffffffffffffffffffffff1661233c84610b7a565b73ffffffffffffffffffffffffffffffffffffffff16145b90508061238d576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156123f4576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61240185858560016131ac565b61240d6000848761218e565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561268d57600054821461268c57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46126f885858560016131b2565b5050505050565b6127098282611478565b6127985761272e8173ffffffffffffffffffffffffffffffffffffffff1660146131b8565b61273c8360001c60206131b8565b60405160200161274d92919061447e565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278f9190614577565b60405180910390fd5b5050565b6127a68282611478565b6128795760016009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061281e612186565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6128878282611478565b1561295b5760006009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612900612186565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b612967613964565b600082905080612975612240565b11612bb357600054811015612bb2576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612bb057600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612a94578092505050612be5565b5b600115612baf57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612baa578092505050612be5565b612a95565b5b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080823b905060008111915050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612ce9612186565b8786866040518563ffffffff1660e01b8152600401612d0b94939291906144d3565b602060405180830381600087803b158015612d2557600080fd5b505af1925050508015612d5657506040513d601f19601f82011682018060405250810190612d539190613f30565b60015b612dd0573d8060008114612d86576040519150601f19603f3d011682016040523d82523d6000602084013e612d8b565b606091505b50600081511415612dc8576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415612e6b576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612fcb565b600082905060005b60008214612e9d578080612e8690614b7c565b915050600a82612e969190614955565b9150612e73565b60008167ffffffffffffffff811115612edf577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612f115781602001600182028036833780820191505090505b5090505b60008514612fc457600182612f2a91906149e0565b9150600a85612f399190614bf3565b6030612f4591906148ff565b60f81b818381518110612f81577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612fbd9190614955565b9450612f15565b8093505050505b919050565b60008082905060005b855181101561309e57600086828151811061301d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905080831161305e57828160405160200161304192919061442e565b60405160208183030381529060405280519060200120925061308a565b808360405160200161307192919061442e565b6040516020818303038152906040528051906020012092505b50808061309690614b7c565b915050612fd9565b508381149150509392505050565b6130c68282604051806020016040528060008152506134b2565b5050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061319557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806131a557506131a482613874565b5b9050919050565b50505050565b50505050565b6060600060028360026131cb9190614986565b6131d591906148ff565b67ffffffffffffffff811115613214577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156132465781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106132a4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061332e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261336e9190614986565b61337891906148ff565b90505b6001811115613464577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106133e0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b82828151811061341d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061345d90614aef565b905061337b565b50600084146134a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161349f90614599565b60405180910390fd5b8091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561351f576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600083141561355a576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61356760008583866131ac565b82600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600084820190506137288673ffffffffffffffffffffffffffffffffffffffff16612cb0565b156137ed575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461379d6000878480600101955087612cc3565b6137d3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821061372e5782600054146137e857600080fd5b613858565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106137ee575b81600081905550505061386e60008583866131b2565b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b8280546138ea90614b19565b90600052602060002090601f01602090048101928261390c5760008555613953565b82601f1061392557805160ff1916838001178555613953565b82800160010185558215613953579182015b82811115613952578251825591602001919060010190613937565b5b50905061396091906139a7565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156139c05760008160009055506001016139a8565b5090565b60006139d76139d2846147b4565b61478f565b905080838252602082019050828560208602820111156139f657600080fd5b60005b85811015613a265781613a0c8882613b96565b8452602084019350602083019250506001810190506139f9565b5050509392505050565b6000613a43613a3e846147e0565b61478f565b90508083825260208201905082856020860282011115613a6257600080fd5b60005b85811015613a925781613a788882613c3e565b845260208401935060208301925050600181019050613a65565b5050509392505050565b6000613aaf613aaa8461480c565b61478f565b905082815260208101848484011115613ac757600080fd5b613ad2848285614aad565b509392505050565b6000613aed613ae88461483d565b61478f565b905082815260208101848484011115613b0557600080fd5b613b10848285614aad565b509392505050565b600081359050613b278161504c565b92915050565b600082601f830112613b3e57600080fd5b8135613b4e8482602086016139c4565b91505092915050565b600082601f830112613b6857600080fd5b8135613b78848260208601613a30565b91505092915050565b600081359050613b9081615063565b92915050565b600081359050613ba58161507a565b92915050565b600081359050613bba81615091565b92915050565b600081519050613bcf81615091565b92915050565b600082601f830112613be657600080fd5b8135613bf6848260208601613a9c565b91505092915050565b600082601f830112613c1057600080fd5b8135613c20848260208601613ada565b91505092915050565b600081359050613c38816150a8565b92915050565b600081359050613c4d816150bf565b92915050565b600060208284031215613c6557600080fd5b6000613c7384828501613b18565b91505092915050565b60008060408385031215613c8f57600080fd5b6000613c9d85828601613b18565b9250506020613cae85828601613b18565b9150509250929050565b600080600060608486031215613ccd57600080fd5b6000613cdb86828701613b18565b9350506020613cec86828701613b18565b9250506040613cfd86828701613c3e565b9150509250925092565b60008060008060808587031215613d1d57600080fd5b6000613d2b87828801613b18565b9450506020613d3c87828801613b18565b9350506040613d4d87828801613c3e565b925050606085013567ffffffffffffffff811115613d6a57600080fd5b613d7687828801613bd5565b91505092959194509250565b60008060408385031215613d9557600080fd5b6000613da385828601613b18565b9250506020613db485828601613b81565b9150509250929050565b60008060408385031215613dd157600080fd5b6000613ddf85828601613b18565b9250506020613df085828601613c3e565b9150509250929050565b600080600060608486031215613e0f57600080fd5b600084013567ffffffffffffffff811115613e2957600080fd5b613e3586828701613b2d565b9350506020613e4686828701613b96565b9250506040613e5786828701613c29565b9150509250925092565b600060208284031215613e7357600080fd5b600082013567ffffffffffffffff811115613e8d57600080fd5b613e9984828501613b57565b91505092915050565b600060208284031215613eb457600080fd5b6000613ec284828501613b96565b91505092915050565b60008060408385031215613ede57600080fd5b6000613eec85828601613b96565b9250506020613efd85828601613b18565b9150509250929050565b600060208284031215613f1957600080fd5b6000613f2784828501613bab565b91505092915050565b600060208284031215613f4257600080fd5b6000613f5084828501613bc0565b91505092915050565b600060208284031215613f6b57600080fd5b600082013567ffffffffffffffff811115613f8557600080fd5b613f9184828501613bff565b91505092915050565b600060208284031215613fac57600080fd5b6000613fba84828501613c3e565b91505092915050565b6000613fcf83836143e6565b60208301905092915050565b613fe481614a14565b82525050565b613ffb613ff682614a14565b614bc5565b82525050565b600061400c82614893565b61401681856148c1565b93506140218361486e565b8060005b838110156140525781516140398882613fc3565b9750614044836148b4565b925050600181019050614025565b5085935050505092915050565b61406881614a26565b82525050565b61407781614a32565b82525050565b61408e61408982614a32565b614bd7565b82525050565b600061409f8261489e565b6140a981856148d2565b93506140b9818560208601614abc565b6140c281614ce0565b840191505092915050565b60006140d8826148a9565b6140e281856148e3565b93506140f2818560208601614abc565b6140fb81614ce0565b840191505092915050565b6000614111826148a9565b61411b81856148f4565b935061412b818560208601614abc565b80840191505092915050565b6000815461414481614b19565b61414e81866148f4565b94506001821660008114614169576001811461417a576141ad565b60ff198316865281860193506141ad565b6141838561487e565b60005b838110156141a557815481890152600182019150602081019050614186565b838801955050505b50505092915050565b60006141c36020836148e3565b91506141ce82614cfe565b602082019050919050565b60006141e66020836148e3565b91506141f182614d27565b602082019050919050565b6000614209601f836148e3565b915061421482614d50565b602082019050919050565b600061422c6026836148e3565b915061423782614d79565b604082019050919050565b600061424f6017836148e3565b915061425a82614dc8565b602082019050919050565b6000614272602f836148e3565b915061427d82614df1565b604082019050919050565b6000614295601f836148e3565b91506142a082614e40565b602082019050919050565b60006142b86017836148e3565b91506142c382614e69565b602082019050919050565b60006142db6012836148e3565b91506142e682614e92565b602082019050919050565b60006142fe6025836148e3565b915061430982614ebb565b604082019050919050565b60006143216020836148e3565b915061432c82614f0a565b602082019050919050565b60006143446014836148e3565b915061434f82614f33565b602082019050919050565b60006143676027836148e3565b915061437282614f5c565b604082019050919050565b600061438a6017836148f4565b915061439582614fab565b601782019050919050565b60006143ad6011836148f4565b91506143b882614fd4565b601182019050919050565b60006143d0602f836148e3565b91506143db82614ffd565b604082019050919050565b6143ef81614a96565b82525050565b6143fe81614a96565b82525050565b61440d81614aa0565b82525050565b600061441f8284613fea565b60148201915081905092915050565b600061443a828561407d565b60208201915061444a828461407d565b6020820191508190509392505050565b60006144668285614137565b91506144728284614106565b91508190509392505050565b60006144898261437d565b91506144958285614106565b91506144a0826143a0565b91506144ac8284614106565b91508190509392505050565b60006020820190506144cd6000830184613fdb565b92915050565b60006080820190506144e86000830187613fdb565b6144f56020830186613fdb565b61450260408301856143f5565b81810360608301526145148184614094565b905095945050505050565b600060208201905081810360008301526145398184614001565b905092915050565b6000602082019050614556600083018461405f565b92915050565b6000602082019050614571600083018461406e565b92915050565b6000602082019050818103600083015261459181846140cd565b905092915050565b600060208201905081810360008301526145b2816141b6565b9050919050565b600060208201905081810360008301526145d2816141d9565b9050919050565b600060208201905081810360008301526145f2816141fc565b9050919050565b600060208201905081810360008301526146128161421f565b9050919050565b6000602082019050818103600083015261463281614242565b9050919050565b6000602082019050818103600083015261465281614265565b9050919050565b6000602082019050818103600083015261467281614288565b9050919050565b60006020820190508181036000830152614692816142ab565b9050919050565b600060208201905081810360008301526146b2816142ce565b9050919050565b600060208201905081810360008301526146d2816142f1565b9050919050565b600060208201905081810360008301526146f281614314565b9050919050565b6000602082019050818103600083015261471281614337565b9050919050565b600060208201905081810360008301526147328161435a565b9050919050565b60006020820190508181036000830152614752816143c3565b9050919050565b600060208201905061476e60008301846143f5565b92915050565b60006020820190506147896000830184614404565b92915050565b60006147996147aa565b90506147a58282614b4b565b919050565b6000604051905090565b600067ffffffffffffffff8211156147cf576147ce614cb1565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156147fb576147fa614cb1565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561482757614826614cb1565b5b61483082614ce0565b9050602081019050919050565b600067ffffffffffffffff82111561485857614857614cb1565b5b61486182614ce0565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061490a82614a96565b915061491583614a96565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561494a57614949614c24565b5b828201905092915050565b600061496082614a96565b915061496b83614a96565b92508261497b5761497a614c53565b5b828204905092915050565b600061499182614a96565b915061499c83614a96565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156149d5576149d4614c24565b5b828202905092915050565b60006149eb82614a96565b91506149f683614a96565b925082821015614a0957614a08614c24565b5b828203905092915050565b6000614a1f82614a76565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614ada578082015181840152602081019050614abf565b83811115614ae9576000848401525b50505050565b6000614afa82614a96565b91506000821415614b0e57614b0d614c24565b5b600182039050919050565b60006002820490506001821680614b3157607f821691505b60208210811415614b4557614b44614c82565b5b50919050565b614b5482614ce0565b810181811067ffffffffffffffff82111715614b7357614b72614cb1565b5b80604052505050565b6000614b8782614a96565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614bba57614bb9614c24565b5b600182019050919050565b6000614bd082614be1565b9050919050565b6000819050919050565b6000614bec82614cf1565b9050919050565b6000614bfe82614a96565b9150614c0983614a96565b925082614c1957614c18614c53565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f43616e206f6e6c79206d696e74203520746f6b656e7320617420612074696d65600082015250565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4572726f72207769746864726177696e672066756e6473000000000000000000600082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f6620446f676520566f646b61730000000000000000000000000000000000602082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f596f7520617265206e6f7420696e20746865206c697374000000000000000000600082015250565b7f5468652073616c65206973207061757365640000000000000000000000000000600082015250565b7f546865207072652d77686974656c69737420636f6465206973206e6f7420636f60008201527f7272656374000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5468652072656465656d20697320706175736564000000000000000000000000600082015250565b7f54686973206c65616620646f6573206e6f742062656c6f6e6720746f2074686560008201527f2073656e64657200000000000000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b61505581614a14565b811461506057600080fd5b50565b61506c81614a26565b811461507757600080fd5b50565b61508381614a32565b811461508e57600080fd5b50565b61509a81614a3c565b81146150a557600080fd5b50565b6150b181614a68565b81146150bc57600080fd5b50565b6150c881614a96565b81146150d357600080fd5b5056fea2646970667358221220aa728a615a69a6d7e84c0bb028a0c1cea854e20e4fe84be92cf002953c56736664736f6c63430008040033

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