ETH Price: $2,627.87 (+1.46%)

Contract

0x28DA57Bff9Ae4320D1cC9928c569ab2F03E296E8
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Mint151014622022-07-08 10:49:58775 days ago1657277398IN
0x28DA57Bf...F03E296E8
0 ETH0.0016388114.47195084
Set Approval For...151014042022-07-08 10:35:43775 days ago1657276543IN
0x28DA57Bf...F03E296E8
0 ETH0.000453359.81272872
Mint151013762022-07-08 10:29:12775 days ago1657276152IN
0x28DA57Bf...F03E296E8
0 ETH0.0012704211.21874498
Set Approval For...151013712022-07-08 10:28:41775 days ago1657276121IN
0x28DA57Bf...F03E296E8
0 ETH0.0005439311.77322378
Mint151013622022-07-08 10:27:10775 days ago1657276030IN
0x28DA57Bf...F03E296E8
0 ETH0.0016648714.70204881
Mint151013512022-07-08 10:24:03775 days ago1657275843IN
0x28DA57Bf...F03E296E8
0 ETH0.0012565911.0966548
Mint151013152022-07-08 10:16:46775 days ago1657275406IN
0x28DA57Bf...F03E296E8
0 ETH0.0014183612.52520657
Mint151012062022-07-08 9:54:35775 days ago1657274075IN
0x28DA57Bf...F03E296E8
0 ETH0.000749619.72550383
Mint151011912022-07-08 9:52:57775 days ago1657273977IN
0x28DA57Bf...F03E296E8
0 ETH0.0018539216.66044711
Mint151011852022-07-08 9:51:34775 days ago1657273894IN
0x28DA57Bf...F03E296E8
0 ETH0.0020001317.66267659
Set Not Revealed...151010712022-07-08 9:24:54775 days ago1657272294IN
0x28DA57Bf...F03E296E8
0 ETH0.0009799325.87972503
Set Not Revealed...151009812022-07-08 9:01:35775 days ago1657270895IN
0x28DA57Bf...F03E296E8
0 ETH0.0008956327.75856789
Mint151008762022-07-08 8:37:19775 days ago1657269439IN
0x28DA57Bf...F03E296E8
0 ETH0.0020569418.16432842
Mint151008082022-07-08 8:22:02775 days ago1657268522IN
0x28DA57Bf...F03E296E8
0 ETH0.0015894114.03572131
Mint151007962022-07-08 8:19:47775 days ago1657268387IN
0x28DA57Bf...F03E296E8
0 ETH0.0014944813.19739874
Mint151007442022-07-08 8:08:46775 days ago1657267726IN
0x28DA57Bf...F03E296E8
0 ETH0.0024073421.25862097
Mint151007442022-07-08 8:08:46775 days ago1657267726IN
0x28DA57Bf...F03E296E8
0 ETH0.0024073421.25862097
Mint151007442022-07-08 8:08:46775 days ago1657267726IN
0x28DA57Bf...F03E296E8
0 ETH0.0024073421.25862097
Mint151007402022-07-08 8:06:58775 days ago1657267618IN
0x28DA57Bf...F03E296E8
0 ETH0.0019924917.59516006
Mint151007402022-07-08 8:06:58775 days ago1657267618IN
0x28DA57Bf...F03E296E8
0 ETH0.0019924917.59516006
Mint151007382022-07-08 8:06:47775 days ago1657267607IN
0x28DA57Bf...F03E296E8
0 ETH0.0023194320.4822475
Mint151007372022-07-08 8:06:44775 days ago1657267604IN
0x28DA57Bf...F03E296E8
0 ETH0.0021593119.06833013
Mint151007372022-07-08 8:06:44775 days ago1657267604IN
0x28DA57Bf...F03E296E8
0 ETH0.0022725520.06833013
Mint151007352022-07-08 8:06:21775 days ago1657267581IN
0x28DA57Bf...F03E296E8
0 ETH0.0025186622.24167452
Mint151007342022-07-08 8:06:02775 days ago1657267562IN
0x28DA57Bf...F03E296E8
0 ETH0.0028199524.90225305
View all transactions

Advanced mode:
Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BodyArmor

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 1 of 13: BodyArmor.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.7;

import "./ERC721A.sol";
import "./Ownable.sol";
import "./Strings.sol";

contract BodyArmor is ERC721A, Ownable {

  using Strings for uint256;

  string private baseURI;
  string private notRevealedUri;
  string public baseExtension = ".json";
  uint256 public cost = 0.003 ether;
  uint256 public maxSupply = 5555;
  uint256 public freeMint = 2000;
  uint256 public maxMintAmount = 2;
  uint256 public nftPerAddressLimit = 2;

  bool public paused = true;
  bool public revealed = false;

  mapping( address => uint256 ) public addressMintedBalance;
  mapping( address => mapping( uint256 => uint256 )) private _ownedTokens;
  
  constructor(
    string memory _initBaseURI,  
    string memory _initNotRevealUri 
  ) ERC721A( "BodyArmor", "BA" ) {
    setBaseURI( _initBaseURI ); 
    setNotRevealedURI( _initNotRevealUri ); 
  }

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

  function mint( uint256 _mintAmount ) public payable {
    require( paused, "The Contract is Paused!!!" );
    uint256 supply = totalSupply();
    require( _mintAmount > 0, "Need to Mint at Least 1 NFT" );
    require( _mintAmount <= maxMintAmount, "Max Mint Amount Per Session Exceeded" );
    require( supply + _mintAmount <= maxSupply, "Max NFT Limit Exceeded" );
    if ( msg.sender != owner() ) {
        uint256 ownerMintedCount = addressMintedBalance[msg.sender];
        require(ownerMintedCount + _mintAmount <= nftPerAddressLimit, "Max NFT Per Address Exceeded");
        if(supply <= freeMint) {
            uint256 valueNumber = freeMint - supply;
            if(_mintAmount >= valueNumber) {
              require(msg.value >= cost * (_mintAmount-valueNumber), "Insufficient Funds");
            }
        } else {
            require(msg.value >= cost * _mintAmount, "Insufficient Funds");
        }
    }
    addressMintedBalance[ msg.sender ] += _mintAmount;
    _safeMint( msg.sender, _mintAmount );
  }

  function tokenURI( uint256 tokenId ) public view virtual override returns ( string memory ) {
    require( _exists( tokenId ), "BodyArmor : URI query for nonexistent token" );
    if ( revealed == false ) {
        return notRevealedUri;
    }
    string memory currentBaseURI = _baseURI();
    return bytes( currentBaseURI ).length > 0 ? string( abi.encodePacked( currentBaseURI, tokenId.toString(), baseExtension )) : "";
  }

  function getNoToken( address _wallet ) public view returns( uint ) {
    return balanceOf(_wallet);
  }

  function getMintCost() public view returns( uint ) {
    return cost;
  }

  function getTotalMinted() public view returns( uint ) {
    return _totalMinted();
  }

  function getMaxSupply() public view returns( uint ) {
    return maxSupply;
  }

  function getMintLimit() public view returns( uint ) {
    return nftPerAddressLimit;
  }

  function isOwner( address _wallet ) public view returns( bool ) {
    if ( _wallet == owner() ) {
      return true;
    }
    return false;
  }

  function getMintCount( address _wallet ) public view returns( uint ) {
    return addressMintedBalance[ _wallet ];
  }

  function pause( bool _state ) public onlyOwner {
    paused = _state;
  }

  function reveal() public onlyOwner {
    revealed = true;
  }

  function notReveal() public onlyOwner {
    revealed = false;
  }
  
  function setMaxMintAmount( uint256 _newMaxMintAmount ) public onlyOwner {
    maxMintAmount = _newMaxMintAmount;
  }

  function setNftLimit( uint256 _limit ) public onlyOwner {
    nftPerAddressLimit = _limit;
  }

  function setBaseExtension( string memory _newBaseExtension ) public onlyOwner {
    baseExtension = _newBaseExtension;
  }

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

  function setNotRevealedURI( string memory _notRevealedURI ) public onlyOwner {
    notRevealedUri = _notRevealedURI;
  }

  function withdraw() public payable onlyOwner {
    ( bool _withdraw, ) = payable( owner() ).call { value: address( this ).balance }( "" );
    require( _withdraw );
  }
}

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.4;

import './IERC721.sol';
import './IERC721Receiver.sol';
import './IERC721Metadata.sol';
import './Address.sol';
import './Context.sol';
import './Strings.sol';
import './ERC165.sol';

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerQueryForNonexistentToken();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

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

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

    /**
     * @dev This is equivalent to _burn(tokenId, false)
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = prevOwnership.addr;

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

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

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

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

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

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

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

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

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

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

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

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

File 6 of 13: ERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './ERC721A.sol';

error InvalidQueryRange();

/**
 * @title ERC721A Queryable
 * @dev ERC721A subclass with convenience query functions.
 */
