ETH Price: $2,659.36 (-0.14%)

Contract

0x02BeeD1404c69e62b76Af6DbdaE41Bd98bcA2Eab
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

TokenTracker

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...207765132024-09-18 9:14:1110 days ago1726650851IN
posers: pos Token
0 ETH0.000314566.79985934
Set Approval For...207691412024-09-17 8:29:2311 days ago1726561763IN
posers: pos Token
0 ETH0.000107712.33261925
Set Approval For...207455112024-09-14 1:16:2314 days ago1726276583IN
posers: pos Token
0 ETH0.000117752.55015371
Set Approval For...207335342024-09-12 9:07:1116 days ago1726132031IN
posers: pos Token
0 ETH0.000125642.72097128
Safe Transfer Fr...207122762024-09-09 9:51:4719 days ago1725875507IN
posers: pos Token
0 ETH0.000205893.89356377
Safe Transfer Fr...207122752024-09-09 9:51:3519 days ago1725875495IN
posers: pos Token
0 ETH0.000202033.82062866
Set Approval For...207059402024-09-08 12:38:3520 days ago1725799115IN
posers: pos Token
0 ETH0.000074531.6111453
Set Approval For...206762142024-09-04 9:06:5924 days ago1725440819IN
posers: pos Token
0 ETH0.000073051.58211034
Set Approval For...206762062024-09-04 9:05:2324 days ago1725440723IN
posers: pos Token
0 ETH0.000079921.72766872
Set Approval For...206761112024-09-04 8:46:1124 days ago1725439571IN
posers: pos Token
0 ETH0.000086481.86957232
Set Approval For...206672532024-09-03 3:05:5925 days ago1725332759IN
posers: pos Token
0 ETH0.000068541.48163757
Set Approval For...206564252024-09-01 14:50:1126 days ago1725202211IN
posers: pos Token
0 ETH0.00004590.99420284
Set Approval For...206380112024-08-30 1:07:5929 days ago1724980079IN
posers: pos Token
0 ETH0.00005861.26926232
Set Approval For...206174212024-08-27 4:05:2332 days ago1724731523IN
posers: pos Token
0 ETH0.000050731.0987278
Set Approval For...206088462024-08-25 23:19:5933 days ago1724627999IN
posers: pos Token
0 ETH0.000054871.18650576
Set Approval For...206075562024-08-25 19:01:1133 days ago1724612471IN
posers: pos Token
0 ETH0.000056641.22491337
Set Approval For...206029032024-08-25 3:23:5934 days ago1724556239IN
posers: pos Token
0 ETH0.000026141.07755974
Safe Transfer Fr...206007712024-08-24 20:13:5934 days ago1724530439IN
posers: pos Token
0 ETH0.000051841.07676519
Safe Transfer Fr...206007662024-08-24 20:12:5934 days ago1724530379IN
posers: pos Token
0 ETH0.000056871.07414046
Safe Transfer Fr...206007562024-08-24 20:10:5934 days ago1724530259IN
posers: pos Token
0 ETH0.000057711.09014076
Safe Transfer Fr...206007482024-08-24 20:09:2334 days ago1724530163IN
posers: pos Token
0 ETH0.000048650.91898428
Safe Transfer Fr...206007192024-08-24 20:03:3534 days ago1724529815IN
posers: pos Token
0 ETH0.000060091.13512555
Safe Transfer Fr...206007142024-08-24 20:02:3534 days ago1724529755IN
posers: pos Token
0 ETH0.000075121.07246583
Set Approval For...205887852024-08-23 4:00:5936 days ago1724385659IN
posers: pos Token
0 ETH0.000052581.13890119
Set Approval For...205674302024-08-20 4:24:1139 days ago1724127851IN
posers: pos Token
0 ETH0.000026591.09225442
View all transactions

Latest 21 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
155525822022-09-17 10:02:59742 days ago1663408979
posers: pos Token
0.3015 ETH
155525822022-09-17 10:02:59742 days ago1663408979
posers: pos Token
0.4824 ETH
155525822022-09-17 10:02:59742 days ago1663408979
posers: pos Token
0.4824 ETH
155525822022-09-17 10:02:59742 days ago1663408979
posers: pos Token
0.4824 ETH
155525822022-09-17 10:02:59742 days ago1663408979
posers: pos Token
0.3015 ETH
155525822022-09-17 10:02:59742 days ago1663408979
posers: pos Token
3.6783 ETH
155525822022-09-17 10:02:59742 days ago1663408979
posers: pos Token
0.3015 ETH
155519652022-09-17 7:58:11742 days ago1663401491
posers: pos Token
0.005 ETH
155519652022-09-17 7:58:11742 days ago1663401491
posers: pos Token
0.008 ETH
155519652022-09-17 7:58:11742 days ago1663401491
posers: pos Token
0.008 ETH
155519652022-09-17 7:58:11742 days ago1663401491
posers: pos Token
0.008 ETH
155519652022-09-17 7:58:11742 days ago1663401491
posers: pos Token
0.005 ETH
155519652022-09-17 7:58:11742 days ago1663401491
posers: pos Token
0.061 ETH
155519652022-09-17 7:58:11742 days ago1663401491
posers: pos Token
0.005 ETH
155519352022-09-17 7:51:59742 days ago1663401119
posers: pos Token
0.4485 ETH
155519352022-09-17 7:51:59742 days ago1663401119
posers: pos Token
0.7176 ETH
155519352022-09-17 7:51:59742 days ago1663401119
posers: pos Token
0.7176 ETH
155519352022-09-17 7:51:59742 days ago1663401119
posers: pos Token
0.7176 ETH
155519352022-09-17 7:51:59742 days ago1663401119
posers: pos Token
0.4485 ETH
155519352022-09-17 7:51:59742 days ago1663401119
posers: pos Token
5.4717 ETH
155519352022-09-17 7:51:59742 days ago1663401119
posers: pos Token
0.4485 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Posers

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : Posers.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

