ETH Price: $2,503.12 (+3.57%)
Gas: 11.8 Gwei

Token

GodsOfEgypt (GOE)
 

Overview

Max Total Supply

432 GOE

Holders

92

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 GOE
0xd335b7e4e452c0b1ea3ad11a21d749975506c37e
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
GodsOfEgypt

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 18 : GodsOfEgypt.sol
// SPDX-License-Identifier: MIT
/*
 β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
β–ˆβ–ˆβ•”β•β•β•β•β• β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•β•β•
β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•
β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
 β•šβ•β•β•β•β•β•  β•šβ•β•β•β•β•β• β•šβ•β•β•β•β•β•β•
Contract by Novem - https://novem.dev
*/
pragma solidity >=0.8.9 <0.9.0;

import "./ERC721A.sol";
import "./ERC2981ContractWideRoyalties.sol";
import "./VRFv2Consumer.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract GodsOfEgypt is ERC721A, VRFv2Consumer, ERC2981ContractWideRoyalties {
    using Strings for uint256;

    string public baseURI = "ipfs://QmeLUkyYKK4GmbpEPECdgMx2UF9xG4epx8hFVAmFtPGcA6?";
    string public uriSuffix = ".json";
    bool public saleActive = false;

    bool public noblelistSaleActive = false;  // Sale Type 0
    bool public preSaleActive = false;        // Sale Type 1

    bool public contractSealed = false;

    // Special Price and supply
    uint256 constant public NOBLELIST_PRICE = 0.042 ether;
    uint256 constant public NOBLELIST_MAX_SUPPLY = 1000;
    uint256 constant public PRE_PRICE = 0.049 ether;
    uint256 constant public PRE_MAX_SUPPLY = 2000;

    // Overall price and supply
    uint256 constant public TOKEN_PRICE = 0.052 ether;
    uint256 public TOKEN_MAX_SUPPLY = 7532;

    // EIP 2981 Standard Implementation
    address constant public ROYALTY_RECIPIENT = 0xb4eaa204aEbd7005a88dbe46Cf7A96C54ad56FB1;
    address constant public DEV_TEAM = 0x2bdB46441007C395bcC5B97df3941FDfb9d5D78D; // Novem Wallet Address
    uint256 constant public ROYALTY_PERCENTAGE = 500;

    // Protection
    mapping (address => uint256) nlAmountMinted;
    mapping (address => uint256) preAmountMinted;
    mapping (address => uint256) amountMinted;
    uint256 public mintLimit = 5;

    mapping (uint256 => string) gods;

    address private _adminSigner = 0xA39A33AD9CD3f55f227aB0567b6CB9ad4b8e37EF;

    struct Coupon {
		bytes32 r;
		bytes32 s;
		uint8 v;
	}

    constructor (uint64 subscriptionId, address vrfCoordinator, bytes32 m_keyHash)
        ERC721A("GodsOfEgypt", "GOE")
        VRFv2Consumer(subscriptionId, vrfCoordinator, m_keyHash)
    {
        _setRoyalties(ROYALTY_RECIPIENT, ROYALTY_PERCENTAGE);
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), 'ERC721Metadata: URI query for nonexistent token');
        if (bytes(gods[tokenId]).length > 0) {
            return gods[tokenId];
        }
        string memory bURI = _baseURI();
        return bytes(bURI).length > 0 ? string(abi.encodePacked(bURI, tokenId.toString(), uriSuffix)) : '';
    }

    function updateMetadata(uint256 tokenId, string memory newUri) public onlyOwner {
        require(_exists(tokenId), 'ERC721Metadata: URI query for nonexistent token');
        gods[tokenId] = newUri;
    }

    function activateSale(uint24 mintLimit_, bool active, bool nlSale, bool preSale) public onlyOwner {
        mintLimit = mintLimit_;
        saleActive = active;
        noblelistSaleActive = nlSale;
        preSaleActive = preSale;
    }

    // Efficient and easy way to seal contract to avoid any future modification of baseUri
    function sealContract() public onlyOwner {
        require(!contractSealed, "Contract has been already sealed");
        contractSealed = true;
    }

    function setAdminSigner(address adminSigner) public onlyOwner {
        require(!contractSealed, "Contract has been already sealed");
        _adminSigner = adminSigner;
    }

    // Mint
    function mint(uint256 quantity, Coupon memory coupon) public payable {
        require(tx.origin == msg.sender, "The caller is another contract");
        require(saleActive, "The sale is not active");
        uint256 tokenPrice = TOKEN_PRICE;

        if (noblelistSaleActive) {
            require(totalSupply() + quantity <= NOBLELIST_MAX_SUPPLY, "Not enough Artifacts left");
            require(nlAmountMinted[msg.sender] + quantity <= mintLimit, "You can't mint more than that for now");
            tokenPrice = NOBLELIST_PRICE;
        } else if(preSaleActive) {
            require(totalSupply() + quantity <= PRE_MAX_SUPPLY + NOBLELIST_MAX_SUPPLY, "Not enough Artifacts left");
            require(preAmountMinted[msg.sender] + quantity <= mintLimit, "You can't mint more than that for now");
            tokenPrice = PRE_PRICE;
        } else {
            require(amountMinted[msg.sender] + quantity <= mintLimit, "You can't mint more than that for now");
        }
        require(totalSupply() + quantity <= TOKEN_MAX_SUPPLY, "Not enough Artifacts left");

        uint256 couponType = noblelistSaleActive ? 0 : (preSaleActive ? 1 : 2);

        if(couponType != 2){
            bytes32 digest = keccak256(abi.encode(couponType, msg.sender));
            require(_isVerifiedCoupon(digest, coupon), 'Invalid coupon');
        }

        require(msg.value >= tokenPrice * quantity, "Wrong price");

        // Increment protection variable to make sure minter never goes over the set limit
        if (noblelistSaleActive) {
            nlAmountMinted[msg.sender] += quantity;
        } else if(preSaleActive) {
            preAmountMinted[msg.sender] += quantity;
        } else {
            amountMinted[msg.sender] += quantity;
        }
        _safeMint(msg.sender, quantity); // Minting of the token(s)
    }

    // Airdrop
    function airdrop(address[] memory receivers, uint256 quantity) public onlyOwner {
        require(totalSupply() + (quantity*receivers.length) <= TOKEN_MAX_SUPPLY, "Not enough Artifacts left");
        for (uint256 i = 0; i < receivers.length; i++) {
            _safeMint(receivers[i], quantity);
        }
    }

    // Withdraw funds from the contract
    function withdrawFunds() public onlyOwner {
        uint256 balance = address(this).balance;
        payable(0x1BEAe2eF143f7f974eb734b9e8369781Db08F0CC).transfer(balance*21/100);
        payable(0x6503183167cCAb9cebA25109d2f7776206e83A46).transfer(balance*1/100);
        payable(0xC622f4b3aE6677276bB3bbe373AD8b1843D4439b).transfer(balance*1/100);
        payable(0xD8faF502EBe2FE783710b1781782c14f566050df).transfer(balance*1/100);
        payable(0x29cb02180D8d689918cE2c50A3357798d6Fd9283).transfer(balance*1/100);
        payable(0xCabB179ca4f9360e4761121A2363a3AF5587B1aA).transfer(balance*1/100);
        payable(0xB2d49f053269904ca13459Cb6Bb3555a3206fe75).transfer(balance*1/100);
        payable(0xB49395Ecf078207e64ee53C045D454051a9237b7).transfer(balance*1/100);
        payable(0x7376981831c171be0e3dCdDd423D46cf0B5aF917).transfer(balance*1/100);
        payable(0xF813013666Ee8f123Bb821fb36aCb27eb7b4eC9F).transfer(balance*3/200);
        payable(0x9EFC6C6243965FE6288d3712b9c595855B1D6EE6).transfer(balance*21/100);
        payable(0xeC7100ABDbCf922f975148C6516BC95696cA0eF6).transfer(balance*1/100);
        payable(0xc1A99F382dD0c6F3A6fcf80dFaF4Da929dBE7DED).transfer(balance*3/200);
        payable(0xb3CBc74EFcf9E478cddb26630db76f7349407d5A).transfer(balance*5/100);
        payable(0xf69f1CB31792c8B481f5AA4f124546FBD33c2F44).transfer(balance*1/100);
        payable(0x4BCfc5fD38Bb19d137eBE9D1119246C997b5877F).transfer(balance*1/100);
        payable(0x421470C15Bd386b3d75648682c19Bb968C1B3B56).transfer(balance*1/100);
        payable(0xCC660f21E4263dF1c36453F8853077188CbE5062).transfer(balance*1/100);
        payable(0x145C926cF21E89802A377590bE227bFdEBCCdDE9).transfer(balance*1/100);
        payable(0x355148B29aE2F861958D9525949cBcB639573387).transfer(balance*2/100);
        payable(0x05508d3A925Aa08CAC18f8Da1b0934A712870901).transfer(balance*1/100);
        payable(0x5050Abb6cB8D5000Aad66f5754168B578583dd45).transfer(balance*1/100);
        payable(0xD1b5678adB084817807FEFB58B829deeC536229b).transfer(balance*1/100);
        payable(DEV_TEAM).transfer(balance*5/100);
        payable(0xc9f2697736BDf75Feb8A2f77905C0Ef273a102b0).transfer(balance*1/100);
        payable(0x3bAE9D1a0D5CeB9Df403DD6F0c088ca086C49A01).transfer(balance*4/100);
        payable(0x8f973f7bAE949Eb900233299FF6A5F2a09ef5168).transfer(balance*21/100);
    }

    function getOwnershipData(uint256 tokenId) external view returns (TokenOwnership memory) {
        return ownershipOf(tokenId);
    }

    // EIP 2981 Standard Implementation
    function setRoyalties(address recipient, uint256 value) public onlyOwner {
        _setRoyalties(recipient, value);
    }

    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A, ERC2981Base) returns (bool) {
        return super.supportsInterface(interfaceId);
    }

    function _isVerifiedCoupon(bytes32 digest, Coupon memory coupon) internal view returns (bool)
    {
        address signer = ecrecover(digest, coupon.v, coupon.r, coupon.s);
        require(signer != address(0), 'ECDSA: invalid signature');
        return signer == _adminSigner;
    }

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

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

