ETH Price: $3,358.39 (-2.78%)
Gas: 3 Gwei

Contract

0xc8aee6151a7f775Fc4d5bE23C9D4452828240E42
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Set Approval For...202010512024-06-30 0:53:473 days ago1719708827IN
0xc8aee615...828240E42
0 ETH0.000035371.42768961
Safe Transfer Fr...191743772024-02-07 5:57:35146 days ago1707285455IN
0xc8aee615...828240E42
0 ETH0.0023700336.30572654
Set Approval For...187280922023-12-06 15:11:35209 days ago1701875495IN
0xc8aee615...828240E42
0 ETH0.0032547269.64223536
Set Approval For...167760612023-03-07 11:14:59483 days ago1678187699IN
0xc8aee615...828240E42
0 ETH0.0012639427.07280842
Set Approval For...167684652023-03-06 9:35:47484 days ago1678095347IN
0xc8aee615...828240E42
0 ETH0.0009334220.00344598
Set Approval For...166245602023-02-14 4:18:23505 days ago1676348303IN
0xc8aee615...828240E42
0 ETH0.0003550714.34593835
Set Approval For...163066772022-12-31 18:56:35549 days ago1672512995IN
0xc8aee615...828240E42
0 ETH0.0008168117.47756563
Set Approval For...162285622022-12-20 21:22:11560 days ago1671571331IN
0xc8aee615...828240E42
0 ETH0.0007480316.0058043
Set Approval For...159666692022-11-14 7:05:35596 days ago1668409535IN
0xc8aee615...828240E42
0 ETH0.0010720422.96244904
Set Approval For...159146752022-11-07 0:51:11604 days ago1667782271IN
0xc8aee615...828240E42
0 ETH0.0005675712.15707724
Set Approval For...158045672022-10-22 15:33:23619 days ago1666452803IN
0xc8aee615...828240E42
0 ETH0.0006787227.39540478
Set Approval For...157988702022-10-21 20:28:59620 days ago1666384139IN
0xc8aee615...828240E42
0 ETH0.0014411730.88472413
Set Approval For...157988702022-10-21 20:28:59620 days ago1666384139IN
0xc8aee615...828240E42
0 ETH0.0014437630.88472413
Set Approval For...157988102022-10-21 20:16:47620 days ago1666383407IN
0xc8aee615...828240E42
0 ETH0.0014432530.91340585
Set Approval For...157923172022-10-20 22:32:35621 days ago1666305155IN
0xc8aee615...828240E42
0 ETH0.0012078725.87172076
Set Approval For...157918502022-10-20 20:58:59621 days ago1666299539IN
0xc8aee615...828240E42
0 ETH0.0012222326.17928753
Set Approval For...157862312022-10-20 2:09:23622 days ago1666231763IN
0xc8aee615...828240E42
0 ETH0.0008417518.02985213
Set Approval For...157842952022-10-19 19:39:23622 days ago1666208363IN
0xc8aee615...828240E42
0 ETH0.0027956359.88036368
Set Approval For...157838532022-10-19 18:10:11622 days ago1666203011IN
0xc8aee615...828240E42
0 ETH0.0020435243.77065583
Set Approval For...157836642022-10-19 17:32:11622 days ago1666200731IN
0xc8aee615...828240E42
0 ETH0.00247953.09849423
Set Approval For...157836612022-10-19 17:31:35622 days ago1666200695IN
0xc8aee615...828240E42
0 ETH0.002599155.6708846
Set Approval For...157656292022-10-17 5:04:59625 days ago1665983099IN
0xc8aee615...828240E42
0 ETH0.0005484111.73152059
Set Approval For...156887882022-10-06 11:33:35635 days ago1665056015IN
0xc8aee615...828240E42
0 ETH0.000138935.61314882
Set Approval For...156437652022-09-30 4:28:11642 days ago1664512091IN
0xc8aee615...828240E42
0 ETH0.0006892314.74396522
Set Approval For...155894062022-09-22 14:14:11649 days ago1663856051IN
0xc8aee615...828240E42
0 ETH0.000711915.25630567
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Halfkingz

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

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

/*///////////////////////////////////////////////////////////////////////////////
  _   _      _       _       _____   _  __                _   _     ____   _____  
 |'| |'| U  /"\  u  |"|     |" ___| |"|/ /       ___     | \ |"| U /"___|u|"_  /u 
/| |_| |\ \/ _ \/ U | | u  U| |_  u | ' /       |_"_|   <|  \| |>\| |  _ /U / //  
U|  _  |u / ___ \  \| |/__ \|  _|/U/| . \\u      | |    U| |\  |u | |_| | \/ /_   
 |_| |_| /_/   \_\  |_____| |_|     |_|\_\     U/| |\u   |_| \_|   \____| /____|  
 //   \\  \\    >>  //  \\  )(\\,-,-,>> \\,-.-,_|___|_,-.||   \\,-._)(|_  _//<<,- 
(_") ("_)(__)  (__)(_")("_)(__)(_/ \.)   (_/ \_)-' '-(_/ (_")  (_/(__)__)(__) (_/ 

*////////////////////////////////////////////////////////////////////////////////

pragma solidity ^0.8.0;

import "erc721a/contracts/ERC721A.sol";

