ETH Price: $3,454.63 (-1.08%)
Gas: 11 Gwei

Token

Christmas Gambling Apes (CGAPES)
 

Overview

Max Total Supply

777 CGAPES

Holders

391

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
3 CGAPES
0xb898ae2c6951d0cb3c2c3e7ab96a8f72b6863733
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
ChristmasGamblingApes

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 777 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 1 of 2: GamblingApesChristmas.sol
// SPDX-License-Identifier: MIT

import "./OpenZeppelinOwnableAndERC721.sol";

pragma solidity ^0.8.7;

/// @title Minting Contract for the Gambling Apes Christmas Collection
/// @author Doggo#8314
contract ChristmasGamblingApes is ERC721, Ownable {
    using Strings for uint;

    // Constructor

    constructor(ERC721 gamblingApes_, string memory baseURI_) ERC721("Christmas Gambling Apes","CGAPES") {
        gamblingApes = gamblingApes_;
        baseURI = baseURI_;
    }

    // Constants

    uint constant maxPerAddress = 3;
    uint constant ethCost = 0.21 ether;
    uint constant maxId = 777;


    // Storage Variables

    /// @notice Number of currently minted tokens
    uint public totalSupply = 0;

    string baseURI;

    /// @notice Current sale state (true = active, false = inactive)
    bool public saleState;
    bool metadataLocked = false;

    ERC721 gamblingApes;
    
    /// @notice Mapping of address to amount minted
    mapping(address => uint) public amountMinted;


    // Modifiers

    modifier publicMintChecks(uint amount) {
        require(msg.sender == tx.origin);                                                                     // Reentrancy / Botting check
        require(saleState,"Sale is not active!");                                                             // Sale status check
        require(gamblingApes.balanceOf(msg.sender) > 0, "You must own atleast one Gambling Ape to mint");     // GA holder check
        require(msg.value == ethCost * amount, "Invalid ether sent");                                         // Ether sent check
        require(amountMinted[msg.sender] + amount <= maxPerAddress, "Mint would exceed maximum per address"); // Max per address check
        require(totalSupply + amount <= maxId, "Mint would exceed supply");                                   // Max Supply check
        _;
    }


    // Minting

    /// @notice The function call will revert if the mint exceeds supply
    function publicMint(uint amount) external payable publicMintChecks(amount) {
        for(uint i = 0; i < amount; i++)
            _mint(msg.sender, ++totalSupply);
        amountMinted[msg.sender] += amount;
    }

    /// @notice (Owner Only) The function call will revert if the mint exceeds supply
    /// @param to Array of addresses to mint to (1 mint each)
    function adminMint(address[] memory to) external onlyOwner {
        require(totalSupply + to.length <= maxId, "Mint would exceed supply");
        for(uint i = 0; i < to.length; i++) {
            _mint(to[i], ++totalSupply);
        }
    }

    // View

    /// @notice The function call will revert if the tokenId does not exist
    /// @param tokenId The token ID to get the metadata URL of
    /// @return IPFS String that contains the token metadata
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
        return string(abi.encodePacked(baseURI, tokenId.toString(),".json"));
    }

    // General Only Owner

    function adminSetGA(ERC721 gamblingApes_) external onlyOwner {
        gamblingApes = gamblingApes_;
    }

    /// @notice (Owner Only) Set the metadata baseURI
    function adminSetBaseURI(string memory baseURI_) external onlyOwner {
        require(!metadataLocked, "Metadata is locked");
        baseURI = baseURI_;
    }

    function adminLockBaseURI() external onlyOwner{
        metadataLocked = true;
    }

    /// @notice (Owner Only) Set sale state
    function adminSetSaleState(bool saleState_) external onlyOwner {
        saleState = saleState_;
    }

    address payable constant withdrawWallet = payable(0x9c27b19B2706c819458AE0fFaC4BebF5487644E0);

    /// @notice (Owner Only) Withdraw the current funds from the contract to a withdraw wallet
    function adminWithdraw() external onlyOwner {
        withdrawWallet.transfer(address(this).balance);
    }
}

File 2 of 2: OpenZeppelinOwnableAndERC721.sol
// File: .deps/npm/@openzeppelin/contracts/utils/Strings.sol


// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

// File: .deps/npm/@openzeppelin/contracts/utils/Address.sol


// OpenZeppelin Contracts v4.4.1 (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: .deps/npm/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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


// OpenZeppelin Contracts v4.4.1 (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: .deps/npm/@openzeppelin/contracts/token/ERC721/IERC721.sol


// OpenZeppelin Contracts v4.4.1 (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: .deps/npm/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol


// OpenZeppelin Contracts v4.4.1 (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: .deps/npm/@openzeppelin/contracts/token/ERC721/ERC721.sol


// OpenZeppelin Contracts v4.4.1 (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 {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

// OpenZeppelin Contracts v4.4.1 (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() {
        _transferOwnership(_msgSender());
    }

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract ERC721","name":"gamblingApes_","type":"address"},{"internalType":"string","name":"baseURI_","type":"string"}],"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":[],"name":"adminLockBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"to","type":"address[]"}],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"adminSetBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract ERC721","name":"gamblingApes_","type":"address"}],"name":"adminSetGA","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"saleState_","type":"bool"}],"name":"adminSetSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"adminWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"amountMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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":"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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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"}]