File 2 of 18 : 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..).
 *
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using Address for address;
    using Strings for uint256;

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

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variables (e.g. number preSale minted). 
        // Please pack into 64 bits.
        uint64 aux;
    }

    uint256 internal currentIndex = 0;

    uint256 internal totalBurned = 0;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

    /**
     * @dev Skips the zero index.
     * This method must be called before any mints (e.g. in the consturctor).
     */
    function _initOneIndexed() internal {
        require(!_exists(0), "ERC721A: 0 index already occupied.");
        currentIndex = 1;
        totalBurned = 1;
        _ownerships[0].burned = true;
    }

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     * 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 tokenByIndex(uint256 index) public view override returns (uint256) {
        uint256 numMintedSoFar = currentIndex;
        uint256 tokenIdsIdx = 0;
        for (uint256 i = 0; i < numMintedSoFar; i++) {
            TokenOwnership memory ownership = _ownerships[i];
            if (!ownership.burned) {
                if (tokenIdsIdx == index) {
                    return i;
                }
                tokenIdsIdx++;
            }
        }
        require(false, 'ERC721A: global index out of bounds');
        return 0;
    }

    /**
     * @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 = currentIndex;
        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 (ownership.burned) {
                currOwnershipAddr = address(0);
            }
            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 _numberBurned(address owner) internal view returns (uint256) {
        require(owner != address(0), 'ERC721A: number burned query for the zero address');
        return uint256(_addressData[owner].numberBurned);
    }

    function _getAux(address owner) internal view returns (uint64) {
        require(owner != address(0), 'ERC721A: aux query for the zero address');
        return _addressData[owner].aux;
    }

    function _setAux(address owner, uint64 aux) internal {
        require(owner != address(0), 'ERC721A: aux query for the zero address');
        _addressData[owner].aux = aux;
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        require(_exists(tokenId), 'ERC721A: owner query for nonexistent token');

        for (uint256 curr = tokenId; ; curr--) {
            TokenOwnership memory ownership = _ownerships[curr];
            if (ownership.addr != address(0) && !ownership.burned) {
                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 virtual override {
        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        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 && !_ownerships[tokenId].burned;
    }

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

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

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = currentIndex;
        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 > 0, 'ERC721A: quantity must be greater than 0');

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

        _addressData[to].balance += uint64(quantity);
        _addressData[to].numberMinted += uint64(quantity);

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

        uint256 updatedIndex = startTokenId;

        for (uint256 i = 0; i < quantity; i++) {
            emit Transfer(address(0), to, updatedIndex);
            if (safe) {
                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);

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;
        }

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

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

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

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

        _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        unchecked {
            _addressData[prevOwnership.addr].balance -= 1;
            _addressData[prevOwnership.addr].numberBurned += 1;
        }

        // Keep track of who burnt the token, and when is it burned.
        _ownerships[tokenId].addr = prevOwnership.addr;
        _ownerships[tokenId].startTimestamp = uint64(block.timestamp);
        _ownerships[tokenId].burned = true; 

        // 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].addr = prevOwnership.addr;
                _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
            }
        }

        emit Transfer(prevOwnership.addr, address(0), tokenId);
        _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

        totalBurned++;
    }

    /**
     * @dev Burns `tokenId`. See {ERC721A-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

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

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

        _burn(tokenId);
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 18 : ERC2981ContractWideRoyalties.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

import './ERC2981Base.sol';

/// @dev This is a contract used to add ERC2981 support to ERC721 and 1155
/// @dev This implementation has the same royalties for each and every tokens
abstract contract ERC2981ContractWideRoyalties is ERC2981Base {
    RoyaltyInfo private _royalties;

    /// @dev Sets token royalties
    /// @param recipient recipient of the royalties
    /// @param value percentage (using 2 decimals - 10000 = 100, 0 = 0)
    function _setRoyalties(address recipient, uint256 value) internal {
        require(value <= 10000, 'ERC2981Royalties: Too high');
        _royalties = RoyaltyInfo(recipient, uint24(value));
    }

    /// @inheritdoc    IERC2981Royalties
    function royaltyInfo(uint256, uint256 value)
    external
    view
    override
    returns (address receiver, uint256 royaltyAmount)
    {
        RoyaltyInfo memory royalties = _royalties;
        receiver = royalties.recipient;
        royaltyAmount = (value * royalties.amount) / 10000;
    }
}

File 4 of 18 : VRFv2Consumer.sol
// SPDX-License-Identifier: MIT
// An example of a consumer contract that relies on a subscription for funding.
pragma solidity ^0.8.7;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@chainlink/contracts/src/v0.8/interfaces/VRFCoordinatorV2Interface.sol";
import "@chainlink/contracts/src/v0.8/VRFConsumerBaseV2.sol";

contract VRFv2Consumer is VRFConsumerBaseV2, Ownable {
    VRFCoordinatorV2Interface COORDINATOR;

    // Your subscription ID.
    uint64 s_subscriptionId;

    // Rinkeby coordinator. For other networks,
    // see https://docs.chain.link/docs/vrf-contracts/#configurations

    // The gas lane to use, which specifies the maximum gas price to bump to.
    // For a list of available gas lanes on each network,
    // see https://docs.chain.link/docs/vrf-contracts/#configurations
    bytes32 keyHash = 0xd89b2bf150e3b9e13446986e571fb9cab24b13cea0a43ea20a6049a85cc807cc;

    // Depends on the number of requested values that you want sent to the
    // fulfillRandomWords() function. Storing each word costs about 20,000 gas,
    // so 100,000 is a safe default for this example contract. Test and adjust
    // this limit based on the network that you select, the size of the request,
    // and the processing of the callback request in the fulfillRandomWords()
    // function.
    uint32 callbackGasLimit = 100000;

    // The default is 3, but you can set this higher.
    uint16 requestConfirmations = 3;

    // For this example, retrieve 2 random values in one request.
    uint32 numWords =  1;

    uint256 max = 0;

    uint256 public winner;
    uint256 public s_requestId;
    address s_owner;

    constructor(uint64 subscriptionId, address vrfCoordinator, bytes32 m_keyHash) VRFConsumerBaseV2(vrfCoordinator) {
        COORDINATOR = VRFCoordinatorV2Interface(vrfCoordinator);
        s_owner = msg.sender;
        s_subscriptionId = subscriptionId;
        keyHash = m_keyHash;
    }

    // Assumes the subscription is funded sufficiently.
    function requestRandomWords(uint256 _max) external onlyOwner {
        // Will revert if subscription is not set and funded.
        max = _max;
        s_requestId = COORDINATOR.requestRandomWords(
            keyHash,
            s_subscriptionId,
            requestConfirmations,
            callbackGasLimit,
            numWords
        );
    }

    function fulfillRandomWords(
        uint256, /* requestId */
        uint256[] memory randomWords
    ) internal override {
        winner = randomWords[0] % max;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 6 of 18 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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 be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

File 7 of 18 : 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 8 of 18 : 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 9 of 18 : 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 10 of 18 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 11 of 18 : 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 12 of 18 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 13 of 18 : 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 14 of 18 : ERC2981Base.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

import './IERC2981Royalties.sol';

/// @dev This is a contract used to add ERC2981 support to ERC721 and 1155
abstract contract ERC2981Base is ERC165, IERC2981Royalties {
    struct RoyaltyInfo {
        address recipient;
        uint24 amount;
    }

    /// @inheritdoc    ERC165
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override
        returns (bool)
    {
        return
            interfaceId == type(IERC2981Royalties).interfaceId ||
            super.supportsInterface(interfaceId);
    }
}

File 15 of 18 : IERC2981Royalties.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

/// @title IERC2981Royalties
/// @dev Interface for the ERC2981 - Token Royalty standard
interface IERC2981Royalties {
    /// @notice Called with the sale price to determine how much royalty
    //          is owed and to whom.
    /// @param _tokenId - the NFT asset queried for royalty information
    /// @param _value - the sale price of the NFT asset specified by _tokenId
    /// @return _receiver - address of who should be sent the royalty payment
    /// @return _royaltyAmount - the royalty payment amount for value sale price
    function royaltyInfo(uint256 _tokenId, uint256 _value)
        external
        view
        returns (address _receiver, uint256 _royaltyAmount);
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 17 of 18 : VRFCoordinatorV2Interface.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface VRFCoordinatorV2Interface {
  /**
   * @notice Get configuration relevant for making requests
   * @return minimumRequestConfirmations global min for request confirmations
   * @return maxGasLimit global max for request gas limit
   * @return s_provingKeyHashes list of registered key hashes
   */
  function getRequestConfig()
    external
    view
    returns (
      uint16,
      uint32,
      bytes32[] memory
    );

  /**
   * @notice Request a set of random words.
   * @param keyHash - Corresponds to a particular oracle job which uses
   * that key for generating the VRF proof. Different keyHash's have different gas price
   * ceilings, so you can select a specific one to bound your maximum per request cost.
   * @param subId  - The ID of the VRF subscription. Must be funded
   * with the minimum subscription balance required for the selected keyHash.
   * @param minimumRequestConfirmations - How many blocks you'd like the
   * oracle to wait before responding to the request. See SECURITY CONSIDERATIONS
   * for why you may want to request more. The acceptable range is
   * [minimumRequestBlockConfirmations, 200].
   * @param callbackGasLimit - How much gas you'd like to receive in your
   * fulfillRandomWords callback. Note that gasleft() inside fulfillRandomWords
   * may be slightly less than this amount because of gas used calling the function
   * (argument decoding etc.), so you may need to request slightly more than you expect
   * to have inside fulfillRandomWords. The acceptable range is
   * [0, maxGasLimit]
   * @param numWords - The number of uint256 random values you'd like to receive
   * in your fulfillRandomWords callback. Note these numbers are expanded in a
   * secure way by the VRFCoordinator from a single random value supplied by the oracle.
   * @return requestId - A unique identifier of the request. Can be used to match
   * a request to a response in fulfillRandomWords.
   */
  function requestRandomWords(
    bytes32 keyHash,
    uint64 subId,
    uint16 minimumRequestConfirmations,
    uint32 callbackGasLimit,
    uint32 numWords
  ) external returns (uint256 requestId);

  /**
   * @notice Create a VRF subscription.
   * @return subId - A unique subscription id.
   * @dev You can manage the consumer set dynamically with addConsumer/removeConsumer.
   * @dev Note to fund the subscription, use transferAndCall. For example
   * @dev  LINKTOKEN.transferAndCall(
   * @dev    address(COORDINATOR),
   * @dev    amount,
   * @dev    abi.encode(subId));
   */
  function createSubscription() external returns (uint64 subId);

  /**
   * @notice Get a VRF subscription.
   * @param subId - ID of the subscription
   * @return balance - LINK balance of the subscription in juels.
   * @return reqCount - number of requests for this subscription, determines fee tier.
   * @return owner - owner of the subscription.
   * @return consumers - list of consumer address which are able to use this subscription.
   */
  function getSubscription(uint64 subId)
    external
    view
    returns (
      uint96 balance,
      uint64 reqCount,
      address owner,
      address[] memory consumers
    );

  /**
   * @notice Request subscription owner transfer.
   * @param subId - ID of the subscription
   * @param newOwner - proposed new owner of the subscription
   */
  function requestSubscriptionOwnerTransfer(uint64 subId, address newOwner) external;

  /**
   * @notice Request subscription owner transfer.
   * @param subId - ID of the subscription
   * @dev will revert if original owner of subId has
   * not requested that msg.sender become the new owner.
   */
  function acceptSubscriptionOwnerTransfer(uint64 subId) external;

  /**
   * @notice Add a consumer to a VRF subscription.
   * @param subId - ID of the subscription
   * @param consumer - New consumer which can use the subscription
   */
  function addConsumer(uint64 subId, address consumer) external;

  /**
   * @notice Remove a consumer from a VRF subscription.
   * @param subId - ID of the subscription
   * @param consumer - Consumer to remove from the subscription
   */
  function removeConsumer(uint64 subId, address consumer) external;

  /**
   * @notice Cancel a subscription
   * @param subId - ID of the subscription
   * @param to - Where to send the remaining LINK to
   */
  function cancelSubscription(uint64 subId, address to) external;
}

File 18 of 18 : VRFConsumerBaseV2.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

/** ****************************************************************************
 * @notice Interface for contracts using VRF randomness
 * *****************************************************************************
 * @dev PURPOSE
 *
 * @dev Reggie the Random Oracle (not his real job) wants to provide randomness
 * @dev to Vera the verifier in such a way that Vera can be sure he's not
 * @dev making his output up to suit himself. Reggie provides Vera a public key
 * @dev to which he knows the secret key. Each time Vera provides a seed to
 * @dev Reggie, he gives back a value which is computed completely
 * @dev deterministically from the seed and the secret key.
 *
 * @dev Reggie provides a proof by which Vera can verify that the output was
 * @dev correctly computed once Reggie tells it to her, but without that proof,
 * @dev the output is indistinguishable to her from a uniform random sample
 * @dev from the output space.
 *
 * @dev The purpose of this contract is to make it easy for unrelated contracts
 * @dev to talk to Vera the verifier about the work Reggie is doing, to provide
 * @dev simple access to a verifiable source of randomness. It ensures 2 things:
 * @dev 1. The fulfillment came from the VRFCoordinator
 * @dev 2. The consumer contract implements fulfillRandomWords.
 * *****************************************************************************
 * @dev USAGE
 *
 * @dev Calling contracts must inherit from VRFConsumerBase, and can
 * @dev initialize VRFConsumerBase's attributes in their constructor as
 * @dev shown:
 *
 * @dev   contract VRFConsumer {
 * @dev     constructor(<other arguments>, address _vrfCoordinator, address _link)
 * @dev       VRFConsumerBase(_vrfCoordinator) public {
 * @dev         <initialization with other arguments goes here>
 * @dev       }
 * @dev   }
 *
 * @dev The oracle will have given you an ID for the VRF keypair they have
 * @dev committed to (let's call it keyHash). Create subscription, fund it
 * @dev and your consumer contract as a consumer of it (see VRFCoordinatorInterface
 * @dev subscription management functions).
 * @dev Call requestRandomWords(keyHash, subId, minimumRequestConfirmations,
 * @dev callbackGasLimit, numWords),
 * @dev see (VRFCoordinatorInterface for a description of the arguments).
 *
 * @dev Once the VRFCoordinator has received and validated the oracle's response
 * @dev to your request, it will call your contract's fulfillRandomWords method.
 *
 * @dev The randomness argument to fulfillRandomWords is a set of random words
 * @dev generated from your requestId and the blockHash of the request.
 *
 * @dev If your contract could have concurrent requests open, you can use the
 * @dev requestId returned from requestRandomWords to track which response is associated
 * @dev with which randomness request.
 * @dev See "SECURITY CONSIDERATIONS" for principles to keep in mind,
 * @dev if your contract could have multiple requests in flight simultaneously.
 *
 * @dev Colliding `requestId`s are cryptographically impossible as long as seeds
 * @dev differ.
 *
 * *****************************************************************************
 * @dev SECURITY CONSIDERATIONS
 *
 * @dev A method with the ability to call your fulfillRandomness method directly
 * @dev could spoof a VRF response with any random value, so it's critical that
 * @dev it cannot be directly called by anything other than this base contract
 * @dev (specifically, by the VRFConsumerBase.rawFulfillRandomness method).
 *
 * @dev For your users to trust that your contract's random behavior is free
 * @dev from malicious interference, it's best if you can write it so that all
 * @dev behaviors implied by a VRF response are executed *during* your
 * @dev fulfillRandomness method. If your contract must store the response (or
 * @dev anything derived from it) and use it later, you must ensure that any
 * @dev user-significant behavior which depends on that stored value cannot be
 * @dev manipulated by a subsequent VRF request.
 *
 * @dev Similarly, both miners and the VRF oracle itself have some influence
 * @dev over the order in which VRF responses appear on the blockchain, so if
 * @dev your contract could have multiple VRF requests in flight simultaneously,
 * @dev you must ensure that the order in which the VRF responses arrive cannot
 * @dev be used to manipulate your contract's user-significant behavior.
 *
 * @dev Since the block hash of the block which contains the requestRandomness
 * @dev call is mixed into the input to the VRF *last*, a sufficiently powerful
 * @dev miner could, in principle, fork the blockchain to evict the block
 * @dev containing the request, forcing the request to be included in a
 * @dev different block with a different hash, and therefore a different input
 * @dev to the VRF. However, such an attack would incur a substantial economic
 * @dev cost. This cost scales with the number of blocks the VRF oracle waits
 * @dev until it calls responds to a request. It is for this reason that
 * @dev that you can signal to an oracle you'd like them to wait longer before
 * @dev responding to the request (however this is not enforced in the contract
 * @dev and so remains effective only in the case of unmodified oracle software).
 */
abstract contract VRFConsumerBaseV2 {
  error OnlyCoordinatorCanFulfill(address have, address want);
  address private immutable vrfCoordinator;

  /**
   * @param _vrfCoordinator address of VRFCoordinator contract
   */
  constructor(address _vrfCoordinator) {
    vrfCoordinator = _vrfCoordinator;
  }

  /**
   * @notice fulfillRandomness handles the VRF response. Your contract must
   * @notice implement it. See "SECURITY CONSIDERATIONS" above for important
   * @notice principles to keep in mind when implementing your fulfillRandomness
   * @notice method.
   *
   * @dev VRFConsumerBaseV2 expects its subcontracts to have a method with this
   * @dev signature, and will call it once it has verified the proof
   * @dev associated with the randomness. (It is triggered via a call to
   * @dev rawFulfillRandomness, below.)
   *
   * @param requestId The Id initially returned by requestRandomness
   * @param randomWords the VRF output expanded to the requested number of words
   */
  function fulfillRandomWords(uint256 requestId, uint256[] memory randomWords) internal virtual;

  // rawFulfillRandomness is called by VRFCoordinator when it receives a valid VRF
  // proof. rawFulfillRandomness then calls fulfillRandomness, after validating
  // the origin of the call
  function rawFulfillRandomWords(uint256 requestId, uint256[] memory randomWords) external {
    if (msg.sender != vrfCoordinator) {
      revert OnlyCoordinatorCanFulfill(msg.sender, vrfCoordinator);
    }
    fulfillRandomWords(requestId, randomWords);
  }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint64","name":"subscriptionId","type":"uint64"},{"internalType":"address","name":"vrfCoordinator","type":"address"},{"internalType":"bytes32","name":"m_keyHash","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"have","type":"address"},{"internalType":"address","name":"want","type":"address"}],"name":"OnlyCoordinatorCanFulfill","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEV_TEAM","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NOBLELIST_MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NOBLELIST_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRE_MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROYALTY_PERCENTAGE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROYALTY_RECIPIENT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOKEN_MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOKEN_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint24","name":"mintLimit_","type":"uint24"},{"internalType":"bool","name":"active","type":"bool"},{"internalType":"bool","name":"nlSale","type":"bool"},{"internalType":"bool","name":"preSale","type":"bool"}],"name":"activateSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"receivers","type":"address[]"},{"internalType":"uint256","name":"quantity","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractSealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"getOwnershipData","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"}],"internalType":"struct ERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"components":[{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"}],"internalType":"struct GodsOfEgypt.Coupon","name":"coupon","type":"tuple"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"noblelistSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"requestId","type":"uint256"},{"internalType":"uint256[]","name":"randomWords","type":"uint256[]"}],"name":"rawFulfillRandomWords","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"requestRandomWords","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"s_requestId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sealContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"adminSigner","type":"address"}],"name":"setAdminSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setRoyalties","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"newUri","type":"string"}],"name":"updateMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"winner","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawFunds","outputs":[],"stateMutability":"nonpayable","type":"function"}]

