ETH Price: $2,991.12 (+3.76%)
Gas: 3 Gwei

Contract

0x57Eb04dD716bfCC5682256556F6800985953444F
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Mint179181042023-08-15 5:17:35326 days ago1692076655IN
goblin-loot.wtf: GOBLOOT Token
0 ETH0.0011120711.82781555
Mint178970902023-08-12 6:47:11329 days ago1691822831IN
goblin-loot.wtf: GOBLOOT Token
0 ETH0.0013202714.04215452
Transfer From156228642022-09-27 6:19:47648 days ago1664259587IN
goblin-loot.wtf: GOBLOOT Token
0 ETH0.0007189512.49750529
Safe Transfer Fr...155386592022-09-15 10:59:23659 days ago1663239563IN
goblin-loot.wtf: GOBLOOT Token
0 ETH0.001197458.6647471
Mint155362282022-09-15 1:52:45660 days ago1663206765IN
goblin-loot.wtf: GOBLOOT Token
0 ETH0.0011212311.62266716
Mint155361802022-09-15 1:39:05660 days ago1663205945IN
goblin-loot.wtf: GOBLOOT Token
0 ETH0.0014811515.35350486
Set Approval For...154017022022-08-24 7:53:58682 days ago1661327638IN
goblin-loot.wtf: GOBLOOT Token
0 ETH0.0006600514.10637577
Set Approval For...152038872022-07-24 7:09:01713 days ago1658646541IN
goblin-loot.wtf: GOBLOOT Token
0 ETH0.000314936.74288466
Mint151910472022-07-22 7:36:15715 days ago1658475375IN
goblin-loot.wtf: GOBLOOT Token
0 ETH0.0015603718.98030434
Mint151909182022-07-22 7:03:17715 days ago1658473397IN
goblin-loot.wtf: GOBLOOT Token
0 ETH0.000653888.5665436
Mint151908532022-07-22 6:47:44715 days ago1658472464IN
goblin-loot.wtf: GOBLOOT Token
0 ETH0.0035353331.12911038
Mint151908502022-07-22 6:46:39715 days ago1658472399IN
goblin-loot.wtf: GOBLOOT Token
0 ETH0.000992288.73723523
Mint151908402022-07-22 6:43:37715 days ago1658472217IN
goblin-loot.wtf: GOBLOOT Token
0 ETH0.0011969410.53927655
Mint151908362022-07-22 6:42:27715 days ago1658472147IN
goblin-loot.wtf: GOBLOOT Token
0 ETH0.000923169.56944219
Mint151908172022-07-22 6:38:13715 days ago1658471893IN
goblin-loot.wtf: GOBLOOT Token
0 ETH0.0010576410.96345669
Mint151908142022-07-22 6:37:00715 days ago1658471820IN
goblin-loot.wtf: GOBLOOT Token
0 ETH0.000830969.87249825
Mint151907992022-07-22 6:33:46715 days ago1658471626IN
goblin-loot.wtf: GOBLOOT Token
0 ETH0.000904527.96448836
Mint151907932022-07-22 6:32:04715 days ago1658471524IN
goblin-loot.wtf: GOBLOOT Token
0 ETH0.000903139.36187091
Mint151907902022-07-22 6:31:06715 days ago1658471466IN
goblin-loot.wtf: GOBLOOT Token
0 ETH0.000820258.50272346
Mint151907862022-07-22 6:30:27715 days ago1658471427IN
goblin-loot.wtf: GOBLOOT Token
0 ETH0.000890047.83696258
Mint151907862022-07-22 6:30:27715 days ago1658471427IN
goblin-loot.wtf: GOBLOOT Token
0 ETH0.00085258.83696258
Mint151907842022-07-22 6:30:03715 days ago1658471403IN
goblin-loot.wtf: GOBLOOT Token
0 ETH0.000836438.67042163
Mint151907802022-07-22 6:29:29715 days ago1658471369IN
goblin-loot.wtf: GOBLOOT Token
0 ETH0.00088389.16149142
Mint151907772022-07-22 6:29:01715 days ago1658471341IN
goblin-loot.wtf: GOBLOOT Token
0 ETH0.000960619.95762754
Mint151907752022-07-22 6:28:18715 days ago1658471298IN
goblin-loot.wtf: GOBLOOT Token
0 ETH0.00087119.02981013
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
GoblinLootWTF

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 6 : goblin-loot-wtf.sol
//Contract based on [https://docs.openzeppelin.com/contracts/3.x/erc721](https://docs.openzeppelin.com/contracts/3.x/erc721)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

/*
       ,-, ,                 .           
        )|/  ,-. ,-. ,-. ,-. |-. ,-. ,-. 
         |\  | | ,-| | | `-. | | | | | | 
        ,' ` ' ' `-^ ' ' `-' ' ' `-' ' ' 

          *             (       %    \# *           
            **&#%   *     &          \*(&&  @***.   
             #%%&*     \      *(*   (&#%&&\#%(      
  *& (&&(  *  %&*    #       ##&*(     *&%%         
 \***&&%#   #&                %&      #&#&&         
    %&%                        (*     %#(&          
    &*  *%     %&%###%\\#*&&&&#       *  &&     **  
 * &\ &    &%&.# &@&&   .\@....@  .&      &    * *  
        .&*&\%. (**\@\%\* @  @#. (    %     *(& #*\ 
       && ............#&@\@... .&&#**  &     *&#\*  
      & #& @.........@ @* #.....**#\ \* &  #*#%     
     @@&(\&.........&.&\\(\&.....  &*  \@   ( *&  % 
     @(\\\\@&.......%&\\\\(.*.##(&%&(\\\&           
     @& @&&&@\&@@*\*(&%&&&&*\\\\(((&#\\\%*          
    #\\&\&&*\(#&&\\\#*#\&&%\\\\\#&@%&#\\&           
    @# (% .   %*& ..... ...... #  .&&((&            
     %* ...#&. * . (@. . ...*&#%%& &                
         &*..* (.@.% .%. &%.                        
          &..* \#&(\..% *& *&#(((#&#                
             @&    *#&& &#\\@&&&&&&\\&&             
                     & \%&%\\\\\\\\#&&\\\((         
                    # #(  *(%\\%#\\\\  &*#%         
                    & @  ( * *( (\ \   &\(\%        
                    &%%  & \*\ (\#&#   &. \&        
                    &&   \( *%.% *\*   ((**&        
                   *&&(   .%*%*#(#   # \***(*       
                   &&&   .&(*    ##    \&(#(&       
                   &.#     #     #     \&\\%@       
                   % (     .  (**      \@  \&       
*/

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "erc721a/contracts/ERC721A.sol";

