ETH Price: $3,828.30 (+4.78%)

Token

Draffes (DRAFFE)
 

Overview

Max Total Supply

413 DRAFFE

Holders

241

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
spitzx.eth
Balance
1 DRAFFE
0x3270376ad4897a1dd3dde5cac601b7aa9aa94c9b
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Draffes

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : Draffes.sol
// SPDX-License-Identifier: MIT
// written by Goldmember#0001

//                   GGGg
//                   GGGGGG
//    ggggGGGGGGGGGGGGgGGg           gGGGGg
// ggGgggggg        GGGGGgggGGGGGG   GGGGGg
//gGg               gGGGGGg      ggggGGGGG
//gGgG         gg                  gGGGGGGGGGg
//  gGGgGg   ggG                     ggGGg   GggGGg
//     gGGGgggG                                  gggGG
//        gGgg   gGGg                               gGG
//        Gg     gGgg         gGGg                   ggG
//       gg                   gGGGG               Ggg
//      gGG                              gGg gggGGG
//      GGg  gGggGGggggg                  GGggg
//      GGggGGg       Ggg                 ggg
//      GGGG GG         gGg                GGg
//     gGGg            GG  gG                ggG
//      gGG   gGGgGgg      gG                gGG
//       gG   gDRAFFESg  gggg       gggg     GGg
//        GGg  GGGGGGGg   GGg   ggGGg         gGG
//          gGgg           gGggGgGg            ggGG
//             ggGGGGgggggGGGGg                 gGGGg
//                           gGg       GGgGg      ggGG
//                          ggGG      gGGGGgg       gGGg
//                           gGG       GgggG         gGGGgg
//                            Ggg gg                   ggGGGg
//                            gGGggGGGgggGg               gGGGGg
//                            GGGGGGGGGGGGGggg              ggGGGg
//                             gGGGGGGGGGGGGGG                 ggGGGGGGGGGGg
//                             GGGGGGGGGGGGg        g         ggg       ggGGGG
//                               GggggGGggg        ggg                      GgGGg
//                               GG                gGg                       ggGGg
//                              gGg               gg                          ggGG
//                             gGg              GgG    ggg                   GGg
//                             gGg      ggggGGGgggg  ggGGGGGgg                ggGG
//                            gGg     ggGGGGGGGGgg   ggGGGGGG                GGGg
//                            GgGGgG  gGGGGGGGgg       ggGg                 GGG
//                         gGGgggggGGGggGGGGGg                          gGgGGg
//                        gGgggggggggGGgGGGgg                       gGgGGgg
//                        GGGggggggggGGGGGGg          gg         GGgg
//                          ggGGGGgGGGGgg gGg          ggg        GgGg
//                            GGGGGGg     GGg           gg         gGGg
//                                       gGGg           ggg         GgGg
//                                       gGg            GGGg        GgGg
//                                       gGGg           ggGgGgGGGGGGGGGGGg
//                                       gGGGGGGGGGGGGGGGGGGGggggggggggGGG
//                                       GGGgggggggggggggggGGgggggggggggGGG
//                                       gGGggggggggggggggggGGgggggggggGGG
//                                        ggGGGGGG GTHEGARDEN GGGGGGGGgg

pragma solidity ^0.8.12;

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