608060405260006007556009805461ff00191690553480156200002157600080fd5b50604051620025df380380620025df83398101604081905262000044916200022c565b604080518082018252601781527f4368726973746d61732047616d626c696e67204170657300000000000000000060208083019182528351808501909452600684526543474150455360d01b908401528151919291620000a79160009162000170565b508051620000bd90600190602084019062000170565b505050620000da620000d46200011a60201b60201c565b6200011e565b6009805462010000600160b01b031916620100006001600160a01b0385160217905580516200011190600890602084019062000170565b50505062000369565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200017e906200032c565b90600052602060002090601f016020900481019282620001a25760008555620001ed565b82601f10620001bd57805160ff1916838001178555620001ed565b82800160010185558215620001ed579182015b82811115620001ed578251825591602001919060010190620001d0565b50620001fb929150620001ff565b5090565b5b80821115620001fb576000815560010162000200565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156200024057600080fd5b82516001600160a01b03811681146200025857600080fd5b602084810151919350906001600160401b03808211156200027857600080fd5b818601915086601f8301126200028d57600080fd5b815181811115620002a257620002a262000216565b604051601f8201601f19908116603f01168101908382118183101715620002cd57620002cd62000216565b816040528281528986848701011115620002e657600080fd5b600093505b828410156200030a5784840186015181850187015292850192620002eb565b828411156200031c5760008684830101525b8096505050505050509250929050565b600181811c908216806200034157607f821691505b602082108114156200036357634e487b7160e01b600052602260045260246000fd5b50919050565b61226680620003796000396000f3fe6080604052600436106101a15760003560e01c8063603f4d52116100e157806395d89b411161008a578063c87b56dd11610064578063c87b56dd14610472578063e985e9c514610492578063f18d20be146104db578063f2fde38b146104f057600080fd5b806395d89b411461041d578063a22cb46514610432578063b88d4fde1461045257600080fd5b8063715018a6116100bb578063715018a6146103d55780637602bd7f146103ea5780638da5cb5b146103ff57600080fd5b8063603f4d521461037b5780636352211e1461039557806370a08231146103b557600080fd5b806321cbb5bd1161014e5780633e976df5116101285780633e976df5146102ee57806342842e0e1461030e57806342a6cef71461032e578063438a67e71461034e57600080fd5b806321cbb5bd1461029b57806323b872dd146102bb5780632db11544146102db57600080fd5b8063095ea7b31161017f578063095ea7b31461023557806318160ddd146102575780631f2e4a5a1461027b57600080fd5b806301ffc9a7146101a657806306fdde03146101db578063081812fc146101fd575b600080fd5b3480156101b257600080fd5b506101c66101c1366004611bda565b610510565b60405190151581526020015b60405180910390f35b3480156101e757600080fd5b506101f0610562565b6040516101d29190611c56565b34801561020957600080fd5b5061021d610218366004611c69565b6105f4565b6040516001600160a01b0390911681526020016101d2565b34801561024157600080fd5b50610255610250366004611c97565b61068e565b005b34801561026357600080fd5b5061026d60075481565b6040519081526020016101d2565b34801561028757600080fd5b50610255610296366004611cc3565b6107a4565b3480156102a757600080fd5b506102556102b6366004611d27565b61083e565b3480156102c757600080fd5b506102556102d6366004611dd9565b610950565b6102556102e9366004611c69565b6109cb565b3480156102fa57600080fd5b50610255610309366004611e72565b610ca2565b34801561031a57600080fd5b50610255610329366004611dd9565b610d67565b34801561033a57600080fd5b50610255610349366004611ed0565b610d82565b34801561035a57600080fd5b5061026d610369366004611cc3565b600a6020526000908152604090205481565b34801561038757600080fd5b506009546101c69060ff1681565b3480156103a157600080fd5b5061021d6103b0366004611c69565b610def565b3480156103c157600080fd5b5061026d6103d0366004611cc3565b610e7a565b3480156103e157600080fd5b50610255610f14565b3480156103f657600080fd5b50610255610f7a565b34801561040b57600080fd5b506006546001600160a01b031661021d565b34801561042957600080fd5b506101f0610fe5565b34801561043e57600080fd5b5061025561044d366004611eeb565b610ff4565b34801561045e57600080fd5b5061025561046d366004611f20565b610fff565b34801561047e57600080fd5b506101f061048d366004611c69565b611081565b34801561049e57600080fd5b506101c66104ad366004611fa0565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156104e757600080fd5b50610255611140565b3480156104fc57600080fd5b5061025561050b366004611cc3565b6111dd565b60006001600160e01b031982166380ac58cd60e01b148061054157506001600160e01b03198216635b5e139f60e01b145b8061055c57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461057190611fd9565b80601f016020809104026020016040519081016040528092919081815260200182805461059d90611fd9565b80156105ea5780601f106105bf576101008083540402835291602001916105ea565b820191906000526020600020905b8154815290600101906020018083116105cd57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106725760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061069982610def565b9050806001600160a01b0316836001600160a01b031614156107075760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610669565b336001600160a01b0382161480610723575061072381336104ad565b6107955760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610669565b61079f83836112bc565b505050565b6006546001600160a01b031633146107fe5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610669565b600980546001600160a01b0390921662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff909216919091179055565b6006546001600160a01b031633146108985760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610669565b61030981516007546108aa919061202a565b11156108f85760405162461bcd60e51b815260206004820152601860248201527f4d696e7420776f756c642065786365656420737570706c7900000000000000006044820152606401610669565b60005b815181101561094c5761093a82828151811061091957610919612042565b602002602001015160076000815461093090612058565b918290555061132a565b8061094481612058565b9150506108fb565b5050565b61095a338261146c565b6109c05760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608401610669565b61079f838383611563565b803332146109d857600080fd5b60095460ff16610a2a5760405162461bcd60e51b815260206004820152601360248201527f53616c65206973206e6f742061637469766521000000000000000000000000006044820152606401610669565b6009546040516370a0823160e01b81523360048201526000916201000090046001600160a01b0316906370a0823190602401602060405180830381865afa158015610a79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9d9190612073565b11610b105760405162461bcd60e51b815260206004820152602d60248201527f596f75206d757374206f776e2061746c65617374206f6e652047616d626c696e60448201527f672041706520746f206d696e74000000000000000000000000000000000000006064820152608401610669565b610b22816702ea11e32ad5000061208c565b3414610b705760405162461bcd60e51b815260206004820152601260248201527f496e76616c69642065746865722073656e7400000000000000000000000000006044820152606401610669565b336000908152600a6020526040902054600390610b8e90839061202a565b1115610bea5760405162461bcd60e51b815260206004820152602560248201527f4d696e7420776f756c6420657863656564206d6178696d756d20706572206164604482015264647265737360d81b6064820152608401610669565b61030981600754610bfb919061202a565b1115610c495760405162461bcd60e51b815260206004820152601860248201527f4d696e7420776f756c642065786365656420737570706c7900000000000000006044820152606401610669565b60005b82811015610c7957610c673360076000815461093090612058565b80610c7181612058565b915050610c4c565b50336000908152600a602052604081208054849290610c9990849061202a565b90915550505050565b6006546001600160a01b03163314610cfc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610669565b600954610100900460ff1615610d545760405162461bcd60e51b815260206004820152601260248201527f4d65746164617461206973206c6f636b656400000000000000000000000000006044820152606401610669565b805161094c906008906020840190611b2b565b61079f83838360405180602001604052806000815250610fff565b6006546001600160a01b03163314610ddc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610669565b6009805460ff1916911515919091179055565b6000818152600260205260408120546001600160a01b03168061055c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610669565b60006001600160a01b038216610ef85760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610669565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610f6e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610669565b610f786000611717565b565b6006546001600160a01b03163314610fd45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610669565b6009805461ff001916610100179055565b60606001805461057190611fd9565b61094c338383611769565b611009338361146c565b61106f5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608401610669565b61107b84848484611838565b50505050565b6000818152600260205260409020546060906001600160a01b031661110e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610669565b6008611119836118c1565b60405160200161112a9291906120c7565b6040516020818303038152906040529050919050565b6006546001600160a01b0316331461119a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610669565b604051739c27b19b2706c819458ae0ffac4bebf5487644e0904780156108fc02916000818181858888f193505050501580156111da573d6000803e3d6000fd5b50565b6006546001600160a01b031633146112375760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610669565b6001600160a01b0381166112b35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610669565b6111da81611717565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906112f182610def565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600160a01b0382166113805760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610669565b6000818152600260205260409020546001600160a01b0316156113e55760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610669565b6001600160a01b038216600090815260036020526040812080546001929061140e90849061202a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000818152600260205260408120546001600160a01b03166114e55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610669565b60006114f083610def565b9050806001600160a01b0316846001600160a01b0316148061152b5750836001600160a01b0316611520846105f4565b6001600160a01b0316145b8061155b57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661157682610def565b6001600160a01b0316146115f25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610669565b6001600160a01b0382166116545760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610669565b61165f6000826112bc565b6001600160a01b0383166000908152600360205260408120805460019290611688908490612182565b90915550506001600160a01b03821660009081526003602052604081208054600192906116b690849061202a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156117cb5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610669565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611843848484611563565b61184f848484846119d7565b61107b5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610669565b6060816118e55750506040805180820190915260018152600360fc1b602082015290565b8160005b811561190f57806118f981612058565b91506119089050600a836121af565b91506118e9565b60008167ffffffffffffffff81111561192a5761192a611ce0565b6040519080825280601f01601f191660200182016040528015611954576020820181803683370190505b5090505b841561155b57611969600183612182565b9150611976600a866121c3565b61198190603061202a565b60f81b81838151811061199657611996612042565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506119d0600a866121af565b9450611958565b60006001600160a01b0384163b15611b2057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611a1b9033908990889088906004016121d7565b6020604051808303816000875af1925050508015611a56575060408051601f3d908101601f19168201909252611a5391810190612213565b60015b611b06573d808015611a84576040519150601f19603f3d011682016040523d82523d6000602084013e611a89565b606091505b508051611afe5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610669565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061155b565b506001949350505050565b828054611b3790611fd9565b90600052602060002090601f016020900481019282611b595760008555611b9f565b82601f10611b7257805160ff1916838001178555611b9f565b82800160010185558215611b9f579182015b82811115611b9f578251825591602001919060010190611b84565b50611bab929150611baf565b5090565b5b80821115611bab5760008155600101611bb0565b6001600160e01b0319811681146111da57600080fd5b600060208284031215611bec57600080fd5b8135611bf781611bc4565b9392505050565b60005b83811015611c19578181015183820152602001611c01565b8381111561107b5750506000910152565b60008151808452611c42816020860160208601611bfe565b601f01601f19169290920160200192915050565b602081526000611bf76020830184611c2a565b600060208284031215611c7b57600080fd5b5035919050565b6001600160a01b03811681146111da57600080fd5b60008060408385031215611caa57600080fd5b8235611cb581611c82565b946020939093013593505050565b600060208284031215611cd557600080fd5b8135611bf781611c82565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611d1f57611d1f611ce0565b604052919050565b60006020808385031215611d3a57600080fd5b823567ffffffffffffffff80821115611d5257600080fd5b818501915085601f830112611d6657600080fd5b813581811115611d7857611d78611ce0565b8060051b9150611d89848301611cf6565b8181529183018401918481019088841115611da357600080fd5b938501935b83851015611dcd5784359250611dbd83611c82565b8282529385019390850190611da8565b98975050505050505050565b600080600060608486031215611dee57600080fd5b8335611df981611c82565b92506020840135611e0981611c82565b929592945050506040919091013590565b600067ffffffffffffffff831115611e3457611e34611ce0565b611e47601f8401601f1916602001611cf6565b9050828152838383011115611e5b57600080fd5b828260208301376000602084830101529392505050565b600060208284031215611e8457600080fd5b813567ffffffffffffffff811115611e9b57600080fd5b8201601f81018413611eac57600080fd5b61155b84823560208401611e1a565b80358015158114611ecb57600080fd5b919050565b600060208284031215611ee257600080fd5b611bf782611ebb565b60008060408385031215611efe57600080fd5b8235611f0981611c82565b9150611f1760208401611ebb565b90509250929050565b60008060008060808587031215611f3657600080fd5b8435611f4181611c82565b93506020850135611f5181611c82565b925060408501359150606085013567ffffffffffffffff811115611f7457600080fd5b8501601f81018713611f8557600080fd5b611f9487823560208401611e1a565b91505092959194509250565b60008060408385031215611fb357600080fd5b8235611fbe81611c82565b91506020830135611fce81611c82565b809150509250929050565b600181811c90821680611fed57607f821691505b6020821081141561200e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561203d5761203d612014565b500190565b634e487b7160e01b600052603260045260246000fd5b600060001982141561206c5761206c612014565b5060010190565b60006020828403121561208557600080fd5b5051919050565b60008160001904831182151516156120a6576120a6612014565b500290565b600081516120bd818560208601611bfe565b9290920192915050565b600080845481600182811c9150808316806120e357607f831692505b602080841082141561210357634e487b7160e01b86526022600452602486fd5b818015612117576001811461212857612155565b60ff19861689528489019650612155565b60008b81526020902060005b8681101561214d5781548b820152908501908301612134565b505084890196505b50505050505061217961216882866120ab565b64173539b7b760d91b815260050190565b95945050505050565b60008282101561219457612194612014565b500390565b634e487b7160e01b600052601260045260246000fd5b6000826121be576121be612199565b500490565b6000826121d2576121d2612199565b500690565b60006001600160a01b038087168352808616602084015250836040830152608060608301526122096080830184611c2a565b9695505050505050565b60006020828403121561222557600080fd5b8151611bf781611bc456fea2646970667358221220e99505671a66f8780e9fa48f3089727964d2cdc7e37fa5ed69c3536da44dc54c64736f6c634300080a003300000000000000000000000090ca8a3eb2574f937f514749ce619fdcca187d4500000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5a56567647625a476d517157735842477255455231585a4a7453776e383241353243326732544d4243587a6b2f00000000000000000000

