Contract 0x09646c5c1e42ede848A57d6542382C32f2877164 2

 
 
Txn Hash
Method
Block
From
To
Value
0xaab53bd375d046ec42a7a21d0adc7a18cf6636153a77f959bd89736e8676911aSafe Transfer Fr...151408492022-07-14 12:51:2224 days 6 hrs ago0x809ca3f5ffb4b371733064b9c9f32f44bb969583 IN  Pumpametti: Metti Token0 Ether0.00076268 8.80870744
0xf9389db939f38ce8cde76f840089d7fd8d97a28b949d35ac59458dc440e86896Set Approval For...151232942022-07-11 19:41:1426 days 23 hrs agoENS Name cvinvest.eth IN  Pumpametti: Metti Token0 Ether0.00179956 39.01317706
0x15b66906565324c9acde170bda88177f8f2aef9ac4df0bc63d7f9065dd2665ddTransfer From150814232022-07-05 8:31:2633 days 10 hrs agoENS Name tokenfox.eth IN  Pumpametti: Metti Token0 Ether0.00150155 17.94632017
0xc4e51a3a87d822c062b7d68d955bfc3438bcdd07c3a28a0c189e85709ac4372fSet Approval For...150741302022-07-04 5:27:3034 days 14 hrs agoENS Name 30a.eth IN  Pumpametti: Metti Token0 Ether0.00059394 12.87625854
0x10930dba1833e5da938e368abf39197f5735cefd50dadaca26ddab38c943ea76Transfer From150718702022-07-03 20:56:0134 days 22 hrs agoENS Name weart.eth IN  Pumpametti: Metti Token0 Ether0.00185133 22.12688956
0x818ff6255260743c668db0d0ccf2bd52244fd3ce55f523993d7ec1d15c8b34aaSet Approval For...150340292022-06-27 11:00:4141 days 8 hrs agoENS Name artbazooka.eth IN  Pumpametti: Metti Token0 Ether0.00065783 27.07264898
0x86a94475391b77da4c84edec5bf9d2dea0986b22282b373997d8b9056cb5c264Set Approval For...150219362022-06-25 4:36:3443 days 14 hrs ago0x1f88ccc7f7a57aa0a1c01e219654f13e93ad51ed IN  Pumpametti: Metti Token0 Ether0.00068462 14.84211916
0x41890609d547d2ddfc54dd101645750c400a105f837a9df25a88d05fe1cd1125Set Approval For...150145792022-06-23 19:54:5744 days 23 hrs ago0x809ca3f5ffb4b371733064b9c9f32f44bb969583 IN  Pumpametti: Metti Token0 Ether0.00354589 76.87233908
0x8faf0699d2a54df66cde1e458dd3e84bb287aef272fad7142a4d86f916791631Set Approval For...150118312022-06-23 7:28:3145 days 12 hrs agoENS Name greatmek0.eth IN  Pumpametti: Metti Token0 Ether0.00106092 23
0x7c523dec7cfca872b53b7ad6371534ff9cbda1aece104a702bf39b2b370a9744Set Approval For...150105982022-06-23 1:46:5145 days 17 hrs ago0x809ca3f5ffb4b371733064b9c9f32f44bb969583 IN  Pumpametti: Metti Token0 Ether0.00102503 22.18158961
0x283e673c94569943cc390ede17776823d69ce21102df68470646cca07afbf334Set Approval For...150079862022-06-22 14:09:1846 days 5 hrs ago0x5736a9002369c9e61bdc723855ec0ed317ea9333 IN  Pumpametti: Metti Token0 Ether0.00272735 59.12709173
0x645a84fedc51386f44af08d42804fbee26545a56ba90ee5bb02a5c7d594b0243Set Approval For...150069592022-06-22 9:25:3346 days 10 hrs agoENS Name carwash101.eth IN  Pumpametti: Metti Token0 Ether0.00083236 18.04517958
0xa4073fc7af07997bc764a1b5fb02c86abd5de1f0844e88be7cd4baa368baf208Set Approval For...150058622022-06-22 4:41:3946 days 14 hrs ago0x809ca3f5ffb4b371733064b9c9f32f44bb969583 IN  Pumpametti: Metti Token0 Ether0.0013724 29.69876221
0x61759c5c46f322b0f4ba4845853a9887e3965f4f9e22964fdc544ad867e6b9b6Set Approval For...150058612022-06-22 4:41:3546 days 14 hrs ago0x809ca3f5ffb4b371733064b9c9f32f44bb969583 IN  Pumpametti: Metti Token0 Ether0.00139097 30.10060146
0xb1db06e8cc3371f35cd087a28ecd20e5b5ab89f9efc04b57d274e46da2e79235Safe Transfer Fr...150058582022-06-22 4:40:1546 days 14 hrs ago0xcff561fe7b522db07a4edb28de029e744db2ea2b IN  Pumpametti: Metti Token0 Ether0.00239444 27.65488588
0x38d67db1c9618695b263046cc18a50c2076460184d39c0dd8221269550fab8aaSet Approval For...150058542022-06-22 4:38:2846 days 14 hrs ago0x4c64930f8566c373a2372f0d206594b2dab20f27 IN  Pumpametti: Metti Token0 Ether0.001073 23.21960066
0xde0c7b16fd2ead6e287322156d95b7f2025bfeff2e34dfa8933d9dc7b7dd7b57Set Approval For...150021642022-06-21 11:51:0747 days 7 hrs ago0x4c64930f8566c373a2372f0d206594b2dab20f27 IN  Pumpametti: Metti Token0 Ether0.00092653 20.08660589
0xdb684894dc23856b7132b5554920bcc1f48eb357a1396d21b27558912dc17d4fSafe Transfer Fr...150021522022-06-21 11:48:1347 days 7 hrs ago0x2bd59bd2ad0bb4a90d222df0c833a7a5bddbff33 IN  Pumpametti: Metti Token0 Ether0.00203782 22.81414532
0x2d94d868d185f05bc67b40fe2d0c07b77347ea109465d2371e687fb8eaec16d7Set Approval For...150019812022-06-21 11:03:3647 days 8 hrs agoENS Name artbazooka.eth IN  Pumpametti: Metti Token0 Ether0.00122434 26.49462705
0xde8ec97059078893a899c8056e03af5ed127387eb49225dac2fbae667eacabfaSet Approval For...149923642022-06-19 19:05:0149 days 24 mins ago0x9b49c839bc165294cdb3b1702b6ee04fd7ae18c6 IN  Pumpametti: Metti Token0 Ether0.00332828 72.15482281
0x25b8195f0d1da30b813052b39c93790e2ab1f929e9a17c1d09088e56c3bd609fSet Approval For...149892292022-06-19 6:00:0949 days 13 hrs ago0x8b7cc8672c76382983956b3ba76947f081416b9b IN  Pumpametti: Metti Token0 Ether0.00074234 16.09345837
0xad1e0237c92efcb63fd57532e77422a0772a08a7c6461836bdd9033c0f2c76c5Set Approval For...149767542022-06-17 2:36:3651 days 16 hrs agoENS Name shaunsters.eth IN  Pumpametti: Metti Token0 Ether0.00215974 46.82172458
0xfb933d2c12096ba10ff7ac61c20da7b832b8fc6a91b51987f8f44b2b2243df51Set Approval For...149543882022-06-13 5:54:1955 days 13 hrs ago0x09385317b7fb45527ae1ba344009b50f265d12b6 IN  Pumpametti: Metti Token0 Ether0.00263157 56.94703751
0x094d0f13c744b368c2340811f11a5141d476ebd7f0bab989b94455059a7d2d1aTransfer From149311792022-06-09 6:43:4559 days 12 hrs ago0xc172209c3baef5fa1f2ed9cf36daa23441f77af3 IN  Pumpametti: Metti Token0 Ether0.0047616355.05988914
0x53a42b870152cba0cf0208db6f8714208fd583cff73435b226a07496dfb28b6dTransfer From149190312022-06-07 5:13:4561 days 14 hrs ago0x2bd3ffae6fc5c24b7b607472f00af1ac7fac7b14 IN  Pumpametti: Metti Token0 Ether0.0031846 38.06192738
[ Download CSV Export 

OVERVIEW

Pumpametti, the genesis art project by artist Pumpametti, documenting the cryptoniano culture.

Latest 1 internal transaction
Parent Txn Hash Block From To Value
0xae693f9c57face3a3082c7eed751fabb714fe3332bc2ab8f6e0ef63a0e54a0ed135920672021-11-11 1:44:56269 days 17 hrs ago Pumpametti: Metti TokenStandametti: Deployer3.18 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Pumpametti

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-09-23
*/

// Pumpametti, the genesis art project by artist Pumpametti, paying homage to artist Alberto Giacometti, documenting the cryptoniano culture.
// Inside Pumpametti there will be very rare Aperioni, Zombioni, and Alienori.
// Cost 0.01 ETH per Pumpametti mint, max 10 per transaction, mint directly from contract. 
// There'll only be 300 Pumpamettis, each a piece of 1/1 art. 

// File: @openzeppelin/contracts/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;
    }
}

