ETH Price: $2,605.36 (-1.79%)

Contract

0xDD43bC8a9116F0AB39Ea5fc0b61F2521B7C23E28
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...208323382024-09-26 4:16:474 days ago1727324207IN
Apocalyptic Apes Juice: AAJUICE Token
0 ETH0.0006238713.37620249
Safe Transfer Fr...207938362024-09-20 19:17:239 days ago1726859843IN
Apocalyptic Apes Juice: AAJUICE Token
0 ETH0.000458039.33588381
Safe Transfer Fr...207938142024-09-20 19:12:599 days ago1726859579IN
Apocalyptic Apes Juice: AAJUICE Token
0 ETH0.0008743812.32182881
Set Approval For...207507802024-09-14 18:57:3515 days ago1726340255IN
Apocalyptic Apes Juice: AAJUICE Token
0 ETH0.000065731.40945728
Set Approval For...207482172024-09-14 10:21:2316 days ago1726309283IN
Apocalyptic Apes Juice: AAJUICE Token
0 ETH0.000057361.22994089
Safe Transfer Fr...207466572024-09-14 5:06:5916 days ago1726290419IN
Apocalyptic Apes Juice: AAJUICE Token
0 ETH0.000160582.9813356
Safe Transfer Fr...207466572024-09-14 5:06:5916 days ago1726290419IN
Apocalyptic Apes Juice: AAJUICE Token
0 ETH0.000211562.9813356
Safe Transfer Fr...207260362024-09-11 7:59:3519 days ago1726041575IN
Apocalyptic Apes Juice: AAJUICE Token
0 ETH0.000152182.14690175
Set Approval For...207112862024-09-09 6:32:2321 days ago1725863543IN
Apocalyptic Apes Juice: AAJUICE Token
0 ETH0.000047871.93597179
Safe Transfer Fr...206810932024-09-05 1:26:2325 days ago1725499583IN
Apocalyptic Apes Juice: AAJUICE Token
0 ETH0.000499387.04376138
Safe Transfer Fr...206677042024-09-03 4:36:4727 days ago1725338207IN
Apocalyptic Apes Juice: AAJUICE Token
0 ETH0.000164493.29730645
Safe Transfer Fr...206677022024-09-03 4:36:2327 days ago1725338183IN
Apocalyptic Apes Juice: AAJUICE Token
0 ETH0.000243463.39138877
Safe Transfer Fr...205752052024-08-21 6:28:2340 days ago1724221703IN
Apocalyptic Apes Juice: AAJUICE Token
0 ETH0.000082021.15708892
Set Approval For...205730172024-08-20 23:09:1140 days ago1724195351IN
Apocalyptic Apes Juice: AAJUICE Token
0 ETH0.000042730.91494521
Set Approval For...205729312024-08-20 22:51:4740 days ago1724194307IN
Apocalyptic Apes Juice: AAJUICE Token
0 ETH0.000047211.01083671
Safe Transfer Fr...205729182024-08-20 22:49:1140 days ago1724194151IN
Apocalyptic Apes Juice: AAJUICE Token
0 ETH0.000091711.2937728
Set Approval For...205438932024-08-16 21:31:4744 days ago1723843907IN
Apocalyptic Apes Juice: AAJUICE Token
0 ETH0.000088541.89544115
Transfer From205332402024-08-15 9:49:2346 days ago1723715363IN
Apocalyptic Apes Juice: AAJUICE Token
0 ETH0.000193983.79899767
Set Approval For...204473242024-08-03 10:09:4758 days ago1722679787IN
Apocalyptic Apes Juice: AAJUICE Token
0 ETH0.000062611.34252027
Set Approval For...204316862024-08-01 5:44:1160 days ago1722491051IN
Apocalyptic Apes Juice: AAJUICE Token
0 ETH0.00012252.62664754
Set Approval For...204061912024-07-28 16:17:5963 days ago1722183479IN
Apocalyptic Apes Juice: AAJUICE Token
0 ETH0.000124622.67191553
Set Approval For...204030592024-07-28 5:49:3564 days ago1722145775IN
Apocalyptic Apes Juice: AAJUICE Token
0 ETH0.000038871.56681247
Set Approval For...203522332024-07-21 3:29:5971 days ago1721532599IN
Apocalyptic Apes Juice: AAJUICE Token
0 ETH0.000148163.17678234
Set Approval For...203483742024-07-20 14:34:5971 days ago1721486099IN
Apocalyptic Apes Juice: AAJUICE Token
0 ETH0.000270565.80094109
Set Approval For...203111262024-07-15 9:50:2377 days ago1721037023IN
Apocalyptic Apes Juice: AAJUICE Token
0 ETH0.000210494.51312908
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:
ApocalypticApesJuice

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.8.4;

// import "./ERC721A/contracts/extensions/ERC721ABurnable.sol";
import "./ERC721A/contracts/mocks/ERC721ABurnableMock.sol";
import "./ERC721A/contracts/mocks/StartTokenIdHelper.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";

interface IERC20 {
    function transfer(address to, uint256 amount) external returns (bool);
}

