ETH Price: $3,214.66 (+1.64%)

Token

CryptoBuds (CBUDS)
 

Overview

Max Total Supply

2,040 CBUDS

Holders

390

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
0xnftgallery.eth
Balance
1 CBUDS
0x078a325f792772d66092ecddeb0616b5f2547851
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:
CryptoBuds

Compiler Version
v0.7.0+commit.9e61f92b

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity Multiple files format)

File 3 of 14: CryptoBuds.sol
/**
 * @Crptobuds NFT
 */
//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.7.0;

import "./IERC165.sol";
import "./ERC165.sol";
import "./Address.sol";
import "./EnumerableMap.sol";
import "./EnumerableSet.sol";
import "./SafeMath.sol";
import "./Strings.sol";
import "./Context.sol";
import "./Ownable.sol";
import "./IERC20.sol";
import "./ICryptoBuds.sol";
import "./IERC721Enumerable.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);
}    

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

/**
 * @title Cryptobuds contract
 * @dev Extends ERC721 Non-Fungible Token Standard basic implementation
 */
contract CryptoBuds is Context, Ownable, ERC165, ICryptoBuds, IERC721Metadata {
    using SafeMath for uint256;
    using Address for address;
    using EnumerableSet for EnumerableSet.UintSet;
    using EnumerableMap for EnumerableMap.UintToAddressMap;
    using Strings for uint256;

    // Public variables

    // This is the provenance record of all Cryptobuds artwork in existence
    string public constant Cryptobuds_PROVENANCE = "3109bd92478cf7f73814afa2e73246623a36541fff04be2f0f50ed1c98da2d19";

    uint256 public constant SALE_START_TIMESTAMP = 1615942800; // March 16 2021 9pm EST.

    // Time after which hash masks are randomized and allotted (21 days)
    uint256 public constant REVEAL_TIMESTAMP = SALE_START_TIMESTAMP + (86400 * 21);

    uint256 public constant MAX_NFT_SUPPLY = 10000;

    uint256 public startingIndexBlock;

    uint256 public startingIndex;

    // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`
    // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`
    bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;

    // Mapping from holder address to their (enumerable) set of owned tokens
    mapping (address => EnumerableSet.UintSet) private _holderTokens;

    // Enumerable mapping from token ids to their owners
    EnumerableMap.UintToAddressMap private _tokenOwners;

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

    // Mapping from token ID to name
    mapping (uint256 => string) private _tokenName;

    // Mapping if certain name string has already been reserved
    mapping (string => bool) private _nameReserved;

    // Mapping from token ID to whether the Cryptobud was minted before reveal
    mapping (uint256 => bool) private _mintedBeforeReveal;

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // current API url

    string private _baseTokenUri;

    /*
     *     bytes4(keccak256('balanceOf(address)')) == 0x70a08231
     *     bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e
     *     bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3
     *     bytes4(keccak256('getApproved(uint256)')) == 0x081812fc
     *     bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465
     *     bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5
     *     bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde
     *
     *     => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^
     *        0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd
     */
    bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;

    /*
     *     bytes4(keccak256('name()')) == 0x06fdde03
     *     bytes4(keccak256('symbol()')) == 0x95d89b41
     *
     *     => 0x06fdde03 ^ 0x95d89b41 == 0x93254542
     */
    bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x93254542;

    /*
     *     bytes4(keccak256('totalSupply()')) == 0x18160ddd
     *     bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59
     *     bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7
     *
     *     => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63
     */
    bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;

    // Events
    event NameChange (uint256 indexed maskIndex, string newName);

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor () {
        _name = "CryptoBuds";
        _symbol = "CBUDS";
        _baseTokenUri = "https://thecryptobuds.com/api/tokens/"; // api url
        // register the supported interfaces to conform to ERC721 via ERC165
        _registerInterface(_INTERFACE_ID_ERC721);
        _registerInterface(_INTERFACE_ID_ERC721_METADATA);
        _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);
    }

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

        return _holderTokens[owner].length();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token");
    }

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

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

    function baseTokenURI() public view returns (string memory) {
        return _baseTokenUri;
    }

    function setTokenUri(string calldata newUri) public onlyOwner{
        _baseTokenUri = newUri;
    }

    function tokenURI(uint256 tokenId) external view override returns (string memory) {
    require(_exists(tokenId));
    return Strings.Concatenate(
      baseTokenURI(),
      Strings.toString(tokenId)
    );
  }
    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
        return _holderTokens[owner].at(index);
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view override returns (uint256) {
        // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds
        return _tokenOwners.length();
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        (uint256 tokenId, ) = _tokenOwners.at(index);
        return tokenId;
    }
    /**
     * @dev Returns if the NFT has been minted before reveal phase
     */
    function isMintedBeforeReveal(uint256 index) public view override returns (bool) {
        return _mintedBeforeReveal[index];
    }

    /**
     * @dev Gets current Cryptobud Price
     */
    function getNFTPrice() public view returns (uint256) {
        require(block.timestamp >= SALE_START_TIMESTAMP, "Sale has not started");
        require(totalSupply() < MAX_NFT_SUPPLY, "Sale has already ended");

        uint currentSupply = totalSupply();

        if (currentSupply >= 9996) {
            return 10 ether; // 9996-10000 10 ETH
        } else if (currentSupply >= 9900) {
            return 2 ether; // 9900-9995 2 ETH
        } else if (currentSupply >= 9000) {
            return 0.5 ether; // 9000-9989 0.5 ETH
        } else if (currentSupply >= 7000) {
            return 0.19 ether; // 7000-8999 0.19 ETH
        } else if (currentSupply >= 4000) {
            return 0.1 ether; // 4000 - 6999 0.1 ETH
        } else if (currentSupply >= 2000) {
            return 0.05 ether; // 2000 - 3999 0.05 ETH
        } else if (currentSupply >= 1000) {
            return 0.02 ether; // 1000 - 1999 0.02 ETH
        }  else {
            return 0.01 ether; // 0 - 999 0.01 ETH 
        }
    }

    /**
    * @dev Mints Masks
    */
    function mintNFT(uint256 numberOfNfts) public payable {
        require(totalSupply() < MAX_NFT_SUPPLY, "Sale has already ended");
        require(numberOfNfts > 0, "numberOfNfts cannot be 0");
        require(numberOfNfts <= 20, "You may not buy more than 20 NFTs at once");
        require(totalSupply().add(numberOfNfts) <= MAX_NFT_SUPPLY, "Exceeds MAX_NFT_SUPPLY");
        require(getNFTPrice().mul(numberOfNfts) == msg.value, "Ether value sent is not correct");

        for (uint i = 0; i < numberOfNfts; i++) {
            uint mintIndex = totalSupply();
            if (block.timestamp < REVEAL_TIMESTAMP) {
                _mintedBeforeReveal[mintIndex] = true;
            }
            _safeMint(msg.sender, mintIndex);
        }

        /**
        * Source of randomness. Theoretical miner withhold manipulation possible but should be sufficient in a pragmatic sense
        */
        if (startingIndexBlock == 0 && (totalSupply() == MAX_NFT_SUPPLY || block.timestamp >= REVEAL_TIMESTAMP)) {
            startingIndexBlock = block.number;
        }
    }

    /**
     * @dev Finalize starting index
     */
    function finalizeStartingIndex() public {
        require(startingIndex == 0, "Starting index is already set");
        require(startingIndexBlock != 0, "Starting index block must be set");
        
        startingIndex = uint(blockhash(startingIndexBlock)) % MAX_NFT_SUPPLY;
        // Just a sanity case in the worst case if this function is called late (EVM only stores last 256 block hashes)
        if (block.number.sub(startingIndexBlock) > 255) {
            startingIndex = uint(blockhash(block.number-1)) % MAX_NFT_SUPPLY;
        }
        // Prevent default sequence
        if (startingIndex == 0) {
            startingIndex = startingIndex.add(1);
        }
    }

    /**
     * @dev Withdraw ether from this contract (Callable by owner)
    */
    function withdraw() onlyOwner public {
        uint balance = address(this).balance;
        msg.sender.transfer(balance);
    }

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

        _holderTokens[to].add(tokenId);

        _tokenOwners.set(tokenId, to);

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

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

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

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

        _holderTokens[owner].remove(tokenId);

        _tokenOwners.remove(tokenId);

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

        _holderTokens[from].remove(tokenId);
        _holderTokens[to].add(tokenId);

        _tokenOwners.set(tokenId, to);

        emit Transfer(from, to, tokenId);
    }


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

    function _approve(address to, uint256 tokenId) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(ownerOf(tokenId), to, tokenId);
    }

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

}

File 1 of 14: Address.sol
//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.7.0;

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

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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.3._
     */
    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.3._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 2 of 14: Context.sol
//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.7.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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 4 of 14: EnumerableMap.sol
//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.7.0;

/**
 * @dev Library for managing an enumerable variant of Solidity's
 * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]
 * type.
 *
 * Maps have the following properties:
 *
 * - Entries are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Entries are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableMap for EnumerableMap.UintToAddressMap;
 *
 *     // Declare a set state variable
 *     EnumerableMap.UintToAddressMap private myMap;
 * }
 * ```
 *
 * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are
 * supported.
 */