abstract contract ERC721AQueryable is ERC721A {
    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *   - `addr` = `address(0)`
     *   - `startTimestamp` = `0`
     *   - `burned` = `false`
     *
     * If the `tokenId` is burned:
     *   - `addr` = `<Address of owner before token was burned>`
     *   - `startTimestamp` = `<Timestamp when token was burned>`
     *   - `burned = `true`
     *
     * Otherwise:
     *   - `addr` = `<Address of owner>`
     *   - `startTimestamp` = `<Timestamp of start of ownership>`
     *   - `burned = `false`
     */
    function explicitOwnershipOf(uint256 tokenId) public view returns (TokenOwnership memory) {
        TokenOwnership memory ownership;
        if (tokenId < _startTokenId() || tokenId >= _currentIndex) {
            return ownership;
        }
        ownership = _ownerships[tokenId];
        if (ownership.burned) {
            return ownership;
        }
        return _ownershipOf(tokenId);
    }

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory) {
        unchecked {
            uint256 tokenIdsLength = tokenIds.length;
            TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength);
            for (uint256 i; i != tokenIdsLength; ++i) {
                ownerships[i] = explicitOwnershipOf(tokenIds[i]);
            }
            return ownerships;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start` < `stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view returns (uint256[] memory) {
        unchecked {
            if (start >= stop) revert InvalidQueryRange();
            uint256 tokenIdsIdx;
            uint256 stopLimit = _currentIndex;
            // Set `start = max(start, _startTokenId())`.
            if (start < _startTokenId()) {
                start = _startTokenId();
            }
            // Set `stop = min(stop, _currentIndex)`.
            if (stop > stopLimit) {
                stop = stopLimit;
            }
            uint256 tokenIdsMaxLength = balanceOf(owner);
            // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`,
            // to cater for cases where `balanceOf(owner)` is too big.
            if (start < stop) {
                uint256 rangeLength = stop - start;
                if (rangeLength < tokenIdsMaxLength) {
                    tokenIdsMaxLength = rangeLength;
                }
            } else {
                tokenIdsMaxLength = 0;
            }
            uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength);
            if (tokenIdsMaxLength == 0) {
                return tokenIds;
            }
            // We need to call `explicitOwnershipOf(start)`,
            // because the slot at `start` may not be initialized.
            TokenOwnership memory ownership = explicitOwnershipOf(start);
            address currOwnershipAddr;
            // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`.
            // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range.
            if (!ownership.burned) {
                currOwnershipAddr = ownership.addr;
            }
            for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) {
                ownership = _ownerships[i];
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            // Downsize the array to fit.
            assembly {
                mstore(tokenIds, tokenIdsIdx)
            }
            return tokenIds;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(totalSupply) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K pfp collections should be fine).
     */
    function tokensOfOwner(address owner) external view returns (uint256[] memory) {
        unchecked {
            uint256 tokenIdsIdx;
            address currOwnershipAddr;
            uint256 tokenIdsLength = balanceOf(owner);
            uint256[] memory tokenIds = new uint256[](tokenIdsLength);
            TokenOwnership memory ownership;
            for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) {
                ownership = _ownerships[i];
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            return tokenIds;
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "./Context.sol";

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"string","name":"_initNotRevealUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedBalance","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":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"getMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"getNoToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalMinted","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":"address","name":"_wallet","type":"address"}],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftPerAddressLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxMintAmount","type":"uint256"}],"name":"setMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setNftLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"payable","type":"function"}]

60c06040526005608081905264173539b7b760d91b60a09081526200002891600b919062000238565b50660aa87bee538000600c556115b3600d556107d0600e556002600f8190556010556011805461ffff191660011790553480156200006557600080fd5b50604051620025d3380380620025d38339810160408190526200008891620003ab565b604051806040016040528060098152602001682137b23ca0b936b7b960b91b81525060405180604001604052806002815260200161424160f01b8152508160029080519060200190620000dd92919062000238565b508051620000f390600390602084019062000238565b50506000805550620001053362000123565b620001108262000175565b6200011b81620001dd565b505062000452565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6008546001600160a01b03163314620001c45760405162461bcd60e51b81526020600482018190526024820152600080516020620025b383398151915260448201526064015b60405180910390fd5b8051620001d990600990602084019062000238565b5050565b6008546001600160a01b03163314620002285760405162461bcd60e51b81526020600482018190526024820152600080516020620025b38339815191526044820152606401620001bb565b8051620001d990600a9060208401905b828054620002469062000415565b90600052602060002090601f0160209004810192826200026a5760008555620002b5565b82601f106200028557805160ff1916838001178555620002b5565b82800160010185558215620002b5579182015b82811115620002b557825182559160200191906001019062000298565b50620002c3929150620002c7565b5090565b5b80821115620002c35760008155600101620002c8565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200030657600080fd5b81516001600160401b0380821115620003235762000323620002de565b604051601f8301601f19908116603f011681019082821181831017156200034e576200034e620002de565b816040528381526020925086838588010111156200036b57600080fd5b600091505b838210156200038f578582018301518183018401529082019062000370565b83821115620003a15760008385830101525b9695505050505050565b60008060408385031215620003bf57600080fd5b82516001600160401b0380821115620003d757600080fd5b620003e586838701620002f4565b93506020850151915080821115620003fc57600080fd5b506200040b85828601620002f4565b9150509250929050565b600181811c908216806200042a57607f821691505b602082108114156200044c57634e487b7160e01b600052602260045260246000fd5b50919050565b61215180620004626000396000f3fe60806040526004361061025c5760003560e01c80635b70ea9f11610144578063a2801f57116100b6578063c87b56dd1161007a578063c87b56dd1461069f578063d5abeb01146106bf578063da3ef23f146106d5578063e985e9c5146106f5578063f2c4ce1e1461073e578063f2fde38b1461075e57600080fd5b8063a2801f5714610609578063a475b5dd1461063f578063b88d4fde14610654578063ba7d2c7614610674578063c66828621461068a57600080fd5b8063715018a611610108578063715018a6146105795780637d59946f1461058e5780638da5cb5b146105a357806395d89b41146105c1578063a0712d68146105d6578063a22cb465146105e957600080fd5b80635b70ea9f146104e95780635c975abb146104ff5780636352211e1461051957806370a0823114610539578063711b9e921461055957600080fd5b806318cae269116101dd5780633ccfd60b116101a15780633ccfd60b1461045857806342842e0e146104605780634c0f38c214610480578063518302271461049557806355f804b3146104b457806356bda4a2146104d457600080fd5b806318cae269146103b55780631d9cd448146103e2578063239c70ae1461040257806323b872dd146104185780632f54bf6e1461043857600080fd5b8063095ea7b311610224578063095ea7b3146103325780630ca1c5c91461035257806313c738f01461037157806313faede61461038657806318160ddd1461039c57600080fd5b806301ffc9a71461026157806302329a291461029657806306fdde03146102b8578063081812fc146102da578063088a4ed014610312575b600080fd5b34801561026d57600080fd5b5061028161027c366004611ba3565b61077e565b60405190151581526020015b60405180910390f35b3480156102a257600080fd5b506102b66102b1366004611bd5565b6107d0565b005b3480156102c457600080fd5b506102cd610816565b60405161028d9190611c48565b3480156102e657600080fd5b506102fa6102f5366004611c5b565b6108a8565b6040516001600160a01b03909116815260200161028d565b34801561031e57600080fd5b506102b661032d366004611c5b565b6108ec565b34801561033e57600080fd5b506102b661034d366004611c8b565b61091b565b34801561035e57600080fd5b506000545b60405190815260200161028d565b34801561037d57600080fd5b50600c54610363565b34801561039257600080fd5b50610363600c5481565b3480156103a857600080fd5b5060015460005403610363565b3480156103c157600080fd5b506103636103d0366004611cb5565b60126020526000908152604090205481565b3480156103ee57600080fd5b506103636103fd366004611cb5565b6109a9565b34801561040e57600080fd5b50610363600f5481565b34801561042457600080fd5b506102b6610433366004611cd0565b6109b4565b34801561044457600080fd5b50610281610453366004611cb5565b6109bf565b6102b66109fc565b34801561046c57600080fd5b506102b661047b366004611cd0565b610a9a565b34801561048c57600080fd5b50600d54610363565b3480156104a157600080fd5b5060115461028190610100900460ff1681565b3480156104c057600080fd5b506102b66104cf366004611d98565b610ab5565b3480156104e057600080fd5b50601054610363565b3480156104f557600080fd5b50610363600e5481565b34801561050b57600080fd5b506011546102819060ff1681565b34801561052557600080fd5b506102fa610534366004611c5b565b610af6565b34801561054557600080fd5b50610363610554366004611cb5565b610b08565b34801561056557600080fd5b506102b6610574366004611c5b565b610b57565b34801561058557600080fd5b506102b6610b86565b34801561059a57600080fd5b506102b6610bbc565b3480156105af57600080fd5b506008546001600160a01b03166102fa565b3480156105cd57600080fd5b506102cd610bf3565b6102b66105e4366004611c5b565b610c02565b3480156105f557600080fd5b506102b6610604366004611de1565b610eea565b34801561061557600080fd5b50610363610624366004611cb5565b6001600160a01b031660009081526012602052604090205490565b34801561064b57600080fd5b506102b6610f80565b34801561066057600080fd5b506102b661066f366004611e14565b610fbb565b34801561068057600080fd5b5061036360105481565b34801561069657600080fd5b506102cd61100c565b3480156106ab57600080fd5b506102cd6106ba366004611c5b565b61109a565b3480156106cb57600080fd5b50610363600d5481565b3480156106e157600080fd5b506102b66106f0366004611d98565b611205565b34801561070157600080fd5b50610281610710366004611e90565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561074a57600080fd5b506102b6610759366004611d98565b611242565b34801561076a57600080fd5b506102b6610779366004611cb5565b61127f565b60006001600160e01b031982166380ac58cd60e01b14806107af57506001600160e01b03198216635b5e139f60e01b145b806107ca57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6008546001600160a01b031633146108035760405162461bcd60e51b81526004016107fa90611eba565b60405180910390fd5b6011805460ff1916911515919091179055565b60606002805461082590611eef565b80601f016020809104026020016040519081016040528092919081815260200182805461085190611eef565b801561089e5780601f106108735761010080835404028352916020019161089e565b820191906000526020600020905b81548152906001019060200180831161088157829003601f168201915b5050505050905090565b60006108b382611317565b6108d0576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6008546001600160a01b031633146109165760405162461bcd60e51b81526004016107fa90611eba565b600f55565b600061092682610af6565b9050806001600160a01b0316836001600160a01b0316141561095b5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061097b57506109798133610710565b155b15610999576040516367d9dca160e11b815260040160405180910390fd5b6109a4838383611342565b505050565b60006107ca82610b08565b6109a483838361139e565b60006109d36008546001600160a01b031690565b6001600160a01b0316826001600160a01b031614156109f457506001919050565b506000919050565b6008546001600160a01b03163314610a265760405162461bcd60e51b81526004016107fa90611eba565b6000610a3a6008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610a84576040519150601f19603f3d011682016040523d82523d6000602084013e610a89565b606091505b5050905080610a9757600080fd5b50565b6109a483838360405180602001604052806000815250610fbb565b6008546001600160a01b03163314610adf5760405162461bcd60e51b81526004016107fa90611eba565b8051610af2906009906020840190611af4565b5050565b6000610b018261158e565b5192915050565b60006001600160a01b038216610b31576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610b815760405162461bcd60e51b81526004016107fa90611eba565b601055565b6008546001600160a01b03163314610bb05760405162461bcd60e51b81526004016107fa90611eba565b610bba60006116aa565b565b6008546001600160a01b03163314610be65760405162461bcd60e51b81526004016107fa90611eba565b6011805461ff0019169055565b60606003805461082590611eef565b60115460ff16610c545760405162461bcd60e51b815260206004820152601960248201527f54686520436f6e7472616374206973205061757365642121210000000000000060448201526064016107fa565b6000610c636001546000540390565b905060008211610cb55760405162461bcd60e51b815260206004820152601b60248201527f4e65656420746f204d696e74206174204c656173742031204e4654000000000060448201526064016107fa565b600f54821115610d135760405162461bcd60e51b8152602060048201526024808201527f4d6178204d696e7420416d6f756e74205065722053657373696f6e20457863656044820152631959195960e21b60648201526084016107fa565b600d54610d208383611f40565b1115610d675760405162461bcd60e51b815260206004820152601660248201527513585e0813919508131a5b5a5d08115e18d95959195960521b60448201526064016107fa565b6008546001600160a01b03163314610ebb5733600090815260126020526040902054601054610d968483611f40565b1115610de45760405162461bcd60e51b815260206004820152601c60248201527f4d6178204e46542050657220416464726573732045786365656465640000000060448201526064016107fa565b600e548211610e6757600082600e54610dfd9190611f58565b9050808410610e6157610e108185611f58565b600c54610e1d9190611f6f565b341015610e615760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742046756e647360701b60448201526064016107fa565b50610eb9565b82600c54610e759190611f6f565b341015610eb95760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742046756e647360701b60448201526064016107fa565b505b3360009081526012602052604081208054849290610eda908490611f40565b90915550610af2905033836116fc565b6001600160a01b038216331415610f145760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b03163314610faa5760405162461bcd60e51b81526004016107fa90611eba565b6011805461ff001916610100179055565b610fc684848461139e565b6001600160a01b0383163b15158015610fe85750610fe684848484611716565b155b15611006576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b600b805461101990611eef565b80601f016020809104026020016040519081016040528092919081815260200182805461104590611eef565b80156110925780601f1061106757610100808354040283529160200191611092565b820191906000526020600020905b81548152906001019060200180831161107557829003601f168201915b505050505081565b60606110a582611317565b6111055760405162461bcd60e51b815260206004820152602b60248201527f426f647941726d6f72203a2055524920717565727920666f72206e6f6e65786960448201526a39ba32b73a103a37b5b2b760a91b60648201526084016107fa565b601154610100900460ff166111a657600a805461112190611eef565b80601f016020809104026020016040519081016040528092919081815260200182805461114d90611eef565b801561119a5780601f1061116f5761010080835404028352916020019161119a565b820191906000526020600020905b81548152906001019060200180831161117d57829003601f168201915b50505050509050919050565b60006111b061180e565b905060008151116111d057604051806020016040528060008152506111fe565b806111da8461181d565b600b6040516020016111ee93929190611f8e565b6040516020818303038152906040525b9392505050565b6008546001600160a01b0316331461122f5760405162461bcd60e51b81526004016107fa90611eba565b8051610af290600b906020840190611af4565b6008546001600160a01b0316331461126c5760405162461bcd60e51b81526004016107fa90611eba565b8051610af290600a906020840190611af4565b6008546001600160a01b031633146112a95760405162461bcd60e51b81526004016107fa90611eba565b6001600160a01b03811661130e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107fa565b610a97816116aa565b60008054821080156107ca575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006113a98261158e565b9050836001600160a01b031681600001516001600160a01b0316146113e05760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806113fe57506113fe8533610710565b8061141957503361140e846108a8565b6001600160a01b0316145b90508061143957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661146057604051633a954ecd60e21b815260040160405180910390fd5b61146c60008487611342565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116611542576000548214611542578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60408051606081018252600080825260208201819052918101919091528160005481101561169157600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff1615159181018290529061168f5780516001600160a01b031615611625579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff161515928101929092521561168a579392505050565b611625565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610af282826040518060200160405280600081525061191b565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061174b903390899088908890600401612052565b602060405180830381600087803b15801561176557600080fd5b505af1925050508015611795575060408051601f3d908101601f191682019092526117929181019061208f565b60015b6117f0573d8080156117c3576040519150601f19603f3d011682016040523d82523d6000602084013e6117c8565b606091505b5080516117e8576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60606009805461082590611eef565b6060816118415750506040805180820190915260018152600360fc1b602082015290565b8160005b811561186b5780611855816120ac565b91506118649050600a836120dd565b9150611845565b60008167ffffffffffffffff81111561188657611886611d0c565b6040519080825280601f01601f1916602001820160405280156118b0576020820181803683370190505b5090505b8415611806576118c5600183611f58565b91506118d2600a866120f1565b6118dd906030611f40565b60f81b8183815181106118f2576118f2612105565b60200101906001600160f81b031916908160001a905350611914600a866120dd565b94506118b4565b6109a483838360016000546001600160a01b03851661194c57604051622e076360e81b815260040160405180910390fd5b8361196a5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b429092169190910217905580808501838015611a1c57506001600160a01b0387163b15155b15611aa5575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611a6d6000888480600101955088611716565b611a8a576040516368d2bf6b60e11b815260040160405180910390fd5b80821415611a22578260005414611aa057600080fd5b611aeb565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415611aa6575b50600055611587565b828054611b0090611eef565b90600052602060002090601f016020900481019282611b225760008555611b68565b82601f10611b3b57805160ff1916838001178555611b68565b82800160010185558215611b68579182015b82811115611b68578251825591602001919060010190611b4d565b50611b74929150611b78565b5090565b5b80821115611b745760008155600101611b79565b6001600160e01b031981168114610a9757600080fd5b600060208284031215611bb557600080fd5b81356111fe81611b8d565b80358015158114611bd057600080fd5b919050565b600060208284031215611be757600080fd5b6111fe82611bc0565b60005b83811015611c0b578181015183820152602001611bf3565b838111156110065750506000910152565b60008151808452611c34816020860160208601611bf0565b601f01601f19169290920160200192915050565b6020815260006111fe6020830184611c1c565b600060208284031215611c6d57600080fd5b5035919050565b80356001600160a01b0381168114611bd057600080fd5b60008060408385031215611c9e57600080fd5b611ca783611c74565b946020939093013593505050565b600060208284031215611cc757600080fd5b6111fe82611c74565b600080600060608486031215611ce557600080fd5b611cee84611c74565b9250611cfc60208501611c74565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611d3d57611d3d611d0c565b604051601f8501601f19908116603f01168101908282118183101715611d6557611d65611d0c565b81604052809350858152868686011115611d7e57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611daa57600080fd5b813567ffffffffffffffff811115611dc157600080fd5b8201601f81018413611dd257600080fd5b61180684823560208401611d22565b60008060408385031215611df457600080fd5b611dfd83611c74565b9150611e0b60208401611bc0565b90509250929050565b60008060008060808587031215611e2a57600080fd5b611e3385611c74565b9350611e4160208601611c74565b925060408501359150606085013567ffffffffffffffff811115611e6457600080fd5b8501601f81018713611e7557600080fd5b611e8487823560208401611d22565b91505092959194509250565b60008060408385031215611ea357600080fd5b611eac83611c74565b9150611e0b60208401611c74565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680611f0357607f821691505b60208210811415611f2457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115611f5357611f53611f2a565b500190565b600082821015611f6a57611f6a611f2a565b500390565b6000816000190483118215151615611f8957611f89611f2a565b500290565b600084516020611fa18285838a01611bf0565b855191840191611fb48184848a01611bf0565b8554920191600090600181811c9080831680611fd157607f831692505b858310811415611fef57634e487b7160e01b85526022600452602485fd5b808015612003576001811461201457612041565b60ff19851688528388019550612041565b60008b81526020902060005b858110156120395781548a820152908401908801612020565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061208590830184611c1c565b9695505050505050565b6000602082840312156120a157600080fd5b81516111fe81611b8d565b60006000198214156120c0576120c0611f2a565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826120ec576120ec6120c7565b500490565b600082612100576121006120c7565b500690565b634e487b7160e01b600052603260045260246000fdfea26469706673582212204eeee3bd6660d139ef7be32863ebd7b77c132b9814d0941763d0f211759dca9164736f6c634300080900334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65720000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d54656652544d4a5478395241367351783276336238704d675a74333950373476796b51626e31667a544c4b720000000000000000000000

Deployed Bytecode

0x60806040526004361061025c5760003560e01c80635b70ea9f11610144578063a2801f57116100b6578063c87b56dd1161007a578063c87b56dd1461069f578063d5abeb01146106bf578063da3ef23f146106d5578063e985e9c5146106f5578063f2c4ce1e1461073e578063f2fde38b1461075e57600080fd5b8063a2801f5714610609578063a475b5dd1461063f578063b88d4fde14610654578063ba7d2c7614610674578063c66828621461068a57600080fd5b8063715018a611610108578063715018a6146105795780637d59946f1461058e5780638da5cb5b146105a357806395d89b41146105c1578063a0712d68146105d6578063a22cb465146105e957600080fd5b80635b70ea9f146104e95780635c975abb146104ff5780636352211e1461051957806370a0823114610539578063711b9e921461055957600080fd5b806318cae269116101dd5780633ccfd60b116101a15780633ccfd60b1461045857806342842e0e146104605780634c0f38c214610480578063518302271461049557806355f804b3146104b457806356bda4a2146104d457600080fd5b806318cae269146103b55780631d9cd448146103e2578063239c70ae1461040257806323b872dd146104185780632f54bf6e1461043857600080fd5b8063095ea7b311610224578063095ea7b3146103325780630ca1c5c91461035257806313c738f01461037157806313faede61461038657806318160ddd1461039c57600080fd5b806301ffc9a71461026157806302329a291461029657806306fdde03146102b8578063081812fc146102da578063088a4ed014610312575b600080fd5b34801561026d57600080fd5b5061028161027c366004611ba3565b61077e565b60405190151581526020015b60405180910390f35b3480156102a257600080fd5b506102b66102b1366004611bd5565b6107d0565b005b3480156102c457600080fd5b506102cd610816565b60405161028d9190611c48565b3480156102e657600080fd5b506102fa6102f5366004611c5b565b6108a8565b6040516001600160a01b03909116815260200161028d565b34801561031e57600080fd5b506102b661032d366004611c5b565b6108ec565b34801561033e57600080fd5b506102b661034d366004611c8b565b61091b565b34801561035e57600080fd5b506000545b60405190815260200161028d565b34801561037d57600080fd5b50600c54610363565b34801561039257600080fd5b50610363600c5481565b3480156103a857600080fd5b5060015460005403610363565b3480156103c157600080fd5b506103636103d0366004611cb5565b60126020526000908152604090205481565b3480156103ee57600080fd5b506103636103fd366004611cb5565b6109a9565b34801561040e57600080fd5b50610363600f5481565b34801561042457600080fd5b506102b6610433366004611cd0565b6109b4565b34801561044457600080fd5b50610281610453366004611cb5565b6109bf565b6102b66109fc565b34801561046c57600080fd5b506102b661047b366004611cd0565b610a9a565b34801561048c57600080fd5b50600d54610363565b3480156104a157600080fd5b5060115461028190610100900460ff1681565b3480156104c057600080fd5b506102b66104cf366004611d98565b610ab5565b3480156104e057600080fd5b50601054610363565b3480156104f557600080fd5b50610363600e5481565b34801561050b57600080fd5b506011546102819060ff1681565b34801561052557600080fd5b506102fa610534366004611c5b565b610af6565b34801561054557600080fd5b50610363610554366004611cb5565b610b08565b34801561056557600080fd5b506102b6610574366004611c5b565b610b57565b34801561058557600080fd5b506102b6610b86565b34801561059a57600080fd5b506102b6610bbc565b3480156105af57600080fd5b506008546001600160a01b03166102fa565b3480156105cd57600080fd5b506102cd610bf3565b6102b66105e4366004611c5b565b610c02565b3480156105f557600080fd5b506102b6610604366004611de1565b610eea565b34801561061557600080fd5b50610363610624366004611cb5565b6001600160a01b031660009081526012602052604090205490565b34801561064b57600080fd5b506102b6610f80565b34801561066057600080fd5b506102b661066f366004611e14565b610fbb565b34801561068057600080fd5b5061036360105481565b34801561069657600080fd5b506102cd61100c565b3480156106ab57600080fd5b506102cd6106ba366004611c5b565b61109a565b3480156106cb57600080fd5b50610363600d5481565b3480156106e157600080fd5b506102b66106f0366004611d98565b611205565b34801561070157600080fd5b50610281610710366004611e90565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561074a57600080fd5b506102b6610759366004611d98565b611242565b34801561076a57600080fd5b506102b6610779366004611cb5565b61127f565b60006001600160e01b031982166380ac58cd60e01b14806107af57506001600160e01b03198216635b5e139f60e01b145b806107ca57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6008546001600160a01b031633146108035760405162461bcd60e51b81526004016107fa90611eba565b60405180910390fd5b6011805460ff1916911515919091179055565b60606002805461082590611eef565b80601f016020809104026020016040519081016040528092919081815260200182805461085190611eef565b801561089e5780601f106108735761010080835404028352916020019161089e565b820191906000526020600020905b81548152906001019060200180831161088157829003601f168201915b5050505050905090565b60006108b382611317565b6108d0576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6008546001600160a01b031633146109165760405162461bcd60e51b81526004016107fa90611eba565b600f55565b600061092682610af6565b9050806001600160a01b0316836001600160a01b0316141561095b5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061097b57506109798133610710565b155b15610999576040516367d9dca160e11b815260040160405180910390fd5b6109a4838383611342565b505050565b60006107ca82610b08565b6109a483838361139e565b60006109d36008546001600160a01b031690565b6001600160a01b0316826001600160a01b031614156109f457506001919050565b506000919050565b6008546001600160a01b03163314610a265760405162461bcd60e51b81526004016107fa90611eba565b6000610a3a6008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610a84576040519150601f19603f3d011682016040523d82523d6000602084013e610a89565b606091505b5050905080610a9757600080fd5b50565b6109a483838360405180602001604052806000815250610fbb565b6008546001600160a01b03163314610adf5760405162461bcd60e51b81526004016107fa90611eba565b8051610af2906009906020840190611af4565b5050565b6000610b018261158e565b5192915050565b60006001600160a01b038216610b31576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610b815760405162461bcd60e51b81526004016107fa90611eba565b601055565b6008546001600160a01b03163314610bb05760405162461bcd60e51b81526004016107fa90611eba565b610bba60006116aa565b565b6008546001600160a01b03163314610be65760405162461bcd60e51b81526004016107fa90611eba565b6011805461ff0019169055565b60606003805461082590611eef565b60115460ff16610c545760405162461bcd60e51b815260206004820152601960248201527f54686520436f6e7472616374206973205061757365642121210000000000000060448201526064016107fa565b6000610c636001546000540390565b905060008211610cb55760405162461bcd60e51b815260206004820152601b60248201527f4e65656420746f204d696e74206174204c656173742031204e4654000000000060448201526064016107fa565b600f54821115610d135760405162461bcd60e51b8152602060048201526024808201527f4d6178204d696e7420416d6f756e74205065722053657373696f6e20457863656044820152631959195960e21b60648201526084016107fa565b600d54610d208383611f40565b1115610d675760405162461bcd60e51b815260206004820152601660248201527513585e0813919508131a5b5a5d08115e18d95959195960521b60448201526064016107fa565b6008546001600160a01b03163314610ebb5733600090815260126020526040902054601054610d968483611f40565b1115610de45760405162461bcd60e51b815260206004820152601c60248201527f4d6178204e46542050657220416464726573732045786365656465640000000060448201526064016107fa565b600e548211610e6757600082600e54610dfd9190611f58565b9050808410610e6157610e108185611f58565b600c54610e1d9190611f6f565b341015610e615760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742046756e647360701b60448201526064016107fa565b50610eb9565b82600c54610e759190611f6f565b341015610eb95760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742046756e647360701b60448201526064016107fa565b505b3360009081526012602052604081208054849290610eda908490611f40565b90915550610af2905033836116fc565b6001600160a01b038216331415610f145760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b03163314610faa5760405162461bcd60e51b81526004016107fa90611eba565b6011805461ff001916610100179055565b610fc684848461139e565b6001600160a01b0383163b15158015610fe85750610fe684848484611716565b155b15611006576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b600b805461101990611eef565b80601f016020809104026020016040519081016040528092919081815260200182805461104590611eef565b80156110925780601f1061106757610100808354040283529160200191611092565b820191906000526020600020905b81548152906001019060200180831161107557829003601f168201915b505050505081565b60606110a582611317565b6111055760405162461bcd60e51b815260206004820152602b60248201527f426f647941726d6f72203a2055524920717565727920666f72206e6f6e65786960448201526a39ba32b73a103a37b5b2b760a91b60648201526084016107fa565b601154610100900460ff166111a657600a805461112190611eef565b80601f016020809104026020016040519081016040528092919081815260200182805461114d90611eef565b801561119a5780601f1061116f5761010080835404028352916020019161119a565b820191906000526020600020905b81548152906001019060200180831161117d57829003601f168201915b50505050509050919050565b60006111b061180e565b905060008151116111d057604051806020016040528060008152506111fe565b806111da8461181d565b600b6040516020016111ee93929190611f8e565b6040516020818303038152906040525b9392505050565b6008546001600160a01b0316331461122f5760405162461bcd60e51b81526004016107fa90611eba565b8051610af290600b906020840190611af4565b6008546001600160a01b0316331461126c5760405162461bcd60e51b81526004016107fa90611eba565b8051610af290600a906020840190611af4565b6008546001600160a01b031633146112a95760405162461bcd60e51b81526004016107fa90611eba565b6001600160a01b03811661130e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107fa565b610a97816116aa565b60008054821080156107ca575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006113a98261158e565b9050836001600160a01b031681600001516001600160a01b0316146113e05760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806113fe57506113fe8533610710565b8061141957503361140e846108a8565b6001600160a01b0316145b90508061143957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661146057604051633a954ecd60e21b815260040160405180910390fd5b61146c60008487611342565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116611542576000548214611542578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60408051606081018252600080825260208201819052918101919091528160005481101561169157600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff1615159181018290529061168f5780516001600160a01b031615611625579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff161515928101929092521561168a579392505050565b611625565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610af282826040518060200160405280600081525061191b565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061174b903390899088908890600401612052565b602060405180830381600087803b15801561176557600080fd5b505af1925050508015611795575060408051601f3d908101601f191682019092526117929181019061208f565b60015b6117f0573d8080156117c3576040519150601f19603f3d011682016040523d82523d6000602084013e6117c8565b606091505b5080516117e8576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60606009805461082590611eef565b6060816118415750506040805180820190915260018152600360fc1b602082015290565b8160005b811561186b5780611855816120ac565b91506118649050600a836120dd565b9150611845565b60008167ffffffffffffffff81111561188657611886611d0c565b6040519080825280601f01601f1916602001820160405280156118b0576020820181803683370190505b5090505b8415611806576118c5600183611f58565b91506118d2600a866120f1565b6118dd906030611f40565b60f81b8183815181106118f2576118f2612105565b60200101906001600160f81b031916908160001a905350611914600a866120dd565b94506118b4565b6109a483838360016000546001600160a01b03851661194c57604051622e076360e81b815260040160405180910390fd5b8361196a5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b429092169190910217905580808501838015611a1c57506001600160a01b0387163b15155b15611aa5575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611a6d6000888480600101955088611716565b611a8a576040516368d2bf6b60e11b815260040160405180910390fd5b80821415611a22578260005414611aa057600080fd5b611aeb565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415611aa6575b50600055611587565b828054611b0090611eef565b90600052602060002090601f016020900481019282611b225760008555611b68565b82601f10611b3b57805160ff1916838001178555611b68565b82800160010185558215611b68579182015b82811115611b68578251825591602001919060010190611b4d565b50611b74929150611b78565b5090565b5b80821115611b745760008155600101611b79565b6001600160e01b031981168114610a9757600080fd5b600060208284031215611bb557600080fd5b81356111fe81611b8d565b80358015158114611bd057600080fd5b919050565b600060208284031215611be757600080fd5b6111fe82611bc0565b60005b83811015611c0b578181015183820152602001611bf3565b838111156110065750506000910152565b60008151808452611c34816020860160208601611bf0565b601f01601f19169290920160200192915050565b6020815260006111fe6020830184611c1c565b600060208284031215611c6d57600080fd5b5035919050565b80356001600160a01b0381168114611bd057600080fd5b60008060408385031215611c9e57600080fd5b611ca783611c74565b946020939093013593505050565b600060208284031215611cc757600080fd5b6111fe82611c74565b600080600060608486031215611ce557600080fd5b611cee84611c74565b9250611cfc60208501611c74565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611d3d57611d3d611d0c565b604051601f8501601f19908116603f01168101908282118183101715611d6557611d65611d0c565b81604052809350858152868686011115611d7e57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611daa57600080fd5b813567ffffffffffffffff811115611dc157600080fd5b8201601f81018413611dd257600080fd5b61180684823560208401611d22565b60008060408385031215611df457600080fd5b611dfd83611c74565b9150611e0b60208401611bc0565b90509250929050565b60008060008060808587031215611e2a57600080fd5b611e3385611c74565b9350611e4160208601611c74565b925060408501359150606085013567ffffffffffffffff811115611e6457600080fd5b8501601f81018713611e7557600080fd5b611e8487823560208401611d22565b91505092959194509250565b60008060408385031215611ea357600080fd5b611eac83611c74565b9150611e0b60208401611c74565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680611f0357607f821691505b60208210811415611f2457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115611f5357611f53611f2a565b500190565b600082821015611f6a57611f6a611f2a565b500390565b6000816000190483118215151615611f8957611f89611f2a565b500290565b600084516020611fa18285838a01611bf0565b855191840191611fb48184848a01611bf0565b8554920191600090600181811c9080831680611fd157607f831692505b858310811415611fef57634e487b7160e01b85526022600452602485fd5b808015612003576001811461201457612041565b60ff19851688528388019550612041565b60008b81526020902060005b858110156120395781548a820152908401908801612020565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061208590830184611c1c565b9695505050505050565b6000602082840312156120a157600080fd5b81516111fe81611b8d565b60006000198214156120c0576120c0611f2a565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826120ec576120ec6120c7565b500490565b600082612100576121006120c7565b500690565b634e487b7160e01b600052603260045260246000fdfea26469706673582212204eeee3bd6660d139ef7be32863ebd7b77c132b9814d0941763d0f211759dca9164736f6c63430008090033

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

0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d54656652544d4a5478395241367351783276336238704d675a74333950373476796b51626e31667a544c4b720000000000000000000000

-----Decoded View---------------
Arg [0] : _initBaseURI (string):
Arg [1] : _initNotRevealUri (string): ipfs://QmTefRTMJTx9RA6sQx2v3b8pMgZt39P74vykQbn1fzTLKr

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [4] : 697066733a2f2f516d54656652544d4a5478395241367351783276336238704d
Arg [5] : 675a74333950373476796b51626e31667a544c4b720000000000000000000000


Deployed Bytecode Sourcemap

131:3995:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4309:300:4;;;;;;;;;;-1:-1:-1;4309:300:4;;;;;:::i;:::-;;:::i;:::-;;;565:14:13;;558:22;540:41;;528:2;513:18;4309:300:4;;;;;;;;3173:73:1;;;;;;;;;;-1:-1:-1;3173:73:1;;;;;:::i;:::-;;:::i;:::-;;7337:98:4;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;8793:200::-;;;;;;;;;;-1:-1:-1;8793:200:4;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2042:32:13;;;2024:51;;2012:2;1997:18;8793:200:4;1878:203:13;3386:116:1;;;;;;;;;;-1:-1:-1;3386:116:1;;;;;:::i;:::-;;:::i;8370:362:4:-;;;;;;;;;;-1:-1:-1;8370:362:4;;;;;:::i;:::-;;:::i;2638:86:1:-;;;;;;;;;;-1:-1:-1;2685:4:1;4194:13:4;2638:86:1;;;2669:25:13;;;2657:2;2642:18;2638:86:1;2523:177:13;2561:73:1;;;;;;;;;;-1:-1:-1;2625:4:1;;2561:73;;305:33;;;;;;;;;;;;;;;;3580:297:4;;;;;;;;;;-1:-1:-1;3830:12:4;;3624:7;3814:13;:28;3580:297;;551:57:1;;;;;;;;;;-1:-1:-1;551:57:1;;;;;:::i;:::-;;;;;;;;;;;;;;2454:103;;;;;;;;;;-1:-1:-1;2454:103:1;;;;;:::i;:::-;;:::i;411:32::-;;;;;;;;;;;;;;;;9632:164:4;;;;;;;;;;-1:-1:-1;9632:164:4;;;;;:::i;:::-;;:::i;2903:144:1:-;;;;;;;;;;-1:-1:-1;2903:144:1;;;;;:::i;:::-;;:::i;3956:168::-;;;:::i;9862:179:4:-;;;;;;;;;;-1:-1:-1;9862:179:4;;;;;:::i;:::-;;:::i;2728:79:1:-;;;;;;;;;;-1:-1:-1;2793:9:1;;2728:79;;518:28;;;;;;;;;;-1:-1:-1;518:28:1;;;;;;;;;;;3730:98;;;;;;;;;;-1:-1:-1;3730:98:1;;;;;:::i;:::-;;:::i;2811:88::-;;;;;;;;;;-1:-1:-1;2876:18:1;;2811:88;;377:30;;;;;;;;;;;;;;;;489:25;;;;;;;;;;-1:-1:-1;489:25:1;;;;;;;;7152:123:4;;;;;;;;;;-1:-1:-1;7152:123:4;;;;;:::i;:::-;;:::i;4668:203::-;;;;;;;;;;-1:-1:-1;4668:203:4;;;;;:::i;:::-;;:::i;3506:94:1:-;;;;;;;;;;-1:-1:-1;3506:94:1;;;;;:::i;:::-;;:::i;1661:101:11:-;;;;;;;;;;;;;:::i;3315:65:1:-;;;;;;;;;;;;;:::i;1029:85:11:-;;;;;;;;;;-1:-1:-1;1101:6:11;;-1:-1:-1;;;;;1101:6:11;1029:85;;7499:102:4;;;;;;;;;;;;;:::i;1000:1019:1:-;;;;;;:::i;:::-;;:::i;9060:282:4:-;;;;;;;;;;-1:-1:-1;9060:282:4;;;;;:::i;:::-;;:::i;3051:118:1:-;;;;;;;;;;-1:-1:-1;3051:118:1;;;;;:::i;:::-;-1:-1:-1;;;;;3133:31:1;3113:4;3133:31;;;:20;:31;;;;;;;3051:118;3250:61;;;;;;;;;;;;;:::i;10107:359:4:-;;;;;;;;;;-1:-1:-1;10107:359:4;;;;;:::i;:::-;;:::i;447:37:1:-;;;;;;;;;;;;;;;;264;;;;;;;;;;;;;:::i;2023:427::-;;;;;;;;;;-1:-1:-1;2023:427:1;;;;;:::i;:::-;;:::i;342:31::-;;;;;;;;;;;;;;;;3604:122;;;;;;;;;;-1:-1:-1;3604:122:1;;;;;:::i;:::-;;:::i;9408:162:4:-;;;;;;;;;;-1:-1:-1;9408:162:4;;;;;:::i;:::-;-1:-1:-1;;;;;9528:25:4;;;9505:4;9528:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;9408:162;3832:120:1;;;;;;;;;;-1:-1:-1;3832:120:1;;;;;:::i;:::-;;:::i;1911:198:11:-;;;;;;;;;;-1:-1:-1;1911:198:11;;;;;:::i;:::-;;:::i;4309:300:4:-;4411:4;-1:-1:-1;;;;;;4446:40:4;;-1:-1:-1;;;4446:40:4;;:104;;-1:-1:-1;;;;;;;4502:48:4;;-1:-1:-1;;;4502:48:4;4446:104;:156;;;-1:-1:-1;;;;;;;;;;937:40:3;;;4566:36:4;4427:175;4309:300;-1:-1:-1;;4309:300:4:o;3173:73:1:-;1101:6:11;;-1:-1:-1;;;;;1101:6:11;719:10:2;1241:23:11;1233:68;;;;-1:-1:-1;;;1233:68:11;;;;;;;:::i;:::-;;;;;;;;;3226:6:1::1;:15:::0;;-1:-1:-1;;3226:15:1::1;::::0;::::1;;::::0;;;::::1;::::0;;3173:73::o;7337:98:4:-;7391:13;7423:5;7416:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7337:98;:::o;8793:200::-;8861:7;8885:16;8893:7;8885;:16::i;:::-;8880:64;;8910:34;;-1:-1:-1;;;8910:34:4;;;;;;;;;;;8880:64;-1:-1:-1;8962:24:4;;;;:15;:24;;;;;;-1:-1:-1;;;;;8962:24:4;;8793:200::o;3386:116:1:-;1101:6:11;;-1:-1:-1;;;;;1101:6:11;719:10:2;1241:23:11;1233:68;;;;-1:-1:-1;;;1233:68:11;;;;;;;:::i;:::-;3464:13:1::1;:33:::0;3386:116::o;8370:362:4:-;8442:13;8458:24;8474:7;8458:15;:24::i;:::-;8442:40;;8502:5;-1:-1:-1;;;;;8496:11:4;:2;-1:-1:-1;;;;;8496:11:4;;8492:48;;;8516:24;;-1:-1:-1;;;8516:24:4;;;;;;;;;;;8492:48;719:10:2;-1:-1:-1;;;;;8555:21:4;;;;;;:63;;-1:-1:-1;8581:37:4;8598:5;719:10:2;9408:162:4;:::i;8581:37::-;8580:38;8555:63;8551:136;;;8641:35;;-1:-1:-1;;;8641:35:4;;;;;;;;;;;8551:136;8697:28;8706:2;8710:7;8719:5;8697:8;:28::i;:::-;8432:300;8370:362;;:::o;2454:103:1:-;2514:4;2534:18;2544:7;2534:9;:18::i;9632:164:4:-;9761:28;9771:4;9777:2;9781:7;9761:9;:28::i;2903:144:1:-;2960:4;2989:7;1101:6:11;;-1:-1:-1;;;;;1101:6:11;;1029:85;2989:7:1;-1:-1:-1;;;;;2978:18:1;:7;-1:-1:-1;;;;;2978:18:1;;2973:52;;;-1:-1:-1;3014:4:1;;2903:144;-1:-1:-1;2903:144:1:o;2973:52::-;-1:-1:-1;3037:5:1;;2903:144;-1:-1:-1;2903:144:1:o;3956:168::-;1101:6:11;;-1:-1:-1;;;;;1101:6:11;719:10:2;1241:23:11;1233:68;;;;-1:-1:-1;;;1233:68:11;;;;;;;:::i;:::-;4009:14:1::1;4038:7;1101:6:11::0;;-1:-1:-1;;;;;1101:6:11;;1029:85;4038:7:1::1;-1:-1:-1::0;;;;;4029:23:1::1;4062;4029:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4007:86;;;4108:9;4099:20;;;::::0;::::1;;4001:123;3956:168::o:0;9862:179:4:-;9995:39;10012:4;10018:2;10022:7;9995:39;;;;;;;;;;;;:16;:39::i;3730:98:1:-;1101:6:11;;-1:-1:-1;;;;;1101:6:11;719:10:2;1241:23:11;1233:68;;;;-1:-1:-1;;;1233:68:11;;;;;;;:::i;:::-;3802:21:1;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;:::-;;3730:98:::0;:::o;7152:123:4:-;7216:7;7242:21;7255:7;7242:12;:21::i;:::-;:26;;7152:123;-1:-1:-1;;7152:123:4:o;4668:203::-;4732:7;-1:-1:-1;;;;;4755:19:4;;4751:60;;4783:28;;-1:-1:-1;;;4783:28:4;;;;;;;;;;;4751:60;-1:-1:-1;;;;;;4836:19:4;;;;;:12;:19;;;;;:27;;;;4668:203::o;3506:94:1:-;1101:6:11;;-1:-1:-1;;;;;1101:6:11;719:10:2;1241:23:11;1233:68;;;;-1:-1:-1;;;1233:68:11;;;;;;;:::i;:::-;3568:18:1::1;:27:::0;3506:94::o;1661:101:11:-;1101:6;;-1:-1:-1;;;;;1101:6:11;719:10:2;1241:23:11;1233:68;;;;-1:-1:-1;;;1233:68:11;;;;;;;:::i;:::-;1725:30:::1;1752:1;1725:18;:30::i;:::-;1661:101::o:0;3315:65:1:-;1101:6:11;;-1:-1:-1;;;;;1101:6:11;719:10:2;1241:23:11;1233:68;;;;-1:-1:-1;;;1233:68:11;;;;;;;:::i;:::-;3359:8:1::1;:16:::0;;-1:-1:-1;;3359:16:1::1;::::0;;3315:65::o;7499:102:4:-;7555:13;7587:7;7580:14;;;;;:::i;1000:1019:1:-;1067:6;;;;1058:46;;;;-1:-1:-1;;;1058:46:1;;6808:2:13;1058:46:1;;;6790:21:13;6847:2;6827:18;;;6820:30;6886:27;6866:18;;;6859:55;6931:18;;1058:46:1;6606:349:13;1058:46:1;1110:14;1127:13;3830:12:4;;3624:7;3814:13;:28;;3580:297;1127:13:1;1110:30;;1169:1;1155:11;:15;1146:57;;;;-1:-1:-1;;;1146:57:1;;7162:2:13;1146:57:1;;;7144:21:13;7201:2;7181:18;;;7174:30;7240:29;7220:18;;;7213:57;7287:18;;1146:57:1;6960:351:13;1146:57:1;1233:13;;1218:11;:28;;1209:79;;;;-1:-1:-1;;;1209:79:1;;7518:2:13;1209:79:1;;;7500:21:13;7557:2;7537:18;;;7530:30;7596:34;7576:18;;;7569:62;-1:-1:-1;;;7647:18:13;;;7640:34;7691:19;;1209:79:1;7316:400:13;1209:79:1;1327:9;;1303:20;1312:11;1303:6;:20;:::i;:::-;:33;;1294:70;;;;-1:-1:-1;;;1294:70:1;;8188:2:13;1294:70:1;;;8170:21:13;8227:2;8207:18;;;8200:30;-1:-1:-1;;;8246:18:13;;;8239:52;8308:18;;1294:70:1;7986:346:13;1294:70:1;1101:6:11;;-1:-1:-1;;;;;1101:6:11;1375:10:1;:21;1370:548;;1457:10;1409:24;1436:32;;;:20;:32;;;;;;1520:18;;1486:30;1505:11;1436:32;1486:30;:::i;:::-;:52;;1478:93;;;;-1:-1:-1;;;1478:93:1;;8539:2:13;1478:93:1;;;8521:21:13;8578:2;8558:18;;;8551:30;8617;8597:18;;;8590:58;8665:18;;1478:93:1;8337:352:13;1478:93:1;1594:8;;1584:6;:18;1581:331;;1618:19;1651:6;1640:8;;:17;;;;:::i;:::-;1618:39;;1689:11;1674;:26;1671:138;;1747:23;1759:11;1747;:23;:::i;:::-;1739:4;;:32;;;;:::i;:::-;1726:9;:45;;1718:76;;;;-1:-1:-1;;;1718:76:1;;9199:2:13;1718:76:1;;;9181:21:13;9238:2;9218:18;;;9211:30;-1:-1:-1;;;9257:18:13;;;9250:48;9315:18;;1718:76:1;8997:342:13;1718:76:1;1604:215;1581:331;;;1867:11;1860:4;;:18;;;;:::i;:::-;1847:9;:31;;1839:62;;;;-1:-1:-1;;;1839:62:1;;9199:2:13;1839:62:1;;;9181:21:13;9238:2;9218:18;;;9211:30;-1:-1:-1;;;9257:18:13;;;9250:48;9315:18;;1839:62:1;8997:342:13;1839:62:1;1399:519;1370:548;1945:10;1923:34;;;;:20;:34;;;;;:49;;1961:11;;1923:34;:49;;1961:11;;1923:49;:::i;:::-;;;;-1:-1:-1;1978:36:1;;-1:-1:-1;1989:10:1;2001:11;1978:9;:36::i;9060:282:4:-;-1:-1:-1;;;;;9158:24:4;;719:10:2;9158:24:4;9154:54;;;9191:17;;-1:-1:-1;;;9191:17:4;;;;;;;;;;;9154:54;719:10:2;9219:32:4;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;9219:42:4;;;;;;;;;;;;:53;;-1:-1:-1;;9219:53:4;;;;;;;;;;9287:48;;540:41:13;;;9219:42:4;;719:10:2;9287:48:4;;513:18:13;9287:48:4;;;;;;;9060:282;;:::o;3250:61:1:-;1101:6:11;;-1:-1:-1;;;;;1101:6:11;719:10:2;1241:23:11;1233:68;;;;-1:-1:-1;;;1233:68:11;;;;;;;:::i;:::-;3291:8:1::1;:15:::0;;-1:-1:-1;;3291:15:1::1;;;::::0;;3250:61::o;10107:359:4:-;10268:28;10278:4;10284:2;10288:7;10268:9;:28::i;:::-;-1:-1:-1;;;;;10310:13:4;;1465:19:0;:23;;10310:76:4;;;;;10330:56;10361:4;10367:2;10371:7;10380:5;10330:30;:56::i;:::-;10329:57;10310:76;10306:154;;;10409:40;;-1:-1:-1;;;10409:40:4;;;;;;;;;;;10306:154;10107:359;;;;:::o;264:37:1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2023:427::-;2099:13;2130:18;2139:7;2130;:18::i;:::-;2121:76;;;;-1:-1:-1;;;2121:76:1;;9546:2:13;2121:76:1;;;9528:21:13;9585:2;9565:18;;;9558:30;9624:34;9604:18;;;9597:62;-1:-1:-1;;;9675:18:13;;;9668:41;9726:19;;2121:76:1;9344:407:13;2121:76:1;2208:8;;;;;;;2203:63;;2245:14;2238:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2023:427;;;:::o;2203:63::-;2271:28;2302:10;:8;:10::i;:::-;2271:41;;2358:1;2332:14;2325:30;:34;:120;;;;;;;;;;;;;;;;;2388:14;2404:18;:7;:16;:18::i;:::-;2424:13;2370:69;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;2325:120;2318:127;2023:427;-1:-1:-1;;;2023:427:1:o;3604:122::-;1101:6:11;;-1:-1:-1;;;;;1101:6:11;719:10:2;1241:23:11;1233:68;;;;-1:-1:-1;;;1233:68:11;;;;;;;:::i;:::-;3688:33:1;;::::1;::::0;:13:::1;::::0;:33:::1;::::0;::::1;::::0;::::1;:::i;3832:120::-:0;1101:6:11;;-1:-1:-1;;;;;1101:6:11;719:10:2;1241:23:11;1233:68;;;;-1:-1:-1;;;1233:68:11;;;;;;;:::i;:::-;3915:32:1;;::::1;::::0;:14:::1;::::0;:32:::1;::::0;::::1;::::0;::::1;:::i;1911:198:11:-:0;1101:6;;-1:-1:-1;;;;;1101:6:11;719:10:2;1241:23:11;1233:68;;;;-1:-1:-1;;;1233:68:11;;;;;;;:::i;:::-;-1:-1:-1;;;;;1999:22:11;::::1;1991:73;;;::::0;-1:-1:-1;;;1991:73:11;;11616:2:13;1991:73:11::1;::::0;::::1;11598:21:13::0;11655:2;11635:18;;;11628:30;11694:34;11674:18;;;11667:62;-1:-1:-1;;;11745:18:13;;;11738:36;11791:19;;1991:73:11::1;11414:402:13::0;1991:73:11::1;2074:28;2093:8;2074:18;:28::i;10712:172:4:-:0;10769:4;10832:13;;10822:7;:23;10792:85;;;;-1:-1:-1;;10850:20:4;;;;:11;:20;;;;;:27;-1:-1:-1;;;10850:27:4;;;;10849:28;;10712:172::o;18652:189::-;18762:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;18762:29:4;-1:-1:-1;;;;;18762:29:4;;;;;;;;;18806:28;;18762:24;;18806:28;;;;;;;18652:189;;;:::o;13722:2082::-;13832:35;13870:21;13883:7;13870:12;:21::i;:::-;13832:59;;13928:4;-1:-1:-1;;;;;13906:26:4;:13;:18;;;-1:-1:-1;;;;;13906:26:4;;13902:67;;13941:28;;-1:-1:-1;;;13941:28:4;;;;;;;;;;;13902:67;13980:22;719:10:2;-1:-1:-1;;;;;14006:20:4;;;;:72;;-1:-1:-1;14042:36:4;14059:4;719:10:2;9408:162:4;:::i;14042:36::-;14006:124;;;-1:-1:-1;719:10:2;14094:20:4;14106:7;14094:11;:20::i;:::-;-1:-1:-1;;;;;14094:36:4;;14006:124;13980:151;;14147:17;14142:66;;14173:35;;-1:-1:-1;;;14173:35:4;;;;;;;;;;;14142:66;-1:-1:-1;;;;;14222:16:4;;14218:52;;14247:23;;-1:-1:-1;;;14247:23:4;;;;;;;;;;;14218:52;14386:35;14403:1;14407:7;14416:4;14386:8;:35::i;:::-;-1:-1:-1;;;;;14711:18:4;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;14711:31:4;;;;;;;-1:-1:-1;;14711:31:4;;;;;;;14756:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;14756:29:4;;;;;;;;;;;14834:20;;;:11;:20;;;;;;14868:18;;-1:-1:-1;;;;;;14900:49:4;;;;-1:-1:-1;;;14933:15:4;14900:49;;;;;;;;;;15219:11;;15278:24;;;;;15320:13;;14834:20;;15278:24;;15320:13;15316:377;;15527:13;;15512:11;:28;15508:171;;15564:20;;15632:28;;;;15606:54;;-1:-1:-1;;;15606:54:4;-1:-1:-1;;;;;;15606:54:4;;;-1:-1:-1;;;;;15564:20:4;;15606:54;;;;15508:171;14687:1016;;;15737:7;15733:2;-1:-1:-1;;;;;15718:27:4;15727:4;-1:-1:-1;;;;;15718:27:4;;;;;;;;;;;15755:42;13822:1982;;13722:2082;;;:::o;6011:1084::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;6121:7:4;6201:13;;6194:4;:20;6163:868;;;6234:31;6268:17;;;:11;:17;;;;;;;;;6234:51;;;;;;;;;-1:-1:-1;;;;;6234:51:4;;;;-1:-1:-1;;;6234:51:4;;;;;;;;;;;-1:-1:-1;;;6234:51:4;;;;;;;;;;;;;;6303:714;;6352:14;;-1:-1:-1;;;;;6352:28:4;;6348:99;;6415:9;6011:1084;-1:-1:-1;;;6011:1084:4:o;6348:99::-;-1:-1:-1;;;6783:6:4;6827:17;;;;:11;:17;;;;;;;;;6815:29;;;;;;;;;-1:-1:-1;;;;;6815:29:4;;;;;-1:-1:-1;;;6815:29:4;;;;;;;;;;;-1:-1:-1;;;6815:29:4;;;;;;;;;;;;;6874:28;6870:107;;6941:9;6011:1084;-1:-1:-1;;;6011:1084:4:o;6870:107::-;6744:255;;;6216:815;6163:868;7057:31;;-1:-1:-1;;;7057:31:4;;;;;;;;;;;2263:187:11;2355:6;;;-1:-1:-1;;;;;2371:17:11;;;-1:-1:-1;;;;;;2371:17:11;;;;;;;2403:40;;2355:6;;;2371:17;2355:6;;2403:40;;2336:16;;2403:40;2326:124;2263:187;:::o;10890:102:4:-;10958:27;10968:2;10972:8;10958:27;;;;;;;;;;;;:9;:27::i;19322:650::-;19500:72;;-1:-1:-1;;;19500:72:4;;19480:4;;-1:-1:-1;;;;;19500:36:4;;;;;:72;;719:10:2;;19551:4:4;;19557:7;;19566:5;;19500:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19500:72:4;;;;;;;;-1:-1:-1;;19500:72:4;;;;;;;;;;;;:::i;:::-;;;19496:470;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19731:13:4;;19727:229;;19776:40;;-1:-1:-1;;;19776:40:4;;;;;;;;;;;19727:229;19916:6;19910:13;19901:6;19897:2;19893:15;19886:38;19496:470;-1:-1:-1;;;;;;19618:55:4;-1:-1:-1;;;19618:55:4;;-1:-1:-1;19496:470:4;19322:650;;;;;;:::o;894:102:1:-;955:13;984:7;977:14;;;;;:::i;328:703:12:-;384:13;601:10;597:51;;-1:-1:-1;;627:10:12;;;;;;;;;;;;-1:-1:-1;;;627:10:12;;;;;328:703::o;597:51::-;672:5;657:12;711:75;718:9;;711:75;;743:8;;;;:::i;:::-;;-1:-1:-1;765:10:12;;-1:-1:-1;773:2:12;765:10;;:::i;:::-;;;711:75;;;795:19;827:6;817:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;817:17:12;;795:39;;844:150;851:10;;844:150;;877:11;887:1;877:11;;:::i;:::-;;-1:-1:-1;945:10:12;953:2;945:5;:10;:::i;:::-;932:24;;:2;:24;:::i;:::-;919:39;;902:6;909;902:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;902:56:12;;;;;;;;-1:-1:-1;972:11:12;981:2;972:11;;:::i;:::-;;;844:150;;11343:157:4;11461:32;11467:2;11471:8;11481:5;11488:4;11880:20;11903:13;-1:-1:-1;;;;;11930:16:4;;11926:48;;11955:19;;-1:-1:-1;;;11955:19:4;;;;;;;;;;;11926:48;11988:13;11984:44;;12010:18;;-1:-1:-1;;;12010:18:4;;;;;;;;;;;11984:44;-1:-1:-1;;;;;12371:16:4;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;12429:49:4;;12371:44;;;;;;;;12429:49;;;;-1:-1:-1;;12371:44:4;;;;;;12429:49;;;;;;;;;;;;;;;;12493:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;12542:66:4;;;;-1:-1:-1;;;12592:15:4;12542:66;;;;;;;;;;12493:25;12686:23;;;12728:4;:23;;;;-1:-1:-1;;;;;;12736:13:4;;1465:19:0;:23;;12736:15:4;12724:628;;;12771:309;12801:38;;12826:12;;-1:-1:-1;;;;;12801:38:4;;;12818:1;;12801:38;;12818:1;;12801:38;12866:69;12905:1;12909:2;12913:14;;;;;;12929:5;12866:30;:69::i;:::-;12861:172;;12970:40;;-1:-1:-1;;;12970:40:4;;;;;;;;;;;12861:172;13075:3;13059:12;:19;;12771:309;;13159:12;13142:13;;:29;13138:43;;13173:8;;;13138:43;12724:628;;;13220:118;13250:40;;13275:14;;;;;-1:-1:-1;;;;;13250:40:4;;;13267:1;;13250:40;;13267:1;;13250:40;13333:3;13317:12;:19;;13220:118;;12724:628;-1:-1:-1;13365:13:4;:28;13413:60;10107:359;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:13;-1:-1:-1;;;;;;88:32:13;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:160::-;657:20;;713:13;;706:21;696:32;;686:60;;742:1;739;732:12;686:60;592:160;;;:::o;757:180::-;813:6;866:2;854:9;845:7;841:23;837:32;834:52;;;882:1;879;872:12;834:52;905:26;921:9;905:26;:::i;942:258::-;1014:1;1024:113;1038:6;1035:1;1032:13;1024:113;;;1114:11;;;1108:18;1095:11;;;1088:39;1060:2;1053:10;1024:113;;;1155:6;1152:1;1149:13;1146:48;;;-1:-1:-1;;1190:1:13;1172:16;;1165:27;942:258::o;1205:::-;1247:3;1285:5;1279:12;1312:6;1307:3;1300:19;1328:63;1384:6;1377:4;1372:3;1368:14;1361:4;1354:5;1350:16;1328:63;:::i;:::-;1445:2;1424:15;-1:-1:-1;;1420:29:13;1411:39;;;;1452:4;1407:50;;1205:258;-1:-1:-1;;1205:258:13:o;1468:220::-;1617:2;1606:9;1599:21;1580:4;1637:45;1678:2;1667:9;1663:18;1655:6;1637:45;:::i;1693:180::-;1752:6;1805:2;1793:9;1784:7;1780:23;1776:32;1773:52;;;1821:1;1818;1811:12;1773:52;-1:-1:-1;1844:23:13;;1693:180;-1:-1:-1;1693:180:13:o;2086:173::-;2154:20;;-1:-1:-1;;;;;2203:31:13;;2193:42;;2183:70;;2249:1;2246;2239:12;2264:254;2332:6;2340;2393:2;2381:9;2372:7;2368:23;2364:32;2361:52;;;2409:1;2406;2399:12;2361:52;2432:29;2451:9;2432:29;:::i;:::-;2422:39;2508:2;2493:18;;;;2480:32;;-1:-1:-1;;;2264:254:13:o;2705:186::-;2764:6;2817:2;2805:9;2796:7;2792:23;2788:32;2785:52;;;2833:1;2830;2823:12;2785:52;2856:29;2875:9;2856:29;:::i;2896:328::-;2973:6;2981;2989;3042:2;3030:9;3021:7;3017:23;3013:32;3010:52;;;3058:1;3055;3048:12;3010:52;3081:29;3100:9;3081:29;:::i;:::-;3071:39;;3129:38;3163:2;3152:9;3148:18;3129:38;:::i;:::-;3119:48;;3214:2;3203:9;3199:18;3186:32;3176:42;;2896:328;;;;;:::o;3229:127::-;3290:10;3285:3;3281:20;3278:1;3271:31;3321:4;3318:1;3311:15;3345:4;3342:1;3335:15;3361:632;3426:5;3456:18;3497:2;3489:6;3486:14;3483:40;;;3503:18;;:::i;:::-;3578:2;3572:9;3546:2;3632:15;;-1:-1:-1;;3628:24:13;;;3654:2;3624:33;3620:42;3608:55;;;3678:18;;;3698:22;;;3675:46;3672:72;;;3724:18;;:::i;:::-;3764:10;3760:2;3753:22;3793:6;3784:15;;3823:6;3815;3808:22;3863:3;3854:6;3849:3;3845:16;3842:25;3839:45;;;3880:1;3877;3870:12;3839:45;3930:6;3925:3;3918:4;3910:6;3906:17;3893:44;3985:1;3978:4;3969:6;3961;3957:19;3953:30;3946:41;;;;3361:632;;;;;:::o;3998:451::-;4067:6;4120:2;4108:9;4099:7;4095:23;4091:32;4088:52;;;4136:1;4133;4126:12;4088:52;4176:9;4163:23;4209:18;4201:6;4198:30;4195:50;;;4241:1;4238;4231:12;4195:50;4264:22;;4317:4;4309:13;;4305:27;-1:-1:-1;4295:55:13;;4346:1;4343;4336:12;4295:55;4369:74;4435:7;4430:2;4417:16;4412:2;4408;4404:11;4369:74;:::i;4454:254::-;4519:6;4527;4580:2;4568:9;4559:7;4555:23;4551:32;4548:52;;;4596:1;4593;4586:12;4548:52;4619:29;4638:9;4619:29;:::i;:::-;4609:39;;4667:35;4698:2;4687:9;4683:18;4667:35;:::i;:::-;4657:45;;4454:254;;;;;:::o;4713:667::-;4808:6;4816;4824;4832;4885:3;4873:9;4864:7;4860:23;4856:33;4853:53;;;4902:1;4899;4892:12;4853:53;4925:29;4944:9;4925:29;:::i;:::-;4915:39;;4973:38;5007:2;4996:9;4992:18;4973:38;:::i;:::-;4963:48;;5058:2;5047:9;5043:18;5030:32;5020:42;;5113:2;5102:9;5098:18;5085:32;5140:18;5132:6;5129:30;5126:50;;;5172:1;5169;5162:12;5126:50;5195:22;;5248:4;5240:13;;5236:27;-1:-1:-1;5226:55:13;;5277:1;5274;5267:12;5226:55;5300:74;5366:7;5361:2;5348:16;5343:2;5339;5335:11;5300:74;:::i;:::-;5290:84;;;4713:667;;;;;;;:::o;5385:260::-;5453:6;5461;5514:2;5502:9;5493:7;5489:23;5485:32;5482:52;;;5530:1;5527;5520:12;5482:52;5553:29;5572:9;5553:29;:::i;:::-;5543:39;;5601:38;5635:2;5624:9;5620:18;5601:38;:::i;5650:356::-;5852:2;5834:21;;;5871:18;;;5864:30;5930:34;5925:2;5910:18;;5903:62;5997:2;5982:18;;5650:356::o;6011:380::-;6090:1;6086:12;;;;6133;;;6154:61;;6208:4;6200:6;6196:17;6186:27;;6154:61;6261:2;6253:6;6250:14;6230:18;6227:38;6224:161;;;6307:10;6302:3;6298:20;6295:1;6288:31;6342:4;6339:1;6332:15;6370:4;6367:1;6360:15;6224:161;;6011:380;;;:::o;7721:127::-;7782:10;7777:3;7773:20;7770:1;7763:31;7813:4;7810:1;7803:15;7837:4;7834:1;7827:15;7853:128;7893:3;7924:1;7920:6;7917:1;7914:13;7911:39;;;7930:18;;:::i;:::-;-1:-1:-1;7966:9:13;;7853:128::o;8694:125::-;8734:4;8762:1;8759;8756:8;8753:34;;;8767:18;;:::i;:::-;-1:-1:-1;8804:9:13;;8694:125::o;8824:168::-;8864:7;8930:1;8926;8922:6;8918:14;8915:1;8912:21;8907:1;8900:9;8893:17;8889:45;8886:71;;;8937:18;;:::i;:::-;-1:-1:-1;8977:9:13;;8824:168::o;9882:1527::-;10106:3;10144:6;10138:13;10170:4;10183:51;10227:6;10222:3;10217:2;10209:6;10205:15;10183:51;:::i;:::-;10297:13;;10256:16;;;;10319:55;10297:13;10256:16;10341:15;;;10319:55;:::i;:::-;10463:13;;10396:20;;;10436:1;;10523;10545:18;;;;10598;;;;10625:93;;10703:4;10693:8;10689:19;10677:31;;10625:93;10766:2;10756:8;10753:16;10733:18;10730:40;10727:167;;;-1:-1:-1;;;10793:33:13;;10849:4;10846:1;10839:15;10879:4;10800:3;10867:17;10727:167;10910:18;10937:110;;;;11061:1;11056:328;;;;10903:481;;10937:110;-1:-1:-1;;10972:24:13;;10958:39;;11017:20;;;;-1:-1:-1;10937:110:13;;11056:328;9829:1;9822:14;;;9866:4;9853:18;;11151:1;11165:169;11179:8;11176:1;11173:15;11165:169;;;11261:14;;11246:13;;;11239:37;11304:16;;;;11196:10;;11165:169;;;11169:3;;11365:8;11358:5;11354:20;11347:27;;10903:481;-1:-1:-1;11400:3:13;;9882:1527;-1:-1:-1;;;;;;;;;;;9882:1527:13:o;11821:489::-;-1:-1:-1;;;;;12090:15:13;;;12072:34;;12142:15;;12137:2;12122:18;;12115:43;12189:2;12174:18;;12167:34;;;12237:3;12232:2;12217:18;;12210:31;;;12015:4;;12258:46;;12284:19;;12276:6;12258:46;:::i;:::-;12250:54;11821:489;-1:-1:-1;;;;;;11821:489:13:o;12315:249::-;12384:6;12437:2;12425:9;12416:7;12412:23;12408:32;12405:52;;;12453:1;12450;12443:12;12405:52;12485:9;12479:16;12504:30;12528:5;12504:30;:::i;12569:135::-;12608:3;-1:-1:-1;;12629:17:13;;12626:43;;;12649:18;;:::i;:::-;-1:-1:-1;12696:1:13;12685:13;;12569:135::o;12709:127::-;12770:10;12765:3;12761:20;12758:1;12751:31;12801:4;12798:1;12791:15;12825:4;12822:1;12815:15;12841:120;12881:1;12907;12897:35;;12912:18;;:::i;:::-;-1:-1:-1;12946:9:13;;12841:120::o;12966:112::-;12998:1;13024;13014:35;;13029:18;;:::i;:::-;-1:-1:-1;13063:9:13;;12966:112::o;13083:127::-;13144:10;13139:3;13135:20;13132:1;13125:31;13175:4;13172:1;13165:15;13199:4;13196:1;13189:15

Swarm Source

ipfs://4eeee3bd6660d139ef7be32863ebd7b77c132b9814d0941763d0f211759dca91

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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