contract ApocalypticApesJuice is StartTokenIdHelper, ERC721A, ERC721ABurnable {
    event ClaimJuice(address indexed summoner, uint256 times);

    bool claimStart;
    string public baseURI;

    string name_ = "Apocalyptic Apes Juice";
    string symbol_ = "AAJUICE";
    string baseURI_ = "ipfs://";

    uint256 startTokenId_ = 1;
    uint256 public totalCount = 8888;

    address payable public owner;
    IERC721Enumerable public apocalyptic = IERC721Enumerable(address(0));

    mapping(uint256 => bool) public claimed;

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

    constructor()
        StartTokenIdHelper(startTokenId_)
        ERC721A(name_, symbol_)
    {
        owner = payable(msg.sender);
    }
    function exists(uint256 tokenId) public view returns (bool) {
        return _exists(tokenId);
    }

    function safeMintBatch(address to, uint256[] calldata apes) public onlyOwner {
        require(apes.length + totalSupply() <= totalCount, "All juice claimed!");
        uint256 toMint;

        for (uint256 i = 0; i < apes.length; i++) {
            uint tokenID = apes[i];
            if (!claimed[tokenID]) {
                toMint++;
                claimed[tokenID] = true;
            }
        }
        _safeMint(to, toMint);
    }
    
    function safeMint(address to, uint256 toMint) public onlyOwner {
        require(toMint + totalSupply() <= totalCount, "All juice claimed!");
        _safeMint(to, toMint);
    }

    function getOwnershipAt(uint256 index) public view returns (TokenOwnership memory) {
        return _ownerships[index];
    }

    function totalMinted() public view returns (uint256) {
        return _totalMinted();
    }

    function _startTokenId() internal view override returns (uint256) {
        return startTokenId;
    }

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

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

    function setApocalypticApes(address _newAddress) public onlyOwner {
        apocalyptic = IERC721Enumerable(_newAddress);
    }

    function setClaimStart(bool _claimStart) public onlyOwner {
        claimStart = _claimStart;
    }

    function claimJuice() public returns(uint256){
        require(claimStart, "Claiming has not started");
        uint256 apesOwned = apocalyptic.balanceOf(msg.sender);
        uint256 tokenID;

        uint256 toMint;

        for (uint256 i = 0; i < apesOwned; i++) {
            tokenID = apocalyptic.tokenOfOwnerByIndex(msg.sender, i);
            if (!claimed[tokenID]) {
                toMint++;
                claimed[tokenID] = true;
            }
        }

        if(toMint > 0){
            require(toMint + totalSupply() <= totalCount, "All juice claimed!");
            _safeMint(msg.sender, toMint);
        }

        return toMint;
    }

    function withdrawAll() public payable onlyOwner {
        uint256 contract_balance = address(this).balance;
        require(payable(owner).send(contract_balance));
    }

    function rescueTokens(
        address recipient,
        address token,
        uint256 amount
    ) public onlyOwner {
        IERC20(token).transfer(recipient, amount);
    }

    function changeOwner(address payable _newowner) external onlyOwner {
        owner = _newowner;
    }
}

File 2 of 14 : ERC721ABurnableMock.sol
// SPDX-License-Identifier: MIT
// Creators: Chiru Labs

pragma solidity ^0.8.4;

import '../extensions/ERC721ABurnable.sol';

contract ERC721ABurnableMock is ERC721A, ERC721ABurnable {
    constructor(string memory name_, string memory symbol_) ERC721A(name_, symbol_) {}

    function exists(uint256 tokenId) public view returns (bool) {
        return _exists(tokenId);
    }

    function safeMint(address to, uint256 quantity) public {
        _safeMint(to, quantity);
    }
    
    function getOwnershipAt(uint256 index) public view returns (TokenOwnership memory) {
        return _ownerships[index];
    }

    function totalMinted() public view returns (uint256) {
        return _totalMinted();
    }
}

File 3 of 14 : StartTokenIdHelper.sol
// SPDX-License-Identifier: MIT
// Creators: Chiru Labs

pragma solidity ^0.8.4;

/**
 * This Helper is used to return a dynmamic value in the overriden _startTokenId() function.
 * Extending this Helper before the ERC721A contract give us access to the herein set `startTokenId`
 * to be returned by the overriden `_startTokenId()` function of ERC721A in the ERC721AStartTokenId mocks.
 */
contract StartTokenIdHelper {
    uint256 public immutable startTokenId;

    constructor(uint256 startTokenId_) {
        startTokenId = startTokenId_;
    }
}

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 5 of 14 : ERC721ABurnable.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '../ERC721A.sol';