600080805560018190557fd89b2bf150e3b9e13446986e571fb9cab24b13cea0a43ea20a6049a85cc807cc600a55600b80546001600160501b03191666010003000186a0179055600c55610100604052603660a0818152906200428560c0398051620000749160119160209091019062000312565b5060408051808201909152600580825264173539b7b760d91b6020909201918252620000a39160129162000312565b506013805463ffffffff19169055611d6c6014556005601855601a80546001600160a01b03191673a39a33ad9cd3f55f227ab0567b6cb9ad4b8e37ef179055348015620000ef57600080fd5b50604051620042bb380380620042bb8339810160408190526200011291620003b8565b604080518082018252600b81526a11dbd91cd3d99159de5c1d60aa1b602080830191825283518085019094526003845262474f4560e81b908401526001600160a01b03851660805281518693869386939092620001729160029162000312565b5080516200018890600390602084019062000312565b505050620001a56200019f6200021b60201b60201c565b6200021f565b60098054600f80546001600160a01b031916331790556001600160401b03909416600160a01b026001600160e01b03199094166001600160a01b0390931692909217929092179055600a556200021273b4eaa204aebd7005a88dbe46cf7a96c54ad56fb16101f462000271565b50505062000453565b3390565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612710811115620002c85760405162461bcd60e51b815260206004820152601a60248201527f45524332393831526f79616c746965733a20546f6f2068696768000000000000604482015260640160405180910390fd5b604080518082019091526001600160a01b0390921680835262ffffff909116602090920182905260108054600160a01b9093026001600160b81b0319909316909117919091179055565b828054620003209062000416565b90600052602060002090601f0160209004810192826200034457600085556200038f565b82601f106200035f57805160ff19168380011785556200038f565b828001600101855582156200038f579182015b828111156200038f57825182559160200191906001019062000372565b506200039d929150620003a1565b5090565b5b808211156200039d5760008155600101620003a2565b600080600060608486031215620003ce57600080fd5b83516001600160401b0381168114620003e657600080fd5b60208501519093506001600160a01b03811681146200040457600080fd5b80925050604084015190509250925092565b600181811c908216806200042b57607f821691505b602082108114156200044d57634e487b7160e01b600052602260045260246000fd5b50919050565b608051613e0f6200047660003960008181610c700152610cb20152613e0f6000f3fe6080604052600436106102e45760003560e01c80636c0360eb11610190578063a9ac42cf116100dc578063c87b56dd11610095578063dfbf53ae1161006f578063dfbf53ae146108ca578063e89e106a146108e0578063e985e9c5146108f6578063f2fde38b1461093f57600080fd5b8063c87b56dd1461086f578063d2d8cb671461088f578063df942a8a146108aa57600080fd5b8063a9ac42cf146107b4578063b6501637146107d3578063b653e9f6146107f4578063b88d4fde1461080f578063bc85777c1461082f578063c204642c1461084f57600080fd5b80638c7ea24b116101495780639231ab2a116101235780639231ab2a1461071357806395d89b4114610769578063996517cf1461077e578063a22cb4651461079457600080fd5b80638c7ea24b146106bf5780638da5cb5b146106df5780638ee2c4b8146106fd57600080fd5b80636c0360eb1461061a57806370a082311461062f578063715018a61461064f5780638395dab914610664578063844947081461067757806387f503fd1461069757600080fd5b80632f745c591161024f57806353c8388e1161020857806355f804b3116101e257806355f804b3146105ab5780636352211e146105cb57806368428a1b146105eb57806368bd580e1461060557600080fd5b806353c8388e1461055b5780635503a0e81461057b578063556fedd21461059057600080fd5b80632f745c591461049d57806342842e0e146104bd57806342966c68146104dd578063463b08db146104fd5780634f6ccce71461051357806350fe03f61461053357600080fd5b806318160ddd116102a157806318160ddd146103d4578063183bbe80146103e95780631fe543e31461040957806323b872dd1461042957806324600fc3146104495780632a55205a1461045e57600080fd5b806301ffc9a7146102e957806306fdde031461031e578063081812fc14610340578063095ea7b3146103785780630bbb010e1461039a57806313d037db146103be575b600080fd5b3480156102f557600080fd5b50610309610304366004613444565b61095f565b60405190151581526020015b60405180910390f35b34801561032a57600080fd5b50610333610970565b60405161031591906134b9565b34801561034c57600080fd5b5061036061035b3660046134cc565b610a02565b6040516001600160a01b039091168152602001610315565b34801561038457600080fd5b50610398610393366004613501565b610a90565b005b3480156103a657600080fd5b506103b06107d081565b604051908152602001610315565b3480156103ca57600080fd5b506103b06103e881565b3480156103e057600080fd5b506103b0610ba8565b3480156103f557600080fd5b5061039861040436600461352b565b610bbf565b34801561041557600080fd5b506103986104243660046135af565b610c65565b34801561043557600080fd5b50610398610444366004613650565b610ced565b34801561045557600080fd5b50610398610cf8565b34801561046a57600080fd5b5061047e61047936600461368c565b61166a565b604080516001600160a01b039093168352602083019190915201610315565b3480156104a957600080fd5b506103b06104b8366004613501565b6116bf565b3480156104c957600080fd5b506103986104d8366004613650565b61184e565b3480156104e957600080fd5b506103986104f83660046134cc565b611869565b34801561050957600080fd5b506103b06101f481565b34801561051f57600080fd5b506103b061052e3660046134cc565b611927565b34801561053f57600080fd5b5061036073b4eaa204aebd7005a88dbe46cf7a96c54ad56fb181565b34801561056757600080fd5b50610398610576366004613725565b611a14565b34801561058757600080fd5b50610333611a82565b34801561059c57600080fd5b506103b066ae153d89fe800081565b3480156105b757600080fd5b506103986105c6366004613761565b611b10565b3480156105d757600080fd5b506103606105e63660046134cc565b611b4d565b3480156105f757600080fd5b506013546103099060ff1681565b34801561061157600080fd5b50610398611b5f565b34801561062657600080fd5b50610333611bf8565b34801561063b57600080fd5b506103b061064a36600461352b565b611c05565b34801561065b57600080fd5b50610398611c96565b610398610672366004613795565b611ccc565b34801561068357600080fd5b506013546103099062010000900460ff1681565b3480156106a357600080fd5b50610360732bdb46441007c395bcc5b97df3941fdfb9d5d78d81565b3480156106cb57600080fd5b506103986106da366004613501565b61209d565b3480156106eb57600080fd5b506008546001600160a01b0316610360565b34801561070957600080fd5b506103b060145481565b34801561071f57600080fd5b5061073361072e3660046134cc565b6120d1565b6040805182516001600160a01b031681526020808401516001600160401b03169082015291810151151590820152606001610315565b34801561077557600080fd5b506103336120f7565b34801561078a57600080fd5b506103b060185481565b3480156107a057600080fd5b506103986107af36600461382c565b612106565b3480156107c057600080fd5b5060135461030990610100900460ff1681565b3480156107df57600080fd5b50601354610309906301000000900460ff1681565b34801561080057600080fd5b506103b0669536c70891000081565b34801561081b57600080fd5b5061039861082a36600461385f565b6121cb565b34801561083b57600080fd5b5061039861084a3660046134cc565b6121fe565b34801561085b57600080fd5b5061039861086a3660046138da565b6122fc565b34801561087b57600080fd5b5061033361088a3660046134cc565b6123a6565b34801561089b57600080fd5b506103b066b8bdb97852000081565b3480156108b657600080fd5b506103986108c5366004613977565b6124eb565b3480156108d657600080fd5b506103b0600d5481565b3480156108ec57600080fd5b506103b0600e5481565b34801561090257600080fd5b506103096109113660046139d5565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561094b57600080fd5b5061039861095a36600461352b565b612559565b600061096a826125f4565b92915050565b60606002805461097f906139ff565b80601f01602080910402602001604051908101604052809291908181526020018280546109ab906139ff565b80156109f85780601f106109cd576101008083540402835291602001916109f8565b820191906000526020600020905b8154815290600101906020018083116109db57829003601f168201915b5050505050905090565b6000610a0d82612619565b610a745760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610a9b82611b4d565b9050806001600160a01b0316836001600160a01b03161415610b0a5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610a6b565b336001600160a01b0382161480610b265750610b268133610911565b610b985760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610a6b565b610ba3838383612644565b505050565b6000600154600054610bba9190613a50565b905090565b6008546001600160a01b03163314610be95760405162461bcd60e51b8152600401610a6b90613a67565b6013546301000000900460ff1615610c435760405162461bcd60e51b815260206004820181905260248201527f436f6e747261637420686173206265656e20616c7265616479207365616c65646044820152606401610a6b565b601a80546001600160a01b0319166001600160a01b0392909216919091179055565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610cdf5760405163073e64fd60e21b81523360048201526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166024820152604401610a6b565b610ce982826126a0565b5050565b610ba38383836126cf565b6008546001600160a01b03163314610d225760405162461bcd60e51b8152600401610a6b90613a67565b47731beae2ef143f7f974eb734b9e8369781db08f0cc6108fc6064610d48846015613a9c565b610d529190613ad1565b6040518115909202916000818181858888f19350505050158015610d7a573d6000803e3d6000fd5b50736503183167ccab9ceba25109d2f7776206e83a466108fc6064610da0846001613a9c565b610daa9190613ad1565b6040518115909202916000818181858888f19350505050158015610dd2573d6000803e3d6000fd5b5073c622f4b3ae6677276bb3bbe373ad8b1843d4439b6108fc6064610df8846001613a9c565b610e029190613ad1565b6040518115909202916000818181858888f19350505050158015610e2a573d6000803e3d6000fd5b5073d8faf502ebe2fe783710b1781782c14f566050df6108fc6064610e50846001613a9c565b610e5a9190613ad1565b6040518115909202916000818181858888f19350505050158015610e82573d6000803e3d6000fd5b507329cb02180d8d689918ce2c50a3357798d6fd92836108fc6064610ea8846001613a9c565b610eb29190613ad1565b6040518115909202916000818181858888f19350505050158015610eda573d6000803e3d6000fd5b5073cabb179ca4f9360e4761121a2363a3af5587b1aa6108fc6064610f00846001613a9c565b610f0a9190613ad1565b6040518115909202916000818181858888f19350505050158015610f32573d6000803e3d6000fd5b5073b2d49f053269904ca13459cb6bb3555a3206fe756108fc6064610f58846001613a9c565b610f629190613ad1565b6040518115909202916000818181858888f19350505050158015610f8a573d6000803e3d6000fd5b5073b49395ecf078207e64ee53c045d454051a9237b76108fc6064610fb0846001613a9c565b610fba9190613ad1565b6040518115909202916000818181858888f19350505050158015610fe2573d6000803e3d6000fd5b50737376981831c171be0e3dcddd423d46cf0b5af9176108fc6064611008846001613a9c565b6110129190613ad1565b6040518115909202916000818181858888f1935050505015801561103a573d6000803e3d6000fd5b5073f813013666ee8f123bb821fb36acb27eb7b4ec9f6108fc60c8611060846003613a9c565b61106a9190613ad1565b6040518115909202916000818181858888f19350505050158015611092573d6000803e3d6000fd5b50739efc6c6243965fe6288d3712b9c595855b1d6ee66108fc60646110b8846015613a9c565b6110c29190613ad1565b6040518115909202916000818181858888f193505050501580156110ea573d6000803e3d6000fd5b5073ec7100abdbcf922f975148c6516bc95696ca0ef66108fc6064611110846001613a9c565b61111a9190613ad1565b6040518115909202916000818181858888f19350505050158015611142573d6000803e3d6000fd5b5073c1a99f382dd0c6f3a6fcf80dfaf4da929dbe7ded6108fc60c8611168846003613a9c565b6111729190613ad1565b6040518115909202916000818181858888f1935050505015801561119a573d6000803e3d6000fd5b5073b3cbc74efcf9e478cddb26630db76f7349407d5a6108fc60646111c0846005613a9c565b6111ca9190613ad1565b6040518115909202916000818181858888f193505050501580156111f2573d6000803e3d6000fd5b5073f69f1cb31792c8b481f5aa4f124546fbd33c2f446108fc6064611218846001613a9c565b6112229190613ad1565b6040518115909202916000818181858888f1935050505015801561124a573d6000803e3d6000fd5b50734bcfc5fd38bb19d137ebe9d1119246c997b5877f6108fc6064611270846001613a9c565b61127a9190613ad1565b6040518115909202916000818181858888f193505050501580156112a2573d6000803e3d6000fd5b5073421470c15bd386b3d75648682c19bb968c1b3b566108fc60646112c8846001613a9c565b6112d29190613ad1565b6040518115909202916000818181858888f193505050501580156112fa573d6000803e3d6000fd5b5073cc660f21e4263df1c36453f8853077188cbe50626108fc6064611320846001613a9c565b61132a9190613ad1565b6040518115909202916000818181858888f19350505050158015611352573d6000803e3d6000fd5b5073145c926cf21e89802a377590be227bfdebccdde96108fc6064611378846001613a9c565b6113829190613ad1565b6040518115909202916000818181858888f193505050501580156113aa573d6000803e3d6000fd5b5073355148b29ae2f861958d9525949cbcb6395733876108fc60646113d0846002613a9c565b6113da9190613ad1565b6040518115909202916000818181858888f19350505050158015611402573d6000803e3d6000fd5b507305508d3a925aa08cac18f8da1b0934a7128709016108fc6064611428846001613a9c565b6114329190613ad1565b6040518115909202916000818181858888f1935050505015801561145a573d6000803e3d6000fd5b50735050abb6cb8d5000aad66f5754168b578583dd456108fc6064611480846001613a9c565b61148a9190613ad1565b6040518115909202916000818181858888f193505050501580156114b2573d6000803e3d6000fd5b5073d1b5678adb084817807fefb58b829deec536229b6108fc60646114d8846001613a9c565b6114e29190613ad1565b6040518115909202916000818181858888f1935050505015801561150a573d6000803e3d6000fd5b50732bdb46441007c395bcc5b97df3941fdfb9d5d78d6108fc6064611530846005613a9c565b61153a9190613ad1565b6040518115909202916000818181858888f19350505050158015611562573d6000803e3d6000fd5b5073c9f2697736bdf75feb8a2f77905c0ef273a102b06108fc6064611588846001613a9c565b6115929190613ad1565b6040518115909202916000818181858888f193505050501580156115ba573d6000803e3d6000fd5b50733bae9d1a0d5ceb9df403dd6f0c088ca086c49a016108fc60646115e0846004613a9c565b6115ea9190613ad1565b6040518115909202916000818181858888f19350505050158015611612573d6000803e3d6000fd5b50738f973f7bae949eb900233299ff6a5f2a09ef51686108fc6064611638846015613a9c565b6116429190613ad1565b6040518115909202916000818181858888f19350505050158015610ce9573d6000803e3d6000fd5b604080518082019091526010546001600160a01b038116808352600160a01b90910462ffffff16602083018190529091600091612710906116ab9086613a9c565b6116b59190613ad1565b9150509250929050565b60006116ca83611c05565b82106117235760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610a6b565b600080549080805b838110156117ee57600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff161515928101929092521561179057805192505b80604001511561179f57600092505b876001600160a01b0316836001600160a01b031614156117db57868414156117cd5750935061096a92505050565b836117d781613ae5565b9450505b50806117e681613ae5565b91505061172b565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610a6b565b610ba3838383604051806020016040528060008152506121cb565b6000611874826129c7565b80519091506000906001600160a01b0316336001600160a01b031614806118ab5750336118a084610a02565b6001600160a01b0316145b806118bd575081516118bd9033610911565b90508061191e5760405162461bcd60e51b815260206004820152602960248201527f455243373231413a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b6064820152608401610a6b565b610ba383612ad0565b6000805481805b828110156119bf57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906119ac578583141561199e5750949350505050565b826119a881613ae5565b9350505b50806119b781613ae5565b91505061192e565b5060405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610a6b565b6008546001600160a01b03163314611a3e5760405162461bcd60e51b8152600401610a6b90613a67565b611a4782612619565b611a635760405162461bcd60e51b8152600401610a6b90613b00565b60008281526019602090815260409091208251610ba392840190613395565b60128054611a8f906139ff565b80601f0160208091040260200160405190810160405280929190818152602001828054611abb906139ff565b8015611b085780601f10611add57610100808354040283529160200191611b08565b820191906000526020600020905b815481529060010190602001808311611aeb57829003601f168201915b505050505081565b6008546001600160a01b03163314611b3a5760405162461bcd60e51b8152600401610a6b90613a67565b8051610ce9906011906020840190613395565b6000611b58826129c7565b5192915050565b6008546001600160a01b03163314611b895760405162461bcd60e51b8152600401610a6b90613a67565b6013546301000000900460ff1615611be35760405162461bcd60e51b815260206004820181905260248201527f436f6e747261637420686173206265656e20616c7265616479207365616c65646044820152606401610a6b565b6013805463ff00000019166301000000179055565b60118054611a8f906139ff565b60006001600160a01b038216611c715760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610a6b565b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b03163314611cc05760405162461bcd60e51b8152600401610a6b90613a67565b611cca6000612c7a565b565b323314611d1b5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610a6b565b60135460ff16611d665760405162461bcd60e51b81526020600482015260166024820152755468652073616c65206973206e6f742061637469766560501b6044820152606401610a6b565b60135466b8bdb97852000090610100900460ff1615611dfd576103e883611d8b610ba8565b611d959190613b4f565b1115611db35760405162461bcd60e51b8152600401610a6b90613b67565b60185433600090815260156020526040902054611dd1908590613b4f565b1115611def5760405162461bcd60e51b8152600401610a6b90613b9e565b50669536c708910000611ed3565b60135462010000900460ff1615611e9757611e1c6103e86107d0613b4f565b83611e25610ba8565b611e2f9190613b4f565b1115611e4d5760405162461bcd60e51b8152600401610a6b90613b67565b60185433600090815260166020526040902054611e6b908590613b4f565b1115611e895760405162461bcd60e51b8152600401610a6b90613b9e565b5066ae153d89fe8000611ed3565b60185433600090815260176020526040902054611eb5908590613b4f565b1115611ed35760405162461bcd60e51b8152600401610a6b90613b9e565b60145483611edf610ba8565b611ee99190613b4f565b1115611f075760405162461bcd60e51b8152600401610a6b90613b67565b601354600090610100900460ff16611f375760135462010000900460ff16611f30576002611f3a565b6001611f3a565b60005b60ff16905080600214611fb757604080516020808201849052338284015282518083038401815260609092019092528051910120611f788185612ccc565b611fb55760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21031b7bab837b760911b6044820152606401610a6b565b505b611fc18483613a9c565b341015611ffe5760405162461bcd60e51b815260206004820152600b60248201526a57726f6e6720707269636560a81b6044820152606401610a6b565b601354610100900460ff161561203857336000908152601560205260408120805486929061202d908490613b4f565b9091555061208d9050565b60135462010000900460ff161561206857336000908152601660205260408120805486929061202d908490613b4f565b3360009081526017602052604081208054869290612087908490613b4f565b90915550505b6120973385612db4565b50505050565b6008546001600160a01b031633146120c75760405162461bcd60e51b8152600401610a6b90613a67565b610ce98282612dce565b604080516060810182526000808252602082018190529181019190915261096a826129c7565b60606003805461097f906139ff565b6001600160a01b03821633141561215f5760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610a6b565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6121d68484846126cf565b6121e284848484612e6a565b6120975760405162461bcd60e51b8152600401610a6b90613be3565b6008546001600160a01b031633146122285760405162461bcd60e51b8152600401610a6b90613a67565b600c819055600954600a54600b546040516305d3b1d360e41b81526004810192909252600160a01b83046001600160401b03166024830152640100000000810461ffff16604483015263ffffffff808216606484015266010000000000009091041660848201526001600160a01b0390911690635d3b1d309060a401602060405180830381600087803b1580156122be57600080fd5b505af11580156122d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122f69190613c36565b600e5550565b6008546001600160a01b031633146123265760405162461bcd60e51b8152600401610a6b90613a67565b60145482516123359083613a9c565b61233d610ba8565b6123479190613b4f565b11156123655760405162461bcd60e51b8152600401610a6b90613b67565b60005b8251811015610ba35761239483828151811061238657612386613c4f565b602002602001015183612db4565b8061239e81613ae5565b915050612368565b60606123b182612619565b6123cd5760405162461bcd60e51b8152600401610a6b90613b00565b600082815260196020526040812080546123e6906139ff565b9050111561248c5760008281526019602052604090208054612407906139ff565b80601f0160208091040260200160405190810160405280929190818152602001828054612433906139ff565b80156124805780601f1061245557610100808354040283529160200191612480565b820191906000526020600020905b81548152906001019060200180831161246357829003601f168201915b50505050509050919050565b6000612496612f78565b905060008151116124b657604051806020016040528060008152506124e4565b806124c084612f87565b60126040516020016124d493929190613c65565b6040516020818303038152906040525b9392505050565b6008546001600160a01b031633146125155760405162461bcd60e51b8152600401610a6b90613a67565b62ffffff939093166018556013805461ffff191692151561ff00191692909217610100911515919091021762ff000019166201000092151592909202919091179055565b6008546001600160a01b031633146125835760405162461bcd60e51b8152600401610a6b90613a67565b6001600160a01b0381166125e85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a6b565b6125f181612c7a565b50565b60006001600160e01b0319821663152a902d60e11b148061096a575061096a82613084565b600080548210801561096a575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600c54816000815181106126b6576126b6613c4f565b60200260200101516126c89190613d29565b600d555050565b60006126da826129c7565b80519091506000906001600160a01b0316336001600160a01b0316148061271157503361270684610a02565b6001600160a01b0316145b80612723575081516127239033610911565b90508061278d5760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610a6b565b846001600160a01b031682600001516001600160a01b0316146128015760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610a6b565b6001600160a01b0384166128655760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610a6b565b6128756000848460000151612644565b6001600160a01b03808616600090815260056020908152604080832080546000196001600160401b0380831691909101811667ffffffffffffffff1992831617909255948916808552828520805480841660019081018516919098161790558885526004909352908320805442909216600160a01b026001600160e01b031990921690921717905590612909908590613b4f565b6000818152600460205260409020549091506001600160a01b031661297d5761293181612619565b1561297d57825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b60408051606081018252600080825260208201819052918101919091526129ed82612619565b612a4c5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610a6b565b815b600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215801590612ab157508060400151155b15612abd579392505050565b5080612ac881613d3d565b915050612a4e565b6000612adb826129c7565b9050612aed6000838360000151612644565b80516001600160a01b039081166000908152600560209081526040808320805467ffffffffffffffff1981166001600160401b0391821660001901821617909155855185168452818420805467ffffffffffffffff60801b198116600160801b9182900484166001908101851690920217909155865188865260049094529184208054600160e01b949096166001600160e01b031990961695909517600160a01b42909216919091021760ff60e01b19169190911790925590612bb1908490613b4f565b6000818152600460205260409020549091506001600160a01b0316612c2557612bd981612619565b15612c2557815160008281526004602090815260409091208054918501516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b815160405184916000916001600160a01b03909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a460018054906000612c7083613ae5565b9190505550505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008060018484604001518560000151866020015160405160008152602001604052604051612d17949392919093845260ff9290921660208401526040830152606082015260800190565b6020604051602081039080840390855afa158015612d39573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612d9c5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610a6b565b601a546001600160a01b039081169116149392505050565b610ce98282604051806020016040528060008152506130ef565b612710811115612e205760405162461bcd60e51b815260206004820152601a60248201527f45524332393831526f79616c746965733a20546f6f20686967680000000000006044820152606401610a6b565b604080518082019091526001600160a01b0390921680835262ffffff909116602090920182905260108054600160a01b9093026001600160b81b0319909316909117919091179055565b60006001600160a01b0384163b15612f6c57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612eae903390899088908890600401613d54565b602060405180830381600087803b158015612ec857600080fd5b505af1925050508015612ef8575060408051601f3d908101601f19168201909252612ef591810190613d91565b60015b612f52573d808015612f26576040519150601f19603f3d011682016040523d82523d6000602084013e612f2b565b606091505b508051612f4a5760405162461bcd60e51b8152600401610a6b90613be3565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612f70565b5060015b949350505050565b60606011805461097f906139ff565b606081612fab5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612fd55780612fbf81613ae5565b9150612fce9050600a83613ad1565b9150612faf565b6000816001600160401b03811115612fef57612fef613546565b6040519080825280601f01601f191660200182016040528015613019576020820181803683370190505b5090505b8415612f705761302e600183613a50565b915061303b600a86613d29565b613046906030613b4f565b60f81b81838151811061305b5761305b613c4f565b60200101906001600160f81b031916908160001a90535061307d600a86613ad1565b945061301d565b60006001600160e01b031982166380ac58cd60e01b14806130b557506001600160e01b03198216635b5e139f60e01b145b806130d057506001600160e01b0319821663780e9d6360e01b145b8061096a57506301ffc9a760e01b6001600160e01b031983161461096a565b610ba383838360016000546001600160a01b03851661315a5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610a6b565b61316381612619565b156131b05760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610a6b565b600084116132115760405162461bcd60e51b815260206004820152602860248201527f455243373231413a207175616e74697479206d75737420626520677265617465604482015267072207468616e20360c41b6064820152608401610a6b565b6001600160a01b038516600090815260056020526040812080548692906132429084906001600160401b0316613dae565b82546101009290920a6001600160401b038181021990931691831602179091556001600160a01b03871660009081526005602052604090208054879350909160089161329c91859168010000000000000000900416613dae565b82546001600160401b039182166101009390930a9283029282021916919091179091556000838152600460205260408120805442909316600160a01b026001600160e01b03199093166001600160a01b038a1617929092179091558291505b8581101561338a5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4831561336a5761334e6000888488612e6a565b61336a5760405162461bcd60e51b8152600401610a6b90613be3565b8161337481613ae5565b925050808061338290613ae5565b9150506132fb565b5060008190556129bf565b8280546133a1906139ff565b90600052602060002090601f0160209004810192826133c35760008555613409565b82601f106133dc57805160ff1916838001178555613409565b82800160010185558215613409579182015b828111156134095782518255916020019190600101906133ee565b50613415929150613419565b5090565b5b80821115613415576000815560010161341a565b6001600160e01b0319811681146125f157600080fd5b60006020828403121561345657600080fd5b81356124e48161342e565b60005b8381101561347c578181015183820152602001613464565b838111156120975750506000910152565b600081518084526134a5816020860160208601613461565b601f01601f19169290920160200192915050565b6020815260006124e4602083018461348d565b6000602082840312156134de57600080fd5b5035919050565b80356001600160a01b03811681146134fc57600080fd5b919050565b6000806040838503121561351457600080fd5b61351d836134e5565b946020939093013593505050565b60006020828403121561353d57600080fd5b6124e4826134e5565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561358457613584613546565b604052919050565b60006001600160401b038211156135a5576135a5613546565b5060051b60200190565b600080604083850312156135c257600080fd5b823591506020808401356001600160401b038111156135e057600080fd5b8401601f810186136135f157600080fd5b80356136046135ff8261358c565b61355c565b81815260059190911b8201830190838101908883111561362357600080fd5b928401925b8284101561364157833582529284019290840190613628565b80955050505050509250929050565b60008060006060848603121561366557600080fd5b61366e846134e5565b925061367c602085016134e5565b9150604084013590509250925092565b6000806040838503121561369f57600080fd5b50508035926020909101359150565b60006001600160401b038311156136c7576136c7613546565b6136da601f8401601f191660200161355c565b90508281528383830111156136ee57600080fd5b828260208301376000602084830101529392505050565b600082601f83011261371657600080fd5b6124e4838335602085016136ae565b6000806040838503121561373857600080fd5b8235915060208301356001600160401b0381111561375557600080fd5b6116b585828601613705565b60006020828403121561377357600080fd5b81356001600160401b0381111561378957600080fd5b612f7084828501613705565b60008082840360808112156137a957600080fd5b833592506060601f19820112156137bf57600080fd5b50604051606081018181106001600160401b03821117156137e2576137e2613546565b80604052506020840135815260408401356020820152606084013560ff8116811461380c57600080fd5b6040820152919491935090915050565b803580151581146134fc57600080fd5b6000806040838503121561383f57600080fd5b613848836134e5565b91506138566020840161381c565b90509250929050565b6000806000806080858703121561387557600080fd5b61387e856134e5565b935061388c602086016134e5565b92506040850135915060608501356001600160401b038111156138ae57600080fd5b8501601f810187136138bf57600080fd5b6138ce878235602084016136ae565b91505092959194509250565b600080604083850312156138ed57600080fd5b82356001600160401b0381111561390357600080fd5b8301601f8101851361391457600080fd5b803560206139246135ff8361358c565b82815260059290921b8301810191818101908884111561394357600080fd5b938201935b8385101561396857613959856134e5565b82529382019390820190613948565b98969091013596505050505050565b6000806000806080858703121561398d57600080fd5b843562ffffff811681146139a057600080fd5b93506139ae6020860161381c565b92506139bc6040860161381c565b91506139ca6060860161381c565b905092959194509250565b600080604083850312156139e857600080fd5b6139f1836134e5565b9150613856602084016134e5565b600181811c90821680613a1357607f821691505b60208210811415613a3457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082821015613a6257613a62613a3a565b500390565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000816000190483118215151615613ab657613ab6613a3a565b500290565b634e487b7160e01b600052601260045260246000fd5b600082613ae057613ae0613abb565b500490565b6000600019821415613af957613af9613a3a565b5060010190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60008219821115613b6257613b62613a3a565b500190565b60208082526019908201527f4e6f7420656e6f75676820417274696661637473206c65667400000000000000604082015260600190565b60208082526025908201527f596f752063616e2774206d696e74206d6f7265207468616e207468617420666f60408201526472206e6f7760d81b606082015260800190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b600060208284031215613c4857600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b600084516020613c788285838a01613461565b855191840191613c8b8184848a01613461565b8554920191600090600181811c9080831680613ca857607f831692505b858310811415613cc657634e487b7160e01b85526022600452602485fd5b808015613cda5760018114613ceb57613d18565b60ff19851688528388019550613d18565b60008b81526020902060005b85811015613d105781548a820152908401908801613cf7565b505083880195505b50939b9a5050505050505050505050565b600082613d3857613d38613abb565b500690565b600081613d4c57613d4c613a3a565b506000190190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613d879083018461348d565b9695505050505050565b600060208284031215613da357600080fd5b81516124e48161342e565b60006001600160401b03808316818516808303821115613dd057613dd0613a3a565b0194935050505056fea26469706673582212200210233e093b31bd1dd9f1d14b4263b97f0bfccc6de64ec6ddf2504259c9eceb64736f6c63430008090033697066733a2f2f516d654c556b79594b4b34476d62704550454364674d783255463978473465707838684656416d467450476341363f0000000000000000000000000000000000000000000000000000000000000123000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e699099fe0eebf5e446e3c998ec9bb19951541aee00bb90ea201ae456421a2ded86805

