ETH Price: $3,383.81 (-1.10%)
Gas: 7.02 Gwei

Contract

0xbe12fb32d2651001241282eE93A701A2d1577E18
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...155652242022-09-19 4:36:23799 days ago1663562183IN
0xbe12fb32...2d1577E18
0 ETH0.000107924.35672135
Set Approval For...155249102022-09-13 4:23:16805 days ago1663042996IN
0xbe12fb32...2d1577E18
0 ETH0.000307356.57167253
Set Approval For...155069912022-09-10 5:11:56808 days ago1662786716IN
0xbe12fb32...2d1577E18
0 ETH0.000406988.71763404
Set Approval For...154963282022-09-08 11:33:15810 days ago1662636795IN
0xbe12fb32...2d1577E18
0 ETH0.000483210.3503906
Set Approval For...154961532022-09-08 10:54:26810 days ago1662634466IN
0xbe12fb32...2d1577E18
0 ETH0.000430299.21693529
Set Approval For...154951252022-09-08 6:47:45810 days ago1662619665IN
0xbe12fb32...2d1577E18
0 ETH0.00037097.94480418
Set Approval For...154951072022-09-08 6:44:53810 days ago1662619493IN
0xbe12fb32...2d1577E18
0 ETH0.000460589.86589969
Set Approval For...154949792022-09-08 6:16:25810 days ago1662617785IN
0xbe12fb32...2d1577E18
0 ETH0.000454169.72821766
Set Approval For...154949022022-09-08 5:57:23810 days ago1662616643IN
0xbe12fb32...2d1577E18
0 ETH0.0005197311.13282062
Withdraw154945652022-09-08 4:42:52810 days ago1662612172IN
0xbe12fb32...2d1577E18
0 ETH0.0003764212.27743704
Set Approval For...154945192022-09-08 4:31:33810 days ago1662611493IN
0xbe12fb32...2d1577E18
0 ETH0.0007453715.9660436
Set Approval For...154939332022-09-08 2:22:41811 days ago1662603761IN
0xbe12fb32...2d1577E18
0 ETH0.0007112615.20810135
Set Approval For...154938942022-09-08 2:10:55811 days ago1662603055IN
0xbe12fb32...2d1577E18
0 ETH0.000327337.01158488
Set Approval For...154938472022-09-08 2:02:03811 days ago1662602523IN
0xbe12fb32...2d1577E18
0 ETH0.0004865910.42304493
Set Approval For...154938412022-09-08 2:00:47811 days ago1662602447IN
0xbe12fb32...2d1577E18
0 ETH0.0005160211.05326737
Set Approval For...154936992022-09-08 1:31:19811 days ago1662600679IN
0xbe12fb32...2d1577E18
0 ETH0.0009885121.17409151
Set Approval For...154936732022-09-08 1:25:44811 days ago1662600344IN
0xbe12fb32...2d1577E18
0 ETH0.001828139.15835457
Set Approval For...154935682022-09-08 0:59:44811 days ago1662598784IN
0xbe12fb32...2d1577E18
0 ETH0.000465799.95946469
Set Approval For...154935562022-09-08 0:57:19811 days ago1662598639IN
0xbe12fb32...2d1577E18
0 ETH0.0006077313.01768421
Set Approval For...154935532022-09-08 0:56:26811 days ago1662598586IN
0xbe12fb32...2d1577E18
0 ETH0.0005262111.27153084
Set Approval For...154935492022-09-08 0:54:42811 days ago1662598482IN
0xbe12fb32...2d1577E18
0 ETH0.000330867.08715357
Set Approval For...154935462022-09-08 0:54:10811 days ago1662598450IN
0xbe12fb32...2d1577E18
0 ETH0.000424919.10178715
Public Mint154935332022-09-08 0:51:03811 days ago1662598263IN
0xbe12fb32...2d1577E18
0.02 ETH0.00023848.99434791
Set Approval For...154935322022-09-08 0:49:39811 days ago1662598179IN
0xbe12fb32...2d1577E18
0 ETH0.000391298.38168093
Set Approval For...154935302022-09-08 0:49:13811 days ago1662598153IN
0xbe12fb32...2d1577E18
0 ETH0.00032646.99174968
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
154945652022-09-08 4:42:52810 days ago1662612172
0xbe12fb32...2d1577E18
9.75 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
NamidaPass

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : NamidaPass.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

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

contract NamidaPass is ERC721A, Ownable {
    string public baseURI = "ipfs://QmcJJ1NGbVnW9biEWY7AgxQMKBnqETYiWjBF3MwsTbX2M1/";

    uint256 public immutable mintPrice = 0.005 ether;
    uint32 public immutable maxSupply = 2445;
    uint32 public immutable airDropSupply = 5555;
    uint32 public immutable perTxLimit = 5;

    modifier callerIsUser() {
        require(tx.origin == msg.sender, "The caller is another contract");
        _;
    }

    constructor()
    ERC721A ("NamidaPass", "NP") {
    }

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

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

    function _startTokenId() internal view virtual override(ERC721A) returns (uint256) {
        return 0;
    }

    function publicMint(uint32 amount) public payable callerIsUser{
        require(totalSupply() + amount <= maxSupply,"sold out");
        require(amount <= perTxLimit,"max 5 amount");
        _safeMint(msg.sender, amount);
    }

    function airDrop(address[] memory addrs,uint32[] memory amounts)  public onlyOwner {
        uint arrayLength = addrs.length;
        for (uint i=0; i<arrayLength; i++) {
            _safeMint(addrs[i], amounts[i]);
        }
    }

    function withdraw() public onlyOwner {
        uint256 sendAmount = address(this).balance;

        address h = payable(msg.sender);

        bool success;

        (success, ) = h.call{value: sendAmount}("");
        require(success, "Transaction Unsuccessful");
    }
}

