ETH Price: $3,393.68 (+2.06%)

Contract

0x86e9C5ad3D4b5519DA2D2C19F5c71bAa5Ef40933
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

More Info

Private Name Tags

TokenTracker

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer From236989822025-10-31 17:59:595 days ago1761933599IN
Puppies: BGP Token
0 ETH0.000147452.32029851
Set Approval For...236513172025-10-25 1:53:1112 days ago1761357191IN
Puppies: BGP Token
0 ETH0.0000020.08090362
Set Approval For...236353622025-10-22 20:12:1114 days ago1761163931IN
Puppies: BGP Token
0 ETH0.000099542.13467343
Set Approval For...235981832025-10-17 15:09:1119 days ago1760713751IN
Puppies: BGP Token
0 ETH0.000140443.01173211
Set Approval For...235084842025-10-05 2:07:4732 days ago1759630067IN
Puppies: BGP Token
0 ETH0.000051331.10081436
Set Approval For...234429942025-09-25 22:21:2341 days ago1758838883IN
Puppies: BGP Token
0 ETH0.000016720.35854471
Transfer From233968632025-09-19 11:35:4747 days ago1758281747IN
Puppies: BGP Token
0 ETH0.000077251.31505284
Set Approval For...233837432025-09-17 15:37:5949 days ago1758123479IN
Puppies: BGP Token
0 ETH0.000111162.38373088
Set Approval For...233007092025-09-06 1:13:2361 days ago1757121203IN
Puppies: BGP Token
0 ETH0.000057021.22289745
Set Approval For...233004282025-09-06 0:16:3561 days ago1757117795IN
Puppies: BGP Token
0 ETH0.000056251.20635733
Set Approval For...232694072025-09-01 16:14:1165 days ago1756743251IN
Puppies: BGP Token
0 ETH0.000224569.05293119
Set Approval For...231641052025-08-17 23:36:3580 days ago1755473795IN
Puppies: BGP Token
0 ETH0.000098622.11108225
Set Approval For...231614132025-08-17 14:36:2380 days ago1755441383IN
Puppies: BGP Token
0 ETH0.000107722.31002129
Set Approval For...230912322025-08-07 19:20:5990 days ago1754594459IN
Puppies: BGP Token
0 ETH0.000015830.63854728
Set Approval For...230849602025-08-06 22:18:4791 days ago1754518727IN
Puppies: BGP Token
0 ETH0.000102022.18770612
Set Approval For...230498762025-08-02 0:43:2396 days ago1754095403IN
Puppies: BGP Token
0 ETH0.000016780.35999528
Set Approval For...230352222025-07-30 23:29:4798 days ago1753918187IN
Puppies: BGP Token
0 ETH0.000087181.86955204
Transfer From229818172025-07-23 12:17:23105 days ago1753273043IN
Puppies: BGP Token
0 ETH0.000207453.53126101
Set Approval For...229647852025-07-21 3:09:35107 days ago1753067375IN
Puppies: BGP Token
0 ETH0.0001473.15242021
Set Approval For...228890582025-07-10 13:23:59118 days ago1752153839IN
Puppies: BGP Token
0 ETH0.000215344.61773217
Set Approval For...228399392025-07-03 16:38:35125 days ago1751560715IN
Puppies: BGP Token
0 ETH0.000069481.48991854
Set Approval For...228295432025-07-02 5:46:59126 days ago1751435219IN
Puppies: BGP Token
0 ETH0.000108912.33546328
Set Approval For...228272902025-07-01 22:12:23127 days ago1751407943IN
Puppies: BGP Token
0 ETH0.000044770.96015348
Set Approval For...227891902025-06-26 14:23:35132 days ago1750947815IN
Puppies: BGP Token
0 ETH0.000294216.30892132
Set Approval For...227310192025-06-18 11:18:23140 days ago1750245503IN
Puppies: BGP Token
0 ETH0.000054051.15911898
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Method Block
From
To
-140119732022-01-15 19:40:201390 days ago1642275620
Puppies: BGP Token
90.9 ETH
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Puppies

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: MIT
pragma solidity 0.8.11;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";


contract Puppies is ERC721, Ownable {
    using Counters for Counters.Counter;
    using SafeMath for uint256;
    using Strings for uint256;

    uint256 public nftSupply = 10_000;

    uint256 public claimingStart = 1641585600; // Jan 7 3pm EST
    uint256 public claimingEnd = 1642190400; // Jan 14 3pm EST

    uint256 public publicSaleStart = 1642194000; // Jan 14 4pm EST
    uint256 public publicSaleEnd = 1642366800; // Jan 16 4pm EST
    uint256 public publicSalePrice  = 0.06 ether;

    uint256 public revealDate = 1642546800; // Jan 18th 6pm EST

    string private _placeholderURI;
    string private _baseURIextended;

    uint256 public startingIndexBlock;
    uint256 public offset;

    bytes32 public merkleRoot;
    mapping(address=>uint256) private _claimed;

    Counters.Counter private _tokenSupply;

    constructor() ERC721("Puppies", "BGP") {}

    // claims new puppies
    //
    // kidsHeld corresponds to the number of Bubblegum Kid NFT's held
    // merkleProof is the proof of the merkle tree for the calling address
    function claimPuppies(uint256 kidsHeld, bytes32[] calldata merkleProof, uint256 amountToClaim) external payable returns (uint256, uint256) {
        require(block.timestamp >= claimingStart, "Claiming has not started.");
        require(block.timestamp < claimingEnd, "Claiming has ended.");
        require(merkleRoot != 0, "Merkle root not set yet.");

        bytes32 leaf = keccak256(abi.encodePacked(msg.sender, kidsHeld));
        bool valid = MerkleProof.verify(merkleProof, merkleRoot, leaf);
        
        require(valid, "Valid proof required.");
        require(_claimed[msg.sender] + amountToClaim <= kidsHeld, "Out of claims.");

        _claimed[msg.sender] += amountToClaim;

        return mintPuppies(amountToClaim);
    }

    // purchases new puppies
    function purchasePuppies(uint256 amountToClaim) external payable returns (uint256, uint256) {
        require(block.timestamp >= publicSaleStart, "Public sale has not started yet.");
        require(block.timestamp < publicSaleEnd, "Public sale is over");
        require(amountToClaim * publicSalePrice == msg.value, "Incorrect amount of ether sent.");

        return mintPuppies(amountToClaim);
    }

    function mintPuppies(uint256 amountToClaim) private returns (uint256, uint256) {
        require(amountToClaim > 0, "amount to claim must be positive");
        require(_tokenSupply.current() + amountToClaim <= nftSupply, "Not enough Puppies left.");

        uint256 firstMintId = _tokenSupply.current();

        for (uint256 i = 0; i < amountToClaim; i++) {
            _safeMint(msg.sender, firstMintId + i);
            _tokenSupply.increment();
        }

        if (startingIndexBlock == 0 && (firstMintId + amountToClaim == nftSupply || block.timestamp >= revealDate)) {
            startingIndexBlock = block.number;
        }

        return (firstMintId, amountToClaim);
    }

    function amountClaimed(address account) public view returns (uint256) {
        return _claimed[account];
    }

    function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner {
        merkleRoot = _merkleRoot;
    }

    function setPlaceholderURI(string memory placeholderURI_) external onlyOwner() {
        _placeholderURI = placeholderURI_;
    }

    function setBaseURI(string memory baseURI_) external onlyOwner() {
        _baseURIextended = baseURI_;
    }

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

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();

        if (offset == 0) {
            return _placeholderURI;

        } else {
            uint256 puppyId = tokenId.add(offset) % nftSupply;
            return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, puppyId.toString(), ".json")) : "";
        }
    }

    function reveal() public onlyOwner {
        require(offset == 0, "Offset is already set.");
        require(startingIndexBlock != 0, "Starting index block is required.");
        require(block.timestamp >= revealDate, "Too early to reveal.");
        
        offset = uint(blockhash(startingIndexBlock)) % nftSupply;
        
        if (block.number.sub(startingIndexBlock) > 255) {
            offset = uint(blockhash(block.number - 1)) % nftSupply;
        }
        
        if (offset == 0) {
            offset = offset.add(1);
        }
   }

    function withdraw() public payable onlyOwner {
        require(payable(msg.sender).send(address(this).balance));
    }

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

    function _beforeTokenTransfer(address from, address to, uint256 tokenId)
        internal
        override(ERC721)
    {
        super._beforeTokenTransfer(from, to, tokenId);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 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);
            }
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 11 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, 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;
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

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

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @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 virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

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

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_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 {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _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 {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @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.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

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

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

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

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * 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
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"amountClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"uint256","name":"kidsHeld","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"amountToClaim","type":"uint256"}],"name":"claimPuppies","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"claimingEnd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimingStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"offset","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleEnd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountToClaim","type":"uint256"}],"name":"purchasePuppies","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"placeholderURI_","type":"string"}],"name":"setPlaceholderURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startingIndexBlock","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":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

