ETH Price: $3,282.54 (+1.37%)

Contract

0x4D4A3359BD8389878fe8A52CcF88B1ADf2eA1dBA
 

Overview

ETH Balance

0.0069 ETH

Eth Value

$22.65 (@ $3,282.54/ETH)

Multichain Info

1 address found via
Transaction Hash
Method
Block
From
To
Set Approval For...197980372024-05-04 16:49:11252 days ago1714841351IN
4kPunks: 4KPKS Token
0 ETH0.000262235.66706997
Set Approval For...183170482023-10-10 2:22:47460 days ago1696904567IN
4kPunks: 4KPKS Token
0 ETH0.000249125.39362721
Mint181131692023-09-11 12:39:47488 days ago1694435987IN
4kPunks: 4KPKS Token
0.0069 ETH0.0020506218.06221831
Set Approval For...176085332023-07-02 19:54:35559 days ago1688327675IN
4kPunks: 4KPKS Token
0 ETH0.0005545712.00660577
Set Approval For...176047022023-07-02 6:59:35559 days ago1688281175IN
4kPunks: 4KPKS Token
0 ETH0.0006166213.35009261
Transfer From174689392023-06-13 5:16:23578 days ago1686633383IN
4kPunks: 4KPKS Token
0 ETH0.0009622914.5723271
Transfer From174503342023-06-10 14:22:23581 days ago1686406943IN
4kPunks: 4KPKS Token
0 ETH0.0009246918.89608505
Transfer From174503332023-06-10 14:22:11581 days ago1686406931IN
4kPunks: 4KPKS Token
0 ETH0.001018218.94833136
Transfer From174503312023-06-10 14:21:47581 days ago1686406907IN
4kPunks: 4KPKS Token
0 ETH0.0011920516.82830816
Set Approval For...174163362023-06-05 19:17:59586 days ago1685992679IN
4kPunks: 4KPKS Token
0 ETH0.0021464346.47074013
Withdraw173025102023-05-20 18:47:23602 days ago1684608443IN
4kPunks: 4KPKS Token
0 ETH0.0009768528.61816731
Set Approval For...172930172023-05-19 10:43:11603 days ago1684492991IN
4kPunks: 4KPKS Token
0 ETH0.0016313835.25568483
Set Approval For...172705962023-05-16 6:47:47606 days ago1684219667IN
4kPunks: 4KPKS Token
0 ETH0.0020758344.86051186
Set Approval For...172638732023-05-15 8:03:23607 days ago1684137803IN
4kPunks: 4KPKS Token
0 ETH0.0016567435.86877223
Set Approval For...172437832023-05-12 11:18:11610 days ago1683890291IN
4kPunks: 4KPKS Token
0 ETH0.0019925243.13858599
Safe Transfer Fr...172280672023-05-10 5:55:59612 days ago1683698159IN
4kPunks: 4KPKS Token
0 ETH0.0034298449.32263089
Mint172078022023-05-07 9:33:35615 days ago1683452015IN
4kPunks: 4KPKS Token
0.0069 ETH0.009415882.93600906
Mint171547642023-04-29 22:39:23623 days ago1682807963IN
4kPunks: 4KPKS Token
0.0069 ETH0.0036413332.07347886
Safe Transfer Fr...171546602023-04-29 22:18:35623 days ago1682806715IN
4kPunks: 4KPKS Token
0 ETH0.0018622231.85735824
Set Approval For...171542532023-04-29 20:56:47623 days ago1682801807IN
4kPunks: 4KPKS Token
0 ETH0.0015776634.15667312
Mint171521152023-04-29 13:41:11623 days ago1682775671IN
4kPunks: 4KPKS Token
0.0069 ETH0.0035972731.6854048
Mint171471802023-04-28 21:04:11624 days ago1682715851IN
4kPunks: 4KPKS Token
0.0069 ETH0.0043450238.27174607
Mint171470942023-04-28 20:46:47624 days ago1682714807IN
4kPunks: 4KPKS Token
0.0069 ETH0.0039835135.08747866
Set Approval For...171463132023-04-28 18:08:59624 days ago1682705339IN
4kPunks: 4KPKS Token
0 ETH0.0017642238.19575943
Toggle Public Ph...171459712023-04-28 17:00:11624 days ago1682701211IN
4kPunks: 4KPKS Token
0 ETH0.0012791642.44920059
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block
From
To
173025102023-05-20 18:47:23602 days ago1684608443
4kPunks: 4KPKS Token
0.22542 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FourKPunks

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 300 runs

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

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/interfaces/IERC2981.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "./DefaultOperatorFilterer.sol";