File 2 of 12 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error BurnedQueryForZeroAddress();
error AuxQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
        if (to == address(0)) revert TransferToZeroAddress();

        _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.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        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)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _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.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[prevOwnership.addr].balance -= 1;
            _addressData[prevOwnership.addr].numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            _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 burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

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

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

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

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

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

File 3 of 12 : 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 4 of 12 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

File 6 of 12 : 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 7 of 12 : 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 8 of 12 : 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 9 of 12 : 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 10 of 12 : 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 11 of 12 : 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 12 of 12 : 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address[]","name":"addrs","type":"address[]"},{"internalType":"uint32[]","name":"amounts","type":"uint32[]"}],"name":"airDrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"airDropSupply","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","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":"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":"perTxLimit","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"amount","type":"uint32"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

610100604052604051806060016040528060368152602001620039f960369139600990805190602001906200003692919062000240565b506611c37937e0800060809081525061098d63ffffffff1660a09063ffffffff168152506115b363ffffffff1660c09063ffffffff16815250600563ffffffff1660e09063ffffffff168152503480156200009057600080fd5b506040518060400160405280600a81526020017f4e616d69646150617373000000000000000000000000000000000000000000008152506040518060400160405280600281526020017f4e5000000000000000000000000000000000000000000000000000000000000081525081600290805190602001906200011592919062000240565b5080600390805190602001906200012e92919062000240565b506200013f6200016d60201b60201c565b6000819055505050620001676200015b6200017260201b60201c565b6200017a60201b60201c565b62000355565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200024e906200031f565b90600052602060002090601f016020900481019282620002725760008555620002be565b82601f106200028d57805160ff1916838001178555620002be565b82800160010185558215620002be579182015b82811115620002bd578251825591602001919060010190620002a0565b5b509050620002cd9190620002d1565b5090565b5b80821115620002ec576000816000905550600101620002d2565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200033857607f821691505b602082108114156200034f576200034e620002f0565b5b50919050565b60805160a05160c05160e05161365c6200039d600039600081816111bd01526113640152600061092d01526000818161119901526112e301526000610b56015261365c6000f3fe6080604052600436106101815760003560e01c806370a08231116100d1578063c87b56dd1161008a578063df77294111610064578063df7729411461055c578063e985e9c514610587578063f151d791146105c4578063f2fde38b146105e057610181565b8063c87b56dd146104cb578063d4173ab314610508578063d5abeb011461053157610181565b806370a08231146103cf578063715018a61461040c5780638da5cb5b1461042357806395d89b411461044e578063a22cb46514610479578063b88d4fde146104a257610181565b80633a16b3471161013e57806355f804b31161011857806355f804b3146103135780636352211e1461033c5780636817c76c146103795780636c0360eb146103a457610181565b80633a16b347146102a85780633ccfd60b146102d357806342842e0e146102ea57610181565b806301ffc9a71461018657806306fdde03146101c3578063081812fc146101ee578063095ea7b31461022b57806318160ddd1461025457806323b872dd1461027f575b600080fd5b34801561019257600080fd5b506101ad60048036038101906101a891906126f5565b610609565b6040516101ba919061273d565b60405180910390f35b3480156101cf57600080fd5b506101d86106eb565b6040516101e591906127f1565b60405180910390f35b3480156101fa57600080fd5b5061021560048036038101906102109190612849565b61077d565b60405161022291906128b7565b60405180910390f35b34801561023757600080fd5b50610252600480360381019061024d91906128fe565b6107f9565b005b34801561026057600080fd5b50610269610904565b604051610276919061294d565b60405180910390f35b34801561028b57600080fd5b506102a660048036038101906102a19190612968565b61091b565b005b3480156102b457600080fd5b506102bd61092b565b6040516102ca91906129da565b60405180910390f35b3480156102df57600080fd5b506102e861094f565b005b3480156102f657600080fd5b50610311600480360381019061030c9190612968565b610a88565b005b34801561031f57600080fd5b5061033a60048036038101906103359190612b2a565b610aa8565b005b34801561034857600080fd5b50610363600480360381019061035e9190612849565b610b3e565b60405161037091906128b7565b60405180910390f35b34801561038557600080fd5b5061038e610b54565b60405161039b919061294d565b60405180910390f35b3480156103b057600080fd5b506103b9610b78565b6040516103c691906127f1565b60405180910390f35b3480156103db57600080fd5b506103f660048036038101906103f19190612b73565b610c06565b604051610403919061294d565b60405180910390f35b34801561041857600080fd5b50610421610cd6565b005b34801561042f57600080fd5b50610438610d5e565b60405161044591906128b7565b60405180910390f35b34801561045a57600080fd5b50610463610d88565b60405161047091906127f1565b60405180910390f35b34801561048557600080fd5b506104a0600480360381019061049b9190612bcc565b610e1a565b005b3480156104ae57600080fd5b506104c960048036038101906104c49190612cad565b610f92565b005b3480156104d757600080fd5b506104f260048036038101906104ed9190612849565b61100e565b6040516104ff91906127f1565b60405180910390f35b34801561051457600080fd5b5061052f600480360381019061052a9190612ee7565b6110ad565b005b34801561053d57600080fd5b50610546611197565b60405161055391906129da565b60405180910390f35b34801561056857600080fd5b506105716111bb565b60405161057e91906129da565b60405180910390f35b34801561059357600080fd5b506105ae60048036038101906105a99190612f5f565b6111df565b6040516105bb919061273d565b60405180910390f35b6105de60048036038101906105d99190612f9f565b611273565b005b3480156105ec57600080fd5b5061060760048036038101906106029190612b73565b6113e4565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106d457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106e457506106e3826114dc565b5b9050919050565b6060600280546106fa90612ffb565b80601f016020809104026020016040519081016040528092919081815260200182805461072690612ffb565b80156107735780601f1061074857610100808354040283529160200191610773565b820191906000526020600020905b81548152906001019060200180831161075657829003601f168201915b5050505050905090565b600061078882611546565b6107be576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061080482610b3e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561086c576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661088b611594565b73ffffffffffffffffffffffffffffffffffffffff16141580156108bd57506108bb816108b6611594565b6111df565b155b156108f4576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6108ff83838361159c565b505050565b600061090e61164e565b6001546000540303905090565b610926838383611653565b505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b610957611594565b73ffffffffffffffffffffffffffffffffffffffff16610975610d5e565b73ffffffffffffffffffffffffffffffffffffffff16146109cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c290613079565b60405180910390fd5b6000479050600033905060008173ffffffffffffffffffffffffffffffffffffffff16836040516109fb906130ca565b60006040518083038185875af1925050503d8060008114610a38576040519150601f19603f3d011682016040523d82523d6000602084013e610a3d565b606091505b50508091505080610a83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7a9061312b565b60405180910390fd5b505050565b610aa383838360405180602001604052806000815250610f92565b505050565b610ab0611594565b73ffffffffffffffffffffffffffffffffffffffff16610ace610d5e565b73ffffffffffffffffffffffffffffffffffffffff1614610b24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1b90613079565b60405180910390fd5b8060099080519060200190610b3a9291906125a3565b5050565b6000610b4982611b44565b600001519050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60098054610b8590612ffb565b80601f0160208091040260200160405190810160405280929190818152602001828054610bb190612ffb565b8015610bfe5780601f10610bd357610100808354040283529160200191610bfe565b820191906000526020600020905b815481529060010190602001808311610be157829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c6e576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b610cde611594565b73ffffffffffffffffffffffffffffffffffffffff16610cfc610d5e565b73ffffffffffffffffffffffffffffffffffffffff1614610d52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4990613079565b60405180910390fd5b610d5c6000611dd3565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054610d9790612ffb565b80601f0160208091040260200160405190810160405280929190818152602001828054610dc390612ffb565b8015610e105780601f10610de557610100808354040283529160200191610e10565b820191906000526020600020905b815481529060010190602001808311610df357829003601f168201915b5050505050905090565b610e22611594565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e87576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000610e94611594565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610f41611594565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610f86919061273d565b60405180910390a35050565b610f9d848484611653565b610fbc8373ffffffffffffffffffffffffffffffffffffffff16611e99565b8015610fd15750610fcf84848484611ebc565b155b15611008576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b606061101982611546565b61104f576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061105961200d565b905060008151141561107a57604051806020016040528060008152506110a5565b806110848461209f565b604051602001611095929190613187565b6040516020818303038152906040525b915050919050565b6110b5611594565b73ffffffffffffffffffffffffffffffffffffffff166110d3610d5e565b73ffffffffffffffffffffffffffffffffffffffff1614611129576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112090613079565b60405180910390fd5b60008251905060005b818110156111915761117e8482815181106111505761114f6131ab565b5b602002602001015184838151811061116b5761116a6131ab565b5b602002602001015163ffffffff16612200565b808061118990613209565b915050611132565b50505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146112e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d89061329e565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000063ffffffff168163ffffffff16611317610904565b61132191906132be565b1115611362576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135990613360565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000063ffffffff168163ffffffff1611156113d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c8906133cc565b60405180910390fd5b6113e1338263ffffffff16612200565b50565b6113ec611594565b73ffffffffffffffffffffffffffffffffffffffff1661140a610d5e565b73ffffffffffffffffffffffffffffffffffffffff1614611460576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145790613079565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c79061345e565b60405180910390fd5b6114d981611dd3565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008161155161164e565b11158015611560575060005482105b801561158d575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b600061165e82611b44565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16611685611594565b73ffffffffffffffffffffffffffffffffffffffff1614806116b857506116b782600001516116b2611594565b6111df565b5b806116fd57506116c6611594565b73ffffffffffffffffffffffffffffffffffffffff166116e58461077d565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611736576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461179f576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611806576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611813858585600161221e565b611823600084846000015161159c565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611ad457600054811015611ad35782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611b3d8585856001612224565b5050505050565b611b4c612629565b600082905080611b5a61164e565b11158015611b69575060005481105b15611d9c576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151611d9a57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611c7e578092505050611dce565b5b600115611d9957818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611d94578092505050611dce565b611c7f565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611ee2611594565b8786866040518563ffffffff1660e01b8152600401611f0494939291906134d3565b6020604051808303816000875af1925050508015611f4057506040513d601f19601f82011682018060405250810190611f3d9190613534565b60015b611fba573d8060008114611f70576040519150601f19603f3d011682016040523d82523d6000602084013e611f75565b606091505b50600081511415611fb2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606009805461201c90612ffb565b80601f016020809104026020016040519081016040528092919081815260200182805461204890612ffb565b80156120955780601f1061206a57610100808354040283529160200191612095565b820191906000526020600020905b81548152906001019060200180831161207857829003601f168201915b5050505050905090565b606060008214156120e7576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506121fb565b600082905060005b6000821461211957808061210290613209565b915050600a826121129190613590565b91506120ef565b60008167ffffffffffffffff811115612135576121346129ff565b5b6040519080825280601f01601f1916602001820160405280156121675781602001600182028036833780820191505090505b5090505b600085146121f45760018261218091906135c1565b9150600a8561218f91906135f5565b603061219b91906132be565b60f81b8183815181106121b1576121b06131ab565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856121ed9190613590565b945061216b565b8093505050505b919050565b61221a82826040518060200160405280600081525061222a565b5050565b50505050565b50505050565b612237838383600161223c565b505050565b600080549050600084141561227d576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61228a600086838761221e565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561245457506124538773ffffffffffffffffffffffffffffffffffffffff16611e99565b5b1561251a575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124c96000888480600101955088611ebc565b6124ff576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082141561245a57826000541461251557600080fd5b612586565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082141561251b575b81600081905550505061259c6000868387612224565b5050505050565b8280546125af90612ffb565b90600052602060002090601f0160209004810192826125d15760008555612618565b82601f106125ea57805160ff1916838001178555612618565b82800160010185558215612618579182015b828111156126175782518255916020019190600101906125fc565b5b509050612625919061266c565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561268557600081600090555060010161266d565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6126d28161269d565b81146126dd57600080fd5b50565b6000813590506126ef816126c9565b92915050565b60006020828403121561270b5761270a612693565b5b6000612719848285016126e0565b91505092915050565b60008115159050919050565b61273781612722565b82525050565b6000602082019050612752600083018461272e565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612792578082015181840152602081019050612777565b838111156127a1576000848401525b50505050565b6000601f19601f8301169050919050565b60006127c382612758565b6127cd8185612763565b93506127dd818560208601612774565b6127e6816127a7565b840191505092915050565b6000602082019050818103600083015261280b81846127b8565b905092915050565b6000819050919050565b61282681612813565b811461283157600080fd5b50565b6000813590506128438161281d565b92915050565b60006020828403121561285f5761285e612693565b5b600061286d84828501612834565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006128a182612876565b9050919050565b6128b181612896565b82525050565b60006020820190506128cc60008301846128a8565b92915050565b6128db81612896565b81146128e657600080fd5b50565b6000813590506128f8816128d2565b92915050565b6000806040838503121561291557612914612693565b5b6000612923858286016128e9565b925050602061293485828601612834565b9150509250929050565b61294781612813565b82525050565b6000602082019050612962600083018461293e565b92915050565b60008060006060848603121561298157612980612693565b5b600061298f868287016128e9565b93505060206129a0868287016128e9565b92505060406129b186828701612834565b9150509250925092565b600063ffffffff82169050919050565b6129d4816129bb565b82525050565b60006020820190506129ef60008301846129cb565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612a37826127a7565b810181811067ffffffffffffffff82111715612a5657612a556129ff565b5b80604052505050565b6000612a69612689565b9050612a758282612a2e565b919050565b600067ffffffffffffffff821115612a9557612a946129ff565b5b612a9e826127a7565b9050602081019050919050565b82818337600083830152505050565b6000612acd612ac884612a7a565b612a5f565b905082815260208101848484011115612ae957612ae86129fa565b5b612af4848285612aab565b509392505050565b600082601f830112612b1157612b106129f5565b5b8135612b21848260208601612aba565b91505092915050565b600060208284031215612b4057612b3f612693565b5b600082013567ffffffffffffffff811115612b5e57612b5d612698565b5b612b6a84828501612afc565b91505092915050565b600060208284031215612b8957612b88612693565b5b6000612b97848285016128e9565b91505092915050565b612ba981612722565b8114612bb457600080fd5b50565b600081359050612bc681612ba0565b92915050565b60008060408385031215612be357612be2612693565b5b6000612bf1858286016128e9565b9250506020612c0285828601612bb7565b9150509250929050565b600067ffffffffffffffff821115612c2757612c266129ff565b5b612c30826127a7565b9050602081019050919050565b6000612c50612c4b84612c0c565b612a5f565b905082815260208101848484011115612c6c57612c6b6129fa565b5b612c77848285612aab565b509392505050565b600082601f830112612c9457612c936129f5565b5b8135612ca4848260208601612c3d565b91505092915050565b60008060008060808587031215612cc757612cc6612693565b5b6000612cd5878288016128e9565b9450506020612ce6878288016128e9565b9350506040612cf787828801612834565b925050606085013567ffffffffffffffff811115612d1857612d17612698565b5b612d2487828801612c7f565b91505092959194509250565b600067ffffffffffffffff821115612d4b57612d4a6129ff565b5b602082029050602081019050919050565b600080fd5b6000612d74612d6f84612d30565b612a5f565b90508083825260208201905060208402830185811115612d9757612d96612d5c565b5b835b81811015612dc05780612dac88826128e9565b845260208401935050602081019050612d99565b5050509392505050565b600082601f830112612ddf57612dde6129f5565b5b8135612def848260208601612d61565b91505092915050565b600067ffffffffffffffff821115612e1357612e126129ff565b5b602082029050602081019050919050565b612e2d816129bb565b8114612e3857600080fd5b50565b600081359050612e4a81612e24565b92915050565b6000612e63612e5e84612df8565b612a5f565b90508083825260208201905060208402830185811115612e8657612e85612d5c565b5b835b81811015612eaf5780612e9b8882612e3b565b845260208401935050602081019050612e88565b5050509392505050565b600082601f830112612ece57612ecd6129f5565b5b8135612ede848260208601612e50565b91505092915050565b60008060408385031215612efe57612efd612693565b5b600083013567ffffffffffffffff811115612f1c57612f1b612698565b5b612f2885828601612dca565b925050602083013567ffffffffffffffff811115612f4957612f48612698565b5b612f5585828601612eb9565b9150509250929050565b60008060408385031215612f7657612f75612693565b5b6000612f84858286016128e9565b9250506020612f95858286016128e9565b9150509250929050565b600060208284031215612fb557612fb4612693565b5b6000612fc384828501612e3b565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061301357607f821691505b6020821081141561302757613026612fcc565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613063602083612763565b915061306e8261302d565b602082019050919050565b6000602082019050818103600083015261309281613056565b9050919050565b600081905092915050565b50565b60006130b4600083613099565b91506130bf826130a4565b600082019050919050565b60006130d5826130a7565b9150819050919050565b7f5472616e73616374696f6e20556e7375636365737366756c0000000000000000600082015250565b6000613115601883612763565b9150613120826130df565b602082019050919050565b6000602082019050818103600083015261314481613108565b9050919050565b600081905092915050565b600061316182612758565b61316b818561314b565b935061317b818560208601612774565b80840191505092915050565b60006131938285613156565b915061319f8284613156565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061321482612813565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613247576132466131da565b5b600182019050919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b6000613288601e83612763565b915061329382613252565b602082019050919050565b600060208201905081810360008301526132b78161327b565b9050919050565b60006132c982612813565b91506132d483612813565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613309576133086131da565b5b828201905092915050565b7f736f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b600061334a600883612763565b915061335582613314565b602082019050919050565b600060208201905081810360008301526133798161333d565b9050919050565b7f6d6178203520616d6f756e740000000000000000000000000000000000000000600082015250565b60006133b6600c83612763565b91506133c182613380565b602082019050919050565b600060208201905081810360008301526133e5816133a9565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613448602683612763565b9150613453826133ec565b604082019050919050565b600060208201905081810360008301526134778161343b565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006134a58261347e565b6134af8185613489565b93506134bf818560208601612774565b6134c8816127a7565b840191505092915050565b60006080820190506134e860008301876128a8565b6134f560208301866128a8565b613502604083018561293e565b8181036060830152613514818461349a565b905095945050505050565b60008151905061352e816126c9565b92915050565b60006020828403121561354a57613549612693565b5b60006135588482850161351f565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061359b82612813565b91506135a683612813565b9250826135b6576135b5613561565b5b828204905092915050565b60006135cc82612813565b91506135d783612813565b9250828210156135ea576135e96131da565b5b828203905092915050565b600061360082612813565b915061360b83612813565b92508261361b5761361a613561565b5b82820690509291505056fea26469706673582212208b02b9ba947122e7388840497c1419738405bc1bda3d59338824625ba906615064736f6c634300080c0033697066733a2f2f516d634a4a314e4762566e5739626945575937416778514d4b426e7145545969576a4246334d7773546258324d312f