// File: contracts/WithLimitedSupply.sol


pragma solidity ^0.8.0;


/// @author 1001.digital 
/// @title A token tracker that limits the token supply and increments token IDs on each new mint.
abstract contract WithLimitedSupply {
    using Counters for Counters.Counter;

    // Keeps track of how many we have minted
    Counters.Counter private _tokenCount;

    /// @dev The maximum count of tokens this token tracker will hold.
    uint256 private _maxSupply;

    /// Instanciate the contract
    /// @param totalSupply_ how many tokens this collection should hold
    constructor (uint256 totalSupply_) {
        _maxSupply = totalSupply_;
    }

    /// @dev Get the max Supply
    /// @return the maximum token count
    function maxSupply() public view returns (uint256) {
        return _maxSupply;
    }

    /// @dev Get the current token count
    /// @return the created token count
    function tokenCount() public view returns (uint256) {
        return _tokenCount.current();
    }

    /// @dev Check whether tokens are still available
    /// @return the available token count
    function availableTokenCount() public view returns (uint256) {
        return maxSupply() - tokenCount();
    }

    /// @dev Increment the token count and fetch the latest count
    /// @return the next token id
    function nextToken() internal virtual ensureAvailability returns (uint256) {
        uint256 token = _tokenCount.current();

        _tokenCount.increment();

        return token;
    }

    /// @dev Check whether another token is still available
    modifier ensureAvailability() {
        require(availableTokenCount() > 0, "No more tokens available");
        _;
    }

    /// @param amount Check whether number of tokens are still available
    /// @dev Check whether tokens are still available
    modifier ensureAvailabilityFor(uint256 amount) {
        require(availableTokenCount() >= amount, "Requested number of tokens not available");
        _;
    }
}
// File: contracts/RandomlyAssigned.sol


pragma solidity ^0.8.0;


/// @author 1001.digital
/// @title Randomly assign tokenIDs from a given set of tokens.
abstract contract RandomlyAssigned is WithLimitedSupply {
    // Used for random index assignment
    mapping(uint256 => uint256) private tokenMatrix;

    // The initial token ID
    uint256 private startFrom;

    /// Instanciate the contract
    /// @param _maxSupply how many tokens this collection should hold
    /// @param _startFrom the tokenID with which to start counting
    constructor (uint256 _maxSupply, uint256 _startFrom)
        WithLimitedSupply(_maxSupply)
    {
        startFrom = _startFrom;
    }

    /// Get the next token ID
    /// @dev Randomly gets a new token ID and keeps track of the ones that are still available.
    /// @return the next token ID
    function nextToken() internal override ensureAvailability returns (uint256) {
        uint256 maxIndex = maxSupply() - tokenCount();
        uint256 random = uint256(keccak256(
            abi.encodePacked(
                msg.sender,
                block.coinbase,
                block.difficulty,
                block.gaslimit,
                block.timestamp
            )
        )) % maxIndex;

        uint256 value = 0;
        if (tokenMatrix[random] == 0) {
            // If this matrix position is empty, set the value to the generated random number.
            value = random;
        } else {
            // Otherwise, use the previously stored number from the matrix.
            value = tokenMatrix[random];
        }

        // If the last available tokenID is still unused...
        if (tokenMatrix[maxIndex - 1] == 0) {
            // ...store that ID in the current matrix position.
            tokenMatrix[random] = maxIndex - 1;
        } else {
            // ...otherwise copy over the stored number to the current matrix position.
            tokenMatrix[random] = tokenMatrix[maxIndex - 1];
        }

        // Increment counts
        super.nextToken();

        return value + startFrom;
    }
}

// File: @openzeppelin/contracts/utils/Context.sol



pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/contracts/access/Ownable.sol



pragma solidity ^0.8.0;