Deployed Bytecode

0x6080604052600436106102e45760003560e01c80636c0360eb11610190578063a9ac42cf116100dc578063c87b56dd11610095578063dfbf53ae1161006f578063dfbf53ae146108ca578063e89e106a146108e0578063e985e9c5146108f6578063f2fde38b1461093f57600080fd5b8063c87b56dd1461086f578063d2d8cb671461088f578063df942a8a146108aa57600080fd5b8063a9ac42cf146107b4578063b6501637146107d3578063b653e9f6146107f4578063b88d4fde1461080f578063bc85777c1461082f578063c204642c1461084f57600080fd5b80638c7ea24b116101495780639231ab2a116101235780639231ab2a1461071357806395d89b4114610769578063996517cf1461077e578063a22cb4651461079457600080fd5b80638c7ea24b146106bf5780638da5cb5b146106df5780638ee2c4b8146106fd57600080fd5b80636c0360eb1461061a57806370a082311461062f578063715018a61461064f5780638395dab914610664578063844947081461067757806387f503fd1461069757600080fd5b80632f745c591161024f57806353c8388e1161020857806355f804b3116101e257806355f804b3146105ab5780636352211e146105cb57806368428a1b146105eb57806368bd580e1461060557600080fd5b806353c8388e1461055b5780635503a0e81461057b578063556fedd21461059057600080fd5b80632f745c591461049d57806342842e0e146104bd57806342966c68146104dd578063463b08db146104fd5780634f6ccce71461051357806350fe03f61461053357600080fd5b806318160ddd116102a157806318160ddd146103d4578063183bbe80146103e95780631fe543e31461040957806323b872dd1461042957806324600fc3146104495780632a55205a1461045e57600080fd5b806301ffc9a7146102e957806306fdde031461031e578063081812fc14610340578063095ea7b3146103785780630bbb010e1461039a57806313d037db146103be575b600080fd5b3480156102f557600080fd5b50610309610304366004613444565b61095f565b60405190151581526020015b60405180910390f35b34801561032a57600080fd5b50610333610970565b60405161031591906134b9565b34801561034c57600080fd5b5061036061035b3660046134cc565b610a02565b6040516001600160a01b039091168152602001610315565b34801561038457600080fd5b50610398610393366004613501565b610a90565b005b3480156103a657600080fd5b506103b06107d081565b604051908152602001610315565b3480156103ca57600080fd5b506103b06103e881565b3480156103e057600080fd5b506103b0610ba8565b3480156103f557600080fd5b5061039861040436600461352b565b610bbf565b34801561041557600080fd5b506103986104243660046135af565b610c65565b34801561043557600080fd5b50610398610444366004613650565b610ced565b34801561045557600080fd5b50610398610cf8565b34801561046a57600080fd5b5061047e61047936600461368c565b61166a565b604080516001600160a01b039093168352602083019190915201610315565b3480156104a957600080fd5b506103b06104b8366004613501565b6116bf565b3480156104c957600080fd5b506103986104d8366004613650565b61184e565b3480156104e957600080fd5b506103986104f83660046134cc565b611869565b34801561050957600080fd5b506103b06101f481565b34801561051f57600080fd5b506103b061052e3660046134cc565b611927565b34801561053f57600080fd5b5061036073b4eaa204aebd7005a88dbe46cf7a96c54ad56fb181565b34801561056757600080fd5b50610398610576366004613725565b611a14565b34801561058757600080fd5b50610333611a82565b34801561059c57600080fd5b506103b066ae153d89fe800081565b3480156105b757600080fd5b506103986105c6366004613761565b611b10565b3480156105d757600080fd5b506103606105e63660046134cc565b611b4d565b3480156105f757600080fd5b506013546103099060ff1681565b34801561061157600080fd5b50610398611b5f565b34801561062657600080fd5b50610333611bf8565b34801561063b57600080fd5b506103b061064a36600461352b565b611c05565b34801561065b57600080fd5b50610398611c96565b610398610672366004613795565b611ccc565b34801561068357600080fd5b506013546103099062010000900460ff1681565b3480156106a357600080fd5b50610360732bdb46441007c395bcc5b97df3941fdfb9d5d78d81565b3480156106cb57600080fd5b506103986106da366004613501565b61209d565b3480156106eb57600080fd5b506008546001600160a01b0316610360565b34801561070957600080fd5b506103b060145481565b34801561071f57600080fd5b5061073361072e3660046134cc565b6120d1565b6040805182516001600160a01b031681526020808401516001600160401b03169082015291810151151590820152606001610315565b34801561077557600080fd5b506103336120f7565b34801561078a57600080fd5b506103b060185481565b3480156107a057600080fd5b506103986107af36600461382c565b612106565b3480156107c057600080fd5b5060135461030990610100900460ff1681565b3480156107df57600080fd5b50601354610309906301000000900460ff1681565b34801561080057600080fd5b506103b0669536c70891000081565b34801561081b57600080fd5b5061039861082a36600461385f565b6121cb565b34801561083b57600080fd5b5061039861084a3660046134cc565b6121fe565b34801561085b57600080fd5b5061039861086a3660046138da565b6122fc565b34801561087b57600080fd5b5061033361088a3660046134cc565b6123a6565b34801561089b57600080fd5b506103b066b8bdb97852000081565b3480156108b657600080fd5b506103986108c5366004613977565b6124eb565b3480156108d657600080fd5b506103b0600d5481565b3480156108ec57600080fd5b506103b0600e5481565b34801561090257600080fd5b506103096109113660046139d5565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561094b57600080fd5b5061039861095a36600461352b565b612559565b600061096a826125f4565b92915050565b60606002805461097f906139ff565b80601f01602080910402602001604051908101604052809291908181526020018280546109ab906139ff565b80156109f85780601f106109cd576101008083540402835291602001916109f8565b820191906000526020600020905b8154815290600101906020018083116109db57829003601f168201915b5050505050905090565b6000610a0d82612619565b610a745760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610a9b82611b4d565b9050806001600160a01b0316836001600160a01b03161415610b0a5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610a6b565b336001600160a01b0382161480610b265750610b268133610911565b610b985760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610a6b565b610ba3838383612644565b505050565b6000600154600054610bba9190613a50565b905090565b6008546001600160a01b03163314610be95760405162461bcd60e51b8152600401610a6b90613a67565b6013546301000000900460ff1615610c435760405162461bcd60e51b815260206004820181905260248201527f436f6e747261637420686173206265656e20616c7265616479207365616c65646044820152606401610a6b565b601a80546001600160a01b0319166001600160a01b0392909216919091179055565b336001600160a01b037f000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e699091614610cdf5760405163073e64fd60e21b81523360048201526001600160a01b037f000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e69909166024820152604401610a6b565b610ce982826126a0565b5050565b610ba38383836126cf565b6008546001600160a01b03163314610d225760405162461bcd60e51b8152600401610a6b90613a67565b47731beae2ef143f7f974eb734b9e8369781db08f0cc6108fc6064610d48846015613a9c565b610d529190613ad1565b6040518115909202916000818181858888f19350505050158015610d7a573d6000803e3d6000fd5b50736503183167ccab9ceba25109d2f7776206e83a466108fc6064610da0846001613a9c565b610daa9190613ad1565b6040518115909202916000818181858888f19350505050158015610dd2573d6000803e3d6000fd5b5073c622f4b3ae6677276bb3bbe373ad8b1843d4439b6108fc6064610df8846001613a9c565b610e029190613ad1565b6040518115909202916000818181858888f19350505050158015610e2a573d6000803e3d6000fd5b5073d8faf502ebe2fe783710b1781782c14f566050df6108fc6064610e50846001613a9c565b610e5a9190613ad1565b6040518115909202916000818181858888f19350505050158015610e82573d6000803e3d6000fd5b507329cb02180d8d689918ce2c50a3357798d6fd92836108fc6064610ea8846001613a9c565b610eb29190613ad1565b6040518115909202916000818181858888f19350505050158015610eda573d6000803e3d6000fd5b5073cabb179ca4f9360e4761121a2363a3af5587b1aa6108fc6064610f00846001613a9c565b610f0a9190613ad1565b6040518115909202916000818181858888f19350505050158015610f32573d6000803e3d6000fd5b5073b2d49f053269904ca13459cb6bb3555a3206fe756108fc6064610f58846001613a9c565b610f629190613ad1565b6040518115909202916000818181858888f19350505050158015610f8a573d6000803e3d6000fd5b5073b49395ecf078207e64ee53c045d454051a9237b76108fc6064610fb0846001613a9c565b610fba9190613ad1565b6040518115909202916000818181858888f19350505050158015610fe2573d6000803e3d6000fd5b50737376981831c171be0e3dcddd423d46cf0b5af9176108fc6064611008846001613a9c565b6110129190613ad1565b6040518115909202916000818181858888f1935050505015801561103a573d6000803e3d6000fd5b5073f813013666ee8f123bb821fb36acb27eb7b4ec9f6108fc60c8611060846003613a9c565b61106a9190613ad1565b6040518115909202916000818181858888f19350505050158015611092573d6000803e3d6000fd5b50739efc6c6243965fe6288d3712b9c595855b1d6ee66108fc60646110b8846015613a9c565b6110c29190613ad1565b6040518115909202916000818181858888f193505050501580156110ea573d6000803e3d6000fd5b5073ec7100abdbcf922f975148c6516bc95696ca0ef66108fc6064611110846001613a9c565b61111a9190613ad1565b6040518115909202916000818181858888f19350505050158015611142573d6000803e3d6000fd5b5073c1a99f382dd0c6f3a6fcf80dfaf4da929dbe7ded6108fc60c8611168846003613a9c565b6111729190613ad1565b6040518115909202916000818181858888f1935050505015801561119a573d6000803e3d6000fd5b5073b3cbc74efcf9e478cddb26630db76f7349407d5a6108fc60646111c0846005613a9c565b6111ca9190613ad1565b6040518115909202916000818181858888f193505050501580156111f2573d6000803e3d6000fd5b5073f69f1cb31792c8b481f5aa4f124546fbd33c2f446108fc6064611218846001613a9c565b6112229190613ad1565b6040518115909202916000818181858888f1935050505015801561124a573d6000803e3d6000fd5b50734bcfc5fd38bb19d137ebe9d1119246c997b5877f6108fc6064611270846001613a9c565b61127a9190613ad1565b6040518115909202916000818181858888f193505050501580156112a2573d6000803e3d6000fd5b5073421470c15bd386b3d75648682c19bb968c1b3b566108fc60646112c8846001613a9c565b6112d29190613ad1565b6040518115909202916000818181858888f193505050501580156112fa573d6000803e3d6000fd5b5073cc660f21e4263df1c36453f8853077188cbe50626108fc6064611320846001613a9c565b61132a9190613ad1565b6040518115909202916000818181858888f19350505050158015611352573d6000803e3d6000fd5b5073145c926cf21e89802a377590be227bfdebccdde96108fc6064611378846001613a9c565b6113829190613ad1565b6040518115909202916000818181858888f193505050501580156113aa573d6000803e3d6000fd5b5073355148b29ae2f861958d9525949cbcb6395733876108fc60646113d0846002613a9c565b6113da9190613ad1565b6040518115909202916000818181858888f19350505050158015611402573d6000803e3d6000fd5b507305508d3a925aa08cac18f8da1b0934a7128709016108fc6064611428846001613a9c565b6114329190613ad1565b6040518115909202916000818181858888f1935050505015801561145a573d6000803e3d6000fd5b50735050abb6cb8d5000aad66f5754168b578583dd456108fc6064611480846001613a9c565b61148a9190613ad1565b6040518115909202916000818181858888f193505050501580156114b2573d6000803e3d6000fd5b5073d1b5678adb084817807fefb58b829deec536229b6108fc60646114d8846001613a9c565b6114e29190613ad1565b6040518115909202916000818181858888f1935050505015801561150a573d6000803e3d6000fd5b50732bdb46441007c395bcc5b97df3941fdfb9d5d78d6108fc6064611530846005613a9c565b61153a9190613ad1565b6040518115909202916000818181858888f19350505050158015611562573d6000803e3d6000fd5b5073c9f2697736bdf75feb8a2f77905c0ef273a102b06108fc6064611588846001613a9c565b6115929190613ad1565b6040518115909202916000818181858888f193505050501580156115ba573d6000803e3d6000fd5b50733bae9d1a0d5ceb9df403dd6f0c088ca086c49a016108fc60646115e0846004613a9c565b6115ea9190613ad1565b6040518115909202916000818181858888f19350505050158015611612573d6000803e3d6000fd5b50738f973f7bae949eb900233299ff6a5f2a09ef51686108fc6064611638846015613a9c565b6116429190613ad1565b6040518115909202916000818181858888f19350505050158015610ce9573d6000803e3d6000fd5b604080518082019091526010546001600160a01b038116808352600160a01b90910462ffffff16602083018190529091600091612710906116ab9086613a9c565b6116b59190613ad1565b9150509250929050565b60006116ca83611c05565b82106117235760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610a6b565b600080549080805b838110156117ee57600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff161515928101929092521561179057805192505b80604001511561179f57600092505b876001600160a01b0316836001600160a01b031614156117db57868414156117cd5750935061096a92505050565b836117d781613ae5565b9450505b50806117e681613ae5565b91505061172b565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610a6b565b610ba3838383604051806020016040528060008152506121cb565b6000611874826129c7565b80519091506000906001600160a01b0316336001600160a01b031614806118ab5750336118a084610a02565b6001600160a01b0316145b806118bd575081516118bd9033610911565b90508061191e5760405162461bcd60e51b815260206004820152602960248201527f455243373231413a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b6064820152608401610a6b565b610ba383612ad0565b6000805481805b828110156119bf57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906119ac578583141561199e5750949350505050565b826119a881613ae5565b9350505b50806119b781613ae5565b91505061192e565b5060405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610a6b565b6008546001600160a01b03163314611a3e5760405162461bcd60e51b8152600401610a6b90613a67565b611a4782612619565b611a635760405162461bcd60e51b8152600401610a6b90613b00565b60008281526019602090815260409091208251610ba392840190613395565b60128054611a8f906139ff565b80601f0160208091040260200160405190810160405280929190818152602001828054611abb906139ff565b8015611b085780601f10611add57610100808354040283529160200191611b08565b820191906000526020600020905b815481529060010190602001808311611aeb57829003601f168201915b505050505081565b6008546001600160a01b03163314611b3a5760405162461bcd60e51b8152600401610a6b90613a67565b8051610ce9906011906020840190613395565b6000611b58826129c7565b5192915050565b6008546001600160a01b03163314611b895760405162461bcd60e51b8152600401610a6b90613a67565b6013546301000000900460ff1615611be35760405162461bcd60e51b815260206004820181905260248201527f436f6e747261637420686173206265656e20616c7265616479207365616c65646044820152606401610a6b565b6013805463ff00000019166301000000179055565b60118054611a8f906139ff565b60006001600160a01b038216611c715760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610a6b565b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b03163314611cc05760405162461bcd60e51b8152600401610a6b90613a67565b611cca6000612c7a565b565b323314611d1b5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610a6b565b60135460ff16611d665760405162461bcd60e51b81526020600482015260166024820152755468652073616c65206973206e6f742061637469766560501b6044820152606401610a6b565b60135466b8bdb97852000090610100900460ff1615611dfd576103e883611d8b610ba8565b611d959190613b4f565b1115611db35760405162461bcd60e51b8152600401610a6b90613b67565b60185433600090815260156020526040902054611dd1908590613b4f565b1115611def5760405162461bcd60e51b8152600401610a6b90613b9e565b50669536c708910000611ed3565b60135462010000900460ff1615611e9757611e1c6103e86107d0613b4f565b83611e25610ba8565b611e2f9190613b4f565b1115611e4d5760405162461bcd60e51b8152600401610a6b90613b67565b60185433600090815260166020526040902054611e6b908590613b4f565b1115611e895760405162461bcd60e51b8152600401610a6b90613b9e565b5066ae153d89fe8000611ed3565b60185433600090815260176020526040902054611eb5908590613b4f565b1115611ed35760405162461bcd60e51b8152600401610a6b90613b9e565b60145483611edf610ba8565b611ee99190613b4f565b1115611f075760405162461bcd60e51b8152600401610a6b90613b67565b601354600090610100900460ff16611f375760135462010000900460ff16611f30576002611f3a565b6001611f3a565b60005b60ff16905080600214611fb757604080516020808201849052338284015282518083038401815260609092019092528051910120611f788185612ccc565b611fb55760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21031b7bab837b760911b6044820152606401610a6b565b505b611fc18483613a9c565b341015611ffe5760405162461bcd60e51b815260206004820152600b60248201526a57726f6e6720707269636560a81b6044820152606401610a6b565b601354610100900460ff161561203857336000908152601560205260408120805486929061202d908490613b4f565b9091555061208d9050565b60135462010000900460ff161561206857336000908152601660205260408120805486929061202d908490613b4f565b3360009081526017602052604081208054869290612087908490613b4f565b90915550505b6120973385612db4565b50505050565b6008546001600160a01b031633146120c75760405162461bcd60e51b8152600401610a6b90613a67565b610ce98282612dce565b604080516060810182526000808252602082018190529181019190915261096a826129c7565b60606003805461097f906139ff565b6001600160a01b03821633141561215f5760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610a6b565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6121d68484846126cf565b6121e284848484612e6a565b6120975760405162461bcd60e51b8152600401610a6b90613be3565b6008546001600160a01b031633146122285760405162461bcd60e51b8152600401610a6b90613a67565b600c819055600954600a54600b546040516305d3b1d360e41b81526004810192909252600160a01b83046001600160401b03166024830152640100000000810461ffff16604483015263ffffffff808216606484015266010000000000009091041660848201526001600160a01b0390911690635d3b1d309060a401602060405180830381600087803b1580156122be57600080fd5b505af11580156122d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122f69190613c36565b600e5550565b6008546001600160a01b031633146123265760405162461bcd60e51b8152600401610a6b90613a67565b60145482516123359083613a9c565b61233d610ba8565b6123479190613b4f565b11156123655760405162461bcd60e51b8152600401610a6b90613b67565b60005b8251811015610ba35761239483828151811061238657612386613c4f565b602002602001015183612db4565b8061239e81613ae5565b915050612368565b60606123b182612619565b6123cd5760405162461bcd60e51b8152600401610a6b90613b00565b600082815260196020526040812080546123e6906139ff565b9050111561248c5760008281526019602052604090208054612407906139ff565b80601f0160208091040260200160405190810160405280929190818152602001828054612433906139ff565b80156124805780601f1061245557610100808354040283529160200191612480565b820191906000526020600020905b81548152906001019060200180831161246357829003601f168201915b50505050509050919050565b6000612496612f78565b905060008151116124b657604051806020016040528060008152506124e4565b806124c084612f87565b60126040516020016124d493929190613c65565b6040516020818303038152906040525b9392505050565b6008546001600160a01b031633146125155760405162461bcd60e51b8152600401610a6b90613a67565b62ffffff939093166018556013805461ffff191692151561ff00191692909217610100911515919091021762ff000019166201000092151592909202919091179055565b6008546001600160a01b031633146125835760405162461bcd60e51b8152600401610a6b90613a67565b6001600160a01b0381166125e85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a6b565b6125f181612c7a565b50565b60006001600160e01b0319821663152a902d60e11b148061096a575061096a82613084565b600080548210801561096a575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600c54816000815181106126b6576126b6613c4f565b60200260200101516126c89190613d29565b600d555050565b60006126da826129c7565b80519091506000906001600160a01b0316336001600160a01b0316148061271157503361270684610a02565b6001600160a01b0316145b80612723575081516127239033610911565b90508061278d5760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610a6b565b846001600160a01b031682600001516001600160a01b0316146128015760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610a6b565b6001600160a01b0384166128655760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610a6b565b6128756000848460000151612644565b6001600160a01b03808616600090815260056020908152604080832080546000196001600160401b0380831691909101811667ffffffffffffffff1992831617909255948916808552828520805480841660019081018516919098161790558885526004909352908320805442909216600160a01b026001600160e01b031990921690921717905590612909908590613b4f565b6000818152600460205260409020549091506001600160a01b031661297d5761293181612619565b1561297d57825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b60408051606081018252600080825260208201819052918101919091526129ed82612619565b612a4c5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610a6b565b815b600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215801590612ab157508060400151155b15612abd579392505050565b5080612ac881613d3d565b915050612a4e565b6000612adb826129c7565b9050612aed6000838360000151612644565b80516001600160a01b039081166000908152600560209081526040808320805467ffffffffffffffff1981166001600160401b0391821660001901821617909155855185168452818420805467ffffffffffffffff60801b198116600160801b9182900484166001908101851690920217909155865188865260049094529184208054600160e01b949096166001600160e01b031990961695909517600160a01b42909216919091021760ff60e01b19169190911790925590612bb1908490613b4f565b6000818152600460205260409020549091506001600160a01b0316612c2557612bd981612619565b15612c2557815160008281526004602090815260409091208054918501516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b815160405184916000916001600160a01b03909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a460018054906000612c7083613ae5565b9190505550505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008060018484604001518560000151866020015160405160008152602001604052604051612d17949392919093845260ff9290921660208401526040830152606082015260800190565b6020604051602081039080840390855afa158015612d39573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612d9c5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610a6b565b601a546001600160a01b039081169116149392505050565b610ce98282604051806020016040528060008152506130ef565b612710811115612e205760405162461bcd60e51b815260206004820152601a60248201527f45524332393831526f79616c746965733a20546f6f20686967680000000000006044820152606401610a6b565b604080518082019091526001600160a01b0390921680835262ffffff909116602090920182905260108054600160a01b9093026001600160b81b0319909316909117919091179055565b60006001600160a01b0384163b15612f6c57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612eae903390899088908890600401613d54565b602060405180830381600087803b158015612ec857600080fd5b505af1925050508015612ef8575060408051601f3d908101601f19168201909252612ef591810190613d91565b60015b612f52573d808015612f26576040519150601f19603f3d011682016040523d82523d6000602084013e612f2b565b606091505b508051612f4a5760405162461bcd60e51b8152600401610a6b90613be3565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612f70565b5060015b949350505050565b60606011805461097f906139ff565b606081612fab5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612fd55780612fbf81613ae5565b9150612fce9050600a83613ad1565b9150612faf565b6000816001600160401b03811115612fef57612fef613546565b6040519080825280601f01601f191660200182016040528015613019576020820181803683370190505b5090505b8415612f705761302e600183613a50565b915061303b600a86613d29565b613046906030613b4f565b60f81b81838151811061305b5761305b613c4f565b60200101906001600160f81b031916908160001a90535061307d600a86613ad1565b945061301d565b60006001600160e01b031982166380ac58cd60e01b14806130b557506001600160e01b03198216635b5e139f60e01b145b806130d057506001600160e01b0319821663780e9d6360e01b145b8061096a57506301ffc9a760e01b6001600160e01b031983161461096a565b610ba383838360016000546001600160a01b03851661315a5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610a6b565b61316381612619565b156131b05760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610a6b565b600084116132115760405162461bcd60e51b815260206004820152602860248201527f455243373231413a207175616e74697479206d75737420626520677265617465604482015267072207468616e20360c41b6064820152608401610a6b565b6001600160a01b038516600090815260056020526040812080548692906132429084906001600160401b0316613dae565b82546101009290920a6001600160401b038181021990931691831602179091556001600160a01b03871660009081526005602052604090208054879350909160089161329c91859168010000000000000000900416613dae565b82546001600160401b039182166101009390930a9283029282021916919091179091556000838152600460205260408120805442909316600160a01b026001600160e01b03199093166001600160a01b038a1617929092179091558291505b8581101561338a5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4831561336a5761334e6000888488612e6a565b61336a5760405162461bcd60e51b8152600401610a6b90613be3565b8161337481613ae5565b925050808061338290613ae5565b9150506132fb565b5060008190556129bf565b8280546133a1906139ff565b90600052602060002090601f0160209004810192826133c35760008555613409565b82601f106133dc57805160ff1916838001178555613409565b82800160010185558215613409579182015b828111156134095782518255916020019190600101906133ee565b50613415929150613419565b5090565b5b80821115613415576000815560010161341a565b6001600160e01b0319811681146125f157600080fd5b60006020828403121561345657600080fd5b81356124e48161342e565b60005b8381101561347c578181015183820152602001613464565b838111156120975750506000910152565b600081518084526134a5816020860160208601613461565b601f01601f19169290920160200192915050565b6020815260006124e4602083018461348d565b6000602082840312156134de57600080fd5b5035919050565b80356001600160a01b03811681146134fc57600080fd5b919050565b6000806040838503121561351457600080fd5b61351d836134e5565b946020939093013593505050565b60006020828403121561353d57600080fd5b6124e4826134e5565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561358457613584613546565b604052919050565b60006001600160401b038211156135a5576135a5613546565b5060051b60200190565b600080604083850312156135c257600080fd5b823591506020808401356001600160401b038111156135e057600080fd5b8401601f810186136135f157600080fd5b80356136046135ff8261358c565b61355c565b81815260059190911b8201830190838101908883111561362357600080fd5b928401925b8284101561364157833582529284019290840190613628565b80955050505050509250929050565b60008060006060848603121561366557600080fd5b61366e846134e5565b925061367c602085016134e5565b9150604084013590509250925092565b6000806040838503121561369f57600080fd5b50508035926020909101359150565b60006001600160401b038311156136c7576136c7613546565b6136da601f8401601f191660200161355c565b90508281528383830111156136ee57600080fd5b828260208301376000602084830101529392505050565b600082601f83011261371657600080fd5b6124e4838335602085016136ae565b6000806040838503121561373857600080fd5b8235915060208301356001600160401b0381111561375557600080fd5b6116b585828601613705565b60006020828403121561377357600080fd5b81356001600160401b0381111561378957600080fd5b612f7084828501613705565b60008082840360808112156137a957600080fd5b833592506060601f19820112156137bf57600080fd5b50604051606081018181106001600160401b03821117156137e2576137e2613546565b80604052506020840135815260408401356020820152606084013560ff8116811461380c57600080fd5b6040820152919491935090915050565b803580151581146134fc57600080fd5b6000806040838503121561383f57600080fd5b613848836134e5565b91506138566020840161381c565b90509250929050565b6000806000806080858703121561387557600080fd5b61387e856134e5565b935061388c602086016134e5565b92506040850135915060608501356001600160401b038111156138ae57600080fd5b8501601f810187136138bf57600080fd5b6138ce878235602084016136ae565b91505092959194509250565b600080604083850312156138ed57600080fd5b82356001600160401b0381111561390357600080fd5b8301601f8101851361391457600080fd5b803560206139246135ff8361358c565b82815260059290921b8301810191818101908884111561394357600080fd5b938201935b8385101561396857613959856134e5565b82529382019390820190613948565b98969091013596505050505050565b6000806000806080858703121561398d57600080fd5b843562ffffff811681146139a057600080fd5b93506139ae6020860161381c565b92506139bc6040860161381c565b91506139ca6060860161381c565b905092959194509250565b600080604083850312156139e857600080fd5b6139f1836134e5565b9150613856602084016134e5565b600181811c90821680613a1357607f821691505b60208210811415613a3457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082821015613a6257613a62613a3a565b500390565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000816000190483118215151615613ab657613ab6613a3a565b500290565b634e487b7160e01b600052601260045260246000fd5b600082613ae057613ae0613abb565b500490565b6000600019821415613af957613af9613a3a565b5060010190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60008219821115613b6257613b62613a3a565b500190565b60208082526019908201527f4e6f7420656e6f75676820417274696661637473206c65667400000000000000604082015260600190565b60208082526025908201527f596f752063616e2774206d696e74206d6f7265207468616e207468617420666f60408201526472206e6f7760d81b606082015260800190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b600060208284031215613c4857600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b600084516020613c788285838a01613461565b855191840191613c8b8184848a01613461565b8554920191600090600181811c9080831680613ca857607f831692505b858310811415613cc657634e487b7160e01b85526022600452602485fd5b808015613cda5760018114613ceb57613d18565b60ff19851688528388019550613d18565b60008b81526020902060005b85811015613d105781548a820152908401908801613cf7565b505083880195505b50939b9a5050505050505050505050565b600082613d3857613d38613abb565b500690565b600081613d4c57613d4c613a3a565b506000190190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613d879083018461348d565b9695505050505050565b600060208284031215613da357600080fd5b81516124e48161342e565b60006001600160401b03808316818516808303821115613dd057613dd0613a3a565b0194935050505056fea26469706673582212200210233e093b31bd1dd9f1d14b4263b97f0bfccc6de64ec6ddf2504259c9eceb64736f6c63430008090033

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

0000000000000000000000000000000000000000000000000000000000000123000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e699099fe0eebf5e446e3c998ec9bb19951541aee00bb90ea201ae456421a2ded86805

-----Decoded View---------------
Arg [0] : subscriptionId (uint64): 291
Arg [1] : vrfCoordinator (address): 0x271682DEB8C4E0901D1a1550aD2e64D568E69909
Arg [2] : m_keyHash (bytes32): 0x9fe0eebf5e446e3c998ec9bb19951541aee00bb90ea201ae456421a2ded86805

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000123
Arg [1] : 000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e69909
Arg [2] : 9fe0eebf5e446e3c998ec9bb19951541aee00bb90ea201ae456421a2ded86805


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.