contract Posers is ERC721A, Ownable {

    using ECDSA for bytes32;

    uint constant public MAX_SUPPLY = 5000;

    // prices
    uint public wlPrice = 0.02 ether;
    uint public poserPrice = 0.03 ether;
    uint public degenPrice = 0.05 ether;

    // constraints
    uint public maxMintsPerWallet = 3;
    mapping(address => bool) public isUsedFreeMint;
    mapping(address => uint) public mintedNFTs;

    // oracle data signer
    address public authorizedSigner = 0x05565f89Af3EeECd460d45047A659670CE1ED65b;

    // random things
    uint public collectionSeed;
    mapping(uint => uint) public batchSeed;

    // poser collections
    address[] public poserCollections;
    // open sale manually
    bool public saleStartedForcibly;

    // metadata generator
    address public metadataProvider = 0x0DF7552D49137fF65986dEeb18A11450458D6507;

    constructor() ERC721A("posers", "pos", 20) {
        poserCollections = [
            0x620b70123fB810F6C653DA7644b5dD0b6312e4D8,
            0x57f1887a8BF19b14fC0dF6Fd9B2acc9Af147eA85,
            0xED5AF388653567Af2F388E6224dC7C4b3241C544,
            0x1CB1A5e65610AEFF2551A50f76a87a7d3fB649C6,
            0x23581767a106ae21c074b2276D25e5C3e136a68b,
            0x8a90CAb2b38dba80c64b7734e58Ee1dB38B8992e,
            0x79FCDEF22feeD20eDDacbB2587640e45491b757f,
            0xa3AEe8BcE55BEeA1951EF834b99f3Ac60d1ABeeB,
            0xb668beB1Fa440F6cF2Da0399f8C28caB993Bdd65,
            0x922b95416763a9C37BeAC82DE7E2dDB75ac35F37,
            0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB,
            0x86357A19E5537A8Fba9A004E555713BC943a66C0,
            0x7Bd29408f11D2bFC23c34f18275bBf23bB716Bc7,
            0xfC23F958C86D944418D7965a5F6582d1E96Db1be,
            0x08D7C0242953446436F34b4C78Fe9da38c73668d,
            0x49cF6f5d44E70224e2E23fDcdd2C053F30aDA28B,
            0x1A92f7381B9F03921564a437210bB9396471050C,
            0xBd3531dA5CF5857e7CfAA92426877b022e612cf8,
            0x59468516a8259058baD1cA5F8f4BFF190d30E066,
            0x9C8fF314C9Bc7F6e59A9d9225Fb22946427eDC03,
            0xcBd38d10511F0274e040085c0BC1F85CC96Fff82,
            0x42069ABFE407C60cf4ae4112bEDEaD391dBa1cdB,
            0x57a204AA1042f6E66DD7730813f4024114d74f37,
            0x209e639a0EC166Ac7a1A4bA41968fa967dB30221,
            0xbCe3781ae7Ca1a5e050Bd9C4c77369867eBc307e,
            0x08BA8CBbefa64Aaf9DF25e57fE3f15eCC277Af74,
            0x39cbE44fe0161785F643b53489a549d802478ddf,
            0x26BAdF693F2b103B021c670c852262b379bBBE8A,
            0x80336Ad7A747236ef41F47ed2C7641828a480BAA,
            0x9df8Aa7C681f33E442A0d57B838555da863504f3,
            0x916c6AF08BF922Eaf80C05975886c0A421C78A35,
            0x39ee2c7b3cb80254225884ca001F57118C8f21B6,
            0x394E3d3044fC89fCDd966D3cb35Ac0B32B0Cda91,
            0x9ada21A8bc6c33B49a089CFC1c24545d2a27cD81,
            0xEDc3AD89f7b0963fe23D714B34185713706B815b,
            0x60E4d786628Fea6478F785A6d7e704777c86a7c6
        ];
    }

    // poser
    function isPOSer(address account) public view returns (bool){
        for (uint i = 0; i < poserCollections.length; i++) {
            if (IERC721(poserCollections[i]).balanceOf(account) > 0) {
                return true;
            }
        }
        return false;
    }

    // wl checks
    function hashTransaction(address minter) internal pure returns (bytes32) {
        bytes32 argsHash = keccak256(abi.encodePacked(minter));
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", argsHash));
    }

    function recoverSignerAddress(address minter, bytes calldata signature) internal pure returns (address) {
        bytes32 hash = hashTransaction(minter);
        return hash.recover(signature);
    }

    function isAccountWhitelisted(address account, bytes calldata signature) public view returns (bool) {
        return signature.length > 0 && recoverSignerAddress(account, signature) == authorizedSigner;
    }

    // poser && signed
    function mintWl(uint amount, bytes calldata signature) public payable {
        require(isSaleStarted(), "Mint is not open");
        require(isAccountWhitelisted(msg.sender, signature), "msg.sender is not whitelisted");
        require(isPOSer(msg.sender), "msg.sender is not HODLer");

        uint amountToPay = isUsedFreeMint[msg.sender] ? amount : amount - 1;
        isUsedFreeMint[msg.sender] = true;

        require(mintedNFTs[msg.sender] + amount <= maxMintsPerWallet, "Too much mints for this wallet!");
        require(amountToPay * wlPrice == msg.value, "Wrong msg.value");

        setCollectionSeedIfNotSet();
        mintedNFTs[msg.sender] += amount;
        mint(msg.sender, amount);
    }

    // poser only
    function mintPoser(uint amount) public payable {
        require(isSaleStarted(), "Mint is not open");
        require(isPOSer(msg.sender), "msg.sender is not HODLer");

        require(mintedNFTs[msg.sender] + amount <= maxMintsPerWallet, "Too much mints for this wallet!");
        require(amount * poserPrice == msg.value, "Wrong msg.value");

        setCollectionSeedIfNotSet();
        mintedNFTs[msg.sender] += amount;
        mint(msg.sender, amount);
    }

    // for degens only
    function mintDegen(uint amount) public payable {
        require(isSaleStarted(), "Mint is not open");

        require(mintedNFTs[msg.sender] + amount <= maxMintsPerWallet, "Too much mints for this wallet!");
        require(amount * degenPrice == msg.value, "Wrong msg.value");

        setCollectionSeedIfNotSet();
        mintedNFTs[msg.sender] += amount;
        mint(msg.sender, amount);
    }

    // for devs and winners
    function airdrop(address[] calldata addresses, uint[] calldata amounts) external onlyOwner {
        for (uint i = 0; i < addresses.length; i++) {
            mint(addresses[i], amounts[i]);
        }
    }

    // set collection seed
    function setCollectionSeedIfNotSet() internal {
        if (collectionSeed == 0) {
            collectionSeed = uint(blockhash(block.number - 1));
        }
    }

    // mint and save batch seed
    function mint(address account, uint amount) internal {
        require(totalSupply() + amount <= MAX_SUPPLY, "Out of tokens!");
        batchSeed[totalSupply()] = random(account);
        _safeMint(account, amount);
    }

    // pseudo random
    function random(address minter) public view returns (uint) {
        return uint(
            keccak256(
                abi.encodePacked(
                    blockhash(block.number - 1),
                    totalSupply(),
                    minter
                )
            )
        );
    }

    // extract token seed using batch seed
    function getTokenKey(uint tokenId) public view returns (uint) {
        require(collectionSeed != 0, "Collection seed is not set");
        for (uint i = 0; i < maxBatchSize; i++) {
            uint seed = batchSeed[tokenId - i];
            if (seed != 0) {
                return uint(keccak256(abi.encode(collectionSeed, seed, i)));
            }
        }
        revert("unreachable code I hope");
    }

    // base64 encoded meta and image from metadata provider
    function tokenURI(uint256 tokenId) public view override returns (string memory)
    {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
        require(metadataProvider != address(0), "Metadata Provider is not set");

        return MetadataProvider(metadataProvider)
            .tokenMeta(tokenId, getTokenKey(tokenId));
    }

    // sale opened manually or the merge occurred
    function isSaleStarted() public view returns (bool) {
        return saleStartedForcibly || block.difficulty > 2 ** 64 || block.difficulty == 0;
    }

    // place to setters available before renounceOwnership()
    // configure all variables
    function configure(
        uint _wlPrice,
        uint _poserPrice,
        uint _degenPrice,
        address _authorizedSigner,
        bool _saleStartedForcibly,
        address _metadataProvider
    ) external onlyOwner {
        wlPrice = _wlPrice;
        poserPrice = _poserPrice;
        degenPrice = _degenPrice;
        authorizedSigner = _authorizedSigner;
        saleStartedForcibly = _saleStartedForcibly;
        metadataProvider = _metadataProvider;
    }

    // add poser collections
    function addPoserCollections(address[] calldata _poserCollections) external onlyOwner {
        for (uint i = 0; i < _poserCollections.length; i++) {
            poserCollections.push(_poserCollections[i]);
        }
    }

    // modify inplace
    function modifyPoserAt(uint index, address replaceCollection) external onlyOwner {
        poserCollections[index] = replaceCollection;
    }

    // reset poser collections
    function resetPoserCollections() external onlyOwner {
        delete poserCollections;
    }

    // start salemanually
    function setSaleStartedForcibly(bool _saleStartedForcibly) external onlyOwner {
        saleStartedForcibly = _saleStartedForcibly;
    }

    // withdraw
    function withdraw() external {
        uint balance = address(this).balance;
        payable(0xFeE836516a3Fc5f053F35964a2Bed9af65Da8159).transfer(balance * 5 / 100);
        payable(0xA12EEeAad1D13f0938FEBd6a1B0e8b10AB31dbD6).transfer(balance * 61 / 100);
        payable(0x853B28a4A0cFc0DBAf5349824063Eb5DB54775C1).transfer(balance * 5 / 100);
        payable(0x612DBBe0f90373ec00cabaEED679122AF9C559BE).transfer(balance * 8 / 100);
        payable(0x9db13B06345c1bf5684f02aA2022103e11B3a702).transfer(balance * 8 / 100);
        payable(0x11CaFe39a4d956c0c9ed0EE780e83A8245885917).transfer(balance * 8 / 100);
        payable(0xeFA6F0951E1F8Df2F8EBf2D879ac6A137688fE4B).transfer(balance * 5 / 100);
    }
}

interface MetadataProvider {
    function tokenMeta(uint tokenId, uint tokenSeed) external view returns (string memory);
}

File 2 of 13 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creators: locationtba.eth, 2pmflow.eth

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Does not support burning tokens to address(0).
 */