Deployed Bytecode

0x6080604052600436106101a15760003560e01c8063603f4d52116100e157806395d89b411161008a578063c87b56dd11610064578063c87b56dd14610472578063e985e9c514610492578063f18d20be146104db578063f2fde38b146104f057600080fd5b806395d89b411461041d578063a22cb46514610432578063b88d4fde1461045257600080fd5b8063715018a6116100bb578063715018a6146103d55780637602bd7f146103ea5780638da5cb5b146103ff57600080fd5b8063603f4d521461037b5780636352211e1461039557806370a08231146103b557600080fd5b806321cbb5bd1161014e5780633e976df5116101285780633e976df5146102ee57806342842e0e1461030e57806342a6cef71461032e578063438a67e71461034e57600080fd5b806321cbb5bd1461029b57806323b872dd146102bb5780632db11544146102db57600080fd5b8063095ea7b31161017f578063095ea7b31461023557806318160ddd146102575780631f2e4a5a1461027b57600080fd5b806301ffc9a7146101a657806306fdde03146101db578063081812fc146101fd575b600080fd5b3480156101b257600080fd5b506101c66101c1366004611bda565b610510565b60405190151581526020015b60405180910390f35b3480156101e757600080fd5b506101f0610562565b6040516101d29190611c56565b34801561020957600080fd5b5061021d610218366004611c69565b6105f4565b6040516001600160a01b0390911681526020016101d2565b34801561024157600080fd5b50610255610250366004611c97565b61068e565b005b34801561026357600080fd5b5061026d60075481565b6040519081526020016101d2565b34801561028757600080fd5b50610255610296366004611cc3565b6107a4565b3480156102a757600080fd5b506102556102b6366004611d27565b61083e565b3480156102c757600080fd5b506102556102d6366004611dd9565b610950565b6102556102e9366004611c69565b6109cb565b3480156102fa57600080fd5b50610255610309366004611e72565b610ca2565b34801561031a57600080fd5b50610255610329366004611dd9565b610d67565b34801561033a57600080fd5b50610255610349366004611ed0565b610d82565b34801561035a57600080fd5b5061026d610369366004611cc3565b600a6020526000908152604090205481565b34801561038757600080fd5b506009546101c69060ff1681565b3480156103a157600080fd5b5061021d6103b0366004611c69565b610def565b3480156103c157600080fd5b5061026d6103d0366004611cc3565b610e7a565b3480156103e157600080fd5b50610255610f14565b3480156103f657600080fd5b50610255610f7a565b34801561040b57600080fd5b506006546001600160a01b031661021d565b34801561042957600080fd5b506101f0610fe5565b34801561043e57600080fd5b5061025561044d366004611eeb565b610ff4565b34801561045e57600080fd5b5061025561046d366004611f20565b610fff565b34801561047e57600080fd5b506101f061048d366004611c69565b611081565b34801561049e57600080fd5b506101c66104ad366004611fa0565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156104e757600080fd5b50610255611140565b3480156104fc57600080fd5b5061025561050b366004611cc3565b6111dd565b60006001600160e01b031982166380ac58cd60e01b148061054157506001600160e01b03198216635b5e139f60e01b145b8061055c57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461057190611fd9565b80601f016020809104026020016040519081016040528092919081815260200182805461059d90611fd9565b80156105ea5780601f106105bf576101008083540402835291602001916105ea565b820191906000526020600020905b8154815290600101906020018083116105cd57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106725760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061069982610def565b9050806001600160a01b0316836001600160a01b031614156107075760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610669565b336001600160a01b0382161480610723575061072381336104ad565b6107955760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610669565b61079f83836112bc565b505050565b6006546001600160a01b031633146107fe5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610669565b600980546001600160a01b0390921662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff909216919091179055565b6006546001600160a01b031633146108985760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610669565b61030981516007546108aa919061202a565b11156108f85760405162461bcd60e51b815260206004820152601860248201527f4d696e7420776f756c642065786365656420737570706c7900000000000000006044820152606401610669565b60005b815181101561094c5761093a82828151811061091957610919612042565b602002602001015160076000815461093090612058565b918290555061132a565b8061094481612058565b9150506108fb565b5050565b61095a338261146c565b6109c05760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608401610669565b61079f838383611563565b803332146109d857600080fd5b60095460ff16610a2a5760405162461bcd60e51b815260206004820152601360248201527f53616c65206973206e6f742061637469766521000000000000000000000000006044820152606401610669565b6009546040516370a0823160e01b81523360048201526000916201000090046001600160a01b0316906370a0823190602401602060405180830381865afa158015610a79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9d9190612073565b11610b105760405162461bcd60e51b815260206004820152602d60248201527f596f75206d757374206f776e2061746c65617374206f6e652047616d626c696e60448201527f672041706520746f206d696e74000000000000000000000000000000000000006064820152608401610669565b610b22816702ea11e32ad5000061208c565b3414610b705760405162461bcd60e51b815260206004820152601260248201527f496e76616c69642065746865722073656e7400000000000000000000000000006044820152606401610669565b336000908152600a6020526040902054600390610b8e90839061202a565b1115610bea5760405162461bcd60e51b815260206004820152602560248201527f4d696e7420776f756c6420657863656564206d6178696d756d20706572206164604482015264647265737360d81b6064820152608401610669565b61030981600754610bfb919061202a565b1115610c495760405162461bcd60e51b815260206004820152601860248201527f4d696e7420776f756c642065786365656420737570706c7900000000000000006044820152606401610669565b60005b82811015610c7957610c673360076000815461093090612058565b80610c7181612058565b915050610c4c565b50336000908152600a602052604081208054849290610c9990849061202a565b90915550505050565b6006546001600160a01b03163314610cfc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610669565b600954610100900460ff1615610d545760405162461bcd60e51b815260206004820152601260248201527f4d65746164617461206973206c6f636b656400000000000000000000000000006044820152606401610669565b805161094c906008906020840190611b2b565b61079f83838360405180602001604052806000815250610fff565b6006546001600160a01b03163314610ddc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610669565b6009805460ff1916911515919091179055565b6000818152600260205260408120546001600160a01b03168061055c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610669565b60006001600160a01b038216610ef85760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610669565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610f6e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610669565b610f786000611717565b565b6006546001600160a01b03163314610fd45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610669565b6009805461ff001916610100179055565b60606001805461057190611fd9565b61094c338383611769565b611009338361146c565b61106f5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608401610669565b61107b84848484611838565b50505050565b6000818152600260205260409020546060906001600160a01b031661110e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610669565b6008611119836118c1565b60405160200161112a9291906120c7565b6040516020818303038152906040529050919050565b6006546001600160a01b0316331461119a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610669565b604051739c27b19b2706c819458ae0ffac4bebf5487644e0904780156108fc02916000818181858888f193505050501580156111da573d6000803e3d6000fd5b50565b6006546001600160a01b031633146112375760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610669565b6001600160a01b0381166112b35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610669565b6111da81611717565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906112f182610def565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600160a01b0382166113805760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610669565b6000818152600260205260409020546001600160a01b0316156113e55760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610669565b6001600160a01b038216600090815260036020526040812080546001929061140e90849061202a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000818152600260205260408120546001600160a01b03166114e55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610669565b60006114f083610def565b9050806001600160a01b0316846001600160a01b0316148061152b5750836001600160a01b0316611520846105f4565b6001600160a01b0316145b8061155b57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661157682610def565b6001600160a01b0316146115f25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610669565b6001600160a01b0382166116545760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610669565b61165f6000826112bc565b6001600160a01b0383166000908152600360205260408120805460019290611688908490612182565b90915550506001600160a01b03821660009081526003602052604081208054600192906116b690849061202a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156117cb5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610669565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611843848484611563565b61184f848484846119d7565b61107b5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610669565b6060816118e55750506040805180820190915260018152600360fc1b602082015290565b8160005b811561190f57806118f981612058565b91506119089050600a836121af565b91506118e9565b60008167ffffffffffffffff81111561192a5761192a611ce0565b6040519080825280601f01601f191660200182016040528015611954576020820181803683370190505b5090505b841561155b57611969600183612182565b9150611976600a866121c3565b61198190603061202a565b60f81b81838151811061199657611996612042565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506119d0600a866121af565b9450611958565b60006001600160a01b0384163b15611b2057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611a1b9033908990889088906004016121d7565b6020604051808303816000875af1925050508015611a56575060408051601f3d908101601f19168201909252611a5391810190612213565b60015b611b06573d808015611a84576040519150601f19603f3d011682016040523d82523d6000602084013e611a89565b606091505b508051611afe5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610669565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061155b565b506001949350505050565b828054611b3790611fd9565b90600052602060002090601f016020900481019282611b595760008555611b9f565b82601f10611b7257805160ff1916838001178555611b9f565b82800160010185558215611b9f579182015b82811115611b9f578251825591602001919060010190611b84565b50611bab929150611baf565b5090565b5b80821115611bab5760008155600101611bb0565b6001600160e01b0319811681146111da57600080fd5b600060208284031215611bec57600080fd5b8135611bf781611bc4565b9392505050565b60005b83811015611c19578181015183820152602001611c01565b8381111561107b5750506000910152565b60008151808452611c42816020860160208601611bfe565b601f01601f19169290920160200192915050565b602081526000611bf76020830184611c2a565b600060208284031215611c7b57600080fd5b5035919050565b6001600160a01b03811681146111da57600080fd5b60008060408385031215611caa57600080fd5b8235611cb581611c82565b946020939093013593505050565b600060208284031215611cd557600080fd5b8135611bf781611c82565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611d1f57611d1f611ce0565b604052919050565b60006020808385031215611d3a57600080fd5b823567ffffffffffffffff80821115611d5257600080fd5b818501915085601f830112611d6657600080fd5b813581811115611d7857611d78611ce0565b8060051b9150611d89848301611cf6565b8181529183018401918481019088841115611da357600080fd5b938501935b83851015611dcd5784359250611dbd83611c82565b8282529385019390850190611da8565b98975050505050505050565b600080600060608486031215611dee57600080fd5b8335611df981611c82565b92506020840135611e0981611c82565b929592945050506040919091013590565b600067ffffffffffffffff831115611e3457611e34611ce0565b611e47601f8401601f1916602001611cf6565b9050828152838383011115611e5b57600080fd5b828260208301376000602084830101529392505050565b600060208284031215611e8457600080fd5b813567ffffffffffffffff811115611e9b57600080fd5b8201601f81018413611eac57600080fd5b61155b84823560208401611e1a565b80358015158114611ecb57600080fd5b919050565b600060208284031215611ee257600080fd5b611bf782611ebb565b60008060408385031215611efe57600080fd5b8235611f0981611c82565b9150611f1760208401611ebb565b90509250929050565b60008060008060808587031215611f3657600080fd5b8435611f4181611c82565b93506020850135611f5181611c82565b925060408501359150606085013567ffffffffffffffff811115611f7457600080fd5b8501601f81018713611f8557600080fd5b611f9487823560208401611e1a565b91505092959194509250565b60008060408385031215611fb357600080fd5b8235611fbe81611c82565b91506020830135611fce81611c82565b809150509250929050565b600181811c90821680611fed57607f821691505b6020821081141561200e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561203d5761203d612014565b500190565b634e487b7160e01b600052603260045260246000fd5b600060001982141561206c5761206c612014565b5060010190565b60006020828403121561208557600080fd5b5051919050565b60008160001904831182151516156120a6576120a6612014565b500290565b600081516120bd818560208601611bfe565b9290920192915050565b600080845481600182811c9150808316806120e357607f831692505b602080841082141561210357634e487b7160e01b86526022600452602486fd5b818015612117576001811461212857612155565b60ff19861689528489019650612155565b60008b81526020902060005b8681101561214d5781548b820152908501908301612134565b505084890196505b50505050505061217961216882866120ab565b64173539b7b760d91b815260050190565b95945050505050565b60008282101561219457612194612014565b500390565b634e487b7160e01b600052601260045260246000fd5b6000826121be576121be612199565b500490565b6000826121d2576121d2612199565b500690565b60006001600160a01b038087168352808616602084015250836040830152608060608301526122096080830184611c2a565b9695505050505050565b60006020828403121561222557600080fd5b8151611bf781611bc456fea2646970667358221220e99505671a66f8780e9fa48f3089727964d2cdc7e37fa5ed69c3536da44dc54c64736f6c634300080a0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000090ca8a3eb2574f937f514749ce619fdcca187d4500000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5a56567647625a476d517157735842477255455231585a4a7453776e383241353243326732544d4243587a6b2f00000000000000000000