contract Halfkingz is ERC721A {

    address owner;
    uint256 supply;

    mapping(uint => bool) custom;
    mapping(uint => uint) URIindex;
    mapping(uint => string) public baseURIs;
    uint256 public newest = 0;

    modifier onlyOwner() {
        require(msg.sender == owner, "Not owner");
        _;
    }

    function renounceOwnership() public onlyOwner{
        owner = address(0);
    }

    function mint() external payable {
        require(totalSupply() + 1 <= supply, 'MINTED OUT!');

        _safeMint(msg.sender, 1);  

    }
    constructor()  ERC721A("Halfkingz","HALF"){
        baseURIs[0] = "ipfs://QmXuaVd8jqpK6KfRo4fPapE3vHJZK1Ls1wjwUcyS4QsMix/";
        supply= 10001;
        owner = msg.sender;
        _safeMint(msg.sender,1);
    }


    function mintedout() public view returns (bool){
        if(totalSupply() >= supply){
            return true;
        }else{
            return false;
        }
    }

    // function _baseURI(uint256 tokenID) internal view returns (string memory) {
    function _baseURI(uint256 tokenID) public view returns (string memory) {

        if(custom[tokenID] == true){
            return baseURIs[URIindex[tokenID]];

        } else {
            return baseURIs[newest];

        }
    }

    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        if(newest == 0){
            return bytes(baseURIs[0]).length != 0 ? string(abi.encodePacked(baseURIs[0], "hidden.json")) : '';
        }
        else {
            string memory baseURI = _baseURI(tokenId);
            return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId), ".json")) : '';

        }

    }

    function customURIindex (uint256 tokenID, uint256 index) public {
        require( ownerOf(tokenID) == msg.sender, "you don't own this token");
        require((keccak256(abi.encodePacked(baseURIs[index])) != keccak256(abi.encodePacked(""))));
        URIindex[tokenID] = index;
        custom[tokenID] = true;
    }

    function trackNewestURI(uint256 tokenID) public {
        require( ownerOf(tokenID)== msg.sender, "you don't own this token");
        require(custom[tokenID] == true);
        custom[tokenID] = false;
    }
    
    function addBaseURI (string memory URI, uint index) public onlyOwner {
        require((keccak256(abi.encodePacked(baseURIs[index])) == keccak256(abi.encodePacked(""))));
        baseURIs[index] = URI;
        newest = index;

    }

    function sacrifice(uint256 tokenId) public returns(string memory) {
        _burn(tokenId, true);
        return "sacrificed";
    }

    function contractURI() public view returns(string memory){
        return string(abi.encodePacked(baseURIs[newest],"contractURI.json"));
    }


}