/* If you here to read this - GM */ 
contract FourKPunks is ERC721, Ownable, Pausable, ReentrancyGuard, IERC2981, DefaultOperatorFilterer {
  using Strings for uint256;

  enum SaleState { SaleClosed, OGPhase, WLPhase, PublicPhase }

  uint256 public totalSupply = 0;
  uint256 public teamAllocation = 30;
  uint256 public maxTotalSupply = 4444;
  uint256 public ogFreeMax = 2;
  uint256 public mintLimit = 10;
  uint256 public maxPerWallet = 44;

  uint256 public ogFreeRemaining = 444;
  uint256 public wlSupplyRemaining = 1600;
  uint256 public freeMintCount = 0;

  uint256 public wlMintPrice = 0.00444 ether;
  uint256 public publicMintPrice = 0.0069 ether;

  SaleState public saleState;

  string private _baseTokenURI = "https://api-dot-punks4k.oa.r.appspot.com/metadata/token";
  string private _contractURI = "https://api-dot-punks4k.oa.r.appspot.com/metadata/contract";

  bytes32 private ogMerkleRoot = 0x3b748a2c09ca6c8b7b79e4d8068bc9412d279e948fcae3dfba878a294d94d6d2;
  bytes32 private wlMerkleRoot = 0x43478013e7be0ae4fca324e608c565eb4b36ec48072e7620baa1f78286c9b32b;

  address private vaultAddress = address(0);
  uint256 public royaltyPercentage = 5;

  mapping(address => uint256) public paidMintsPerWallet;
  mapping(address => uint256) public freeMintsPerWallet;

 /* --
  Events
  -- */
  event Minted(address indexed to, uint256 indexed tokenId);
  event TeamMinted(address indexed to, uint256 amount);
  event PhaseOpenAnnouncement(string phase);
  event Burnt4k(address indexed burner, uint256 indexed tokenId);
  event MerkleRootsUpdated(bytes32 indexed ogMerkleRoot, bytes32 indexed wlMerkleRoot);
  event VaultAddressUpdated(address indexed newVaultAddress);
  event Withdrawn(address indexed to, uint256 amount);

  /* --
  Modifiers
  -- */
  modifier noContracts() {
    require(!isContract(msg.sender), "Only Humans allowed");
    _;
  }

  function isContract(address _addr) private view returns (bool) {
    uint32 size;
    assembly {
      size := extcodesize(_addr)
    }
    return (size > 0);
  }

  /* --
  OVERRIDES
  -- */

  function transferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator {
    super.transferFrom(from, to, tokenId);
  }
  function safeTransferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator {
    super.safeTransferFrom(from, to, tokenId);
  }
  function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data)
    public
    override
    onlyAllowedOperator
  {
    super.safeTransferFrom(from, to, tokenId, data);
  }

  constructor(string memory name, string memory symbol) ERC721(name, symbol) {
    vaultAddress = msg.sender;
  }

  /* ---- OGS Claim ---- */
  /* Thank you for supporting us early - we want to return the love */
  function OGClaimMint(
    bytes32[] memory _whitelistProof
  ) external whenNotPaused nonReentrant noContracts {
    
    require(saleState == SaleState.OGPhase, "Not open yet");

    /* Merkle Verify */
    require(MerkleProof.verify(_whitelistProof, ogMerkleRoot, keccak256(abi.encodePacked(_msgSender()))), "Not OG");

    /* Check all requirements are passed */
    require(ogFreeRemaining > 0, "OG Phase is sold out");
    require(freeMintsPerWallet[_msgSender()] != ogFreeMax, "Exceeds max");

    freeMintsPerWallet[_msgSender()] = ogFreeMax;

    freeMintCount = freeMintCount + 2;
    ogFreeRemaining = ogFreeRemaining - 2;
    totalSupply++;

    /* Automatically bless them with 2 */
    /* FREE FREE - who doesnt love free - GMI */
    _safeMint(_msgSender(), totalSupply);
    emit Minted(_msgSender(), totalSupply);

    totalSupply++;
    _safeMint(_msgSender(), totalSupply);
    emit Minted(_msgSender(), totalSupply);

    if (ogFreeRemaining == 0) {
      saleState = SaleState.WLPhase;
      emit PhaseOpenAnnouncement("WL Sale open");
    }
  }

 function mintWhitelist(
   uint256 _amount 
   , bytes32[] memory _whitelistProof
  ) internal {

    /* Merkle Verify */
    require(MerkleProof.verify(_whitelistProof, wlMerkleRoot, keccak256(abi.encodePacked(_msgSender()))), "Not WL");
    require(wlSupplyRemaining > 0, "No more WL"); 

    uint256 walletCount = paidMintsPerWallet[_msgSender()];
    uint256 walletFreeCount = freeMintsPerWallet[_msgSender()];
    uint256 toMint = _amount > wlSupplyRemaining ? wlSupplyRemaining : _amount;
    uint256 minted = 0;
    bool freeMintApplies = walletFreeCount == 0 ? true : false;

    if(freeMintApplies){
      freeMintsPerWallet[_msgSender()] = 1;
      toMint--;
      wlSupplyRemaining--;

      totalSupply++;
      /* Give them what they came for - FREE 4k Punk */
      _safeMint(_msgSender(), totalSupply);
      emit Minted(_msgSender(), totalSupply);
    } 
    require(toMint <= mintLimit, "Too many");
    require(walletCount + 1 < mintLimit, "You have no more mints");

    require(msg.value == wlMintPrice * toMint, "Ether value sent is not correct");

    /* Mint time ... baby ... GMI */
    for (uint256 i = 0; i < toMint; i++) {
      minted++;
      wlSupplyRemaining--;
      totalSupply++;
      _safeMint(_msgSender(), totalSupply);
      emit Minted(_msgSender(), totalSupply);
    }

    paidMintsPerWallet[_msgSender()] += minted;

    /* Automatically flip to public phase once wlSupply is 0 */
    if (wlSupplyRemaining == 0) {
      saleState = SaleState.PublicPhase;
      emit PhaseOpenAnnouncement("Public Sale open");
    }
  }

  function mintPublic(uint256 _amount) internal {

    /* Pretty standard stuff here */
    require(totalSupply + _amount <= maxTotalSupply, "Exceeds max total supply");
    require(_amount <= maxPerWallet, "Exceeding max");
    require(msg.value == publicMintPrice * _amount, "Ether value sent is not correct");
    require(this.balanceOf(msg.sender) <= maxPerWallet);

    uint256 minted = 0;

    /* mint loop */
    for (uint256 i = 0; i < _amount; i++) {
      minted++;
      totalSupply++;
      _safeMint(_msgSender(), totalSupply);
      emit Minted(_msgSender(), totalSupply);
    }

    paidMintsPerWallet[_msgSender()] += minted;

    /* Lets not keep anyone waiting -- once supply reaches maxTotalSupply - close sale */
    if(totalSupply == maxTotalSupply){
      saleState = SaleState.SaleClosed;
    }
  }

  /* Use one mint function for both WL and Public phases */
  function mint(
    uint256 _amount
    , bytes32[] memory _whitelistProof
  ) external whenNotPaused payable nonReentrant noContracts {
    require(_amount > 0, "Must mint at least one");
    /* Whitelisted Wallets go first */
    if (saleState == SaleState.WLPhase) {
      require(
        saleState == SaleState.WLPhase 
        || _whitelistProof.length > 0
        , "Whitelist proof required for WLPhase");
      mintWhitelist(
        _amount
        , _whitelistProof
      );
    } else {
      require(saleState == SaleState.PublicPhase, "Sale not open");
      mintPublic(_amount);
    }
  }

  /* This will be for the next part of the 4k's journey -- more to come */
  /* shhhhhh - we did say no roadmap didnt we? */
  function burn(uint256 tokenId) public whenNotPaused {
    require(_msgSender() == ownerOf(tokenId), "Only token owner can burn tokens");
    _burn(tokenId);
    emit Burnt4k(msg.sender, tokenId);
  }

  function teamMint() external onlyOwner {
    for (uint256 j = 0; j < teamAllocation; j++) {
      require(totalSupply + 1 <= maxTotalSupply, "Exceeds max total supply");
      totalSupply++;
      _safeMint(vaultAddress, totalSupply);
    }
    emit TeamMinted(vaultAddress, teamAllocation);
  }

  /* incase a pause is needed */
  function togglePause() external onlyOwner {
    if (paused()) {
        _unpause();
    } else {
        _pause();
    }
  }

  function toggleSaleState() external onlyOwner {
    if (saleState == SaleState.SaleClosed) {
      saleState = SaleState.OGPhase;
      emit PhaseOpenAnnouncement("OG Sale open");
    } else {
      saleState = SaleState.SaleClosed;
    }
  }

  function toggleOGPhase() external onlyOwner {
    saleState = SaleState.OGPhase;
    emit PhaseOpenAnnouncement("OG Sale open");
  }

  function toggleWLPhase() external onlyOwner {
    saleState = SaleState.WLPhase;
    emit PhaseOpenAnnouncement("WL Sale open");
  }

  function togglePublicPhase() external onlyOwner {
    saleState = SaleState.PublicPhase;
    emit PhaseOpenAnnouncement("Public Sale open");
  }

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

  function setBaseTokenURI(string memory newBaseTokenURI) public onlyOwner {
    _baseTokenURI = newBaseTokenURI;
  }

  function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
    require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
    string memory baseURI = _baseURI();
    return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, "/", tokenId.toString())) : '';
  }

  function contractURI() public view returns (string memory) {
    return _contractURI;
  }

  function setContractURI(string memory newContractURI) public onlyOwner {
    _contractURI = newContractURI;
  }

  function setPublicMintPrice(uint256 _newPrice) public onlyOwner {
    publicMintPrice = _newPrice;
  }

  function setMerkleRoots(bytes32 _ogMerkleRoot, bytes32 _wlMerkleRoot) external onlyOwner {
    ogMerkleRoot = _ogMerkleRoot;
    wlMerkleRoot = _wlMerkleRoot;
    emit MerkleRootsUpdated(_ogMerkleRoot, _wlMerkleRoot);
  }

  function setVaultAddress(address _newVaultAddress) external onlyOwner {
    vaultAddress = _newVaultAddress;
    emit VaultAddressUpdated(_newVaultAddress);
  }

  function withdraw() external onlyOwner {
    require(vaultAddress != address(0), "Vault address not set");

    uint256 contractBalance = address(this).balance;
    payable(vaultAddress).transfer(contractBalance);
    emit Withdrawn(vaultAddress, contractBalance);
  }

  function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view override returns (address receiver, uint256 royaltyAmount) {
    require(_exists(_tokenId), "Token does not exist");
    receiver = owner();
    royaltyAmount = (_salePrice * royaltyPercentage) / 100;
  }
}

File 2 of 19 : DefaultOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {OperatorFilterer} from "./OperatorFilterer.sol";

contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 4 of 19 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 5 of 19 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 6 of 19 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @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) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

        _balances[to] += 1;
        _owners[tokenId] = to;

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

        _afterTokenTransfer(address(0), to, tokenId);
    }

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

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

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

        _balances[owner] -= 1;
        delete _owners[tokenId];

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

        _afterTokenTransfer(owner, address(0), tokenId);
    }

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

        _beforeTokenTransfer(from, to, tokenId);

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

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

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

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

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 19 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

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

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

File 9 of 19 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 10 of 19 : 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 11 of 19 : OperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";

contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry constant operatorFilterRegistry =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(operatorFilterRegistry).code.length > 0) {
            if (subscribe) {
                operatorFilterRegistry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    operatorFilterRegistry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    operatorFilterRegistry.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator() virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(operatorFilterRegistry).code.length > 0) {
            if (!operatorFilterRegistry.isOperatorAllowed(address(this), msg.sender)) {
                revert OperatorNotAllowed(msg.sender);
            }
        }
        _;
    }
}

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 13 of 19 : 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 14 of 19 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

File 18 of 19 : IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {EnumerableSet} from "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}