Deployed Bytecode

0x6080604052600436106101815760003560e01c806370a08231116100d1578063c87b56dd1161008a578063df77294111610064578063df7729411461055c578063e985e9c514610587578063f151d791146105c4578063f2fde38b146105e057610181565b8063c87b56dd146104cb578063d4173ab314610508578063d5abeb011461053157610181565b806370a08231146103cf578063715018a61461040c5780638da5cb5b1461042357806395d89b411461044e578063a22cb46514610479578063b88d4fde146104a257610181565b80633a16b3471161013e57806355f804b31161011857806355f804b3146103135780636352211e1461033c5780636817c76c146103795780636c0360eb146103a457610181565b80633a16b347146102a85780633ccfd60b146102d357806342842e0e146102ea57610181565b806301ffc9a71461018657806306fdde03146101c3578063081812fc146101ee578063095ea7b31461022b57806318160ddd1461025457806323b872dd1461027f575b600080fd5b34801561019257600080fd5b506101ad60048036038101906101a891906126f5565b610609565b6040516101ba919061273d565b60405180910390f35b3480156101cf57600080fd5b506101d86106eb565b6040516101e591906127f1565b60405180910390f35b3480156101fa57600080fd5b5061021560048036038101906102109190612849565b61077d565b60405161022291906128b7565b60405180910390f35b34801561023757600080fd5b50610252600480360381019061024d91906128fe565b6107f9565b005b34801561026057600080fd5b50610269610904565b604051610276919061294d565b60405180910390f35b34801561028b57600080fd5b506102a660048036038101906102a19190612968565b61091b565b005b3480156102b457600080fd5b506102bd61092b565b6040516102ca91906129da565b60405180910390f35b3480156102df57600080fd5b506102e861094f565b005b3480156102f657600080fd5b50610311600480360381019061030c9190612968565b610a88565b005b34801561031f57600080fd5b5061033a60048036038101906103359190612b2a565b610aa8565b005b34801561034857600080fd5b50610363600480360381019061035e9190612849565b610b3e565b60405161037091906128b7565b60405180910390f35b34801561038557600080fd5b5061038e610b54565b60405161039b919061294d565b60405180910390f35b3480156103b057600080fd5b506103b9610b78565b6040516103c691906127f1565b60405180910390f35b3480156103db57600080fd5b506103f660048036038101906103f19190612b73565b610c06565b604051610403919061294d565b60405180910390f35b34801561041857600080fd5b50610421610cd6565b005b34801561042f57600080fd5b50610438610d5e565b60405161044591906128b7565b60405180910390f35b34801561045a57600080fd5b50610463610d88565b60405161047091906127f1565b60405180910390f35b34801561048557600080fd5b506104a0600480360381019061049b9190612bcc565b610e1a565b005b3480156104ae57600080fd5b506104c960048036038101906104c49190612cad565b610f92565b005b3480156104d757600080fd5b506104f260048036038101906104ed9190612849565b61100e565b6040516104ff91906127f1565b60405180910390f35b34801561051457600080fd5b5061052f600480360381019061052a9190612ee7565b6110ad565b005b34801561053d57600080fd5b50610546611197565b60405161055391906129da565b60405180910390f35b34801561056857600080fd5b506105716111bb565b60405161057e91906129da565b60405180910390f35b34801561059357600080fd5b506105ae60048036038101906105a99190612f5f565b6111df565b6040516105bb919061273d565b60405180910390f35b6105de60048036038101906105d99190612f9f565b611273565b005b3480156105ec57600080fd5b5061060760048036038101906106029190612b73565b6113e4565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106d457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106e457506106e3826114dc565b5b9050919050565b6060600280546106fa90612ffb565b80601f016020809104026020016040519081016040528092919081815260200182805461072690612ffb565b80156107735780601f1061074857610100808354040283529160200191610773565b820191906000526020600020905b81548152906001019060200180831161075657829003601f168201915b5050505050905090565b600061078882611546565b6107be576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061080482610b3e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561086c576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661088b611594565b73ffffffffffffffffffffffffffffffffffffffff16141580156108bd57506108bb816108b6611594565b6111df565b155b156108f4576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6108ff83838361159c565b505050565b600061090e61164e565b6001546000540303905090565b610926838383611653565b505050565b7f00000000000000000000000000000000000000000000000000000000000015b381565b610957611594565b73ffffffffffffffffffffffffffffffffffffffff16610975610d5e565b73ffffffffffffffffffffffffffffffffffffffff16146109cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c290613079565b60405180910390fd5b6000479050600033905060008173ffffffffffffffffffffffffffffffffffffffff16836040516109fb906130ca565b60006040518083038185875af1925050503d8060008114610a38576040519150601f19603f3d011682016040523d82523d6000602084013e610a3d565b606091505b50508091505080610a83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7a9061312b565b60405180910390fd5b505050565b610aa383838360405180602001604052806000815250610f92565b505050565b610ab0611594565b73ffffffffffffffffffffffffffffffffffffffff16610ace610d5e565b73ffffffffffffffffffffffffffffffffffffffff1614610b24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1b90613079565b60405180910390fd5b8060099080519060200190610b3a9291906125a3565b5050565b6000610b4982611b44565b600001519050919050565b7f0000000000000000000000000000000000000000000000000011c37937e0800081565b60098054610b8590612ffb565b80601f0160208091040260200160405190810160405280929190818152602001828054610bb190612ffb565b8015610bfe5780601f10610bd357610100808354040283529160200191610bfe565b820191906000526020600020905b815481529060010190602001808311610be157829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c6e576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b610cde611594565b73ffffffffffffffffffffffffffffffffffffffff16610cfc610d5e565b73ffffffffffffffffffffffffffffffffffffffff1614610d52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4990613079565b60405180910390fd5b610d5c6000611dd3565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054610d9790612ffb565b80601f0160208091040260200160405190810160405280929190818152602001828054610dc390612ffb565b8015610e105780601f10610de557610100808354040283529160200191610e10565b820191906000526020600020905b815481529060010190602001808311610df357829003601f168201915b5050505050905090565b610e22611594565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e87576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000610e94611594565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610f41611594565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610f86919061273d565b60405180910390a35050565b610f9d848484611653565b610fbc8373ffffffffffffffffffffffffffffffffffffffff16611e99565b8015610fd15750610fcf84848484611ebc565b155b15611008576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b606061101982611546565b61104f576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061105961200d565b905060008151141561107a57604051806020016040528060008152506110a5565b806110848461209f565b604051602001611095929190613187565b6040516020818303038152906040525b915050919050565b6110b5611594565b73ffffffffffffffffffffffffffffffffffffffff166110d3610d5e565b73ffffffffffffffffffffffffffffffffffffffff1614611129576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112090613079565b60405180910390fd5b60008251905060005b818110156111915761117e8482815181106111505761114f6131ab565b5b602002602001015184838151811061116b5761116a6131ab565b5b602002602001015163ffffffff16612200565b808061118990613209565b915050611132565b50505050565b7f000000000000000000000000000000000000000000000000000000000000098d81565b7f000000000000000000000000000000000000000000000000000000000000000581565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146112e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d89061329e565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000098d63ffffffff168163ffffffff16611317610904565b61132191906132be565b1115611362576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135990613360565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000563ffffffff168163ffffffff1611156113d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c8906133cc565b60405180910390fd5b6113e1338263ffffffff16612200565b50565b6113ec611594565b73ffffffffffffffffffffffffffffffffffffffff1661140a610d5e565b73ffffffffffffffffffffffffffffffffffffffff1614611460576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145790613079565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c79061345e565b60405180910390fd5b6114d981611dd3565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008161155161164e565b11158015611560575060005482105b801561158d575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b600061165e82611b44565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16611685611594565b73ffffffffffffffffffffffffffffffffffffffff1614806116b857506116b782600001516116b2611594565b6111df565b5b806116fd57506116c6611594565b73ffffffffffffffffffffffffffffffffffffffff166116e58461077d565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611736576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461179f576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611806576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611813858585600161221e565b611823600084846000015161159c565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611ad457600054811015611ad35782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611b3d8585856001612224565b5050505050565b611b4c612629565b600082905080611b5a61164e565b11158015611b69575060005481105b15611d9c576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151611d9a57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611c7e578092505050611dce565b5b600115611d9957818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611d94578092505050611dce565b611c7f565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611ee2611594565b8786866040518563ffffffff1660e01b8152600401611f0494939291906134d3565b6020604051808303816000875af1925050508015611f4057506040513d601f19601f82011682018060405250810190611f3d9190613534565b60015b611fba573d8060008114611f70576040519150601f19603f3d011682016040523d82523d6000602084013e611f75565b606091505b50600081511415611fb2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606009805461201c90612ffb565b80601f016020809104026020016040519081016040528092919081815260200182805461204890612ffb565b80156120955780601f1061206a57610100808354040283529160200191612095565b820191906000526020600020905b81548152906001019060200180831161207857829003601f168201915b5050505050905090565b606060008214156120e7576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506121fb565b600082905060005b6000821461211957808061210290613209565b915050600a826121129190613590565b91506120ef565b60008167ffffffffffffffff811115612135576121346129ff565b5b6040519080825280601f01601f1916602001820160405280156121675781602001600182028036833780820191505090505b5090505b600085146121f45760018261218091906135c1565b9150600a8561218f91906135f5565b603061219b91906132be565b60f81b8183815181106121b1576121b06131ab565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856121ed9190613590565b945061216b565b8093505050505b919050565b61221a82826040518060200160405280600081525061222a565b5050565b50505050565b50505050565b612237838383600161223c565b505050565b600080549050600084141561227d576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61228a600086838761221e565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561245457506124538773ffffffffffffffffffffffffffffffffffffffff16611e99565b5b1561251a575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124c96000888480600101955088611ebc565b6124ff576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082141561245a57826000541461251557600080fd5b612586565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082141561251b575b81600081905550505061259c6000868387612224565b5050505050565b8280546125af90612ffb565b90600052602060002090601f0160209004810192826125d15760008555612618565b82601f106125ea57805160ff1916838001178555612618565b82800160010185558215612618579182015b828111156126175782518255916020019190600101906125fc565b5b509050612625919061266c565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561268557600081600090555060010161266d565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6126d28161269d565b81146126dd57600080fd5b50565b6000813590506126ef816126c9565b92915050565b60006020828403121561270b5761270a612693565b5b6000612719848285016126e0565b91505092915050565b60008115159050919050565b61273781612722565b82525050565b6000602082019050612752600083018461272e565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612792578082015181840152602081019050612777565b838111156127a1576000848401525b50505050565b6000601f19601f8301169050919050565b60006127c382612758565b6127cd8185612763565b93506127dd818560208601612774565b6127e6816127a7565b840191505092915050565b6000602082019050818103600083015261280b81846127b8565b905092915050565b6000819050919050565b61282681612813565b811461283157600080fd5b50565b6000813590506128438161281d565b92915050565b60006020828403121561285f5761285e612693565b5b600061286d84828501612834565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006128a182612876565b9050919050565b6128b181612896565b82525050565b60006020820190506128cc60008301846128a8565b92915050565b6128db81612896565b81146128e657600080fd5b50565b6000813590506128f8816128d2565b92915050565b6000806040838503121561291557612914612693565b5b6000612923858286016128e9565b925050602061293485828601612834565b9150509250929050565b61294781612813565b82525050565b6000602082019050612962600083018461293e565b92915050565b60008060006060848603121561298157612980612693565b5b600061298f868287016128e9565b93505060206129a0868287016128e9565b92505060406129b186828701612834565b9150509250925092565b600063ffffffff82169050919050565b6129d4816129bb565b82525050565b60006020820190506129ef60008301846129cb565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612a37826127a7565b810181811067ffffffffffffffff82111715612a5657612a556129ff565b5b80604052505050565b6000612a69612689565b9050612a758282612a2e565b919050565b600067ffffffffffffffff821115612a9557612a946129ff565b5b612a9e826127a7565b9050602081019050919050565b82818337600083830152505050565b6000612acd612ac884612a7a565b612a5f565b905082815260208101848484011115612ae957612ae86129fa565b5b612af4848285612aab565b509392505050565b600082601f830112612b1157612b106129f5565b5b8135612b21848260208601612aba565b91505092915050565b600060208284031215612b4057612b3f612693565b5b600082013567ffffffffffffffff811115612b5e57612b5d612698565b5b612b6a84828501612afc565b91505092915050565b600060208284031215612b8957612b88612693565b5b6000612b97848285016128e9565b91505092915050565b612ba981612722565b8114612bb457600080fd5b50565b600081359050612bc681612ba0565b92915050565b60008060408385031215612be357612be2612693565b5b6000612bf1858286016128e9565b9250506020612c0285828601612bb7565b9150509250929050565b600067ffffffffffffffff821115612c2757612c266129ff565b5b612c30826127a7565b9050602081019050919050565b6000612c50612c4b84612c0c565b612a5f565b905082815260208101848484011115612c6c57612c6b6129fa565b5b612c77848285612aab565b509392505050565b600082601f830112612c9457612c936129f5565b5b8135612ca4848260208601612c3d565b91505092915050565b60008060008060808587031215612cc757612cc6612693565b5b6000612cd5878288016128e9565b9450506020612ce6878288016128e9565b9350506040612cf787828801612834565b925050606085013567ffffffffffffffff811115612d1857612d17612698565b5b612d2487828801612c7f565b91505092959194509250565b600067ffffffffffffffff821115612d4b57612d4a6129ff565b5b602082029050602081019050919050565b600080fd5b6000612d74612d6f84612d30565b612a5f565b90508083825260208201905060208402830185811115612d9757612d96612d5c565b5b835b81811015612dc05780612dac88826128e9565b845260208401935050602081019050612d99565b5050509392505050565b600082601f830112612ddf57612dde6129f5565b5b8135612def848260208601612d61565b91505092915050565b600067ffffffffffffffff821115612e1357612e126129ff565b5b602082029050602081019050919050565b612e2d816129bb565b8114612e3857600080fd5b50565b600081359050612e4a81612e24565b92915050565b6000612e63612e5e84612df8565b612a5f565b90508083825260208201905060208402830185811115612e8657612e85612d5c565b5b835b81811015612eaf5780612e9b8882612e3b565b845260208401935050602081019050612e88565b5050509392505050565b600082601f830112612ece57612ecd6129f5565b5b8135612ede848260208601612e50565b91505092915050565b60008060408385031215612efe57612efd612693565b5b600083013567ffffffffffffffff811115612f1c57612f1b612698565b5b612f2885828601612dca565b925050602083013567ffffffffffffffff811115612f4957612f48612698565b5b612f5585828601612eb9565b9150509250929050565b60008060408385031215612f7657612f75612693565b5b6000612f84858286016128e9565b9250506020612f95858286016128e9565b9150509250929050565b600060208284031215612fb557612fb4612693565b5b6000612fc384828501612e3b565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061301357607f821691505b6020821081141561302757613026612fcc565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613063602083612763565b915061306e8261302d565b602082019050919050565b6000602082019050818103600083015261309281613056565b9050919050565b600081905092915050565b50565b60006130b4600083613099565b91506130bf826130a4565b600082019050919050565b60006130d5826130a7565b9150819050919050565b7f5472616e73616374696f6e20556e7375636365737366756c0000000000000000600082015250565b6000613115601883612763565b9150613120826130df565b602082019050919050565b6000602082019050818103600083015261314481613108565b9050919050565b600081905092915050565b600061316182612758565b61316b818561314b565b935061317b818560208601612774565b80840191505092915050565b60006131938285613156565b915061319f8284613156565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061321482612813565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613247576132466131da565b5b600182019050919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b6000613288601e83612763565b915061329382613252565b602082019050919050565b600060208201905081810360008301526132b78161327b565b9050919050565b60006132c982612813565b91506132d483612813565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613309576133086131da565b5b828201905092915050565b7f736f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b600061334a600883612763565b915061335582613314565b602082019050919050565b600060208201905081810360008301526133798161333d565b9050919050565b7f6d6178203520616d6f756e740000000000000000000000000000000000000000600082015250565b60006133b6600c83612763565b91506133c182613380565b602082019050919050565b600060208201905081810360008301526133e5816133a9565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613448602683612763565b9150613453826133ec565b604082019050919050565b600060208201905081810360008301526134778161343b565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006134a58261347e565b6134af8185613489565b93506134bf818560208601612774565b6134c8816127a7565b840191505092915050565b60006080820190506134e860008301876128a8565b6134f560208301866128a8565b613502604083018561293e565b8181036060830152613514818461349a565b905095945050505050565b60008151905061352e816126c9565b92915050565b60006020828403121561354a57613549612693565b5b60006135588482850161351f565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061359b82612813565b91506135a683612813565b9250826135b6576135b5613561565b5b828204905092915050565b60006135cc82612813565b91506135d783612813565b9250828210156135ea576135e96131da565b5b828203905092915050565b600061360082612813565b915061360b83612813565b92508261361b5761361a613561565b5b82820690509291505056fea26469706673582212208b02b9ba947122e7388840497c1419738405bc1bda3d59338824625ba906615064736f6c634300080c0033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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