File 2 of 3 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

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

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

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

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

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

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

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

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

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITPOS_NEXT_INITIALIZED = 225;

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

    // The bit position of `extraData` in packed ownership.
    uint256 private constant BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with `_mintERC2309`.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to `_mintERC2309`
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See `_packedOwnershipOf` implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

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

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

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

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

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

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

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

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

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view returns (uint256) {
        return _burnCounter;
    }

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

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

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

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

    /**
     * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> BITPOS_AUX);
    }

    /**
     * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

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

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an ownership that has an address and is not burned
                        // before an ownership that does not have an address and is not burned.
                        // Hence, curr will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

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

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

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, BITMASK_ADDRESS)
            // `owner | (block.timestamp << BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

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

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

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

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

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

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

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << BITPOS_NEXT_INITIALIZED`.
            result := shl(BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

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

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

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

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

        return _tokenApprovals[tokenId];
    }

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

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

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

    /**
     * @dev See {IERC721-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 {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

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

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

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

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

    /**
     * @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 for each mint.
     */
    function _mint(address to, uint256 quantity) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            uint256 tokenId = startTokenId;
            uint256 end = startTokenId + quantity;
            do {
                emit Transfer(address(0), to, tokenId++);
            } while (tokenId < end);

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

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

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

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);

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

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals;
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`.
        assembly {
            // Compute the slot.
            mstore(0x00, tokenId)
            mstore(0x20, tokenApprovalsPtr.slot)
            approvedAddressSlot := keccak256(0x00, 0x40)
            // Load the slot's value from storage.
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    /**
     * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`.
     */
    function _isOwnerOrApproved(
        address approvedAddress,
        address from,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean.
            from := and(from, BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, BITMASK_ADDRESS)
            // `msgSender == from || msgSender == approvedAddress`.
            result := or(eq(msgSender, from), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @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 transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
        }

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

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                from,
                (BITMASK_BURNED | BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

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

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

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

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

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << BITPOS_EXTRA_DATA;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * 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 _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

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

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

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

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

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

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

            let length := sub(end, ptr)
            // Move the pointer 32 bytes leftwards to make room for the length.
            ptr := sub(ptr, 32)
            // Store the length.
            mstore(ptr, length)
        }
    }
}

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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    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;
        // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`.
        uint24 extraData;
    }

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

    // ==============================
    //            IERC165
    // ==============================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

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

    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // ==============================
    //            IERC2309
    // ==============================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`,
     * as defined in the ERC2309 standard. See `_mintERC2309` for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

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":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","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":"uint256","name":"tokenID","type":"uint256"}],"name":"_baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"addBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"baseURIs","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"customURIindex","outputs":[],"stateMutability":"nonpayable","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":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintedout","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"newest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"sacrifice","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"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":"uint256","name":"tokenID","type":"uint256"}],"name":"trackNewestURI","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":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600d553480156200001657600080fd5b506040518060400160405280600981526020017f48616c666b696e677a00000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f48414c460000000000000000000000000000000000000000000000000000000081525081600290805190602001906200009b92919062000648565b508060039080519060200190620000b492919062000648565b50620000c56200017360201b60201c565b60008190555050506040518060600160405280603681526020016200377b60369139600c600080815260200190815260200160002090805190602001906200010f92919062000648565b5061271160098190555033600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200016d3360016200017860201b60201c565b6200093e565b600090565b6200019a8282604051806020016040528060008152506200019e60201b60201c565b5050565b620001b083836200024f60201b60201c565b60008373ffffffffffffffffffffffffffffffffffffffff163b146200024a57600080549050600083820390505b620001f960008683806001019450866200044e60201b60201c565b62000230576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110620001de5781600054146200024757600080fd5b50505b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415620002bd576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415620002f9576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6200030e6000848385620005c060201b60201c565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506200039d836200037f6000866000620005c660201b60201c565b6200039085620005f660201b60201c565b176200060660201b60201c565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210620003c1578060008190555050506200044960008483856200063160201b60201c565b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026200047c6200063760201b60201c565b8786866040518563ffffffff1660e01b8152600401620004a094939291906200079e565b602060405180830381600087803b158015620004bb57600080fd5b505af1925050508015620004ef57506040513d601f19601f82011682018060405250810190620004ec91906200070f565b60015b6200056d573d806000811462000522576040519150601f19603f3d011682016040523d82523d6000602084013e62000527565b606091505b5060008151141562000565576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b50505050565b60008060e883901c905060e8620005e58686846200063f60201b60201c565b62ffffff16901b9150509392505050565b60006001821460e11b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b60009392505050565b8280546200065690620008ae565b90600052602060002090601f0160209004810192826200067a5760008555620006c6565b82601f106200069557805160ff1916838001178555620006c6565b82800160010185558215620006c6579182015b82811115620006c5578251825591602001919060010190620006a8565b5b509050620006d59190620006d9565b5090565b5b80821115620006f4576000816000905550600101620006da565b5090565b600081519050620007098162000924565b92915050565b6000602082840312156200072257600080fd5b60006200073284828501620006f8565b91505092915050565b62000746816200080e565b82525050565b60006200075982620007f2565b620007658185620007fd565b93506200077781856020860162000878565b620007828162000913565b840191505092915050565b62000798816200086e565b82525050565b6000608082019050620007b560008301876200073b565b620007c460208301866200073b565b620007d360408301856200078d565b8181036060830152620007e781846200074c565b905095945050505050565b600081519050919050565b600082825260208201905092915050565b60006200081b826200084e565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b83811015620008985780820151818401526020810190506200087b565b83811115620008a8576000848401525b50505050565b60006002820490506001821680620008c757607f821691505b60208210811415620008de57620008dd620008e4565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b6200092f8162000822565b81146200093b57600080fd5b50565b612e2d806200094e6000396000f3fe6080604052600436106101665760003560e01c80638bdbdac1116100d1578063c87b56dd1161008a578063e178e05111610064578063e178e0511461052d578063e8a3d4851461056a578063e985e9c514610595578063fc23d74f146105d257610166565b8063c87b56dd1461048a578063d5df7d33146104c7578063d9148f001461050457610166565b80638bdbdac11461037a57806391564206146103a557806395d89b41146103e2578063a22cb4651461040d578063b88d4fde14610436578063c1b741821461045f57610166565b806323b872dd1161012357806323b872dd1461026e5780632a1e67791461029757806342842e0e146102c05780636352211e146102e957806370a0823114610326578063715018a61461036357610166565b806301ffc9a71461016b57806306fdde03146101a8578063081812fc146101d3578063095ea7b3146102105780631249c58b1461023957806318160ddd14610243575b600080fd5b34801561017757600080fd5b50610192600480360381019061018d91906124a9565b6105fb565b60405161019f91906128fe565b60405180910390f35b3480156101b457600080fd5b506101bd61068d565b6040516101ca9190612919565b60405180910390f35b3480156101df57600080fd5b506101fa60048036038101906101f5919061254f565b61071f565b6040516102079190612897565b60405180910390f35b34801561021c57600080fd5b506102376004803603810190610232919061246d565b61079b565b005b6102416108dc565b005b34801561024f57600080fd5b50610258610941565b604051610265919061299b565b60405180910390f35b34801561027a57600080fd5b5061029560048036038101906102909190612367565b610958565b005b3480156102a357600080fd5b506102be60048036038101906102b99190612578565b610c7d565b005b3480156102cc57600080fd5b506102e760048036038101906102e29190612367565b610da4565b005b3480156102f557600080fd5b50610310600480360381019061030b919061254f565b610dc4565b60405161031d9190612897565b60405180910390f35b34801561033257600080fd5b5061034d60048036038101906103489190612302565b610dd6565b60405161035a919061299b565b60405180910390f35b34801561036f57600080fd5b50610378610e8f565b005b34801561038657600080fd5b5061038f610f63565b60405161039c919061299b565b60405180910390f35b3480156103b157600080fd5b506103cc60048036038101906103c7919061254f565b610f69565b6040516103d99190612919565b60405180910390f35b3480156103ee57600080fd5b506103f7611009565b6040516104049190612919565b60405180910390f35b34801561041957600080fd5b50610434600480360381019061042f9190612431565b61109b565b005b34801561044257600080fd5b5061045d600480360381019061045891906123b6565b611213565b005b34801561046b57600080fd5b50610474611286565b60405161048191906128fe565b60405180910390f35b34801561049657600080fd5b506104b160048036038101906104ac919061254f565b6112a9565b6040516104be9190612919565b60405180910390f35b3480156104d357600080fd5b506104ee60048036038101906104e9919061254f565b6113cc565b6040516104fb9190612919565b60405180910390f35b34801561051057600080fd5b5061052b6004803603810190610526919061254f565b611557565b005b34801561053957600080fd5b50610554600480360381019061054f919061254f565b61162d565b6040516105619190612919565b60405180910390f35b34801561057657600080fd5b5061057f611677565b60405161058c9190612919565b60405180910390f35b3480156105a157600080fd5b506105bc60048036038101906105b7919061232b565b6116b2565b6040516105c991906128fe565b60405180910390f35b3480156105de57600080fd5b506105f960048036038101906105f491906124fb565b611746565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061065657506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106865750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461069c90612ba1565b80601f01602080910402602001604051908101604052809291908181526020018280546106c890612ba1565b80156107155780601f106106ea57610100808354040283529160200191610715565b820191906000526020600020905b8154815290600101906020018083116106f857829003601f168201915b5050505050905090565b600061072a82611871565b610760576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107a682610dc4565b90508073ffffffffffffffffffffffffffffffffffffffff166107c76118d0565b73ffffffffffffffffffffffffffffffffffffffff161461082a576107f3816107ee6118d0565b6116b2565b610829576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60095460016108e9610941565b6108f39190612a95565b1115610934576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092b9061297b565b60405180910390fd5b61093f3360016118d8565b565b600061094b6118f6565b6001546000540303905090565b6000610963826118fb565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146109ca576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806109d6846119c9565b915091506109ec81876109e76118d0565b6119eb565b610a3857610a01866109fc6118d0565b6116b2565b610a37576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610a9f576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610aac8686866001611a2f565b8015610ab757600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610b8585610b61888887611a35565b7c020000000000000000000000000000000000000000000000000000000017611a5d565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415610c0d576000600185019050600060046000838152602001908152602001600020541415610c0b576000548114610c0a578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610c758686866001611a88565b505050505050565b3373ffffffffffffffffffffffffffffffffffffffff16610c9d83610dc4565b73ffffffffffffffffffffffffffffffffffffffff1614610cf3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cea9061293b565b60405180910390fd5b604051602001610d0290612882565b60405160208183030381529060405280519060200120600c6000838152602001908152602001600020604051602001610d3b9190612827565b604051602081830303815290604052805190602001201415610d5c57600080fd5b80600b6000848152602001908152602001600020819055506001600a600084815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b610dbf83838360405180602001604052806000815250611213565b505050565b6000610dcf826118fb565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e3e576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f169061295b565b60405180910390fd5b6000600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600d5481565b600c6020528060005260406000206000915090508054610f8890612ba1565b80601f0160208091040260200160405190810160405280929190818152602001828054610fb490612ba1565b80156110015780601f10610fd657610100808354040283529160200191611001565b820191906000526020600020905b815481529060010190602001808311610fe457829003601f168201915b505050505081565b60606003805461101890612ba1565b80601f016020809104026020016040519081016040528092919081815260200182805461104490612ba1565b80156110915780601f1061106657610100808354040283529160200191611091565b820191906000526020600020905b81548152906001019060200180831161107457829003601f168201915b5050505050905090565b6110a36118d0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611108576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006111156118d0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166111c26118d0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161120791906128fe565b60405180910390a35050565b61121e848484610958565b60008373ffffffffffffffffffffffffffffffffffffffff163b146112805761124984848484611a8e565b61127f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6000600954611293610941565b106112a157600190506112a6565b600090505b90565b60606112b482611871565b6112ea576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600d54141561136c576000600c6000808152602001908152602001600020805461131590612ba1565b905014156113325760405180602001604052806000815250611365565b600c6000808152602001908152602001600020604051602001611355919061283e565b6040516020818303038152906040525b90506113c7565b6000611377836113cc565b905060008151141561139857604051806020016040528060008152506113c3565b806113a284611bee565b6040516020016113b39291906127f8565b6040516020818303038152906040525b9150505b919050565b606060011515600a600084815260200190815260200160002060009054906101000a900460ff16151514156114b157600c6000600b6000858152602001908152602001600020548152602001908152602001600020805461142c90612ba1565b80601f016020809104026020016040519081016040528092919081815260200182805461145890612ba1565b80156114a55780601f1061147a576101008083540402835291602001916114a5565b820191906000526020600020905b81548152906001019060200180831161148857829003601f168201915b50505050509050611552565b600c6000600d54815260200190815260200160002080546114d190612ba1565b80601f01602080910402602001604051908101604052809291908181526020018280546114fd90612ba1565b801561154a5780601f1061151f5761010080835404028352916020019161154a565b820191906000526020600020905b81548152906001019060200180831161152d57829003601f168201915b505050505090505b919050565b3373ffffffffffffffffffffffffffffffffffffffff1661157782610dc4565b73ffffffffffffffffffffffffffffffffffffffff16146115cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c49061293b565b60405180910390fd5b60011515600a600083815260200190815260200160002060009054906101000a900460ff161515146115fe57600080fd5b6000600a600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b606061163a826001611c48565b6040518060400160405280600a81526020017f73616372696669636564000000000000000000000000000000000000000000008152509050919050565b6060600c6000600d54815260200190815260200160002060405160200161169e9190612860565b604051602081830303815290604052905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146117d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117cd9061295b565b60405180910390fd5b6040516020016117e590612882565b60405160208183030381529060405280519060200120600c600083815260200190815260200160002060405160200161181e9190612827565b604051602081830303815290604052805190602001201461183e57600080fd5b81600c60008381526020019081526020016000209080519060200190611865929190612126565b5080600d819055505050565b60008161187c6118f6565b1115801561188b575060005482105b80156118c9575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b6118f2828260405180602001604052806000815250611e9c565b5050565b600090565b6000808290508061190a6118f6565b11611992576000548110156119915760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216141561198f575b600081141561198557600460008360019003935083815260200190815260200160002054905061195a565b80925050506119c4565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611a4c868684611f39565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611ab46118d0565b8786866040518563ffffffff1660e01b8152600401611ad694939291906128b2565b602060405180830381600087803b158015611af057600080fd5b505af1925050508015611b2157506040513d601f19601f82011682018060405250810190611b1e91906124d2565b60015b611b9b573d8060008114611b51576040519150601f19603f3d011682016040523d82523d6000602084013e611b56565b606091505b50600081511415611b93576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b8015611c3457600183039250600a81066030018353600a81049050611c14565b508181036020830392508083525050919050565b6000611c53836118fb565b90506000819050600080611c66866119c9565b915091508415611ccf57611c828184611c7d6118d0565b6119eb565b611cce57611c9783611c926118d0565b6116b2565b611ccd576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b611cdd836000886001611a2f565b8015611ce857600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611d9083611d4d85600088611a35565b7c02000000000000000000000000000000000000000000000000000000007c01000000000000000000000000000000000000000000000000000000001717611a5d565b600460008881526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000085161415611e18576000600187019050600060046000838152602001908152602001600020541415611e16576000548114611e15578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611e82836000886001611a88565b600160008154809291906001019190505550505050505050565b611ea68383611f42565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611f3457600080549050600083820390505b611ee66000868380600101945086611a8e565b611f1c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110611ed3578160005414611f3157600080fd5b50505b505050565b60009392505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611faf576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415611fea576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611ff76000848385611a2f565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061206e8361205f6000866000611a35565b61206885612116565b17611a5d565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612092578060008190555050506121116000848385611a88565b505050565b60006001821460e11b9050919050565b82805461213290612ba1565b90600052602060002090601f016020900481019282612154576000855561219b565b82601f1061216d57805160ff191683800117855561219b565b8280016001018555821561219b579182015b8281111561219a57825182559160200191906001019061217f565b5b5090506121a891906121ac565b5090565b5b808211156121c55760008160009055506001016121ad565b5090565b60006121dc6121d7846129db565b6129b6565b9050828152602081018484840111156121f457600080fd5b6121ff848285612b5f565b509392505050565b600061221a61221584612a0c565b6129b6565b90508281526020810184848401111561223257600080fd5b61223d848285612b5f565b509392505050565b60008135905061225481612d9b565b92915050565b60008135905061226981612db2565b92915050565b60008135905061227e81612dc9565b92915050565b60008151905061229381612dc9565b92915050565b600082601f8301126122aa57600080fd5b81356122ba8482602086016121c9565b91505092915050565b600082601f8301126122d457600080fd5b81356122e4848260208601612207565b91505092915050565b6000813590506122fc81612de0565b92915050565b60006020828403121561231457600080fd5b600061232284828501612245565b91505092915050565b6000806040838503121561233e57600080fd5b600061234c85828601612245565b925050602061235d85828601612245565b9150509250929050565b60008060006060848603121561237c57600080fd5b600061238a86828701612245565b935050602061239b86828701612245565b92505060406123ac868287016122ed565b9150509250925092565b600080600080608085870312156123cc57600080fd5b60006123da87828801612245565b94505060206123eb87828801612245565b93505060406123fc878288016122ed565b925050606085013567ffffffffffffffff81111561241957600080fd5b61242587828801612299565b91505092959194509250565b6000806040838503121561244457600080fd5b600061245285828601612245565b92505060206124638582860161225a565b9150509250929050565b6000806040838503121561248057600080fd5b600061248e85828601612245565b925050602061249f858286016122ed565b9150509250929050565b6000602082840312156124bb57600080fd5b60006124c98482850161226f565b91505092915050565b6000602082840312156124e457600080fd5b60006124f284828501612284565b91505092915050565b6000806040838503121561250e57600080fd5b600083013567ffffffffffffffff81111561252857600080fd5b612534858286016122c3565b9250506020612545858286016122ed565b9150509250929050565b60006020828403121561256157600080fd5b600061256f848285016122ed565b91505092915050565b6000806040838503121561258b57600080fd5b6000612599858286016122ed565b92505060206125aa858286016122ed565b9150509250929050565b6125bd81612aeb565b82525050565b6125cc81612afd565b82525050565b60006125dd82612a52565b6125e78185612a68565b93506125f7818560208601612b6e565b61260081612c91565b840191505092915050565b600061261682612a5d565b6126208185612a79565b9350612630818560208601612b6e565b61263981612c91565b840191505092915050565b600061264f82612a5d565b6126598185612a8a565b9350612669818560208601612b6e565b80840191505092915050565b6000815461268281612ba1565b61268c8186612a8a565b945060018216600081146126a757600181146126b8576126eb565b60ff198316865281860193506126eb565b6126c185612a3d565b60005b838110156126e3578154818901526001820191506020810190506126c4565b838801955050505b50505092915050565b6000612701600b83612a8a565b915061270c82612ca2565b600b82019050919050565b6000612724600583612a8a565b915061272f82612ccb565b600582019050919050565b6000612747601883612a79565b915061275282612cf4565b602082019050919050565b600061276a600983612a79565b915061277582612d1d565b602082019050919050565b600061278d600083612a8a565b915061279882612d46565b600082019050919050565b60006127b0600b83612a79565b91506127bb82612d49565b602082019050919050565b60006127d3601083612a8a565b91506127de82612d72565b601082019050919050565b6127f281612b55565b82525050565b60006128048285612644565b91506128108284612644565b915061281b82612717565b91508190509392505050565b60006128338284612675565b915081905092915050565b600061284a8284612675565b9150612855826126f4565b915081905092915050565b600061286c8284612675565b9150612877826127c6565b915081905092915050565b600061288d82612780565b9150819050919050565b60006020820190506128ac60008301846125b4565b92915050565b60006080820190506128c760008301876125b4565b6128d460208301866125b4565b6128e160408301856127e9565b81810360608301526128f381846125d2565b905095945050505050565b600060208201905061291360008301846125c3565b92915050565b60006020820190508181036000830152612933818461260b565b905092915050565b600060208201905081810360008301526129548161273a565b9050919050565b600060208201905081810360008301526129748161275d565b9050919050565b60006020820190508181036000830152612994816127a3565b9050919050565b60006020820190506129b060008301846127e9565b92915050565b60006129c06129d1565b90506129cc8282612bd3565b919050565b6000604051905090565b600067ffffffffffffffff8211156129f6576129f5612c62565b5b6129ff82612c91565b9050602081019050919050565b600067ffffffffffffffff821115612a2757612a26612c62565b5b612a3082612c91565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000612aa082612b55565b9150612aab83612b55565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612ae057612adf612c04565b5b828201905092915050565b6000612af682612b35565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015612b8c578082015181840152602081019050612b71565b83811115612b9b576000848401525b50505050565b60006002820490506001821680612bb957607f821691505b60208210811415612bcd57612bcc612c33565b5b50919050565b612bdc82612c91565b810181811067ffffffffffffffff82111715612bfb57612bfa612c62565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f68696464656e2e6a736f6e000000000000000000000000000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f796f7520646f6e2774206f776e207468697320746f6b656e0000000000000000600082015250565b7f4e6f74206f776e65720000000000000000000000000000000000000000000000600082015250565b50565b7f4d494e544544204f555421000000000000000000000000000000000000000000600082015250565b7f636f6e74726163745552492e6a736f6e00000000000000000000000000000000600082015250565b612da481612aeb565b8114612daf57600080fd5b50565b612dbb81612afd565b8114612dc657600080fd5b50565b612dd281612b09565b8114612ddd57600080fd5b50565b612de981612b55565b8114612df457600080fd5b5056fea2646970667358221220a89def932639cc3272a27247695e49508c7b492161e163ccd7086d8708cbdbcf64736f6c63430008040033697066733a2f2f516d5875615664386a71704b364b66526f3466506170453376484a5a4b314c7331776a77556379533451734d69782f