library EnumerableMap {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Map type with
    // bytes32 keys and values.
    // The Map implementation uses private functions, and user-facing
    // implementations (such as Uint256ToAddressMap) are just wrappers around
    // the underlying Map.
    // This means that we can only create new EnumerableMaps for types that fit
    // in bytes32.

    struct MapEntry {
        bytes32 _key;
        bytes32 _value;
    }

    struct Map {
        // Storage of map keys and values
        MapEntry[] _entries;

        // Position of the entry defined by a key in the `entries` array, plus 1
        // because index 0 means a key is not in the map.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Adds a key-value pair to a map, or updates the value for an existing
     * key. O(1).
     *
     * Returns true if the key was added to the map, that is if it was not
     * already present.
     */
    function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {
        // We read and store the key's index to prevent multiple reads from the same storage slot
        uint256 keyIndex = map._indexes[key];

        if (keyIndex == 0) { // Equivalent to !contains(map, key)
            map._entries.push(MapEntry({ _key: key, _value: value }));
            // The entry is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            map._indexes[key] = map._entries.length;
            return true;
        } else {
            map._entries[keyIndex - 1]._value = value;
            return false;
        }
    }

    /**
     * @dev Removes a key-value pair from a map. O(1).
     *
     * Returns true if the key was removed from the map, that is if it was present.
     */
    function _remove(Map storage map, bytes32 key) private returns (bool) {
        // We read and store the key's index to prevent multiple reads from the same storage slot
        uint256 keyIndex = map._indexes[key];

        if (keyIndex != 0) { // Equivalent to contains(map, key)
            // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one
            // in the array, and then remove the last entry (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = keyIndex - 1;
            uint256 lastIndex = map._entries.length - 1;

            // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            MapEntry storage lastEntry = map._entries[lastIndex];

            // Move the last entry to the index where the entry to delete is
            map._entries[toDeleteIndex] = lastEntry;
            // Update the index for the moved entry
            map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved entry was stored
            map._entries.pop();

            // Delete the index for the deleted slot
            delete map._indexes[key];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the key is in the map. O(1).
     */
    function _contains(Map storage map, bytes32 key) private view returns (bool) {
        return map._indexes[key] != 0;
    }

    /**
     * @dev Returns the number of key-value pairs in the map. O(1).
     */
    function _length(Map storage map) private view returns (uint256) {
        return map._entries.length;
    }

   /**
    * @dev Returns the key-value pair stored at position `index` in the map. O(1).
    *
    * Note that there are no guarantees on the ordering of entries inside the
    * array, and it may change when more entries are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {
        require(map._entries.length > index, "EnumerableMap: index out of bounds");

        MapEntry storage entry = map._entries[index];
        return (entry._key, entry._value);
    }

    /**
     * @dev Returns the value associated with `key`.  O(1).
     *
     * Requirements:
     *
     * - `key` must be in the map.
     */
    function _get(Map storage map, bytes32 key) private view returns (bytes32) {
        return _get(map, key, "EnumerableMap: nonexistent key");
    }

    /**
     * @dev Same as {_get}, with a custom error message when `key` is not in the map.
     */
    function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {
        uint256 keyIndex = map._indexes[key];
        require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)
        return map._entries[keyIndex - 1]._value; // All indexes are 1-based
    }

    // UintToAddressMap

    struct UintToAddressMap {
        Map _inner;
    }

    /**
     * @dev Adds a key-value pair to a map, or updates the value for an existing
     * key. O(1).
     *
     * Returns true if the key was added to the map, that is if it was not
     * already present.
     */
    function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {
        return _set(map._inner, bytes32(key), bytes32(uint256(value)));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the key was removed from the map, that is if it was present.
     */
    function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {
        return _remove(map._inner, bytes32(key));
    }

    /**
     * @dev Returns true if the key is in the map. O(1).
     */
    function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {
        return _contains(map._inner, bytes32(key));
    }

    /**
     * @dev Returns the number of elements in the map. O(1).
     */
    function length(UintToAddressMap storage map) internal view returns (uint256) {
        return _length(map._inner);
    }

   /**
    * @dev Returns the element stored at position `index` in the set. O(1).
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {
        (bytes32 key, bytes32 value) = _at(map._inner, index);
        return (uint256(key), address(uint256(value)));
    }

    /**
     * @dev Returns the value associated with `key`.  O(1).
     *
     * Requirements:
     *
     * - `key` must be in the map.
     */
    function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {
        return address(uint256(_get(map._inner, bytes32(key))));
    }

    /**
     * @dev Same as {get}, with a custom error message when `key` is not in the map.
     */
    function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {
        return address(uint256(_get(map._inner, bytes32(key), errorMessage)));
    }
}

File 5 of 14: EnumerableSet.sol
//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.7.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256`
 * (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint256(_at(set._inner, index)));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}

File 6 of 14: ERC165.sol
pragma solidity ^0.7.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts may inherit from this and call {_registerInterface} to declare
 * their support of an interface.
 */
//SPDX-License-Identifier: UNLICENSED
contract ERC165 is IERC165 {
    /*
     * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7
     */
    bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;

    /**
     * @dev Mapping of interface ids to whether or not it's supported.
     */
    mapping(bytes4 => bool) private _supportedInterfaces;

    constructor () {
        // Derived contracts need only register support for their own interfaces,
        // we register support for ERC165 itself here
        _registerInterface(_INTERFACE_ID_ERC165);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     *
     * Time complexity O(1), guaranteed to always use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view override returns (bool) {
        return _supportedInterfaces[interfaceId];
    }

    /**
     * @dev Registers the contract as an implementer of the interface defined by
     * `interfaceId`. Support of the actual ERC165 interface is automatic and
     * registering its interface id is not required.
     *
     * See {IERC165-supportsInterface}.
     *
     * Requirements:
     *
     * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).
     */
    function _registerInterface(bytes4 interfaceId) internal virtual {
        require(interfaceId != 0xffffffff, "ERC165: invalid interface id");
        _supportedInterfaces[interfaceId] = true;
    }
}

File 7 of 14: ICryptoBuds.sol
//SPDX-License-Identifier: UNLICENSED
import "./IERC721Enumerable.sol";
pragma solidity ^0.7.0;

interface ICryptoBuds is IERC721Enumerable {
    function isMintedBeforeReveal(uint256 index) external view returns (bool);
}

File 8 of 14: IERC165.sol
//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.7.0;

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

File 9 of 14: IERC20.sol
//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.7.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);


    /**
     * TODO: Add comment
     */
    function burn(uint256 burnQuantity) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 10 of 14: IERC721.sol
//SPDX-License-Identifier: UNLICENSED
import "./IERC165.sol";
pragma solidity ^0.7.0;
/**
 * @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 11 of 14: IERC721Enumerable.sol
//SPDX-License-Identifier: UNLICENSED
import "./IERC721.sol";
pragma solidity ^0.7.0;
/**
 * @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 tokenId);

    /**
     * @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 12 of 14: Ownable.sol
//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.7.0;

import "./Context.sol";

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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 13 of 14: SafeMath.sol
//SPDX-License-Identifier: UNLICENSED

pragma solidity ^0.7.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

File 14 of 14: Strings.sol
//SPDX-License-Identifier: UNLICENSED

pragma solidity ^0.7.0;

/**
 * @dev String operations.
 */
library Strings {
    /**
     * @dev Converts a `uint256` to its ASCII `string` 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);
        uint256 index = digits - 1;
        temp = value;
        while (temp != 0) {
            buffer[index--] = byte(uint8(48 + temp % 10));
            temp /= 10;
        }
        return string(buffer);
    }

    function Concatenate(string memory a, string memory b) internal pure returns (string memory c) {

        return string(abi.encodePacked(a, b));

    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"maskIndex","type":"uint256"},{"indexed":false,"internalType":"string","name":"newName","type":"string"}],"name":"NameChange","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":"Cryptobuds_PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_NFT_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REVEAL_TIMESTAMP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SALE_START_TIMESTAMP","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":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"finalizeStartingIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNFTPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"isMintedBeforeReveal","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfNfts","type":"uint256"}],"name":"mintNFT","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newUri","type":"string"}],"name":"setTokenUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startingIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingIndexBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060006200001e6200014a565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506200007a6301ffc9a760e01b6200014e565b60408051808201909152600a8082526943727970746f4275647360b01b6020909201918252620000ad91600c91620001d6565b5060408051808201909152600580825264434255445360d81b6020909201918252620000dc91600d91620001d6565b50604051806060016040528060258152602001620029b06025913980516200010d91600e91602090910190620001d6565b50620001206380ac58cd60e01b6200014e565b62000132634992a2a160e11b6200014e565b6200014463780e9d6360e01b6200014e565b62000272565b3390565b6001600160e01b03198082161415620001ae576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152600160208190526040909120805460ff19169091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200021957805160ff191683800117855562000249565b8280016001018555821562000249579182015b82811115620002495782518255916020019190600101906200022c565b50620002579291506200025b565b5090565b5b808211156200025757600081556001016200025c565b61272e80620002826000396000f3fe6080604052600436106101e35760003560e01c80638da5cb5b11610102578063bc28d70211610095578063e36d649811610064578063e36d64981461078b578063e985e9c5146107a0578063f2fde38b146107db578063fb107a4f1461080e576101e3565b8063bc28d7021461070d578063c87b56dd14610737578063cb774d4714610761578063d547cfb714610776576101e3565b8063a22cb465116100d1578063a22cb465146105d5578063a87b210a14610610578063b5077f4414610625578063b88d4fde1461063a576101e3565b80638da5cb5b14610579578063926427441461058e578063946807fd146105ab57806395d89b41146105c0576101e3565b80632f745c591161017a5780636352211e116101495780636352211e146104f257806370a082311461051c578063715018a61461054f57806374df39c914610564576101e3565b80632f745c59146104375780633ccfd60b1461047057806342842e0e146104855780634f6ccce7146104c8576101e3565b8063095ea7b3116101b6578063095ea7b31461037f57806318160ddd146103b857806318e20a38146103df57806323b872dd146103f4576101e3565b806301ffc9a7146101e85780630675b7c61461023057806306fdde03146102af578063081812fc14610339575b600080fd5b3480156101f457600080fd5b5061021c6004803603602081101561020b57600080fd5b50356001600160e01b031916610823565b604080519115158252519081900360200190f35b34801561023c57600080fd5b506102ad6004803603602081101561025357600080fd5b81019060208101813564010000000081111561026e57600080fd5b82018360208201111561028057600080fd5b803590602001918460018302840111640100000000831117156102a257600080fd5b509092509050610846565b005b3480156102bb57600080fd5b506102c46108af565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102fe5781810151838201526020016102e6565b50505050905090810190601f16801561032b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561034557600080fd5b506103636004803603602081101561035c57600080fd5b5035610946565b604080516001600160a01b039092168252519081900360200190f35b34801561038b57600080fd5b506102ad600480360360408110156103a257600080fd5b506001600160a01b0381351690602001356109a8565b3480156103c457600080fd5b506103cd610a7e565b60408051918252519081900360200190f35b3480156103eb57600080fd5b506103cd610a8f565b34801561040057600080fd5b506102ad6004803603606081101561041757600080fd5b506001600160a01b03813581169160208101359091169060400135610a97565b34801561044357600080fd5b506103cd6004803603604081101561045a57600080fd5b506001600160a01b038135169060200135610aee565b34801561047c57600080fd5b506102ad610b19565b34801561049157600080fd5b506102ad600480360360608110156104a857600080fd5b506001600160a01b03813581169160208101359091169060400135610ba4565b3480156104d457600080fd5b506103cd600480360360208110156104eb57600080fd5b5035610bbf565b3480156104fe57600080fd5b506103636004803603602081101561051557600080fd5b5035610bd5565b34801561052857600080fd5b506103cd6004803603602081101561053f57600080fd5b50356001600160a01b0316610bfd565b34801561055b57600080fd5b506102ad610c65565b34801561057057600080fd5b506102ad610d07565b34801561058557600080fd5b50610363610df9565b6102ad600480360360208110156105a457600080fd5b5035610e08565b3480156105b757600080fd5b506103cd61103d565b3480156105cc57600080fd5b506102c4611045565b3480156105e157600080fd5b506102ad600480360360408110156105f857600080fd5b506001600160a01b03813516906020013515156110a6565b34801561061c57600080fd5b506102c46111ab565b34801561063157600080fd5b506103cd6111c7565b34801561064657600080fd5b506102ad6004803603608081101561065d57600080fd5b6001600160a01b0382358116926020810135909116916040820135919081019060808101606082013564010000000081111561069857600080fd5b8201836020820111156106aa57600080fd5b803590602001918460018302840111640100000000831117156106cc57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506111cd945050505050565b34801561071957600080fd5b5061021c6004803603602081101561073057600080fd5b503561122b565b34801561074357600080fd5b506102c46004803603602081101561075a57600080fd5b5035611240565b34801561076d57600080fd5b506103cd61126d565b34801561078257600080fd5b506102c4611273565b34801561079757600080fd5b506103cd6112d4565b3480156107ac57600080fd5b5061021c600480360360408110156107c357600080fd5b506001600160a01b03813581169160200135166112da565b3480156107e757600080fd5b506102ad600480360360208110156107fe57600080fd5b50356001600160a01b0316611308565b34801561081a57600080fd5b506103cd611400565b6001600160e01b0319811660009081526001602052604090205460ff165b919050565b61084e61157c565b6000546001600160a01b0390811691161461089e576040805162461bcd60e51b8152602060048201819052602482015260008051602061261e833981519152604482015290519081900360640190fd5b6108aa600e83836123a6565b505050565b600c8054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561093b5780601f106109105761010080835404028352916020019161093b565b820191906000526020600020905b81548152906001019060200180831161091e57829003601f168201915b505050505090505b90565b600061095182611580565b61098c5760405162461bcd60e51b815260040180806020018281038252602c8152602001806125f2602c913960400191505060405180910390fd5b506000908152600760205260409020546001600160a01b031690565b60006109b382610bd5565b9050806001600160a01b0316836001600160a01b03161415610a065760405162461bcd60e51b81526004018080602001828103825260218152602001806126676021913960400191505060405180910390fd5b806001600160a01b0316610a1861157c565b6001600160a01b03161480610a395750610a3981610a3461157c565b6112da565b610a745760405162461bcd60e51b81526004018080602001828103825260388152602001806124fb6038913960400191505060405180910390fd5b6108aa838361158d565b6000610a8a60056115fb565b905090565b63606d041081565b610aa8610aa261157c565b82611606565b610ae35760405162461bcd60e51b81526004018080602001828103825260318152602001806126886031913960400191505060405180910390fd5b6108aa8383836116aa565b6001600160a01b0382166000908152600460205260408120610b1090836117f6565b90505b92915050565b610b2161157c565b6000546001600160a01b03908116911614610b71576040805162461bcd60e51b8152602060048201819052602482015260008051602061261e833981519152604482015290519081900360640190fd5b6040514790339082156108fc029083906000818181858888f19350505050158015610ba0573d6000803e3d6000fd5b5050565b6108aa838383604051806020016040528060008152506111cd565b600080610bcd600584611802565b509392505050565b6000610b1382604051806060016040528060298152602001612586602991396005919061181e565b60006001600160a01b038216610c445760405162461bcd60e51b815260040180806020018281038252602a81526020018061255c602a913960400191505060405180910390fd5b6001600160a01b0382166000908152600460205260409020610b13906115fb565b610c6d61157c565b6000546001600160a01b03908116911614610cbd576040805162461bcd60e51b8152602060048201819052602482015260008051602061261e833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60035415610d5c576040805162461bcd60e51b815260206004820152601d60248201527f5374617274696e6720696e64657820697320616c726561647920736574000000604482015290519081900360640190fd5b600254610db0576040805162461bcd60e51b815260206004820181905260248201527f5374617274696e6720696e64657820626c6f636b206d75737420626520736574604482015290519081900360640190fd5b60025461271081400660035560ff90610dca904390611835565b1115610dde57612710600019430140066003555b600354610df757600354610df3906001611877565b6003555b565b6000546001600160a01b031690565b612710610e13610a7e565b10610e5e576040805162461bcd60e51b815260206004820152601660248201527514d85b19481a185cc8185b1c9958591e48195b99195960521b604482015290519081900360640190fd5b60008111610eb3576040805162461bcd60e51b815260206004820152601860248201527f6e756d6265724f664e6674732063616e6e6f7420626520300000000000000000604482015290519081900360640190fd5b6014811115610ef35760405162461bcd60e51b81526004018080602001828103825260298152602001806125336029913960400191505060405180910390fd5b612710610f0882610f02610a7e565b90611877565b1115610f54576040805162461bcd60e51b815260206004820152601660248201527545786365656473204d41585f4e46545f535550504c5960501b604482015290519081900360640190fd5b34610f6782610f61611400565b906118d1565b14610fb9576040805162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f727265637400604482015290519081900360640190fd5b60005b81811015611009576000610fce610a7e565b905063606d0410421015610ff6576000818152600a60205260409020805460ff191660011790555b611000338261192a565b50600101610fbc565b506002541580156110305750612710611020610a7e565b1480611030575063606d04104210155b1561103a57436002555b50565b636051549081565b600d8054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561093b5780601f106109105761010080835404028352916020019161093b565b6110ae61157c565b6001600160a01b0316826001600160a01b03161415611114576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b80600b600061112161157c565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff19169215159290921790915561116561157c565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b6040518060600160405280604081526020016126b96040913981565b61271081565b6111de6111d861157c565b83611606565b6112195760405162461bcd60e51b81526004018080602001828103825260318152602001806126886031913960400191505060405180910390fd5b61122584848484611944565b50505050565b6000908152600a602052604090205460ff1690565b606061124b82611580565b61125457600080fd5b610b1361125f611273565b61126884611996565b611a71565b60035481565b600e8054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561093b5780601f106109105761010080835404028352916020019161093b565b60025481565b6001600160a01b039182166000908152600b6020908152604080832093909416825291909152205460ff1690565b61131061157c565b6000546001600160a01b03908116911614611360576040805162461bcd60e51b8152602060048201819052602482015260008051602061261e833981519152604482015290519081900360640190fd5b6001600160a01b0381166113a55760405162461bcd60e51b81526004018080602001828103825260268152602001806124856026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60006360515490421015611452576040805162461bcd60e51b815260206004820152601460248201527314d85b19481a185cc81b9bdd081cdd185c9d195960621b604482015290519081900360640190fd5b61271061145d610a7e565b106114a8576040805162461bcd60e51b815260206004820152601660248201527514d85b19481a185cc8185b1c9958591e48195b99195960521b604482015290519081900360640190fd5b60006114b2610a7e565b905061270c81106114ce57678ac7230489e80000915050610943565b6126ac81106114e857671bc16d674ec80000915050610943565b6123288110611502576706f05b59d3b20000915050610943565b611b58811061151c576702a303fe4b530000915050610943565b610fa081106115365767016345785d8a0000915050610943565b6107d0811061154f5766b1a2bc2ec50000915050610943565b6103e881106115685766470de4df820000915050610943565b662386f26fc10000915050610943565b5090565b3390565b6000610b13600583611b2c565b600081815260076020526040902080546001600160a01b0319166001600160a01b03841690811790915581906115c282610bd5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610b1382611b38565b600061161182611580565b61164c5760405162461bcd60e51b815260040180806020018281038252602c8152602001806124cf602c913960400191505060405180910390fd5b600061165783610bd5565b9050806001600160a01b0316846001600160a01b031614806116925750836001600160a01b031661168784610946565b6001600160a01b0316145b806116a257506116a281856112da565b949350505050565b826001600160a01b03166116bd82610bd5565b6001600160a01b0316146117025760405162461bcd60e51b815260040180806020018281038252602981526020018061263e6029913960400191505060405180910390fd5b6001600160a01b0382166117475760405162461bcd60e51b81526004018080602001828103825260248152602001806124ab6024913960400191505060405180910390fd5b6117528383836108aa565b61175d60008261158d565b6001600160a01b038316600090815260046020526040902061177f9082611b3c565b506001600160a01b03821660009081526004602052604090206117a29082611b48565b506117af60058284611b54565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610b108383611b6a565b60008080806118118686611bce565b9097909650945050505050565b600061182b848484611c49565b90505b9392505050565b6000610b1083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611d13565b600082820183811015610b10576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000826118e057506000610b13565b828202828482816118ed57fe5b0414610b105760405162461bcd60e51b81526004018080602001828103825260218152602001806125d16021913960400191505060405180910390fd5b610ba0828260405180602001604052806000815250611d6d565b61194f8484846116aa565b61195b84848484611dbf565b6112255760405162461bcd60e51b81526004018080602001828103825260328152602001806124536032913960400191505060405180910390fd5b6060816119bb57506040805180820190915260018152600360fc1b6020820152610841565b8160005b81156119d357600101600a820491506119bf565b60608167ffffffffffffffff811180156119ec57600080fd5b506040519080825280601f01601f191660200182016040528015611a17576020820181803683370190505b50859350905060001982015b8315611a6857600a840660300160f81b82828060019003935081518110611a4657fe5b60200101906001600160f81b031916908160001a905350600a84049350611a23565b50949350505050565b606082826040516020018083805190602001908083835b60208310611aa75780518252601f199092019160209182019101611a88565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b60208310611aef5780518252601f199092019160209182019101611ad0565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052905092915050565b6000610b108383611f27565b5490565b6000610b108383611f3f565b6000610b108383612005565b600061182b84846001600160a01b03851661204f565b81546000908210611bac5760405162461bcd60e51b81526004018080602001828103825260228152602001806124316022913960400191505060405180910390fd5b826000018281548110611bbb57fe5b9060005260206000200154905092915050565b815460009081908310611c125760405162461bcd60e51b81526004018080602001828103825260228152602001806125af6022913960400191505060405180910390fd5b6000846000018481548110611c2357fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008281526001840160205260408120548281611ce45760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611ca9578181015183820152602001611c91565b50505050905090810190601f168015611cd65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50846000016001820381548110611cf757fe5b9060005260206000209060020201600101549150509392505050565b60008184841115611d655760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611ca9578181015183820152602001611c91565b505050900390565b611d7783836120e6565b611d846000848484611dbf565b6108aa5760405162461bcd60e51b81526004018080602001828103825260328152602001806124536032913960400191505060405180910390fd5b6000611dd3846001600160a01b0316612214565b611ddf575060016116a2565b6060611eed630a85bd0160e11b611df461157c565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015611e5b578181015183820152602001611e43565b50505050905090810190601f168015611e885780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001612453603291396001600160a01b038816919061221a565b90506000818060200190516020811015611f0657600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b60009081526001919091016020526040902054151590565b60008181526001830160205260408120548015611ffb5783546000198083019190810190600090879083908110611f7257fe5b9060005260206000200154905080876000018481548110611f8f57fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080611fbf57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610b13565b6000915050610b13565b60006120118383611f27565b61204757508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610b13565b506000610b13565b6000828152600184016020526040812054806120b457505060408051808201825283815260208082018481528654600181810189556000898152848120955160029093029095019182559151908201558654868452818801909252929091205561182e565b828560000160018303815481106120c757fe5b906000526020600020906002020160010181905550600091505061182e565b6001600160a01b038216612141576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b61214a81611580565b1561219c576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b6121a8600083836108aa565b6001600160a01b03821660009081526004602052604090206121ca9082611b48565b506121d760058284611b54565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b606061182b84846000858561222e85612214565b61227f576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106122be5780518252601f19909201916020918201910161229f565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612320576040519150601f19603f3d011682016040523d82523d6000602084013e612325565b606091505b5091509150612335828286612340565b979650505050505050565b6060831561234f57508161182e565b82511561235f5782518084602001fd5b60405162461bcd60e51b8152602060048201818152845160248401528451859391928392604401919085019080838360008315611ca9578181015183820152602001611c91565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106123e75782800160ff19823516178555612414565b82800160010185558215612414579182015b828111156124145782358255916020019190600101906123f9565b506115789291505b80821115611578576000815560010161241c56fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c596f75206d6179206e6f7420627579206d6f7265207468616e203230204e465473206174206f6e63654552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e6473536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656433313039626439323437386366376637333831346166613265373332343636323361333635343166666630346265326630663530656431633938646132643139a264697066735822122065c4bbb0c53e254f1c7ef83ae6e25437d20bfa0970d5c03196ba11d051bb267464736f6c6343000700003368747470733a2f2f74686563727970746f627564732e636f6d2f6170692f746f6b656e732f

Deployed Bytecode

0x6080604052600436106101e35760003560e01c80638da5cb5b11610102578063bc28d70211610095578063e36d649811610064578063e36d64981461078b578063e985e9c5146107a0578063f2fde38b146107db578063fb107a4f1461080e576101e3565b8063bc28d7021461070d578063c87b56dd14610737578063cb774d4714610761578063d547cfb714610776576101e3565b8063a22cb465116100d1578063a22cb465146105d5578063a87b210a14610610578063b5077f4414610625578063b88d4fde1461063a576101e3565b80638da5cb5b14610579578063926427441461058e578063946807fd146105ab57806395d89b41146105c0576101e3565b80632f745c591161017a5780636352211e116101495780636352211e146104f257806370a082311461051c578063715018a61461054f57806374df39c914610564576101e3565b80632f745c59146104375780633ccfd60b1461047057806342842e0e146104855780634f6ccce7146104c8576101e3565b8063095ea7b3116101b6578063095ea7b31461037f57806318160ddd146103b857806318e20a38146103df57806323b872dd146103f4576101e3565b806301ffc9a7146101e85780630675b7c61461023057806306fdde03146102af578063081812fc14610339575b600080fd5b3480156101f457600080fd5b5061021c6004803603602081101561020b57600080fd5b50356001600160e01b031916610823565b604080519115158252519081900360200190f35b34801561023c57600080fd5b506102ad6004803603602081101561025357600080fd5b81019060208101813564010000000081111561026e57600080fd5b82018360208201111561028057600080fd5b803590602001918460018302840111640100000000831117156102a257600080fd5b509092509050610846565b005b3480156102bb57600080fd5b506102c46108af565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102fe5781810151838201526020016102e6565b50505050905090810190601f16801561032b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561034557600080fd5b506103636004803603602081101561035c57600080fd5b5035610946565b604080516001600160a01b039092168252519081900360200190f35b34801561038b57600080fd5b506102ad600480360360408110156103a257600080fd5b506001600160a01b0381351690602001356109a8565b3480156103c457600080fd5b506103cd610a7e565b60408051918252519081900360200190f35b3480156103eb57600080fd5b506103cd610a8f565b34801561040057600080fd5b506102ad6004803603606081101561041757600080fd5b506001600160a01b03813581169160208101359091169060400135610a97565b34801561044357600080fd5b506103cd6004803603604081101561045a57600080fd5b506001600160a01b038135169060200135610aee565b34801561047c57600080fd5b506102ad610b19565b34801561049157600080fd5b506102ad600480360360608110156104a857600080fd5b506001600160a01b03813581169160208101359091169060400135610ba4565b3480156104d457600080fd5b506103cd600480360360208110156104eb57600080fd5b5035610bbf565b3480156104fe57600080fd5b506103636004803603602081101561051557600080fd5b5035610bd5565b34801561052857600080fd5b506103cd6004803603602081101561053f57600080fd5b50356001600160a01b0316610bfd565b34801561055b57600080fd5b506102ad610c65565b34801561057057600080fd5b506102ad610d07565b34801561058557600080fd5b50610363610df9565b6102ad600480360360208110156105a457600080fd5b5035610e08565b3480156105b757600080fd5b506103cd61103d565b3480156105cc57600080fd5b506102c4611045565b3480156105e157600080fd5b506102ad600480360360408110156105f857600080fd5b506001600160a01b03813516906020013515156110a6565b34801561061c57600080fd5b506102c46111ab565b34801561063157600080fd5b506103cd6111c7565b34801561064657600080fd5b506102ad6004803603608081101561065d57600080fd5b6001600160a01b0382358116926020810135909116916040820135919081019060808101606082013564010000000081111561069857600080fd5b8201836020820111156106aa57600080fd5b803590602001918460018302840111640100000000831117156106cc57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506111cd945050505050565b34801561071957600080fd5b5061021c6004803603602081101561073057600080fd5b503561122b565b34801561074357600080fd5b506102c46004803603602081101561075a57600080fd5b5035611240565b34801561076d57600080fd5b506103cd61126d565b34801561078257600080fd5b506102c4611273565b34801561079757600080fd5b506103cd6112d4565b3480156107ac57600080fd5b5061021c600480360360408110156107c357600080fd5b506001600160a01b03813581169160200135166112da565b3480156107e757600080fd5b506102ad600480360360208110156107fe57600080fd5b50356001600160a01b0316611308565b34801561081a57600080fd5b506103cd611400565b6001600160e01b0319811660009081526001602052604090205460ff165b919050565b61084e61157c565b6000546001600160a01b0390811691161461089e576040805162461bcd60e51b8152602060048201819052602482015260008051602061261e833981519152604482015290519081900360640190fd5b6108aa600e83836123a6565b505050565b600c8054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561093b5780601f106109105761010080835404028352916020019161093b565b820191906000526020600020905b81548152906001019060200180831161091e57829003601f168201915b505050505090505b90565b600061095182611580565b61098c5760405162461bcd60e51b815260040180806020018281038252602c8152602001806125f2602c913960400191505060405180910390fd5b506000908152600760205260409020546001600160a01b031690565b60006109b382610bd5565b9050806001600160a01b0316836001600160a01b03161415610a065760405162461bcd60e51b81526004018080602001828103825260218152602001806126676021913960400191505060405180910390fd5b806001600160a01b0316610a1861157c565b6001600160a01b03161480610a395750610a3981610a3461157c565b6112da565b610a745760405162461bcd60e51b81526004018080602001828103825260388152602001806124fb6038913960400191505060405180910390fd5b6108aa838361158d565b6000610a8a60056115fb565b905090565b63606d041081565b610aa8610aa261157c565b82611606565b610ae35760405162461bcd60e51b81526004018080602001828103825260318152602001806126886031913960400191505060405180910390fd5b6108aa8383836116aa565b6001600160a01b0382166000908152600460205260408120610b1090836117f6565b90505b92915050565b610b2161157c565b6000546001600160a01b03908116911614610b71576040805162461bcd60e51b8152602060048201819052602482015260008051602061261e833981519152604482015290519081900360640190fd5b6040514790339082156108fc029083906000818181858888f19350505050158015610ba0573d6000803e3d6000fd5b5050565b6108aa838383604051806020016040528060008152506111cd565b600080610bcd600584611802565b509392505050565b6000610b1382604051806060016040528060298152602001612586602991396005919061181e565b60006001600160a01b038216610c445760405162461bcd60e51b815260040180806020018281038252602a81526020018061255c602a913960400191505060405180910390fd5b6001600160a01b0382166000908152600460205260409020610b13906115fb565b610c6d61157c565b6000546001600160a01b03908116911614610cbd576040805162461bcd60e51b8152602060048201819052602482015260008051602061261e833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60035415610d5c576040805162461bcd60e51b815260206004820152601d60248201527f5374617274696e6720696e64657820697320616c726561647920736574000000604482015290519081900360640190fd5b600254610db0576040805162461bcd60e51b815260206004820181905260248201527f5374617274696e6720696e64657820626c6f636b206d75737420626520736574604482015290519081900360640190fd5b60025461271081400660035560ff90610dca904390611835565b1115610dde57612710600019430140066003555b600354610df757600354610df3906001611877565b6003555b565b6000546001600160a01b031690565b612710610e13610a7e565b10610e5e576040805162461bcd60e51b815260206004820152601660248201527514d85b19481a185cc8185b1c9958591e48195b99195960521b604482015290519081900360640190fd5b60008111610eb3576040805162461bcd60e51b815260206004820152601860248201527f6e756d6265724f664e6674732063616e6e6f7420626520300000000000000000604482015290519081900360640190fd5b6014811115610ef35760405162461bcd60e51b81526004018080602001828103825260298152602001806125336029913960400191505060405180910390fd5b612710610f0882610f02610a7e565b90611877565b1115610f54576040805162461bcd60e51b815260206004820152601660248201527545786365656473204d41585f4e46545f535550504c5960501b604482015290519081900360640190fd5b34610f6782610f61611400565b906118d1565b14610fb9576040805162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f727265637400604482015290519081900360640190fd5b60005b81811015611009576000610fce610a7e565b905063606d0410421015610ff6576000818152600a60205260409020805460ff191660011790555b611000338261192a565b50600101610fbc565b506002541580156110305750612710611020610a7e565b1480611030575063606d04104210155b1561103a57436002555b50565b636051549081565b600d8054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561093b5780601f106109105761010080835404028352916020019161093b565b6110ae61157c565b6001600160a01b0316826001600160a01b03161415611114576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b80600b600061112161157c565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff19169215159290921790915561116561157c565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b6040518060600160405280604081526020016126b96040913981565b61271081565b6111de6111d861157c565b83611606565b6112195760405162461bcd60e51b81526004018080602001828103825260318152602001806126886031913960400191505060405180910390fd5b61122584848484611944565b50505050565b6000908152600a602052604090205460ff1690565b606061124b82611580565b61125457600080fd5b610b1361125f611273565b61126884611996565b611a71565b60035481565b600e8054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561093b5780601f106109105761010080835404028352916020019161093b565b60025481565b6001600160a01b039182166000908152600b6020908152604080832093909416825291909152205460ff1690565b61131061157c565b6000546001600160a01b03908116911614611360576040805162461bcd60e51b8152602060048201819052602482015260008051602061261e833981519152604482015290519081900360640190fd5b6001600160a01b0381166113a55760405162461bcd60e51b81526004018080602001828103825260268152602001806124856026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60006360515490421015611452576040805162461bcd60e51b815260206004820152601460248201527314d85b19481a185cc81b9bdd081cdd185c9d195960621b604482015290519081900360640190fd5b61271061145d610a7e565b106114a8576040805162461bcd60e51b815260206004820152601660248201527514d85b19481a185cc8185b1c9958591e48195b99195960521b604482015290519081900360640190fd5b60006114b2610a7e565b905061270c81106114ce57678ac7230489e80000915050610943565b6126ac81106114e857671bc16d674ec80000915050610943565b6123288110611502576706f05b59d3b20000915050610943565b611b58811061151c576702a303fe4b530000915050610943565b610fa081106115365767016345785d8a0000915050610943565b6107d0811061154f5766b1a2bc2ec50000915050610943565b6103e881106115685766470de4df820000915050610943565b662386f26fc10000915050610943565b5090565b3390565b6000610b13600583611b2c565b600081815260076020526040902080546001600160a01b0319166001600160a01b03841690811790915581906115c282610bd5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610b1382611b38565b600061161182611580565b61164c5760405162461bcd60e51b815260040180806020018281038252602c8152602001806124cf602c913960400191505060405180910390fd5b600061165783610bd5565b9050806001600160a01b0316846001600160a01b031614806116925750836001600160a01b031661168784610946565b6001600160a01b0316145b806116a257506116a281856112da565b949350505050565b826001600160a01b03166116bd82610bd5565b6001600160a01b0316146117025760405162461bcd60e51b815260040180806020018281038252602981526020018061263e6029913960400191505060405180910390fd5b6001600160a01b0382166117475760405162461bcd60e51b81526004018080602001828103825260248152602001806124ab6024913960400191505060405180910390fd5b6117528383836108aa565b61175d60008261158d565b6001600160a01b038316600090815260046020526040902061177f9082611b3c565b506001600160a01b03821660009081526004602052604090206117a29082611b48565b506117af60058284611b54565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610b108383611b6a565b60008080806118118686611bce565b9097909650945050505050565b600061182b848484611c49565b90505b9392505050565b6000610b1083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611d13565b600082820183811015610b10576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000826118e057506000610b13565b828202828482816118ed57fe5b0414610b105760405162461bcd60e51b81526004018080602001828103825260218152602001806125d16021913960400191505060405180910390fd5b610ba0828260405180602001604052806000815250611d6d565b61194f8484846116aa565b61195b84848484611dbf565b6112255760405162461bcd60e51b81526004018080602001828103825260328152602001806124536032913960400191505060405180910390fd5b6060816119bb57506040805180820190915260018152600360fc1b6020820152610841565b8160005b81156119d357600101600a820491506119bf565b60608167ffffffffffffffff811180156119ec57600080fd5b506040519080825280601f01601f191660200182016040528015611a17576020820181803683370190505b50859350905060001982015b8315611a6857600a840660300160f81b82828060019003935081518110611a4657fe5b60200101906001600160f81b031916908160001a905350600a84049350611a23565b50949350505050565b606082826040516020018083805190602001908083835b60208310611aa75780518252601f199092019160209182019101611a88565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b60208310611aef5780518252601f199092019160209182019101611ad0565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052905092915050565b6000610b108383611f27565b5490565b6000610b108383611f3f565b6000610b108383612005565b600061182b84846001600160a01b03851661204f565b81546000908210611bac5760405162461bcd60e51b81526004018080602001828103825260228152602001806124316022913960400191505060405180910390fd5b826000018281548110611bbb57fe5b9060005260206000200154905092915050565b815460009081908310611c125760405162461bcd60e51b81526004018080602001828103825260228152602001806125af6022913960400191505060405180910390fd5b6000846000018481548110611c2357fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008281526001840160205260408120548281611ce45760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611ca9578181015183820152602001611c91565b50505050905090810190601f168015611cd65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50846000016001820381548110611cf757fe5b9060005260206000209060020201600101549150509392505050565b60008184841115611d655760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611ca9578181015183820152602001611c91565b505050900390565b611d7783836120e6565b611d846000848484611dbf565b6108aa5760405162461bcd60e51b81526004018080602001828103825260328152602001806124536032913960400191505060405180910390fd5b6000611dd3846001600160a01b0316612214565b611ddf575060016116a2565b6060611eed630a85bd0160e11b611df461157c565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015611e5b578181015183820152602001611e43565b50505050905090810190601f168015611e885780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001612453603291396001600160a01b038816919061221a565b90506000818060200190516020811015611f0657600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b60009081526001919091016020526040902054151590565b60008181526001830160205260408120548015611ffb5783546000198083019190810190600090879083908110611f7257fe5b9060005260206000200154905080876000018481548110611f8f57fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080611fbf57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610b13565b6000915050610b13565b60006120118383611f27565b61204757508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610b13565b506000610b13565b6000828152600184016020526040812054806120b457505060408051808201825283815260208082018481528654600181810189556000898152848120955160029093029095019182559151908201558654868452818801909252929091205561182e565b828560000160018303815481106120c757fe5b906000526020600020906002020160010181905550600091505061182e565b6001600160a01b038216612141576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b61214a81611580565b1561219c576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b6121a8600083836108aa565b6001600160a01b03821660009081526004602052604090206121ca9082611b48565b506121d760058284611b54565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b606061182b84846000858561222e85612214565b61227f576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106122be5780518252601f19909201916020918201910161229f565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612320576040519150601f19603f3d011682016040523d82523d6000602084013e612325565b606091505b5091509150612335828286612340565b979650505050505050565b6060831561234f57508161182e565b82511561235f5782518084602001fd5b60405162461bcd60e51b8152602060048201818152845160248401528451859391928392604401919085019080838360008315611ca9578181015183820152602001611c91565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106123e75782800160ff19823516178555612414565b82800160010185558215612414579182015b828111156124145782358255916020019190600101906123f9565b506115789291505b80821115611578576000815560010161241c56fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c596f75206d6179206e6f7420627579206d6f7265207468616e203230204e465473206174206f6e63654552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e6473536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656433313039626439323437386366376637333831346166613265373332343636323361333635343166666630346265326630663530656431633938646132643139a264697066735822122065c4bbb0c53e254f1c7ef83ae6e25437d20bfa0970d5c03196ba11d051bb267464736f6c63430007000033

Deployed Bytecode Sourcemap

1981:19446:2:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;977:142:3;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;977:142:3;-1:-1:-1;;;;;;977:142:3;;:::i;:::-;;;;;;;;;;;;;;;;;;7309:102:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7309:102:2;;-1:-1:-1;7309:102:2;-1:-1:-1;7309:102:2;:::i;:::-;;6937:92;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12351:213;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12351:213:2;;:::i;:::-;;;;-1:-1:-1;;;;;12351:213:2;;;;;;;;;;;;;;11895:390;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;11895:390:2;;;;;;;;:::i;7948:203::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;2670:78;;;;;;;;;;;;;:::i;13225:305::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;13225:305:2;;;;;;;;;;;;;;;;;:::i;7718:154::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;7718:154:2;;;;;;;;:::i;11702:131::-;;;;;;;;;;;;;:::i;13601:151::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;13601:151:2;;;;;;;;;;;;;;;;;:::i;8228:164::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8228:164:2;;:::i;6701:169::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6701:169:2;;:::i;6424:215::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6424:215:2;-1:-1:-1;;;;;6424:215:2;;:::i;1227:148:11:-;;;;;;;;;;;;;:::i;10919:691:2:-;;;;;;;;;;;;;:::i;585:79:11:-;;;;;;;;;;;;;:::i;9765:1091:2:-;;;;;;;;;;;;;;;;-1:-1:-1;9765:1091:2;;:::i;2504:57::-;;;;;;;;;;;;;:::i;7098:96::-;;;;;;;;;;;;;:::i;12636:295::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;12636:295:2;;;;;;;;;;:::i;2382:113::-;;;;;;;;;;;;;:::i;2757:46::-;;;;;;;;;;;;;:::i;13823:285::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;13823:285:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13823:285:2;;-1:-1:-1;13823:285:2;;-1:-1:-1;;;;;13823:285:2:i;8484:133::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8484:133:2;;:::i;7419:217::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7419:217:2;;:::i;2854:28::-;;;;;;;;;;;;;:::i;7202:99::-;;;;;;;;;;;;;:::i;2812:33::-;;;;;;;;;;;;;:::i;13002:156::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;13002:156:2;;;;;;;;;;:::i;1530:244:11:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1530:244:11;-1:-1:-1;;;;;1530:244:11;;:::i;8685:1031:2:-;;;;;;;;;;;;;:::i;977:142:3:-;-1:-1:-1;;;;;;1078:33:3;;1054:4;1078:33;;;:20;:33;;;;;;;;977:142;;;;:::o;7309:102:2:-;807:12:11;:10;:12::i;:::-;797:6;;-1:-1:-1;;;;;797:6:11;;;:22;;;789:67;;;;;-1:-1:-1;;;789:67:11;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;789:67:11;;;;;;;;;;;;;;;7381:22:2::1;:13;7397:6:::0;;7381:22:::1;:::i;:::-;;7309:102:::0;;:::o;6937:92::-;7016:5;7009:12;;;;;;;;-1:-1:-1;;7009:12:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6983:13;;7009:12;;7016:5;;7009:12;;7016:5;7009:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6937:92;;:::o;12351:213::-;12419:7;12447:16;12455:7;12447;:16::i;:::-;12439:73;;;;-1:-1:-1;;;12439:73:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12532:24:2;;;;:15;:24;;;;;;-1:-1:-1;;;;;12532:24:2;;12351:213::o;11895:390::-;11976:13;11992:16;12000:7;11992;:16::i;:::-;11976:32;;12033:5;-1:-1:-1;;;;;12027:11:2;:2;-1:-1:-1;;;;;12027:11:2;;;12019:57;;;;-1:-1:-1;;;12019:57:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12113:5;-1:-1:-1;;;;;12097:21:2;:12;:10;:12::i;:::-;-1:-1:-1;;;;;12097:21:2;;:62;;;;12122:37;12139:5;12146:12;:10;:12::i;:::-;12122:16;:37::i;:::-;12089:154;;;;-1:-1:-1;;;12089:154:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12256:21;12265:2;12269:7;12256:8;:21::i;7948:203::-;8001:7;8122:21;:12;:19;:21::i;:::-;8115:28;;7948:203;:::o;2670:78::-;2713:35;2670:78;:::o;13225:305::-;13386:41;13405:12;:10;:12::i;:::-;13419:7;13386:18;:41::i;:::-;13378:103;;;;-1:-1:-1;;;13378:103:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13494:28;13504:4;13510:2;13514:7;13494:9;:28::i;7718:154::-;-1:-1:-1;;;;;7834:20:2;;7807:7;7834:20;;;:13;:20;;;;;:30;;7858:5;7834:23;:30::i;:::-;7827:37;;7718:154;;;;;:::o;11702:131::-;807:12:11;:10;:12::i;:::-;797:6;;-1:-1:-1;;;;;797:6:11;;;:22;;;789:67;;;;;-1:-1:-1;;;789:67:11;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;789:67:11;;;;;;;;;;;;;;;11797:28:2::1;::::0;11765:21:::1;::::0;11797:10:::1;::::0;:28;::::1;;;::::0;11765:21;;11750:12:::1;11797:28:::0;11750:12;11797:28;11765:21;11797:10;:28;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;867:1:11;11702:131:2:o:0;13601:151::-;13705:39;13722:4;13728:2;13732:7;13705:39;;;;;;;;;;;;:16;:39::i;8228:164::-;8295:7;;8337:22;:12;8353:5;8337:15;:22::i;:::-;-1:-1:-1;8315:44:2;8228:164;-1:-1:-1;;;8228:164:2:o;6701:169::-;6765:7;6792:70;6809:7;6792:70;;;;;;;;;;;;;;;;;:12;;:70;:16;:70::i;6424:215::-;6488:7;-1:-1:-1;;;;;6516:19:2;;6508:74;;;;-1:-1:-1;;;6508:74:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6602:20:2;;;;;;:13;:20;;;;;:29;;:27;:29::i;1227:148:11:-;807:12;:10;:12::i;:::-;797:6;;-1:-1:-1;;;;;797:6:11;;;:22;;;789:67;;;;;-1:-1:-1;;;789:67:11;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;789:67:11;;;;;;;;;;;;;;;1334:1:::1;1318:6:::0;;1297:40:::1;::::0;-1:-1:-1;;;;;1318:6:11;;::::1;::::0;1297:40:::1;::::0;1334:1;;1297:40:::1;1365:1;1348:19:::0;;-1:-1:-1;;;;;;1348:19:11::1;::::0;;1227:148::o;10919:691:2:-;10978:13;;:18;10970:60;;;;;-1:-1:-1;;;10970:60:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;11049:18;;11041:68;;;;;-1:-1:-1;;;11041:68:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11161:18;;2798:5;11151:29;;11146:52;11130:13;:68;11373:3;;11334:36;;:12;;:16;:36::i;:::-;:42;11330:139;;;2798:5;-1:-1:-1;;11424:12:2;:14;11414:25;11409:48;11393:13;:64;11330:139;11520:13;;11516:87;;11571:13;;:20;;11589:1;11571:17;:20::i;:::-;11555:13;:36;11516:87;10919:691::o;585:79:11:-;623:7;650:6;-1:-1:-1;;;;;650:6:11;585:79;:::o;9765:1091:2:-;2798:5;9838:13;:11;:13::i;:::-;:30;9830:65;;;;;-1:-1:-1;;;9830:65:2;;;;;;;;;;;;-1:-1:-1;;;9830:65:2;;;;;;;;;;;;;;;9929:1;9914:12;:16;9906:53;;;;;-1:-1:-1;;;9906:53:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;9994:2;9978:12;:18;;9970:72;;;;-1:-1:-1;;;9970:72:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2798:5;10061:31;10079:12;10061:13;:11;:13::i;:::-;:17;;:31::i;:::-;:49;;10053:84;;;;;-1:-1:-1;;;10053:84:2;;;;;;;;;;;;-1:-1:-1;;;10053:84:2;;;;;;;;;;;;;;;10191:9;10156:31;10174:12;10156:13;:11;:13::i;:::-;:17;;:31::i;:::-;:44;10148:88;;;;;-1:-1:-1;;;10148:88:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;10254:6;10249:270;10270:12;10266:1;:16;10249:270;;;10304:14;10321:13;:11;:13::i;:::-;10304:30;-1:-1:-1;2713:35:2;10353:15;:34;10349:112;;;10408:30;;;;:19;:30;;;;;:37;;-1:-1:-1;;10408:37:2;10441:4;10408:37;;;10349:112;10475:32;10485:10;10497:9;10475;:32::i;:::-;-1:-1:-1;10284:3:2;;10249:270;;;-1:-1:-1;10688:18:2;;:23;:99;;;;;2798:5;10716:13;:11;:13::i;:::-;:31;:70;;;-1:-1:-1;2713:35:2;10751:15;:35;;10716:70;10684:165;;;10825:12;10804:18;:33;10684:165;9765:1091;:::o;2504:57::-;2551:10;2504:57;:::o;7098:96::-;7179:7;7172:14;;;;;;;;-1:-1:-1;;7172:14:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7146:13;;7172:14;;7179:7;;7172:14;;7179:7;7172:14;;;;;;;;;;;;;;;;;;;;;;;;12636:295;12751:12;:10;:12::i;:::-;-1:-1:-1;;;;;12739:24:2;:8;-1:-1:-1;;;;;12739:24:2;;;12731:62;;;;;-1:-1:-1;;;12731:62:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;12851:8;12806:18;:32;12825:12;:10;:12::i;:::-;-1:-1:-1;;;;;12806:32:2;;;;;;;;;;;;;;;;;-1:-1:-1;12806:32:2;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;12806:53:2;;;;;;;;;;;12890:12;:10;:12::i;:::-;-1:-1:-1;;;;;12875:48:2;;12914:8;12875:48;;;;;;;;;;;;;;;;;;;;12636:295;;:::o;2382:113::-;;;;;;;;;;;;;;;;;;;:::o;2757:46::-;2798:5;2757:46;:::o;13823:285::-;13955:41;13974:12;:10;:12::i;:::-;13988:7;13955:18;:41::i;:::-;13947:103;;;;-1:-1:-1;;;13947:103:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14061:39;14075:4;14081:2;14085:7;14094:5;14061:13;:39::i;:::-;13823:285;;;;:::o;8484:133::-;8559:4;8583:26;;;:19;:26;;;;;;;;;8484:133::o;7419:217::-;7486:13;7516:16;7524:7;7516;:16::i;:::-;7508:25;;;;;;7547:83;7575:14;:12;:14::i;:::-;7598:25;7615:7;7598:16;:25::i;:::-;7547:19;:83::i;2854:28::-;;;;:::o;7202:99::-;7280:13;7273:20;;;;;;;;-1:-1:-1;;7273:20:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7247:13;;7273:20;;7280:13;;7273:20;;7280:13;7273:20;;;;;;;;;;;;;;;;;;;;;;;;2812:33;;;;:::o;13002:156::-;-1:-1:-1;;;;;13115:25:2;;;13091:4;13115:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;13002:156::o;1530:244:11:-;807:12;:10;:12::i;:::-;797:6;;-1:-1:-1;;;;;797:6:11;;;:22;;;789:67;;;;;-1:-1:-1;;;789:67:11;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;789:67:11;;;;;;;;;;;;;;;-1:-1:-1;;;;;1619:22:11;::::1;1611:73;;;;-1:-1:-1::0;;;1611:73:11::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1721:6;::::0;;1700:38:::1;::::0;-1:-1:-1;;;;;1700:38:11;;::::1;::::0;1721:6;::::1;::::0;1700:38:::1;::::0;::::1;1749:6;:17:::0;;-1:-1:-1;;;;;;1749:17:11::1;-1:-1:-1::0;;;;;1749:17:11;;;::::1;::::0;;;::::1;::::0;;1530:244::o;8685:1031:2:-;8729:7;2551:10;8757:15;:39;;8749:72;;;;;-1:-1:-1;;;8749:72:2;;;;;;;;;;;;-1:-1:-1;;;8749:72:2;;;;;;;;;;;;;;;2798:5;8840:13;:11;:13::i;:::-;:30;8832:65;;;;;-1:-1:-1;;;8832:65:2;;;;;;;;;;;;-1:-1:-1;;;8832:65:2;;;;;;;;;;;;;;;8910:18;8931:13;:11;:13::i;:::-;8910:34;;8978:4;8961:13;:21;8957:752;;9006:8;8999:15;;;;;8957:752;9074:4;9057:13;:21;9053:656;;9102:7;9095:14;;;;;9053:656;9167:4;9150:13;:21;9146:563;;9195:9;9188:16;;;;;9146:563;9264:4;9247:13;:21;9243:466;;9292:10;9285:17;;;;;9243:466;9363:4;9346:13;:21;9342:367;;9391:9;9384:16;;;;;9342:367;9462:4;9445:13;:21;9441:268;;9490:10;9483:17;;;;;9441:268;9563:4;9546:13;:21;9542:167;;9591:10;9584:17;;;;;9542:167;9666:10;9659:17;;;;;9542:167;8685:1031;;:::o;607:106:1:-;695:10;607:106;:::o;15575:119:2:-;15632:4;15656:30;:12;15678:7;15656:21;:30::i;20558:158::-;20624:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;20624:29:2;-1:-1:-1;;;;;20624:29:2;;;;;;;;:24;;20678:16;20624:24;20678:7;:16::i;:::-;-1:-1:-1;;;;;20669:39:2;;;;;;;;;;;20558:158;;:::o;7228:123:4:-;7297:7;7324:19;7332:3;7324:7;:19::i;15861:333:2:-;15946:4;15971:16;15979:7;15971;:16::i;:::-;15963:73;;;;-1:-1:-1;;;15963:73:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16047:13;16063:16;16071:7;16063;:16::i;:::-;16047:32;;16109:5;-1:-1:-1;;;;;16098:16:2;:7;-1:-1:-1;;;;;16098:16:2;;:51;;;;16142:7;-1:-1:-1;;;;;16118:31:2;:20;16130:7;16118:11;:20::i;:::-;-1:-1:-1;;;;;16118:31:2;;16098:51;:87;;;;16153:32;16170:5;16177:7;16153:16;:32::i;:::-;16090:96;15861:333;-1:-1:-1;;;;15861:333:2:o;18805:574::-;18923:4;-1:-1:-1;;;;;18903:24:2;:16;18911:7;18903;:16::i;:::-;-1:-1:-1;;;;;18903:24:2;;18895:78;;;;-1:-1:-1;;;18895:78:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18992:16:2;;18984:65;;;;-1:-1:-1;;;18984:65:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19062:39;19083:4;19089:2;19093:7;19062:20;:39::i;:::-;19166:29;19183:1;19187:7;19166:8;:29::i;:::-;-1:-1:-1;;;;;19208:19:2;;;;;;:13;:19;;;;;:35;;19235:7;19208:26;:35::i;:::-;-1:-1:-1;;;;;;19254:17:2;;;;;;:13;:17;;;;;:30;;19276:7;19254:21;:30::i;:::-;-1:-1:-1;19297:29:2;:12;19314:7;19323:2;19297:16;:29::i;:::-;;19363:7;19359:2;-1:-1:-1;;;;;19344:27:2;19353:4;-1:-1:-1;;;;;19344:27:2;;;;;;;;;;;18805:574;;;:::o;7892:137:5:-;7963:7;7998:22;8002:3;8014:5;7998:3;:22::i;7690:227:4:-;7770:7;;;;7830:22;7834:3;7846:5;7830:3;:22::i;:::-;7799:53;;;;-1:-1:-1;7690:227:4;-1:-1:-1;;;;;7690:227:4:o;8352:204::-;8459:7;8502:44;8507:3;8527;8533:12;8502:4;:44::i;:::-;8494:53;-1:-1:-1;8352:204:4;;;;;;:::o;1372:136:12:-;1430:7;1457:43;1461:1;1464;1457:43;;;;;;;;;;;;;;;;;:3;:43::i;908:181::-;966:7;998:5;;;1022:6;;;;1014:46;;;;;-1:-1:-1;;;1014:46:12;;;;;;;;;;;;;;;;;;;;;;;;;;;2262:471;2320:7;2565:6;2561:47;;-1:-1:-1;2595:1:12;2588:8;;2561:47;2632:5;;;2636:1;2632;:5;:1;2656:5;;;;;:10;2648:56;;;;-1:-1:-1;;;2648:56:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16537:110:2;16613:26;16623:2;16627:7;16613:26;;;;;;;;;;;;:9;:26::i;14990:272::-;15104:28;15114:4;15120:2;15124:7;15104:9;:28::i;:::-;15151:48;15174:4;15180:2;15184:7;15193:5;15151:22;:48::i;:::-;15143:111;;;;-1:-1:-1;;;15143:111:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;219:744:13;275:13;496:10;492:53;;-1:-1:-1;523:10:13;;;;;;;;;;;;-1:-1:-1;;;523:10:13;;;;;;492:53;570:5;555:12;611:78;618:9;;611:78;;644:8;;675:2;667:10;;;;611:78;;;699:19;731:6;721:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;721:17:13;-1:-1:-1;793:5:13;;-1:-1:-1;699:39:13;-1:-1:-1;;;765:10:13;;809:115;816:9;;809:115;;883:2;876:4;:9;871:2;:14;860:27;;842:6;849:7;;;;;;;842:15;;;;;;;;;;;:45;-1:-1:-1;;;;;842:45:13;;;;;;;;-1:-1:-1;910:2:13;902:10;;;;809:115;;;-1:-1:-1;948:6:13;219:744;-1:-1:-1;;;;219:744:13:o;971:155::-;1049:15;1110:1;1113;1093:22;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1093:22:13;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1093:22:13;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1093:22:13;;;;;;;;;;;;;-1:-1:-1;;1093:22:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1079:37;;971:155;;;;:::o;6989:151:4:-;7073:4;7097:35;7107:3;7127;7097:9;:35::i;4611:110::-;4694:19;;4611:110::o;6979:137:5:-;7049:4;7073:35;7081:3;7101:5;7073:7;:35::i;6672:131::-;6739:4;6763:32;6768:3;6788:5;6763:4;:32::i;6421:176:4:-;6510:4;6534:55;6539:3;6559;-1:-1:-1;;;;;6573:14:4;;6534:4;:55::i;4556:204:5:-;4651:18;;4623:7;;4651:26;-1:-1:-1;4643:73:5;;;;-1:-1:-1;;;4643:73:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4734:3;:11;;4746:5;4734:18;;;;;;;;;;;;;;;;4727:25;;4556:204;;;;:::o;5076:279:4:-;5180:19;;5143:7;;;;5180:27;-1:-1:-1;5172:74:4;;;;-1:-1:-1;;;5172:74:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5259:22;5284:3;:12;;5297:5;5284:19;;;;;;;;;;;;;;;;;;5259:44;;5322:5;:10;;;5334:5;:12;;;5314:33;;;;;5076:279;;;;;:::o;5778:319::-;5872:7;5911:17;;;:12;;;:17;;;;;;5962:12;5947:13;5939:36;;;;-1:-1:-1;;;5939:36:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6029:3;:12;;6053:1;6042:8;:12;6029:26;;;;;;;;;;;;;;;;;;:33;;;6022:40;;;5778:319;;;;;:::o;1811:192:12:-;1897:7;1933:12;1925:6;;;;1917:29;;;;-1:-1:-1;;;1917:29:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1969:5:12;;;1811:192::o;16874:250:2:-;16970:18;16976:2;16980:7;16970:5;:18::i;:::-;17007:54;17038:1;17042:2;17046:7;17055:5;17007:22;:54::i;:::-;16999:117;;;;-1:-1:-1;;;16999:117:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19946:604;20067:4;20094:15;:2;-1:-1:-1;;;;;20094:13:2;;:15::i;:::-;20089:60;;-1:-1:-1;20133:4:2;20126:11;;20089:60;20159:23;20185:252;-1:-1:-1;;;20298:12:2;:10;:12::i;:::-;20325:4;20344:7;20366:5;20201:181;;;;;;-1:-1:-1;;;;;20201:181:2;;;;;;-1:-1:-1;;;;;20201:181:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20201:181:2;;;;;;;-1:-1:-1;;;;;20201:181:2;;;;;;;;;;;20185:252;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20185:15:2;;;:252;:15;:252::i;:::-;20159:278;;20448:13;20475:10;20464:32;;;;;;;;;;;;;;;-1:-1:-1;20464:32:2;-1:-1:-1;;;;;;20515:26:2;-1:-1:-1;;;20515:26:2;;-1:-1:-1;;;19946:604:2;;;;;;:::o;4391:125:4:-;4462:4;4486:17;;;:12;;;;;:17;;;;;;:22;;;4391:125::o;2258:1544:5:-;2324:4;2463:19;;;:12;;;:19;;;;;;2499:15;;2495:1300;;2934:18;;-1:-1:-1;;2885:14:5;;;;2934:22;;;;2861:21;;2934:3;;:22;;3221;;;;;;;;;;;;;;3201:42;;3367:9;3338:3;:11;;3350:13;3338:26;;;;;;;;;;;;;;;;;;;:38;;;;3444:23;;;3486:1;3444:12;;;:23;;;;;;3470:17;;;3444:43;;3596:17;;3444:3;;3596:17;;;;;;;;;;;;;;;;;;;;;;3691:3;:12;;:19;3704:5;3691:19;;;;;;;;;;;3684:26;;;3734:4;3727:11;;;;;;;;2495:1300;3778:5;3771:12;;;;;1668:414;1731:4;1753:21;1763:3;1768:5;1753:9;:21::i;:::-;1748:327;;-1:-1:-1;1791:23:5;;;;;;;;:11;:23;;;;;;;;;;;;;1974:18;;1952:19;;;:12;;;:19;;;;;;:40;;;;2007:11;;1748:327;-1:-1:-1;2058:5:5;2051:12;;1891:692:4;1967:4;2102:17;;;:12;;;:17;;;;;;2136:13;2132:444;;-1:-1:-1;;2221:38:4;;;;;;;;;;;;;;;;;;2203:57;;;;;;;;:12;:57;;;;;;;;;;;;;;;;;;;;;;;;2418:19;;2398:17;;;:12;;;:17;;;;;;;:39;2452:11;;2132:444;2532:5;2496:3;:12;;2520:1;2509:8;:12;2496:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;2559:5;2552:12;;;;;17460:404:2;-1:-1:-1;;;;;17540:16:2;;17532:61;;;;;-1:-1:-1;;;17532:61:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17613:16;17621:7;17613;:16::i;:::-;17612:17;17604:58;;;;;-1:-1:-1;;;17604:58:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;17675:45;17704:1;17708:2;17712:7;17675:20;:45::i;:::-;-1:-1:-1;;;;;17733:17:2;;;;;;:13;:17;;;;;:30;;17755:7;17733:21;:30::i;:::-;-1:-1:-1;17776:29:2;:12;17793:7;17802:2;17776:16;:29::i;:::-;-1:-1:-1;17823:33:2;;17848:7;;-1:-1:-1;;;;;17823:33:2;;;17840:1;;17823:33;;17840:1;;17823:33;17460:404;;:::o;747:422:0:-;1114:20;1153:8;;;747:422::o;3665:195::-;3768:12;3800:52;3822:6;3830:4;3836:1;3839:12;3768;4969:18;4980:6;4969:10;:18::i;:::-;4961:60;;;;;-1:-1:-1;;;4961:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;5095:12;5109:23;5136:6;-1:-1:-1;;;;;5136:11:0;5156:5;5164:4;5136:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5136:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5094:75;;;;5187:52;5205:7;5214:10;5226:12;5187:17;:52::i;:::-;5180:59;4717:530;-1:-1:-1;;;;;;;4717:530:0:o;7257:742::-;7372:12;7401:7;7397:595;;;-1:-1:-1;7432:10:0;7425:17;;7397:595;7546:17;;:21;7542:439;;7809:10;7803:17;7870:15;7857:10;7853:2;7849:19;7842:44;7757:148;7945:20;;-1:-1:-1;;;7945:20:0;;;;;;;;;;;;;;;;;7952:12;;7945:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://65c4bbb0c53e254f1c7ef83ae6e25437d20bfa0970d5c03196ba11d051bb2674
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.