contract ERC721A is
Context,
ERC165,
IERC721,
IERC721Metadata,
IERC721Enumerable
{
    using Address for address;
    using Strings for uint256;

    struct TokenOwnership {
        address addr;
        uint64 startTimestamp;
    }

    struct AddressData {
        uint128 balance;
        uint128 numberMinted;
    }

    uint256 private currentIndex = 0;

    uint256 internal immutable maxBatchSize;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

    /**
     * @dev
   * `maxBatchSize` refers to how much a minter can mint at a time.
   */
    constructor(
        string memory name_,
        string memory symbol_,
        uint256 maxBatchSize_
    ) {
        require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero");
        _name = name_;
        _symbol = symbol_;
        maxBatchSize = maxBatchSize_;
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
   */
    function totalSupply() public view override returns (uint256) {
        return currentIndex;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
   */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        require(index < totalSupply(), "ERC721A: global index out of bounds");
        return index;
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
   * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
   * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
   */
    function tokenOfOwnerByIndex(address owner, uint256 index)
    public
    view
    override
    returns (uint256)
    {
        require(index < balanceOf(owner), "ERC721A: owner index out of bounds");
        uint256 numMintedSoFar = totalSupply();
        uint256 tokenIdsIdx = 0;
        address currOwnershipAddr = address(0);
        for (uint256 i = 0; i < numMintedSoFar; i++) {
            TokenOwnership memory ownership = _ownerships[i];
            if (ownership.addr != address(0)) {
                currOwnershipAddr = ownership.addr;
            }
            if (currOwnershipAddr == owner) {
                if (tokenIdsIdx == index) {
                    return i;
                }
                tokenIdsIdx++;
            }
        }
        revert("ERC721A: unable to get token of owner by index");
    }

    /**
     * @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 ||
        interfaceId == type(IERC721Enumerable).interfaceId ||
        super.supportsInterface(interfaceId);
    }

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

    function _numberMinted(address owner) internal view returns (uint256) {
        require(
            owner != address(0),
            "ERC721A: number minted query for the zero address"
        );
        return uint256(_addressData[owner].numberMinted);
    }

    function ownershipOf(uint256 tokenId)
    internal
    view
    returns (TokenOwnership memory)
    {
        require(_exists(tokenId), "ERC721A: owner query for nonexistent token");

        uint256 lowestTokenToCheck;
        if (tokenId >= maxBatchSize) {
            lowestTokenToCheck = tokenId - maxBatchSize + 1;
        }

        for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) {
            TokenOwnership memory ownership = _ownerships[curr];
            if (ownership.addr != address(0)) {
                return ownership;
            }
        }

        revert("ERC721A: unable to determine the owner of token");
    }

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
   */
    function tokenURI(uint256 tokenId)
    public
    view
    virtual
    override
    returns (string memory)
    {
        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 override {
        address owner = ERC721A.ownerOf(tokenId);
        require(to != owner, "ERC721A: approval to current owner");

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
   */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public override {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            "ERC721A: 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`),
   */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return tokenId < currentIndex;
    }

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

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
   *
   * Requirements:
   *
   * - `to` cannot be the zero address.
   * - `quantity` cannot be larger than the max batch size.
   *
   * Emits a {Transfer} event.
   */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        uint256 startTokenId = currentIndex;
        require(to != address(0), "ERC721A: mint to the zero address");
        // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering.
        require(!_exists(startTokenId), "ERC721A: token already minted");
        require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high");

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

        AddressData memory addressData = _addressData[to];
        _addressData[to] = AddressData(
            addressData.balance + uint128(quantity),
            addressData.numberMinted + uint128(quantity)
        );
        _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp));

        uint256 updatedIndex = startTokenId;

        for (uint256 i = 0; i < quantity; i++) {
            emit Transfer(address(0), to, updatedIndex);
            require(
                _checkOnERC721Received(address(0), to, updatedIndex, _data),
                "ERC721A: transfer to non ERC721Receiver implementer"
            );
            updatedIndex++;
        }

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

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

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

        require(
            isApprovedOrOwner,
            "ERC721A: transfer caller is not owner nor approved"
        );

        require(
            prevOwnership.addr == from,
            "ERC721A: transfer from incorrect owner"
        );
        require(to != address(0), "ERC721A: transfer to the zero address");

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        _addressData[from].balance -= 1;
        _addressData[to].balance += 1;
        _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp));

        // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
        // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
        uint256 nextTokenId = tokenId + 1;
        if (_ownerships[nextTokenId].addr == address(0)) {
            if (_exists(nextTokenId)) {
                _ownerships[nextTokenId] = TokenOwnership(
                    prevOwnership.addr,
                    prevOwnership.startTimestamp
                );
            }
        }

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

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

    uint256 public nextOwnerToExplicitlySet = 0;

    /**
     * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf().
   */
    function _setOwnersExplicit(uint256 quantity) internal {
        uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet;
        require(quantity > 0, "quantity must be nonzero");
        uint256 endIndex = oldNextOwnerToSet + quantity - 1;
        if (endIndex > currentIndex - 1) {
            endIndex = currentIndex - 1;
        }
        // We know if the last one in the group exists, all in the group exist, due to serial ordering.
        require(_exists(endIndex), "not enough minted yet for this cleanup");
        for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) {
            if (_ownerships[i].addr == address(0)) {
                TokenOwnership memory ownership = ownershipOf(i);
                _ownerships[i] = TokenOwnership(
                    ownership.addr,
                    ownership.startTimestamp
                );
            }
        }
        nextOwnerToExplicitlySet = endIndex + 1;
    }

    /**
     * @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(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721A: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 5 of 13 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.3) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 6 of 13 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

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

pragma solidity ^0.8.0;

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

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

File 8 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 11 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 12 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

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

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

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

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

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

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

File 13 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_poserCollections","type":"address[]"}],"name":"addPoserCollections","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"airdrop","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":[],"name":"authorizedSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"","type":"uint256"}],"name":"batchSeed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectionSeed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wlPrice","type":"uint256"},{"internalType":"uint256","name":"_poserPrice","type":"uint256"},{"internalType":"uint256","name":"_degenPrice","type":"uint256"},{"internalType":"address","name":"_authorizedSigner","type":"address"},{"internalType":"bool","name":"_saleStartedForcibly","type":"bool"},{"internalType":"address","name":"_metadataProvider","type":"address"}],"name":"configure","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"degenPrice","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":"uint256","name":"tokenId","type":"uint256"}],"name":"getTokenKey","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"isAccountWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isPOSer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isUsedFreeMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintsPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataProvider","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintDegen","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintPoser","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mintWl","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedNFTs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"replaceCollection","type":"address"}],"name":"modifyPoserAt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","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":"uint256","name":"","type":"uint256"}],"name":"poserCollections","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poserPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"random","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"resetPoserCollections","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleStartedForcibly","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"bool","name":"_saleStartedForcibly","type":"bool"}],"name":"setSaleStartedForcibly","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wlPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60a0604052600080805560075566470de4df820000600955666a94d74f430000600a5566b1a2bc2ec50000600b556003600c55600f80546001600160a01b0319167305565f89af3eeecd460d45047a659670ce1ed65b17905560138054740df7552d49137ff65986deeb18a11450458d650700610100600160a81b03199091161790553480156200008f57600080fd5b5060405180604001604052806006815260200165706f7365727360d01b81525060405180604001604052806003815260200162706f7360e81b815250601460008111620001325760405162461bcd60e51b815260206004820152602760248201527f455243373231413a206d61782062617463682073697a65206d757374206265206044820152666e6f6e7a65726f60c81b606482015260840160405180910390fd5b6001620001408482620006be565b5060026200014f8382620006be565b50608052506200016190503362000546565b604080516104808101825273620b70123fb810f6c653da7644b5dd0b6312e4d881527357f1887a8bf19b14fc0df6fd9b2acc9af147ea85602082015273ed5af388653567af2f388e6224dc7c4b3241c54491810191909152731cb1a5e65610aeff2551a50f76a87a7d3fb649c660608201527323581767a106ae21c074b2276d25e5c3e136a68b6080820152738a90cab2b38dba80c64b7734e58ee1db38b8992e60a08201527379fcdef22feed20eddacbb2587640e45491b757f60c082015273a3aee8bce55beea1951ef834b99f3ac60d1abeeb60e082015273b668beb1fa440f6cf2da0399f8c28cab993bdd6561010082015273922b95416763a9c37beac82de7e2ddb75ac35f3761012082015273b47e3cd837ddf8e4c57f05d70ab865de6e193bbb6101408201527386357a19e5537a8fba9a004e555713bc943a66c0610160820152737bd29408f11d2bfc23c34f18275bbf23bb716bc761018082015273fc23f958c86d944418d7965a5f6582d1e96db1be6101a08201527308d7c0242953446436f34b4c78fe9da38c73668d6101c08201527349cf6f5d44e70224e2e23fdcdd2c053f30ada28b6101e0820152731a92f7381b9f03921564a437210bb9396471050c61020082015273bd3531da5cf5857e7cfaa92426877b022e612cf86102208201527359468516a8259058bad1ca5f8f4bff190d30e066610240820152739c8ff314c9bc7f6e59a9d9225fb22946427edc0361026082015273cbd38d10511f0274e040085c0bc1f85cc96fff826102808201527342069abfe407c60cf4ae4112bedead391dba1cdb6102a08201527357a204aa1042f6e66dd7730813f4024114d74f376102c082015273209e639a0ec166ac7a1a4ba41968fa967db302216102e082015273bce3781ae7ca1a5e050bd9c4c77369867ebc307e6103008201527308ba8cbbefa64aaf9df25e57fe3f15ecc277af746103208201527339cbe44fe0161785f643b53489a549d802478ddf6103408201527326badf693f2b103b021c670c852262b379bbbe8a6103608201527380336ad7a747236ef41f47ed2c7641828a480baa610380820152739df8aa7c681f33e442a0d57b838555da863504f36103a082015273916c6af08bf922eaf80c05975886c0a421c78a356103c08201527339ee2c7b3cb80254225884ca001f57118c8f21b66103e082015273394e3d3044fc89fcdd966d3cb35ac0b32b0cda91610400820152739ada21a8bc6c33b49a089cfc1c24545d2a27cd8161042082015273edc3ad89f7b0963fe23d714b34185713706b815b6104408201527360e4d786628fea6478f785a6d7e704777c86a7c66104608201526200053f90601290602462000598565b506200078a565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054828255906000526020600020908101928215620005f0579160200282015b82811115620005f057825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620005b9565b50620005fe92915062000602565b5090565b5b80821115620005fe576000815560010162000603565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200064457607f821691505b6020821081036200066557634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620006b957600081815260208120601f850160051c81016020861015620006945750805b601f850160051c820191505b81811015620006b557828155600101620006a0565b5050505b505050565b81516001600160401b03811115620006da57620006da62000619565b620006f281620006eb84546200062f565b846200066b565b602080601f8311600181146200072a5760008415620007115750858301515b600019600386901b1c1916600185901b178555620006b5565b600085815260208120601f198616915b828110156200075b578886015182559484019460019091019084016200073a565b50858210156200077a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805161325c620007bb60003960008181611826015281816120a4015281816120ce01526124e4015261325c6000f3fe6080604052600436106102935760003560e01c80636bd61cb11161015a578063b37c9606116100c1578063cd66b2221161007a578063cd66b2221461079a578063d3d72d2a146107ba578063d7224ba0146107df578063e985e9c5146107f5578063f2fde38b1461083e578063f516a2e61461085e57600080fd5b8063b37c9606146106d7578063b88d4fde146106f7578063ba060bed14610717578063c771909c14610744578063c7f8d01a14610764578063c87b56dd1461077a57600080fd5b80638a41212d116101135780638a41212d146106115780638da5cb5b1461063e57806395d89b411461065c5780639b102ca014610671578063a22cb465146106a1578063af421ce0146106c157600080fd5b80636bd61cb1146105735780636c327f07146105865780636dd47e40146105a657806370a08231146105bc578063715018a6146105dc578063813956e0146105f157600080fd5b80634067bda6116101fe57806362f7f825116101b757806362f7f825146104be5780636352211e146104de578063662bb8f4146104fe578063672434821461051e5780636916578e1461053e5780636b899f851461055357600080fd5b80634067bda61461042257806342842e0e146104355780634d06c1b6146104555780634f6ccce7146104685780635752a64614610488578063609ad9181461049e57600080fd5b80632735897e116102505780632735897e146103885780632f745c59146103a857806332cb6b0c146103c85780633b80b7d3146103de5780633ccfd60b146103f35780633fa57f001461040857600080fd5b806301ffc9a71461029857806306fdde03146102cd578063081812fc146102ef578063095ea7b31461032757806318160ddd1461034957806323b872dd14610368575b600080fd5b3480156102a457600080fd5b506102b86102b3366004612a2d565b610874565b60405190151581526020015b60405180910390f35b3480156102d957600080fd5b506102e26108e1565b6040516102c49190612aa1565b3480156102fb57600080fd5b5061030f61030a366004612ab4565b610973565b6040516001600160a01b0390911681526020016102c4565b34801561033357600080fd5b50610347610342366004612ae9565b610a03565b005b34801561035557600080fd5b506000545b6040519081526020016102c4565b34801561037457600080fd5b50610347610383366004612b13565b610b1a565b34801561039457600080fd5b5061030f6103a3366004612ab4565b610b25565b3480156103b457600080fd5b5061035a6103c3366004612ae9565b610b4f565b3480156103d457600080fd5b5061035a61138881565b3480156103ea57600080fd5b506102b8610cba565b3480156103ff57600080fd5b50610347610ce4565b34801561041457600080fd5b506013546102b89060ff1681565b610347610430366004612b90565b610f50565b34801561044157600080fd5b50610347610450366004612b13565b611125565b610347610463366004612ab4565b611140565b34801561047457600080fd5b5061035a610483366004612ab4565b611278565b34801561049457600080fd5b5061035a60105481565b3480156104aa57600080fd5b506103476104b9366004612c1f565b6112da565b3480156104ca57600080fd5b506102b86104d9366004612c60565b61135a565b3480156104ea57600080fd5b5061030f6104f9366004612ab4565b61141e565b34801561050a57600080fd5b5061035a610519366004612c60565b611430565b34801561052a57600080fd5b50610347610539366004612c7b565b61148f565b34801561054a57600080fd5b50610347611503565b34801561055f57600080fd5b5061034761056e366004612ce6565b611519565b610347610581366004612ab4565b611567565b34801561059257600080fd5b506103476105a1366004612d22565b6115d6565b3480156105b257600080fd5b5061035a600b5481565b3480156105c857600080fd5b5061035a6105d7366004612c60565b61163c565b3480156105e857600080fd5b506103476116cd565b3480156105fd57600080fd5b5061034761060c366004612d81565b6116df565b34801561061d57600080fd5b5061035a61062c366004612ab4565b60116020526000908152604090205481565b34801561064a57600080fd5b506008546001600160a01b031661030f565b34801561066857600080fd5b506102e26116fa565b34801561067d57600080fd5b506102b861068c366004612c60565b600d6020526000908152604090205460ff1681565b3480156106ad57600080fd5b506103476106bc366004612d9c565b611709565b3480156106cd57600080fd5b5061035a600a5481565b3480156106e357600080fd5b5061035a6106f2366004612ab4565b6117cd565b34801561070357600080fd5b50610347610712366004612e33565b61190e565b34801561072357600080fd5b5061035a610732366004612c60565b600e6020526000908152604090205481565b34801561075057600080fd5b50600f5461030f906001600160a01b031681565b34801561077057600080fd5b5061035a60095481565b34801561078657600080fd5b506102e2610795366004612ab4565b611941565b3480156107a657600080fd5b506102b86107b5366004612edd565b611a98565b3480156107c657600080fd5b5060135461030f9061010090046001600160a01b031681565b3480156107eb57600080fd5b5061035a60075481565b34801561080157600080fd5b506102b8610810366004612f16565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561084a57600080fd5b50610347610859366004612c60565b611ace565b34801561086a57600080fd5b5061035a600c5481565b60006001600160e01b031982166380ac58cd60e01b14806108a557506001600160e01b03198216635b5e139f60e01b145b806108c057506001600160e01b0319821663780e9d6360e01b145b806108db57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600180546108f090612f40565b80601f016020809104026020016040519081016040528092919081815260200182805461091c90612f40565b80156109695780601f1061093e57610100808354040283529160200191610969565b820191906000526020600020905b81548152906001019060200180831161094c57829003601f168201915b5050505050905090565b6000610980826000541190565b6109e75760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b6000610a0e8261141e565b9050806001600160a01b0316836001600160a01b031603610a7c5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b60648201526084016109de565b336001600160a01b0382161480610a985750610a988133610810565b610b0a5760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000000060648201526084016109de565b610b15838383611b44565b505050565b610b15838383611ba0565b60128181548110610b3557600080fd5b6000918252602090912001546001600160a01b0316905081565b6000610b5a8361163c565b8210610bb35760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016109de565b600080549080805b83811015610c5a576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215610c0d57805192505b876001600160a01b0316836001600160a01b031603610c4757868403610c39575093506108db92505050565b83610c4381612f90565b9450505b5080610c5281612f90565b915050610bbb565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b60648201526084016109de565b60135460009060ff1680610cd657506801000000000000000044115b80610cdf575044155b905090565b4773fee836516a3fc5f053f35964a2bed9af65da81596108fc6064610d0a846005612fa9565b610d149190612fc0565b6040518115909202916000818181858888f19350505050158015610d3c573d6000803e3d6000fd5b5073a12eeeaad1d13f0938febd6a1b0e8b10ab31dbd66108fc6064610d6284603d612fa9565b610d6c9190612fc0565b6040518115909202916000818181858888f19350505050158015610d94573d6000803e3d6000fd5b5073853b28a4a0cfc0dbaf5349824063eb5db54775c16108fc6064610dba846005612fa9565b610dc49190612fc0565b6040518115909202916000818181858888f19350505050158015610dec573d6000803e3d6000fd5b5073612dbbe0f90373ec00cabaeed679122af9c559be6108fc6064610e12846008612fa9565b610e1c9190612fc0565b6040518115909202916000818181858888f19350505050158015610e44573d6000803e3d6000fd5b50739db13b06345c1bf5684f02aa2022103e11b3a7026108fc6064610e6a846008612fa9565b610e749190612fc0565b6040518115909202916000818181858888f19350505050158015610e9c573d6000803e3d6000fd5b507311cafe39a4d956c0c9ed0ee780e83a82458859176108fc6064610ec2846008612fa9565b610ecc9190612fc0565b6040518115909202916000818181858888f19350505050158015610ef4573d6000803e3d6000fd5b5073efa6f0951e1f8df2f8ebf2d879ac6a137688fe4b6108fc6064610f1a846005612fa9565b610f249190612fc0565b6040518115909202916000818181858888f19350505050158015610f4c573d6000803e3d6000fd5b5050565b610f58610cba565b610f745760405162461bcd60e51b81526004016109de90612fe2565b610f7f338383611a98565b610fcb5760405162461bcd60e51b815260206004820152601d60248201527f6d73672e73656e646572206973206e6f742077686974656c697374656400000060448201526064016109de565b610fd43361135a565b61101b5760405162461bcd60e51b815260206004820152601860248201527736b9b39739b2b73232b91034b9903737ba102427a22632b960411b60448201526064016109de565b336000908152600d602052604081205460ff166110425761103d60018561300c565b611044565b835b336000908152600d60209081526040808320805460ff19166001179055600c54600e909252909120549192509061107c90869061301f565b111561109a5760405162461bcd60e51b81526004016109de90613032565b34600954826110a99190612fa9565b146110e85760405162461bcd60e51b815260206004820152600f60248201526e57726f6e67206d73672e76616c756560881b60448201526064016109de565b6110f0611f26565b336000908152600e60205260408120805486929061110f90849061301f565b9091555061111f90503385611f41565b50505050565b610b158383836040518060200160405280600081525061190e565b611148610cba565b6111645760405162461bcd60e51b81526004016109de90612fe2565b61116d3361135a565b6111b45760405162461bcd60e51b815260206004820152601860248201527736b9b39739b2b73232b91034b9903737ba102427a22632b960411b60448201526064016109de565b600c54336000908152600e60205260409020546111d290839061301f565b11156111f05760405162461bcd60e51b81526004016109de90613032565b34600a54826111ff9190612fa9565b1461123e5760405162461bcd60e51b815260206004820152600f60248201526e57726f6e67206d73672e76616c756560881b60448201526064016109de565b611246611f26565b336000908152600e60205260408120805483929061126590849061301f565b9091555061127590503382611f41565b50565b6000805482106112d65760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b60648201526084016109de565b5090565b6112e2611fc8565b60005b81811015610b1557601283838381811061130157611301613069565b90506020020160208101906113169190612c60565b81546001810183556000928352602090922090910180546001600160a01b0319166001600160a01b039092169190911790558061135281612f90565b9150506112e5565b6000805b6012548110156114155760006012828154811061137d5761137d613069565b6000918252602090912001546040516370a0823160e01b81526001600160a01b038681166004830152909116906370a0823190602401602060405180830381865afa1580156113d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f4919061307f565b11156114035750600192915050565b8061140d81612f90565b91505061135e565b50600092915050565b600061142982612022565b5192915050565b600061143d60014361300c565b4061144760005490565b604080516020810193909352820152606083811b6bffffffffffffffffffffffff19169082015260740160408051601f19818403018152919052805160209091012092915050565b611497611fc8565b60005b838110156114fc576114ea8585838181106114b7576114b7613069565b90506020020160208101906114cc9190612c60565b8484848181106114de576114de613069565b90506020020135611f41565b806114f481612f90565b91505061149a565b5050505050565b61150b611fc8565b611517601260006129e9565b565b611521611fc8565b806012838154811061153557611535613069565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505050565b61156f610cba565b61158b5760405162461bcd60e51b81526004016109de90612fe2565b600c54336000908152600e60205260409020546115a990839061301f565b11156115c75760405162461bcd60e51b81526004016109de90613032565b34600b54826111ff9190612fa9565b6115de611fc8565b600995909555600a93909355600b91909155600f80546001600160a01b0319166001600160a01b03928316179055601380546001600160a81b031916921515610100600160a81b031916929092176101009190931602919091179055565b60006001600160a01b0382166116a85760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084016109de565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6116d5611fc8565b61151760006121cb565b6116e7611fc8565b6013805460ff1916911515919091179055565b6060600280546108f090612f40565b336001600160a01b038316036117615760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c657200000000000060448201526064016109de565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60006010546000036118215760405162461bcd60e51b815260206004820152601a60248201527f436f6c6c656374696f6e2073656564206973206e6f742073657400000000000060448201526064016109de565b60005b7f00000000000000000000000000000000000000000000000000000000000000008110156118c557600060118161185b848761300c565b8152602001908152602001600020549050806000146118b25760105460408051602081019290925281018290526060810183905260800160408051601f198184030181529190528051602090910120949350505050565b50806118bd81612f90565b915050611824565b5060405162461bcd60e51b815260206004820152601760248201527f756e726561636861626c6520636f6465204920686f706500000000000000000060448201526064016109de565b611919848484611ba0565b6119258484848461221d565b61111f5760405162461bcd60e51b81526004016109de90613098565b606061194e826000541190565b6119b25760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109de565b60135461010090046001600160a01b0316611a0f5760405162461bcd60e51b815260206004820152601c60248201527f4d657461646174612050726f7669646572206973206e6f74207365740000000060448201526064016109de565b60135461010090046001600160a01b031663ef2a914183611a2f816117cd565b6040516001600160e01b031960e085901b16815260048101929092526024820152604401600060405180830381865afa158015611a70573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108db91908101906130eb565b60008115801590611ac65750600f546001600160a01b0316611abb85858561231e565b6001600160a01b0316145b949350505050565b611ad6611fc8565b6001600160a01b038116611b3b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109de565b611275816121cb565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611bab82612022565b80519091506000906001600160a01b0316336001600160a01b03161480611be2575033611bd784610973565b6001600160a01b0316145b80611bf457508151611bf49033610810565b905080611c5e5760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b60648201526084016109de565b846001600160a01b031682600001516001600160a01b031614611cd25760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b60648201526084016109de565b6001600160a01b038416611d365760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016109de565b611d466000848460000151611b44565b6001600160a01b0385166000908152600460205260408120805460019290611d789084906001600160801b0316613158565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b03861660009081526004602052604081208054600194509092611dc49185911661317f565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380871682526001600160401b03428116602080850191825260008981526003909152948520935184549151909216600160a01b026001600160e01b03199091169190921617179055611e4b84600161301f565b6000818152600360205260409020549091506001600160a01b0316611edc57611e75816000541190565b15611edc5760408051808201825284516001600160a01b0390811682526020808701516001600160401b039081168285019081526000878152600390935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b60105460000361151757611f3b60014361300c565b40601055565b61138881611f4e60005490565b611f58919061301f565b1115611f975760405162461bcd60e51b815260206004820152600e60248201526d4f7574206f6620746f6b656e732160901b60448201526064016109de565b611fa082611430565b60116000611fad60005490565b8152602081019190915260400160002055610f4c82826123e9565b6008546001600160a01b031633146115175760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109de565b6040805180820190915260008082526020820152612041826000541190565b6120a05760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b60648201526084016109de565b60007f00000000000000000000000000000000000000000000000000000000000000008310612101576120f37f00000000000000000000000000000000000000000000000000000000000000008461300c565b6120fe90600161301f565b90505b825b81811061216a576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b0316918301919091521561215757949350505050565b50806121628161319f565b915050612103565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b60648201526084016109de565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b1561231357604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906122619033908990889088906004016131b6565b6020604051808303816000875af192505050801561229c575060408051601f3d908101601f19168201909252612299918101906131f3565b60015b6122f9573d8080156122ca576040519150601f19603f3d011682016040523d82523d6000602084013e6122cf565b606091505b5080516000036122f15760405162461bcd60e51b81526004016109de90613098565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611ac6565b506001949350505050565b604080516bffffffffffffffffffffffff19606086901b16602080830191909152825180830360140181526034830184528051908201207f19457468657265756d205369676e6564204d6573736167653a0a333200000000605484015260708084019190915283518084039091018152609090920190925280519101206000906123e084848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525085939250506124039050565b95945050505050565b610f4c828260405180602001604052806000815250612427565b60008060006124128585612701565b9150915061241f81612746565b509392505050565b6000546001600160a01b03841661248a5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016109de565b612495816000541190565b156124e25760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e74656400000060448201526064016109de565b7f000000000000000000000000000000000000000000000000000000000000000083111561255d5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b60648201526084016109de565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b90910416918101919091528151808301909252805190919081906125b990879061317f565b6001600160801b031681526020018583602001516125d7919061317f565b6001600160801b039081169091526001600160a01b0380881660008181526004602090815260408083208751978301518716600160801b029790961696909617909455845180860186529182526001600160401b034281168386019081528883526003909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b858110156126f65760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46126ba600088848861221d565b6126d65760405162461bcd60e51b81526004016109de90613098565b816126e081612f90565b92505080806126ee90612f90565b91505061266d565b506000819055611f1e565b60008082516041036127375760208301516040840151606085015160001a61272b878285856128fc565b9450945050505061273f565b506000905060025b9250929050565b600081600481111561275a5761275a613210565b036127625750565b600181600481111561277657612776613210565b036127c35760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016109de565b60028160048111156127d7576127d7613210565b036128245760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016109de565b600381600481111561283857612838613210565b036128905760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016109de565b60048160048111156128a4576128a4613210565b036112755760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016109de565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561293357506000905060036129e0565b8460ff16601b1415801561294b57508460ff16601c14155b1561295c57506000905060046129e0565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156129b0573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166129d9576000600192509250506129e0565b9150600090505b94509492505050565b508054600082559060005260206000209081019061127591905b808211156112d65760008155600101612a03565b6001600160e01b03198116811461127557600080fd5b600060208284031215612a3f57600080fd5b8135612a4a81612a17565b9392505050565b60005b83811015612a6c578181015183820152602001612a54565b50506000910152565b60008151808452612a8d816020860160208601612a51565b601f01601f19169290920160200192915050565b602081526000612a4a6020830184612a75565b600060208284031215612ac657600080fd5b5035919050565b80356001600160a01b0381168114612ae457600080fd5b919050565b60008060408385031215612afc57600080fd5b612b0583612acd565b946020939093013593505050565b600080600060608486031215612b2857600080fd5b612b3184612acd565b9250612b3f60208501612acd565b9150604084013590509250925092565b60008083601f840112612b6157600080fd5b5081356001600160401b03811115612b7857600080fd5b60208301915083602082850101111561273f57600080fd5b600080600060408486031215612ba557600080fd5b8335925060208401356001600160401b03811115612bc257600080fd5b612bce86828701612b4f565b9497909650939450505050565b60008083601f840112612bed57600080fd5b5081356001600160401b03811115612c0457600080fd5b6020830191508360208260051b850101111561273f57600080fd5b60008060208385031215612c3257600080fd5b82356001600160401b03811115612c4857600080fd5b612c5485828601612bdb565b90969095509350505050565b600060208284031215612c7257600080fd5b612a4a82612acd565b60008060008060408587031215612c9157600080fd5b84356001600160401b0380821115612ca857600080fd5b612cb488838901612bdb565b90965094506020870135915080821115612ccd57600080fd5b50612cda87828801612bdb565b95989497509550505050565b60008060408385031215612cf957600080fd5b82359150612d0960208401612acd565b90509250929050565b80358015158114612ae457600080fd5b60008060008060008060c08789031215612d3b57600080fd5b863595506020870135945060408701359350612d5960608801612acd565b9250612d6760808801612d12565b9150612d7560a08801612acd565b90509295509295509295565b600060208284031215612d9357600080fd5b612a4a82612d12565b60008060408385031215612daf57600080fd5b612db883612acd565b9150612d0960208401612d12565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612e0457612e04612dc6565b604052919050565b60006001600160401b03821115612e2557612e25612dc6565b50601f01601f191660200190565b60008060008060808587031215612e4957600080fd5b612e5285612acd565b9350612e6060208601612acd565b92506040850135915060608501356001600160401b03811115612e8257600080fd5b8501601f81018713612e9357600080fd5b8035612ea6612ea182612e0c565b612ddc565b818152886020838501011115612ebb57600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b600080600060408486031215612ef257600080fd5b612efb84612acd565b925060208401356001600160401b03811115612bc257600080fd5b60008060408385031215612f2957600080fd5b612f3283612acd565b9150612d0960208401612acd565b600181811c90821680612f5457607f821691505b602082108103612f7457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600060018201612fa257612fa2612f7a565b5060010190565b80820281158282048414176108db576108db612f7a565b600082612fdd57634e487b7160e01b600052601260045260246000fd5b500490565b60208082526010908201526f26b4b73a1034b9903737ba1037b832b760811b604082015260600190565b818103818111156108db576108db612f7a565b808201808211156108db576108db612f7a565b6020808252601f908201527f546f6f206d756368206d696e747320666f7220746869732077616c6c65742100604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561309157600080fd5b5051919050565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6000602082840312156130fd57600080fd5b81516001600160401b0381111561311357600080fd5b8201601f8101841361312457600080fd5b8051613132612ea182612e0c565b81815285602083850101111561314757600080fd5b6123e0826020830160208601612a51565b6001600160801b0382811682821603908082111561317857613178612f7a565b5092915050565b6001600160801b0381811683821601908082111561317857613178612f7a565b6000816131ae576131ae612f7a565b506000190190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906131e990830184612a75565b9695505050505050565b60006020828403121561320557600080fd5b8151612a4a81612a17565b634e487b7160e01b600052602160045260246000fdfea2646970667358221220fc2a4932bc655421c5ef2f2c48127b1cc27679e0f46b57b793ad446332d4834e64736f6c63430008110033

Deployed Bytecode

0x6080604052600436106102935760003560e01c80636bd61cb11161015a578063b37c9606116100c1578063cd66b2221161007a578063cd66b2221461079a578063d3d72d2a146107ba578063d7224ba0146107df578063e985e9c5146107f5578063f2fde38b1461083e578063f516a2e61461085e57600080fd5b8063b37c9606146106d7578063b88d4fde146106f7578063ba060bed14610717578063c771909c14610744578063c7f8d01a14610764578063c87b56dd1461077a57600080fd5b80638a41212d116101135780638a41212d146106115780638da5cb5b1461063e57806395d89b411461065c5780639b102ca014610671578063a22cb465146106a1578063af421ce0146106c157600080fd5b80636bd61cb1146105735780636c327f07146105865780636dd47e40146105a657806370a08231146105bc578063715018a6146105dc578063813956e0146105f157600080fd5b80634067bda6116101fe57806362f7f825116101b757806362f7f825146104be5780636352211e146104de578063662bb8f4146104fe578063672434821461051e5780636916578e1461053e5780636b899f851461055357600080fd5b80634067bda61461042257806342842e0e146104355780634d06c1b6146104555780634f6ccce7146104685780635752a64614610488578063609ad9181461049e57600080fd5b80632735897e116102505780632735897e146103885780632f745c59146103a857806332cb6b0c146103c85780633b80b7d3146103de5780633ccfd60b146103f35780633fa57f001461040857600080fd5b806301ffc9a71461029857806306fdde03146102cd578063081812fc146102ef578063095ea7b31461032757806318160ddd1461034957806323b872dd14610368575b600080fd5b3480156102a457600080fd5b506102b86102b3366004612a2d565b610874565b60405190151581526020015b60405180910390f35b3480156102d957600080fd5b506102e26108e1565b6040516102c49190612aa1565b3480156102fb57600080fd5b5061030f61030a366004612ab4565b610973565b6040516001600160a01b0390911681526020016102c4565b34801561033357600080fd5b50610347610342366004612ae9565b610a03565b005b34801561035557600080fd5b506000545b6040519081526020016102c4565b34801561037457600080fd5b50610347610383366004612b13565b610b1a565b34801561039457600080fd5b5061030f6103a3366004612ab4565b610b25565b3480156103b457600080fd5b5061035a6103c3366004612ae9565b610b4f565b3480156103d457600080fd5b5061035a61138881565b3480156103ea57600080fd5b506102b8610cba565b3480156103ff57600080fd5b50610347610ce4565b34801561041457600080fd5b506013546102b89060ff1681565b610347610430366004612b90565b610f50565b34801561044157600080fd5b50610347610450366004612b13565b611125565b610347610463366004612ab4565b611140565b34801561047457600080fd5b5061035a610483366004612ab4565b611278565b34801561049457600080fd5b5061035a60105481565b3480156104aa57600080fd5b506103476104b9366004612c1f565b6112da565b3480156104ca57600080fd5b506102b86104d9366004612c60565b61135a565b3480156104ea57600080fd5b5061030f6104f9366004612ab4565b61141e565b34801561050a57600080fd5b5061035a610519366004612c60565b611430565b34801561052a57600080fd5b50610347610539366004612c7b565b61148f565b34801561054a57600080fd5b50610347611503565b34801561055f57600080fd5b5061034761056e366004612ce6565b611519565b610347610581366004612ab4565b611567565b34801561059257600080fd5b506103476105a1366004612d22565b6115d6565b3480156105b257600080fd5b5061035a600b5481565b3480156105c857600080fd5b5061035a6105d7366004612c60565b61163c565b3480156105e857600080fd5b506103476116cd565b3480156105fd57600080fd5b5061034761060c366004612d81565b6116df565b34801561061d57600080fd5b5061035a61062c366004612ab4565b60116020526000908152604090205481565b34801561064a57600080fd5b506008546001600160a01b031661030f565b34801561066857600080fd5b506102e26116fa565b34801561067d57600080fd5b506102b861068c366004612c60565b600d6020526000908152604090205460ff1681565b3480156106ad57600080fd5b506103476106bc366004612d9c565b611709565b3480156106cd57600080fd5b5061035a600a5481565b3480156106e357600080fd5b5061035a6106f2366004612ab4565b6117cd565b34801561070357600080fd5b50610347610712366004612e33565b61190e565b34801561072357600080fd5b5061035a610732366004612c60565b600e6020526000908152604090205481565b34801561075057600080fd5b50600f5461030f906001600160a01b031681565b34801561077057600080fd5b5061035a60095481565b34801561078657600080fd5b506102e2610795366004612ab4565b611941565b3480156107a657600080fd5b506102b86107b5366004612edd565b611a98565b3480156107c657600080fd5b5060135461030f9061010090046001600160a01b031681565b3480156107eb57600080fd5b5061035a60075481565b34801561080157600080fd5b506102b8610810366004612f16565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561084a57600080fd5b50610347610859366004612c60565b611ace565b34801561086a57600080fd5b5061035a600c5481565b60006001600160e01b031982166380ac58cd60e01b14806108a557506001600160e01b03198216635b5e139f60e01b145b806108c057506001600160e01b0319821663780e9d6360e01b145b806108db57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600180546108f090612f40565b80601f016020809104026020016040519081016040528092919081815260200182805461091c90612f40565b80156109695780601f1061093e57610100808354040283529160200191610969565b820191906000526020600020905b81548152906001019060200180831161094c57829003601f168201915b5050505050905090565b6000610980826000541190565b6109e75760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b6000610a0e8261141e565b9050806001600160a01b0316836001600160a01b031603610a7c5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b60648201526084016109de565b336001600160a01b0382161480610a985750610a988133610810565b610b0a5760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000000060648201526084016109de565b610b15838383611b44565b505050565b610b15838383611ba0565b60128181548110610b3557600080fd5b6000918252602090912001546001600160a01b0316905081565b6000610b5a8361163c565b8210610bb35760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016109de565b600080549080805b83811015610c5a576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215610c0d57805192505b876001600160a01b0316836001600160a01b031603610c4757868403610c39575093506108db92505050565b83610c4381612f90565b9450505b5080610c5281612f90565b915050610bbb565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b60648201526084016109de565b60135460009060ff1680610cd657506801000000000000000044115b80610cdf575044155b905090565b4773fee836516a3fc5f053f35964a2bed9af65da81596108fc6064610d0a846005612fa9565b610d149190612fc0565b6040518115909202916000818181858888f19350505050158015610d3c573d6000803e3d6000fd5b5073a12eeeaad1d13f0938febd6a1b0e8b10ab31dbd66108fc6064610d6284603d612fa9565b610d6c9190612fc0565b6040518115909202916000818181858888f19350505050158015610d94573d6000803e3d6000fd5b5073853b28a4a0cfc0dbaf5349824063eb5db54775c16108fc6064610dba846005612fa9565b610dc49190612fc0565b6040518115909202916000818181858888f19350505050158015610dec573d6000803e3d6000fd5b5073612dbbe0f90373ec00cabaeed679122af9c559be6108fc6064610e12846008612fa9565b610e1c9190612fc0565b6040518115909202916000818181858888f19350505050158015610e44573d6000803e3d6000fd5b50739db13b06345c1bf5684f02aa2022103e11b3a7026108fc6064610e6a846008612fa9565b610e749190612fc0565b6040518115909202916000818181858888f19350505050158015610e9c573d6000803e3d6000fd5b507311cafe39a4d956c0c9ed0ee780e83a82458859176108fc6064610ec2846008612fa9565b610ecc9190612fc0565b6040518115909202916000818181858888f19350505050158015610ef4573d6000803e3d6000fd5b5073efa6f0951e1f8df2f8ebf2d879ac6a137688fe4b6108fc6064610f1a846005612fa9565b610f249190612fc0565b6040518115909202916000818181858888f19350505050158015610f4c573d6000803e3d6000fd5b5050565b610f58610cba565b610f745760405162461bcd60e51b81526004016109de90612fe2565b610f7f338383611a98565b610fcb5760405162461bcd60e51b815260206004820152601d60248201527f6d73672e73656e646572206973206e6f742077686974656c697374656400000060448201526064016109de565b610fd43361135a565b61101b5760405162461bcd60e51b815260206004820152601860248201527736b9b39739b2b73232b91034b9903737ba102427a22632b960411b60448201526064016109de565b336000908152600d602052604081205460ff166110425761103d60018561300c565b611044565b835b336000908152600d60209081526040808320805460ff19166001179055600c54600e909252909120549192509061107c90869061301f565b111561109a5760405162461bcd60e51b81526004016109de90613032565b34600954826110a99190612fa9565b146110e85760405162461bcd60e51b815260206004820152600f60248201526e57726f6e67206d73672e76616c756560881b60448201526064016109de565b6110f0611f26565b336000908152600e60205260408120805486929061110f90849061301f565b9091555061111f90503385611f41565b50505050565b610b158383836040518060200160405280600081525061190e565b611148610cba565b6111645760405162461bcd60e51b81526004016109de90612fe2565b61116d3361135a565b6111b45760405162461bcd60e51b815260206004820152601860248201527736b9b39739b2b73232b91034b9903737ba102427a22632b960411b60448201526064016109de565b600c54336000908152600e60205260409020546111d290839061301f565b11156111f05760405162461bcd60e51b81526004016109de90613032565b34600a54826111ff9190612fa9565b1461123e5760405162461bcd60e51b815260206004820152600f60248201526e57726f6e67206d73672e76616c756560881b60448201526064016109de565b611246611f26565b336000908152600e60205260408120805483929061126590849061301f565b9091555061127590503382611f41565b50565b6000805482106112d65760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b60648201526084016109de565b5090565b6112e2611fc8565b60005b81811015610b1557601283838381811061130157611301613069565b90506020020160208101906113169190612c60565b81546001810183556000928352602090922090910180546001600160a01b0319166001600160a01b039092169190911790558061135281612f90565b9150506112e5565b6000805b6012548110156114155760006012828154811061137d5761137d613069565b6000918252602090912001546040516370a0823160e01b81526001600160a01b038681166004830152909116906370a0823190602401602060405180830381865afa1580156113d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f4919061307f565b11156114035750600192915050565b8061140d81612f90565b91505061135e565b50600092915050565b600061142982612022565b5192915050565b600061143d60014361300c565b4061144760005490565b604080516020810193909352820152606083811b6bffffffffffffffffffffffff19169082015260740160408051601f19818403018152919052805160209091012092915050565b611497611fc8565b60005b838110156114fc576114ea8585838181106114b7576114b7613069565b90506020020160208101906114cc9190612c60565b8484848181106114de576114de613069565b90506020020135611f41565b806114f481612f90565b91505061149a565b5050505050565b61150b611fc8565b611517601260006129e9565b565b611521611fc8565b806012838154811061153557611535613069565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505050565b61156f610cba565b61158b5760405162461bcd60e51b81526004016109de90612fe2565b600c54336000908152600e60205260409020546115a990839061301f565b11156115c75760405162461bcd60e51b81526004016109de90613032565b34600b54826111ff9190612fa9565b6115de611fc8565b600995909555600a93909355600b91909155600f80546001600160a01b0319166001600160a01b03928316179055601380546001600160a81b031916921515610100600160a81b031916929092176101009190931602919091179055565b60006001600160a01b0382166116a85760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084016109de565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6116d5611fc8565b61151760006121cb565b6116e7611fc8565b6013805460ff1916911515919091179055565b6060600280546108f090612f40565b336001600160a01b038316036117615760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c657200000000000060448201526064016109de565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60006010546000036118215760405162461bcd60e51b815260206004820152601a60248201527f436f6c6c656374696f6e2073656564206973206e6f742073657400000000000060448201526064016109de565b60005b7f00000000000000000000000000000000000000000000000000000000000000148110156118c557600060118161185b848761300c565b8152602001908152602001600020549050806000146118b25760105460408051602081019290925281018290526060810183905260800160408051601f198184030181529190528051602090910120949350505050565b50806118bd81612f90565b915050611824565b5060405162461bcd60e51b815260206004820152601760248201527f756e726561636861626c6520636f6465204920686f706500000000000000000060448201526064016109de565b611919848484611ba0565b6119258484848461221d565b61111f5760405162461bcd60e51b81526004016109de90613098565b606061194e826000541190565b6119b25760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109de565b60135461010090046001600160a01b0316611a0f5760405162461bcd60e51b815260206004820152601c60248201527f4d657461646174612050726f7669646572206973206e6f74207365740000000060448201526064016109de565b60135461010090046001600160a01b031663ef2a914183611a2f816117cd565b6040516001600160e01b031960e085901b16815260048101929092526024820152604401600060405180830381865afa158015611a70573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108db91908101906130eb565b60008115801590611ac65750600f546001600160a01b0316611abb85858561231e565b6001600160a01b0316145b949350505050565b611ad6611fc8565b6001600160a01b038116611b3b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109de565b611275816121cb565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611bab82612022565b80519091506000906001600160a01b0316336001600160a01b03161480611be2575033611bd784610973565b6001600160a01b0316145b80611bf457508151611bf49033610810565b905080611c5e5760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b60648201526084016109de565b846001600160a01b031682600001516001600160a01b031614611cd25760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b60648201526084016109de565b6001600160a01b038416611d365760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016109de565b611d466000848460000151611b44565b6001600160a01b0385166000908152600460205260408120805460019290611d789084906001600160801b0316613158565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b03861660009081526004602052604081208054600194509092611dc49185911661317f565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380871682526001600160401b03428116602080850191825260008981526003909152948520935184549151909216600160a01b026001600160e01b03199091169190921617179055611e4b84600161301f565b6000818152600360205260409020549091506001600160a01b0316611edc57611e75816000541190565b15611edc5760408051808201825284516001600160a01b0390811682526020808701516001600160401b039081168285019081526000878152600390935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b60105460000361151757611f3b60014361300c565b40601055565b61138881611f4e60005490565b611f58919061301f565b1115611f975760405162461bcd60e51b815260206004820152600e60248201526d4f7574206f6620746f6b656e732160901b60448201526064016109de565b611fa082611430565b60116000611fad60005490565b8152602081019190915260400160002055610f4c82826123e9565b6008546001600160a01b031633146115175760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109de565b6040805180820190915260008082526020820152612041826000541190565b6120a05760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b60648201526084016109de565b60007f00000000000000000000000000000000000000000000000000000000000000148310612101576120f37f00000000000000000000000000000000000000000000000000000000000000148461300c565b6120fe90600161301f565b90505b825b81811061216a576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b0316918301919091521561215757949350505050565b50806121628161319f565b915050612103565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b60648201526084016109de565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b1561231357604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906122619033908990889088906004016131b6565b6020604051808303816000875af192505050801561229c575060408051601f3d908101601f19168201909252612299918101906131f3565b60015b6122f9573d8080156122ca576040519150601f19603f3d011682016040523d82523d6000602084013e6122cf565b606091505b5080516000036122f15760405162461bcd60e51b81526004016109de90613098565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611ac6565b506001949350505050565b604080516bffffffffffffffffffffffff19606086901b16602080830191909152825180830360140181526034830184528051908201207f19457468657265756d205369676e6564204d6573736167653a0a333200000000605484015260708084019190915283518084039091018152609090920190925280519101206000906123e084848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525085939250506124039050565b95945050505050565b610f4c828260405180602001604052806000815250612427565b60008060006124128585612701565b9150915061241f81612746565b509392505050565b6000546001600160a01b03841661248a5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016109de565b612495816000541190565b156124e25760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e74656400000060448201526064016109de565b7f000000000000000000000000000000000000000000000000000000000000001483111561255d5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b60648201526084016109de565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b90910416918101919091528151808301909252805190919081906125b990879061317f565b6001600160801b031681526020018583602001516125d7919061317f565b6001600160801b039081169091526001600160a01b0380881660008181526004602090815260408083208751978301518716600160801b029790961696909617909455845180860186529182526001600160401b034281168386019081528883526003909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b858110156126f65760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46126ba600088848861221d565b6126d65760405162461bcd60e51b81526004016109de90613098565b816126e081612f90565b92505080806126ee90612f90565b91505061266d565b506000819055611f1e565b60008082516041036127375760208301516040840151606085015160001a61272b878285856128fc565b9450945050505061273f565b506000905060025b9250929050565b600081600481111561275a5761275a613210565b036127625750565b600181600481111561277657612776613210565b036127c35760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016109de565b60028160048111156127d7576127d7613210565b036128245760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016109de565b600381600481111561283857612838613210565b036128905760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016109de565b60048160048111156128a4576128a4613210565b036112755760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016109de565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561293357506000905060036129e0565b8460ff16601b1415801561294b57508460ff16601c14155b1561295c57506000905060046129e0565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156129b0573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166129d9576000600192509250506129e0565b9150600090505b94509492505050565b508054600082559060005260206000209081019061127591905b808211156112d65760008155600101612a03565b6001600160e01b03198116811461127557600080fd5b600060208284031215612a3f57600080fd5b8135612a4a81612a17565b9392505050565b60005b83811015612a6c578181015183820152602001612a54565b50506000910152565b60008151808452612a8d816020860160208601612a51565b601f01601f19169290920160200192915050565b602081526000612a4a6020830184612a75565b600060208284031215612ac657600080fd5b5035919050565b80356001600160a01b0381168114612ae457600080fd5b919050565b60008060408385031215612afc57600080fd5b612b0583612acd565b946020939093013593505050565b600080600060608486031215612b2857600080fd5b612b3184612acd565b9250612b3f60208501612acd565b9150604084013590509250925092565b60008083601f840112612b6157600080fd5b5081356001600160401b03811115612b7857600080fd5b60208301915083602082850101111561273f57600080fd5b600080600060408486031215612ba557600080fd5b8335925060208401356001600160401b03811115612bc257600080fd5b612bce86828701612b4f565b9497909650939450505050565b60008083601f840112612bed57600080fd5b5081356001600160401b03811115612c0457600080fd5b6020830191508360208260051b850101111561273f57600080fd5b60008060208385031215612c3257600080fd5b82356001600160401b03811115612c4857600080fd5b612c5485828601612bdb565b90969095509350505050565b600060208284031215612c7257600080fd5b612a4a82612acd565b60008060008060408587031215612c9157600080fd5b84356001600160401b0380821115612ca857600080fd5b612cb488838901612bdb565b90965094506020870135915080821115612ccd57600080fd5b50612cda87828801612bdb565b95989497509550505050565b60008060408385031215612cf957600080fd5b82359150612d0960208401612acd565b90509250929050565b80358015158114612ae457600080fd5b60008060008060008060c08789031215612d3b57600080fd5b863595506020870135945060408701359350612d5960608801612acd565b9250612d6760808801612d12565b9150612d7560a08801612acd565b90509295509295509295565b600060208284031215612d9357600080fd5b612a4a82612d12565b60008060408385031215612daf57600080fd5b612db883612acd565b9150612d0960208401612d12565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612e0457612e04612dc6565b604052919050565b60006001600160401b03821115612e2557612e25612dc6565b50601f01601f191660200190565b60008060008060808587031215612e4957600080fd5b612e5285612acd565b9350612e6060208601612acd565b92506040850135915060608501356001600160401b03811115612e8257600080fd5b8501601f81018713612e9357600080fd5b8035612ea6612ea182612e0c565b612ddc565b818152886020838501011115612ebb57600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b600080600060408486031215612ef257600080fd5b612efb84612acd565b925060208401356001600160401b03811115612bc257600080fd5b60008060408385031215612f2957600080fd5b612f3283612acd565b9150612d0960208401612acd565b600181811c90821680612f5457607f821691505b602082108103612f7457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600060018201612fa257612fa2612f7a565b5060010190565b80820281158282048414176108db576108db612f7a565b600082612fdd57634e487b7160e01b600052601260045260246000fd5b500490565b60208082526010908201526f26b4b73a1034b9903737ba1037b832b760811b604082015260600190565b818103818111156108db576108db612f7a565b808201808211156108db576108db612f7a565b6020808252601f908201527f546f6f206d756368206d696e747320666f7220746869732077616c6c65742100604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561309157600080fd5b5051919050565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6000602082840312156130fd57600080fd5b81516001600160401b0381111561311357600080fd5b8201601f8101841361312457600080fd5b8051613132612ea182612e0c565b81815285602083850101111561314757600080fd5b6123e0826020830160208601612a51565b6001600160801b0382811682821603908082111561317857613178612f7a565b5092915050565b6001600160801b0381811683821601908082111561317857613178612f7a565b6000816131ae576131ae612f7a565b506000190190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906131e990830184612a75565b9695505050505050565b60006020828403121561320557600080fd5b8151612a4a81612a17565b634e487b7160e01b600052602160045260246000fdfea2646970667358221220fc2a4932bc655421c5ef2f2c48127b1cc27679e0f46b57b793ad446332d4834e64736f6c63430008110033

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

**The first onchain PFP on POS**POSers are the first onchain PFP collection minted since the Ethereum Network transitioned from Proof of Work to Proof of Stake.[Medium article](https://medium.com/@poserscollection/posers-dfc4e8db50f2)POSers are 5000 fancy dudes living on...

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.