60806040526127106007556361d89bc06008556361e1d6406009556361e1e450600a556361e48750600b5566d529ae9e860000600c556361e74670600d553480156200004a57600080fd5b506040518060400160405280600781526020017f50757070696573000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f42475000000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000cf929190620001df565b508060019080519060200190620000e8929190620001df565b5050506200010b620000ff6200011160201b60201c565b6200011960201b60201c565b620002f4565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001ed90620002be565b90600052602060002090601f0160209004810192826200021157600085556200025d565b82601f106200022c57805160ff19168380011785556200025d565b828001600101855582156200025d579182015b828111156200025c5782518255916020019190600101906200023f565b5b5090506200026c919062000270565b5090565b5b808211156200028b57600081600090555060010162000271565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002d757607f821691505b60208210811415620002ee57620002ed6200028f565b5b50919050565b6145ab80620003046000396000f3fe6080604052600436106101f95760003560e01c806370a082311161010d578063b88d4fde116100a0578063e36d64981161006f578063e36d6498146106fc578063e985e9c514610727578063ec9b5cb214610764578063f2fde38b1461078f578063fc681bda146107b8576101f9565b8063b88d4fde1461062e578063c87b56dd14610657578063d555654414610694578063d7e1ea17146106bf576101f9565b806395d89b41116100dc57806395d89b41146105985780639b6860c8146105c3578063a22cb465146105ee578063a475b5dd14610617576101f9565b806370a08231146104f0578063715018a61461052d5780637cb64759146105445780638da5cb5b1461056d576101f9565b80632f25b2e91161019057806342842e0e1161015f57806342842e0e146103ff57806355f804b3146104285780635d6de0f2146104515780636352211e1461048257806368ec6590146104bf576101f9565b80632f25b2e9146103765780633360caa0146103a15780633574a2dd146103cc5780633ccfd60b146103f5576101f9565b8063095ea7b3116101cc578063095ea7b3146102ce5780631e08a9e4146102f757806323b872dd146103225780632eb4a7ab1461034b576101f9565b806301790e01146101fe57806301ffc9a71461022957806306fdde0314610266578063081812fc14610291575b600080fd5b34801561020a57600080fd5b506102136107e3565b6040516102209190612a34565b60405180910390f35b34801561023557600080fd5b50610250600480360381019061024b9190612abb565b6107e9565b60405161025d9190612b03565b60405180910390f35b34801561027257600080fd5b5061027b6107fb565b6040516102889190612bb7565b60405180910390f35b34801561029d57600080fd5b506102b860048036038101906102b39190612c05565b61088d565b6040516102c59190612c73565b60405180910390f35b3480156102da57600080fd5b506102f560048036038101906102f09190612cba565b610912565b005b34801561030357600080fd5b5061030c610a2a565b6040516103199190612a34565b60405180910390f35b34801561032e57600080fd5b5061034960048036038101906103449190612cfa565b610a30565b005b34801561035757600080fd5b50610360610a90565b60405161036d9190612d66565b60405180910390f35b34801561038257600080fd5b5061038b610a96565b6040516103989190612a34565b60405180910390f35b3480156103ad57600080fd5b506103b6610a9c565b6040516103c39190612a34565b60405180910390f35b3480156103d857600080fd5b506103f360048036038101906103ee9190612eb6565b610aa2565b005b6103fd610b38565b005b34801561040b57600080fd5b5061042660048036038101906104219190612cfa565b610bf4565b005b34801561043457600080fd5b5061044f600480360381019061044a9190612eb6565b610c14565b005b61046b60048036038101906104669190612f5f565b610caa565b604051610479929190612fd3565b60405180910390f35b34801561048e57600080fd5b506104a960048036038101906104a49190612c05565b610f38565b6040516104b69190612c73565b60405180910390f35b6104d960048036038101906104d49190612c05565b610fea565b6040516104e7929190612fd3565b60405180910390f35b3480156104fc57600080fd5b5061051760048036038101906105129190612ffc565b6110d7565b6040516105249190612a34565b60405180910390f35b34801561053957600080fd5b5061054261118f565b005b34801561055057600080fd5b5061056b60048036038101906105669190613055565b611217565b005b34801561057957600080fd5b5061058261129d565b60405161058f9190612c73565b60405180910390f35b3480156105a457600080fd5b506105ad6112c7565b6040516105ba9190612bb7565b60405180910390f35b3480156105cf57600080fd5b506105d8611359565b6040516105e59190612a34565b60405180910390f35b3480156105fa57600080fd5b50610615600480360381019061061091906130ae565b61135f565b005b34801561062357600080fd5b5061062c611375565b005b34801561063a57600080fd5b506106556004803603810190610650919061318f565b611547565b005b34801561066357600080fd5b5061067e60048036038101906106799190612c05565b6115a9565b60405161068b9190612bb7565b60405180910390f35b3480156106a057600080fd5b506106a9611716565b6040516106b69190612a34565b60405180910390f35b3480156106cb57600080fd5b506106e660048036038101906106e19190612ffc565b61171c565b6040516106f39190612a34565b60405180910390f35b34801561070857600080fd5b50610711611765565b60405161071e9190612a34565b60405180910390f35b34801561073357600080fd5b5061074e60048036038101906107499190613212565b61176b565b60405161075b9190612b03565b60405180910390f35b34801561077057600080fd5b506107796117ff565b6040516107869190612a34565b60405180910390f35b34801561079b57600080fd5b506107b660048036038101906107b19190612ffc565b611805565b005b3480156107c457600080fd5b506107cd6118fd565b6040516107da9190612a34565b60405180910390f35b60075481565b60006107f482611903565b9050919050565b60606000805461080a90613281565b80601f016020809104026020016040519081016040528092919081815260200182805461083690613281565b80156108835780601f1061085857610100808354040283529160200191610883565b820191906000526020600020905b81548152906001019060200180831161086657829003601f168201915b5050505050905090565b6000610898826119e5565b6108d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ce90613325565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061091d82610f38565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561098e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610985906133b7565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109ad611a51565b73ffffffffffffffffffffffffffffffffffffffff1614806109dc57506109db816109d6611a51565b61176b565b5b610a1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1290613449565b60405180910390fd5b610a258383611a59565b505050565b600d5481565b610a41610a3b611a51565b82611b12565b610a80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a77906134db565b60405180910390fd5b610a8b838383611bf0565b505050565b60125481565b60095481565b600a5481565b610aaa611a51565b73ffffffffffffffffffffffffffffffffffffffff16610ac861129d565b73ffffffffffffffffffffffffffffffffffffffff1614610b1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1590613547565b60405180910390fd5b80600e9080519060200190610b34929190612978565b5050565b610b40611a51565b73ffffffffffffffffffffffffffffffffffffffff16610b5e61129d565b73ffffffffffffffffffffffffffffffffffffffff1614610bb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bab90613547565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050610bf257600080fd5b565b610c0f83838360405180602001604052806000815250611547565b505050565b610c1c611a51565b73ffffffffffffffffffffffffffffffffffffffff16610c3a61129d565b73ffffffffffffffffffffffffffffffffffffffff1614610c90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8790613547565b60405180910390fd5b80600f9080519060200190610ca6929190612978565b5050565b600080600854421015610cf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce9906135b3565b60405180910390fd5b6009544210610d36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2d9061361f565b60405180910390fd5b6000801b6012541415610d7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d759061368b565b60405180910390fd5b60003387604051602001610d93929190613714565b6040516020818303038152906040528051906020012090506000610dfb878780806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060125484611e4c565b905080610e3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e349061378c565b60405180910390fd5b8785601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610e8991906137db565b1115610eca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec19061387d565b60405180910390fd5b84601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610f1991906137db565b92505081905550610f2985611e63565b93509350505094509492505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fe1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd89061390f565b60405180910390fd5b80915050919050565b600080600a54421015611032576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110299061397b565b60405180910390fd5b600b544210611076576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106d906139e7565b60405180910390fd5b34600c54846110859190613a07565b146110c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110bc90613aad565b60405180910390fd5b6110ce83611e63565b91509150915091565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611148576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113f90613b3f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611197611a51565b73ffffffffffffffffffffffffffffffffffffffff166111b561129d565b73ffffffffffffffffffffffffffffffffffffffff161461120b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120290613547565b60405180910390fd5b6112156000611f92565b565b61121f611a51565b73ffffffffffffffffffffffffffffffffffffffff1661123d61129d565b73ffffffffffffffffffffffffffffffffffffffff1614611293576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128a90613547565b60405180910390fd5b8060128190555050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546112d690613281565b80601f016020809104026020016040519081016040528092919081815260200182805461130290613281565b801561134f5780601f106113245761010080835404028352916020019161134f565b820191906000526020600020905b81548152906001019060200180831161133257829003601f168201915b5050505050905090565b600c5481565b61137161136a611a51565b8383612058565b5050565b61137d611a51565b73ffffffffffffffffffffffffffffffffffffffff1661139b61129d565b73ffffffffffffffffffffffffffffffffffffffff16146113f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e890613547565b60405180910390fd5b600060115414611436576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142d90613bab565b60405180910390fd5b6000601054141561147c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147390613c3d565b60405180910390fd5b600d544210156114c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b890613ca9565b60405180910390fd5b6007546010544060001c6114d59190613cf8565b60118190555060ff6114f2601054436121c590919063ffffffff16565b111561151d576007546001436115089190613d29565b4060001c6115169190613cf8565b6011819055505b600060115414156115455761153e60016011546121db90919063ffffffff16565b6011819055505b565b611558611552611a51565b83611b12565b611597576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158e906134db565b60405180910390fd5b6115a3848484846121f1565b50505050565b60606115b4826119e5565b6115f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ea90613dcf565b60405180910390fd5b60006115fd61224d565b90506000601154141561169d57600e805461161790613281565b80601f016020809104026020016040519081016040528092919081815260200182805461164390613281565b80156116905780601f1061166557610100808354040283529160200191611690565b820191906000526020600020905b81548152906001019060200180831161167357829003601f168201915b5050505050915050611711565b60006007546116b7601154866121db90919063ffffffff16565b6116c19190613cf8565b905060008251116116e1576040518060200160405280600081525061170c565b816116eb826122df565b6040516020016116fc929190613e77565b6040516020818303038152906040525b925050505b919050565b60115481565b6000601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60105481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600b5481565b61180d611a51565b73ffffffffffffffffffffffffffffffffffffffff1661182b61129d565b73ffffffffffffffffffffffffffffffffffffffff1614611881576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187890613547565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e890613f18565b60405180910390fd5b6118fa81611f92565b50565b60085481565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806119ce57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806119de57506119dd82612440565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611acc83610f38565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611b1d826119e5565b611b5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5390613faa565b60405180910390fd5b6000611b6783610f38565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611bd657508373ffffffffffffffffffffffffffffffffffffffff16611bbe8461088d565b73ffffffffffffffffffffffffffffffffffffffff16145b80611be75750611be6818561176b565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611c1082610f38565b73ffffffffffffffffffffffffffffffffffffffff1614611c66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5d9061403c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ccd906140ce565b60405180910390fd5b611ce18383836124aa565b611cec600082611a59565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d3c9190613d29565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d9391906137db565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600082611e5985846124ba565b1490509392505050565b60008060008311611ea9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea09061413a565b60405180910390fd5b60075483611eb7601461256d565b611ec191906137db565b1115611f02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef9906141a6565b60405180910390fd5b6000611f0e601461256d565b905060005b84811015611f4d57611f30338284611f2b91906137db565b61257b565b611f3a6014612599565b8080611f45906141c6565b915050611f13565b506000601054148015611f7957506007548482611f6a91906137db565b1480611f785750600d544210155b5b15611f8657436010819055505b80849250925050915091565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156120c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120be9061425b565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121b89190612b03565b60405180910390a3505050565b600081836121d39190613d29565b905092915050565b600081836121e991906137db565b905092915050565b6121fc848484611bf0565b612208848484846125af565b612247576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223e906142ed565b60405180910390fd5b50505050565b6060600f805461225c90613281565b80601f016020809104026020016040519081016040528092919081815260200182805461228890613281565b80156122d55780601f106122aa576101008083540402835291602001916122d5565b820191906000526020600020905b8154815290600101906020018083116122b857829003601f168201915b5050505050905090565b60606000821415612327576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061243b565b600082905060005b60008214612359578080612342906141c6565b915050600a82612352919061430d565b915061232f565b60008167ffffffffffffffff81111561237557612374612d8b565b5b6040519080825280601f01601f1916602001820160405280156123a75781602001600182028036833780820191505090505b5090505b60008514612434576001826123c09190613d29565b9150600a856123cf9190613cf8565b60306123db91906137db565b60f81b8183815181106123f1576123f061433e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561242d919061430d565b94506123ab565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6124b5838383612737565b505050565b60008082905060005b84518110156125625760008582815181106124e1576124e061433e565b5b6020026020010151905080831161252257828160405160200161250592919061438e565b60405160208183030381529060405280519060200120925061254e565b808360405160200161253592919061438e565b6040516020818303038152906040528051906020012092505b50808061255a906141c6565b9150506124c3565b508091505092915050565b600081600001549050919050565b61259582826040518060200160405280600081525061273c565b5050565b6001816000016000828254019250508190555050565b60006125d08473ffffffffffffffffffffffffffffffffffffffff16612797565b1561272a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026125f9611a51565b8786866040518563ffffffff1660e01b815260040161261b949392919061440f565b6020604051808303816000875af192505050801561265757506040513d601f19601f820116820180604052508101906126549190614470565b60015b6126da573d8060008114612687576040519150601f19603f3d011682016040523d82523d6000602084013e61268c565b606091505b506000815114156126d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126c9906142ed565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061272f565b600190505b949350505050565b505050565b61274683836127aa565b61275360008484846125af565b612792576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612789906142ed565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561281a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612811906144e9565b60405180910390fd5b612823816119e5565b15612863576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285a90614555565b60405180910390fd5b61286f600083836124aa565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128bf91906137db565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b82805461298490613281565b90600052602060002090601f0160209004810192826129a657600085556129ed565b82601f106129bf57805160ff19168380011785556129ed565b828001600101855582156129ed579182015b828111156129ec5782518255916020019190600101906129d1565b5b5090506129fa91906129fe565b5090565b5b80821115612a175760008160009055506001016129ff565b5090565b6000819050919050565b612a2e81612a1b565b82525050565b6000602082019050612a496000830184612a25565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a9881612a63565b8114612aa357600080fd5b50565b600081359050612ab581612a8f565b92915050565b600060208284031215612ad157612ad0612a59565b5b6000612adf84828501612aa6565b91505092915050565b60008115159050919050565b612afd81612ae8565b82525050565b6000602082019050612b186000830184612af4565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612b58578082015181840152602081019050612b3d565b83811115612b67576000848401525b50505050565b6000601f19601f8301169050919050565b6000612b8982612b1e565b612b938185612b29565b9350612ba3818560208601612b3a565b612bac81612b6d565b840191505092915050565b60006020820190508181036000830152612bd18184612b7e565b905092915050565b612be281612a1b565b8114612bed57600080fd5b50565b600081359050612bff81612bd9565b92915050565b600060208284031215612c1b57612c1a612a59565b5b6000612c2984828501612bf0565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612c5d82612c32565b9050919050565b612c6d81612c52565b82525050565b6000602082019050612c886000830184612c64565b92915050565b612c9781612c52565b8114612ca257600080fd5b50565b600081359050612cb481612c8e565b92915050565b60008060408385031215612cd157612cd0612a59565b5b6000612cdf85828601612ca5565b9250506020612cf085828601612bf0565b9150509250929050565b600080600060608486031215612d1357612d12612a59565b5b6000612d2186828701612ca5565b9350506020612d3286828701612ca5565b9250506040612d4386828701612bf0565b9150509250925092565b6000819050919050565b612d6081612d4d565b82525050565b6000602082019050612d7b6000830184612d57565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612dc382612b6d565b810181811067ffffffffffffffff82111715612de257612de1612d8b565b5b80604052505050565b6000612df5612a4f565b9050612e018282612dba565b919050565b600067ffffffffffffffff821115612e2157612e20612d8b565b5b612e2a82612b6d565b9050602081019050919050565b82818337600083830152505050565b6000612e59612e5484612e06565b612deb565b905082815260208101848484011115612e7557612e74612d86565b5b612e80848285612e37565b509392505050565b600082601f830112612e9d57612e9c612d81565b5b8135612ead848260208601612e46565b91505092915050565b600060208284031215612ecc57612ecb612a59565b5b600082013567ffffffffffffffff811115612eea57612ee9612a5e565b5b612ef684828501612e88565b91505092915050565b600080fd5b600080fd5b60008083601f840112612f1f57612f1e612d81565b5b8235905067ffffffffffffffff811115612f3c57612f3b612eff565b5b602083019150836020820283011115612f5857612f57612f04565b5b9250929050565b60008060008060608587031215612f7957612f78612a59565b5b6000612f8787828801612bf0565b945050602085013567ffffffffffffffff811115612fa857612fa7612a5e565b5b612fb487828801612f09565b93509350506040612fc787828801612bf0565b91505092959194509250565b6000604082019050612fe86000830185612a25565b612ff56020830184612a25565b9392505050565b60006020828403121561301257613011612a59565b5b600061302084828501612ca5565b91505092915050565b61303281612d4d565b811461303d57600080fd5b50565b60008135905061304f81613029565b92915050565b60006020828403121561306b5761306a612a59565b5b600061307984828501613040565b91505092915050565b61308b81612ae8565b811461309657600080fd5b50565b6000813590506130a881613082565b92915050565b600080604083850312156130c5576130c4612a59565b5b60006130d385828601612ca5565b92505060206130e485828601613099565b9150509250929050565b600067ffffffffffffffff82111561310957613108612d8b565b5b61311282612b6d565b9050602081019050919050565b600061313261312d846130ee565b612deb565b90508281526020810184848401111561314e5761314d612d86565b5b613159848285612e37565b509392505050565b600082601f83011261317657613175612d81565b5b813561318684826020860161311f565b91505092915050565b600080600080608085870312156131a9576131a8612a59565b5b60006131b787828801612ca5565b94505060206131c887828801612ca5565b93505060406131d987828801612bf0565b925050606085013567ffffffffffffffff8111156131fa576131f9612a5e565b5b61320687828801613161565b91505092959194509250565b6000806040838503121561322957613228612a59565b5b600061323785828601612ca5565b925050602061324885828601612ca5565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061329957607f821691505b602082108114156132ad576132ac613252565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061330f602c83612b29565b915061331a826132b3565b604082019050919050565b6000602082019050818103600083015261333e81613302565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006133a1602183612b29565b91506133ac82613345565b604082019050919050565b600060208201905081810360008301526133d081613394565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613433603883612b29565b915061343e826133d7565b604082019050919050565b6000602082019050818103600083015261346281613426565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006134c5603183612b29565b91506134d082613469565b604082019050919050565b600060208201905081810360008301526134f4816134b8565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613531602083612b29565b915061353c826134fb565b602082019050919050565b6000602082019050818103600083015261356081613524565b9050919050565b7f436c61696d696e6720686173206e6f7420737461727465642e00000000000000600082015250565b600061359d601983612b29565b91506135a882613567565b602082019050919050565b600060208201905081810360008301526135cc81613590565b9050919050565b7f436c61696d696e672068617320656e6465642e00000000000000000000000000600082015250565b6000613609601383612b29565b9150613614826135d3565b602082019050919050565b60006020820190508181036000830152613638816135fc565b9050919050565b7f4d65726b6c6520726f6f74206e6f7420736574207965742e0000000000000000600082015250565b6000613675601883612b29565b91506136808261363f565b602082019050919050565b600060208201905081810360008301526136a481613668565b9050919050565b60008160601b9050919050565b60006136c3826136ab565b9050919050565b60006136d5826136b8565b9050919050565b6136ed6136e882612c52565b6136ca565b82525050565b6000819050919050565b61370e61370982612a1b565b6136f3565b82525050565b600061372082856136dc565b60148201915061373082846136fd565b6020820191508190509392505050565b7f56616c69642070726f6f662072657175697265642e0000000000000000000000600082015250565b6000613776601583612b29565b915061378182613740565b602082019050919050565b600060208201905081810360008301526137a581613769565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006137e682612a1b565b91506137f183612a1b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613826576138256137ac565b5b828201905092915050565b7f4f7574206f6620636c61696d732e000000000000000000000000000000000000600082015250565b6000613867600e83612b29565b915061387282613831565b602082019050919050565b600060208201905081810360008301526138968161385a565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006138f9602983612b29565b91506139048261389d565b604082019050919050565b60006020820190508181036000830152613928816138ec565b9050919050565b7f5075626c69632073616c6520686173206e6f742073746172746564207965742e600082015250565b6000613965602083612b29565b91506139708261392f565b602082019050919050565b6000602082019050818103600083015261399481613958565b9050919050565b7f5075626c69632073616c65206973206f76657200000000000000000000000000600082015250565b60006139d1601383612b29565b91506139dc8261399b565b602082019050919050565b60006020820190508181036000830152613a00816139c4565b9050919050565b6000613a1282612a1b565b9150613a1d83612a1b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613a5657613a556137ac565b5b828202905092915050565b7f496e636f727265637420616d6f756e74206f662065746865722073656e742e00600082015250565b6000613a97601f83612b29565b9150613aa282613a61565b602082019050919050565b60006020820190508181036000830152613ac681613a8a565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000613b29602a83612b29565b9150613b3482613acd565b604082019050919050565b60006020820190508181036000830152613b5881613b1c565b9050919050565b7f4f666673657420697320616c7265616479207365742e00000000000000000000600082015250565b6000613b95601683612b29565b9150613ba082613b5f565b602082019050919050565b60006020820190508181036000830152613bc481613b88565b9050919050565b7f5374617274696e6720696e64657820626c6f636b20697320726571756972656460008201527f2e00000000000000000000000000000000000000000000000000000000000000602082015250565b6000613c27602183612b29565b9150613c3282613bcb565b604082019050919050565b60006020820190508181036000830152613c5681613c1a565b9050919050565b7f546f6f206561726c7920746f2072657665616c2e000000000000000000000000600082015250565b6000613c93601483612b29565b9150613c9e82613c5d565b602082019050919050565b60006020820190508181036000830152613cc281613c86565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613d0382612a1b565b9150613d0e83612a1b565b925082613d1e57613d1d613cc9565b5b828206905092915050565b6000613d3482612a1b565b9150613d3f83612a1b565b925082821015613d5257613d516137ac565b5b828203905092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613db9602f83612b29565b9150613dc482613d5d565b604082019050919050565b60006020820190508181036000830152613de881613dac565b9050919050565b600081905092915050565b6000613e0582612b1e565b613e0f8185613def565b9350613e1f818560208601612b3a565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613e61600583613def565b9150613e6c82613e2b565b600582019050919050565b6000613e838285613dfa565b9150613e8f8284613dfa565b9150613e9a82613e54565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613f02602683612b29565b9150613f0d82613ea6565b604082019050919050565b60006020820190508181036000830152613f3181613ef5565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613f94602c83612b29565b9150613f9f82613f38565b604082019050919050565b60006020820190508181036000830152613fc381613f87565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614026602983612b29565b915061403182613fca565b604082019050919050565b6000602082019050818103600083015261405581614019565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006140b8602483612b29565b91506140c38261405c565b604082019050919050565b600060208201905081810360008301526140e7816140ab565b9050919050565b7f616d6f756e7420746f20636c61696d206d75737420626520706f736974697665600082015250565b6000614124602083612b29565b915061412f826140ee565b602082019050919050565b6000602082019050818103600083015261415381614117565b9050919050565b7f4e6f7420656e6f7567682050757070696573206c6566742e0000000000000000600082015250565b6000614190601883612b29565b915061419b8261415a565b602082019050919050565b600060208201905081810360008301526141bf81614183565b9050919050565b60006141d182612a1b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614204576142036137ac565b5b600182019050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614245601983612b29565b91506142508261420f565b602082019050919050565b6000602082019050818103600083015261427481614238565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006142d7603283612b29565b91506142e28261427b565b604082019050919050565b60006020820190508181036000830152614306816142ca565b9050919050565b600061431882612a1b565b915061432383612a1b565b92508261433357614332613cc9565b5b828204905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000819050919050565b61438861438382612d4d565b61436d565b82525050565b600061439a8285614377565b6020820191506143aa8284614377565b6020820191508190509392505050565b600081519050919050565b600082825260208201905092915050565b60006143e1826143ba565b6143eb81856143c5565b93506143fb818560208601612b3a565b61440481612b6d565b840191505092915050565b60006080820190506144246000830187612c64565b6144316020830186612c64565b61443e6040830185612a25565b818103606083015261445081846143d6565b905095945050505050565b60008151905061446a81612a8f565b92915050565b60006020828403121561448657614485612a59565b5b60006144948482850161445b565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006144d3602083612b29565b91506144de8261449d565b602082019050919050565b60006020820190508181036000830152614502816144c6565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061453f601c83612b29565b915061454a82614509565b602082019050919050565b6000602082019050818103600083015261456e81614532565b905091905056fea26469706673582212209c2a0bc14397a3d5171e387a299b74a78699ef9fdc69d458259a4e84ee0b877464736f6c634300080b0033