/**
 * @title ERC721A Burnable Token
 * @dev ERC721A Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721ABurnable is ERC721A {

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

File 6 of 14 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerQueryForNonexistentToken();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSender() == from ||
            isApprovedForAll(from, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

    /**
     * @dev This is 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 {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        address from = prevOwnership.addr;

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSender() == from ||
                isApprovedForAll(from, _msgSender()) ||
                getApproved(tokenId) == _msgSender());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            AddressData storage addressData = _addressData[from];
            addressData.balance -= 1;
            addressData.numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = from;
            currSlot.startTimestamp = uint64(block.timestamp);
            currSlot.burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        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 Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        address owner
    ) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"summoner","type":"address"},{"indexed":false,"internalType":"uint256","name":"times","type":"uint256"}],"name":"ClaimJuice","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"apocalyptic","outputs":[{"internalType":"contract IERC721Enumerable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_newowner","type":"address"}],"name":"changeOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimJuice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getOwnershipAt","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"}],"internalType":"struct ERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"toMint","type":"uint256"}],"name":"safeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"apes","type":"uint256[]"}],"name":"safeMintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newAddress","type":"address"}],"name":"setApocalypticApes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_claimStart","type":"bool"}],"name":"setClaimStart","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"totalCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"}]

60a06040526040518060400160405280601681526020017f41706f63616c79707469632041706573204a7569636500000000000000000000815250600a90805190602001906200005192919062000316565b506040518060400160405280600781526020017f41414a5549434500000000000000000000000000000000000000000000000000815250600b90805190602001906200009f92919062000316565b506040518060400160405280600781526020017f697066733a2f2f00000000000000000000000000000000000000000000000000815250600c9080519060200190620000ed92919062000316565b506001600d556122b8600e556000601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200014857600080fd5b50600a80546200015890620003f5565b80601f01602080910402602001604051908101604052809291908181526020018280546200018690620003f5565b8015620001d75780601f10620001ab57610100808354040283529160200191620001d7565b820191906000526020600020905b815481529060010190602001808311620001b957829003601f168201915b5050505050600b8054620001eb90620003f5565b80601f01602080910402602001604051908101604052809291908181526020018280546200021990620003f5565b80156200026a5780601f106200023e576101008083540402835291602001916200026a565b820191906000526020600020905b8154815290600101906020018083116200024c57829003601f168201915b5050505050600d5480608081815250505081600290805190602001906200029392919062000316565b508060039080519060200190620002ac92919062000316565b50620002bd6200030c60201b60201c565b600081905550505033600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200042b565b6000608051905090565b8280546200032490620003f5565b90600052602060002090601f01602090048101928262000348576000855562000394565b82601f106200036357805160ff191683800117855562000394565b8280016001018555821562000394579182015b828111156200039357825182559160200191906001019062000376565b5b509050620003a39190620003a7565b5090565b5b80821115620003c2576000816000905550600101620003a8565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200040e57607f821691505b60208210811415620004255762000424620003c6565b5b50919050565b60805161401d6200044e60003960008181611a8a0152611da4015261401d6000f3fe6080604052600436106101ee5760003560e01c806370a082311161010d578063a7ab14c2116100a0578063cea9d26f1161006f578063cea9d26f146106da578063dbe7e3bd14610703578063e6798baa14610740578063e985e9c51461076b578063f2523633146107a8576101ee565b8063a7ab14c214610620578063b88d4fde14610649578063c2919a1d14610672578063c87b56dd1461069d576101ee565b8063a1448194116100dc578063a14481941461057a578063a22cb465146105a3578063a2309ff8146105cc578063a6f9dae1146105f7576101ee565b806370a08231146104dd578063853828b61461051a5780638da5cb5b1461052457806395d89b411461054f576101ee565b806334eafb11116101855780634f558e79116101545780634f558e791461040f57806355f804b31461044c5780636352211e146104755780636c0360eb146104b2576101ee565b806334eafb111461036757806342842e0e1461039257806342966c68146103bb578063453363a4146103e4576101ee565b8063095ea7b3116101c1578063095ea7b3146102c157806311c0580e146102ea57806318160ddd1461031357806323b872dd1461033e576101ee565b8063014449a6146101f357806301ffc9a71461021c57806306fdde0314610259578063081812fc14610284575b600080fd5b3480156101ff57600080fd5b5061021a60048036038101906102159190613220565b6107e5565b005b34801561022857600080fd5b50610243600480360381019061023e91906132d8565b610985565b6040516102509190613320565b60405180910390f35b34801561026557600080fd5b5061026e610a67565b60405161027b91906133d4565b60405180910390f35b34801561029057600080fd5b506102ab60048036038101906102a6919061342c565b610af9565b6040516102b89190613468565b60405180910390f35b3480156102cd57600080fd5b506102e860048036038101906102e39190613483565b610b75565b005b3480156102f657600080fd5b50610311600480360381019061030c91906134c3565b610c80565b005b34801561031f57600080fd5b50610328610d54565b60405161033591906134ff565b60405180910390f35b34801561034a57600080fd5b506103656004803603810190610360919061351a565b610d6b565b005b34801561037357600080fd5b5061037c610d7b565b60405161038991906134ff565b60405180910390f35b34801561039e57600080fd5b506103b960048036038101906103b4919061351a565b610d81565b005b3480156103c757600080fd5b506103e260048036038101906103dd919061342c565b610da1565b005b3480156103f057600080fd5b506103f9610daf565b60405161040691906134ff565b60405180910390f35b34801561041b57600080fd5b506104366004803603810190610431919061342c565b611036565b6040516104439190613320565b60405180910390f35b34801561045857600080fd5b50610473600480360381019061046e919061369d565b611048565b005b34801561048157600080fd5b5061049c6004803603810190610497919061342c565b6110f2565b6040516104a99190613468565b60405180910390f35b3480156104be57600080fd5b506104c7611108565b6040516104d491906133d4565b60405180910390f35b3480156104e957600080fd5b5061050460048036038101906104ff91906134c3565b611196565b60405161051191906134ff565b60405180910390f35b610522611266565b005b34801561053057600080fd5b5061053961135e565b6040516105469190613707565b60405180910390f35b34801561055b57600080fd5b50610564611384565b60405161057191906133d4565b60405180910390f35b34801561058657600080fd5b506105a1600480360381019061059c9190613483565b611416565b005b3480156105af57600080fd5b506105ca60048036038101906105c5919061374e565b61150b565b005b3480156105d857600080fd5b506105e1611683565b6040516105ee91906134ff565b60405180910390f35b34801561060357600080fd5b5061061e600480360381019061061991906137ba565b611692565b005b34801561062c57600080fd5b50610647600480360381019061064291906137e7565b611766565b005b34801561065557600080fd5b50610670600480360381019061066b91906138b5565b611813565b005b34801561067e57600080fd5b5061068761188f565b6040516106949190613997565b60405180910390f35b3480156106a957600080fd5b506106c460048036038101906106bf919061342c565b6118b5565b6040516106d191906133d4565b60405180910390f35b3480156106e657600080fd5b5061070160048036038101906106fc919061351a565b611954565b005b34801561070f57600080fd5b5061072a6004803603810190610725919061342c565b611a68565b6040516107379190613320565b60405180910390f35b34801561074c57600080fd5b50610755611a88565b60405161076291906134ff565b60405180910390f35b34801561077757600080fd5b50610792600480360381019061078d91906139b2565b611aac565b60405161079f9190613320565b60405180910390f35b3480156107b457600080fd5b506107cf60048036038101906107ca919061342c565b611b40565b6040516107dc9190613a75565b60405180910390f35b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610875576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086c90613adc565b60405180910390fd5b600e54610880610d54565b8383905061088e9190613b2b565b11156108cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c690613bcd565b60405180910390fd5b600080600090505b838390508110156109745760008484838181106108f7576108f6613bed565b5b9050602002013590506011600082815260200190815260200160002060009054906101000a900460ff1661096057828061093090613c1c565b93505060016011600083815260200190815260200160002060006101000a81548160ff0219169083151502179055505b50808061096c90613c1c565b9150506108d7565b5061097f8482611c10565b50505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a5057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a605750610a5f82611c2e565b5b9050919050565b606060028054610a7690613c94565b80601f0160208091040260200160405190810160405280929190818152602001828054610aa290613c94565b8015610aef5780601f10610ac457610100808354040283529160200191610aef565b820191906000526020600020905b815481529060010190602001808311610ad257829003601f168201915b5050505050905090565b6000610b0482611c98565b610b3a576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b80826110f2565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610be8576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c07611ce6565b73ffffffffffffffffffffffffffffffffffffffff1614158015610c395750610c3781610c32611ce6565b611aac565b155b15610c70576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c7b838383611cee565b505050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0790613adc565b60405180910390fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000610d5e611da0565b6001546000540303905090565b610d76838383611dc8565b505050565b600e5481565b610d9c83838360405180602001604052806000815250611813565b505050565b610dac81600161227e565b50565b6000600860009054906101000a900460ff16610e00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df790613d12565b60405180910390fd5b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401610e5d9190613468565b602060405180830381865afa158015610e7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9e9190613d47565b905060008060005b83811015610fc157601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5933836040518363ffffffff1660e01b8152600401610f0b929190613d74565b602060405180830381865afa158015610f28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f4c9190613d47565b92506011600084815260200190815260200160002060009054906101000a900460ff16610fae578180610f7e90613c1c565b92505060016011600085815260200190815260200160002060006101000a81548160ff0219169083151502179055505b8080610fb990613c1c565b915050610ea6565b50600081111561102d57600e54610fd6610d54565b82610fe19190613b2b565b1115611022576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101990613bcd565b60405180910390fd5b61102c3382611c10565b5b80935050505090565b600061104182611c98565b9050919050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146110d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cf90613adc565b60405180910390fd5b80600990805190602001906110ee929190613063565b5050565b60006110fd8261266e565b600001519050919050565b6009805461111590613c94565b80601f016020809104026020016040519081016040528092919081815260200182805461114190613c94565b801561118e5780601f106111635761010080835404028352916020019161118e565b820191906000526020600020905b81548152906001019060200180831161117157829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111fe576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146112f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ed90613adc565b60405180910390fd5b6000479050600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061135b57600080fd5b50565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606003805461139390613c94565b80601f01602080910402602001604051908101604052809291908181526020018280546113bf90613c94565b801561140c5780601f106113e15761010080835404028352916020019161140c565b820191906000526020600020905b8154815290600101906020018083116113ef57829003601f168201915b5050505050905090565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146114a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149d90613adc565b60405180910390fd5b600e546114b1610d54565b826114bc9190613b2b565b11156114fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f490613bcd565b60405180910390fd5b6115078282611c10565b5050565b611513611ce6565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611578576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611585611ce6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611632611ce6565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116779190613320565b60405180910390a35050565b600061168d6128fd565b905090565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611722576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171990613adc565b60405180910390fd5b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146117f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ed90613adc565b60405180910390fd5b80600860006101000a81548160ff02191690831515021790555050565b61181e848484611dc8565b61183d8373ffffffffffffffffffffffffffffffffffffffff16612910565b8015611852575061185084848484612933565b155b15611889576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606118c082611c98565b6118f6576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611900612a84565b9050600081511415611921576040518060200160405280600081525061194c565b8061192b84612b16565b60405160200161193c929190613dd9565b6040516020818303038152906040525b915050919050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146119e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119db90613adc565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84836040518363ffffffff1660e01b8152600401611a1f929190613d74565b6020604051808303816000875af1158015611a3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a629190613e12565b50505050565b60116020528060005260406000206000915054906101000a900460ff1681565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b486130e9565b600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050919050565b611c2a828260405180602001604052806000815250612c77565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081611ca3611da0565b11158015611cb2575060005482105b8015611cdf575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b6000611dd38261266e565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611e3e576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611e5f611ce6565b73ffffffffffffffffffffffffffffffffffffffff161480611e8e5750611e8d85611e88611ce6565b611aac565b5b80611ed35750611e9c611ce6565b73ffffffffffffffffffffffffffffffffffffffff16611ebb84610af9565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611f0c576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611f73576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611f808585856001612c89565b611f8c60008487611cee565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561220c57600054821461220b57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46122778585856001612c8f565b5050505050565b60006122898361266e565b9050600081600001519050821561236a5760008173ffffffffffffffffffffffffffffffffffffffff166122bb611ce6565b73ffffffffffffffffffffffffffffffffffffffff1614806122ea57506122e9826122e4611ce6565b611aac565b5b8061232f57506122f8611ce6565b73ffffffffffffffffffffffffffffffffffffffff1661231786610af9565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612368576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b612378816000866001612c89565b61238460008583611cee565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060018160000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060018160000160108282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008781526020019081526020016000209050828160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600181600001601c6101000a81548160ff02191690831515021790555060006001870190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156125e85760005482146125e757848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555085602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b5050505083600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612656816000866001612c8f565b60016000815480929190600101919050555050505050565b6126766130e9565b600082905080612684611da0565b11158015612693575060005481105b156128c6576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516128c457600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146127a85780925050506128f8565b5b6001156128c357818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146128be5780925050506128f8565b6127a9565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000612907611da0565b60005403905090565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612959611ce6565b8786866040518563ffffffff1660e01b815260040161297b9493929190613e94565b6020604051808303816000875af19250505080156129b757506040513d601f19601f820116820180604052508101906129b49190613ef5565b60015b612a31573d80600081146129e7576040519150601f19603f3d011682016040523d82523d6000602084013e6129ec565b606091505b50600081511415612a29576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060098054612a9390613c94565b80601f0160208091040260200160405190810160405280929190818152602001828054612abf90613c94565b8015612b0c5780601f10612ae157610100808354040283529160200191612b0c565b820191906000526020600020905b815481529060010190602001808311612aef57829003601f168201915b5050505050905090565b60606000821415612b5e576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612c72565b600082905060005b60008214612b90578080612b7990613c1c565b915050600a82612b899190613f51565b9150612b66565b60008167ffffffffffffffff811115612bac57612bab613572565b5b6040519080825280601f01601f191660200182016040528015612bde5781602001600182028036833780820191505090505b5090505b60008514612c6b57600182612bf79190613f82565b9150600a85612c069190613fb6565b6030612c129190613b2b565b60f81b818381518110612c2857612c27613bed565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612c649190613f51565b9450612be2565b8093505050505b919050565b612c848383836001612c95565b505050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612d02576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612d3d576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612d4a6000868387612c89565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015612f145750612f138773ffffffffffffffffffffffffffffffffffffffff16612910565b5b15612fda575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612f896000888480600101955088612933565b612fbf576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415612f1a578260005414612fd557600080fd5b613046565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415612fdb575b81600081905550505061305c6000868387612c8f565b5050505050565b82805461306f90613c94565b90600052602060002090601f01602090048101928261309157600085556130d8565b82601f106130aa57805160ff19168380011785556130d8565b828001600101855582156130d8579182015b828111156130d75782518255916020019190600101906130bc565b5b5090506130e5919061312c565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561314557600081600090555060010161312d565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006131888261315d565b9050919050565b6131988161317d565b81146131a357600080fd5b50565b6000813590506131b58161318f565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126131e0576131df6131bb565b5b8235905067ffffffffffffffff8111156131fd576131fc6131c0565b5b602083019150836020820283011115613219576132186131c5565b5b9250929050565b60008060006040848603121561323957613238613153565b5b6000613247868287016131a6565b935050602084013567ffffffffffffffff81111561326857613267613158565b5b613274868287016131ca565b92509250509250925092565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6132b581613280565b81146132c057600080fd5b50565b6000813590506132d2816132ac565b92915050565b6000602082840312156132ee576132ed613153565b5b60006132fc848285016132c3565b91505092915050565b60008115159050919050565b61331a81613305565b82525050565b60006020820190506133356000830184613311565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561337557808201518184015260208101905061335a565b83811115613384576000848401525b50505050565b6000601f19601f8301169050919050565b60006133a68261333b565b6133b08185613346565b93506133c0818560208601613357565b6133c98161338a565b840191505092915050565b600060208201905081810360008301526133ee818461339b565b905092915050565b6000819050919050565b613409816133f6565b811461341457600080fd5b50565b60008135905061342681613400565b92915050565b60006020828403121561344257613441613153565b5b600061345084828501613417565b91505092915050565b6134628161317d565b82525050565b600060208201905061347d6000830184613459565b92915050565b6000806040838503121561349a57613499613153565b5b60006134a8858286016131a6565b92505060206134b985828601613417565b9150509250929050565b6000602082840312156134d9576134d8613153565b5b60006134e7848285016131a6565b91505092915050565b6134f9816133f6565b82525050565b600060208201905061351460008301846134f0565b92915050565b60008060006060848603121561353357613532613153565b5b6000613541868287016131a6565b9350506020613552868287016131a6565b925050604061356386828701613417565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6135aa8261338a565b810181811067ffffffffffffffff821117156135c9576135c8613572565b5b80604052505050565b60006135dc613149565b90506135e882826135a1565b919050565b600067ffffffffffffffff82111561360857613607613572565b5b6136118261338a565b9050602081019050919050565b82818337600083830152505050565b600061364061363b846135ed565b6135d2565b90508281526020810184848401111561365c5761365b61356d565b5b61366784828561361e565b509392505050565b600082601f830112613684576136836131bb565b5b813561369484826020860161362d565b91505092915050565b6000602082840312156136b3576136b2613153565b5b600082013567ffffffffffffffff8111156136d1576136d0613158565b5b6136dd8482850161366f565b91505092915050565b60006136f18261315d565b9050919050565b613701816136e6565b82525050565b600060208201905061371c60008301846136f8565b92915050565b61372b81613305565b811461373657600080fd5b50565b60008135905061374881613722565b92915050565b6000806040838503121561376557613764613153565b5b6000613773858286016131a6565b925050602061378485828601613739565b9150509250929050565b613797816136e6565b81146137a257600080fd5b50565b6000813590506137b48161378e565b92915050565b6000602082840312156137d0576137cf613153565b5b60006137de848285016137a5565b91505092915050565b6000602082840312156137fd576137fc613153565b5b600061380b84828501613739565b91505092915050565b600067ffffffffffffffff82111561382f5761382e613572565b5b6138388261338a565b9050602081019050919050565b600061385861385384613814565b6135d2565b9050828152602081018484840111156138745761387361356d565b5b61387f84828561361e565b509392505050565b600082601f83011261389c5761389b6131bb565b5b81356138ac848260208601613845565b91505092915050565b600080600080608085870312156138cf576138ce613153565b5b60006138dd878288016131a6565b94505060206138ee878288016131a6565b93505060406138ff87828801613417565b925050606085013567ffffffffffffffff8111156139205761391f613158565b5b61392c87828801613887565b91505092959194509250565b6000819050919050565b600061395d6139586139538461315d565b613938565b61315d565b9050919050565b600061396f82613942565b9050919050565b600061398182613964565b9050919050565b61399181613976565b82525050565b60006020820190506139ac6000830184613988565b92915050565b600080604083850312156139c9576139c8613153565b5b60006139d7858286016131a6565b92505060206139e8858286016131a6565b9150509250929050565b6139fb8161317d565b82525050565b600067ffffffffffffffff82169050919050565b613a1e81613a01565b82525050565b613a2d81613305565b82525050565b606082016000820151613a4960008501826139f2565b506020820151613a5c6020850182613a15565b506040820151613a6f6040850182613a24565b50505050565b6000606082019050613a8a6000830184613a33565b92915050565b7f4f6e6c79206f776e657200000000000000000000000000000000000000000000600082015250565b6000613ac6600a83613346565b9150613ad182613a90565b602082019050919050565b60006020820190508181036000830152613af581613ab9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613b36826133f6565b9150613b41836133f6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613b7657613b75613afc565b5b828201905092915050565b7f416c6c206a7569636520636c61696d6564210000000000000000000000000000600082015250565b6000613bb7601283613346565b9150613bc282613b81565b602082019050919050565b60006020820190508181036000830152613be681613baa565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613c27826133f6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613c5a57613c59613afc565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613cac57607f821691505b60208210811415613cc057613cbf613c65565b5b50919050565b7f436c61696d696e6720686173206e6f7420737461727465640000000000000000600082015250565b6000613cfc601883613346565b9150613d0782613cc6565b602082019050919050565b60006020820190508181036000830152613d2b81613cef565b9050919050565b600081519050613d4181613400565b92915050565b600060208284031215613d5d57613d5c613153565b5b6000613d6b84828501613d32565b91505092915050565b6000604082019050613d896000830185613459565b613d9660208301846134f0565b9392505050565b600081905092915050565b6000613db38261333b565b613dbd8185613d9d565b9350613dcd818560208601613357565b80840191505092915050565b6000613de58285613da8565b9150613df18284613da8565b91508190509392505050565b600081519050613e0c81613722565b92915050565b600060208284031215613e2857613e27613153565b5b6000613e3684828501613dfd565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000613e6682613e3f565b613e708185613e4a565b9350613e80818560208601613357565b613e898161338a565b840191505092915050565b6000608082019050613ea96000830187613459565b613eb66020830186613459565b613ec360408301856134f0565b8181036060830152613ed58184613e5b565b905095945050505050565b600081519050613eef816132ac565b92915050565b600060208284031215613f0b57613f0a613153565b5b6000613f1984828501613ee0565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613f5c826133f6565b9150613f67836133f6565b925082613f7757613f76613f22565b5b828204905092915050565b6000613f8d826133f6565b9150613f98836133f6565b925082821015613fab57613faa613afc565b5b828203905092915050565b6000613fc1826133f6565b9150613fcc836133f6565b925082613fdc57613fdb613f22565b5b82820690509291505056fea2646970667358221220fdbd78f63231f653e7d0e9db8bc3534a45b9813e6299405cc1d66255663e636764736f6c634300080c0033

Deployed Bytecode

0x6080604052600436106101ee5760003560e01c806370a082311161010d578063a7ab14c2116100a0578063cea9d26f1161006f578063cea9d26f146106da578063dbe7e3bd14610703578063e6798baa14610740578063e985e9c51461076b578063f2523633146107a8576101ee565b8063a7ab14c214610620578063b88d4fde14610649578063c2919a1d14610672578063c87b56dd1461069d576101ee565b8063a1448194116100dc578063a14481941461057a578063a22cb465146105a3578063a2309ff8146105cc578063a6f9dae1146105f7576101ee565b806370a08231146104dd578063853828b61461051a5780638da5cb5b1461052457806395d89b411461054f576101ee565b806334eafb11116101855780634f558e79116101545780634f558e791461040f57806355f804b31461044c5780636352211e146104755780636c0360eb146104b2576101ee565b806334eafb111461036757806342842e0e1461039257806342966c68146103bb578063453363a4146103e4576101ee565b8063095ea7b3116101c1578063095ea7b3146102c157806311c0580e146102ea57806318160ddd1461031357806323b872dd1461033e576101ee565b8063014449a6146101f357806301ffc9a71461021c57806306fdde0314610259578063081812fc14610284575b600080fd5b3480156101ff57600080fd5b5061021a60048036038101906102159190613220565b6107e5565b005b34801561022857600080fd5b50610243600480360381019061023e91906132d8565b610985565b6040516102509190613320565b60405180910390f35b34801561026557600080fd5b5061026e610a67565b60405161027b91906133d4565b60405180910390f35b34801561029057600080fd5b506102ab60048036038101906102a6919061342c565b610af9565b6040516102b89190613468565b60405180910390f35b3480156102cd57600080fd5b506102e860048036038101906102e39190613483565b610b75565b005b3480156102f657600080fd5b50610311600480360381019061030c91906134c3565b610c80565b005b34801561031f57600080fd5b50610328610d54565b60405161033591906134ff565b60405180910390f35b34801561034a57600080fd5b506103656004803603810190610360919061351a565b610d6b565b005b34801561037357600080fd5b5061037c610d7b565b60405161038991906134ff565b60405180910390f35b34801561039e57600080fd5b506103b960048036038101906103b4919061351a565b610d81565b005b3480156103c757600080fd5b506103e260048036038101906103dd919061342c565b610da1565b005b3480156103f057600080fd5b506103f9610daf565b60405161040691906134ff565b60405180910390f35b34801561041b57600080fd5b506104366004803603810190610431919061342c565b611036565b6040516104439190613320565b60405180910390f35b34801561045857600080fd5b50610473600480360381019061046e919061369d565b611048565b005b34801561048157600080fd5b5061049c6004803603810190610497919061342c565b6110f2565b6040516104a99190613468565b60405180910390f35b3480156104be57600080fd5b506104c7611108565b6040516104d491906133d4565b60405180910390f35b3480156104e957600080fd5b5061050460048036038101906104ff91906134c3565b611196565b60405161051191906134ff565b60405180910390f35b610522611266565b005b34801561053057600080fd5b5061053961135e565b6040516105469190613707565b60405180910390f35b34801561055b57600080fd5b50610564611384565b60405161057191906133d4565b60405180910390f35b34801561058657600080fd5b506105a1600480360381019061059c9190613483565b611416565b005b3480156105af57600080fd5b506105ca60048036038101906105c5919061374e565b61150b565b005b3480156105d857600080fd5b506105e1611683565b6040516105ee91906134ff565b60405180910390f35b34801561060357600080fd5b5061061e600480360381019061061991906137ba565b611692565b005b34801561062c57600080fd5b50610647600480360381019061064291906137e7565b611766565b005b34801561065557600080fd5b50610670600480360381019061066b91906138b5565b611813565b005b34801561067e57600080fd5b5061068761188f565b6040516106949190613997565b60405180910390f35b3480156106a957600080fd5b506106c460048036038101906106bf919061342c565b6118b5565b6040516106d191906133d4565b60405180910390f35b3480156106e657600080fd5b5061070160048036038101906106fc919061351a565b611954565b005b34801561070f57600080fd5b5061072a6004803603810190610725919061342c565b611a68565b6040516107379190613320565b60405180910390f35b34801561074c57600080fd5b50610755611a88565b60405161076291906134ff565b60405180910390f35b34801561077757600080fd5b50610792600480360381019061078d91906139b2565b611aac565b60405161079f9190613320565b60405180910390f35b3480156107b457600080fd5b506107cf60048036038101906107ca919061342c565b611b40565b6040516107dc9190613a75565b60405180910390f35b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610875576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086c90613adc565b60405180910390fd5b600e54610880610d54565b8383905061088e9190613b2b565b11156108cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c690613bcd565b60405180910390fd5b600080600090505b838390508110156109745760008484838181106108f7576108f6613bed565b5b9050602002013590506011600082815260200190815260200160002060009054906101000a900460ff1661096057828061093090613c1c565b93505060016011600083815260200190815260200160002060006101000a81548160ff0219169083151502179055505b50808061096c90613c1c565b9150506108d7565b5061097f8482611c10565b50505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a5057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a605750610a5f82611c2e565b5b9050919050565b606060028054610a7690613c94565b80601f0160208091040260200160405190810160405280929190818152602001828054610aa290613c94565b8015610aef5780601f10610ac457610100808354040283529160200191610aef565b820191906000526020600020905b815481529060010190602001808311610ad257829003601f168201915b5050505050905090565b6000610b0482611c98565b610b3a576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b80826110f2565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610be8576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c07611ce6565b73ffffffffffffffffffffffffffffffffffffffff1614158015610c395750610c3781610c32611ce6565b611aac565b155b15610c70576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c7b838383611cee565b505050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0790613adc565b60405180910390fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000610d5e611da0565b6001546000540303905090565b610d76838383611dc8565b505050565b600e5481565b610d9c83838360405180602001604052806000815250611813565b505050565b610dac81600161227e565b50565b6000600860009054906101000a900460ff16610e00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df790613d12565b60405180910390fd5b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401610e5d9190613468565b602060405180830381865afa158015610e7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9e9190613d47565b905060008060005b83811015610fc157601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5933836040518363ffffffff1660e01b8152600401610f0b929190613d74565b602060405180830381865afa158015610f28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f4c9190613d47565b92506011600084815260200190815260200160002060009054906101000a900460ff16610fae578180610f7e90613c1c565b92505060016011600085815260200190815260200160002060006101000a81548160ff0219169083151502179055505b8080610fb990613c1c565b915050610ea6565b50600081111561102d57600e54610fd6610d54565b82610fe19190613b2b565b1115611022576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101990613bcd565b60405180910390fd5b61102c3382611c10565b5b80935050505090565b600061104182611c98565b9050919050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146110d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cf90613adc565b60405180910390fd5b80600990805190602001906110ee929190613063565b5050565b60006110fd8261266e565b600001519050919050565b6009805461111590613c94565b80601f016020809104026020016040519081016040528092919081815260200182805461114190613c94565b801561118e5780601f106111635761010080835404028352916020019161118e565b820191906000526020600020905b81548152906001019060200180831161117157829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111fe576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146112f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ed90613adc565b60405180910390fd5b6000479050600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061135b57600080fd5b50565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606003805461139390613c94565b80601f01602080910402602001604051908101604052809291908181526020018280546113bf90613c94565b801561140c5780601f106113e15761010080835404028352916020019161140c565b820191906000526020600020905b8154815290600101906020018083116113ef57829003601f168201915b5050505050905090565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146114a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149d90613adc565b60405180910390fd5b600e546114b1610d54565b826114bc9190613b2b565b11156114fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f490613bcd565b60405180910390fd5b6115078282611c10565b5050565b611513611ce6565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611578576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611585611ce6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611632611ce6565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116779190613320565b60405180910390a35050565b600061168d6128fd565b905090565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611722576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171990613adc565b60405180910390fd5b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146117f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ed90613adc565b60405180910390fd5b80600860006101000a81548160ff02191690831515021790555050565b61181e848484611dc8565b61183d8373ffffffffffffffffffffffffffffffffffffffff16612910565b8015611852575061185084848484612933565b155b15611889576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606118c082611c98565b6118f6576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611900612a84565b9050600081511415611921576040518060200160405280600081525061194c565b8061192b84612b16565b60405160200161193c929190613dd9565b6040516020818303038152906040525b915050919050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146119e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119db90613adc565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84836040518363ffffffff1660e01b8152600401611a1f929190613d74565b6020604051808303816000875af1158015611a3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a629190613e12565b50505050565b60116020528060005260406000206000915054906101000a900460ff1681565b7f000000000000000000000000000000000000000000000000000000000000000181565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b486130e9565b600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050919050565b611c2a828260405180602001604052806000815250612c77565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081611ca3611da0565b11158015611cb2575060005482105b8015611cdf575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60007f0000000000000000000000000000000000000000000000000000000000000001905090565b6000611dd38261266e565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611e3e576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611e5f611ce6565b73ffffffffffffffffffffffffffffffffffffffff161480611e8e5750611e8d85611e88611ce6565b611aac565b5b80611ed35750611e9c611ce6565b73ffffffffffffffffffffffffffffffffffffffff16611ebb84610af9565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611f0c576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611f73576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611f808585856001612c89565b611f8c60008487611cee565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561220c57600054821461220b57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46122778585856001612c8f565b5050505050565b60006122898361266e565b9050600081600001519050821561236a5760008173ffffffffffffffffffffffffffffffffffffffff166122bb611ce6565b73ffffffffffffffffffffffffffffffffffffffff1614806122ea57506122e9826122e4611ce6565b611aac565b5b8061232f57506122f8611ce6565b73ffffffffffffffffffffffffffffffffffffffff1661231786610af9565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612368576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b612378816000866001612c89565b61238460008583611cee565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060018160000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060018160000160108282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008781526020019081526020016000209050828160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600181600001601c6101000a81548160ff02191690831515021790555060006001870190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156125e85760005482146125e757848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555085602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b5050505083600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612656816000866001612c8f565b60016000815480929190600101919050555050505050565b6126766130e9565b600082905080612684611da0565b11158015612693575060005481105b156128c6576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516128c457600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146127a85780925050506128f8565b5b6001156128c357818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146128be5780925050506128f8565b6127a9565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000612907611da0565b60005403905090565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612959611ce6565b8786866040518563ffffffff1660e01b815260040161297b9493929190613e94565b6020604051808303816000875af19250505080156129b757506040513d601f19601f820116820180604052508101906129b49190613ef5565b60015b612a31573d80600081146129e7576040519150601f19603f3d011682016040523d82523d6000602084013e6129ec565b606091505b50600081511415612a29576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060098054612a9390613c94565b80601f0160208091040260200160405190810160405280929190818152602001828054612abf90613c94565b8015612b0c5780601f10612ae157610100808354040283529160200191612b0c565b820191906000526020600020905b815481529060010190602001808311612aef57829003601f168201915b5050505050905090565b60606000821415612b5e576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612c72565b600082905060005b60008214612b90578080612b7990613c1c565b915050600a82612b899190613f51565b9150612b66565b60008167ffffffffffffffff811115612bac57612bab613572565b5b6040519080825280601f01601f191660200182016040528015612bde5781602001600182028036833780820191505090505b5090505b60008514612c6b57600182612bf79190613f82565b9150600a85612c069190613fb6565b6030612c129190613b2b565b60f81b818381518110612c2857612c27613bed565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612c649190613f51565b9450612be2565b8093505050505b919050565b612c848383836001612c95565b505050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612d02576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612d3d576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612d4a6000868387612c89565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015612f145750612f138773ffffffffffffffffffffffffffffffffffffffff16612910565b5b15612fda575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612f896000888480600101955088612933565b612fbf576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415612f1a578260005414612fd557600080fd5b613046565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415612fdb575b81600081905550505061305c6000868387612c8f565b5050505050565b82805461306f90613c94565b90600052602060002090601f01602090048101928261309157600085556130d8565b82601f106130aa57805160ff19168380011785556130d8565b828001600101855582156130d8579182015b828111156130d75782518255916020019190600101906130bc565b5b5090506130e5919061312c565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561314557600081600090555060010161312d565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006131888261315d565b9050919050565b6131988161317d565b81146131a357600080fd5b50565b6000813590506131b58161318f565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126131e0576131df6131bb565b5b8235905067ffffffffffffffff8111156131fd576131fc6131c0565b5b602083019150836020820283011115613219576132186131c5565b5b9250929050565b60008060006040848603121561323957613238613153565b5b6000613247868287016131a6565b935050602084013567ffffffffffffffff81111561326857613267613158565b5b613274868287016131ca565b92509250509250925092565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6132b581613280565b81146132c057600080fd5b50565b6000813590506132d2816132ac565b92915050565b6000602082840312156132ee576132ed613153565b5b60006132fc848285016132c3565b91505092915050565b60008115159050919050565b61331a81613305565b82525050565b60006020820190506133356000830184613311565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561337557808201518184015260208101905061335a565b83811115613384576000848401525b50505050565b6000601f19601f8301169050919050565b60006133a68261333b565b6133b08185613346565b93506133c0818560208601613357565b6133c98161338a565b840191505092915050565b600060208201905081810360008301526133ee818461339b565b905092915050565b6000819050919050565b613409816133f6565b811461341457600080fd5b50565b60008135905061342681613400565b92915050565b60006020828403121561344257613441613153565b5b600061345084828501613417565b91505092915050565b6134628161317d565b82525050565b600060208201905061347d6000830184613459565b92915050565b6000806040838503121561349a57613499613153565b5b60006134a8858286016131a6565b92505060206134b985828601613417565b9150509250929050565b6000602082840312156134d9576134d8613153565b5b60006134e7848285016131a6565b91505092915050565b6134f9816133f6565b82525050565b600060208201905061351460008301846134f0565b92915050565b60008060006060848603121561353357613532613153565b5b6000613541868287016131a6565b9350506020613552868287016131a6565b925050604061356386828701613417565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6135aa8261338a565b810181811067ffffffffffffffff821117156135c9576135c8613572565b5b80604052505050565b60006135dc613149565b90506135e882826135a1565b919050565b600067ffffffffffffffff82111561360857613607613572565b5b6136118261338a565b9050602081019050919050565b82818337600083830152505050565b600061364061363b846135ed565b6135d2565b90508281526020810184848401111561365c5761365b61356d565b5b61366784828561361e565b509392505050565b600082601f830112613684576136836131bb565b5b813561369484826020860161362d565b91505092915050565b6000602082840312156136b3576136b2613153565b5b600082013567ffffffffffffffff8111156136d1576136d0613158565b5b6136dd8482850161366f565b91505092915050565b60006136f18261315d565b9050919050565b613701816136e6565b82525050565b600060208201905061371c60008301846136f8565b92915050565b61372b81613305565b811461373657600080fd5b50565b60008135905061374881613722565b92915050565b6000806040838503121561376557613764613153565b5b6000613773858286016131a6565b925050602061378485828601613739565b9150509250929050565b613797816136e6565b81146137a257600080fd5b50565b6000813590506137b48161378e565b92915050565b6000602082840312156137d0576137cf613153565b5b60006137de848285016137a5565b91505092915050565b6000602082840312156137fd576137fc613153565b5b600061380b84828501613739565b91505092915050565b600067ffffffffffffffff82111561382f5761382e613572565b5b6138388261338a565b9050602081019050919050565b600061385861385384613814565b6135d2565b9050828152602081018484840111156138745761387361356d565b5b61387f84828561361e565b509392505050565b600082601f83011261389c5761389b6131bb565b5b81356138ac848260208601613845565b91505092915050565b600080600080608085870312156138cf576138ce613153565b5b60006138dd878288016131a6565b94505060206138ee878288016131a6565b93505060406138ff87828801613417565b925050606085013567ffffffffffffffff8111156139205761391f613158565b5b61392c87828801613887565b91505092959194509250565b6000819050919050565b600061395d6139586139538461315d565b613938565b61315d565b9050919050565b600061396f82613942565b9050919050565b600061398182613964565b9050919050565b61399181613976565b82525050565b60006020820190506139ac6000830184613988565b92915050565b600080604083850312156139c9576139c8613153565b5b60006139d7858286016131a6565b92505060206139e8858286016131a6565b9150509250929050565b6139fb8161317d565b82525050565b600067ffffffffffffffff82169050919050565b613a1e81613a01565b82525050565b613a2d81613305565b82525050565b606082016000820151613a4960008501826139f2565b506020820151613a5c6020850182613a15565b506040820151613a6f6040850182613a24565b50505050565b6000606082019050613a8a6000830184613a33565b92915050565b7f4f6e6c79206f776e657200000000000000000000000000000000000000000000600082015250565b6000613ac6600a83613346565b9150613ad182613a90565b602082019050919050565b60006020820190508181036000830152613af581613ab9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613b36826133f6565b9150613b41836133f6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613b7657613b75613afc565b5b828201905092915050565b7f416c6c206a7569636520636c61696d6564210000000000000000000000000000600082015250565b6000613bb7601283613346565b9150613bc282613b81565b602082019050919050565b60006020820190508181036000830152613be681613baa565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613c27826133f6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613c5a57613c59613afc565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613cac57607f821691505b60208210811415613cc057613cbf613c65565b5b50919050565b7f436c61696d696e6720686173206e6f7420737461727465640000000000000000600082015250565b6000613cfc601883613346565b9150613d0782613cc6565b602082019050919050565b60006020820190508181036000830152613d2b81613cef565b9050919050565b600081519050613d4181613400565b92915050565b600060208284031215613d5d57613d5c613153565b5b6000613d6b84828501613d32565b91505092915050565b6000604082019050613d896000830185613459565b613d9660208301846134f0565b9392505050565b600081905092915050565b6000613db38261333b565b613dbd8185613d9d565b9350613dcd818560208601613357565b80840191505092915050565b6000613de58285613da8565b9150613df18284613da8565b91508190509392505050565b600081519050613e0c81613722565b92915050565b600060208284031215613e2857613e27613153565b5b6000613e3684828501613dfd565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000613e6682613e3f565b613e708185613e4a565b9350613e80818560208601613357565b613e898161338a565b840191505092915050565b6000608082019050613ea96000830187613459565b613eb66020830186613459565b613ec360408301856134f0565b8181036060830152613ed58184613e5b565b905095945050505050565b600081519050613eef816132ac565b92915050565b600060208284031215613f0b57613f0a613153565b5b6000613f1984828501613ee0565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613f5c826133f6565b9150613f67836133f6565b925082613f7757613f76613f22565b5b828204905092915050565b6000613f8d826133f6565b9150613f98836133f6565b925082821015613fab57613faa613afc565b5b828203905092915050565b6000613fc1826133f6565b9150613fcc836133f6565b925082613fdc57613fdb613f22565b5b82820690509291505056fea2646970667358221220fdbd78f63231f653e7d0e9db8bc3534a45b9813e6299405cc1d66255663e636764736f6c634300080c0033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

Juice bar for apocalyptic apes

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.