/**
 * @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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol



pragma solidity ^0.8.0;

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


// File: @openzeppelin/contracts/token/ERC721/IERC721.sol



pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol



pragma solidity ^0.8.0;


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

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

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

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol



pragma solidity ^0.8.0;


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

// File: @openzeppelin/contracts/utils/Strings.sol



pragma solidity ^0.8.0;

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

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

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

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

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

// File: @openzeppelin/contracts/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);
            }
        }
    }
}

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol



pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol



pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/token/ERC721/ERC721.sol



pragma solidity ^0.8.0;








/**
 * @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 {
        require(operator != _msgSender(), "ERC721: approve to caller");

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //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 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 {}
}

// File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol



pragma solidity ^0.8.0;



/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * 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 override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

// File: contracts/Pumpametti.sol

//SPDX-License-Identifier: MIT

// Pumpametti, the genesis art project by artist Pumpametti, paying homage to artist Alberto Giacometti, documenting the cryptoniano culture.
// Inside Pumpametti there will be very rare Aperioni, Zombioni, and Alienori.
// Cost 0.01 ETH per Pumpametti mint, max 10 per transaction, mint directly from contract. 
// There'll only be 300 Pumpamettis, each a piece of 1/1 art. 

pragma solidity ^0.8.0;

contract Pumpametti is ERC721Enumerable, Ownable, RandomlyAssigned {
  using Strings for uint256;
  
  string public baseExtension = ".json";
  uint256 public cost = 0.01 ether;
  uint256 public maxXIA = 300;
  uint256 public maxMintAmount = 10;
  bool public paused = false;
  
  string public baseURI = "https://ipfs.io/ipfs/QmUCG1oLBMs9WFSvv3bwTJ3Rs3citJvH6wpT2xpSEM9GT7/";

  constructor(
  ) ERC721("Pumpametti", "Metti")
  RandomlyAssigned(300, 1) {}

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

  // public
  function mint(uint256 _mintAmount) public payable {
    require(!paused);
    require(_mintAmount > 0);
    require(_mintAmount <= maxMintAmount);
    require(totalSupply() + _mintAmount <= maxXIA);
    require(msg.value >= cost * _mintAmount);

    for (uint256 i = 1; i <= _mintAmount; i++) {
        uint256 mintIndex = nextToken();
     if (totalSupply() < maxXIA) {
                _safeMint(_msgSender(), mintIndex);
    }
   }
  }

  function walletOfOwner(address _owner)
    public
    view
    returns (uint256[] memory)
  {
    uint256 ownerTokenCount = balanceOf(_owner);
    uint256[] memory tokenIds = new uint256[](ownerTokenCount);
    for (uint256 i; i < ownerTokenCount; i++) {
      tokenIds[i] = tokenOfOwnerByIndex(_owner, i);
    }
    return tokenIds;
  }

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

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

  //only owner

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

Contract Security Audit

Contract ABI

[{"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":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"availableTokenCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","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":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxXIA","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

60c06040526005608081905264173539b7b760d91b60a09081526200002891600f919062000174565b50662386f26fc1000060105561012c601155600a6012556013805460ff19169055604080516080810190915260448082526200242060208301398051620000789160149160209091019062000174565b503480156200008657600080fd5b50604080518082018252600a81526950756d70616d6574746960b01b6020808301918252835180850190945260058452644d6574746960d81b90840152815161012c9360019385939092620000de9160009162000174565b508051620000f490600190602084019062000174565b505050620001116200010b6200011e60201b60201c565b62000122565b600c55600e555062000257565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805462000182906200021a565b90600052602060002090601f016020900481019282620001a65760008555620001f1565b82601f10620001c157805160ff1916838001178555620001f1565b82800160010185558215620001f1579182015b82811115620001f1578251825591602001919060010190620001d4565b50620001ff92915062000203565b5090565b5b80821115620001ff576000815560010162000204565b600181811c908216806200022f57607f821691505b602082108114156200025157634e487b7160e01b600052602260045260246000fd5b50919050565b6121b980620002676000396000f3fe6080604052600436106101d85760003560e01c80636c0360eb11610102578063b88d4fde11610095578063e14ca35311610064578063e14ca353146104fb578063e2a675d414610510578063e985e9c514610526578063f2fde38b1461056f57600080fd5b8063b88d4fde14610491578063c6682862146104b1578063c87b56dd146104c6578063d5abeb01146104e657600080fd5b806395d89b41116100d157806395d89b41146104345780639f181b5e14610449578063a0712d681461045e578063a22cb4651461047157600080fd5b80636c0360eb146103cc57806370a08231146103e1578063715018a6146104015780638da5cb5b1461041657600080fd5b806323b872dd1161017a578063438b630011610149578063438b6300146103455780634f6ccce7146103725780635c975abb146103925780636352211e146103ac57600080fd5b806323b872dd146102dd5780632f745c59146102fd5780633ccfd60b1461031d57806342842e0e1461032557600080fd5b8063095ea7b3116101b6578063095ea7b31461026c57806313faede61461028e57806318160ddd146102b2578063239c70ae146102c757600080fd5b806301ffc9a7146101dd57806306fdde0314610212578063081812fc14610234575b600080fd5b3480156101e957600080fd5b506101fd6101f8366004611d58565b61058f565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b506102276105ba565b6040516102099190611f1c565b34801561024057600080fd5b5061025461024f366004611d92565b61064c565b6040516001600160a01b039091168152602001610209565b34801561027857600080fd5b5061028c610287366004611d2e565b6106e6565b005b34801561029a57600080fd5b506102a460105481565b604051908152602001610209565b3480156102be57600080fd5b506008546102a4565b3480156102d357600080fd5b506102a460125481565b3480156102e957600080fd5b5061028c6102f8366004611bda565b6107fc565b34801561030957600080fd5b506102a4610318366004611d2e565b61082d565b61028c6108c3565b34801561033157600080fd5b5061028c610340366004611bda565b610913565b34801561035157600080fd5b50610365610360366004611b8c565b61092e565b6040516102099190611ed8565b34801561037e57600080fd5b506102a461038d366004611d92565b6109d0565b34801561039e57600080fd5b506013546101fd9060ff1681565b3480156103b857600080fd5b506102546103c7366004611d92565b610a63565b3480156103d857600080fd5b50610227610ada565b3480156103ed57600080fd5b506102a46103fc366004611b8c565b610b68565b34801561040d57600080fd5b5061028c610bef565b34801561042257600080fd5b50600a546001600160a01b0316610254565b34801561044057600080fd5b50610227610c23565b34801561045557600080fd5b506102a4610c32565b61028c61046c366004611d92565b610c42565b34801561047d57600080fd5b5061028c61048c366004611cf2565b610cf3565b34801561049d57600080fd5b5061028c6104ac366004611c16565b610db8565b3480156104bd57600080fd5b50610227610df0565b3480156104d257600080fd5b506102276104e1366004611d92565b610dfd565b3480156104f257600080fd5b50600c546102a4565b34801561050757600080fd5b506102a4610edb565b34801561051c57600080fd5b506102a460115481565b34801561053257600080fd5b506101fd610541366004611ba7565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561057b57600080fd5b5061028c61058a366004611b8c565b610ef2565b60006001600160e01b0319821663780e9d6360e01b14806105b457506105b482610f8d565b92915050565b6060600080546105c990612095565b80601f01602080910402602001604051908101604052809291908181526020018280546105f590612095565b80156106425780601f1061061757610100808354040283529160200191610642565b820191906000526020600020905b81548152906001019060200180831161062557829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106ca5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006106f182610a63565b9050806001600160a01b0316836001600160a01b0316141561075f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106c1565b336001600160a01b038216148061077b575061077b8133610541565b6107ed5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106c1565b6107f78383610fdd565b505050565b610806338261104b565b6108225760405162461bcd60e51b81526004016106c190611fb6565b6107f7838383611142565b600061083883610b68565b821061089a5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016106c1565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b031633146108ed5760405162461bcd60e51b81526004016106c190611f81565b60405133904780156108fc02916000818181858888f1935050505061091157600080fd5b565b6107f783838360405180602001604052806000815250610db8565b6060600061093b83610b68565b905060008167ffffffffffffffff81111561095857610958612157565b604051908082528060200260200182016040528015610981578160200160208202803683370190505b50905060005b828110156109c857610999858261082d565b8282815181106109ab576109ab612141565b6020908102919091010152806109c0816120d0565b915050610987565b509392505050565b60006109db60085490565b8210610a3e5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016106c1565b60088281548110610a5157610a51612141565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806105b45760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106c1565b60148054610ae790612095565b80601f0160208091040260200160405190810160405280929190818152602001828054610b1390612095565b8015610b605780601f10610b3557610100808354040283529160200191610b60565b820191906000526020600020905b815481529060010190602001808311610b4357829003601f168201915b505050505081565b60006001600160a01b038216610bd35760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106c1565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610c195760405162461bcd60e51b81526004016106c190611f81565b61091160006112ed565b6060600180546105c990612095565b6000610c3d600b5490565b905090565b60135460ff1615610c5257600080fd5b60008111610c5f57600080fd5b601254811115610c6e57600080fd5b60115481610c7b60085490565b610c859190612007565b1115610c9057600080fd5b80601054610c9e9190612033565b341015610caa57600080fd5b60015b818111610cef576000610cbe61133f565b9050601154610ccc60085490565b1015610cdc57610cdc33826114d2565b5080610ce7816120d0565b915050610cad565b5050565b6001600160a01b038216331415610d4c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106c1565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610dc2338361104b565b610dde5760405162461bcd60e51b81526004016106c190611fb6565b610dea848484846114ec565b50505050565b600f8054610ae790612095565b6000818152600260205260409020546060906001600160a01b0316610e7c5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016106c1565b6000610e8661151f565b90506000815111610ea65760405180602001604052806000815250610ed4565b80610eb08461152e565b600f604051602001610ec493929190611dd7565b6040516020818303038152906040525b9392505050565b6000610ee5610c32565b600c54610c3d9190612052565b600a546001600160a01b03163314610f1c5760405162461bcd60e51b81526004016106c190611f81565b6001600160a01b038116610f815760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106c1565b610f8a816112ed565b50565b60006001600160e01b031982166380ac58cd60e01b1480610fbe57506001600160e01b03198216635b5e139f60e01b145b806105b457506301ffc9a760e01b6001600160e01b03198316146105b4565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061101282610a63565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166110c45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106c1565b60006110cf83610a63565b9050806001600160a01b0316846001600160a01b0316148061110a5750836001600160a01b03166110ff8461064c565b6001600160a01b0316145b8061113a57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661115582610a63565b6001600160a01b0316146111bd5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106c1565b6001600160a01b03821661121f5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106c1565b61122a83838361162c565b611235600082610fdd565b6001600160a01b038316600090815260036020526040812080546001929061125e908490612052565b90915550506001600160a01b038216600090815260036020526040812080546001929061128c908490612007565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008061134a610edb565b116113925760405162461bcd60e51b81526020600482015260186024820152774e6f206d6f726520746f6b656e7320617661696c61626c6560401b60448201526064016106c1565b600061139c610c32565b600c546113a99190612052565b6040516bffffffffffffffffffffffff1933606090811b8216602084015241901b166034820152446048820152456068820152426088820152909150600090829060a8016040516020818303038152906040528051906020012060001c61141091906120eb565b6000818152600d60205260408120549192509061142e57508061143f565b506000818152600d60205260409020545b600d600061144e600186612052565b8152602001908152602001600020546000141561148457611470600184612052565b6000838152600d60205260409020556114b4565b600d6000611493600186612052565b81526020808201929092526040908101600090812054858252600d90935220555b6114bc6116e4565b50600e546114ca9082612007565b935050505090565b610cef828260405180602001604052806000815250611752565b6114f7848484611142565b61150384848484611785565b610dea5760405162461bcd60e51b81526004016106c190611f2f565b6060601480546105c990612095565b6060816115525750506040805180820190915260018152600360fc1b602082015290565b8160005b811561157c5780611566816120d0565b91506115759050600a8361201f565b9150611556565b60008167ffffffffffffffff81111561159757611597612157565b6040519080825280601f01601f1916602001820160405280156115c1576020820181803683370190505b5090505b841561113a576115d6600183612052565b91506115e3600a866120eb565b6115ee906030612007565b60f81b81838151811061160357611603612141565b60200101906001600160f81b031916908160001a905350611625600a8661201f565b94506115c5565b6001600160a01b0383166116875761168281600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6116aa565b816001600160a01b0316836001600160a01b0316146116aa576116aa8382611892565b6001600160a01b0382166116c1576107f78161192f565b826001600160a01b0316826001600160a01b0316146107f7576107f782826119de565b6000806116ef610edb565b116117375760405162461bcd60e51b81526020600482015260186024820152774e6f206d6f726520746f6b656e7320617661696c61626c6560401b60448201526064016106c1565b6000611742600b5490565b9050610c3d600b80546001019055565b61175c8383611a22565b6117696000848484611785565b6107f75760405162461bcd60e51b81526004016106c190611f2f565b60006001600160a01b0384163b1561188757604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906117c9903390899088908890600401611e9b565b602060405180830381600087803b1580156117e357600080fd5b505af1925050508015611813575060408051601f3d908101601f1916820190925261181091810190611d75565b60015b61186d573d808015611841576040519150601f19603f3d011682016040523d82523d6000602084013e611846565b606091505b5080516118655760405162461bcd60e51b81526004016106c190611f2f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061113a565b506001949350505050565b6000600161189f84610b68565b6118a99190612052565b6000838152600760205260409020549091508082146118fc576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061194190600190612052565b6000838152600960205260408120546008805493945090928490811061196957611969612141565b90600052602060002001549050806008838154811061198a5761198a612141565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806119c2576119c261212b565b6001900381819060005260206000200160009055905550505050565b60006119e983610b68565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216611a785760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106c1565b6000818152600260205260409020546001600160a01b031615611add5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106c1565b611ae96000838361162c565b6001600160a01b0382166000908152600360205260408120805460019290611b12908490612007565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b80356001600160a01b0381168114611b8757600080fd5b919050565b600060208284031215611b9e57600080fd5b610ed482611b70565b60008060408385031215611bba57600080fd5b611bc383611b70565b9150611bd160208401611b70565b90509250929050565b600080600060608486031215611bef57600080fd5b611bf884611b70565b9250611c0660208501611b70565b9150604084013590509250925092565b60008060008060808587031215611c2c57600080fd5b611c3585611b70565b9350611c4360208601611b70565b925060408501359150606085013567ffffffffffffffff80821115611c6757600080fd5b818701915087601f830112611c7b57600080fd5b813581811115611c8d57611c8d612157565b604051601f8201601f19908116603f01168101908382118183101715611cb557611cb5612157565b816040528281528a6020848701011115611cce57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611d0557600080fd5b611d0e83611b70565b915060208301358015158114611d2357600080fd5b809150509250929050565b60008060408385031215611d4157600080fd5b611d4a83611b70565b946020939093013593505050565b600060208284031215611d6a57600080fd5b8135610ed48161216d565b600060208284031215611d8757600080fd5b8151610ed48161216d565b600060208284031215611da457600080fd5b5035919050565b60008151808452611dc3816020860160208601612069565b601f01601f19169290920160200192915050565b600084516020611dea8285838a01612069565b855191840191611dfd8184848a01612069565b8554920191600090600181811c9080831680611e1a57607f831692505b858310811415611e3857634e487b7160e01b85526022600452602485fd5b808015611e4c5760018114611e5d57611e8a565b60ff19851688528388019550611e8a565b60008b81526020902060005b85811015611e825781548a820152908401908801611e69565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ece90830184611dab565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611f1057835183529284019291840191600101611ef4565b50909695505050505050565b602081526000610ed46020830184611dab565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000821982111561201a5761201a6120ff565b500190565b60008261202e5761202e612115565b500490565b600081600019048311821515161561204d5761204d6120ff565b500290565b600082821015612064576120646120ff565b500390565b60005b8381101561208457818101518382015260200161206c565b83811115610dea5750506000910152565b600181811c908216806120a957607f821691505b602082108114156120ca57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156120e4576120e46120ff565b5060010190565b6000826120fa576120fa612115565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610f8a57600080fdfea26469706673582212203bfa3a11b3d3b37c2b7235d9048032bba1479a4a934962c0ca15ee5c28ee04f464736f6c6343000807003368747470733a2f2f697066732e696f2f697066732f516d554347316f4c424d73395746537676336277544a335273336369744a76483677705432787053454d394754372f

Deployed ByteCode Sourcemap

49574:1985:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42946:224;;;;;;;;;;-1:-1:-1;42946:224:0;;;;;:::i;:::-;;:::i;:::-;;;7272:14:1;;7265:22;7247:41;;7235:2;7220:18;42946:224:0;;;;;;;;30838:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;32397:221::-;;;;;;;;;;-1:-1:-1;32397:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5933:32:1;;;5915:51;;5903:2;5888:18;32397:221:0;5769:203:1;31920:411:0;;;;;;;;;;-1:-1:-1;31920:411:0;;;;;:::i;:::-;;:::i;:::-;;49722:32;;;;;;;;;;;;;;;;;;;15229:25:1;;;15217:2;15202:18;49722:32:0;15083:177:1;43586:113:0;;;;;;;;;;-1:-1:-1;43674:10:0;:17;43586:113;;49791:33;;;;;;;;;;;;;;;;33287:339;;;;;;;;;;-1:-1:-1;33287:339:0;;;;;:::i;:::-;;:::i;43254:256::-;;;;;;;;;;-1:-1:-1;43254:256:0;;;;;:::i;:::-;;:::i;51442:114::-;;;:::i;33697:185::-;;;;;;;;;;-1:-1:-1;33697:185:0;;;;;:::i;:::-;;:::i;50641:348::-;;;;;;;;;;-1:-1:-1;50641:348:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;43776:233::-;;;;;;;;;;-1:-1:-1;43776:233:0;;;;;:::i;:::-;;:::i;49829:26::-;;;;;;;;;;-1:-1:-1;49829:26:0;;;;;;;;30532:239;;;;;;;;;;-1:-1:-1;30532:239:0;;;;;:::i;:::-;;:::i;49864:94::-;;;;;;;;;;;;;:::i;30262:208::-;;;;;;;;;;-1:-1:-1;30262:208:0;;;;;:::i;:::-;;:::i;8465:94::-;;;;;;;;;;;;;:::i;7814:87::-;;;;;;;;;;-1:-1:-1;7887:6:0;;-1:-1:-1;;;;;7887:6:0;7814:87;;31007:104;;;;;;;;;;;;;:::i;2722:99::-;;;;;;;;;;;;;:::i;50185:450::-;;;;;;:::i;:::-;;:::i;32690:295::-;;;;;;;;;;-1:-1:-1;32690:295:0;;;;;:::i;:::-;;:::i;33953:328::-;;;;;;;;;;-1:-1:-1;33953:328:0;;;;;:::i;:::-;;:::i;49680:37::-;;;;;;;;;;;;;:::i;50995:423::-;;;;;;;;;;-1:-1:-1;50995:423:0;;;;;:::i;:::-;;:::i;2544:87::-;;;;;;;;;;-1:-1:-1;2613:10:0;;2544:87;;2927:113;;;;;;;;;;;;;:::i;49759:27::-;;;;;;;;;;;;;;;;33056:164;;;;;;;;;;-1:-1:-1;33056:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;33177:25:0;;;33153:4;33177:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;33056:164;8714:192;;;;;;;;;;-1:-1:-1;8714:192:0;;;;;:::i;:::-;;:::i;42946:224::-;43048:4;-1:-1:-1;;;;;;43072:50:0;;-1:-1:-1;;;43072:50:0;;:90;;;43126:36;43150:11;43126:23;:36::i;:::-;43065:97;42946:224;-1:-1:-1;;42946:224:0:o;30838:100::-;30892:13;30925:5;30918:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30838:100;:::o;32397:221::-;32473:7;35880:16;;;:7;:16;;;;;;-1:-1:-1;;;;;35880:16:0;32493:73;;;;-1:-1:-1;;;32493:73:0;;12452:2:1;32493:73:0;;;12434:21:1;12491:2;12471:18;;;12464:30;12530:34;12510:18;;;12503:62;-1:-1:-1;;;12581:18:1;;;12574:42;12633:19;;32493:73:0;;;;;;;;;-1:-1:-1;32586:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;32586:24:0;;32397:221::o;31920:411::-;32001:13;32017:23;32032:7;32017:14;:23::i;:::-;32001:39;;32065:5;-1:-1:-1;;;;;32059:11:0;:2;-1:-1:-1;;;;;32059:11:0;;;32051:57;;;;-1:-1:-1;;;32051:57:0;;14052:2:1;32051:57:0;;;14034:21:1;14091:2;14071:18;;;14064:30;14130:34;14110:18;;;14103:62;-1:-1:-1;;;14181:18:1;;;14174:31;14222:19;;32051:57:0;13850:397:1;32051:57:0;6682:10;-1:-1:-1;;;;;32143:21:0;;;;:62;;-1:-1:-1;32168:37:0;32185:5;6682:10;33056:164;:::i;32168:37::-;32121:168;;;;-1:-1:-1;;;32121:168:0;;10845:2:1;32121:168:0;;;10827:21:1;10884:2;10864:18;;;10857:30;10923:34;10903:18;;;10896:62;10994:26;10974:18;;;10967:54;11038:19;;32121:168:0;10643:420:1;32121:168:0;32302:21;32311:2;32315:7;32302:8;:21::i;:::-;31990:341;31920:411;;:::o;33287:339::-;33482:41;6682:10;33515:7;33482:18;:41::i;:::-;33474:103;;;;-1:-1:-1;;;33474:103:0;;;;;;;:::i;:::-;33590:28;33600:4;33606:2;33610:7;33590:9;:28::i;43254:256::-;43351:7;43387:23;43404:5;43387:16;:23::i;:::-;43379:5;:31;43371:87;;;;-1:-1:-1;;;43371:87:0;;7725:2:1;43371:87:0;;;7707:21:1;7764:2;7744:18;;;7737:30;7803:34;7783:18;;;7776:62;-1:-1:-1;;;7854:18:1;;;7847:41;7905:19;;43371:87:0;7523:407:1;43371:87:0;-1:-1:-1;;;;;;43476:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;43254:256::o;51442:114::-;7887:6;;-1:-1:-1;;;;;7887:6:0;6682:10;8034:23;8026:68;;;;-1:-1:-1;;;8026:68:0;;;;;;;:::i;:::-;51502:47:::1;::::0;51510:10:::1;::::0;51527:21:::1;51502:47:::0;::::1;;;::::0;::::1;::::0;;;51527:21;51510:10;51502:47;::::1;;;;;;51494:56;;;::::0;::::1;;51442:114::o:0;33697:185::-;33835:39;33852:4;33858:2;33862:7;33835:39;;;;;;;;;;;;:16;:39::i;50641:348::-;50716:16;50744:23;50770:17;50780:6;50770:9;:17::i;:::-;50744:43;;50794:25;50836:15;50822:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50822:30:0;;50794:58;;50864:9;50859:103;50879:15;50875:1;:19;50859:103;;;50924:30;50944:6;50952:1;50924:19;:30::i;:::-;50910:8;50919:1;50910:11;;;;;;;;:::i;:::-;;;;;;;;;;:44;50896:3;;;;:::i;:::-;;;;50859:103;;;-1:-1:-1;50975:8:0;50641:348;-1:-1:-1;;;50641:348:0:o;43776:233::-;43851:7;43887:30;43674:10;:17;;43586:113;43887:30;43879:5;:38;43871:95;;;;-1:-1:-1;;;43871:95:0;;14872:2:1;43871:95:0;;;14854:21:1;14911:2;14891:18;;;14884:30;14950:34;14930:18;;;14923:62;-1:-1:-1;;;15001:18:1;;;14994:42;15053:19;;43871:95:0;14670:408:1;43871:95:0;43984:10;43995:5;43984:17;;;;;;;;:::i;:::-;;;;;;;;;43977:24;;43776:233;;;:::o;30532:239::-;30604:7;30640:16;;;:7;:16;;;;;;-1:-1:-1;;;;;30640:16:0;30675:19;30667:73;;;;-1:-1:-1;;;30667:73:0;;11681:2:1;30667:73:0;;;11663:21:1;11720:2;11700:18;;;11693:30;11759:34;11739:18;;;11732:62;-1:-1:-1;;;11810:18:1;;;11803:39;11859:19;;30667:73:0;11479:405:1;49864:94:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;30262:208::-;30334:7;-1:-1:-1;;;;;30362:19:0;;30354:74;;;;-1:-1:-1;;;30354:74:0;;11270:2:1;30354:74:0;;;11252:21:1;11309:2;11289:18;;;11282:30;11348:34;11328:18;;;11321:62;-1:-1:-1;;;11399:18:1;;;11392:40;11449:19;;30354:74:0;11068:406:1;30354:74:0;-1:-1:-1;;;;;;30446:16:0;;;;;:9;:16;;;;;;;30262:208::o;8465:94::-;7887:6;;-1:-1:-1;;;;;7887:6:0;6682:10;8034:23;8026:68;;;;-1:-1:-1;;;8026:68:0;;;;;;;:::i;:::-;8530:21:::1;8548:1;8530:9;:21::i;31007:104::-:0;31063:13;31096:7;31089:14;;;;;:::i;2722:99::-;2765:7;2792:21;:11;1287:14;;1195:114;2792:21;2785:28;;2722:99;:::o;50185:450::-;50251:6;;;;50250:7;50242:16;;;;;;50287:1;50273:11;:15;50265:24;;;;;;50319:13;;50304:11;:28;;50296:37;;;;;;50379:6;;50364:11;50348:13;43674:10;:17;;43586:113;50348:13;:27;;;;:::i;:::-;:37;;50340:46;;;;;;50421:11;50414:4;;:18;;;;:::i;:::-;50401:9;:31;;50393:40;;;;;;50459:1;50442:188;50467:11;50462:1;:16;50442:188;;50496:17;50516:11;:9;:11::i;:::-;50496:31;;50555:6;;50539:13;43674:10;:17;;43586:113;50539:13;:22;50535:89;;;50582:34;6682:10;50606:9;50582;:34::i;:::-;-1:-1:-1;50480:3:0;;;;:::i;:::-;;;;50442:188;;;;50185:450;:::o;32690:295::-;-1:-1:-1;;;;;32793:24:0;;6682:10;32793:24;;32785:62;;;;-1:-1:-1;;;32785:62:0;;9725:2:1;32785:62:0;;;9707:21:1;9764:2;9744:18;;;9737:30;9803:27;9783:18;;;9776:55;9848:18;;32785:62:0;9523:349:1;32785:62:0;6682:10;32860:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;32860:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;32860:53:0;;;;;;;;;;32929:48;;7247:41:1;;;32860:42:0;;6682:10;32929:48;;7220:18:1;32929:48:0;;;;;;;32690:295;;:::o;33953:328::-;34128:41;6682:10;34161:7;34128:18;:41::i;:::-;34120:103;;;;-1:-1:-1;;;34120:103:0;;;;;;;:::i;:::-;34234:39;34248:4;34254:2;34258:7;34267:5;34234:13;:39::i;:::-;33953:328;;;;:::o;49680:37::-;;;;;;;:::i;50995:423::-;35856:4;35880:16;;;:7;:16;;;;;;51093:13;;-1:-1:-1;;;;;35880:16:0;51118:97;;;;-1:-1:-1;;;51118:97:0;;13636:2:1;51118:97:0;;;13618:21:1;13675:2;13655:18;;;13648:30;13714:34;13694:18;;;13687:62;-1:-1:-1;;;13765:18:1;;;13758:45;13820:19;;51118:97:0;13434:411:1;51118:97:0;51224:28;51255:10;:8;:10::i;:::-;51224:41;;51310:1;51285:14;51279:28;:32;:133;;;;;;;;;;;;;;;;;51347:14;51363:18;:7;:16;:18::i;:::-;51383:13;51330:67;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;51279:133;51272:140;50995:423;-1:-1:-1;;;50995:423:0:o;2927:113::-;2979:7;3020:12;:10;:12::i;:::-;2613:10;;3006:26;;;;:::i;8714:192::-;7887:6;;-1:-1:-1;;;;;7887:6:0;6682:10;8034:23;8026:68;;;;-1:-1:-1;;;8026:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;8803:22:0;::::1;8795:73;;;::::0;-1:-1:-1;;;8795:73:0;;8556:2:1;8795:73:0::1;::::0;::::1;8538:21:1::0;8595:2;8575:18;;;8568:30;8634:34;8614:18;;;8607:62;-1:-1:-1;;;8685:18:1;;;8678:36;8731:19;;8795:73:0::1;8354:402:1::0;8795:73:0::1;8879:19;8889:8;8879:9;:19::i;:::-;8714:192:::0;:::o;29893:305::-;29995:4;-1:-1:-1;;;;;;30032:40:0;;-1:-1:-1;;;30032:40:0;;:105;;-1:-1:-1;;;;;;;30089:48:0;;-1:-1:-1;;;30089:48:0;30032:105;:158;;;-1:-1:-1;;;;;;;;;;16644:40:0;;;30154:36;16535:157;39773:174;39848:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;39848:29:0;-1:-1:-1;;;;;39848:29:0;;;;;;;;:24;;39902:23;39848:24;39902:14;:23::i;:::-;-1:-1:-1;;;;;39893:46:0;;;;;;;;;;;39773:174;;:::o;36085:348::-;36178:4;35880:16;;;:7;:16;;;;;;-1:-1:-1;;;;;35880:16:0;36195:73;;;;-1:-1:-1;;;36195:73:0;;10432:2:1;36195:73:0;;;10414:21:1;10471:2;10451:18;;;10444:30;10510:34;10490:18;;;10483:62;-1:-1:-1;;;10561:18:1;;;10554:42;10613:19;;36195:73:0;10230:408:1;36195:73:0;36279:13;36295:23;36310:7;36295:14;:23::i;:::-;36279:39;;36348:5;-1:-1:-1;;;;;36337:16:0;:7;-1:-1:-1;;;;;36337:16:0;;:51;;;;36381:7;-1:-1:-1;;;;;36357:31:0;:20;36369:7;36357:11;:20::i;:::-;-1:-1:-1;;;;;36357:31:0;;36337:51;:87;;;-1:-1:-1;;;;;;33177:25:0;;;33153:4;33177:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;36392:32;36329:96;36085:348;-1:-1:-1;;;;36085:348:0:o;39077:578::-;39236:4;-1:-1:-1;;;;;39209:31:0;:23;39224:7;39209:14;:23::i;:::-;-1:-1:-1;;;;;39209:31:0;;39201:85;;;;-1:-1:-1;;;39201:85:0;;13226:2:1;39201:85:0;;;13208:21:1;13265:2;13245:18;;;13238:30;13304:34;13284:18;;;13277:62;-1:-1:-1;;;13355:18:1;;;13348:39;13404:19;;39201:85:0;13024:405:1;39201:85:0;-1:-1:-1;;;;;39305:16:0;;39297:65;;;;-1:-1:-1;;;39297:65:0;;9320:2:1;39297:65:0;;;9302:21:1;9359:2;9339:18;;;9332:30;9398:34;9378:18;;;9371:62;-1:-1:-1;;;9449:18:1;;;9442:34;9493:19;;39297:65:0;9118:400:1;39297:65:0;39375:39;39396:4;39402:2;39406:7;39375:20;:39::i;:::-;39479:29;39496:1;39500:7;39479:8;:29::i;:::-;-1:-1:-1;;;;;39521:15:0;;;;;;:9;:15;;;;;:20;;39540:1;;39521:15;:20;;39540:1;;39521:20;:::i;:::-;;;;-1:-1:-1;;;;;;;39552:13:0;;;;;;:9;:13;;;;;:18;;39569:1;;39552:13;:18;;39569:1;;39552:18;:::i;:::-;;;;-1:-1:-1;;39581:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;39581:21:0;-1:-1:-1;;;;;39581:21:0;;;;;;;;;39620:27;;39581:16;;39620:27;;;;;;;39077:578;;;:::o;8914:173::-;8989:6;;;-1:-1:-1;;;;;9006:17:0;;;-1:-1:-1;;;;;;9006:17:0;;;;;;;9039:40;;8989:6;;;9006:17;8989:6;;9039:40;;8970:16;;9039:40;8959:128;8914:173;:::o;4708:1262::-;4775:7;3484:1;3460:21;:19;:21::i;:::-;:25;3452:62;;;;-1:-1:-1;;;3452:62:0;;10079:2:1;3452:62:0;;;10061:21:1;10118:2;10098:18;;;10091:30;-1:-1:-1;;;10137:18:1;;;10130:54;10201:18;;3452:62:0;9877:348:1;3452:62:0;4795:16:::1;4828:12;:10;:12::i;:::-;2613:10:::0;;4814:26:::1;;;;:::i;:::-;4900:195;::::0;-1:-1:-1;;4935:10:0::1;4013:2:1::0;4009:15;;;4005:24;;4900:195:0::1;::::0;::::1;3993:37:1::0;4964:14:0::1;4064:15:1::0;;4060:24;4046:12;;;4039:46;4997:16:0::1;4101:12:1::0;;;4094:28;5032:14:0::1;4138:12:1::0;;;4131:28;5065:15:0::1;4175:13:1::0;;;4168:29;4795:45:0;;-1:-1:-1;4851:14:0::1;::::0;4795:45;;4213:13:1;;4900:195:0::1;;;;;;;;;;;;4876:230;;;;;;4868:239;;:250;;;;:::i;:::-;5131:13;5163:19:::0;;;:11:::1;:19;::::0;;;;;4851:267;;-1:-1:-1;5131:13:0;5159:304:::1;;-1:-1:-1::0;5308:6:0;5159:304:::1;;;-1:-1:-1::0;5432:19:0::1;::::0;;;:11:::1;:19;::::0;;;;;5159:304:::1;5540:11;:25;5552:12;5563:1;5552:8:::0;:12:::1;:::i;:::-;5540:25;;;;;;;;;;;;5569:1;5540:30;5536:331;;;5674:12;5685:1;5674:8:::0;:12:::1;:::i;:::-;5652:19;::::0;;;:11:::1;:19;::::0;;;;:34;5536:331:::1;;;5830:11;:25;5842:12;5853:1;5842:8:::0;:12:::1;:::i;:::-;5830:25:::0;;::::1;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;5830:25:0;;;;5808:19;;;:11:::1;:19:::0;;;;:47;5536:331:::1;5908:17;:15;:17::i;:::-;-1:-1:-1::0;5953:9:0::1;::::0;5945:17:::1;::::0;:5;:17:::1;:::i;:::-;5938:24;;;;;4708:1262:::0;:::o;36775:110::-;36851:26;36861:2;36865:7;36851:26;;;;;;;;;;;;:9;:26::i;35163:315::-;35320:28;35330:4;35336:2;35340:7;35320:9;:28::i;:::-;35367:48;35390:4;35396:2;35400:7;35409:5;35367:22;:48::i;:::-;35359:111;;;;-1:-1:-1;;;35359:111:0;;;;;;;:::i;50064:102::-;50124:13;50153:7;50146:14;;;;;:::i;17010:723::-;17066:13;17287:10;17283:53;;-1:-1:-1;;17314:10:0;;;;;;;;;;;;-1:-1:-1;;;17314:10:0;;;;;17010:723::o;17283:53::-;17361:5;17346:12;17402:78;17409:9;;17402:78;;17435:8;;;;:::i;:::-;;-1:-1:-1;17458:10:0;;-1:-1:-1;17466:2:0;17458:10;;:::i;:::-;;;17402:78;;;17490:19;17522:6;17512:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17512:17:0;;17490:39;;17540:154;17547:10;;17540:154;;17574:11;17584:1;17574:11;;:::i;:::-;;-1:-1:-1;17643:10:0;17651:2;17643:5;:10;:::i;:::-;17630:24;;:2;:24;:::i;:::-;17617:39;;17600:6;17607;17600:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;17600:56:0;;;;;;;;-1:-1:-1;17671:11:0;17680:2;17671:11;;:::i;:::-;;;17540:154;;44622:589;-1:-1:-1;;;;;44828:18:0;;44824:187;;44863:40;44895:7;46038:10;:17;;46011:24;;;;:15;:24;;;;;:44;;;46066:24;;;;;;;;;;;;45934:164;44863:40;44824:187;;;44933:2;-1:-1:-1;;;;;44925:10:0;:4;-1:-1:-1;;;;;44925:10:0;;44921:90;;44952:47;44985:4;44991:7;44952:32;:47::i;:::-;-1:-1:-1;;;;;45025:16:0;;45021:183;;45058:45;45095:7;45058:36;:45::i;45021:183::-;45131:4;-1:-1:-1;;;;;45125:10:0;:2;-1:-1:-1;;;;;45125:10:0;;45121:83;;45152:40;45180:2;45184:7;45152:27;:40::i;3150:192::-;3216:7;3484:1;3460:21;:19;:21::i;:::-;:25;3452:62;;;;-1:-1:-1;;;3452:62:0;;10079:2:1;3452:62:0;;;10061:21:1;10118:2;10098:18;;;10091:30;-1:-1:-1;;;10137:18:1;;;10130:54;10201:18;;3452:62:0;9877:348:1;3452:62:0;3236:13:::1;3252:21;:11;1287:14:::0;;1195:114;3252:21:::1;3236:37;;3286:23;:11;1406:19:::0;;1424:1;1406:19;;;1317:127;37112:321;37242:18;37248:2;37252:7;37242:5;:18::i;:::-;37293:54;37324:1;37328:2;37332:7;37341:5;37293:22;:54::i;:::-;37271:154;;;;-1:-1:-1;;;37271:154:0;;;;;;;:::i;40512:799::-;40667:4;-1:-1:-1;;;;;40688:13:0;;19858:20;19906:8;40684:620;;40724:72;;-1:-1:-1;;;40724:72:0;;-1:-1:-1;;;;;40724:36:0;;;;;:72;;6682:10;;40775:4;;40781:7;;40790:5;;40724:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40724:72:0;;;;;;;;-1:-1:-1;;40724:72:0;;;;;;;;;;;;:::i;:::-;;;40720:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40966:13:0;;40962:272;;41009:60;;-1:-1:-1;;;41009:60:0;;;;;;;:::i;40962:272::-;41184:6;41178:13;41169:6;41165:2;41161:15;41154:38;40720:529;-1:-1:-1;;;;;;40847:51:0;-1:-1:-1;;;40847:51:0;;-1:-1:-1;40840:58:0;;40684:620;-1:-1:-1;41288:4:0;40512:799;;;;;;:::o;46725:988::-;46991:22;47041:1;47016:22;47033:4;47016:16;:22::i;:::-;:26;;;;:::i;:::-;47053:18;47074:26;;;:17;:26;;;;;;46991:51;;-1:-1:-1;47207:28:0;;;47203:328;;-1:-1:-1;;;;;47274:18:0;;47252:19;47274:18;;;:12;:18;;;;;;;;:34;;;;;;;;;47325:30;;;;;;:44;;;47442:30;;:17;:30;;;;;:43;;;47203:328;-1:-1:-1;47627:26:0;;;;:17;:26;;;;;;;;47620:33;;;-1:-1:-1;;;;;47671:18:0;;;;;:12;:18;;;;;:34;;;;;;;47664:41;46725:988::o;48008:1079::-;48286:10;:17;48261:22;;48286:21;;48306:1;;48286:21;:::i;:::-;48318:18;48339:24;;;:15;:24;;;;;;48712:10;:26;;48261:46;;-1:-1:-1;48339:24:0;;48261:46;;48712:26;;;;;;:::i;:::-;;;;;;;;;48690:48;;48776:11;48751:10;48762;48751:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;48856:28;;;:15;:28;;;;;;;:41;;;49028:24;;;;;49021:31;49063:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;48079:1008;;;48008:1079;:::o;45512:221::-;45597:14;45614:20;45631:2;45614:16;:20::i;:::-;-1:-1:-1;;;;;45645:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;45690:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;45512:221:0:o;37769:382::-;-1:-1:-1;;;;;37849:16:0;;37841:61;;;;-1:-1:-1;;;37841:61:0;;12091:2:1;37841:61:0;;;12073:21:1;;;12110:18;;;12103:30;12169:34;12149:18;;;12142:62;12221:18;;37841:61:0;11889:356:1;37841:61:0;35856:4;35880:16;;;:7;:16;;;;;;-1:-1:-1;;;;;35880:16:0;:30;37913:58;;;;-1:-1:-1;;;37913:58:0;;8963:2:1;37913:58:0;;;8945:21:1;9002:2;8982:18;;;8975:30;9041;9021:18;;;9014:58;9089:18;;37913:58:0;8761:352:1;37913:58:0;37984:45;38013:1;38017:2;38021:7;37984:20;:45::i;:::-;-1:-1:-1;;;;;38042:13:0;;;;;;:9;:13;;;;;:18;;38059:1;;38042:13;:18;;38059:1;;38042:18;:::i;:::-;;;;-1:-1:-1;;38071:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;38071:21:0;-1:-1:-1;;;;;38071:21:0;;;;;;;;38110:33;;38071:16;;;38110:33;;38071:16;;38110:33;37769:382;;:::o;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:186::-;251:6;304:2;292:9;283:7;279:23;275:32;272:52;;;320:1;317;310:12;272:52;343:29;362:9;343:29;:::i;383:260::-;451:6;459;512:2;500:9;491:7;487:23;483:32;480:52;;;528:1;525;518:12;480:52;551:29;570:9;551:29;:::i;:::-;541:39;;599:38;633:2;622:9;618:18;599:38;:::i;:::-;589:48;;383:260;;;;;:::o;648:328::-;725:6;733;741;794:2;782:9;773:7;769:23;765:32;762:52;;;810:1;807;800:12;762:52;833:29;852:9;833:29;:::i;:::-;823:39;;881:38;915:2;904:9;900:18;881:38;:::i;:::-;871:48;;966:2;955:9;951:18;938:32;928:42;;648:328;;;;;:::o;981:1138::-;1076:6;1084;1092;1100;1153:3;1141:9;1132:7;1128:23;1124:33;1121:53;;;1170:1;1167;1160:12;1121:53;1193:29;1212:9;1193:29;:::i;:::-;1183:39;;1241:38;1275:2;1264:9;1260:18;1241:38;:::i;:::-;1231:48;;1326:2;1315:9;1311:18;1298:32;1288:42;;1381:2;1370:9;1366:18;1353:32;1404:18;1445:2;1437:6;1434:14;1431:34;;;1461:1;1458;1451:12;1431:34;1499:6;1488:9;1484:22;1474:32;;1544:7;1537:4;1533:2;1529:13;1525:27;1515:55;;1566:1;1563;1556:12;1515:55;1602:2;1589:16;1624:2;1620;1617:10;1614:36;;;1630:18;;:::i;:::-;1705:2;1699:9;1673:2;1759:13;;-1:-1:-1;;1755:22:1;;;1779:2;1751:31;1747:40;1735:53;;;1803:18;;;1823:22;;;1800:46;1797:72;;;1849:18;;:::i;:::-;1889:10;1885:2;1878:22;1924:2;1916:6;1909:18;1964:7;1959:2;1954;1950;1946:11;1942:20;1939:33;1936:53;;;1985:1;1982;1975:12;1936:53;2041:2;2036;2032;2028:11;2023:2;2015:6;2011:15;1998:46;2086:1;2081:2;2076;2068:6;2064:15;2060:24;2053:35;2107:6;2097:16;;;;;;;981:1138;;;;;;;:::o;2124:347::-;2189:6;2197;2250:2;2238:9;2229:7;2225:23;2221:32;2218:52;;;2266:1;2263;2256:12;2218:52;2289:29;2308:9;2289:29;:::i;:::-;2279:39;;2368:2;2357:9;2353:18;2340:32;2415:5;2408:13;2401:21;2394:5;2391:32;2381:60;;2437:1;2434;2427:12;2381:60;2460:5;2450:15;;;2124:347;;;;;:::o;2476:254::-;2544:6;2552;2605:2;2593:9;2584:7;2580:23;2576:32;2573:52;;;2621:1;2618;2611:12;2573:52;2644:29;2663:9;2644:29;:::i;:::-;2634:39;2720:2;2705:18;;;;2692:32;;-1:-1:-1;;;2476:254:1:o;2735:245::-;2793:6;2846:2;2834:9;2825:7;2821:23;2817:32;2814:52;;;2862:1;2859;2852:12;2814:52;2901:9;2888:23;2920:30;2944:5;2920:30;:::i;2985:249::-;3054:6;3107:2;3095:9;3086:7;3082:23;3078:32;3075:52;;;3123:1;3120;3113:12;3075:52;3155:9;3149:16;3174:30;3198:5;3174:30;:::i;3239:180::-;3298:6;3351:2;3339:9;3330:7;3326:23;3322:32;3319:52;;;3367:1;3364;3357:12;3319:52;-1:-1:-1;3390:23:1;;3239:180;-1:-1:-1;3239:180:1:o;3424:257::-;3465:3;3503:5;3497:12;3530:6;3525:3;3518:19;3546:63;3602:6;3595:4;3590:3;3586:14;3579:4;3572:5;3568:16;3546:63;:::i;:::-;3663:2;3642:15;-1:-1:-1;;3638:29:1;3629:39;;;;3670:4;3625:50;;3424:257;-1:-1:-1;;3424:257:1:o;4237:1527::-;4461:3;4499:6;4493:13;4525:4;4538:51;4582:6;4577:3;4572:2;4564:6;4560:15;4538:51;:::i;:::-;4652:13;;4611:16;;;;4674:55;4652:13;4611:16;4696:15;;;4674:55;:::i;:::-;4818:13;;4751:20;;;4791:1;;4878;4900:18;;;;4953;;;;4980:93;;5058:4;5048:8;5044:19;5032:31;;4980:93;5121:2;5111:8;5108:16;5088:18;5085:40;5082:167;;;-1:-1:-1;;;5148:33:1;;5204:4;5201:1;5194:15;5234:4;5155:3;5222:17;5082:167;5265:18;5292:110;;;;5416:1;5411:328;;;;5258:481;;5292:110;-1:-1:-1;;5327:24:1;;5313:39;;5372:20;;;;-1:-1:-1;5292:110:1;;5411:328;15338:1;15331:14;;;15375:4;15362:18;;5506:1;5520:169;5534:8;5531:1;5528:15;5520:169;;;5616:14;;5601:13;;;5594:37;5659:16;;;;5551:10;;5520:169;;;5524:3;;5720:8;5713:5;5709:20;5702:27;;5258:481;-1:-1:-1;5755:3:1;;4237:1527;-1:-1:-1;;;;;;;;;;;4237:1527:1:o;5977:488::-;-1:-1:-1;;;;;6246:15:1;;;6228:34;;6298:15;;6293:2;6278:18;;6271:43;6345:2;6330:18;;6323:34;;;6393:3;6388:2;6373:18;;6366:31;;;6171:4;;6414:45;;6439:19;;6431:6;6414:45;:::i;:::-;6406:53;5977:488;-1:-1:-1;;;;;;5977:488:1:o;6470:632::-;6641:2;6693:21;;;6763:13;;6666:18;;;6785:22;;;6612:4;;6641:2;6864:15;;;;6838:2;6823:18;;;6612:4;6907:169;6921:6;6918:1;6915:13;6907:169;;;6982:13;;6970:26;;7051:15;;;;7016:12;;;;6943:1;6936:9;6907:169;;;-1:-1:-1;7093:3:1;;6470:632;-1:-1:-1;;;;;;6470:632:1:o;7299:219::-;7448:2;7437:9;7430:21;7411:4;7468:44;7508:2;7497:9;7493:18;7485:6;7468:44;:::i;7935:414::-;8137:2;8119:21;;;8176:2;8156:18;;;8149:30;8215:34;8210:2;8195:18;;8188:62;-1:-1:-1;;;8281:2:1;8266:18;;8259:48;8339:3;8324:19;;7935:414::o;12663:356::-;12865:2;12847:21;;;12884:18;;;12877:30;12943:34;12938:2;12923:18;;12916:62;13010:2;12995:18;;12663:356::o;14252:413::-;14454:2;14436:21;;;14493:2;14473:18;;;14466:30;14532:34;14527:2;14512:18;;14505:62;-1:-1:-1;;;14598:2:1;14583:18;;14576:47;14655:3;14640:19;;14252:413::o;15391:128::-;15431:3;15462:1;15458:6;15455:1;15452:13;15449:39;;;15468:18;;:::i;:::-;-1:-1:-1;15504:9:1;;15391:128::o;15524:120::-;15564:1;15590;15580:35;;15595:18;;:::i;:::-;-1:-1:-1;15629:9:1;;15524:120::o;15649:168::-;15689:7;15755:1;15751;15747:6;15743:14;15740:1;15737:21;15732:1;15725:9;15718:17;15714:45;15711:71;;;15762:18;;:::i;:::-;-1:-1:-1;15802:9:1;;15649:168::o;15822:125::-;15862:4;15890:1;15887;15884:8;15881:34;;;15895:18;;:::i;:::-;-1:-1:-1;15932:9:1;;15822:125::o;15952:258::-;16024:1;16034:113;16048:6;16045:1;16042:13;16034:113;;;16124:11;;;16118:18;16105:11;;;16098:39;16070:2;16063:10;16034:113;;;16165:6;16162:1;16159:13;16156:48;;;-1:-1:-1;;16200:1:1;16182:16;;16175:27;15952:258::o;16215:380::-;16294:1;16290:12;;;;16337;;;16358:61;;16412:4;16404:6;16400:17;16390:27;;16358:61;16465:2;16457:6;16454:14;16434:18;16431:38;16428:161;;;16511:10;16506:3;16502:20;16499:1;16492:31;16546:4;16543:1;16536:15;16574:4;16571:1;16564:15;16428:161;;16215:380;;;:::o;16600:135::-;16639:3;-1:-1:-1;;16660:17:1;;16657:43;;;16680:18;;:::i;:::-;-1:-1:-1;16727:1:1;16716:13;;16600:135::o;16740:112::-;16772:1;16798;16788:35;;16803:18;;:::i;:::-;-1:-1:-1;16837:9:1;;16740:112::o;16857:127::-;16918:10;16913:3;16909:20;16906:1;16899:31;16949:4;16946:1;16939:15;16973:4;16970:1;16963:15;16989:127;17050:10;17045:3;17041:20;17038:1;17031:31;17081:4;17078:1;17071:15;17105:4;17102:1;17095:15;17121:127;17182:10;17177:3;17173:20;17170:1;17163:31;17213:4;17210:1;17203:15;17237:4;17234:1;17227:15;17253:127;17314:10;17309:3;17305:20;17302:1;17295:31;17345:4;17342:1;17335:15;17369:4;17366:1;17359:15;17385:127;17446:10;17441:3;17437:20;17434:1;17427:31;17477:4;17474:1;17467:15;17501:4;17498:1;17491:15;17517:131;-1:-1:-1;;;;;;17591:32:1;;17581:43;;17571:71;;17638:1;17635;17628:12

Swarm Source

ipfs://3bfa3a11b3d3b37c2b7235d9048032bba1479a4a934962c0ca15ee5c28ee04f4
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

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.