Deployed Bytecode

0x6080604052600436106101f95760003560e01c806370a082311161010d578063b88d4fde116100a0578063e36d64981161006f578063e36d6498146106fc578063e985e9c514610727578063ec9b5cb214610764578063f2fde38b1461078f578063fc681bda146107b8576101f9565b8063b88d4fde1461062e578063c87b56dd14610657578063d555654414610694578063d7e1ea17146106bf576101f9565b806395d89b41116100dc57806395d89b41146105985780639b6860c8146105c3578063a22cb465146105ee578063a475b5dd14610617576101f9565b806370a08231146104f0578063715018a61461052d5780637cb64759146105445780638da5cb5b1461056d576101f9565b80632f25b2e91161019057806342842e0e1161015f57806342842e0e146103ff57806355f804b3146104285780635d6de0f2146104515780636352211e1461048257806368ec6590146104bf576101f9565b80632f25b2e9146103765780633360caa0146103a15780633574a2dd146103cc5780633ccfd60b146103f5576101f9565b8063095ea7b3116101cc578063095ea7b3146102ce5780631e08a9e4146102f757806323b872dd146103225780632eb4a7ab1461034b576101f9565b806301790e01146101fe57806301ffc9a71461022957806306fdde0314610266578063081812fc14610291575b600080fd5b34801561020a57600080fd5b506102136107e3565b6040516102209190612a34565b60405180910390f35b34801561023557600080fd5b50610250600480360381019061024b9190612abb565b6107e9565b60405161025d9190612b03565b60405180910390f35b34801561027257600080fd5b5061027b6107fb565b6040516102889190612bb7565b60405180910390f35b34801561029d57600080fd5b506102b860048036038101906102b39190612c05565b61088d565b6040516102c59190612c73565b60405180910390f35b3480156102da57600080fd5b506102f560048036038101906102f09190612cba565b610912565b005b34801561030357600080fd5b5061030c610a2a565b6040516103199190612a34565b60405180910390f35b34801561032e57600080fd5b5061034960048036038101906103449190612cfa565b610a30565b005b34801561035757600080fd5b50610360610a90565b60405161036d9190612d66565b60405180910390f35b34801561038257600080fd5b5061038b610a96565b6040516103989190612a34565b60405180910390f35b3480156103ad57600080fd5b506103b6610a9c565b6040516103c39190612a34565b60405180910390f35b3480156103d857600080fd5b506103f360048036038101906103ee9190612eb6565b610aa2565b005b6103fd610b38565b005b34801561040b57600080fd5b5061042660048036038101906104219190612cfa565b610bf4565b005b34801561043457600080fd5b5061044f600480360381019061044a9190612eb6565b610c14565b005b61046b60048036038101906104669190612f5f565b610caa565b604051610479929190612fd3565b60405180910390f35b34801561048e57600080fd5b506104a960048036038101906104a49190612c05565b610f38565b6040516104b69190612c73565b60405180910390f35b6104d960048036038101906104d49190612c05565b610fea565b6040516104e7929190612fd3565b60405180910390f35b3480156104fc57600080fd5b5061051760048036038101906105129190612ffc565b6110d7565b6040516105249190612a34565b60405180910390f35b34801561053957600080fd5b5061054261118f565b005b34801561055057600080fd5b5061056b60048036038101906105669190613055565b611217565b005b34801561057957600080fd5b5061058261129d565b60405161058f9190612c73565b60405180910390f35b3480156105a457600080fd5b506105ad6112c7565b6040516105ba9190612bb7565b60405180910390f35b3480156105cf57600080fd5b506105d8611359565b6040516105e59190612a34565b60405180910390f35b3480156105fa57600080fd5b50610615600480360381019061061091906130ae565b61135f565b005b34801561062357600080fd5b5061062c611375565b005b34801561063a57600080fd5b506106556004803603810190610650919061318f565b611547565b005b34801561066357600080fd5b5061067e60048036038101906106799190612c05565b6115a9565b60405161068b9190612bb7565b60405180910390f35b3480156106a057600080fd5b506106a9611716565b6040516106b69190612a34565b60405180910390f35b3480156106cb57600080fd5b506106e660048036038101906106e19190612ffc565b61171c565b6040516106f39190612a34565b60405180910390f35b34801561070857600080fd5b50610711611765565b60405161071e9190612a34565b60405180910390f35b34801561073357600080fd5b5061074e60048036038101906107499190613212565b61176b565b60405161075b9190612b03565b60405180910390f35b34801561077057600080fd5b506107796117ff565b6040516107869190612a34565b60405180910390f35b34801561079b57600080fd5b506107b660048036038101906107b19190612ffc565b611805565b005b3480156107c457600080fd5b506107cd6118fd565b6040516107da9190612a34565b60405180910390f35b60075481565b60006107f482611903565b9050919050565b60606000805461080a90613281565b80601f016020809104026020016040519081016040528092919081815260200182805461083690613281565b80156108835780601f1061085857610100808354040283529160200191610883565b820191906000526020600020905b81548152906001019060200180831161086657829003601f168201915b5050505050905090565b6000610898826119e5565b6108d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ce90613325565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061091d82610f38565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561098e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610985906133b7565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109ad611a51565b73ffffffffffffffffffffffffffffffffffffffff1614806109dc57506109db816109d6611a51565b61176b565b5b610a1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1290613449565b60405180910390fd5b610a258383611a59565b505050565b600d5481565b610a41610a3b611a51565b82611b12565b610a80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a77906134db565b60405180910390fd5b610a8b838383611bf0565b505050565b60125481565b60095481565b600a5481565b610aaa611a51565b73ffffffffffffffffffffffffffffffffffffffff16610ac861129d565b73ffffffffffffffffffffffffffffffffffffffff1614610b1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1590613547565b60405180910390fd5b80600e9080519060200190610b34929190612978565b5050565b610b40611a51565b73ffffffffffffffffffffffffffffffffffffffff16610b5e61129d565b73ffffffffffffffffffffffffffffffffffffffff1614610bb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bab90613547565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050610bf257600080fd5b565b610c0f83838360405180602001604052806000815250611547565b505050565b610c1c611a51565b73ffffffffffffffffffffffffffffffffffffffff16610c3a61129d565b73ffffffffffffffffffffffffffffffffffffffff1614610c90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8790613547565b60405180910390fd5b80600f9080519060200190610ca6929190612978565b5050565b600080600854421015610cf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce9906135b3565b60405180910390fd5b6009544210610d36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2d9061361f565b60405180910390fd5b6000801b6012541415610d7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d759061368b565b60405180910390fd5b60003387604051602001610d93929190613714565b6040516020818303038152906040528051906020012090506000610dfb878780806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060125484611e4c565b905080610e3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e349061378c565b60405180910390fd5b8785601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610e8991906137db565b1115610eca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec19061387d565b60405180910390fd5b84601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610f1991906137db565b92505081905550610f2985611e63565b93509350505094509492505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fe1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd89061390f565b60405180910390fd5b80915050919050565b600080600a54421015611032576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110299061397b565b60405180910390fd5b600b544210611076576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106d906139e7565b60405180910390fd5b34600c54846110859190613a07565b146110c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110bc90613aad565b60405180910390fd5b6110ce83611e63565b91509150915091565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611148576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113f90613b3f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611197611a51565b73ffffffffffffffffffffffffffffffffffffffff166111b561129d565b73ffffffffffffffffffffffffffffffffffffffff161461120b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120290613547565b60405180910390fd5b6112156000611f92565b565b61121f611a51565b73ffffffffffffffffffffffffffffffffffffffff1661123d61129d565b73ffffffffffffffffffffffffffffffffffffffff1614611293576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128a90613547565b60405180910390fd5b8060128190555050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546112d690613281565b80601f016020809104026020016040519081016040528092919081815260200182805461130290613281565b801561134f5780601f106113245761010080835404028352916020019161134f565b820191906000526020600020905b81548152906001019060200180831161133257829003601f168201915b5050505050905090565b600c5481565b61137161136a611a51565b8383612058565b5050565b61137d611a51565b73ffffffffffffffffffffffffffffffffffffffff1661139b61129d565b73ffffffffffffffffffffffffffffffffffffffff16146113f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e890613547565b60405180910390fd5b600060115414611436576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142d90613bab565b60405180910390fd5b6000601054141561147c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147390613c3d565b60405180910390fd5b600d544210156114c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b890613ca9565b60405180910390fd5b6007546010544060001c6114d59190613cf8565b60118190555060ff6114f2601054436121c590919063ffffffff16565b111561151d576007546001436115089190613d29565b4060001c6115169190613cf8565b6011819055505b600060115414156115455761153e60016011546121db90919063ffffffff16565b6011819055505b565b611558611552611a51565b83611b12565b611597576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158e906134db565b60405180910390fd5b6115a3848484846121f1565b50505050565b60606115b4826119e5565b6115f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ea90613dcf565b60405180910390fd5b60006115fd61224d565b90506000601154141561169d57600e805461161790613281565b80601f016020809104026020016040519081016040528092919081815260200182805461164390613281565b80156116905780601f1061166557610100808354040283529160200191611690565b820191906000526020600020905b81548152906001019060200180831161167357829003601f168201915b5050505050915050611711565b60006007546116b7601154866121db90919063ffffffff16565b6116c19190613cf8565b905060008251116116e1576040518060200160405280600081525061170c565b816116eb826122df565b6040516020016116fc929190613e77565b6040516020818303038152906040525b925050505b919050565b60115481565b6000601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60105481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600b5481565b61180d611a51565b73ffffffffffffffffffffffffffffffffffffffff1661182b61129d565b73ffffffffffffffffffffffffffffffffffffffff1614611881576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187890613547565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e890613f18565b60405180910390fd5b6118fa81611f92565b50565b60085481565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806119ce57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806119de57506119dd82612440565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611acc83610f38565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611b1d826119e5565b611b5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5390613faa565b60405180910390fd5b6000611b6783610f38565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611bd657508373ffffffffffffffffffffffffffffffffffffffff16611bbe8461088d565b73ffffffffffffffffffffffffffffffffffffffff16145b80611be75750611be6818561176b565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611c1082610f38565b73ffffffffffffffffffffffffffffffffffffffff1614611c66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5d9061403c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ccd906140ce565b60405180910390fd5b611ce18383836124aa565b611cec600082611a59565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d3c9190613d29565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d9391906137db565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600082611e5985846124ba565b1490509392505050565b60008060008311611ea9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea09061413a565b60405180910390fd5b60075483611eb7601461256d565b611ec191906137db565b1115611f02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef9906141a6565b60405180910390fd5b6000611f0e601461256d565b905060005b84811015611f4d57611f30338284611f2b91906137db565b61257b565b611f3a6014612599565b8080611f45906141c6565b915050611f13565b506000601054148015611f7957506007548482611f6a91906137db565b1480611f785750600d544210155b5b15611f8657436010819055505b80849250925050915091565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156120c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120be9061425b565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121b89190612b03565b60405180910390a3505050565b600081836121d39190613d29565b905092915050565b600081836121e991906137db565b905092915050565b6121fc848484611bf0565b612208848484846125af565b612247576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223e906142ed565b60405180910390fd5b50505050565b6060600f805461225c90613281565b80601f016020809104026020016040519081016040528092919081815260200182805461228890613281565b80156122d55780601f106122aa576101008083540402835291602001916122d5565b820191906000526020600020905b8154815290600101906020018083116122b857829003601f168201915b5050505050905090565b60606000821415612327576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061243b565b600082905060005b60008214612359578080612342906141c6565b915050600a82612352919061430d565b915061232f565b60008167ffffffffffffffff81111561237557612374612d8b565b5b6040519080825280601f01601f1916602001820160405280156123a75781602001600182028036833780820191505090505b5090505b60008514612434576001826123c09190613d29565b9150600a856123cf9190613cf8565b60306123db91906137db565b60f81b8183815181106123f1576123f061433e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561242d919061430d565b94506123ab565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6124b5838383612737565b505050565b60008082905060005b84518110156125625760008582815181106124e1576124e061433e565b5b6020026020010151905080831161252257828160405160200161250592919061438e565b60405160208183030381529060405280519060200120925061254e565b808360405160200161253592919061438e565b6040516020818303038152906040528051906020012092505b50808061255a906141c6565b9150506124c3565b508091505092915050565b600081600001549050919050565b61259582826040518060200160405280600081525061273c565b5050565b6001816000016000828254019250508190555050565b60006125d08473ffffffffffffffffffffffffffffffffffffffff16612797565b1561272a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026125f9611a51565b8786866040518563ffffffff1660e01b815260040161261b949392919061440f565b6020604051808303816000875af192505050801561265757506040513d601f19601f820116820180604052508101906126549190614470565b60015b6126da573d8060008114612687576040519150601f19603f3d011682016040523d82523d6000602084013e61268c565b606091505b506000815114156126d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126c9906142ed565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061272f565b600190505b949350505050565b505050565b61274683836127aa565b61275360008484846125af565b612792576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612789906142ed565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561281a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612811906144e9565b60405180910390fd5b612823816119e5565b15612863576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285a90614555565b60405180910390fd5b61286f600083836124aa565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128bf91906137db565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b82805461298490613281565b90600052602060002090601f0160209004810192826129a657600085556129ed565b82601f106129bf57805160ff19168380011785556129ed565b828001600101855582156129ed579182015b828111156129ec5782518255916020019190600101906129d1565b5b5090506129fa91906129fe565b5090565b5b80821115612a175760008160009055506001016129ff565b5090565b6000819050919050565b612a2e81612a1b565b82525050565b6000602082019050612a496000830184612a25565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a9881612a63565b8114612aa357600080fd5b50565b600081359050612ab581612a8f565b92915050565b600060208284031215612ad157612ad0612a59565b5b6000612adf84828501612aa6565b91505092915050565b60008115159050919050565b612afd81612ae8565b82525050565b6000602082019050612b186000830184612af4565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612b58578082015181840152602081019050612b3d565b83811115612b67576000848401525b50505050565b6000601f19601f8301169050919050565b6000612b8982612b1e565b612b938185612b29565b9350612ba3818560208601612b3a565b612bac81612b6d565b840191505092915050565b60006020820190508181036000830152612bd18184612b7e565b905092915050565b612be281612a1b565b8114612bed57600080fd5b50565b600081359050612bff81612bd9565b92915050565b600060208284031215612c1b57612c1a612a59565b5b6000612c2984828501612bf0565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612c5d82612c32565b9050919050565b612c6d81612c52565b82525050565b6000602082019050612c886000830184612c64565b92915050565b612c9781612c52565b8114612ca257600080fd5b50565b600081359050612cb481612c8e565b92915050565b60008060408385031215612cd157612cd0612a59565b5b6000612cdf85828601612ca5565b9250506020612cf085828601612bf0565b9150509250929050565b600080600060608486031215612d1357612d12612a59565b5b6000612d2186828701612ca5565b9350506020612d3286828701612ca5565b9250506040612d4386828701612bf0565b9150509250925092565b6000819050919050565b612d6081612d4d565b82525050565b6000602082019050612d7b6000830184612d57565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612dc382612b6d565b810181811067ffffffffffffffff82111715612de257612de1612d8b565b5b80604052505050565b6000612df5612a4f565b9050612e018282612dba565b919050565b600067ffffffffffffffff821115612e2157612e20612d8b565b5b612e2a82612b6d565b9050602081019050919050565b82818337600083830152505050565b6000612e59612e5484612e06565b612deb565b905082815260208101848484011115612e7557612e74612d86565b5b612e80848285612e37565b509392505050565b600082601f830112612e9d57612e9c612d81565b5b8135612ead848260208601612e46565b91505092915050565b600060208284031215612ecc57612ecb612a59565b5b600082013567ffffffffffffffff811115612eea57612ee9612a5e565b5b612ef684828501612e88565b91505092915050565b600080fd5b600080fd5b60008083601f840112612f1f57612f1e612d81565b5b8235905067ffffffffffffffff811115612f3c57612f3b612eff565b5b602083019150836020820283011115612f5857612f57612f04565b5b9250929050565b60008060008060608587031215612f7957612f78612a59565b5b6000612f8787828801612bf0565b945050602085013567ffffffffffffffff811115612fa857612fa7612a5e565b5b612fb487828801612f09565b93509350506040612fc787828801612bf0565b91505092959194509250565b6000604082019050612fe86000830185612a25565b612ff56020830184612a25565b9392505050565b60006020828403121561301257613011612a59565b5b600061302084828501612ca5565b91505092915050565b61303281612d4d565b811461303d57600080fd5b50565b60008135905061304f81613029565b92915050565b60006020828403121561306b5761306a612a59565b5b600061307984828501613040565b91505092915050565b61308b81612ae8565b811461309657600080fd5b50565b6000813590506130a881613082565b92915050565b600080604083850312156130c5576130c4612a59565b5b60006130d385828601612ca5565b92505060206130e485828601613099565b9150509250929050565b600067ffffffffffffffff82111561310957613108612d8b565b5b61311282612b6d565b9050602081019050919050565b600061313261312d846130ee565b612deb565b90508281526020810184848401111561314e5761314d612d86565b5b613159848285612e37565b509392505050565b600082601f83011261317657613175612d81565b5b813561318684826020860161311f565b91505092915050565b600080600080608085870312156131a9576131a8612a59565b5b60006131b787828801612ca5565b94505060206131c887828801612ca5565b93505060406131d987828801612bf0565b925050606085013567ffffffffffffffff8111156131fa576131f9612a5e565b5b61320687828801613161565b91505092959194509250565b6000806040838503121561322957613228612a59565b5b600061323785828601612ca5565b925050602061324885828601612ca5565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061329957607f821691505b602082108114156132ad576132ac613252565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061330f602c83612b29565b915061331a826132b3565b604082019050919050565b6000602082019050818103600083015261333e81613302565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006133a1602183612b29565b91506133ac82613345565b604082019050919050565b600060208201905081810360008301526133d081613394565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613433603883612b29565b915061343e826133d7565b604082019050919050565b6000602082019050818103600083015261346281613426565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006134c5603183612b29565b91506134d082613469565b604082019050919050565b600060208201905081810360008301526134f4816134b8565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613531602083612b29565b915061353c826134fb565b602082019050919050565b6000602082019050818103600083015261356081613524565b9050919050565b7f436c61696d696e6720686173206e6f7420737461727465642e00000000000000600082015250565b600061359d601983612b29565b91506135a882613567565b602082019050919050565b600060208201905081810360008301526135cc81613590565b9050919050565b7f436c61696d696e672068617320656e6465642e00000000000000000000000000600082015250565b6000613609601383612b29565b9150613614826135d3565b602082019050919050565b60006020820190508181036000830152613638816135fc565b9050919050565b7f4d65726b6c6520726f6f74206e6f7420736574207965742e0000000000000000600082015250565b6000613675601883612b29565b91506136808261363f565b602082019050919050565b600060208201905081810360008301526136a481613668565b9050919050565b60008160601b9050919050565b60006136c3826136ab565b9050919050565b60006136d5826136b8565b9050919050565b6136ed6136e882612c52565b6136ca565b82525050565b6000819050919050565b61370e61370982612a1b565b6136f3565b82525050565b600061372082856136dc565b60148201915061373082846136fd565b6020820191508190509392505050565b7f56616c69642070726f6f662072657175697265642e0000000000000000000000600082015250565b6000613776601583612b29565b915061378182613740565b602082019050919050565b600060208201905081810360008301526137a581613769565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006137e682612a1b565b91506137f183612a1b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613826576138256137ac565b5b828201905092915050565b7f4f7574206f6620636c61696d732e000000000000000000000000000000000000600082015250565b6000613867600e83612b29565b915061387282613831565b602082019050919050565b600060208201905081810360008301526138968161385a565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006138f9602983612b29565b91506139048261389d565b604082019050919050565b60006020820190508181036000830152613928816138ec565b9050919050565b7f5075626c69632073616c6520686173206e6f742073746172746564207965742e600082015250565b6000613965602083612b29565b91506139708261392f565b602082019050919050565b6000602082019050818103600083015261399481613958565b9050919050565b7f5075626c69632073616c65206973206f76657200000000000000000000000000600082015250565b60006139d1601383612b29565b91506139dc8261399b565b602082019050919050565b60006020820190508181036000830152613a00816139c4565b9050919050565b6000613a1282612a1b565b9150613a1d83612a1b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613a5657613a556137ac565b5b828202905092915050565b7f496e636f727265637420616d6f756e74206f662065746865722073656e742e00600082015250565b6000613a97601f83612b29565b9150613aa282613a61565b602082019050919050565b60006020820190508181036000830152613ac681613a8a565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000613b29602a83612b29565b9150613b3482613acd565b604082019050919050565b60006020820190508181036000830152613b5881613b1c565b9050919050565b7f4f666673657420697320616c7265616479207365742e00000000000000000000600082015250565b6000613b95601683612b29565b9150613ba082613b5f565b602082019050919050565b60006020820190508181036000830152613bc481613b88565b9050919050565b7f5374617274696e6720696e64657820626c6f636b20697320726571756972656460008201527f2e00000000000000000000000000000000000000000000000000000000000000602082015250565b6000613c27602183612b29565b9150613c3282613bcb565b604082019050919050565b60006020820190508181036000830152613c5681613c1a565b9050919050565b7f546f6f206561726c7920746f2072657665616c2e000000000000000000000000600082015250565b6000613c93601483612b29565b9150613c9e82613c5d565b602082019050919050565b60006020820190508181036000830152613cc281613c86565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613d0382612a1b565b9150613d0e83612a1b565b925082613d1e57613d1d613cc9565b5b828206905092915050565b6000613d3482612a1b565b9150613d3f83612a1b565b925082821015613d5257613d516137ac565b5b828203905092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613db9602f83612b29565b9150613dc482613d5d565b604082019050919050565b60006020820190508181036000830152613de881613dac565b9050919050565b600081905092915050565b6000613e0582612b1e565b613e0f8185613def565b9350613e1f818560208601612b3a565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613e61600583613def565b9150613e6c82613e2b565b600582019050919050565b6000613e838285613dfa565b9150613e8f8284613dfa565b9150613e9a82613e54565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613f02602683612b29565b9150613f0d82613ea6565b604082019050919050565b60006020820190508181036000830152613f3181613ef5565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613f94602c83612b29565b9150613f9f82613f38565b604082019050919050565b60006020820190508181036000830152613fc381613f87565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614026602983612b29565b915061403182613fca565b604082019050919050565b6000602082019050818103600083015261405581614019565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006140b8602483612b29565b91506140c38261405c565b604082019050919050565b600060208201905081810360008301526140e7816140ab565b9050919050565b7f616d6f756e7420746f20636c61696d206d75737420626520706f736974697665600082015250565b6000614124602083612b29565b915061412f826140ee565b602082019050919050565b6000602082019050818103600083015261415381614117565b9050919050565b7f4e6f7420656e6f7567682050757070696573206c6566742e0000000000000000600082015250565b6000614190601883612b29565b915061419b8261415a565b602082019050919050565b600060208201905081810360008301526141bf81614183565b9050919050565b60006141d182612a1b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614204576142036137ac565b5b600182019050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614245601983612b29565b91506142508261420f565b602082019050919050565b6000602082019050818103600083015261427481614238565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006142d7603283612b29565b91506142e28261427b565b604082019050919050565b60006020820190508181036000830152614306816142ca565b9050919050565b600061431882612a1b565b915061432383612a1b565b92508261433357614332613cc9565b5b828204905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000819050919050565b61438861438382612d4d565b61436d565b82525050565b600061439a8285614377565b6020820191506143aa8284614377565b6020820191508190509392505050565b600081519050919050565b600082825260208201905092915050565b60006143e1826143ba565b6143eb81856143c5565b93506143fb818560208601612b3a565b61440481612b6d565b840191505092915050565b60006080820190506144246000830187612c64565b6144316020830186612c64565b61443e6040830185612a25565b818103606083015261445081846143d6565b905095945050505050565b60008151905061446a81612a8f565b92915050565b60006020828403121561448657614485612a59565b5b60006144948482850161445b565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006144d3602083612b29565b91506144de8261449d565b602082019050919050565b60006020820190508181036000830152614502816144c6565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061453f601c83612b29565b915061454a82614509565b602082019050919050565b6000602082019050818103600083015261456e81614532565b905091905056fea26469706673582212209c2a0bc14397a3d5171e387a299b74a78699ef9fdc69d458259a4e84ee0b877464736f6c634300080b0033

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

OVERVIEW

BGK - https://opensea.io/collection/bubblegumkidsBubblegum Puppies is a standalone project, which is a part of the Bubblegum Universe. Bubblegum Kid holders have exclusive access to mint the Bubblegum Puppies for free. Owning a Bubblegum Puppy also provides unique utilitie...

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

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