Deployed Bytecode

0x6080604052600436106101665760003560e01c80638bdbdac1116100d1578063c87b56dd1161008a578063e178e05111610064578063e178e0511461052d578063e8a3d4851461056a578063e985e9c514610595578063fc23d74f146105d257610166565b8063c87b56dd1461048a578063d5df7d33146104c7578063d9148f001461050457610166565b80638bdbdac11461037a57806391564206146103a557806395d89b41146103e2578063a22cb4651461040d578063b88d4fde14610436578063c1b741821461045f57610166565b806323b872dd1161012357806323b872dd1461026e5780632a1e67791461029757806342842e0e146102c05780636352211e146102e957806370a0823114610326578063715018a61461036357610166565b806301ffc9a71461016b57806306fdde03146101a8578063081812fc146101d3578063095ea7b3146102105780631249c58b1461023957806318160ddd14610243575b600080fd5b34801561017757600080fd5b50610192600480360381019061018d91906124a9565b6105fb565b60405161019f91906128fe565b60405180910390f35b3480156101b457600080fd5b506101bd61068d565b6040516101ca9190612919565b60405180910390f35b3480156101df57600080fd5b506101fa60048036038101906101f5919061254f565b61071f565b6040516102079190612897565b60405180910390f35b34801561021c57600080fd5b506102376004803603810190610232919061246d565b61079b565b005b6102416108dc565b005b34801561024f57600080fd5b50610258610941565b604051610265919061299b565b60405180910390f35b34801561027a57600080fd5b5061029560048036038101906102909190612367565b610958565b005b3480156102a357600080fd5b506102be60048036038101906102b99190612578565b610c7d565b005b3480156102cc57600080fd5b506102e760048036038101906102e29190612367565b610da4565b005b3480156102f557600080fd5b50610310600480360381019061030b919061254f565b610dc4565b60405161031d9190612897565b60405180910390f35b34801561033257600080fd5b5061034d60048036038101906103489190612302565b610dd6565b60405161035a919061299b565b60405180910390f35b34801561036f57600080fd5b50610378610e8f565b005b34801561038657600080fd5b5061038f610f63565b60405161039c919061299b565b60405180910390f35b3480156103b157600080fd5b506103cc60048036038101906103c7919061254f565b610f69565b6040516103d99190612919565b60405180910390f35b3480156103ee57600080fd5b506103f7611009565b6040516104049190612919565b60405180910390f35b34801561041957600080fd5b50610434600480360381019061042f9190612431565b61109b565b005b34801561044257600080fd5b5061045d600480360381019061045891906123b6565b611213565b005b34801561046b57600080fd5b50610474611286565b60405161048191906128fe565b60405180910390f35b34801561049657600080fd5b506104b160048036038101906104ac919061254f565b6112a9565b6040516104be9190612919565b60405180910390f35b3480156104d357600080fd5b506104ee60048036038101906104e9919061254f565b6113cc565b6040516104fb9190612919565b60405180910390f35b34801561051057600080fd5b5061052b6004803603810190610526919061254f565b611557565b005b34801561053957600080fd5b50610554600480360381019061054f919061254f565b61162d565b6040516105619190612919565b60405180910390f35b34801561057657600080fd5b5061057f611677565b60405161058c9190612919565b60405180910390f35b3480156105a157600080fd5b506105bc60048036038101906105b7919061232b565b6116b2565b6040516105c991906128fe565b60405180910390f35b3480156105de57600080fd5b506105f960048036038101906105f491906124fb565b611746565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061065657506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106865750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461069c90612ba1565b80601f01602080910402602001604051908101604052809291908181526020018280546106c890612ba1565b80156107155780601f106106ea57610100808354040283529160200191610715565b820191906000526020600020905b8154815290600101906020018083116106f857829003601f168201915b5050505050905090565b600061072a82611871565b610760576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107a682610dc4565b90508073ffffffffffffffffffffffffffffffffffffffff166107c76118d0565b73ffffffffffffffffffffffffffffffffffffffff161461082a576107f3816107ee6118d0565b6116b2565b610829576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60095460016108e9610941565b6108f39190612a95565b1115610934576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092b9061297b565b60405180910390fd5b61093f3360016118d8565b565b600061094b6118f6565b6001546000540303905090565b6000610963826118fb565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146109ca576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806109d6846119c9565b915091506109ec81876109e76118d0565b6119eb565b610a3857610a01866109fc6118d0565b6116b2565b610a37576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610a9f576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610aac8686866001611a2f565b8015610ab757600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610b8585610b61888887611a35565b7c020000000000000000000000000000000000000000000000000000000017611a5d565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415610c0d576000600185019050600060046000838152602001908152602001600020541415610c0b576000548114610c0a578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610c758686866001611a88565b505050505050565b3373ffffffffffffffffffffffffffffffffffffffff16610c9d83610dc4565b73ffffffffffffffffffffffffffffffffffffffff1614610cf3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cea9061293b565b60405180910390fd5b604051602001610d0290612882565b60405160208183030381529060405280519060200120600c6000838152602001908152602001600020604051602001610d3b9190612827565b604051602081830303815290604052805190602001201415610d5c57600080fd5b80600b6000848152602001908152602001600020819055506001600a600084815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b610dbf83838360405180602001604052806000815250611213565b505050565b6000610dcf826118fb565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e3e576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f169061295b565b60405180910390fd5b6000600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600d5481565b600c6020528060005260406000206000915090508054610f8890612ba1565b80601f0160208091040260200160405190810160405280929190818152602001828054610fb490612ba1565b80156110015780601f10610fd657610100808354040283529160200191611001565b820191906000526020600020905b815481529060010190602001808311610fe457829003601f168201915b505050505081565b60606003805461101890612ba1565b80601f016020809104026020016040519081016040528092919081815260200182805461104490612ba1565b80156110915780601f1061106657610100808354040283529160200191611091565b820191906000526020600020905b81548152906001019060200180831161107457829003601f168201915b5050505050905090565b6110a36118d0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611108576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006111156118d0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166111c26118d0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161120791906128fe565b60405180910390a35050565b61121e848484610958565b60008373ffffffffffffffffffffffffffffffffffffffff163b146112805761124984848484611a8e565b61127f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6000600954611293610941565b106112a157600190506112a6565b600090505b90565b60606112b482611871565b6112ea576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600d54141561136c576000600c6000808152602001908152602001600020805461131590612ba1565b905014156113325760405180602001604052806000815250611365565b600c6000808152602001908152602001600020604051602001611355919061283e565b6040516020818303038152906040525b90506113c7565b6000611377836113cc565b905060008151141561139857604051806020016040528060008152506113c3565b806113a284611bee565b6040516020016113b39291906127f8565b6040516020818303038152906040525b9150505b919050565b606060011515600a600084815260200190815260200160002060009054906101000a900460ff16151514156114b157600c6000600b6000858152602001908152602001600020548152602001908152602001600020805461142c90612ba1565b80601f016020809104026020016040519081016040528092919081815260200182805461145890612ba1565b80156114a55780601f1061147a576101008083540402835291602001916114a5565b820191906000526020600020905b81548152906001019060200180831161148857829003601f168201915b50505050509050611552565b600c6000600d54815260200190815260200160002080546114d190612ba1565b80601f01602080910402602001604051908101604052809291908181526020018280546114fd90612ba1565b801561154a5780601f1061151f5761010080835404028352916020019161154a565b820191906000526020600020905b81548152906001019060200180831161152d57829003601f168201915b505050505090505b919050565b3373ffffffffffffffffffffffffffffffffffffffff1661157782610dc4565b73ffffffffffffffffffffffffffffffffffffffff16146115cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c49061293b565b60405180910390fd5b60011515600a600083815260200190815260200160002060009054906101000a900460ff161515146115fe57600080fd5b6000600a600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b606061163a826001611c48565b6040518060400160405280600a81526020017f73616372696669636564000000000000000000000000000000000000000000008152509050919050565b6060600c6000600d54815260200190815260200160002060405160200161169e9190612860565b604051602081830303815290604052905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146117d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117cd9061295b565b60405180910390fd5b6040516020016117e590612882565b60405160208183030381529060405280519060200120600c600083815260200190815260200160002060405160200161181e9190612827565b604051602081830303815290604052805190602001201461183e57600080fd5b81600c60008381526020019081526020016000209080519060200190611865929190612126565b5080600d819055505050565b60008161187c6118f6565b1115801561188b575060005482105b80156118c9575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b6118f2828260405180602001604052806000815250611e9c565b5050565b600090565b6000808290508061190a6118f6565b11611992576000548110156119915760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216141561198f575b600081141561198557600460008360019003935083815260200190815260200160002054905061195a565b80925050506119c4565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611a4c868684611f39565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611ab46118d0565b8786866040518563ffffffff1660e01b8152600401611ad694939291906128b2565b602060405180830381600087803b158015611af057600080fd5b505af1925050508015611b2157506040513d601f19601f82011682018060405250810190611b1e91906124d2565b60015b611b9b573d8060008114611b51576040519150601f19603f3d011682016040523d82523d6000602084013e611b56565b606091505b50600081511415611b93576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b8015611c3457600183039250600a81066030018353600a81049050611c14565b508181036020830392508083525050919050565b6000611c53836118fb565b90506000819050600080611c66866119c9565b915091508415611ccf57611c828184611c7d6118d0565b6119eb565b611cce57611c9783611c926118d0565b6116b2565b611ccd576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b611cdd836000886001611a2f565b8015611ce857600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611d9083611d4d85600088611a35565b7c02000000000000000000000000000000000000000000000000000000007c01000000000000000000000000000000000000000000000000000000001717611a5d565b600460008881526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000085161415611e18576000600187019050600060046000838152602001908152602001600020541415611e16576000548114611e15578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611e82836000886001611a88565b600160008154809291906001019190505550505050505050565b611ea68383611f42565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611f3457600080549050600083820390505b611ee66000868380600101945086611a8e565b611f1c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110611ed3578160005414611f3157600080fd5b50505b505050565b60009392505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611faf576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415611fea576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611ff76000848385611a2f565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061206e8361205f6000866000611a35565b61206885612116565b17611a5d565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612092578060008190555050506121116000848385611a88565b505050565b60006001821460e11b9050919050565b82805461213290612ba1565b90600052602060002090601f016020900481019282612154576000855561219b565b82601f1061216d57805160ff191683800117855561219b565b8280016001018555821561219b579182015b8281111561219a57825182559160200191906001019061217f565b5b5090506121a891906121ac565b5090565b5b808211156121c55760008160009055506001016121ad565b5090565b60006121dc6121d7846129db565b6129b6565b9050828152602081018484840111156121f457600080fd5b6121ff848285612b5f565b509392505050565b600061221a61221584612a0c565b6129b6565b90508281526020810184848401111561223257600080fd5b61223d848285612b5f565b509392505050565b60008135905061225481612d9b565b92915050565b60008135905061226981612db2565b92915050565b60008135905061227e81612dc9565b92915050565b60008151905061229381612dc9565b92915050565b600082601f8301126122aa57600080fd5b81356122ba8482602086016121c9565b91505092915050565b600082601f8301126122d457600080fd5b81356122e4848260208601612207565b91505092915050565b6000813590506122fc81612de0565b92915050565b60006020828403121561231457600080fd5b600061232284828501612245565b91505092915050565b6000806040838503121561233e57600080fd5b600061234c85828601612245565b925050602061235d85828601612245565b9150509250929050565b60008060006060848603121561237c57600080fd5b600061238a86828701612245565b935050602061239b86828701612245565b92505060406123ac868287016122ed565b9150509250925092565b600080600080608085870312156123cc57600080fd5b60006123da87828801612245565b94505060206123eb87828801612245565b93505060406123fc878288016122ed565b925050606085013567ffffffffffffffff81111561241957600080fd5b61242587828801612299565b91505092959194509250565b6000806040838503121561244457600080fd5b600061245285828601612245565b92505060206124638582860161225a565b9150509250929050565b6000806040838503121561248057600080fd5b600061248e85828601612245565b925050602061249f858286016122ed565b9150509250929050565b6000602082840312156124bb57600080fd5b60006124c98482850161226f565b91505092915050565b6000602082840312156124e457600080fd5b60006124f284828501612284565b91505092915050565b6000806040838503121561250e57600080fd5b600083013567ffffffffffffffff81111561252857600080fd5b612534858286016122c3565b9250506020612545858286016122ed565b9150509250929050565b60006020828403121561256157600080fd5b600061256f848285016122ed565b91505092915050565b6000806040838503121561258b57600080fd5b6000612599858286016122ed565b92505060206125aa858286016122ed565b9150509250929050565b6125bd81612aeb565b82525050565b6125cc81612afd565b82525050565b60006125dd82612a52565b6125e78185612a68565b93506125f7818560208601612b6e565b61260081612c91565b840191505092915050565b600061261682612a5d565b6126208185612a79565b9350612630818560208601612b6e565b61263981612c91565b840191505092915050565b600061264f82612a5d565b6126598185612a8a565b9350612669818560208601612b6e565b80840191505092915050565b6000815461268281612ba1565b61268c8186612a8a565b945060018216600081146126a757600181146126b8576126eb565b60ff198316865281860193506126eb565b6126c185612a3d565b60005b838110156126e3578154818901526001820191506020810190506126c4565b838801955050505b50505092915050565b6000612701600b83612a8a565b915061270c82612ca2565b600b82019050919050565b6000612724600583612a8a565b915061272f82612ccb565b600582019050919050565b6000612747601883612a79565b915061275282612cf4565b602082019050919050565b600061276a600983612a79565b915061277582612d1d565b602082019050919050565b600061278d600083612a8a565b915061279882612d46565b600082019050919050565b60006127b0600b83612a79565b91506127bb82612d49565b602082019050919050565b60006127d3601083612a8a565b91506127de82612d72565b601082019050919050565b6127f281612b55565b82525050565b60006128048285612644565b91506128108284612644565b915061281b82612717565b91508190509392505050565b60006128338284612675565b915081905092915050565b600061284a8284612675565b9150612855826126f4565b915081905092915050565b600061286c8284612675565b9150612877826127c6565b915081905092915050565b600061288d82612780565b9150819050919050565b60006020820190506128ac60008301846125b4565b92915050565b60006080820190506128c760008301876125b4565b6128d460208301866125b4565b6128e160408301856127e9565b81810360608301526128f381846125d2565b905095945050505050565b600060208201905061291360008301846125c3565b92915050565b60006020820190508181036000830152612933818461260b565b905092915050565b600060208201905081810360008301526129548161273a565b9050919050565b600060208201905081810360008301526129748161275d565b9050919050565b60006020820190508181036000830152612994816127a3565b9050919050565b60006020820190506129b060008301846127e9565b92915050565b60006129c06129d1565b90506129cc8282612bd3565b919050565b6000604051905090565b600067ffffffffffffffff8211156129f6576129f5612c62565b5b6129ff82612c91565b9050602081019050919050565b600067ffffffffffffffff821115612a2757612a26612c62565b5b612a3082612c91565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000612aa082612b55565b9150612aab83612b55565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612ae057612adf612c04565b5b828201905092915050565b6000612af682612b35565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015612b8c578082015181840152602081019050612b71565b83811115612b9b576000848401525b50505050565b60006002820490506001821680612bb957607f821691505b60208210811415612bcd57612bcc612c33565b5b50919050565b612bdc82612c91565b810181811067ffffffffffffffff82111715612bfb57612bfa612c62565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f68696464656e2e6a736f6e000000000000000000000000000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f796f7520646f6e2774206f776e207468697320746f6b656e0000000000000000600082015250565b7f4e6f74206f776e65720000000000000000000000000000000000000000000000600082015250565b50565b7f4d494e544544204f555421000000000000000000000000000000000000000000600082015250565b7f636f6e74726163745552492e6a736f6e00000000000000000000000000000000600082015250565b612da481612aeb565b8114612daf57600080fd5b50565b612dbb81612afd565b8114612dc657600080fd5b50565b612dd281612b09565b8114612ddd57600080fd5b50565b612de981612b55565b8114612df457600080fd5b5056fea2646970667358221220a89def932639cc3272a27247695e49508c7b492161e163ccd7086d8708cbdbcf64736f6c63430008040033

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  ]

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.