contract Draffes is ERC721A, Ownable {

    // collection details
    uint256 public constant ALLOWLISTPRICE = 0.06 ether;
    uint256 public constant PUBLICPRICE = 0.08 ether;
    uint256 public constant MAXSUPPLY = 5000;
    uint256 public constant MAXMINTSPERALLOWLIST = 2;
    uint256 public constant MAXMINTSPERPUBLIC = 5;
    uint256 public constant ALLOWLISTSUPPLY = 3712;

    // splits for funds
    uint256 public constant COMMUNITYSPLIT = 90;
    uint256 public constant DONATIONSPLIT = 10;

    // merkle tree
    bytes32 public merkleRoot = 0x201bf1802fbf7220ccae3cad829138b920e955cc89beede896c0813494576083;

    // variables and constants
    string public baseURI = 'draffes://sorryDetective/';
    bool public isAllowlistMintActive = false;
    bool public isPublicMintActive = false;
    mapping(address => uint256) public allowlistMintsPerAddress;
    mapping(address => uint256) public publicMintsPerAddress;
    uint256 public maxReserveMintRemaining = 20;
    address public communityWallet = 0xA81f5365851A2Fe91EC44aeC48DDc1b4EecCa179;
    address public donationWallet = 0x5aa11eED331Dfcdb03e7df639509d1A2a04a9Ea6;

    constructor() ERC721A("Draffes", "DRAFFE") {

    }

    function publicMint(uint256 _quantity) external payable {
        // active check
        require(isPublicMintActive
        , "DRAFFES: public mint is not active");
        // price check
        require(msg.value == _quantity * PUBLICPRICE
            , "DRAFFES: insufficient amount paid");
        // supply check
        require(_quantity + totalSupply() < MAXSUPPLY
            , "DRAFFES: not enough remaining to mint this many");
        // allowlist max minting check
        require(publicMintsPerAddress[msg.sender] + _quantity <= MAXMINTSPERPUBLIC
            , "DRAFFES: max mints per address exceeded");

        // mint
        publicMintsPerAddress[msg.sender] += _quantity;
        _safeMint(msg.sender, _quantity);
    }

    function allowlistMint(uint256 _quantity, bytes32[] calldata _merkleProof) external payable {
        // active check
        require(isAllowlistMintActive
            , "DRAFFES: allowlist mint is not active");
        // price check
        require(msg.value == _quantity * ALLOWLISTPRICE
            , "DRAFFES: insufficient amount paid");
        // supply check
        require(_quantity + totalSupply() < MAXSUPPLY
            , "DRAFFES: not enough remaining to mint this many");
        // max reserve mint max supply
        require(_quantity + totalSupply() < ALLOWLISTSUPPLY
            , "DRAFFES: not enough spots in allowlist to mint this many");
        // allowlist max minting check
        require(allowlistMintsPerAddress[msg.sender] + _quantity <= MAXMINTSPERALLOWLIST
            , "DRAFFES: max mints per allowlist exceeded");

        // merkle verification
        bytes32 _leaf = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verify(_merkleProof, merkleRoot, _leaf)
            , "DRAFFES: not in allowlist");

        // mint and update mapping
        allowlistMintsPerAddress[msg.sender] += _quantity;
        _safeMint(msg.sender, _quantity);
    }

    function reservedMint(uint256 _quantity) external onlyOwner {
        // supply check
        require(_quantity + totalSupply() < MAXSUPPLY
            , "DRAFFES: not enough remaining to mint this many");

        // reserve mint
        require(maxReserveMintRemaining >= _quantity
            , "DRAFFES: not enough reserve mints left");

        // mint to community wallet
        _safeMint(communityWallet, _quantity);
        maxReserveMintRemaining -= _quantity;
    }

    function setMerkleRoot(bytes32 _root) external onlyOwner {
        merkleRoot = _root;
    }

    function setCommunityWallet(address _newCommunityWallet) external onlyOwner {
        communityWallet = _newCommunityWallet;
    }

    function setDonationWallet(address _newDonationWallet) external onlyOwner {
        donationWallet = _newDonationWallet;
    }

    function _baseURI() internal view override returns (string memory) {
        return baseURI;
    }

    function setBaseURI(string calldata _uri) external onlyOwner {
        baseURI = _uri;
    }

    function toggleAllowlistMint() public onlyOwner {
        isAllowlistMintActive = !isAllowlistMintActive;
    }

    function togglePublicMint() public onlyOwner {
        isPublicMintActive = !isPublicMintActive;
    }

    function withdrawBalance() public onlyOwner {
        require(address(this).balance > 0
            , "DRAFFES: nothing to withdraw");

        uint256 _balance = address(this).balance;

        // community wallet
        (bool communitySuccess, ) = communityWallet.call{
            value: _balance * COMMUNITYSPLIT / 100}("");
        require(communitySuccess
            , "DRAFFES: community withdrawal failed");

        // donation wallet
        (bool donationSuccess, ) = donationWallet.call{
            value: _balance * DONATIONSPLIT / 100}("");
        require(donationSuccess
            , "DRAFFES: donation withdrawal failed");
    }


}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 3 of 13 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.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';

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error BurnedQueryForZeroAddress();
error AuxQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @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, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

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

    // 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 See {IERC721Enumerable-totalSupply}.
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view 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) {
        if (owner == address(0)) revert MintedQueryForZeroAddress();
        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) {
        if (owner == address(0)) revert BurnedQueryForZeroAddress();
        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) {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        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 {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        _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 && 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 && !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 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() && !_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;
    }

    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 {
        _mint(to, quantity, _data, true);
    }

    /**
     * @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,
        bytes memory _data,
        bool safe
    ) 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 (safe && 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 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);

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            isApprovedForAll(prevOwnership.addr, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

            _ownerships[tokenId].addr = to;
            _ownerships[tokenId].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;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

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

        _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

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

        // 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[prevOwnership.addr].balance -= 1;
            _addressData[prevOwnership.addr].numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            _ownerships[tokenId].addr = prevOwnership.addr;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);
            _ownerships[tokenId].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;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(prevOwnership.addr, address(0), tokenId);
        _afterTokenTransfers(prevOwnership.addr, 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 4 of 13 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

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

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 9 of 13 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 10 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"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":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":"ALLOWLISTPRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ALLOWLISTSUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"COMMUNITYSPLIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DONATIONSPLIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAXMINTSPERALLOWLIST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAXMINTSPERPUBLIC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAXSUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLICPRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"allowlistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowlistMintsPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"communityWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"donationWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isAllowlistMintActive","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":"isPublicMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxReserveMintRemaining","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicMintsPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"reservedMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newCommunityWallet","type":"address"}],"name":"setCommunityWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newDonationWallet","type":"address"}],"name":"setDonationWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setMerkleRoot","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":"toggleAllowlistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicMint","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":"withdrawBalance","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040527f201bf1802fbf7220ccae3cad829138b920e955cc89beede896c081349457608360001b6009556040518060400160405280601981526020017f647261666665733a2f2f736f7272794465746563746976652f00000000000000815250600a9080519060200190620000789291906200031b565b506000600b60006101000a81548160ff0219169083151502179055506000600b60016101000a81548160ff0219169083151502179055506014600e5573a81f5365851a2fe91ec44aec48ddc1b4eecca179600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550735aa11eed331dfcdb03e7df639509d1a2a04a9ea6601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200016b57600080fd5b506040518060400160405280600781526020017f44726166666573000000000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f44524146464500000000000000000000000000000000000000000000000000008152508160029080519060200190620001f09291906200031b565b508060039080519060200190620002099291906200031b565b506200021a6200024860201b60201c565b600081905550505062000242620002366200024d60201b60201c565b6200025560201b60201c565b62000430565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200032990620003fa565b90600052602060002090601f0160209004810192826200034d576000855562000399565b82601f106200036857805160ff191683800117855562000399565b8280016001018555821562000399579182015b82811115620003985782518255916020019190600101906200037b565b5b509050620003a89190620003ac565b5090565b5b80821115620003c7576000816000905550600101620003ad565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200041357607f821691505b602082108114156200042a5762000429620003cb565b5b50919050565b61482f80620004406000396000f3fe6080604052600436106102675760003560e01c806370a082311161014457806395d89b41116100b6578063c8c9aa2c1161007a578063c8c9aa2c146108b8578063c8ded8ac146108e3578063d377f52e1461090e578063e7b94df41461094b578063e985e9c514610976578063f2fde38b146109b357610267565b806395d89b41146107d3578063a22cb465146107fe578063b88d4fde14610827578063c757483914610850578063c87b56dd1461087b57610267565b80637cb64759116101085780637cb64759146106eb5780637d1533871461071457806385d6bb811461073f5780638c74bf0e146107685780638da5cb5b146107915780638f2cbdd1146107bc57610267565b806370a0823114610625578063715018a61461066257806374bf35fd14610679578063758b4e86146106a45780637bc9200e146106cf57610267565b80632db11544116101dd5780635a96cdd7116101a15780635a96cdd7146105275780635b9e8da2146105505780635fd8c7101461057b5780636352211e146105925780636c0360eb146105cf5780636cc97909146105fa57610267565b80632db11544146104775780632eb4a7ab146104935780634047638d146104be57806342842e0e146104d557806355f804b3146104fe57610267565b806318160ddd1161022f57806318160ddd1461036557806319c0841f14610390578063229fa55d146103cd57806323b872dd146103f8578063264400c2146104215780632d6b62241461044c57610267565b806301ffc9a71461026c57806306fdde03146102a9578063081812fc146102d4578063095ea7b31461031157806315b1f75b1461033a575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e91906134bf565b6109dc565b6040516102a09190613507565b60405180910390f35b3480156102b557600080fd5b506102be610abe565b6040516102cb91906135bb565b60405180910390f35b3480156102e057600080fd5b506102fb60048036038101906102f69190613613565b610b50565b6040516103089190613681565b60405180910390f35b34801561031d57600080fd5b50610338600480360381019061033391906136c8565b610bcc565b005b34801561034657600080fd5b5061034f610cd7565b60405161035c9190613717565b60405180910390f35b34801561037157600080fd5b5061037a610cdd565b6040516103879190613717565b60405180910390f35b34801561039c57600080fd5b506103b760048036038101906103b29190613732565b610cf4565b6040516103c49190613717565b60405180910390f35b3480156103d957600080fd5b506103e2610d0c565b6040516103ef9190613507565b60405180910390f35b34801561040457600080fd5b5061041f600480360381019061041a919061375f565b610d1f565b005b34801561042d57600080fd5b50610436610d2f565b6040516104439190613717565b60405180910390f35b34801561045857600080fd5b50610461610d34565b60405161046e9190613507565b60405180910390f35b610491600480360381019061048c9190613613565b610d47565b005b34801561049f57600080fd5b506104a8610f32565b6040516104b591906137cb565b60405180910390f35b3480156104ca57600080fd5b506104d3610f38565b005b3480156104e157600080fd5b506104fc60048036038101906104f7919061375f565b610fe0565b005b34801561050a57600080fd5b506105256004803603810190610520919061384b565b611000565b005b34801561053357600080fd5b5061054e60048036038101906105499190613732565b611092565b005b34801561055c57600080fd5b50610565611152565b6040516105729190613717565b60405180910390f35b34801561058757600080fd5b50610590611157565b005b34801561059e57600080fd5b506105b960048036038101906105b49190613613565b6113ec565b6040516105c69190613681565b60405180910390f35b3480156105db57600080fd5b506105e4611402565b6040516105f191906135bb565b60405180910390f35b34801561060657600080fd5b5061060f611490565b60405161061c9190613717565b60405180910390f35b34801561063157600080fd5b5061064c60048036038101906106479190613732565b611496565b6040516106599190613717565b60405180910390f35b34801561066e57600080fd5b50610677611566565b005b34801561068557600080fd5b5061068e6115ee565b60405161069b9190613717565b60405180910390f35b3480156106b057600080fd5b506106b96115fa565b6040516106c69190613717565b60405180910390f35b6106e960048036038101906106e491906138ee565b611600565b005b3480156106f757600080fd5b50610712600480360381019061070d919061397a565b6118fb565b005b34801561072057600080fd5b50610729611981565b6040516107369190613717565b60405180910390f35b34801561074b57600080fd5b5061076660048036038101906107619190613732565b611986565b005b34801561077457600080fd5b5061078f600480360381019061078a9190613613565b611a46565b005b34801561079d57600080fd5b506107a6611ba5565b6040516107b39190613681565b60405180910390f35b3480156107c857600080fd5b506107d1611bcf565b005b3480156107df57600080fd5b506107e8611c77565b6040516107f591906135bb565b60405180910390f35b34801561080a57600080fd5b50610825600480360381019061082091906139d3565b611d09565b005b34801561083357600080fd5b5061084e60048036038101906108499190613b43565b611e81565b005b34801561085c57600080fd5b50610865611efd565b6040516108729190613681565b60405180910390f35b34801561088757600080fd5b506108a2600480360381019061089d9190613613565b611f23565b6040516108af91906135bb565b60405180910390f35b3480156108c457600080fd5b506108cd611fc2565b6040516108da9190613717565b60405180910390f35b3480156108ef57600080fd5b506108f8611fc7565b6040516109059190613717565b60405180910390f35b34801561091a57600080fd5b5061093560048036038101906109309190613732565b611fd2565b6040516109429190613717565b60405180910390f35b34801561095757600080fd5b50610960611fea565b60405161096d9190613681565b60405180910390f35b34801561098257600080fd5b5061099d60048036038101906109989190613bc6565b612010565b6040516109aa9190613507565b60405180910390f35b3480156109bf57600080fd5b506109da60048036038101906109d59190613732565b6120a4565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610aa757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ab75750610ab68261219c565b5b9050919050565b606060028054610acd90613c35565b80601f0160208091040260200160405190810160405280929190818152602001828054610af990613c35565b8015610b465780601f10610b1b57610100808354040283529160200191610b46565b820191906000526020600020905b815481529060010190602001808311610b2957829003601f168201915b5050505050905090565b6000610b5b82612206565b610b91576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bd7826113ec565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c3f576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c5e612254565b73ffffffffffffffffffffffffffffffffffffffff1614158015610c905750610c8e81610c89612254565b612010565b155b15610cc7576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610cd283838361225c565b505050565b610e8081565b6000610ce761230e565b6001546000540303905090565b600d6020528060005260406000206000915090505481565b600b60009054906101000a900460ff1681565b610d2a838383612313565b505050565b605a81565b600b60019054906101000a900460ff1681565b600b60019054906101000a900460ff16610d96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8d90613cd9565b60405180910390fd5b67011c37937e08000081610daa9190613d28565b3414610deb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de290613df4565b60405180910390fd5b611388610df6610cdd565b82610e019190613e14565b10610e41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3890613edc565b60405180910390fd5b600581600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610e8e9190613e14565b1115610ecf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec690613f6e565b60405180910390fd5b80600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610f1e9190613e14565b92505081905550610f2f3382612804565b50565b60095481565b610f40612254565b73ffffffffffffffffffffffffffffffffffffffff16610f5e611ba5565b73ffffffffffffffffffffffffffffffffffffffff1614610fb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fab90613fda565b60405180910390fd5b600b60019054906101000a900460ff1615600b60016101000a81548160ff021916908315150217905550565b610ffb83838360405180602001604052806000815250611e81565b505050565b611008612254565b73ffffffffffffffffffffffffffffffffffffffff16611026611ba5565b73ffffffffffffffffffffffffffffffffffffffff161461107c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107390613fda565b60405180910390fd5b8181600a919061108d92919061336d565b505050565b61109a612254565b73ffffffffffffffffffffffffffffffffffffffff166110b8611ba5565b73ffffffffffffffffffffffffffffffffffffffff161461110e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110590613fda565b60405180910390fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600a81565b61115f612254565b73ffffffffffffffffffffffffffffffffffffffff1661117d611ba5565b73ffffffffffffffffffffffffffffffffffffffff16146111d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ca90613fda565b60405180910390fd5b60004711611216576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120d90614046565b60405180910390fd5b60004790506000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166064605a846112659190613d28565b61126f9190614095565b60405161127b906140f7565b60006040518083038185875af1925050503d80600081146112b8576040519150601f19603f3d011682016040523d82523d6000602084013e6112bd565b606091505b5050905080611301576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f89061417e565b60405180910390fd5b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166064600a8561134b9190613d28565b6113559190614095565b604051611361906140f7565b60006040518083038185875af1925050503d806000811461139e576040519150601f19603f3d011682016040523d82523d6000602084013e6113a3565b606091505b50509050806113e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113de90614210565b60405180910390fd5b505050565b60006113f782612822565b600001519050919050565b600a805461140f90613c35565b80601f016020809104026020016040519081016040528092919081815260200182805461143b90613c35565b80156114885780601f1061145d57610100808354040283529160200191611488565b820191906000526020600020905b81548152906001019060200180831161146b57829003601f168201915b505050505081565b600e5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114fe576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61156e612254565b73ffffffffffffffffffffffffffffffffffffffff1661158c611ba5565b73ffffffffffffffffffffffffffffffffffffffff16146115e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d990613fda565b60405180910390fd5b6115ec6000612ab1565b565b67011c37937e08000081565b61138881565b600b60009054906101000a900460ff1661164f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611646906142a2565b60405180910390fd5b66d529ae9e860000836116629190613d28565b34146116a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169a90613df4565b60405180910390fd5b6113886116ae610cdd565b846116b99190613e14565b106116f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f090613edc565b60405180910390fd5b610e80611704610cdd565b8461170f9190613e14565b1061174f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174690614334565b60405180910390fd5b600283600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461179c9190613e14565b11156117dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d4906143c6565b60405180910390fd5b6000336040516020016117f0919061442e565b604051602081830303815290604052805190602001209050611856838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060095483612b77565b611895576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188c90614495565b60405180910390fd5b83600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118e49190613e14565b925050819055506118f53385612804565b50505050565b611903612254565b73ffffffffffffffffffffffffffffffffffffffff16611921611ba5565b73ffffffffffffffffffffffffffffffffffffffff1614611977576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196e90613fda565b60405180910390fd5b8060098190555050565b600281565b61198e612254565b73ffffffffffffffffffffffffffffffffffffffff166119ac611ba5565b73ffffffffffffffffffffffffffffffffffffffff1614611a02576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f990613fda565b60405180910390fd5b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611a4e612254565b73ffffffffffffffffffffffffffffffffffffffff16611a6c611ba5565b73ffffffffffffffffffffffffffffffffffffffff1614611ac2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab990613fda565b60405180910390fd5b611388611acd610cdd565b82611ad89190613e14565b10611b18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0f90613edc565b60405180910390fd5b80600e541015611b5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5490614527565b60405180910390fd5b611b89600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612804565b80600e6000828254611b9b9190614547565b9250508190555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611bd7612254565b73ffffffffffffffffffffffffffffffffffffffff16611bf5611ba5565b73ffffffffffffffffffffffffffffffffffffffff1614611c4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4290613fda565b60405180910390fd5b600b60009054906101000a900460ff1615600b60006101000a81548160ff021916908315150217905550565b606060038054611c8690613c35565b80601f0160208091040260200160405190810160405280929190818152602001828054611cb290613c35565b8015611cff5780601f10611cd457610100808354040283529160200191611cff565b820191906000526020600020905b815481529060010190602001808311611ce257829003601f168201915b5050505050905090565b611d11612254565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d76576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611d83612254565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611e30612254565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e759190613507565b60405180910390a35050565b611e8c848484612313565b611eab8373ffffffffffffffffffffffffffffffffffffffff16612b8e565b8015611ec05750611ebe84848484612bb1565b155b15611ef7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060611f2e82612206565b611f64576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611f6e612d02565b9050600081511415611f8f5760405180602001604052806000815250611fba565b80611f9984612d94565b604051602001611faa9291906145b7565b6040516020818303038152906040525b915050919050565b600581565b66d529ae9e86000081565b600c6020528060005260406000206000915090505481565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6120ac612254565b73ffffffffffffffffffffffffffffffffffffffff166120ca611ba5565b73ffffffffffffffffffffffffffffffffffffffff1614612120576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211790613fda565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612190576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121879061464d565b60405180910390fd5b61219981612ab1565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008161221161230e565b11158015612220575060005482105b801561224d575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b600061231e82612822565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612345612254565b73ffffffffffffffffffffffffffffffffffffffff16148061237857506123778260000151612372612254565b612010565b5b806123bd5750612386612254565b73ffffffffffffffffffffffffffffffffffffffff166123a584610b50565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806123f6576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461245f576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156124c6576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6124d38585856001612ef5565b6124e3600084846000015161225c565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612794576000548110156127935782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127fd8585856001612efb565b5050505050565b61281e828260405180602001604052806000815250612f01565b5050565b61282a6133f3565b60008290508061283861230e565b11158015612847575060005481105b15612a7a576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612a7857600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461295c578092505050612aac565b5b600115612a7757818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612a72578092505050612aac565b61295d565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600082612b848584612f13565b1490509392505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612bd7612254565b8786866040518563ffffffff1660e01b8152600401612bf994939291906146c2565b6020604051808303816000875af1925050508015612c3557506040513d601f19601f82011682018060405250810190612c329190614723565b60015b612caf573d8060008114612c65576040519150601f19603f3d011682016040523d82523d6000602084013e612c6a565b606091505b50600081511415612ca7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a8054612d1190613c35565b80601f0160208091040260200160405190810160405280929190818152602001828054612d3d90613c35565b8015612d8a5780601f10612d5f57610100808354040283529160200191612d8a565b820191906000526020600020905b815481529060010190602001808311612d6d57829003601f168201915b5050505050905090565b60606000821415612ddc576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ef0565b600082905060005b60008214612e0e578080612df790614750565b915050600a82612e079190614095565b9150612de4565b60008167ffffffffffffffff811115612e2a57612e29613a18565b5b6040519080825280601f01601f191660200182016040528015612e5c5781602001600182028036833780820191505090505b5090505b60008514612ee957600182612e759190614547565b9150600a85612e849190614799565b6030612e909190613e14565b60f81b818381518110612ea657612ea56147ca565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ee29190614095565b9450612e60565b8093505050505b919050565b50505050565b50505050565b612f0e8383836001612f88565b505050565b60008082905060005b8451811015612f7d576000858281518110612f3a57612f396147ca565b5b60200260200101519050808311612f5c57612f558382613356565b9250612f69565b612f668184613356565b92505b508080612f7590614750565b915050612f1c565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612ff5576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613030576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61303d6000868387612ef5565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561320757506132068773ffffffffffffffffffffffffffffffffffffffff16612b8e565b5b156132cd575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461327c6000888480600101955088612bb1565b6132b2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082141561320d5782600054146132c857600080fd5b613339565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808214156132ce575b81600081905550505061334f6000868387612efb565b5050505050565b600082600052816020526040600020905092915050565b82805461337990613c35565b90600052602060002090601f01602090048101928261339b57600085556133e2565b82601f106133b457803560ff19168380011785556133e2565b828001600101855582156133e2579182015b828111156133e15782358255916020019190600101906133c6565b5b5090506133ef9190613436565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561344f576000816000905550600101613437565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61349c81613467565b81146134a757600080fd5b50565b6000813590506134b981613493565b92915050565b6000602082840312156134d5576134d461345d565b5b60006134e3848285016134aa565b91505092915050565b60008115159050919050565b613501816134ec565b82525050565b600060208201905061351c60008301846134f8565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561355c578082015181840152602081019050613541565b8381111561356b576000848401525b50505050565b6000601f19601f8301169050919050565b600061358d82613522565b613597818561352d565b93506135a781856020860161353e565b6135b081613571565b840191505092915050565b600060208201905081810360008301526135d58184613582565b905092915050565b6000819050919050565b6135f0816135dd565b81146135fb57600080fd5b50565b60008135905061360d816135e7565b92915050565b6000602082840312156136295761362861345d565b5b6000613637848285016135fe565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061366b82613640565b9050919050565b61367b81613660565b82525050565b60006020820190506136966000830184613672565b92915050565b6136a581613660565b81146136b057600080fd5b50565b6000813590506136c28161369c565b92915050565b600080604083850312156136df576136de61345d565b5b60006136ed858286016136b3565b92505060206136fe858286016135fe565b9150509250929050565b613711816135dd565b82525050565b600060208201905061372c6000830184613708565b92915050565b6000602082840312156137485761374761345d565b5b6000613756848285016136b3565b91505092915050565b6000806000606084860312156137785761377761345d565b5b6000613786868287016136b3565b9350506020613797868287016136b3565b92505060406137a8868287016135fe565b9150509250925092565b6000819050919050565b6137c5816137b2565b82525050565b60006020820190506137e060008301846137bc565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261380b5761380a6137e6565b5b8235905067ffffffffffffffff811115613828576138276137eb565b5b602083019150836001820283011115613844576138436137f0565b5b9250929050565b600080602083850312156138625761386161345d565b5b600083013567ffffffffffffffff8111156138805761387f613462565b5b61388c858286016137f5565b92509250509250929050565b60008083601f8401126138ae576138ad6137e6565b5b8235905067ffffffffffffffff8111156138cb576138ca6137eb565b5b6020830191508360208202830111156138e7576138e66137f0565b5b9250929050565b6000806000604084860312156139075761390661345d565b5b6000613915868287016135fe565b935050602084013567ffffffffffffffff81111561393657613935613462565b5b61394286828701613898565b92509250509250925092565b613957816137b2565b811461396257600080fd5b50565b6000813590506139748161394e565b92915050565b6000602082840312156139905761398f61345d565b5b600061399e84828501613965565b91505092915050565b6139b0816134ec565b81146139bb57600080fd5b50565b6000813590506139cd816139a7565b92915050565b600080604083850312156139ea576139e961345d565b5b60006139f8858286016136b3565b9250506020613a09858286016139be565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613a5082613571565b810181811067ffffffffffffffff82111715613a6f57613a6e613a18565b5b80604052505050565b6000613a82613453565b9050613a8e8282613a47565b919050565b600067ffffffffffffffff821115613aae57613aad613a18565b5b613ab782613571565b9050602081019050919050565b82818337600083830152505050565b6000613ae6613ae184613a93565b613a78565b905082815260208101848484011115613b0257613b01613a13565b5b613b0d848285613ac4565b509392505050565b600082601f830112613b2a57613b296137e6565b5b8135613b3a848260208601613ad3565b91505092915050565b60008060008060808587031215613b5d57613b5c61345d565b5b6000613b6b878288016136b3565b9450506020613b7c878288016136b3565b9350506040613b8d878288016135fe565b925050606085013567ffffffffffffffff811115613bae57613bad613462565b5b613bba87828801613b15565b91505092959194509250565b60008060408385031215613bdd57613bdc61345d565b5b6000613beb858286016136b3565b9250506020613bfc858286016136b3565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613c4d57607f821691505b60208210811415613c6157613c60613c06565b5b50919050565b7f445241464645533a207075626c6963206d696e74206973206e6f74206163746960008201527f7665000000000000000000000000000000000000000000000000000000000000602082015250565b6000613cc360228361352d565b9150613cce82613c67565b604082019050919050565b60006020820190508181036000830152613cf281613cb6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613d33826135dd565b9150613d3e836135dd565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613d7757613d76613cf9565b5b828202905092915050565b7f445241464645533a20696e73756666696369656e7420616d6f756e742070616960008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b6000613dde60218361352d565b9150613de982613d82565b604082019050919050565b60006020820190508181036000830152613e0d81613dd1565b9050919050565b6000613e1f826135dd565b9150613e2a836135dd565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613e5f57613e5e613cf9565b5b828201905092915050565b7f445241464645533a206e6f7420656e6f7567682072656d61696e696e6720746f60008201527f206d696e742074686973206d616e790000000000000000000000000000000000602082015250565b6000613ec6602f8361352d565b9150613ed182613e6a565b604082019050919050565b60006020820190508181036000830152613ef581613eb9565b9050919050565b7f445241464645533a206d6178206d696e7473207065722061646472657373206560008201527f7863656564656400000000000000000000000000000000000000000000000000602082015250565b6000613f5860278361352d565b9150613f6382613efc565b604082019050919050565b60006020820190508181036000830152613f8781613f4b565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613fc460208361352d565b9150613fcf82613f8e565b602082019050919050565b60006020820190508181036000830152613ff381613fb7565b9050919050565b7f445241464645533a206e6f7468696e6720746f20776974686472617700000000600082015250565b6000614030601c8361352d565b915061403b82613ffa565b602082019050919050565b6000602082019050818103600083015261405f81614023565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006140a0826135dd565b91506140ab836135dd565b9250826140bb576140ba614066565b5b828204905092915050565b600081905092915050565b50565b60006140e16000836140c6565b91506140ec826140d1565b600082019050919050565b6000614102826140d4565b9150819050919050565b7f445241464645533a20636f6d6d756e697479207769746864726177616c20666160008201527f696c656400000000000000000000000000000000000000000000000000000000602082015250565b600061416860248361352d565b91506141738261410c565b604082019050919050565b600060208201905081810360008301526141978161415b565b9050919050565b7f445241464645533a20646f6e6174696f6e207769746864726177616c2066616960008201527f6c65640000000000000000000000000000000000000000000000000000000000602082015250565b60006141fa60238361352d565b91506142058261419e565b604082019050919050565b60006020820190508181036000830152614229816141ed565b9050919050565b7f445241464645533a20616c6c6f776c697374206d696e74206973206e6f74206160008201527f6374697665000000000000000000000000000000000000000000000000000000602082015250565b600061428c60258361352d565b915061429782614230565b604082019050919050565b600060208201905081810360008301526142bb8161427f565b9050919050565b7f445241464645533a206e6f7420656e6f7567682073706f747320696e20616c6c60008201527f6f776c69737420746f206d696e742074686973206d616e790000000000000000602082015250565b600061431e60388361352d565b9150614329826142c2565b604082019050919050565b6000602082019050818103600083015261434d81614311565b9050919050565b7f445241464645533a206d6178206d696e74732070657220616c6c6f776c69737460008201527f2065786365656465640000000000000000000000000000000000000000000000602082015250565b60006143b060298361352d565b91506143bb82614354565b604082019050919050565b600060208201905081810360008301526143df816143a3565b9050919050565b60008160601b9050919050565b60006143fe826143e6565b9050919050565b6000614410826143f3565b9050919050565b61442861442382613660565b614405565b82525050565b600061443a8284614417565b60148201915081905092915050565b7f445241464645533a206e6f7420696e20616c6c6f776c69737400000000000000600082015250565b600061447f60198361352d565b915061448a82614449565b602082019050919050565b600060208201905081810360008301526144ae81614472565b9050919050565b7f445241464645533a206e6f7420656e6f7567682072657365727665206d696e7460008201527f73206c6566740000000000000000000000000000000000000000000000000000602082015250565b600061451160268361352d565b915061451c826144b5565b604082019050919050565b6000602082019050818103600083015261454081614504565b9050919050565b6000614552826135dd565b915061455d836135dd565b9250828210156145705761456f613cf9565b5b828203905092915050565b600081905092915050565b600061459182613522565b61459b818561457b565b93506145ab81856020860161353e565b80840191505092915050565b60006145c38285614586565b91506145cf8284614586565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061463760268361352d565b9150614642826145db565b604082019050919050565b600060208201905081810360008301526146668161462a565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006146948261466d565b61469e8185614678565b93506146ae81856020860161353e565b6146b781613571565b840191505092915050565b60006080820190506146d76000830187613672565b6146e46020830186613672565b6146f16040830185613708565b81810360608301526147038184614689565b905095945050505050565b60008151905061471d81613493565b92915050565b6000602082840312156147395761473861345d565b5b60006147478482850161470e565b91505092915050565b600061475b826135dd565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561478e5761478d613cf9565b5b600182019050919050565b60006147a4826135dd565b91506147af836135dd565b9250826147bf576147be614066565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea26469706673582212208cfdbd43d7207f0f29dc37405646faa39fa68da4fa21051d4d8d013de9d43bfa64736f6c634300080c0033

Deployed Bytecode

0x6080604052600436106102675760003560e01c806370a082311161014457806395d89b41116100b6578063c8c9aa2c1161007a578063c8c9aa2c146108b8578063c8ded8ac146108e3578063d377f52e1461090e578063e7b94df41461094b578063e985e9c514610976578063f2fde38b146109b357610267565b806395d89b41146107d3578063a22cb465146107fe578063b88d4fde14610827578063c757483914610850578063c87b56dd1461087b57610267565b80637cb64759116101085780637cb64759146106eb5780637d1533871461071457806385d6bb811461073f5780638c74bf0e146107685780638da5cb5b146107915780638f2cbdd1146107bc57610267565b806370a0823114610625578063715018a61461066257806374bf35fd14610679578063758b4e86146106a45780637bc9200e146106cf57610267565b80632db11544116101dd5780635a96cdd7116101a15780635a96cdd7146105275780635b9e8da2146105505780635fd8c7101461057b5780636352211e146105925780636c0360eb146105cf5780636cc97909146105fa57610267565b80632db11544146104775780632eb4a7ab146104935780634047638d146104be57806342842e0e146104d557806355f804b3146104fe57610267565b806318160ddd1161022f57806318160ddd1461036557806319c0841f14610390578063229fa55d146103cd57806323b872dd146103f8578063264400c2146104215780632d6b62241461044c57610267565b806301ffc9a71461026c57806306fdde03146102a9578063081812fc146102d4578063095ea7b31461031157806315b1f75b1461033a575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e91906134bf565b6109dc565b6040516102a09190613507565b60405180910390f35b3480156102b557600080fd5b506102be610abe565b6040516102cb91906135bb565b60405180910390f35b3480156102e057600080fd5b506102fb60048036038101906102f69190613613565b610b50565b6040516103089190613681565b60405180910390f35b34801561031d57600080fd5b50610338600480360381019061033391906136c8565b610bcc565b005b34801561034657600080fd5b5061034f610cd7565b60405161035c9190613717565b60405180910390f35b34801561037157600080fd5b5061037a610cdd565b6040516103879190613717565b60405180910390f35b34801561039c57600080fd5b506103b760048036038101906103b29190613732565b610cf4565b6040516103c49190613717565b60405180910390f35b3480156103d957600080fd5b506103e2610d0c565b6040516103ef9190613507565b60405180910390f35b34801561040457600080fd5b5061041f600480360381019061041a919061375f565b610d1f565b005b34801561042d57600080fd5b50610436610d2f565b6040516104439190613717565b60405180910390f35b34801561045857600080fd5b50610461610d34565b60405161046e9190613507565b60405180910390f35b610491600480360381019061048c9190613613565b610d47565b005b34801561049f57600080fd5b506104a8610f32565b6040516104b591906137cb565b60405180910390f35b3480156104ca57600080fd5b506104d3610f38565b005b3480156104e157600080fd5b506104fc60048036038101906104f7919061375f565b610fe0565b005b34801561050a57600080fd5b506105256004803603810190610520919061384b565b611000565b005b34801561053357600080fd5b5061054e60048036038101906105499190613732565b611092565b005b34801561055c57600080fd5b50610565611152565b6040516105729190613717565b60405180910390f35b34801561058757600080fd5b50610590611157565b005b34801561059e57600080fd5b506105b960048036038101906105b49190613613565b6113ec565b6040516105c69190613681565b60405180910390f35b3480156105db57600080fd5b506105e4611402565b6040516105f191906135bb565b60405180910390f35b34801561060657600080fd5b5061060f611490565b60405161061c9190613717565b60405180910390f35b34801561063157600080fd5b5061064c60048036038101906106479190613732565b611496565b6040516106599190613717565b60405180910390f35b34801561066e57600080fd5b50610677611566565b005b34801561068557600080fd5b5061068e6115ee565b60405161069b9190613717565b60405180910390f35b3480156106b057600080fd5b506106b96115fa565b6040516106c69190613717565b60405180910390f35b6106e960048036038101906106e491906138ee565b611600565b005b3480156106f757600080fd5b50610712600480360381019061070d919061397a565b6118fb565b005b34801561072057600080fd5b50610729611981565b6040516107369190613717565b60405180910390f35b34801561074b57600080fd5b5061076660048036038101906107619190613732565b611986565b005b34801561077457600080fd5b5061078f600480360381019061078a9190613613565b611a46565b005b34801561079d57600080fd5b506107a6611ba5565b6040516107b39190613681565b60405180910390f35b3480156107c857600080fd5b506107d1611bcf565b005b3480156107df57600080fd5b506107e8611c77565b6040516107f591906135bb565b60405180910390f35b34801561080a57600080fd5b50610825600480360381019061082091906139d3565b611d09565b005b34801561083357600080fd5b5061084e60048036038101906108499190613b43565b611e81565b005b34801561085c57600080fd5b50610865611efd565b6040516108729190613681565b60405180910390f35b34801561088757600080fd5b506108a2600480360381019061089d9190613613565b611f23565b6040516108af91906135bb565b60405180910390f35b3480156108c457600080fd5b506108cd611fc2565b6040516108da9190613717565b60405180910390f35b3480156108ef57600080fd5b506108f8611fc7565b6040516109059190613717565b60405180910390f35b34801561091a57600080fd5b5061093560048036038101906109309190613732565b611fd2565b6040516109429190613717565b60405180910390f35b34801561095757600080fd5b50610960611fea565b60405161096d9190613681565b60405180910390f35b34801561098257600080fd5b5061099d60048036038101906109989190613bc6565b612010565b6040516109aa9190613507565b60405180910390f35b3480156109bf57600080fd5b506109da60048036038101906109d59190613732565b6120a4565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610aa757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ab75750610ab68261219c565b5b9050919050565b606060028054610acd90613c35565b80601f0160208091040260200160405190810160405280929190818152602001828054610af990613c35565b8015610b465780601f10610b1b57610100808354040283529160200191610b46565b820191906000526020600020905b815481529060010190602001808311610b2957829003601f168201915b5050505050905090565b6000610b5b82612206565b610b91576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bd7826113ec565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c3f576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c5e612254565b73ffffffffffffffffffffffffffffffffffffffff1614158015610c905750610c8e81610c89612254565b612010565b155b15610cc7576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610cd283838361225c565b505050565b610e8081565b6000610ce761230e565b6001546000540303905090565b600d6020528060005260406000206000915090505481565b600b60009054906101000a900460ff1681565b610d2a838383612313565b505050565b605a81565b600b60019054906101000a900460ff1681565b600b60019054906101000a900460ff16610d96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8d90613cd9565b60405180910390fd5b67011c37937e08000081610daa9190613d28565b3414610deb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de290613df4565b60405180910390fd5b611388610df6610cdd565b82610e019190613e14565b10610e41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3890613edc565b60405180910390fd5b600581600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610e8e9190613e14565b1115610ecf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec690613f6e565b60405180910390fd5b80600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610f1e9190613e14565b92505081905550610f2f3382612804565b50565b60095481565b610f40612254565b73ffffffffffffffffffffffffffffffffffffffff16610f5e611ba5565b73ffffffffffffffffffffffffffffffffffffffff1614610fb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fab90613fda565b60405180910390fd5b600b60019054906101000a900460ff1615600b60016101000a81548160ff021916908315150217905550565b610ffb83838360405180602001604052806000815250611e81565b505050565b611008612254565b73ffffffffffffffffffffffffffffffffffffffff16611026611ba5565b73ffffffffffffffffffffffffffffffffffffffff161461107c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107390613fda565b60405180910390fd5b8181600a919061108d92919061336d565b505050565b61109a612254565b73ffffffffffffffffffffffffffffffffffffffff166110b8611ba5565b73ffffffffffffffffffffffffffffffffffffffff161461110e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110590613fda565b60405180910390fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600a81565b61115f612254565b73ffffffffffffffffffffffffffffffffffffffff1661117d611ba5565b73ffffffffffffffffffffffffffffffffffffffff16146111d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ca90613fda565b60405180910390fd5b60004711611216576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120d90614046565b60405180910390fd5b60004790506000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166064605a846112659190613d28565b61126f9190614095565b60405161127b906140f7565b60006040518083038185875af1925050503d80600081146112b8576040519150601f19603f3d011682016040523d82523d6000602084013e6112bd565b606091505b5050905080611301576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f89061417e565b60405180910390fd5b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166064600a8561134b9190613d28565b6113559190614095565b604051611361906140f7565b60006040518083038185875af1925050503d806000811461139e576040519150601f19603f3d011682016040523d82523d6000602084013e6113a3565b606091505b50509050806113e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113de90614210565b60405180910390fd5b505050565b60006113f782612822565b600001519050919050565b600a805461140f90613c35565b80601f016020809104026020016040519081016040528092919081815260200182805461143b90613c35565b80156114885780601f1061145d57610100808354040283529160200191611488565b820191906000526020600020905b81548152906001019060200180831161146b57829003601f168201915b505050505081565b600e5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114fe576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61156e612254565b73ffffffffffffffffffffffffffffffffffffffff1661158c611ba5565b73ffffffffffffffffffffffffffffffffffffffff16146115e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d990613fda565b60405180910390fd5b6115ec6000612ab1565b565b67011c37937e08000081565b61138881565b600b60009054906101000a900460ff1661164f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611646906142a2565b60405180910390fd5b66d529ae9e860000836116629190613d28565b34146116a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169a90613df4565b60405180910390fd5b6113886116ae610cdd565b846116b99190613e14565b106116f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f090613edc565b60405180910390fd5b610e80611704610cdd565b8461170f9190613e14565b1061174f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174690614334565b60405180910390fd5b600283600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461179c9190613e14565b11156117dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d4906143c6565b60405180910390fd5b6000336040516020016117f0919061442e565b604051602081830303815290604052805190602001209050611856838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060095483612b77565b611895576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188c90614495565b60405180910390fd5b83600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118e49190613e14565b925050819055506118f53385612804565b50505050565b611903612254565b73ffffffffffffffffffffffffffffffffffffffff16611921611ba5565b73ffffffffffffffffffffffffffffffffffffffff1614611977576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196e90613fda565b60405180910390fd5b8060098190555050565b600281565b61198e612254565b73ffffffffffffffffffffffffffffffffffffffff166119ac611ba5565b73ffffffffffffffffffffffffffffffffffffffff1614611a02576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f990613fda565b60405180910390fd5b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611a4e612254565b73ffffffffffffffffffffffffffffffffffffffff16611a6c611ba5565b73ffffffffffffffffffffffffffffffffffffffff1614611ac2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab990613fda565b60405180910390fd5b611388611acd610cdd565b82611ad89190613e14565b10611b18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0f90613edc565b60405180910390fd5b80600e541015611b5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5490614527565b60405180910390fd5b611b89600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612804565b80600e6000828254611b9b9190614547565b9250508190555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611bd7612254565b73ffffffffffffffffffffffffffffffffffffffff16611bf5611ba5565b73ffffffffffffffffffffffffffffffffffffffff1614611c4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4290613fda565b60405180910390fd5b600b60009054906101000a900460ff1615600b60006101000a81548160ff021916908315150217905550565b606060038054611c8690613c35565b80601f0160208091040260200160405190810160405280929190818152602001828054611cb290613c35565b8015611cff5780601f10611cd457610100808354040283529160200191611cff565b820191906000526020600020905b815481529060010190602001808311611ce257829003601f168201915b5050505050905090565b611d11612254565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d76576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611d83612254565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611e30612254565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e759190613507565b60405180910390a35050565b611e8c848484612313565b611eab8373ffffffffffffffffffffffffffffffffffffffff16612b8e565b8015611ec05750611ebe84848484612bb1565b155b15611ef7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060611f2e82612206565b611f64576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611f6e612d02565b9050600081511415611f8f5760405180602001604052806000815250611fba565b80611f9984612d94565b604051602001611faa9291906145b7565b6040516020818303038152906040525b915050919050565b600581565b66d529ae9e86000081565b600c6020528060005260406000206000915090505481565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6120ac612254565b73ffffffffffffffffffffffffffffffffffffffff166120ca611ba5565b73ffffffffffffffffffffffffffffffffffffffff1614612120576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211790613fda565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612190576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121879061464d565b60405180910390fd5b61219981612ab1565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008161221161230e565b11158015612220575060005482105b801561224d575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b600061231e82612822565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612345612254565b73ffffffffffffffffffffffffffffffffffffffff16148061237857506123778260000151612372612254565b612010565b5b806123bd5750612386612254565b73ffffffffffffffffffffffffffffffffffffffff166123a584610b50565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806123f6576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461245f576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156124c6576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6124d38585856001612ef5565b6124e3600084846000015161225c565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612794576000548110156127935782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127fd8585856001612efb565b5050505050565b61281e828260405180602001604052806000815250612f01565b5050565b61282a6133f3565b60008290508061283861230e565b11158015612847575060005481105b15612a7a576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612a7857600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461295c578092505050612aac565b5b600115612a7757818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612a72578092505050612aac565b61295d565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600082612b848584612f13565b1490509392505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612bd7612254565b8786866040518563ffffffff1660e01b8152600401612bf994939291906146c2565b6020604051808303816000875af1925050508015612c3557506040513d601f19601f82011682018060405250810190612c329190614723565b60015b612caf573d8060008114612c65576040519150601f19603f3d011682016040523d82523d6000602084013e612c6a565b606091505b50600081511415612ca7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a8054612d1190613c35565b80601f0160208091040260200160405190810160405280929190818152602001828054612d3d90613c35565b8015612d8a5780601f10612d5f57610100808354040283529160200191612d8a565b820191906000526020600020905b815481529060010190602001808311612d6d57829003601f168201915b5050505050905090565b60606000821415612ddc576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ef0565b600082905060005b60008214612e0e578080612df790614750565b915050600a82612e079190614095565b9150612de4565b60008167ffffffffffffffff811115612e2a57612e29613a18565b5b6040519080825280601f01601f191660200182016040528015612e5c5781602001600182028036833780820191505090505b5090505b60008514612ee957600182612e759190614547565b9150600a85612e849190614799565b6030612e909190613e14565b60f81b818381518110612ea657612ea56147ca565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ee29190614095565b9450612e60565b8093505050505b919050565b50505050565b50505050565b612f0e8383836001612f88565b505050565b60008082905060005b8451811015612f7d576000858281518110612f3a57612f396147ca565b5b60200260200101519050808311612f5c57612f558382613356565b9250612f69565b612f668184613356565b92505b508080612f7590614750565b915050612f1c565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612ff5576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613030576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61303d6000868387612ef5565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561320757506132068773ffffffffffffffffffffffffffffffffffffffff16612b8e565b5b156132cd575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461327c6000888480600101955088612bb1565b6132b2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082141561320d5782600054146132c857600080fd5b613339565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808214156132ce575b81600081905550505061334f6000868387612efb565b5050505050565b600082600052816020526040600020905092915050565b82805461337990613c35565b90600052602060002090601f01602090048101928261339b57600085556133e2565b82601f106133b457803560ff19168380011785556133e2565b828001600101855582156133e2579182015b828111156133e15782358255916020019190600101906133c6565b5b5090506133ef9190613436565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561344f576000816000905550600101613437565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61349c81613467565b81146134a757600080fd5b50565b6000813590506134b981613493565b92915050565b6000602082840312156134d5576134d461345d565b5b60006134e3848285016134aa565b91505092915050565b60008115159050919050565b613501816134ec565b82525050565b600060208201905061351c60008301846134f8565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561355c578082015181840152602081019050613541565b8381111561356b576000848401525b50505050565b6000601f19601f8301169050919050565b600061358d82613522565b613597818561352d565b93506135a781856020860161353e565b6135b081613571565b840191505092915050565b600060208201905081810360008301526135d58184613582565b905092915050565b6000819050919050565b6135f0816135dd565b81146135fb57600080fd5b50565b60008135905061360d816135e7565b92915050565b6000602082840312156136295761362861345d565b5b6000613637848285016135fe565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061366b82613640565b9050919050565b61367b81613660565b82525050565b60006020820190506136966000830184613672565b92915050565b6136a581613660565b81146136b057600080fd5b50565b6000813590506136c28161369c565b92915050565b600080604083850312156136df576136de61345d565b5b60006136ed858286016136b3565b92505060206136fe858286016135fe565b9150509250929050565b613711816135dd565b82525050565b600060208201905061372c6000830184613708565b92915050565b6000602082840312156137485761374761345d565b5b6000613756848285016136b3565b91505092915050565b6000806000606084860312156137785761377761345d565b5b6000613786868287016136b3565b9350506020613797868287016136b3565b92505060406137a8868287016135fe565b9150509250925092565b6000819050919050565b6137c5816137b2565b82525050565b60006020820190506137e060008301846137bc565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261380b5761380a6137e6565b5b8235905067ffffffffffffffff811115613828576138276137eb565b5b602083019150836001820283011115613844576138436137f0565b5b9250929050565b600080602083850312156138625761386161345d565b5b600083013567ffffffffffffffff8111156138805761387f613462565b5b61388c858286016137f5565b92509250509250929050565b60008083601f8401126138ae576138ad6137e6565b5b8235905067ffffffffffffffff8111156138cb576138ca6137eb565b5b6020830191508360208202830111156138e7576138e66137f0565b5b9250929050565b6000806000604084860312156139075761390661345d565b5b6000613915868287016135fe565b935050602084013567ffffffffffffffff81111561393657613935613462565b5b61394286828701613898565b92509250509250925092565b613957816137b2565b811461396257600080fd5b50565b6000813590506139748161394e565b92915050565b6000602082840312156139905761398f61345d565b5b600061399e84828501613965565b91505092915050565b6139b0816134ec565b81146139bb57600080fd5b50565b6000813590506139cd816139a7565b92915050565b600080604083850312156139ea576139e961345d565b5b60006139f8858286016136b3565b9250506020613a09858286016139be565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613a5082613571565b810181811067ffffffffffffffff82111715613a6f57613a6e613a18565b5b80604052505050565b6000613a82613453565b9050613a8e8282613a47565b919050565b600067ffffffffffffffff821115613aae57613aad613a18565b5b613ab782613571565b9050602081019050919050565b82818337600083830152505050565b6000613ae6613ae184613a93565b613a78565b905082815260208101848484011115613b0257613b01613a13565b5b613b0d848285613ac4565b509392505050565b600082601f830112613b2a57613b296137e6565b5b8135613b3a848260208601613ad3565b91505092915050565b60008060008060808587031215613b5d57613b5c61345d565b5b6000613b6b878288016136b3565b9450506020613b7c878288016136b3565b9350506040613b8d878288016135fe565b925050606085013567ffffffffffffffff811115613bae57613bad613462565b5b613bba87828801613b15565b91505092959194509250565b60008060408385031215613bdd57613bdc61345d565b5b6000613beb858286016136b3565b9250506020613bfc858286016136b3565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613c4d57607f821691505b60208210811415613c6157613c60613c06565b5b50919050565b7f445241464645533a207075626c6963206d696e74206973206e6f74206163746960008201527f7665000000000000000000000000000000000000000000000000000000000000602082015250565b6000613cc360228361352d565b9150613cce82613c67565b604082019050919050565b60006020820190508181036000830152613cf281613cb6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613d33826135dd565b9150613d3e836135dd565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613d7757613d76613cf9565b5b828202905092915050565b7f445241464645533a20696e73756666696369656e7420616d6f756e742070616960008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b6000613dde60218361352d565b9150613de982613d82565b604082019050919050565b60006020820190508181036000830152613e0d81613dd1565b9050919050565b6000613e1f826135dd565b9150613e2a836135dd565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613e5f57613e5e613cf9565b5b828201905092915050565b7f445241464645533a206e6f7420656e6f7567682072656d61696e696e6720746f60008201527f206d696e742074686973206d616e790000000000000000000000000000000000602082015250565b6000613ec6602f8361352d565b9150613ed182613e6a565b604082019050919050565b60006020820190508181036000830152613ef581613eb9565b9050919050565b7f445241464645533a206d6178206d696e7473207065722061646472657373206560008201527f7863656564656400000000000000000000000000000000000000000000000000602082015250565b6000613f5860278361352d565b9150613f6382613efc565b604082019050919050565b60006020820190508181036000830152613f8781613f4b565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613fc460208361352d565b9150613fcf82613f8e565b602082019050919050565b60006020820190508181036000830152613ff381613fb7565b9050919050565b7f445241464645533a206e6f7468696e6720746f20776974686472617700000000600082015250565b6000614030601c8361352d565b915061403b82613ffa565b602082019050919050565b6000602082019050818103600083015261405f81614023565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006140a0826135dd565b91506140ab836135dd565b9250826140bb576140ba614066565b5b828204905092915050565b600081905092915050565b50565b60006140e16000836140c6565b91506140ec826140d1565b600082019050919050565b6000614102826140d4565b9150819050919050565b7f445241464645533a20636f6d6d756e697479207769746864726177616c20666160008201527f696c656400000000000000000000000000000000000000000000000000000000602082015250565b600061416860248361352d565b91506141738261410c565b604082019050919050565b600060208201905081810360008301526141978161415b565b9050919050565b7f445241464645533a20646f6e6174696f6e207769746864726177616c2066616960008201527f6c65640000000000000000000000000000000000000000000000000000000000602082015250565b60006141fa60238361352d565b91506142058261419e565b604082019050919050565b60006020820190508181036000830152614229816141ed565b9050919050565b7f445241464645533a20616c6c6f776c697374206d696e74206973206e6f74206160008201527f6374697665000000000000000000000000000000000000000000000000000000602082015250565b600061428c60258361352d565b915061429782614230565b604082019050919050565b600060208201905081810360008301526142bb8161427f565b9050919050565b7f445241464645533a206e6f7420656e6f7567682073706f747320696e20616c6c60008201527f6f776c69737420746f206d696e742074686973206d616e790000000000000000602082015250565b600061431e60388361352d565b9150614329826142c2565b604082019050919050565b6000602082019050818103600083015261434d81614311565b9050919050565b7f445241464645533a206d6178206d696e74732070657220616c6c6f776c69737460008201527f2065786365656465640000000000000000000000000000000000000000000000602082015250565b60006143b060298361352d565b91506143bb82614354565b604082019050919050565b600060208201905081810360008301526143df816143a3565b9050919050565b60008160601b9050919050565b60006143fe826143e6565b9050919050565b6000614410826143f3565b9050919050565b61442861442382613660565b614405565b82525050565b600061443a8284614417565b60148201915081905092915050565b7f445241464645533a206e6f7420696e20616c6c6f776c69737400000000000000600082015250565b600061447f60198361352d565b915061448a82614449565b602082019050919050565b600060208201905081810360008301526144ae81614472565b9050919050565b7f445241464645533a206e6f7420656e6f7567682072657365727665206d696e7460008201527f73206c6566740000000000000000000000000000000000000000000000000000602082015250565b600061451160268361352d565b915061451c826144b5565b604082019050919050565b6000602082019050818103600083015261454081614504565b9050919050565b6000614552826135dd565b915061455d836135dd565b9250828210156145705761456f613cf9565b5b828203905092915050565b600081905092915050565b600061459182613522565b61459b818561457b565b93506145ab81856020860161353e565b80840191505092915050565b60006145c38285614586565b91506145cf8284614586565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061463760268361352d565b9150614642826145db565b604082019050919050565b600060208201905081810360008301526146668161462a565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006146948261466d565b61469e8185614678565b93506146ae81856020860161353e565b6146b781613571565b840191505092915050565b60006080820190506146d76000830187613672565b6146e46020830186613672565b6146f16040830185613708565b81810360608301526147038184614689565b905095945050505050565b60008151905061471d81613493565b92915050565b6000602082840312156147395761473861345d565b5b60006147478482850161470e565b91505092915050565b600061475b826135dd565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561478e5761478d613cf9565b5b600182019050919050565b60006147a4826135dd565b91506147af836135dd565b9250826147bf576147be614066565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea26469706673582212208cfdbd43d7207f0f29dc37405646faa39fa68da4fa21051d4d8d013de9d43bfa64736f6c634300080c0033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.