-----Decoded View---------------
Arg [0] : gamblingApes_ (address): 0x90cA8a3eb2574F937F514749ce619fDCCa187d45
Arg [1] : baseURI_ (string): ipfs://QmZVVvGbZGmQqWsXBGrUER1XZJtSwn82A52C2g2TMBCXzk/

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 00000000000000000000000090ca8a3eb2574f937f514749ce619fdcca187d45
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [3] : 697066733a2f2f516d5a56567647625a476d517157735842477255455231585a
Arg [4] : 4a7453776e383241353243326732544d4243587a6b2f00000000000000000000


Deployed Bytecode Sourcemap

206:3873:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21304:305:1;;;;;;;;;;-1:-1:-1;21304:305:1;;;;;:::i;:::-;;:::i;:::-;;;565:14:2;;558:22;540:41;;528:2;513:18;21304:305:1;;;;;;;;22249:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;23808:221::-;;;;;;;;;;-1:-1:-1;23808:221:1;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1714:55:2;;;1696:74;;1684:2;1669:18;23808:221:1;1550:226:2;23331:411:1;;;;;;;;;;-1:-1:-1;23331:411:1;;;;;:::i;:::-;;:::i;:::-;;715:27:0;;;;;;;;;;;;;;;;;;;2406:25:2;;;2394:2;2379:18;715:27:0;2260:177:2;3177:108:0;;;;;;;;;;-1:-1:-1;3177:108:0;;;;;:::i;:::-;;:::i;2405:247::-;;;;;;;;;;-1:-1:-1;2405:247:0;;;;;:::i;:::-;;:::i;24558:339:1:-;;;;;;;;;;-1:-1:-1;24558:339:1;;;;;:::i;:::-;;:::i;2030:217:0:-;;;;;;:::i;:::-;;:::i;3348:162::-;;;;;;;;;;-1:-1:-1;3348:162:0;;;;;:::i;:::-;;:::i;24968:185:1:-;;;;;;;;;;-1:-1:-1;24968:185:1;;;;;:::i;:::-;;:::i;3657:104:0:-;;;;;;;;;;-1:-1:-1;3657:104:0;;;;;:::i;:::-;;:::i;993:44::-;;;;;;;;;;-1:-1:-1;993:44:0;;;;;:::i;:::-;;;;;;;;;;;;;;844:21;;;;;;;;;;-1:-1:-1;844:21:0;;;;;;;;21943:239:1;;;;;;;;;;-1:-1:-1;21943:239:1;;;;;:::i;:::-;;:::i;21673:208::-;;;;;;;;;;-1:-1:-1;21673:208:1;;;;;:::i;:::-;;:::i;35400:103::-;;;;;;;;;;;;;:::i;3518:86:0:-;;;;;;;;;;;;;:::i;34749:87:1:-;;;;;;;;;;-1:-1:-1;34822:6:1;;-1:-1:-1;;;;;34822:6:1;34749:87;;22418:104;;;;;;;;;;;;;:::i;24101:155::-;;;;;;;;;;-1:-1:-1;24101:155:1;;;;;:::i;:::-;;:::i;25224:328::-;;;;;;;;;;-1:-1:-1;25224:328:1;;;;;:::i;:::-;;:::i;2878:262:0:-;;;;;;;;;;-1:-1:-1;2878:262:0;;;;;:::i;:::-;;:::i;24327:164:1:-;;;;;;;;;;-1:-1:-1;24327:164:1;;;;;:::i;:::-;-1:-1:-1;;;;;24448:25:1;;;24424:4;24448:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;24327:164;3967:109:0;;;;;;;;;;;;;:::i;35658:201:1:-;;;;;;;;;;-1:-1:-1;35658:201:1;;;;;:::i;:::-;;:::i;21304:305::-;21406:4;-1:-1:-1;;;;;;21443:40:1;;-1:-1:-1;;;21443:40:1;;:105;;-1:-1:-1;;;;;;;21500:48:1;;-1:-1:-1;;;21500:48:1;21443:105;:158;;;-1:-1:-1;;;;;;;;;;14152:40:1;;;21565:36;21423:178;21304:305;-1:-1:-1;;21304:305:1:o;22249:100::-;22303:13;22336:5;22329:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22249:100;:::o;23808:221::-;23884:7;27151:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27151:16:1;23904:73;;;;-1:-1:-1;;;23904:73:1;;8178:2:2;23904:73:1;;;8160:21:2;8217:2;8197:18;;;8190:30;8256:34;8236:18;;;8229:62;-1:-1:-1;;;8307:18:2;;;8300:42;8359:19;;23904:73:1;;;;;;;;;-1:-1:-1;23997:24:1;;;;:15;:24;;;;;;-1:-1:-1;;;;;23997:24:1;;23808:221::o;23331:411::-;23412:13;23428:23;23443:7;23428:14;:23::i;:::-;23412:39;;23476:5;-1:-1:-1;;;;;23470:11:1;:2;-1:-1:-1;;;;;23470:11:1;;;23462:57;;;;-1:-1:-1;;;23462:57:1;;8591:2:2;23462:57:1;;;8573:21:2;8630:2;8610:18;;;8603:30;8669:34;8649:18;;;8642:62;-1:-1:-1;;;8720:18:2;;;8713:31;8761:19;;23462:57:1;8389:397:2;23462:57:1;2905:10;-1:-1:-1;;;;;23554:21:1;;;;:62;;-1:-1:-1;23579:37:1;23596:5;2905:10;24327:164;:::i;23579:37::-;23532:168;;;;-1:-1:-1;;;23532:168:1;;8993:2:2;23532:168:1;;;8975:21:2;9032:2;9012:18;;;9005:30;9071:34;9051:18;;;9044:62;9142:26;9122:18;;;9115:54;9186:19;;23532:168:1;8791:420:2;23532:168:1;23713:21;23722:2;23726:7;23713:8;:21::i;:::-;23401:341;23331:411;;:::o;3177:108:0:-;34822:6:1;;-1:-1:-1;;;;;34822:6:1;2905:10;34969:23;34961:68;;;;-1:-1:-1;;;34961:68:1;;9418:2:2;34961:68:1;;;9400:21:2;;;9437:18;;;9430:30;9496:34;9476:18;;;9469:62;9548:18;;34961:68:1;9216:356:2;34961:68:1;3249:12:0::1;:28:::0;;-1:-1:-1;;;;;3249:28:0;;::::1;::::0;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;3177:108::o;2405:247::-;34822:6:1;;-1:-1:-1;;;;;34822:6:1;2905:10;34969:23;34961:68;;;;-1:-1:-1;;;34961:68:1;;9418:2:2;34961:68:1;;;9400:21:2;;;9437:18;;;9430:30;9496:34;9476:18;;;9469:62;9548:18;;34961:68:1;9216:356:2;34961:68:1;622:3:0::1;2497:2;:9;2483:11;;:23;;;;:::i;:::-;:32;;2475:69;;;::::0;-1:-1:-1;;;2475:69:0;;10044:2:2;2475:69:0::1;::::0;::::1;10026:21:2::0;10083:2;10063:18;;;10056:30;10122:26;10102:18;;;10095:54;10166:18;;2475:69:0::1;9842:348:2::0;2475:69:0::1;2559:6;2555:90;2575:2;:9;2571:1;:13;2555:90;;;2606:27;2612:2;2615:1;2612:5;;;;;;;;:::i;:::-;;;;;;;2621:11;;2619:13;;;;;:::i;:::-;::::0;;;;-1:-1:-1;2606:5:0::1;:27::i;:::-;2586:3:::0;::::1;::::0;::::1;:::i;:::-;;;;2555:90;;;;2405:247:::0;:::o;24558:339:1:-;24753:41;2905:10;24786:7;24753:18;:41::i;:::-;24745:103;;;;-1:-1:-1;;;24745:103:1;;10669:2:2;24745:103:1;;;10651:21:2;10708:2;10688:18;;;10681:30;10747:34;10727:18;;;10720:62;-1:-1:-1;;;10798:18:2;;;10791:47;10855:19;;24745:103:1;10467:413:2;24745:103:1;24861:28;24871:4;24877:2;24881:7;24861:9;:28::i;2030:217:0:-;2097:6;1126:10;1140:9;1126:23;1118:32;;;;;;1267:9;;;;1259:40;;;;-1:-1:-1;;;1259:40:0;;11087:2:2;1259:40:0;;;11069:21:2;11126:2;11106:18;;;11099:30;11165:21;11145:18;;;11138:49;11204:18;;1259:40:0;10885:343:2;1259:40:0;1399:12;;:34;;-1:-1:-1;;;1399:34:0;;1422:10;1399:34;;;1696:74:2;1436:1:0;;1399:12;;;-1:-1:-1;;;;;1399:12:0;;:22;;1669:18:2;;1399:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:38;1391:96;;;;-1:-1:-1;;;1391:96:0;;11624:2:2;1391:96:0;;;11606:21:2;11663:2;11643:18;;;11636:30;11702:34;11682:18;;;11675:62;11773:15;11753:18;;;11746:43;11806:19;;1391:96:0;11422:409:2;1391:96:0;1542:16;1552:6;583:10;1542:16;:::i;:::-;1529:9;:29;1521:60;;;;-1:-1:-1;;;1521:60:0;;12211:2:2;1521:60:0;;;12193:21:2;12250:2;12230:18;;;12223:30;12289:20;12269:18;;;12262:48;12327:18;;1521:60:0;12009:342:2;1521:60:0;1673:10;1660:24;;;;:12;:24;;;;;;551:1;;1660:33;;1687:6;;1660:33;:::i;:::-;:50;;1652:100;;;;-1:-1:-1;;;1652:100:0;;12558:2:2;1652:100:0;;;12540:21:2;12597:2;12577:18;;;12570:30;12636:34;12616:18;;;12609:62;-1:-1:-1;;;12687:18:2;;;12680:35;12732:19;;1652:100:0;12356:401:2;1652:100:0;622:3;1810:6;1796:11;;:20;;;;:::i;:::-;:29;;1788:66;;;;-1:-1:-1;;;1788:66:0;;10044:2:2;1788:66:0;;;10026:21:2;10083:2;10063:18;;;10056:30;10122:26;10102:18;;;10095:54;10166:18;;1788:66:0;9842:348:2;1788:66:0;2120:6:::1;2116:78;2136:6;2132:1;:10;2116:78;;;2162:32;2168:10;2182:11;;2180:13;;;;;:::i;2162:32::-;2144:3:::0;::::1;::::0;::::1;:::i;:::-;;;;2116:78;;;-1:-1:-1::0;2218:10:0::1;2205:24;::::0;;;:12:::1;:24;::::0;;;;:34;;2233:6;;2205:24;:34:::1;::::0;2233:6;;2205:34:::1;:::i;:::-;::::0;;;-1:-1:-1;;;;2030:217:0:o;3348:162::-;34822:6:1;;-1:-1:-1;;;;;34822:6:1;2905:10;34969:23;34961:68;;;;-1:-1:-1;;;34961:68:1;;9418:2:2;34961:68:1;;;9400:21:2;;;9437:18;;;9430:30;9496:34;9476:18;;;9469:62;9548:18;;34961:68:1;9216:356:2;34961:68:1;3436:14:0::1;::::0;::::1;::::0;::::1;;;3435:15;3427:46;;;::::0;-1:-1:-1;;;3427:46:0;;12964:2:2;3427:46:0::1;::::0;::::1;12946:21:2::0;13003:2;12983:18;;;12976:30;13042:20;13022:18;;;13015:48;13080:18;;3427:46:0::1;12762:342:2::0;3427:46:0::1;3484:18:::0;;::::1;::::0;:7:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;24968:185:1:-:0;25106:39;25123:4;25129:2;25133:7;25106:39;;;;;;;;;;;;:16;:39::i;3657:104:0:-;34822:6:1;;-1:-1:-1;;;;;34822:6:1;2905:10;34969:23;34961:68;;;;-1:-1:-1;;;34961:68:1;;9418:2:2;34961:68:1;;;9400:21:2;;;9437:18;;;9430:30;9496:34;9476:18;;;9469:62;9548:18;;34961:68:1;9216:356:2;34961:68:1;3731:9:0::1;:22:::0;;-1:-1:-1;;3731:22:0::1;::::0;::::1;;::::0;;;::::1;::::0;;3657:104::o;21943:239:1:-;22015:7;22051:16;;;:7;:16;;;;;;-1:-1:-1;;;;;22051:16:1;22086:19;22078:73;;;;-1:-1:-1;;;22078:73:1;;13311:2:2;22078:73:1;;;13293:21:2;13350:2;13330:18;;;13323:30;13389:34;13369:18;;;13362:62;13460:11;13440:18;;;13433:39;13489:19;;22078:73:1;13109:405:2;21673:208:1;21745:7;-1:-1:-1;;;;;21773:19:1;;21765:74;;;;-1:-1:-1;;;21765:74:1;;13721:2:2;21765:74:1;;;13703:21:2;13760:2;13740:18;;;13733:30;13799:34;13779:18;;;13772:62;13870:12;13850:18;;;13843:40;13900:19;;21765:74:1;13519:406:2;21765:74:1;-1:-1:-1;;;;;;21857:16:1;;;;;:9;:16;;;;;;;21673:208::o;35400:103::-;34822:6;;-1:-1:-1;;;;;34822:6:1;2905:10;34969:23;34961:68;;;;-1:-1:-1;;;34961:68:1;;9418:2:2;34961:68:1;;;9400:21:2;;;9437:18;;;9430:30;9496:34;9476:18;;;9469:62;9548:18;;34961:68:1;9216:356:2;34961:68:1;35465:30:::1;35492:1;35465:18;:30::i;:::-;35400:103::o:0;3518:86:0:-;34822:6:1;;-1:-1:-1;;;;;34822:6:1;2905:10;34969:23;34961:68;;;;-1:-1:-1;;;34961:68:1;;9418:2:2;34961:68:1;;;9400:21:2;;;9437:18;;;9430:30;9496:34;9476:18;;;9469:62;9548:18;;34961:68:1;9216:356:2;34961:68:1;3575:14:0::1;:21:::0;;-1:-1:-1;;3575:21:0::1;;;::::0;;3518:86::o;22418:104:1:-;22474:13;22507:7;22500:14;;;;;:::i;24101:155::-;24196:52;2905:10;24229:8;24239;24196:18;:52::i;25224:328::-;25399:41;2905:10;25432:7;25399:18;:41::i;:::-;25391:103;;;;-1:-1:-1;;;25391:103:1;;10669:2:2;25391:103:1;;;10651:21:2;10708:2;10688:18;;;10681:30;10747:34;10727:18;;;10720:62;-1:-1:-1;;;10798:18:2;;;10791:47;10855:19;;25391:103:1;10467:413:2;25391:103:1;25505:39;25519:4;25525:2;25529:7;25538:5;25505:13;:39::i;:::-;25224:328;;;;:::o;2878:262:0:-;27127:4:1;27151:16;;;:7;:16;;;;;;2951:13:0;;-1:-1:-1;;;;;27151:16:1;2977:76:0;;;;-1:-1:-1;;;2977:76:0;;14132:2:2;2977:76:0;;;14114:21:2;14171:2;14151:18;;;14144:30;14210:34;14190:18;;;14183:62;14281:17;14261:18;;;14254:45;14316:19;;2977:76:0;13930:411:2;2977:76:0;3095:7;3104:18;:7;:16;:18::i;:::-;3078:53;;;;;;;;;:::i;:::-;;;;;;;;;;;;;3064:68;;2878:262;;;:::o;3967:109::-;34822:6:1;;-1:-1:-1;;;;;34822:6:1;2905:10;34969:23;34961:68;;;;-1:-1:-1;;;34961:68:1;;9418:2:2;34961:68:1;;;9400:21:2;;;9437:18;;;9430:30;9496:34;9476:18;;;9469:62;9548:18;;34961:68:1;9216:356:2;34961:68:1;4022:46:0::1;::::0;3819:42:::1;::::0;4046:21:::1;4022:46:::0;::::1;;;::::0;::::1;::::0;;;4046:21;3819:42;4022:46;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;3967:109::o:0;35658:201:1:-;34822:6;;-1:-1:-1;;;;;34822:6:1;2905:10;34969:23;34961:68;;;;-1:-1:-1;;;34961:68:1;;9418:2:2;34961:68:1;;;9400:21:2;;;9437:18;;;9430:30;9496:34;9476:18;;;9469:62;9548:18;;34961:68:1;9216:356:2;34961:68:1;-1:-1:-1;;;;;35747:22:1;::::1;35739:73;;;::::0;-1:-1:-1;;;35739:73:1;;16288:2:2;35739:73:1::1;::::0;::::1;16270:21:2::0;16327:2;16307:18;;;16300:30;16366:34;16346:18;;;16339:62;16437:8;16417:18;;;16410:36;16463:19;;35739:73:1::1;16086:402:2::0;35739:73:1::1;35823:28;35842:8;35823:18;:28::i;31044:174::-:0;31119:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;31119:29:1;-1:-1:-1;;;;;31119:29:1;;;;;;;;:24;;31173:23;31119:24;31173:14;:23::i;:::-;-1:-1:-1;;;;;31164:46:1;;;;;;;;;;;31044:174;;:::o;29040:382::-;-1:-1:-1;;;;;29120:16:1;;29112:61;;;;-1:-1:-1;;;29112:61:1;;16695:2:2;29112:61:1;;;16677:21:2;;;16714:18;;;16707:30;16773:34;16753:18;;;16746:62;16825:18;;29112:61:1;16493:356:2;29112:61:1;27127:4;27151:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27151:16:1;:30;29184:58;;;;-1:-1:-1;;;29184:58:1;;17056:2:2;29184:58:1;;;17038:21:2;17095:2;17075:18;;;17068:30;17134;17114:18;;;17107:58;17182:18;;29184:58:1;16854:352:2;29184:58:1;-1:-1:-1;;;;;29313:13:1;;;;;;:9;:13;;;;;:18;;29330:1;;29313:13;:18;;29330:1;;29313:18;:::i;:::-;;;;-1:-1:-1;;29342:16:1;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;29342:21:1;-1:-1:-1;;;;;29342:21:1;;;;;;;;29381:33;;29342:16;;;29381:33;;29342:16;;29381:33;29040:382;;:::o;27356:348::-;27449:4;27151:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27151:16:1;27466:73;;;;-1:-1:-1;;;27466:73:1;;17413:2:2;27466:73:1;;;17395:21:2;17452:2;17432:18;;;17425:30;17491:34;17471:18;;;17464:62;-1:-1:-1;;;17542:18:2;;;17535:42;17594:19;;27466:73:1;17211:408:2;27466:73:1;27550:13;27566:23;27581:7;27566:14;:23::i;:::-;27550:39;;27619:5;-1:-1:-1;;;;;27608:16:1;:7;-1:-1:-1;;;;;27608:16:1;;:51;;;;27652:7;-1:-1:-1;;;;;27628:31:1;:20;27640:7;27628:11;:20::i;:::-;-1:-1:-1;;;;;27628:31:1;;27608:51;:87;;;-1:-1:-1;;;;;;24448:25:1;;;24424:4;24448:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;27663:32;27600:96;27356:348;-1:-1:-1;;;;27356:348:1:o;30348:578::-;30507:4;-1:-1:-1;;;;;30480:31:1;:23;30495:7;30480:14;:23::i;:::-;-1:-1:-1;;;;;30480:31:1;;30472:85;;;;-1:-1:-1;;;30472:85:1;;17826:2:2;30472:85:1;;;17808:21:2;17865:2;17845:18;;;17838:30;17904:34;17884:18;;;17877:62;17975:11;17955:18;;;17948:39;18004:19;;30472:85:1;17624:405:2;30472:85:1;-1:-1:-1;;;;;30576:16:1;;30568:65;;;;-1:-1:-1;;;30568:65:1;;18236:2:2;30568:65:1;;;18218:21:2;18275:2;18255:18;;;18248:30;18314:34;18294:18;;;18287:62;-1:-1:-1;;;18365:18:2;;;18358:34;18409:19;;30568:65:1;18034:400:2;30568:65:1;30750:29;30767:1;30771:7;30750:8;:29::i;:::-;-1:-1:-1;;;;;30792:15:1;;;;;;:9;:15;;;;;:20;;30811:1;;30792:15;:20;;30811:1;;30792:20;:::i;:::-;;;;-1:-1:-1;;;;;;;30823:13:1;;;;;;:9;:13;;;;;:18;;30840:1;;30823:13;:18;;30840:1;;30823:18;:::i;:::-;;;;-1:-1:-1;;30852:16:1;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;30852:21:1;-1:-1:-1;;;;;30852:21:1;;;;;;;;;30891:27;;30852:16;;30891:27;;;;;;;30348:578;;;:::o;36019:191::-;36112:6;;;-1:-1:-1;;;;;36129:17:1;;;-1:-1:-1;;;;;;36129:17:1;;;;;;;36162:40;;36112:6;;;36129:17;36112:6;;36162:40;;36093:16;;36162:40;36082:128;36019:191;:::o;31360:315::-;31515:8;-1:-1:-1;;;;;31506:17:1;:5;-1:-1:-1;;;;;31506:17:1;;;31498:55;;;;-1:-1:-1;;;31498:55:1;;18771:2:2;31498:55:1;;;18753:21:2;18810:2;18790:18;;;18783:30;18849:27;18829:18;;;18822:55;18894:18;;31498:55:1;18569:349:2;31498:55:1;-1:-1:-1;;;;;31564:25:1;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;31564:46:1;;;;;;;;;;31626:41;;540::2;;;31626::1;;513:18:2;31626:41:1;;;;;;;31360:315;;;:::o;26434:::-;26591:28;26601:4;26607:2;26611:7;26591:9;:28::i;:::-;26638:48;26661:4;26667:2;26671:7;26680:5;26638:22;:48::i;:::-;26630:111;;;;-1:-1:-1;;;26630:111:1;;19125:2:2;26630:111:1;;;19107:21:2;19164:2;19144:18;;;19137:30;19203:34;19183:18;;;19176:62;19274:20;19254:18;;;19247:48;19312:19;;26630:111:1;18923:414:2;377:723:1;433:13;654:10;650:53;;-1:-1:-1;;681:10:1;;;;;;;;;;;;-1:-1:-1;;;681:10:1;;;;;377:723::o;650:53::-;728:5;713:12;769:78;776:9;;769:78;;802:8;;;;:::i;:::-;;-1:-1:-1;825:10:1;;-1:-1:-1;833:2:1;825:10;;:::i;:::-;;;769:78;;;857:19;889:6;879:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;879:17:1;;857:39;;907:154;914:10;;907:154;;941:11;951:1;941:11;;:::i;:::-;;-1:-1:-1;1010:10:1;1018:2;1010:5;:10;:::i;:::-;997:24;;:2;:24;:::i;:::-;984:39;;967:6;974;967:14;;;;;;;;:::i;:::-;;;;:56;;;;;;;;;;-1:-1:-1;1038:11:1;1047:2;1038:11;;:::i;:::-;;;907:154;;32240:799;32395:4;-1:-1:-1;;;;;32416:13:1;;4192:20;4240:8;32412:620;;32452:72;;-1:-1:-1;;;32452:72:1;;-1:-1:-1;;;;;32452:36:1;;;;;:72;;2905:10;;32503:4;;32509:7;;32518:5;;32452:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32452:72:1;;;;;;;;-1:-1:-1;;32452:72:1;;;;;;;;;;;;:::i;:::-;;;32448:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32694:13:1;;32690:272;;32737:60;;-1:-1:-1;;;32737:60:1;;19125:2:2;32737:60:1;;;19107:21:2;19164:2;19144:18;;;19137:30;19203:34;19183:18;;;19176:62;19274:20;19254:18;;;19247:48;19312:19;;32737:60:1;18923:414:2;32690:272:1;32912:6;32906:13;32897:6;32893:2;32889:15;32882:38;32448:529;-1:-1:-1;;;;;;32575:51:1;-1:-1:-1;;;32575:51:1;;-1:-1:-1;32568:58:1;;32412:620;-1:-1:-1;33016:4:1;32240:799;;;;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:2;-1:-1:-1;;;;;;88:32:2;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;:::-;384:5;150:245;-1:-1:-1;;;150:245:2:o;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:2;822:16;;815:27;592:258::o;855:269::-;908:3;946:5;940:12;973:6;968:3;961:19;989:63;1045:6;1038:4;1033:3;1029:14;1022:4;1015:5;1011:16;989:63;:::i;:::-;1106:2;1085:15;-1:-1:-1;;1081:29:2;1072:39;;;;1113:4;1068:50;;855:269;-1:-1:-1;;855:269:2:o;1129:231::-;1278:2;1267:9;1260:21;1241:4;1298:56;1350:2;1339:9;1335:18;1327:6;1298:56;:::i;1365:180::-;1424:6;1477:2;1465:9;1456:7;1452:23;1448:32;1445:52;;;1493:1;1490;1483:12;1445:52;-1:-1:-1;1516:23:2;;1365:180;-1:-1:-1;1365:180:2:o;1781:154::-;-1:-1:-1;;;;;1860:5:2;1856:54;1849:5;1846:65;1836:93;;1925:1;1922;1915:12;1940:315;2008:6;2016;2069:2;2057:9;2048:7;2044:23;2040:32;2037:52;;;2085:1;2082;2075:12;2037:52;2124:9;2111:23;2143:31;2168:5;2143:31;:::i;:::-;2193:5;2245:2;2230:18;;;;2217:32;;-1:-1:-1;;;1940:315:2:o;2442:262::-;2516:6;2569:2;2557:9;2548:7;2544:23;2540:32;2537:52;;;2585:1;2582;2575:12;2537:52;2624:9;2611:23;2643:31;2668:5;2643:31;:::i;2709:127::-;2770:10;2765:3;2761:20;2758:1;2751:31;2801:4;2798:1;2791:15;2825:4;2822:1;2815:15;2841:275;2912:2;2906:9;2977:2;2958:13;;-1:-1:-1;;2954:27:2;2942:40;;3012:18;2997:34;;3033:22;;;2994:62;2991:88;;;3059:18;;:::i;:::-;3095:2;3088:22;2841:275;;-1:-1:-1;2841:275:2:o;3121:1021::-;3205:6;3236:2;3279;3267:9;3258:7;3254:23;3250:32;3247:52;;;3295:1;3292;3285:12;3247:52;3335:9;3322:23;3364:18;3405:2;3397:6;3394:14;3391:34;;;3421:1;3418;3411:12;3391:34;3459:6;3448:9;3444:22;3434:32;;3504:7;3497:4;3493:2;3489:13;3485:27;3475:55;;3526:1;3523;3516:12;3475:55;3562:2;3549:16;3584:2;3580;3577:10;3574:36;;;3590:18;;:::i;:::-;3636:2;3633:1;3629:10;3619:20;;3659:28;3683:2;3679;3675:11;3659:28;:::i;:::-;3721:15;;;3791:11;;;3787:20;;;3752:12;;;;3819:19;;;3816:39;;;3851:1;3848;3841:12;3816:39;3875:11;;;;3895:217;3911:6;3906:3;3903:15;3895:217;;;3991:3;3978:17;3965:30;;4008:31;4033:5;4008:31;:::i;:::-;4052:18;;;3928:12;;;;4090;;;;3895:217;;;4131:5;3121:1021;-1:-1:-1;;;;;;;;3121:1021:2:o;4147:456::-;4224:6;4232;4240;4293:2;4281:9;4272:7;4268:23;4264:32;4261:52;;;4309:1;4306;4299:12;4261:52;4348:9;4335:23;4367:31;4392:5;4367:31;:::i;:::-;4417:5;-1:-1:-1;4474:2:2;4459:18;;4446:32;4487:33;4446:32;4487:33;:::i;:::-;4147:456;;4539:7;;-1:-1:-1;;;4593:2:2;4578:18;;;;4565:32;;4147:456::o;4608:407::-;4673:5;4707:18;4699:6;4696:30;4693:56;;;4729:18;;:::i;:::-;4767:57;4812:2;4791:15;;-1:-1:-1;;4787:29:2;4818:4;4783:40;4767:57;:::i;:::-;4758:66;;4847:6;4840:5;4833:21;4887:3;4878:6;4873:3;4869:16;4866:25;4863:45;;;4904:1;4901;4894:12;4863:45;4953:6;4948:3;4941:4;4934:5;4930:16;4917:43;5007:1;5000:4;4991:6;4984:5;4980:18;4976:29;4969:40;4608:407;;;;;:::o;5020:451::-;5089:6;5142:2;5130:9;5121:7;5117:23;5113:32;5110:52;;;5158:1;5155;5148:12;5110:52;5198:9;5185:23;5231:18;5223:6;5220:30;5217:50;;;5263:1;5260;5253:12;5217:50;5286:22;;5339:4;5331:13;;5327:27;-1:-1:-1;5317:55:2;;5368:1;5365;5358:12;5317:55;5391:74;5457:7;5452:2;5439:16;5434:2;5430;5426:11;5391:74;:::i;5476:160::-;5541:20;;5597:13;;5590:21;5580:32;;5570:60;;5626:1;5623;5616:12;5570:60;5476:160;;;:::o;5641:180::-;5697:6;5750:2;5738:9;5729:7;5725:23;5721:32;5718:52;;;5766:1;5763;5756:12;5718:52;5789:26;5805:9;5789:26;:::i;6078:315::-;6143:6;6151;6204:2;6192:9;6183:7;6179:23;6175:32;6172:52;;;6220:1;6217;6210:12;6172:52;6259:9;6246:23;6278:31;6303:5;6278:31;:::i;:::-;6328:5;-1:-1:-1;6352:35:2;6383:2;6368:18;;6352:35;:::i;:::-;6342:45;;6078:315;;;;;:::o;6398:795::-;6493:6;6501;6509;6517;6570:3;6558:9;6549:7;6545:23;6541:33;6538:53;;;6587:1;6584;6577:12;6538:53;6626:9;6613:23;6645:31;6670:5;6645:31;:::i;:::-;6695:5;-1:-1:-1;6752:2:2;6737:18;;6724:32;6765:33;6724:32;6765:33;:::i;:::-;6817:7;-1:-1:-1;6871:2:2;6856:18;;6843:32;;-1:-1:-1;6926:2:2;6911:18;;6898:32;6953:18;6942:30;;6939:50;;;6985:1;6982;6975:12;6939:50;7008:22;;7061:4;7053:13;;7049:27;-1:-1:-1;7039:55:2;;7090:1;7087;7080:12;7039:55;7113:74;7179:7;7174:2;7161:16;7156:2;7152;7148:11;7113:74;:::i;:::-;7103:84;;;6398:795;;;;;;;:::o;7198:388::-;7266:6;7274;7327:2;7315:9;7306:7;7302:23;7298:32;7295:52;;;7343:1;7340;7333:12;7295:52;7382:9;7369:23;7401:31;7426:5;7401:31;:::i;:::-;7451:5;-1:-1:-1;7508:2:2;7493:18;;7480:32;7521:33;7480:32;7521:33;:::i;:::-;7573:7;7563:17;;;7198:388;;;;;:::o;7591:380::-;7670:1;7666:12;;;;7713;;;7734:61;;7788:4;7780:6;7776:17;7766:27;;7734:61;7841:2;7833:6;7830:14;7810:18;7807:38;7804:161;;;7887:10;7882:3;7878:20;7875:1;7868:31;7922:4;7919:1;7912:15;7950:4;7947:1;7940:15;7804:161;;7591:380;;;:::o;9577:127::-;9638:10;9633:3;9629:20;9626:1;9619:31;9669:4;9666:1;9659:15;9693:4;9690:1;9683:15;9709:128;9749:3;9780:1;9776:6;9773:1;9770:13;9767:39;;;9786:18;;:::i;:::-;-1:-1:-1;9822:9:2;;9709:128::o;10195:127::-;10256:10;10251:3;10247:20;10244:1;10237:31;10287:4;10284:1;10277:15;10311:4;10308:1;10301:15;10327:135;10366:3;-1:-1:-1;;10387:17:2;;10384:43;;;10407:18;;:::i;:::-;-1:-1:-1;10454:1:2;10443:13;;10327:135::o;11233:184::-;11303:6;11356:2;11344:9;11335:7;11331:23;11327:32;11324:52;;;11372:1;11369;11362:12;11324:52;-1:-1:-1;11395:16:2;;11233:184;-1:-1:-1;11233:184:2:o;11836:168::-;11876:7;11942:1;11938;11934:6;11930:14;11927:1;11924:21;11919:1;11912:9;11905:17;11901:45;11898:71;;;11949:18;;:::i;:::-;-1:-1:-1;11989:9:2;;11836:168::o;14472:185::-;14514:3;14552:5;14546:12;14567:52;14612:6;14607:3;14600:4;14593:5;14589:16;14567:52;:::i;:::-;14635:16;;;;;14472:185;-1:-1:-1;;14472:185:2:o;14780:1301::-;15057:3;15086:1;15119:6;15113:13;15149:3;15171:1;15199:9;15195:2;15191:18;15181:28;;15259:2;15248:9;15244:18;15281;15271:61;;15325:4;15317:6;15313:17;15303:27;;15271:61;15351:2;15399;15391:6;15388:14;15368:18;15365:38;15362:165;;;-1:-1:-1;;;15426:33:2;;15482:4;15479:1;15472:15;15512:4;15433:3;15500:17;15362:165;15543:18;15570:104;;;;15688:1;15683:320;;;;15536:467;;15570:104;-1:-1:-1;;15603:24:2;;15591:37;;15648:16;;;;-1:-1:-1;15570:104:2;;15683:320;14419:1;14412:14;;;14456:4;14443:18;;15778:1;15792:165;15806:6;15803:1;15800:13;15792:165;;;15884:14;;15871:11;;;15864:35;15927:16;;;;15821:10;;15792:165;;;15796:3;;15986:6;15981:3;15977:16;15970:23;;15536:467;;;;;;;16019:56;16044:30;16070:3;16062:6;16044:30;:::i;:::-;-1:-1:-1;;;14722:20:2;;14767:1;14758:11;;14662:113;16019:56;16012:63;14780:1301;-1:-1:-1;;;;;14780:1301:2:o;18439:125::-;18479:4;18507:1;18504;18501:8;18498:34;;;18512:18;;:::i;:::-;-1:-1:-1;18549:9:2;;18439:125::o;19342:127::-;19403:10;19398:3;19394:20;19391:1;19384:31;19434:4;19431:1;19424:15;19458:4;19455:1;19448:15;19474:120;19514:1;19540;19530:35;;19545:18;;:::i;:::-;-1:-1:-1;19579:9:2;;19474:120::o;19599:112::-;19631:1;19657;19647:35;;19662:18;;:::i;:::-;-1:-1:-1;19696:9:2;;19599:112::o;19716:523::-;19910:4;-1:-1:-1;;;;;20020:2:2;20012:6;20008:15;19997:9;19990:34;20072:2;20064:6;20060:15;20055:2;20044:9;20040:18;20033:43;;20112:6;20107:2;20096:9;20092:18;20085:34;20155:3;20150:2;20139:9;20135:18;20128:31;20176:57;20228:3;20217:9;20213:19;20205:6;20176:57;:::i;:::-;20168:65;19716:523;-1:-1:-1;;;;;;19716:523:2:o;20244:249::-;20313:6;20366:2;20354:9;20345:7;20341:23;20337:32;20334:52;;;20382:1;20379;20372:12;20334:52;20414:9;20408:16;20433:30;20457:5;20433:30;:::i

Swarm Source

ipfs://e99505671a66f8780e9fa48f3089727964d2cdc7e37fa5ed69c3536da44dc54c
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.