/*
* @author Knanshon
* @title ERC721a smart contract for goblin-loot.wtf NFT collection
* @notice Enables the minting of NFTs in the collection, and management of minting and funds
*/
contract GoblinLootWTF is ERC721A, Ownable {
    using SafeMath for uint256;

    /// @notice The total number of possible NFTs in this collection
    uint256 public constant MAX_SUPPLY = 9999;

    /// @notice Maximum number of tokens mintable in one transaction
    uint256 public constant MAX_PER_MINT = 20;

    /// @notice Number of initial tokens mintable for free
    uint256 public constant FREE_MINT_AMOUNT = 5000;

    /// @notice The mint price per token
    uint256 private _mintPrice;

    /// @notice The base token URI used as a prefix by tokenURI().
    string private _baseTokenUri;

    /// @notice Contract URI used as collection metadata
    string private _contractMetadataUri;

    /// @notice Set up the contract with defaults
    constructor() ERC721A("goblin-loot.wtf", "GOBLOOT") {
        _contractMetadataUri = "https://ipfs.io/ipfs/bafkreif7cvz266ig24yf4tutastbcug5bbiswrhzdsm637e2qmjomrgudm";
        _baseTokenUri = "https://goblin-loot-metadata-proxy.herokuapp.com/api/token-metadata/";
        _mintPrice = 0.025 ether;
    }

    /// @notice Mint using ERC721a gas optimisations
    /// @param quantity The number of consecutive NFT tokens to mint
    function mint(uint256 quantity) external payable {
        uint256 totalMinted = totalSupply();
        uint256 price = 0;
        uint256 newTotal = totalMinted.add(quantity);

        if (newTotal > FREE_MINT_AMOUNT) {
            if (totalMinted < FREE_MINT_AMOUNT ) {
                uint256 payableQuantity = newTotal.sub(FREE_MINT_AMOUNT);
                price = payableQuantity.mul(_mintPrice);
            }
            else {
                price = quantity.mul(_mintPrice);
            }
        }

        require(price <= msg.value, "Needs more moolah!");
        require(quantity > 0, "Quantity iz 1 or more innit!");
        require(quantity <= MAX_PER_MINT, "Too many you is greedy");
        require(newTotal < MAX_SUPPLY, "Not dat many iz left!");

        _safeMint(msg.sender, quantity);
    }

    /// @notice Withdraw specified funds from the contract to the sender if available
    /// @param amount The amount to withdraw
    function withdraw(uint256 amount) external onlyOwner {
        uint balance = address(this).balance;
        require(balance >= amount, "Insufficient funds");
        payable(msg.sender).transfer(amount);
    }

    /// @notice Receive function keeps eth sent to it 
    receive() external payable { }

    /// @notice OpenSea store-front-level metadata
    /// @return string The uri of the metadata
    function contractURI() external view returns (string memory) {
        return _contractMetadataUri;
    }

    /// @notice Get the base uri for all tokens
    /// @return string the base uri
    function _baseURI() internal view virtual override returns (string memory) {
        return _baseTokenUri;
    }

    /// @notice Sets the base token uri
    /// @param baseTokenUri The base uri for all tokens
    function setBaseTokenURI(string memory baseTokenUri) external onlyOwner {
        _baseTokenUri = baseTokenUri;
    }

    /// @notice Sets the price per token
    /// @param mintPrice The mint price per token for non-free token ids
    function setMintPrice(uint256 mintPrice) external onlyOwner {
        _mintPrice = mintPrice;
    }

    /// @notice Set the store-front-level metadata uri
    /// @param contractMetadataUri The store-front-level metadata uri
    function setContractMetadataURI(string memory contractMetadataUri) external onlyOwner {
        _contractMetadataUri = contractMetadataUri;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 3 of 6 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

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

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

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

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 4 of 6 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.0.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

/**
 * @dev ERC721 token receiver interface.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @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 IERC721A {
    // Mask of an entry in packed address data.
    uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant BITMASK_BURNED = 1 << 224;
    
    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225;

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

    // The number of tokens burned.
    uint256 private _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 `_packedOwnershipOf` implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

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

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

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count. 
     * To get the total number of tokens minted, please see `_totalMinted`.
     */
    function totalSupply() public view override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * @dev 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 Returns the total number of tokens burned.
     */
    function _totalBurned() internal view returns (uint256) {
        return _burnCounter;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes of the XOR of
        // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165
        // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

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

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY;
    }

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

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> BITPOS_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 {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        assembly { // Cast aux without masking.
            auxCasted := aux
        }
        packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & BITMASK_BURNED == 0) {
                        // 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.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP);
        ownership.burned = packed & BITMASK_BURNED != 0;
    }

    /**
     * Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * 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) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

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

    /**
     * @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, _toString(tokenId))) : '';
    }

    /**
     * @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 Casts the address to uint256 without masking.
     */
    function _addressToUint256(address value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

    /**
     * @dev Casts the boolean to uint256 without branching.
     */
    function _boolToUint256(bool value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

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

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

        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @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 == _msgSenderERC721A()) revert ApproveToCaller();

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

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

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

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

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

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

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

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

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

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

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

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

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

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        delete _tokenApprovals[tokenId];

        // 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 {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_NEXT_INITIALIZED;

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

        // Clear approvals from the previous owner.
        delete _tokenApprovals[tokenId];

        // 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 {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] =
                _addressToUint256(from) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_BURNED | 
                BITMASK_NEXT_INITIALIZED;

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        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 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 ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__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 {}

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function _toString(uint256 value) internal pure returns (string memory ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), 
            // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length, 
            // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

            // Cache the end of the memory to calculate the length later.
            let end := ptr

            // We write the string from the rightmost digit to the leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // Costs a bit more than early returning for the zero case,
            // but cheaper in terms of deployment and overall runtime costs.
            for { 
                // Initialize and perform the first pass without check.
                let temp := value
                // Move the pointer 1 byte leftwards to point to an empty character slot.
                ptr := sub(ptr, 1)
                // Write the character to the pointer. 48 is the ASCII index of '0'.
                mstore8(ptr, add(48, mod(temp, 10)))
                temp := div(temp, 10)
            } temp { 
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
            } { // Body of the for loop.
                ptr := sub(ptr, 1)
                mstore8(ptr, add(48, mod(temp, 10)))
            }
            
            let length := sub(end, ptr)
            // Move the pointer 32 bytes leftwards to make room for the length.
            ptr := sub(ptr, 32)
            // Store the length.
            mstore(ptr, length)
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

File 6 of 6 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.0.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // ==============================
    //            IERC721
    // ==============================

    /**
     * @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`.
     *
     * 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;

    /**
     * @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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

    // ==============================
    //        IERC721Metadata
    // ==============================

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"FREE_MINT_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","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":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseTokenUri","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"contractMetadataUri","type":"string"}],"name":"setContractMetadataURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintPrice","type":"uint256"}],"name":"setMintPrice","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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b506040518060400160405280600f81526020017f676f626c696e2d6c6f6f742e77746600000000000000000000000000000000008152506040518060400160405280600781526020017f474f424c4f4f540000000000000000000000000000000000000000000000000081525081600290805190602001906200009692919062000233565b508060039080519060200190620000af92919062000233565b50620000c06200016060201b60201c565b6000819055505050620000e8620000dc6200016560201b60201c565b6200016d60201b60201c565b604051806080016040528060508152602001620030c260509139600b90805190602001906200011992919062000233565b506040518060800160405280604481526020016200311260449139600a90805190602001906200014b92919062000233565b506658d15e1762800060098190555062000348565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200024190620002e3565b90600052602060002090601f016020900481019282620002655760008555620002b1565b82601f106200028057805160ff1916838001178555620002b1565b82800160010185558215620002b1579182015b82811115620002b057825182559160200191906001019062000293565b5b509050620002c09190620002c4565b5090565b5b80821115620002df576000816000905550600101620002c5565b5090565b60006002820490506001821680620002fc57607f821691505b6020821081141562000313576200031262000319565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b612d6a80620003586000396000f3fe6080604052600436106101855760003560e01c8063715018a6116100d1578063b88d4fde1161008a578063e8a3d48511610064578063e8a3d4851461056a578063e985e9c514610595578063f2fde38b146105d2578063f4a0a528146105fb5761018c565b8063b88d4fde146104d9578063c87b56dd14610502578063d33739601461053f5761018c565b8063715018a6146103fe5780638da5cb5b1461041557806395d89b4114610440578063a0712d681461046b578063a201fc5014610487578063a22cb465146104b05761018c565b806323b872dd1161013e57806332cb6b0c1161011857806332cb6b0c1461033057806342842e0e1461035b5780636352211e1461038457806370a08231146103c15761018c565b806323b872dd146102b55780632e1a7d4d146102de57806330176e13146103075761018c565b806301ffc9a71461019157806306fdde03146101ce578063081812fc146101f9578063095ea7b31461023657806309d42b301461025f57806318160ddd1461028a5761018c565b3661018c57005b600080fd5b34801561019d57600080fd5b506101b860048036038101906101b391906123c2565b610624565b6040516101c591906126e2565b60405180910390f35b3480156101da57600080fd5b506101e36106b6565b6040516101f091906126fd565b60405180910390f35b34801561020557600080fd5b50610220600480360381019061021b9190612465565b610748565b60405161022d919061267b565b60405180910390f35b34801561024257600080fd5b5061025d60048036038101906102589190612382565b6107c4565b005b34801561026b57600080fd5b5061027461096b565b60405161028191906127ff565b60405180910390f35b34801561029657600080fd5b5061029f610970565b6040516102ac91906127ff565b60405180910390f35b3480156102c157600080fd5b506102dc60048036038101906102d7919061226c565b610987565b005b3480156102ea57600080fd5b5061030560048036038101906103009190612465565b610997565b005b34801561031357600080fd5b5061032e6004803603810190610329919061241c565b610aa6565b005b34801561033c57600080fd5b50610345610b3c565b60405161035291906127ff565b60405180910390f35b34801561036757600080fd5b50610382600480360381019061037d919061226c565b610b42565b005b34801561039057600080fd5b506103ab60048036038101906103a69190612465565b610b62565b6040516103b8919061267b565b60405180910390f35b3480156103cd57600080fd5b506103e860048036038101906103e391906121ff565b610b74565b6040516103f591906127ff565b60405180910390f35b34801561040a57600080fd5b50610413610c2d565b005b34801561042157600080fd5b5061042a610cb5565b604051610437919061267b565b60405180910390f35b34801561044c57600080fd5b50610455610cdf565b60405161046291906126fd565b60405180910390f35b61048560048036038101906104809190612465565b610d71565b005b34801561049357600080fd5b506104ae60048036038101906104a9919061241c565b610f16565b005b3480156104bc57600080fd5b506104d760048036038101906104d29190612342565b610fac565b005b3480156104e557600080fd5b5061050060048036038101906104fb91906122bf565b611124565b005b34801561050e57600080fd5b5061052960048036038101906105249190612465565b611197565b60405161053691906126fd565b60405180910390f35b34801561054b57600080fd5b50610554611236565b60405161056191906127ff565b60405180910390f35b34801561057657600080fd5b5061057f61123c565b60405161058c91906126fd565b60405180910390f35b3480156105a157600080fd5b506105bc60048036038101906105b7919061222c565b6112ce565b6040516105c991906126e2565b60405180910390f35b3480156105de57600080fd5b506105f960048036038101906105f491906121ff565b611362565b005b34801561060757600080fd5b50610622600480360381019061061d9190612465565b61145a565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061067f57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106af5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546106c590612a7e565b80601f01602080910402602001604051908101604052809291908181526020018280546106f190612a7e565b801561073e5780601f106107135761010080835404028352916020019161073e565b820191906000526020600020905b81548152906001019060200180831161072157829003601f168201915b5050505050905090565b6000610753826114e0565b610789576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107cf8261153f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610837576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661085661160d565b73ffffffffffffffffffffffffffffffffffffffff16146108b9576108828161087d61160d565b6112ce565b6108b8576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b601481565b600061097a611615565b6001546000540303905090565b61099283838361161a565b505050565b61099f6119c4565b73ffffffffffffffffffffffffffffffffffffffff166109bd610cb5565b73ffffffffffffffffffffffffffffffffffffffff1614610a13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0a906127df565b60405180910390fd5b600047905081811015610a5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a529061275f565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015610aa1573d6000803e3d6000fd5b505050565b610aae6119c4565b73ffffffffffffffffffffffffffffffffffffffff16610acc610cb5565b73ffffffffffffffffffffffffffffffffffffffff1614610b22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b19906127df565b60405180910390fd5b80600a9080519060200190610b38929190612013565b5050565b61270f81565b610b5d83838360405180602001604052806000815250611124565b505050565b6000610b6d8261153f565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610bdc576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610c356119c4565b73ffffffffffffffffffffffffffffffffffffffff16610c53610cb5565b73ffffffffffffffffffffffffffffffffffffffff1614610ca9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca0906127df565b60405180910390fd5b610cb360006119cc565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054610cee90612a7e565b80601f0160208091040260200160405190810160405280929190818152602001828054610d1a90612a7e565b8015610d675780601f10610d3c57610100808354040283529160200191610d67565b820191906000526020600020905b815481529060010190602001808311610d4a57829003601f168201915b5050505050905090565b6000610d7b610970565b9050600080610d938484611a9290919063ffffffff16565b9050611388811115610df857611388831015610ddf576000610dc061138883611aa890919063ffffffff16565b9050610dd760095482611abe90919063ffffffff16565b925050610df7565b610df460095485611abe90919063ffffffff16565b91505b5b34821115610e3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e32906127bf565b60405180910390fd5b60008411610e7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e759061279f565b60405180910390fd5b6014841115610ec2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb99061277f565b60405180910390fd5b61270f8110610f06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efd9061273f565b60405180910390fd5b610f103385611ad4565b50505050565b610f1e6119c4565b73ffffffffffffffffffffffffffffffffffffffff16610f3c610cb5565b73ffffffffffffffffffffffffffffffffffffffff1614610f92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f89906127df565b60405180910390fd5b80600b9080519060200190610fa8929190612013565b5050565b610fb461160d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611019576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061102661160d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166110d361160d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161111891906126e2565b60405180910390a35050565b61112f84848461161a565b60008373ffffffffffffffffffffffffffffffffffffffff163b146111915761115a84848484611af2565b611190576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606111a2826114e0565b6111d8576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006111e2611c52565b9050600081511415611203576040518060200160405280600081525061122e565b8061120d84611ce4565b60405160200161121e929190612657565b6040516020818303038152906040525b915050919050565b61138881565b6060600b805461124b90612a7e565b80601f016020809104026020016040519081016040528092919081815260200182805461127790612a7e565b80156112c45780601f10611299576101008083540402835291602001916112c4565b820191906000526020600020905b8154815290600101906020018083116112a757829003601f168201915b5050505050905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61136a6119c4565b73ffffffffffffffffffffffffffffffffffffffff16611388610cb5565b73ffffffffffffffffffffffffffffffffffffffff16146113de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d5906127df565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561144e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114459061271f565b60405180910390fd5b611457816119cc565b50565b6114626119c4565b73ffffffffffffffffffffffffffffffffffffffff16611480610cb5565b73ffffffffffffffffffffffffffffffffffffffff16146114d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114cd906127df565b60405180910390fd5b8060098190555050565b6000816114eb611615565b111580156114fa575060005482105b8015611538575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b6000808290508061154e611615565b116115d6576000548110156115d55760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821614156115d3575b60008114156115c957600460008360019003935083815260200190815260200160002054905061159e565b8092505050611608565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600090565b60006116258261153f565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461168c576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166116ad61160d565b73ffffffffffffffffffffffffffffffffffffffff1614806116dc57506116db856116d661160d565b6112ce565b5b8061172157506116ea61160d565b73ffffffffffffffffffffffffffffffffffffffff1661170984610748565b73ffffffffffffffffffffffffffffffffffffffff16145b90508061175a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156117c1576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6117ce8585856001611d3e565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b6118cb86611d44565b1717600460008581526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000083161415611955576000600184019050600060046000838152602001908152602001600020541415611953576000548114611952578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46119bd8585856001611d4e565b5050505050565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008183611aa091906128e4565b905092915050565b60008183611ab69190612994565b905092915050565b60008183611acc919061293a565b905092915050565b611aee828260405180602001604052806000815250611d54565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611b1861160d565b8786866040518563ffffffff1660e01b8152600401611b3a9493929190612696565b602060405180830381600087803b158015611b5457600080fd5b505af1925050508015611b8557506040513d601f19601f82011682018060405250810190611b8291906123ef565b60015b611bff573d8060008114611bb5576040519150601f19603f3d011682016040523d82523d6000602084013e611bba565b606091505b50600081511415611bf7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a8054611c6190612a7e565b80601f0160208091040260200160405190810160405280929190818152602001828054611c8d90612a7e565b8015611cda5780601f10611caf57610100808354040283529160200191611cda565b820191906000526020600020905b815481529060010190602001808311611cbd57829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b8015611d2a57600183039250600a81066030018353600a81049050611d0a565b508181036020830392508083525050919050565b50505050565b6000819050919050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611dc1576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000831415611dfc576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611e096000858386611d3e565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1611e6e60018514612009565b901b60a042901b611e7e86611d44565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b14611f82575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611f326000878480600101955087611af2565b611f68576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808210611ec3578260005414611f7d57600080fd5b611fed565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210611f83575b8160008190555050506120036000858386611d4e565b50505050565b6000819050919050565b82805461201f90612a7e565b90600052602060002090601f0160209004810192826120415760008555612088565b82601f1061205a57805160ff1916838001178555612088565b82800160010185558215612088579182015b8281111561208757825182559160200191906001019061206c565b5b5090506120959190612099565b5090565b5b808211156120b257600081600090555060010161209a565b5090565b60006120c96120c48461283f565b61281a565b9050828152602081018484840111156120e5576120e4612b73565b5b6120f0848285612a3c565b509392505050565b600061210b61210684612870565b61281a565b90508281526020810184848401111561212757612126612b73565b5b612132848285612a3c565b509392505050565b60008135905061214981612cd8565b92915050565b60008135905061215e81612cef565b92915050565b60008135905061217381612d06565b92915050565b60008151905061218881612d06565b92915050565b600082601f8301126121a3576121a2612b6e565b5b81356121b38482602086016120b6565b91505092915050565b600082601f8301126121d1576121d0612b6e565b5b81356121e18482602086016120f8565b91505092915050565b6000813590506121f981612d1d565b92915050565b60006020828403121561221557612214612b7d565b5b60006122238482850161213a565b91505092915050565b6000806040838503121561224357612242612b7d565b5b60006122518582860161213a565b92505060206122628582860161213a565b9150509250929050565b60008060006060848603121561228557612284612b7d565b5b60006122938682870161213a565b93505060206122a48682870161213a565b92505060406122b5868287016121ea565b9150509250925092565b600080600080608085870312156122d9576122d8612b7d565b5b60006122e78782880161213a565b94505060206122f88782880161213a565b9350506040612309878288016121ea565b925050606085013567ffffffffffffffff81111561232a57612329612b78565b5b6123368782880161218e565b91505092959194509250565b6000806040838503121561235957612358612b7d565b5b60006123678582860161213a565b92505060206123788582860161214f565b9150509250929050565b6000806040838503121561239957612398612b7d565b5b60006123a78582860161213a565b92505060206123b8858286016121ea565b9150509250929050565b6000602082840312156123d8576123d7612b7d565b5b60006123e684828501612164565b91505092915050565b60006020828403121561240557612404612b7d565b5b600061241384828501612179565b91505092915050565b60006020828403121561243257612431612b7d565b5b600082013567ffffffffffffffff8111156124505761244f612b78565b5b61245c848285016121bc565b91505092915050565b60006020828403121561247b5761247a612b7d565b5b6000612489848285016121ea565b91505092915050565b61249b816129c8565b82525050565b6124aa816129da565b82525050565b60006124bb826128a1565b6124c581856128b7565b93506124d5818560208601612a4b565b6124de81612b82565b840191505092915050565b60006124f4826128ac565b6124fe81856128c8565b935061250e818560208601612a4b565b61251781612b82565b840191505092915050565b600061252d826128ac565b61253781856128d9565b9350612547818560208601612a4b565b80840191505092915050565b60006125606026836128c8565b915061256b82612b93565b604082019050919050565b60006125836015836128c8565b915061258e82612be2565b602082019050919050565b60006125a66012836128c8565b91506125b182612c0b565b602082019050919050565b60006125c96016836128c8565b91506125d482612c34565b602082019050919050565b60006125ec601c836128c8565b91506125f782612c5d565b602082019050919050565b600061260f6012836128c8565b915061261a82612c86565b602082019050919050565b60006126326020836128c8565b915061263d82612caf565b602082019050919050565b61265181612a32565b82525050565b60006126638285612522565b915061266f8284612522565b91508190509392505050565b60006020820190506126906000830184612492565b92915050565b60006080820190506126ab6000830187612492565b6126b86020830186612492565b6126c56040830185612648565b81810360608301526126d781846124b0565b905095945050505050565b60006020820190506126f760008301846124a1565b92915050565b6000602082019050818103600083015261271781846124e9565b905092915050565b6000602082019050818103600083015261273881612553565b9050919050565b6000602082019050818103600083015261275881612576565b9050919050565b6000602082019050818103600083015261277881612599565b9050919050565b60006020820190508181036000830152612798816125bc565b9050919050565b600060208201905081810360008301526127b8816125df565b9050919050565b600060208201905081810360008301526127d881612602565b9050919050565b600060208201905081810360008301526127f881612625565b9050919050565b60006020820190506128146000830184612648565b92915050565b6000612824612835565b90506128308282612ab0565b919050565b6000604051905090565b600067ffffffffffffffff82111561285a57612859612b3f565b5b61286382612b82565b9050602081019050919050565b600067ffffffffffffffff82111561288b5761288a612b3f565b5b61289482612b82565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006128ef82612a32565b91506128fa83612a32565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561292f5761292e612ae1565b5b828201905092915050565b600061294582612a32565b915061295083612a32565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561298957612988612ae1565b5b828202905092915050565b600061299f82612a32565b91506129aa83612a32565b9250828210156129bd576129bc612ae1565b5b828203905092915050565b60006129d382612a12565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015612a69578082015181840152602081019050612a4e565b83811115612a78576000848401525b50505050565b60006002820490506001821680612a9657607f821691505b60208210811415612aaa57612aa9612b10565b5b50919050565b612ab982612b82565b810181811067ffffffffffffffff82111715612ad857612ad7612b3f565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420646174206d616e7920697a206c656674210000000000000000000000600082015250565b7f496e73756666696369656e742066756e64730000000000000000000000000000600082015250565b7f546f6f206d616e7920796f752069732067726565647900000000000000000000600082015250565b7f5175616e7469747920697a2031206f72206d6f726520696e6e69742100000000600082015250565b7f4e65656473206d6f7265206d6f6f6c6168210000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b612ce1816129c8565b8114612cec57600080fd5b50565b612cf8816129da565b8114612d0357600080fd5b50565b612d0f816129e6565b8114612d1a57600080fd5b50565b612d2681612a32565b8114612d3157600080fd5b5056fea26469706673582212206cbf1325f3e7d8be9a333c1b8a0caf682342ae98b8ba2a8003b9227b3863e8c464736f6c6343000807003368747470733a2f2f697066732e696f2f697066732f6261666b726569663763767a323636696732347966347475746173746263756735626269737772687a64736d3633376532716d6a6f6d726775646d68747470733a2f2f676f626c696e2d6c6f6f742d6d657461646174612d70726f78792e6865726f6b756170702e636f6d2f6170692f746f6b656e2d6d657461646174612f

Deployed Bytecode

0x6080604052600436106101855760003560e01c8063715018a6116100d1578063b88d4fde1161008a578063e8a3d48511610064578063e8a3d4851461056a578063e985e9c514610595578063f2fde38b146105d2578063f4a0a528146105fb5761018c565b8063b88d4fde146104d9578063c87b56dd14610502578063d33739601461053f5761018c565b8063715018a6146103fe5780638da5cb5b1461041557806395d89b4114610440578063a0712d681461046b578063a201fc5014610487578063a22cb465146104b05761018c565b806323b872dd1161013e57806332cb6b0c1161011857806332cb6b0c1461033057806342842e0e1461035b5780636352211e1461038457806370a08231146103c15761018c565b806323b872dd146102b55780632e1a7d4d146102de57806330176e13146103075761018c565b806301ffc9a71461019157806306fdde03146101ce578063081812fc146101f9578063095ea7b31461023657806309d42b301461025f57806318160ddd1461028a5761018c565b3661018c57005b600080fd5b34801561019d57600080fd5b506101b860048036038101906101b391906123c2565b610624565b6040516101c591906126e2565b60405180910390f35b3480156101da57600080fd5b506101e36106b6565b6040516101f091906126fd565b60405180910390f35b34801561020557600080fd5b50610220600480360381019061021b9190612465565b610748565b60405161022d919061267b565b60405180910390f35b34801561024257600080fd5b5061025d60048036038101906102589190612382565b6107c4565b005b34801561026b57600080fd5b5061027461096b565b60405161028191906127ff565b60405180910390f35b34801561029657600080fd5b5061029f610970565b6040516102ac91906127ff565b60405180910390f35b3480156102c157600080fd5b506102dc60048036038101906102d7919061226c565b610987565b005b3480156102ea57600080fd5b5061030560048036038101906103009190612465565b610997565b005b34801561031357600080fd5b5061032e6004803603810190610329919061241c565b610aa6565b005b34801561033c57600080fd5b50610345610b3c565b60405161035291906127ff565b60405180910390f35b34801561036757600080fd5b50610382600480360381019061037d919061226c565b610b42565b005b34801561039057600080fd5b506103ab60048036038101906103a69190612465565b610b62565b6040516103b8919061267b565b60405180910390f35b3480156103cd57600080fd5b506103e860048036038101906103e391906121ff565b610b74565b6040516103f591906127ff565b60405180910390f35b34801561040a57600080fd5b50610413610c2d565b005b34801561042157600080fd5b5061042a610cb5565b604051610437919061267b565b60405180910390f35b34801561044c57600080fd5b50610455610cdf565b60405161046291906126fd565b60405180910390f35b61048560048036038101906104809190612465565b610d71565b005b34801561049357600080fd5b506104ae60048036038101906104a9919061241c565b610f16565b005b3480156104bc57600080fd5b506104d760048036038101906104d29190612342565b610fac565b005b3480156104e557600080fd5b5061050060048036038101906104fb91906122bf565b611124565b005b34801561050e57600080fd5b5061052960048036038101906105249190612465565b611197565b60405161053691906126fd565b60405180910390f35b34801561054b57600080fd5b50610554611236565b60405161056191906127ff565b60405180910390f35b34801561057657600080fd5b5061057f61123c565b60405161058c91906126fd565b60405180910390f35b3480156105a157600080fd5b506105bc60048036038101906105b7919061222c565b6112ce565b6040516105c991906126e2565b60405180910390f35b3480156105de57600080fd5b506105f960048036038101906105f491906121ff565b611362565b005b34801561060757600080fd5b50610622600480360381019061061d9190612465565b61145a565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061067f57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106af5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546106c590612a7e565b80601f01602080910402602001604051908101604052809291908181526020018280546106f190612a7e565b801561073e5780601f106107135761010080835404028352916020019161073e565b820191906000526020600020905b81548152906001019060200180831161072157829003601f168201915b5050505050905090565b6000610753826114e0565b610789576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107cf8261153f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610837576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661085661160d565b73ffffffffffffffffffffffffffffffffffffffff16146108b9576108828161087d61160d565b6112ce565b6108b8576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b601481565b600061097a611615565b6001546000540303905090565b61099283838361161a565b505050565b61099f6119c4565b73ffffffffffffffffffffffffffffffffffffffff166109bd610cb5565b73ffffffffffffffffffffffffffffffffffffffff1614610a13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0a906127df565b60405180910390fd5b600047905081811015610a5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a529061275f565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015610aa1573d6000803e3d6000fd5b505050565b610aae6119c4565b73ffffffffffffffffffffffffffffffffffffffff16610acc610cb5565b73ffffffffffffffffffffffffffffffffffffffff1614610b22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b19906127df565b60405180910390fd5b80600a9080519060200190610b38929190612013565b5050565b61270f81565b610b5d83838360405180602001604052806000815250611124565b505050565b6000610b6d8261153f565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610bdc576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610c356119c4565b73ffffffffffffffffffffffffffffffffffffffff16610c53610cb5565b73ffffffffffffffffffffffffffffffffffffffff1614610ca9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca0906127df565b60405180910390fd5b610cb360006119cc565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054610cee90612a7e565b80601f0160208091040260200160405190810160405280929190818152602001828054610d1a90612a7e565b8015610d675780601f10610d3c57610100808354040283529160200191610d67565b820191906000526020600020905b815481529060010190602001808311610d4a57829003601f168201915b5050505050905090565b6000610d7b610970565b9050600080610d938484611a9290919063ffffffff16565b9050611388811115610df857611388831015610ddf576000610dc061138883611aa890919063ffffffff16565b9050610dd760095482611abe90919063ffffffff16565b925050610df7565b610df460095485611abe90919063ffffffff16565b91505b5b34821115610e3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e32906127bf565b60405180910390fd5b60008411610e7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e759061279f565b60405180910390fd5b6014841115610ec2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb99061277f565b60405180910390fd5b61270f8110610f06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efd9061273f565b60405180910390fd5b610f103385611ad4565b50505050565b610f1e6119c4565b73ffffffffffffffffffffffffffffffffffffffff16610f3c610cb5565b73ffffffffffffffffffffffffffffffffffffffff1614610f92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f89906127df565b60405180910390fd5b80600b9080519060200190610fa8929190612013565b5050565b610fb461160d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611019576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061102661160d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166110d361160d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161111891906126e2565b60405180910390a35050565b61112f84848461161a565b60008373ffffffffffffffffffffffffffffffffffffffff163b146111915761115a84848484611af2565b611190576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606111a2826114e0565b6111d8576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006111e2611c52565b9050600081511415611203576040518060200160405280600081525061122e565b8061120d84611ce4565b60405160200161121e929190612657565b6040516020818303038152906040525b915050919050565b61138881565b6060600b805461124b90612a7e565b80601f016020809104026020016040519081016040528092919081815260200182805461127790612a7e565b80156112c45780601f10611299576101008083540402835291602001916112c4565b820191906000526020600020905b8154815290600101906020018083116112a757829003601f168201915b5050505050905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61136a6119c4565b73ffffffffffffffffffffffffffffffffffffffff16611388610cb5565b73ffffffffffffffffffffffffffffffffffffffff16146113de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d5906127df565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561144e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114459061271f565b60405180910390fd5b611457816119cc565b50565b6114626119c4565b73ffffffffffffffffffffffffffffffffffffffff16611480610cb5565b73ffffffffffffffffffffffffffffffffffffffff16146114d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114cd906127df565b60405180910390fd5b8060098190555050565b6000816114eb611615565b111580156114fa575060005482105b8015611538575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b6000808290508061154e611615565b116115d6576000548110156115d55760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821614156115d3575b60008114156115c957600460008360019003935083815260200190815260200160002054905061159e565b8092505050611608565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600090565b60006116258261153f565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461168c576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166116ad61160d565b73ffffffffffffffffffffffffffffffffffffffff1614806116dc57506116db856116d661160d565b6112ce565b5b8061172157506116ea61160d565b73ffffffffffffffffffffffffffffffffffffffff1661170984610748565b73ffffffffffffffffffffffffffffffffffffffff16145b90508061175a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156117c1576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6117ce8585856001611d3e565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b6118cb86611d44565b1717600460008581526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000083161415611955576000600184019050600060046000838152602001908152602001600020541415611953576000548114611952578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46119bd8585856001611d4e565b5050505050565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008183611aa091906128e4565b905092915050565b60008183611ab69190612994565b905092915050565b60008183611acc919061293a565b905092915050565b611aee828260405180602001604052806000815250611d54565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611b1861160d565b8786866040518563ffffffff1660e01b8152600401611b3a9493929190612696565b602060405180830381600087803b158015611b5457600080fd5b505af1925050508015611b8557506040513d601f19601f82011682018060405250810190611b8291906123ef565b60015b611bff573d8060008114611bb5576040519150601f19603f3d011682016040523d82523d6000602084013e611bba565b606091505b50600081511415611bf7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a8054611c6190612a7e565b80601f0160208091040260200160405190810160405280929190818152602001828054611c8d90612a7e565b8015611cda5780601f10611caf57610100808354040283529160200191611cda565b820191906000526020600020905b815481529060010190602001808311611cbd57829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b8015611d2a57600183039250600a81066030018353600a81049050611d0a565b508181036020830392508083525050919050565b50505050565b6000819050919050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611dc1576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000831415611dfc576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611e096000858386611d3e565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1611e6e60018514612009565b901b60a042901b611e7e86611d44565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b14611f82575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611f326000878480600101955087611af2565b611f68576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808210611ec3578260005414611f7d57600080fd5b611fed565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210611f83575b8160008190555050506120036000858386611d4e565b50505050565b6000819050919050565b82805461201f90612a7e565b90600052602060002090601f0160209004810192826120415760008555612088565b82601f1061205a57805160ff1916838001178555612088565b82800160010185558215612088579182015b8281111561208757825182559160200191906001019061206c565b5b5090506120959190612099565b5090565b5b808211156120b257600081600090555060010161209a565b5090565b60006120c96120c48461283f565b61281a565b9050828152602081018484840111156120e5576120e4612b73565b5b6120f0848285612a3c565b509392505050565b600061210b61210684612870565b61281a565b90508281526020810184848401111561212757612126612b73565b5b612132848285612a3c565b509392505050565b60008135905061214981612cd8565b92915050565b60008135905061215e81612cef565b92915050565b60008135905061217381612d06565b92915050565b60008151905061218881612d06565b92915050565b600082601f8301126121a3576121a2612b6e565b5b81356121b38482602086016120b6565b91505092915050565b600082601f8301126121d1576121d0612b6e565b5b81356121e18482602086016120f8565b91505092915050565b6000813590506121f981612d1d565b92915050565b60006020828403121561221557612214612b7d565b5b60006122238482850161213a565b91505092915050565b6000806040838503121561224357612242612b7d565b5b60006122518582860161213a565b92505060206122628582860161213a565b9150509250929050565b60008060006060848603121561228557612284612b7d565b5b60006122938682870161213a565b93505060206122a48682870161213a565b92505060406122b5868287016121ea565b9150509250925092565b600080600080608085870312156122d9576122d8612b7d565b5b60006122e78782880161213a565b94505060206122f88782880161213a565b9350506040612309878288016121ea565b925050606085013567ffffffffffffffff81111561232a57612329612b78565b5b6123368782880161218e565b91505092959194509250565b6000806040838503121561235957612358612b7d565b5b60006123678582860161213a565b92505060206123788582860161214f565b9150509250929050565b6000806040838503121561239957612398612b7d565b5b60006123a78582860161213a565b92505060206123b8858286016121ea565b9150509250929050565b6000602082840312156123d8576123d7612b7d565b5b60006123e684828501612164565b91505092915050565b60006020828403121561240557612404612b7d565b5b600061241384828501612179565b91505092915050565b60006020828403121561243257612431612b7d565b5b600082013567ffffffffffffffff8111156124505761244f612b78565b5b61245c848285016121bc565b91505092915050565b60006020828403121561247b5761247a612b7d565b5b6000612489848285016121ea565b91505092915050565b61249b816129c8565b82525050565b6124aa816129da565b82525050565b60006124bb826128a1565b6124c581856128b7565b93506124d5818560208601612a4b565b6124de81612b82565b840191505092915050565b60006124f4826128ac565b6124fe81856128c8565b935061250e818560208601612a4b565b61251781612b82565b840191505092915050565b600061252d826128ac565b61253781856128d9565b9350612547818560208601612a4b565b80840191505092915050565b60006125606026836128c8565b915061256b82612b93565b604082019050919050565b60006125836015836128c8565b915061258e82612be2565b602082019050919050565b60006125a66012836128c8565b91506125b182612c0b565b602082019050919050565b60006125c96016836128c8565b91506125d482612c34565b602082019050919050565b60006125ec601c836128c8565b91506125f782612c5d565b602082019050919050565b600061260f6012836128c8565b915061261a82612c86565b602082019050919050565b60006126326020836128c8565b915061263d82612caf565b602082019050919050565b61265181612a32565b82525050565b60006126638285612522565b915061266f8284612522565b91508190509392505050565b60006020820190506126906000830184612492565b92915050565b60006080820190506126ab6000830187612492565b6126b86020830186612492565b6126c56040830185612648565b81810360608301526126d781846124b0565b905095945050505050565b60006020820190506126f760008301846124a1565b92915050565b6000602082019050818103600083015261271781846124e9565b905092915050565b6000602082019050818103600083015261273881612553565b9050919050565b6000602082019050818103600083015261275881612576565b9050919050565b6000602082019050818103600083015261277881612599565b9050919050565b60006020820190508181036000830152612798816125bc565b9050919050565b600060208201905081810360008301526127b8816125df565b9050919050565b600060208201905081810360008301526127d881612602565b9050919050565b600060208201905081810360008301526127f881612625565b9050919050565b60006020820190506128146000830184612648565b92915050565b6000612824612835565b90506128308282612ab0565b919050565b6000604051905090565b600067ffffffffffffffff82111561285a57612859612b3f565b5b61286382612b82565b9050602081019050919050565b600067ffffffffffffffff82111561288b5761288a612b3f565b5b61289482612b82565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006128ef82612a32565b91506128fa83612a32565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561292f5761292e612ae1565b5b828201905092915050565b600061294582612a32565b915061295083612a32565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561298957612988612ae1565b5b828202905092915050565b600061299f82612a32565b91506129aa83612a32565b9250828210156129bd576129bc612ae1565b5b828203905092915050565b60006129d382612a12565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015612a69578082015181840152602081019050612a4e565b83811115612a78576000848401525b50505050565b60006002820490506001821680612a9657607f821691505b60208210811415612aaa57612aa9612b10565b5b50919050565b612ab982612b82565b810181811067ffffffffffffffff82111715612ad857612ad7612b3f565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420646174206d616e7920697a206c656674210000000000000000000000600082015250565b7f496e73756666696369656e742066756e64730000000000000000000000000000600082015250565b7f546f6f206d616e7920796f752069732067726565647900000000000000000000600082015250565b7f5175616e7469747920697a2031206f72206d6f726520696e6e69742100000000600082015250565b7f4e65656473206d6f7265206d6f6f6c6168210000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b612ce1816129c8565b8114612cec57600080fd5b50565b612cf8816129da565b8114612d0357600080fd5b50565b612d0f816129e6565b8114612d1a57600080fd5b50565b612d2681612a32565b8114612d3157600080fd5b5056fea26469706673582212206cbf1325f3e7d8be9a333c1b8a0caf682342ae98b8ba2a8003b9227b3863e8c464736f6c63430008070033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

What the feck? Iz mostly CRUD! May-b summink speshul. May-b. ERC721a: mint up ta 20 at once fer same gaz as 1.

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.