File 19 of 19 : EnumerableSet.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableSet.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 *
 * [WARNING]
 * ====
 * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure
 * unusable.
 * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an
 * array of EnumerableSet.
 * ====
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

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

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

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

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

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

            if (lastIndex != toDeleteIndex) {
                bytes32 lastValue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastValue;
                // Update the index for the moved value
                set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex
            }

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

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

            return true;
        } else {
            return false;
        }
    }

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

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

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

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

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

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

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

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

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

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        bytes32[] memory store = _values(set._inner);
        bytes32[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

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

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

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

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

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

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

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

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

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

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

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

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","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":"burner","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Burnt4k","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"ogMerkleRoot","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"wlMerkleRoot","type":"bytes32"}],"name":"MerkleRootsUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Minted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"phase","type":"string"}],"name":"PhaseOpenAnnouncement","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TeamMinted","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newVaultAddress","type":"address"}],"name":"VaultAddressUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[{"internalType":"bytes32[]","name":"_whitelistProof","type":"bytes32[]"}],"name":"OGClaimMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freeMintsPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes32[]","name":"_whitelistProof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ogFreeMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ogFreeRemaining","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"paidMintsPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyPercentage","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleState","outputs":[{"internalType":"enum FourKPunks.SaleState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newContractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_ogMerkleRoot","type":"bytes32"},{"internalType":"bytes32","name":"_wlMerkleRoot","type":"bytes32"}],"name":"setMerkleRoots","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPublicMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newVaultAddress","type":"address"}],"name":"setVaultAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamAllocation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleOGPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleWLPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wlMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlSupplyRemaining","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60006008819055601e60095561115c600a9081556002600b55600c55602c600d556101bc600e55610640600f55601055660fc6280ecd80006011556618838370f3400060125560e0604052603760808181529062003c7060a039601490620000689082620003e2565b506040518060600160405280603a815260200162003ca7603a9139601590620000929082620003e2565b507f3b748a2c09ca6c8b7b79e4d8068bc9412d279e948fcae3dfba878a294d94d6d26016557f43478013e7be0ae4fca324e608c565eb4b36ec48072e7620baa1f78286c9b32b601755601880546001600160a01b03191690556005601955348015620000fd57600080fd5b5060405162003ce138038062003ce183398101604081905262000120916200055d565b733cc6cdda760b79bafa08df41ecfa224f810dceb6600183836000620001478382620003e2565b506001620001568282620003e2565b505050620001736200016d620002e760201b60201c565b620002eb565b6006805460ff60a01b1916905560016007556daaeb6d7670e522a718067333cd4e3b15620002ca5780156200021857604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b158015620001f957600080fd5b505af11580156200020e573d6000803e3d6000fd5b50505050620002ca565b6001600160a01b03821615620002695760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401620001de565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620002b057600080fd5b505af1158015620002c5573d6000803e3d6000fd5b505050505b5050601880546001600160a01b0319163317905550620005c79050565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200036857607f821691505b6020821081036200038957634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620003dd57600081815260208120601f850160051c81016020861015620003b85750805b601f850160051c820191505b81811015620003d957828155600101620003c4565b5050505b505050565b81516001600160401b03811115620003fe57620003fe6200033d565b62000416816200040f845462000353565b846200038f565b602080601f8311600181146200044e5760008415620004355750858301515b600019600386901b1c1916600185901b178555620003d9565b600085815260208120601f198616915b828110156200047f578886015182559484019460019091019084016200045e565b50858210156200049e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082601f830112620004c057600080fd5b81516001600160401b0380821115620004dd57620004dd6200033d565b604051601f8301601f19908116603f011681019082821181831017156200050857620005086200033d565b816040528381526020925086838588010111156200052557600080fd5b600091505b838210156200054957858201830151818301840152908201906200052a565b600093810190920192909252949350505050565b600080604083850312156200057157600080fd5b82516001600160401b03808211156200058957600080fd5b6200059786838701620004ae565b93506020850151915080821115620005ae57600080fd5b50620005bd85828601620004ae565b9150509250929050565b61369980620005d76000396000f3fe60806040526004361061031e5760003560e01c8063715018a6116101a5578063ba41b0c6116100ec578063daaeec8611610095578063e55f58bb1161006f578063e55f58bb14610861578063e8a3d48514610877578063e985e9c51461088c578063f2fde38b146108d557600080fd5b8063daaeec8614610816578063dc53fd921461082b578063e4bc6d441461084157600080fd5b8063c4ae3168116100c6578063c4ae3168146107cb578063c5513646146107e0578063c87b56dd146107f657600080fd5b8063ba41b0c61461078d578063ba7a86b8146107a0578063c318a6bc146107b557600080fd5b8063938e3d7b1161014e5780639a48eb51116101285780639a48eb511461072d578063a22cb4651461074d578063b88d4fde1461076d57600080fd5b8063938e3d7b146106e257806395d89b4114610702578063996517cf1461071757600080fd5b8063885b59e51161017f578063885b59e5146106815780638a71bb2d146106ae5780638da5cb5b146106c457600080fd5b8063715018a6146106375780637975752a1461064c57806385535cc51461066157600080fd5b80633ccfd60b116102695780635c975abb116102125780636352211e116101ec5780636352211e146105e15780636816521a1461060157806370a082311461061757600080fd5b80635c975abb1461057b5780635d82cf6e1461059a578063603f4d52146105ba57600080fd5b806342966c681161024357806342966c681461052f578063453c23101461054f5780634784eb1a1461056557600080fd5b80633ccfd60b146104e55780633d0d72de146104fa57806342842e0e1461050f57600080fd5b80631bec62cc116102cb5780632ab4d052116102a55780632ab4d052146104995780632c4e9fc6146104af57806330176e13146104c557600080fd5b80631bec62cc1461040d57806323b872dd1461043a5780632a55205a1461045a57600080fd5b8063081812fc116102fc578063081812fc14610391578063095ea7b3146103c957806318160ddd146103e957600080fd5b806301ffc9a71461032357806306fdde031461035857806307276ae21461037a575b600080fd5b34801561032f57600080fd5b5061034361033e366004612dfc565b6108f5565b60405190151581526020015b60405180910390f35b34801561036457600080fd5b5061036d610947565b60405161034f9190612e69565b34801561038657600080fd5b5061038f6109d9565b005b34801561039d57600080fd5b506103b16103ac366004612e7c565b610a5d565b6040516001600160a01b03909116815260200161034f565b3480156103d557600080fd5b5061038f6103e4366004612eb1565b610af2565b3480156103f557600080fd5b506103ff60085481565b60405190815260200161034f565b34801561041957600080fd5b506103ff610428366004612edb565b601b6020526000908152604090205481565b34801561044657600080fd5b5061038f610455366004612ef6565b610c25565b34801561046657600080fd5b5061047a610475366004612f32565b610cd9565b604080516001600160a01b03909316835260208301919091520161034f565b3480156104a557600080fd5b506103ff600a5481565b3480156104bb57600080fd5b506103ff60115481565b3480156104d157600080fd5b5061038f6104e0366004612ff3565b610d70565b3480156104f157600080fd5b5061038f610daa565b34801561050657600080fd5b5061038f610eac565b34801561051b57600080fd5b5061038f61052a366004612ef6565b610f25565b34801561053b57600080fd5b5061038f61054a366004612e7c565b610fd9565b34801561055b57600080fd5b506103ff600d5481565b34801561057157600080fd5b506103ff600f5481565b34801561058757600080fd5b50600654600160a01b900460ff16610343565b3480156105a657600080fd5b5061038f6105b5366004612e7c565b6110c8565b3480156105c657600080fd5b506013546105d49060ff1681565b60405161034f9190613052565b3480156105ed57600080fd5b506103b16105fc366004612e7c565b6110f7565b34801561060d57600080fd5b506103ff60095481565b34801561062357600080fd5b506103ff610632366004612edb565b61116e565b34801561064357600080fd5b5061038f6111f5565b34801561065857600080fd5b5061038f61122b565b34801561066d57600080fd5b5061038f61067c366004612edb565b6112a0565b34801561068d57600080fd5b506103ff61069c366004612edb565b601a6020526000908152604090205481565b3480156106ba57600080fd5b506103ff60195481565b3480156106d057600080fd5b506006546001600160a01b03166103b1565b3480156106ee57600080fd5b5061038f6106fd366004612ff3565b611314565b34801561070e57600080fd5b5061036d61134a565b34801561072357600080fd5b506103ff600c5481565b34801561073957600080fd5b5061038f610748366004612f32565b611359565b34801561075957600080fd5b5061038f610768366004613088565b6113be565b34801561077957600080fd5b5061038f6107883660046130bf565b6113c9565b61038f61079b3660046131bb565b611484565b3480156107ac57600080fd5b5061038f6116d6565b3480156107c157600080fd5b506103ff600b5481565b3480156107d757600080fd5b5061038f6117ef565b3480156107ec57600080fd5b506103ff600e5481565b34801561080257600080fd5b5061036d610811366004612e7c565b61183b565b34801561082257600080fd5b5061038f611916565b34801561083757600080fd5b506103ff60125481565b34801561084d57600080fd5b5061038f61085c366004613202565b6119b5565b34801561086d57600080fd5b506103ff60105481565b34801561088357600080fd5b5061036d611d31565b34801561089857600080fd5b506103436108a7366004613237565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156108e157600080fd5b5061038f6108f0366004612edb565b611d40565b60006001600160e01b031982166380ac58cd60e01b148061092657506001600160e01b03198216635b5e139f60e01b145b8061094157506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461095690613261565b80601f016020809104026020016040519081016040528092919081815260200182805461098290613261565b80156109cf5780601f106109a4576101008083540402835291602001916109cf565b820191906000526020600020905b8154815290600101906020018083116109b257829003601f168201915b5050505050905090565b6006546001600160a01b03163314610a0c5760405162461bcd60e51b8152600401610a039061329b565b60405180910390fd5b6013805460ff19166002179055604080516020808252600c908201526b2ba61029b0b6329037b832b760a11b91810191909152600080516020613624833981519152906060015b60405180910390a1565b6000818152600260205260408120546001600160a01b0316610ad65760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a03565b506000908152600460205260409020546001600160a01b031690565b6000610afd826110f7565b9050806001600160a01b0316836001600160a01b031603610b6a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610a03565b336001600160a01b0382161480610ba457506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b610c165760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a03565b610c208383611ddb565b505050565b6daaeb6d7670e522a718067333cd4e3b15610cce57604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af1158015610c8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610caf91906132d0565b610cce57604051633b79c77360e21b8152336004820152602401610a03565b610c20838383611e49565b60008281526002602052604081205481906001600160a01b0316610d3f5760405162461bcd60e51b815260206004820152601460248201527f546f6b656e20646f6573206e6f742065786973740000000000000000000000006044820152606401610a03565b6006546001600160a01b03169150606460195484610d5d9190613303565b610d679190613330565b90509250929050565b6006546001600160a01b03163314610d9a5760405162461bcd60e51b8152600401610a039061329b565b6014610da68282613392565b5050565b6006546001600160a01b03163314610dd45760405162461bcd60e51b8152600401610a039061329b565b6018546001600160a01b0316610e2c5760405162461bcd60e51b815260206004820152601560248201527f5661756c742061646472657373206e6f742073657400000000000000000000006044820152606401610a03565b60185460405147916001600160a01b03169082156108fc029083906000818181858888f19350505050158015610e66573d6000803e3d6000fd5b506018546040518281526001600160a01b03909116907f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d59060200160405180910390a250565b6006546001600160a01b03163314610ed65760405162461bcd60e51b8152600401610a039061329b565b6013805460ff191660031790556040805160208082526010908201526f283ab13634b19029b0b6329037b832b760811b9181019190915260008051602061362483398151915290606001610a53565b6daaeb6d7670e522a718067333cd4e3b15610fce57604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af1158015610f8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610faf91906132d0565b610fce57604051633b79c77360e21b8152336004820152602401610a03565b610c20838383611e7a565b600654600160a01b900460ff16156110265760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610a03565b61102f816110f7565b6001600160a01b0316336001600160a01b03161461108f5760405162461bcd60e51b815260206004820181905260248201527f4f6e6c7920746f6b656e206f776e65722063616e206275726e20746f6b656e736044820152606401610a03565b61109881611e95565b604051819033907fd4318074d0ff591b54b9cd1c9e102e148d98ed34c47429ffa921a398aaa0cfa790600090a350565b6006546001600160a01b031633146110f25760405162461bcd60e51b8152600401610a039061329b565b601255565b6000818152600260205260408120546001600160a01b0316806109415760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610a03565b60006001600160a01b0382166111d95760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610a03565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b0316331461121f5760405162461bcd60e51b8152600401610a039061329b565b6112296000611f30565b565b6006546001600160a01b031633146112555760405162461bcd60e51b8152600401610a039061329b565b6013805460ff19166001179055604080516020808252600c908201526b27a39029b0b6329037b832b760a11b9181019190915260008051602061362483398151915290606001610a53565b6006546001600160a01b031633146112ca5760405162461bcd60e51b8152600401610a039061329b565b601880546001600160a01b0319166001600160a01b0383169081179091556040517f5e74f6697ae9d8e4ed8c4e8cb2f44acc9909529ce81812aab23103b3de223f6690600090a250565b6006546001600160a01b0316331461133e5760405162461bcd60e51b8152600401610a039061329b565b6015610da68282613392565b60606001805461095690613261565b6006546001600160a01b031633146113835760405162461bcd60e51b8152600401610a039061329b565b60168290556017819055604051819083907f95a640352dcd90c4adfb94305e024b7754d086930a98dd85b8807e6b10de321390600090a35050565b610da6338383611f82565b6daaeb6d7670e522a718067333cd4e3b1561147257604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af115801561142f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061145391906132d0565b61147257604051633b79c77360e21b8152336004820152602401610a03565b61147e84848484612050565b50505050565b600654600160a01b900460ff16156114d15760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610a03565b6002600754036115235760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a03565b6002600755333b63ffffffff16156115735760405162461bcd60e51b815260206004820152601360248201527213db9b1e48121d5b585b9cc8185b1b1bddd959606a1b6044820152606401610a03565b600082116115c35760405162461bcd60e51b815260206004820152601660248201527f4d757374206d696e74206174206c65617374206f6e65000000000000000000006044820152606401610a03565b600260135460ff1660038111156115dc576115dc61303c565b0361166e57600260135460ff1660038111156115fa576115fa61303c565b1480611607575060008151115b61165f5760405162461bcd60e51b8152602060048201526024808201527f57686974656c6973742070726f6f6620726571756972656420666f7220574c506044820152636861736560e01b6064820152608401610a03565b6116698282612082565b6116cd565b600360135460ff1660038111156116875761168761303c565b146116c45760405162461bcd60e51b815260206004820152600d60248201526c29b0b632903737ba1037b832b760991b6044820152606401610a03565b6116cd826123be565b50506001600755565b6006546001600160a01b031633146117005760405162461bcd60e51b8152600401610a039061329b565b60005b6009548110156117a757600a5460085461171e906001613452565b11156117675760405162461bcd60e51b815260206004820152601860248201527745786365656473206d617820746f74616c20737570706c7960401b6044820152606401610a03565b6008805490600061177783613465565b9091555050601854600854611795916001600160a01b0316906125c9565b8061179f81613465565b915050611703565b506018546009546040519081526001600160a01b03909116907fb6d73edaff1d078a2be2a4f90b67dc6d7e69362de2c4f98404f75a451ae85ddd9060200160405180910390a2565b6006546001600160a01b031633146118195760405162461bcd60e51b8152600401610a039061329b565b600654600160a01b900460ff1615611833576112296125e3565b611229612684565b6000818152600260205260409020546060906001600160a01b03166118ba5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a03565b60006118c461270c565b905080516000036118e4576040518060200160405280600081525061190f565b806118ee8461271b565b6040516020016118ff92919061347e565b6040516020818303038152906040525b9392505050565b6006546001600160a01b031633146119405760405162461bcd60e51b8152600401610a039061329b565b600060135460ff1660038111156119595761195961303c565b036119a9576013805460ff19166001179055604080516020808252600c908201526b27a39029b0b6329037b832b760a11b9181019190915260008051602061362483398151915290606001610a53565b6013805460ff19169055565b600654600160a01b900460ff1615611a025760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610a03565b600260075403611a545760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a03565b6002600755333b63ffffffff1615611aa45760405162461bcd60e51b815260206004820152601360248201527213db9b1e48121d5b585b9cc8185b1b1bddd959606a1b6044820152606401610a03565b600160135460ff166003811115611abd57611abd61303c565b14611af95760405162461bcd60e51b815260206004820152600c60248201526b139bdd081bdc195b881e595d60a21b6044820152606401610a03565b611b4a81601654611b073390565b604051602001611b2f919060609190911b6bffffffffffffffffffffffff1916815260140190565b60405160208183030381529060405280519060200120612824565b611b7f5760405162461bcd60e51b81526020600482015260066024820152654e6f74204f4760d01b6044820152606401610a03565b6000600e5411611bd15760405162461bcd60e51b815260206004820152601460248201527f4f4720506861736520697320736f6c64206f75740000000000000000000000006044820152606401610a03565b600b54336000908152601b602052604090205403611c1f5760405162461bcd60e51b815260206004820152600b60248201526a08af0c6cacac8e640dac2f60ab1b6044820152606401610a03565b600b54336000908152601b6020526040902055601054611c40906002613452565b601055600e54611c52906002906134ba565b600e5560088054906000611c6583613465565b9190505550611c7c611c743390565b6008546125c9565b600854604051339060008051602061364483398151915290600090a360088054906000611ca883613465565b9190505550611cb7611c743390565b600854604051339060008051602061364483398151915290600090a3600e54600003611d29576013805460ff19166002179055604080516020808252600c908201526b2ba61029b0b6329037b832b760a11b818301529051600080516020613624833981519152916060908290030190a15b506001600755565b60606015805461095690613261565b6006546001600160a01b03163314611d6a5760405162461bcd60e51b8152600401610a039061329b565b6001600160a01b038116611dcf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a03565b611dd881611f30565b50565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611e10826110f7565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611e53338261283a565b611e6f5760405162461bcd60e51b8152600401610a03906134cd565b610c2083838361292d565b610c20838383604051806020016040528060008152506113c9565b6000611ea0826110f7565b9050611ead600083611ddb565b6001600160a01b0381166000908152600360205260408120805460019290611ed69084906134ba565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031603611fe35760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a03565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61205a338361283a565b6120765760405162461bcd60e51b8152600401610a03906134cd565b61147e84848484612ac9565b61209081601754611b073390565b6120c55760405162461bcd60e51b8152602060048201526006602482015265139bdd0815d360d21b6044820152606401610a03565b6000600f54116121045760405162461bcd60e51b815260206004820152600a602482015269139bc81b5bdc994815d360b21b6044820152606401610a03565b336000908152601a6020908152604080832054601b909252822054600f549192909185116121325784612136565b600f545b9050600080831561214857600061214b565b60015b905080156121c657336000908152601b6020526040902060019055826121708161351e565b600f805491955090915060006121858361351e565b90915550506008805490600061219a83613465565b91905055506121a9611c743390565b600854604051339060008051602061364483398151915290600090a35b600c548311156122035760405162461bcd60e51b8152602060048201526008602482015267546f6f206d616e7960c01b6044820152606401610a03565b600c54612211866001613452565b1061225e5760405162461bcd60e51b815260206004820152601660248201527f596f752068617665206e6f206d6f7265206d696e7473000000000000000000006044820152606401610a03565b8260115461226c9190613303565b34146122ba5760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610a03565b60005b8381101561233657826122cf81613465565b600f805491955090915060006122e48361351e565b9091555050600880549060006122f983613465565b9190505550612308611c743390565b600854604051339060008051602061364483398151915290600090a38061232e81613465565b9150506122bd565b50336000908152601a602052604081208054849290612356908490613452565b9091555050600f546000036123b5576013805460ff191660031790556040805160208082526010908201526f283ab13634b19029b0b6329037b832b760811b818301529051600080516020613624833981519152916060908290030190a15b50505050505050565b600a54816008546123cf9190613452565b11156124185760405162461bcd60e51b815260206004820152601860248201527745786365656473206d617820746f74616c20737570706c7960401b6044820152606401610a03565b600d5481111561245a5760405162461bcd60e51b815260206004820152600d60248201526c08af0c6cacac8d2dcce40dac2f609b1b6044820152606401610a03565b806012546124689190613303565b34146124b65760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610a03565b600d546040516370a0823160e01b815233600482015230906370a0823190602401602060405180830381865afa1580156124f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125189190613535565b111561252357600080fd5b6000805b8281101561258b578161253981613465565b60088054919450909150600061254e83613465565b919050555061255d611c743390565b600854604051339060008051602061364483398151915290600090a38061258381613465565b915050612527565b50336000908152601a6020526040812080548392906125ab908490613452565b9091555050600a5460085403610da65750506013805460ff19169055565b610da6828260405180602001604052806000815250612afc565b600654600160a01b900460ff1661263c5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610a03565b6006805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b039091168152602001610a53565b600654600160a01b900460ff16156126d15760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610a03565b6006805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861266c3390565b60606014805461095690613261565b6060816000036127425750506040805180820190915260018152600360fc1b602082015290565b8160005b811561276c578061275681613465565b91506127659050600a83613330565b9150612746565b60008167ffffffffffffffff81111561278757612787612f54565b6040519080825280601f01601f1916602001820160405280156127b1576020820181803683370190505b5090505b841561281c576127c66001836134ba565b91506127d3600a8661354e565b6127de906030613452565b60f81b8183815181106127f3576127f3613562565b60200101906001600160f81b031916908160001a905350612815600a86613330565b94506127b5565b949350505050565b6000826128318584612b2f565b14949350505050565b6000818152600260205260408120546001600160a01b03166128b35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a03565b60006128be836110f7565b9050806001600160a01b0316846001600160a01b031614806128f95750836001600160a01b03166128ee84610a5d565b6001600160a01b0316145b8061281c57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff1661281c565b826001600160a01b0316612940826110f7565b6001600160a01b0316146129a45760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610a03565b6001600160a01b038216612a065760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a03565b612a11600082611ddb565b6001600160a01b0383166000908152600360205260408120805460019290612a3a9084906134ba565b90915550506001600160a01b0382166000908152600360205260408120805460019290612a68908490613452565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b612ad484848461292d565b612ae084848484612ba3565b61147e5760405162461bcd60e51b8152600401610a0390613578565b612b068383612ca4565b612b136000848484612ba3565b610c205760405162461bcd60e51b8152600401610a0390613578565b600081815b8451811015612b9b576000858281518110612b5157612b51613562565b60200260200101519050808311612b775760008381526020829052604090209250612b88565b600081815260208490526040902092505b5080612b9381613465565b915050612b34565b509392505050565b60006001600160a01b0384163b15612c9957604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612be79033908990889088906004016135ca565b6020604051808303816000875af1925050508015612c22575060408051601f3d908101601f19168201909252612c1f91810190613606565b60015b612c7f573d808015612c50576040519150601f19603f3d011682016040523d82523d6000602084013e612c55565b606091505b508051600003612c775760405162461bcd60e51b8152600401610a0390613578565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061281c565b506001949350505050565b6001600160a01b038216612cfa5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a03565b6000818152600260205260409020546001600160a01b031615612d5f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a03565b6001600160a01b0382166000908152600360205260408120805460019290612d88908490613452565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b031981168114611dd857600080fd5b600060208284031215612e0e57600080fd5b813561190f81612de6565b60005b83811015612e34578181015183820152602001612e1c565b50506000910152565b60008151808452612e55816020860160208601612e19565b601f01601f19169290920160200192915050565b60208152600061190f6020830184612e3d565b600060208284031215612e8e57600080fd5b5035919050565b80356001600160a01b0381168114612eac57600080fd5b919050565b60008060408385031215612ec457600080fd5b612ecd83612e95565b946020939093013593505050565b600060208284031215612eed57600080fd5b61190f82612e95565b600080600060608486031215612f0b57600080fd5b612f1484612e95565b9250612f2260208501612e95565b9150604084013590509250925092565b60008060408385031215612f4557600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612f9357612f93612f54565b604052919050565b600067ffffffffffffffff831115612fb557612fb5612f54565b612fc8601f8401601f1916602001612f6a565b9050828152838383011115612fdc57600080fd5b828260208301376000602084830101529392505050565b60006020828403121561300557600080fd5b813567ffffffffffffffff81111561301c57600080fd5b8201601f8101841361302d57600080fd5b61281c84823560208401612f9b565b634e487b7160e01b600052602160045260246000fd5b602081016004831061307457634e487b7160e01b600052602160045260246000fd5b91905290565b8015158114611dd857600080fd5b6000806040838503121561309b57600080fd5b6130a483612e95565b915060208301356130b48161307a565b809150509250929050565b600080600080608085870312156130d557600080fd5b6130de85612e95565b93506130ec60208601612e95565b925060408501359150606085013567ffffffffffffffff81111561310f57600080fd5b8501601f8101871361312057600080fd5b61312f87823560208401612f9b565b91505092959194509250565b600082601f83011261314c57600080fd5b8135602067ffffffffffffffff82111561316857613168612f54565b8160051b613177828201612f6a565b928352848101820192828101908785111561319157600080fd5b83870192505b848310156131b057823582529183019190830190613197565b979650505050505050565b600080604083850312156131ce57600080fd5b82359150602083013567ffffffffffffffff8111156131ec57600080fd5b6131f88582860161313b565b9150509250929050565b60006020828403121561321457600080fd5b813567ffffffffffffffff81111561322b57600080fd5b61281c8482850161313b565b6000806040838503121561324a57600080fd5b61325383612e95565b9150610d6760208401612e95565b600181811c9082168061327557607f821691505b60208210810361329557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000602082840312156132e257600080fd5b815161190f8161307a565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610941576109416132ed565b634e487b7160e01b600052601260045260246000fd5b60008261333f5761333f61331a565b500490565b601f821115610c2057600081815260208120601f850160051c8101602086101561336b5750805b601f850160051c820191505b8181101561338a57828155600101613377565b505050505050565b815167ffffffffffffffff8111156133ac576133ac612f54565b6133c0816133ba8454613261565b84613344565b602080601f8311600181146133f557600084156133dd5750858301515b600019600386901b1c1916600185901b17855561338a565b600085815260208120601f198616915b8281101561342457888601518255948401946001909101908401613405565b50858210156134425787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115610941576109416132ed565b600060018201613477576134776132ed565b5060010190565b60008351613490818460208801612e19565b602f60f81b90830190815283516134ae816001840160208801612e19565b01600101949350505050565b81810381811115610941576109416132ed565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008161352d5761352d6132ed565b506000190190565b60006020828403121561354757600080fd5b5051919050565b60008261355d5761355d61331a565b500690565b634e487b7160e01b600052603260045260246000fd5b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60006001600160a01b038087168352808616602084015250836040830152608060608301526135fc6080830184612e3d565b9695505050505050565b60006020828403121561361857600080fd5b815161190f81612de656fedb0e19a299351527cb64637c63a41941e57403a56d218b5c4785cb693bfd6dcb30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfea2646970667358221220877a3ea1fe58f7567e295d5408d1b7aaea422076d3bea5f126bffdb999c29ba064736f6c6343000813003368747470733a2f2f6170692d646f742d70756e6b73346b2e6f612e722e61707073706f742e636f6d2f6d657461646174612f746f6b656e68747470733a2f2f6170692d646f742d70756e6b73346b2e6f612e722e61707073706f742e636f6d2f6d657461646174612f636f6e7472616374000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000007346b50756e6b73000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005344b504b53000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061031e5760003560e01c8063715018a6116101a5578063ba41b0c6116100ec578063daaeec8611610095578063e55f58bb1161006f578063e55f58bb14610861578063e8a3d48514610877578063e985e9c51461088c578063f2fde38b146108d557600080fd5b8063daaeec8614610816578063dc53fd921461082b578063e4bc6d441461084157600080fd5b8063c4ae3168116100c6578063c4ae3168146107cb578063c5513646146107e0578063c87b56dd146107f657600080fd5b8063ba41b0c61461078d578063ba7a86b8146107a0578063c318a6bc146107b557600080fd5b8063938e3d7b1161014e5780639a48eb51116101285780639a48eb511461072d578063a22cb4651461074d578063b88d4fde1461076d57600080fd5b8063938e3d7b146106e257806395d89b4114610702578063996517cf1461071757600080fd5b8063885b59e51161017f578063885b59e5146106815780638a71bb2d146106ae5780638da5cb5b146106c457600080fd5b8063715018a6146106375780637975752a1461064c57806385535cc51461066157600080fd5b80633ccfd60b116102695780635c975abb116102125780636352211e116101ec5780636352211e146105e15780636816521a1461060157806370a082311461061757600080fd5b80635c975abb1461057b5780635d82cf6e1461059a578063603f4d52146105ba57600080fd5b806342966c681161024357806342966c681461052f578063453c23101461054f5780634784eb1a1461056557600080fd5b80633ccfd60b146104e55780633d0d72de146104fa57806342842e0e1461050f57600080fd5b80631bec62cc116102cb5780632ab4d052116102a55780632ab4d052146104995780632c4e9fc6146104af57806330176e13146104c557600080fd5b80631bec62cc1461040d57806323b872dd1461043a5780632a55205a1461045a57600080fd5b8063081812fc116102fc578063081812fc14610391578063095ea7b3146103c957806318160ddd146103e957600080fd5b806301ffc9a71461032357806306fdde031461035857806307276ae21461037a575b600080fd5b34801561032f57600080fd5b5061034361033e366004612dfc565b6108f5565b60405190151581526020015b60405180910390f35b34801561036457600080fd5b5061036d610947565b60405161034f9190612e69565b34801561038657600080fd5b5061038f6109d9565b005b34801561039d57600080fd5b506103b16103ac366004612e7c565b610a5d565b6040516001600160a01b03909116815260200161034f565b3480156103d557600080fd5b5061038f6103e4366004612eb1565b610af2565b3480156103f557600080fd5b506103ff60085481565b60405190815260200161034f565b34801561041957600080fd5b506103ff610428366004612edb565b601b6020526000908152604090205481565b34801561044657600080fd5b5061038f610455366004612ef6565b610c25565b34801561046657600080fd5b5061047a610475366004612f32565b610cd9565b604080516001600160a01b03909316835260208301919091520161034f565b3480156104a557600080fd5b506103ff600a5481565b3480156104bb57600080fd5b506103ff60115481565b3480156104d157600080fd5b5061038f6104e0366004612ff3565b610d70565b3480156104f157600080fd5b5061038f610daa565b34801561050657600080fd5b5061038f610eac565b34801561051b57600080fd5b5061038f61052a366004612ef6565b610f25565b34801561053b57600080fd5b5061038f61054a366004612e7c565b610fd9565b34801561055b57600080fd5b506103ff600d5481565b34801561057157600080fd5b506103ff600f5481565b34801561058757600080fd5b50600654600160a01b900460ff16610343565b3480156105a657600080fd5b5061038f6105b5366004612e7c565b6110c8565b3480156105c657600080fd5b506013546105d49060ff1681565b60405161034f9190613052565b3480156105ed57600080fd5b506103b16105fc366004612e7c565b6110f7565b34801561060d57600080fd5b506103ff60095481565b34801561062357600080fd5b506103ff610632366004612edb565b61116e565b34801561064357600080fd5b5061038f6111f5565b34801561065857600080fd5b5061038f61122b565b34801561066d57600080fd5b5061038f61067c366004612edb565b6112a0565b34801561068d57600080fd5b506103ff61069c366004612edb565b601a6020526000908152604090205481565b3480156106ba57600080fd5b506103ff60195481565b3480156106d057600080fd5b506006546001600160a01b03166103b1565b3480156106ee57600080fd5b5061038f6106fd366004612ff3565b611314565b34801561070e57600080fd5b5061036d61134a565b34801561072357600080fd5b506103ff600c5481565b34801561073957600080fd5b5061038f610748366004612f32565b611359565b34801561075957600080fd5b5061038f610768366004613088565b6113be565b34801561077957600080fd5b5061038f6107883660046130bf565b6113c9565b61038f61079b3660046131bb565b611484565b3480156107ac57600080fd5b5061038f6116d6565b3480156107c157600080fd5b506103ff600b5481565b3480156107d757600080fd5b5061038f6117ef565b3480156107ec57600080fd5b506103ff600e5481565b34801561080257600080fd5b5061036d610811366004612e7c565b61183b565b34801561082257600080fd5b5061038f611916565b34801561083757600080fd5b506103ff60125481565b34801561084d57600080fd5b5061038f61085c366004613202565b6119b5565b34801561086d57600080fd5b506103ff60105481565b34801561088357600080fd5b5061036d611d31565b34801561089857600080fd5b506103436108a7366004613237565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156108e157600080fd5b5061038f6108f0366004612edb565b611d40565b60006001600160e01b031982166380ac58cd60e01b148061092657506001600160e01b03198216635b5e139f60e01b145b8061094157506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461095690613261565b80601f016020809104026020016040519081016040528092919081815260200182805461098290613261565b80156109cf5780601f106109a4576101008083540402835291602001916109cf565b820191906000526020600020905b8154815290600101906020018083116109b257829003601f168201915b5050505050905090565b6006546001600160a01b03163314610a0c5760405162461bcd60e51b8152600401610a039061329b565b60405180910390fd5b6013805460ff19166002179055604080516020808252600c908201526b2ba61029b0b6329037b832b760a11b91810191909152600080516020613624833981519152906060015b60405180910390a1565b6000818152600260205260408120546001600160a01b0316610ad65760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a03565b506000908152600460205260409020546001600160a01b031690565b6000610afd826110f7565b9050806001600160a01b0316836001600160a01b031603610b6a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610a03565b336001600160a01b0382161480610ba457506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b610c165760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a03565b610c208383611ddb565b505050565b6daaeb6d7670e522a718067333cd4e3b15610cce57604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af1158015610c8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610caf91906132d0565b610cce57604051633b79c77360e21b8152336004820152602401610a03565b610c20838383611e49565b60008281526002602052604081205481906001600160a01b0316610d3f5760405162461bcd60e51b815260206004820152601460248201527f546f6b656e20646f6573206e6f742065786973740000000000000000000000006044820152606401610a03565b6006546001600160a01b03169150606460195484610d5d9190613303565b610d679190613330565b90509250929050565b6006546001600160a01b03163314610d9a5760405162461bcd60e51b8152600401610a039061329b565b6014610da68282613392565b5050565b6006546001600160a01b03163314610dd45760405162461bcd60e51b8152600401610a039061329b565b6018546001600160a01b0316610e2c5760405162461bcd60e51b815260206004820152601560248201527f5661756c742061646472657373206e6f742073657400000000000000000000006044820152606401610a03565b60185460405147916001600160a01b03169082156108fc029083906000818181858888f19350505050158015610e66573d6000803e3d6000fd5b506018546040518281526001600160a01b03909116907f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d59060200160405180910390a250565b6006546001600160a01b03163314610ed65760405162461bcd60e51b8152600401610a039061329b565b6013805460ff191660031790556040805160208082526010908201526f283ab13634b19029b0b6329037b832b760811b9181019190915260008051602061362483398151915290606001610a53565b6daaeb6d7670e522a718067333cd4e3b15610fce57604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af1158015610f8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610faf91906132d0565b610fce57604051633b79c77360e21b8152336004820152602401610a03565b610c20838383611e7a565b600654600160a01b900460ff16156110265760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610a03565b61102f816110f7565b6001600160a01b0316336001600160a01b03161461108f5760405162461bcd60e51b815260206004820181905260248201527f4f6e6c7920746f6b656e206f776e65722063616e206275726e20746f6b656e736044820152606401610a03565b61109881611e95565b604051819033907fd4318074d0ff591b54b9cd1c9e102e148d98ed34c47429ffa921a398aaa0cfa790600090a350565b6006546001600160a01b031633146110f25760405162461bcd60e51b8152600401610a039061329b565b601255565b6000818152600260205260408120546001600160a01b0316806109415760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610a03565b60006001600160a01b0382166111d95760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610a03565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b0316331461121f5760405162461bcd60e51b8152600401610a039061329b565b6112296000611f30565b565b6006546001600160a01b031633146112555760405162461bcd60e51b8152600401610a039061329b565b6013805460ff19166001179055604080516020808252600c908201526b27a39029b0b6329037b832b760a11b9181019190915260008051602061362483398151915290606001610a53565b6006546001600160a01b031633146112ca5760405162461bcd60e51b8152600401610a039061329b565b601880546001600160a01b0319166001600160a01b0383169081179091556040517f5e74f6697ae9d8e4ed8c4e8cb2f44acc9909529ce81812aab23103b3de223f6690600090a250565b6006546001600160a01b0316331461133e5760405162461bcd60e51b8152600401610a039061329b565b6015610da68282613392565b60606001805461095690613261565b6006546001600160a01b031633146113835760405162461bcd60e51b8152600401610a039061329b565b60168290556017819055604051819083907f95a640352dcd90c4adfb94305e024b7754d086930a98dd85b8807e6b10de321390600090a35050565b610da6338383611f82565b6daaeb6d7670e522a718067333cd4e3b1561147257604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af115801561142f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061145391906132d0565b61147257604051633b79c77360e21b8152336004820152602401610a03565b61147e84848484612050565b50505050565b600654600160a01b900460ff16156114d15760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610a03565b6002600754036115235760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a03565b6002600755333b63ffffffff16156115735760405162461bcd60e51b815260206004820152601360248201527213db9b1e48121d5b585b9cc8185b1b1bddd959606a1b6044820152606401610a03565b600082116115c35760405162461bcd60e51b815260206004820152601660248201527f4d757374206d696e74206174206c65617374206f6e65000000000000000000006044820152606401610a03565b600260135460ff1660038111156115dc576115dc61303c565b0361166e57600260135460ff1660038111156115fa576115fa61303c565b1480611607575060008151115b61165f5760405162461bcd60e51b8152602060048201526024808201527f57686974656c6973742070726f6f6620726571756972656420666f7220574c506044820152636861736560e01b6064820152608401610a03565b6116698282612082565b6116cd565b600360135460ff1660038111156116875761168761303c565b146116c45760405162461bcd60e51b815260206004820152600d60248201526c29b0b632903737ba1037b832b760991b6044820152606401610a03565b6116cd826123be565b50506001600755565b6006546001600160a01b031633146117005760405162461bcd60e51b8152600401610a039061329b565b60005b6009548110156117a757600a5460085461171e906001613452565b11156117675760405162461bcd60e51b815260206004820152601860248201527745786365656473206d617820746f74616c20737570706c7960401b6044820152606401610a03565b6008805490600061177783613465565b9091555050601854600854611795916001600160a01b0316906125c9565b8061179f81613465565b915050611703565b506018546009546040519081526001600160a01b03909116907fb6d73edaff1d078a2be2a4f90b67dc6d7e69362de2c4f98404f75a451ae85ddd9060200160405180910390a2565b6006546001600160a01b031633146118195760405162461bcd60e51b8152600401610a039061329b565b600654600160a01b900460ff1615611833576112296125e3565b611229612684565b6000818152600260205260409020546060906001600160a01b03166118ba5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a03565b60006118c461270c565b905080516000036118e4576040518060200160405280600081525061190f565b806118ee8461271b565b6040516020016118ff92919061347e565b6040516020818303038152906040525b9392505050565b6006546001600160a01b031633146119405760405162461bcd60e51b8152600401610a039061329b565b600060135460ff1660038111156119595761195961303c565b036119a9576013805460ff19166001179055604080516020808252600c908201526b27a39029b0b6329037b832b760a11b9181019190915260008051602061362483398151915290606001610a53565b6013805460ff19169055565b600654600160a01b900460ff1615611a025760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610a03565b600260075403611a545760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a03565b6002600755333b63ffffffff1615611aa45760405162461bcd60e51b815260206004820152601360248201527213db9b1e48121d5b585b9cc8185b1b1bddd959606a1b6044820152606401610a03565b600160135460ff166003811115611abd57611abd61303c565b14611af95760405162461bcd60e51b815260206004820152600c60248201526b139bdd081bdc195b881e595d60a21b6044820152606401610a03565b611b4a81601654611b073390565b604051602001611b2f919060609190911b6bffffffffffffffffffffffff1916815260140190565b60405160208183030381529060405280519060200120612824565b611b7f5760405162461bcd60e51b81526020600482015260066024820152654e6f74204f4760d01b6044820152606401610a03565b6000600e5411611bd15760405162461bcd60e51b815260206004820152601460248201527f4f4720506861736520697320736f6c64206f75740000000000000000000000006044820152606401610a03565b600b54336000908152601b602052604090205403611c1f5760405162461bcd60e51b815260206004820152600b60248201526a08af0c6cacac8e640dac2f60ab1b6044820152606401610a03565b600b54336000908152601b6020526040902055601054611c40906002613452565b601055600e54611c52906002906134ba565b600e5560088054906000611c6583613465565b9190505550611c7c611c743390565b6008546125c9565b600854604051339060008051602061364483398151915290600090a360088054906000611ca883613465565b9190505550611cb7611c743390565b600854604051339060008051602061364483398151915290600090a3600e54600003611d29576013805460ff19166002179055604080516020808252600c908201526b2ba61029b0b6329037b832b760a11b818301529051600080516020613624833981519152916060908290030190a15b506001600755565b60606015805461095690613261565b6006546001600160a01b03163314611d6a5760405162461bcd60e51b8152600401610a039061329b565b6001600160a01b038116611dcf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a03565b611dd881611f30565b50565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611e10826110f7565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611e53338261283a565b611e6f5760405162461bcd60e51b8152600401610a03906134cd565b610c2083838361292d565b610c20838383604051806020016040528060008152506113c9565b6000611ea0826110f7565b9050611ead600083611ddb565b6001600160a01b0381166000908152600360205260408120805460019290611ed69084906134ba565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031603611fe35760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a03565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61205a338361283a565b6120765760405162461bcd60e51b8152600401610a03906134cd565b61147e84848484612ac9565b61209081601754611b073390565b6120c55760405162461bcd60e51b8152602060048201526006602482015265139bdd0815d360d21b6044820152606401610a03565b6000600f54116121045760405162461bcd60e51b815260206004820152600a602482015269139bc81b5bdc994815d360b21b6044820152606401610a03565b336000908152601a6020908152604080832054601b909252822054600f549192909185116121325784612136565b600f545b9050600080831561214857600061214b565b60015b905080156121c657336000908152601b6020526040902060019055826121708161351e565b600f805491955090915060006121858361351e565b90915550506008805490600061219a83613465565b91905055506121a9611c743390565b600854604051339060008051602061364483398151915290600090a35b600c548311156122035760405162461bcd60e51b8152602060048201526008602482015267546f6f206d616e7960c01b6044820152606401610a03565b600c54612211866001613452565b1061225e5760405162461bcd60e51b815260206004820152601660248201527f596f752068617665206e6f206d6f7265206d696e7473000000000000000000006044820152606401610a03565b8260115461226c9190613303565b34146122ba5760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610a03565b60005b8381101561233657826122cf81613465565b600f805491955090915060006122e48361351e565b9091555050600880549060006122f983613465565b9190505550612308611c743390565b600854604051339060008051602061364483398151915290600090a38061232e81613465565b9150506122bd565b50336000908152601a602052604081208054849290612356908490613452565b9091555050600f546000036123b5576013805460ff191660031790556040805160208082526010908201526f283ab13634b19029b0b6329037b832b760811b818301529051600080516020613624833981519152916060908290030190a15b50505050505050565b600a54816008546123cf9190613452565b11156124185760405162461bcd60e51b815260206004820152601860248201527745786365656473206d617820746f74616c20737570706c7960401b6044820152606401610a03565b600d5481111561245a5760405162461bcd60e51b815260206004820152600d60248201526c08af0c6cacac8d2dcce40dac2f609b1b6044820152606401610a03565b806012546124689190613303565b34146124b65760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610a03565b600d546040516370a0823160e01b815233600482015230906370a0823190602401602060405180830381865afa1580156124f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125189190613535565b111561252357600080fd5b6000805b8281101561258b578161253981613465565b60088054919450909150600061254e83613465565b919050555061255d611c743390565b600854604051339060008051602061364483398151915290600090a38061258381613465565b915050612527565b50336000908152601a6020526040812080548392906125ab908490613452565b9091555050600a5460085403610da65750506013805460ff19169055565b610da6828260405180602001604052806000815250612afc565b600654600160a01b900460ff1661263c5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610a03565b6006805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b039091168152602001610a53565b600654600160a01b900460ff16156126d15760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610a03565b6006805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861266c3390565b60606014805461095690613261565b6060816000036127425750506040805180820190915260018152600360fc1b602082015290565b8160005b811561276c578061275681613465565b91506127659050600a83613330565b9150612746565b60008167ffffffffffffffff81111561278757612787612f54565b6040519080825280601f01601f1916602001820160405280156127b1576020820181803683370190505b5090505b841561281c576127c66001836134ba565b91506127d3600a8661354e565b6127de906030613452565b60f81b8183815181106127f3576127f3613562565b60200101906001600160f81b031916908160001a905350612815600a86613330565b94506127b5565b949350505050565b6000826128318584612b2f565b14949350505050565b6000818152600260205260408120546001600160a01b03166128b35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a03565b60006128be836110f7565b9050806001600160a01b0316846001600160a01b031614806128f95750836001600160a01b03166128ee84610a5d565b6001600160a01b0316145b8061281c57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff1661281c565b826001600160a01b0316612940826110f7565b6001600160a01b0316146129a45760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610a03565b6001600160a01b038216612a065760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a03565b612a11600082611ddb565b6001600160a01b0383166000908152600360205260408120805460019290612a3a9084906134ba565b90915550506001600160a01b0382166000908152600360205260408120805460019290612a68908490613452565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b612ad484848461292d565b612ae084848484612ba3565b61147e5760405162461bcd60e51b8152600401610a0390613578565b612b068383612ca4565b612b136000848484612ba3565b610c205760405162461bcd60e51b8152600401610a0390613578565b600081815b8451811015612b9b576000858281518110612b5157612b51613562565b60200260200101519050808311612b775760008381526020829052604090209250612b88565b600081815260208490526040902092505b5080612b9381613465565b915050612b34565b509392505050565b60006001600160a01b0384163b15612c9957604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612be79033908990889088906004016135ca565b6020604051808303816000875af1925050508015612c22575060408051601f3d908101601f19168201909252612c1f91810190613606565b60015b612c7f573d808015612c50576040519150601f19603f3d011682016040523d82523d6000602084013e612c55565b606091505b508051600003612c775760405162461bcd60e51b8152600401610a0390613578565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061281c565b506001949350505050565b6001600160a01b038216612cfa5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a03565b6000818152600260205260409020546001600160a01b031615612d5f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a03565b6001600160a01b0382166000908152600360205260408120805460019290612d88908490613452565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b031981168114611dd857600080fd5b600060208284031215612e0e57600080fd5b813561190f81612de6565b60005b83811015612e34578181015183820152602001612e1c565b50506000910152565b60008151808452612e55816020860160208601612e19565b601f01601f19169290920160200192915050565b60208152600061190f6020830184612e3d565b600060208284031215612e8e57600080fd5b5035919050565b80356001600160a01b0381168114612eac57600080fd5b919050565b60008060408385031215612ec457600080fd5b612ecd83612e95565b946020939093013593505050565b600060208284031215612eed57600080fd5b61190f82612e95565b600080600060608486031215612f0b57600080fd5b612f1484612e95565b9250612f2260208501612e95565b9150604084013590509250925092565b60008060408385031215612f4557600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612f9357612f93612f54565b604052919050565b600067ffffffffffffffff831115612fb557612fb5612f54565b612fc8601f8401601f1916602001612f6a565b9050828152838383011115612fdc57600080fd5b828260208301376000602084830101529392505050565b60006020828403121561300557600080fd5b813567ffffffffffffffff81111561301c57600080fd5b8201601f8101841361302d57600080fd5b61281c84823560208401612f9b565b634e487b7160e01b600052602160045260246000fd5b602081016004831061307457634e487b7160e01b600052602160045260246000fd5b91905290565b8015158114611dd857600080fd5b6000806040838503121561309b57600080fd5b6130a483612e95565b915060208301356130b48161307a565b809150509250929050565b600080600080608085870312156130d557600080fd5b6130de85612e95565b93506130ec60208601612e95565b925060408501359150606085013567ffffffffffffffff81111561310f57600080fd5b8501601f8101871361312057600080fd5b61312f87823560208401612f9b565b91505092959194509250565b600082601f83011261314c57600080fd5b8135602067ffffffffffffffff82111561316857613168612f54565b8160051b613177828201612f6a565b928352848101820192828101908785111561319157600080fd5b83870192505b848310156131b057823582529183019190830190613197565b979650505050505050565b600080604083850312156131ce57600080fd5b82359150602083013567ffffffffffffffff8111156131ec57600080fd5b6131f88582860161313b565b9150509250929050565b60006020828403121561321457600080fd5b813567ffffffffffffffff81111561322b57600080fd5b61281c8482850161313b565b6000806040838503121561324a57600080fd5b61325383612e95565b9150610d6760208401612e95565b600181811c9082168061327557607f821691505b60208210810361329557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000602082840312156132e257600080fd5b815161190f8161307a565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610941576109416132ed565b634e487b7160e01b600052601260045260246000fd5b60008261333f5761333f61331a565b500490565b601f821115610c2057600081815260208120601f850160051c8101602086101561336b5750805b601f850160051c820191505b8181101561338a57828155600101613377565b505050505050565b815167ffffffffffffffff8111156133ac576133ac612f54565b6133c0816133ba8454613261565b84613344565b602080601f8311600181146133f557600084156133dd5750858301515b600019600386901b1c1916600185901b17855561338a565b600085815260208120601f198616915b8281101561342457888601518255948401946001909101908401613405565b50858210156134425787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115610941576109416132ed565b600060018201613477576134776132ed565b5060010190565b60008351613490818460208801612e19565b602f60f81b90830190815283516134ae816001840160208801612e19565b01600101949350505050565b81810381811115610941576109416132ed565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008161352d5761352d6132ed565b506000190190565b60006020828403121561354757600080fd5b5051919050565b60008261355d5761355d61331a565b500690565b634e487b7160e01b600052603260045260246000fd5b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60006001600160a01b038087168352808616602084015250836040830152608060608301526135fc6080830184612e3d565b9695505050505050565b60006020828403121561361857600080fd5b815161190f81612de656fedb0e19a299351527cb64637c63a41941e57403a56d218b5c4785cb693bfd6dcb30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfea2646970667358221220877a3ea1fe58f7567e295d5408d1b7aaea422076d3bea5f126bffdb999c29ba064736f6c63430008130033

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

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000007346b50756e6b73000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005344b504b53000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): 4kPunks
Arg [1] : symbol (string): 4KPKS

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [3] : 346b50756e6b7300000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [5] : 344b504b53000000000000000000000000000000000000000000000000000000


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

4KPunks Official

Validator Index Block Amount
View All Withdrawals

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

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