ETH Price: $3,502.80 (+3.13%)

Token

Ape Riders (APERIDER)
 

Overview

Max Total Supply

458 APERIDER

Holders

167

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
jeffchirino.eth
Balance
2 APERIDER
0xd71bf0494bf36feee3f5f4b21ed6363e3063d444
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:
ApeRiders

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-10-04
*/

// SPDX-License-Identifier: No Licence

// ApeRiders Contract
// ERC721A with amendments by cryptonthat
// To Mint an Ape on a Ride, go to: Mint.ApeRides.io
// Visit ApeRides.io for more information

// File: @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: @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: @openzeppelin/contracts/utils/Address.sol


// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @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: @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: @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: @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: @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: contracts/new.sol




pragma solidity ^0.8.4;








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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

    /**
     * @dev This is equivalent to _burn(tokenId, false)
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = prevOwnership.addr;

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

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

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

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

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

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

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

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

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

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

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

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

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

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

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}
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);
    }
}

//APERIDES STARTS HERE

pragma solidity >=0.7.0 <0.9.0;

contract deployedContract {
    function ownerOf(uint256) public returns (address) {}
}

contract ApeRiders is ERC721A, Ownable {
  using Strings for uint256;
  event ExitRide(address indexed from, uint256 indexed tokenId, ApeOnRide indexed AoRInfo);

  struct ApeOnRide { 
   address apeAddress;
   address rideAddress;
   uint256 apeId;
   uint256 rideId;
   uint256 exitTime;
  }

  string public baseURI;
  string public baseUnoccupiedURI;
  uint256 public cost = 0 ether;
  string public maxSupply = "infinite";
  uint256 public maxOccupied = 5000;
  uint256 public totalCurrentlyOccupied = 0;
  bool public paused = true;
  bool public onlyWhitelisted = false;
  address[] public whitelistedAddresses;
  mapping(address => bool) public supportedCollectionAddresses;
  mapping(address => bool) public supportedRideCollectionAddresses;
  mapping(uint256 => bool) public isRideOccupied;
  mapping(uint256 => bool) public isApeOnRideOccupied;
  mapping(uint256 => uint256) public currentlyOccupied;
  mapping(uint256 => uint256) public lastOccupied;
  mapping(uint256 => ApeOnRide) public apeOnRideInfo;
  mapping(bytes32 => uint256) internal exitTime;


  

  constructor(
    string memory _name,
    string memory _symbol,
    string memory _initBaseURI,
    string memory _initBaseUnoccupiedURI
  ) ERC721A(_name, _symbol) {
    setBaseURI(_initBaseURI);
    setBaseUnoccupiedURI(_initBaseUnoccupiedURI);
    supportedCollectionAddresses[0xa08b319f0f09Ae8261DB2034D43bf40c673f0Ad0] = true;
    supportedCollectionAddresses[0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D] = true;
    supportedCollectionAddresses[0x60E4d786628Fea6478F785A6d7e704777c86a7c6] = true;
    supportedCollectionAddresses[0x22C08C358f62f35B742D023Bf2fAF67e30e5376E] = true;
    supportedCollectionAddresses[0xAE63B956F7c77fba04e2eea59F7B8B2280f55431] = true;
    supportedCollectionAddresses[0x4B103d07C18798365946E76845EDC6b565779402] = true;
    supportedCollectionAddresses[0xF1268733C6FB05EF6bE9cF23d24436Dcd6E0B35E] = true;
    supportedCollectionAddresses[0x984f7B398d577C0ADDE08293a53aE9D3B6b7a5c5] = true;
    supportedCollectionAddresses[0x1b1bFf222999BcD6fD07b64d7880e6a95d54ACaA] = true;
    supportedCollectionAddresses[0x2D0D57D004F82e9f4471CaA8b9f8B1965a814154] = true;
    supportedRideCollectionAddresses[0x1748B24faf9780B74E5A9f3Feb41553E712E94aa] = true;
  }

  //AMENDMENT
  //internal
  function checkOwned(address _senderAddress, address  _contractAddress, uint256 _tokenId) public payable returns (bool) {
      if (deployedContract(_contractAddress).ownerOf(_tokenId) == _senderAddress) {
          return true;
      } else {
        return false;
      }
  }

    function addSupportedCollection(address _collectionAddresses) external onlyOwner {
        supportedCollectionAddresses[_collectionAddresses] = true;
    }

    function removeSupportedCollection(address _collectionAddresses) external onlyOwner {
        supportedCollectionAddresses[_collectionAddresses] = false;
    }

    function addSupportedRide(address _collectionAddresses) external onlyOwner {
        supportedRideCollectionAddresses[_collectionAddresses] = true;
    }

    function removeSupportedRide(address _collectionAddresses) external onlyOwner {
        supportedRideCollectionAddresses[_collectionAddresses] = false;
    }

  function exitRide(uint256 _aorTokenId) public returns (string memory) {
    require(!paused, "The contract is paused");
      if (isApeOnRideOccupied[_aorTokenId]) {
        require((checkOwned(msg.sender, apeOnRideInfo[_aorTokenId].apeAddress, apeOnRideInfo[_aorTokenId].apeId)||checkOwned(msg.sender, apeOnRideInfo[_aorTokenId].rideAddress, apeOnRideInfo[_aorTokenId].rideId)),"You dont own this ape or ride");
        isApeOnRideOccupied[_aorTokenId] = false;
        apeOnRideInfo[_aorTokenId].exitTime = block.timestamp;
        totalCurrentlyOccupied--;
        isRideOccupied[apeOnRideInfo[_aorTokenId].rideId] = false;
        lastOccupied[apeOnRideInfo[_aorTokenId].rideId] = _aorTokenId;
        emit ExitRide(msg.sender, _aorTokenId, apeOnRideInfo[_aorTokenId]);
        return "Ride is now unoccupied";
      } else {
        return "This ride is already unoccupied";
      }
  }

  // public
  function mint(address _apeAddress, uint256 _apeId, address _rideAddress, uint256 _rideId, address _receivingAddress) public payable {
    require(!paused, "The contract is paused");
    require(supportedCollectionAddresses[_apeAddress] && supportedRideCollectionAddresses[_rideAddress],"This NFT contract is not supported");
    require(checkOwned(_receivingAddress,_apeAddress,_apeId),"you dont own this ape");
    require(checkOwned(msg.sender,_rideAddress,_rideId),"you dont own this ride");
    ApeOnRide memory lastApeOnRide = apeOnRideInfo[currentlyOccupied[_rideId]];
    uint256 _exitTime = lastApeOnRide.exitTime;
    if ((_exitTime > 0)&&(lastApeOnRide.apeAddress == _apeAddress)&&(lastApeOnRide.apeId == _apeId)) {
        require((block.timestamp-_exitTime>86400), "The paperwork is still going through for this Ape Rider");
    }
    if ((isApeOnRideOccupied[currentlyOccupied[_rideId]])&&(lastApeOnRide.apeAddress == _apeAddress)) {
          require(lastApeOnRide.apeId!=_apeId, "This ape is already on this ride.");
    }
    
    if (msg.sender != owner()) {
        //whitelist
        if(onlyWhitelisted == true) {
            require(isWhitelisted(msg.sender), "user is not whitelisted");
        }
        require(msg.value >= cost, "insufficient funds");
        
    }
    _safeMint(_receivingAddress, 1);

    if (isRideOccupied[_rideId]&&isApeOnRideOccupied[currentlyOccupied[_rideId]]) {
        isApeOnRideOccupied[currentlyOccupied[_rideId]] = false;
        lastOccupied[_rideId] = currentlyOccupied[_rideId];
        apeOnRideInfo[currentlyOccupied[_rideId]].exitTime = block.timestamp;
        totalCurrentlyOccupied--;
    } else {
        isRideOccupied[_rideId] = true;
    }
    isApeOnRideOccupied[totalSupply()] = true;
    apeOnRideInfo[totalSupply()] = ApeOnRide(_apeAddress,_rideAddress,_apeId,_rideId,0);
    currentlyOccupied[_rideId] = totalSupply();
    totalCurrentlyOccupied++;

  }
  
  function isWhitelisted(address _user) public view returns (bool) {
    for (uint i = 0; i < whitelistedAddresses.length; i++) {
      if (whitelistedAddresses[i] == _user) {
          return true;
      }
    }
    return false;
  }

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

    if (isApeOnRideOccupied[tokenId]){
        return bytes(baseURI).length > 0
        ? string(abi.encodePacked(baseURI, tokenId.toString(), ".json"))
        : "";
    } else {
        return bytes(baseUnoccupiedURI).length > 0
        ? string(abi.encodePacked(baseUnoccupiedURI, tokenId.toString(), ".json"))
        : "";
    }
  }

  //only owner
  function setBaseURI(string memory _newBaseURI) public onlyOwner {
    baseURI = _newBaseURI;
  }

  function setBaseUnoccupiedURI(string memory _newBaseUnoccupiedURI) public onlyOwner {
    baseUnoccupiedURI = _newBaseUnoccupiedURI;
  }

  function pause(bool _state) public onlyOwner {
    paused = _state;
  }

  function setCost(uint256 _cost) public onlyOwner {
    cost = _cost;
  }
  
  function setOnlyWhitelisted(bool _state) public onlyOwner {
    onlyWhitelisted = _state;
  }
  
  function whitelistUsers(address[] calldata _users) public onlyOwner {
    delete whitelistedAddresses;
    whitelistedAddresses = _users;
  }

  function withdraw() public payable onlyOwner {
    uint256 baseFee = address(this).balance;
    require(payable(0x6819eA7792CC89394fEEE84FC70d54a67cD0B765).send(baseFee));
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"string","name":"_initBaseUnoccupiedURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"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":"from","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"components":[{"internalType":"address","name":"apeAddress","type":"address"},{"internalType":"address","name":"rideAddress","type":"address"},{"internalType":"uint256","name":"apeId","type":"uint256"},{"internalType":"uint256","name":"rideId","type":"uint256"},{"internalType":"uint256","name":"exitTime","type":"uint256"}],"indexed":true,"internalType":"struct ApeRiders.ApeOnRide","name":"AoRInfo","type":"tuple"}],"name":"ExitRide","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_collectionAddresses","type":"address"}],"name":"addSupportedCollection","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_collectionAddresses","type":"address"}],"name":"addSupportedRide","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"apeOnRideInfo","outputs":[{"internalType":"address","name":"apeAddress","type":"address"},{"internalType":"address","name":"rideAddress","type":"address"},{"internalType":"uint256","name":"apeId","type":"uint256"},{"internalType":"uint256","name":"rideId","type":"uint256"},{"internalType":"uint256","name":"exitTime","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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseUnoccupiedURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_senderAddress","type":"address"},{"internalType":"address","name":"_contractAddress","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"checkOwned","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"currentlyOccupied","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_aorTokenId","type":"uint256"}],"name":"exitRide","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"isApeOnRideOccupied","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"isRideOccupied","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lastOccupied","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxOccupied","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_apeAddress","type":"address"},{"internalType":"uint256","name":"_apeId","type":"uint256"},{"internalType":"address","name":"_rideAddress","type":"address"},{"internalType":"uint256","name":"_rideId","type":"uint256"},{"internalType":"address","name":"_receivingAddress","type":"address"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onlyWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_collectionAddresses","type":"address"}],"name":"removeSupportedCollection","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_collectionAddresses","type":"address"}],"name":"removeSupportedRide","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseUnoccupiedURI","type":"string"}],"name":"setBaseUnoccupiedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setOnlyWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"supportedCollectionAddresses","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"supportedRideCollectionAddresses","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalCurrentlyOccupied","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"}],"name":"whitelistUsers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"whitelistedAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

6000600b5560c06040526008608090815267696e66696e69746560c01b60a052600c906200002e908262000465565b50611388600d556000600e55600f805461ffff191660011790553480156200005557600080fd5b5060405162003249380380620032498339810160408190526200007891620005e0565b8383600262000088838262000465565b50600362000097828262000465565b5050600160005550620000aa33620002b4565b620000b58262000306565b620000c08162000367565b50507f075f2170db0dceadf8062c313a946778213b998d37290c699b4327705db132c28054600160ff1991821681179092557f90d40b15d27b3c76e9a5b73873dac8ff3fdbc652fb42e1b53f0831574d980fa780548216831790557f79688cb21c33bcc61de7d514948e563b9634c7b455a814e74b824005645aa3e880548216831790557f4f0f0555445a52312ffbd67ec02946ef6d7533f9cb476a84ff8048f74a66bfc880548216831790557f2e2e442946f84f352d2369fde2274d8b8588d592920d9e2c1565167bd0b9903080548216831790557ffa5f1e02c46ea211cd16234756669435861ec2f9efc98b97f87ce6a136a4d79d80548216831790557f9f74f132da9885a1e517b0d22be1716f4424770a768f499b8ab09a4bf948ba8b80548216831790557f15e47bd86fe76e9d97ff34b9d09351200e154296a5ce0bdcc1c89de6610c0db280548216831790557f6220c03f5106c93a1260ef7cf63d58b6a646587ba725682ed6dfcd80fdc54c2a80548216831790557fa99a6d656746053948c6a73a88b76dc52cc86af2f9a8ea0d21752145b0dab41a8054821683179055731748b24faf9780b74e5a9f3feb41553e712e94aa60005260126020527fc300bfa226e59172e6a95414ac0360066cbc80ba1f553d43eda7dd1a659b06668054909116909117905550620006999050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6008546001600160a01b03163314620003555760405162461bcd60e51b815260206004820181905260248201526000805160206200322983398151915260448201526064015b60405180910390fd5b600962000363828262000465565b5050565b6008546001600160a01b03163314620003b25760405162461bcd60e51b815260206004820181905260248201526000805160206200322983398151915260448201526064016200034c565b600a62000363828262000465565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620003eb57607f821691505b6020821081036200040c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200046057600081815260208120601f850160051c810160208610156200043b5750805b601f850160051c820191505b818110156200045c5782815560010162000447565b5050505b505050565b81516001600160401b03811115620004815762000481620003c0565b6200049981620004928454620003d6565b8462000412565b602080601f831160018114620004d15760008415620004b85750858301515b600019600386901b1c1916600185901b1785556200045c565b600085815260208120601f198616915b828110156200050257888601518255948401946001909101908401620004e1565b5085821015620005215787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082601f8301126200054357600080fd5b81516001600160401b0380821115620005605762000560620003c0565b604051601f8301601f19908116603f011681019082821181831017156200058b576200058b620003c0565b81604052838152602092508683858801011115620005a857600080fd5b600091505b83821015620005cc5785820183015181830184015290820190620005ad565b600093810190920192909252949350505050565b60008060008060808587031215620005f757600080fd5b84516001600160401b03808211156200060f57600080fd5b6200061d8883890162000531565b955060208701519150808211156200063457600080fd5b620006428883890162000531565b945060408701519150808211156200065957600080fd5b620006678883890162000531565b935060608701519150808211156200067e57600080fd5b506200068d8782880162000531565b91505092959194509250565b612b8080620006a96000396000f3fe6080604052600436106102935760003560e01c8063715018a61161015a578063b88d4fde116100c1578063dfa317821161007a578063dfa317821461084f578063e985e9c514610862578063eb79ccac14610882578063edec5f2714610898578063f2fde38b146108b8578063fa888056146108d857600080fd5b8063b88d4fde14610794578063ba4e5c49146107b4578063c87b56dd146107d4578063d5abeb01146107f4578063d8c4b15614610809578063df65191d1461083957600080fd5b8063978aaa6611610113578063978aaa66146106c85780639c70b512146106f55780639f8696d714610714578063a22cb46514610734578063aa96b6f614610754578063b1f9b4441461077457600080fd5b8063715018a61461061b5780637ce804a6146106305780638385e89714610645578063888eee1b146106655780638da5cb5b1461069557806395d89b41146106b357600080fd5b80633f3f14ae116101fe5780634e2e46d7116101b75780634e2e46d71461056c57806355f804b31461058c5780635c975abb146105ac5780636352211e146105c65780636c0360eb146105e657806370a08231146105fb57600080fd5b80633f3f14ae146104405780633fc0f363146104705780634199cea51461049057806342842e0e1461051957806344a0d68a146105395780634a6116f11461055957600080fd5b806318160ddd1161025057806318160ddd1461038d57806323b872dd146103ab5780633af32abf146103cb5780633c952764146103eb5780633ccfd60b1461040b5780633dfd76e11461041357600080fd5b806301ffc9a71461029857806302329a29146102cd57806306fdde03146102ef578063081812fc14610311578063095ea7b31461034957806313faede614610369575b600080fd5b3480156102a457600080fd5b506102b86102b3366004612405565b610908565b60405190151581526020015b60405180910390f35b3480156102d957600080fd5b506102ed6102e8366004612432565b61095a565b005b3480156102fb57600080fd5b506103046109a0565b6040516102c4919061249d565b34801561031d57600080fd5b5061033161032c3660046124b0565b610a32565b6040516001600160a01b0390911681526020016102c4565b34801561035557600080fd5b506102ed6103643660046124de565b610a76565b34801561037557600080fd5b5061037f600b5481565b6040519081526020016102c4565b34801561039957600080fd5b5061037f600154600054036000190190565b3480156103b757600080fd5b506102ed6103c636600461250a565b610b03565b3480156103d757600080fd5b506102b86103e636600461254b565b610b0e565b3480156103f757600080fd5b506102ed610406366004612432565b610b77565b6102ed610bbb565b34801561041f57600080fd5b5061037f61042e3660046124b0565b60156020526000908152604090205481565b34801561044c57600080fd5b506102b861045b36600461254b565b60116020526000908152604090205460ff1681565b34801561047c57600080fd5b5061030461048b3660046124b0565b610c23565b34801561049c57600080fd5b506104e66104ab3660046124b0565b601760205260009081526040902080546001820154600283015460038401546004909401546001600160a01b03938416949390921692909185565b604080516001600160a01b039687168152959094166020860152928401919091526060830152608082015260a0016102c4565b34801561052557600080fd5b506102ed61053436600461250a565b610e8a565b34801561054557600080fd5b506102ed6105543660046124b0565b610ea5565b6102b861056736600461250a565b610ed4565b34801561057857600080fd5b506102ed61058736600461254b565b610f72565b34801561059857600080fd5b506102ed6105a73660046125f4565b610fc0565b3480156105b857600080fd5b50600f546102b89060ff1681565b3480156105d257600080fd5b506103316105e13660046124b0565b610ffa565b3480156105f257600080fd5b5061030461100c565b34801561060757600080fd5b5061037f61061636600461254b565b61109a565b34801561062757600080fd5b506102ed6110e9565b34801561063c57600080fd5b5061030461111f565b34801561065157600080fd5b506102ed61066036600461254b565b61112c565b34801561067157600080fd5b506102b86106803660046124b0565b60136020526000908152604090205460ff1681565b3480156106a157600080fd5b506008546001600160a01b0316610331565b3480156106bf57600080fd5b50610304611177565b3480156106d457600080fd5b5061037f6106e33660046124b0565b60166020526000908152604090205481565b34801561070157600080fd5b50600f546102b890610100900460ff1681565b34801561072057600080fd5b506102ed61072f36600461254b565b611186565b34801561074057600080fd5b506102ed61074f36600461263d565b6111d4565b34801561076057600080fd5b506102ed61076f3660046125f4565b611269565b34801561078057600080fd5b506102ed61078f36600461254b565b61129f565b3480156107a057600080fd5b506102ed6107af366004612672565b6112ea565b3480156107c057600080fd5b506103316107cf3660046124b0565b61133b565b3480156107e057600080fd5b506103046107ef3660046124b0565b611365565b34801561080057600080fd5b5061030461147d565b34801561081557600080fd5b506102b861082436600461254b565b60126020526000908152604090205460ff1681565b34801561084557600080fd5b5061037f600d5481565b6102ed61085d3660046126f2565b61148a565b34801561086e57600080fd5b506102b861087d366004612751565b611a75565b34801561088e57600080fd5b5061037f600e5481565b3480156108a457600080fd5b506102ed6108b336600461278a565b611aa3565b3480156108c457600080fd5b506102ed6108d336600461254b565b611ae5565b3480156108e457600080fd5b506102b86108f33660046124b0565b60146020526000908152604090205460ff1681565b60006001600160e01b031982166380ac58cd60e01b148061093957506001600160e01b03198216635b5e139f60e01b145b8061095457506301ffc9a760e01b6001600160e01b03198316145b92915050565b6008546001600160a01b0316331461098d5760405162461bcd60e51b8152600401610984906127ff565b60405180910390fd5b600f805460ff1916911515919091179055565b6060600280546109af90612834565b80601f01602080910402602001604051908101604052809291908181526020018280546109db90612834565b8015610a285780601f106109fd57610100808354040283529160200191610a28565b820191906000526020600020905b815481529060010190602001808311610a0b57829003601f168201915b5050505050905090565b6000610a3d82611b7d565b610a5a576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610a8182610ffa565b9050806001600160a01b0316836001600160a01b031603610ab55760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610ad55750610ad38133611a75565b155b15610af3576040516367d9dca160e11b815260040160405180910390fd5b610afe838383611bb6565b505050565b610afe838383611c12565b6000805b601054811015610b6e57826001600160a01b031660108281548110610b3957610b3961286e565b6000918252602090912001546001600160a01b031603610b5c5750600192915050565b80610b668161289a565b915050610b12565b50600092915050565b6008546001600160a01b03163314610ba15760405162461bcd60e51b8152600401610984906127ff565b600f80549115156101000261ff0019909216919091179055565b6008546001600160a01b03163314610be55760405162461bcd60e51b8152600401610984906127ff565b6040514790736819ea7792cc89394feee84fc70d54a67cd0b7659082156108fc029083906000818181858888f19350505050610c2057600080fd5b50565b600f5460609060ff1615610c725760405162461bcd60e51b8152602060048201526016602482015275151a194818dbdb9d1c9858dd081a5cc81c185d5cd95960521b6044820152606401610984565b60008281526014602052604090205460ff1615610e4c5760008281526017602052604090208054600290910154610cb69133916001600160a01b0390911690610ed4565b80610cec575060008281526017602052604090206001810154600390910154610cec9133916001600160a01b0390911690610ed4565b610d385760405162461bcd60e51b815260206004820152601d60248201527f596f7520646f6e74206f776e207468697320617065206f7220726964650000006044820152606401610984565b6000828152601460209081526040808320805460ff191690556017909152812042600490910155600e805491610d6d836128b3565b90915550506000828152601760208181526040808420600381018054865260138452828620805460ff191690558054865260168452828620889055878652938352815181546001600160a01b0390811682526001830154169381019390935260028101548383015292546060830152600490920154608082015290519081900360a001812091849133917f1d9f80994bba0a4a706236a5ce2d322ecfa62cbbba860e1a77e62ceae57c8ca791a45050604080518082019091526016815275149a5919481a5cc81b9bddc81d5b9bd8d8dd5c1a595960521b602082015290565b505060408051808201909152601f81527f54686973207269646520697320616c726561647920756e6f6363757069656400602082015290565b919050565b610afe838383604051806020016040528060008152506112ea565b6008546001600160a01b03163314610ecf5760405162461bcd60e51b8152600401610984906127ff565b600b55565b6000836001600160a01b0316836001600160a01b0316636352211e846040518263ffffffff1660e01b8152600401610f0e91815260200190565b6020604051808303816000875af1158015610f2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5191906128ca565b6001600160a01b031603610f6757506001610f6b565b5060005b9392505050565b6008546001600160a01b03163314610f9c5760405162461bcd60e51b8152600401610984906127ff565b6001600160a01b03166000908152601160205260409020805460ff19166001179055565b6008546001600160a01b03163314610fea5760405162461bcd60e51b8152600401610984906127ff565b6009610ff68282612935565b5050565b600061100582611e02565b5192915050565b6009805461101990612834565b80601f016020809104026020016040519081016040528092919081815260200182805461104590612834565b80156110925780601f1061106757610100808354040283529160200191611092565b820191906000526020600020905b81548152906001019060200180831161107557829003601f168201915b505050505081565b60006001600160a01b0382166110c3576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146111135760405162461bcd60e51b8152600401610984906127ff565b61111d6000611f2b565b565b600a805461101990612834565b6008546001600160a01b031633146111565760405162461bcd60e51b8152600401610984906127ff565b6001600160a01b03166000908152601160205260409020805460ff19169055565b6060600380546109af90612834565b6008546001600160a01b031633146111b05760405162461bcd60e51b8152600401610984906127ff565b6001600160a01b03166000908152601260205260409020805460ff19166001179055565b336001600160a01b038316036111fd5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b031633146112935760405162461bcd60e51b8152600401610984906127ff565b600a610ff68282612935565b6008546001600160a01b031633146112c95760405162461bcd60e51b8152600401610984906127ff565b6001600160a01b03166000908152601260205260409020805460ff19169055565b6112f5848484611c12565b6001600160a01b0383163b15158015611317575061131584848484611f7d565b155b15611335576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6010818154811061134b57600080fd5b6000918252602090912001546001600160a01b0316905081565b606061137082611b7d565b6113d45760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610984565b60008281526014602052604090205460ff1615611447576000600980546113fa90612834565b9050116114165760405180602001604052806000815250610954565b600961142183612069565b6040516020016114329291906129f5565b60405160208183030381529060405292915050565b6000600a805461145690612834565b9050116114725760405180602001604052806000815250610954565b600a61142183612069565b600c805461101990612834565b600f5460ff16156114d65760405162461bcd60e51b8152602060048201526016602482015275151a194818dbdb9d1c9858dd081a5cc81c185d5cd95960521b6044820152606401610984565b6001600160a01b03851660009081526011602052604090205460ff16801561151657506001600160a01b03831660009081526012602052604090205460ff165b61156d5760405162461bcd60e51b815260206004820152602260248201527f54686973204e465420636f6e7472616374206973206e6f7420737570706f7274604482015261195960f21b6064820152608401610984565b611578818686610ed4565b6115bc5760405162461bcd60e51b8152602060048201526015602482015274796f7520646f6e74206f776e20746869732061706560581b6044820152606401610984565b6115c7338484610ed4565b61160c5760405162461bcd60e51b8152602060048201526016602482015275796f7520646f6e74206f776e2074686973207269646560501b6044820152606401610984565b60008281526015602090815260408083205483526017825291829020825160a08101845281546001600160a01b03908116825260018301541692810192909252600281015492820192909252600382015460608201526004909101546080820181905280158015906116935750866001600160a01b031682600001516001600160a01b0316145b80156116a25750858260400151145b1561172857620151806116b58242612a8c565b116117285760405162461bcd60e51b815260206004820152603760248201527f546865207061706572776f726b206973207374696c6c20676f696e672074687260448201527f6f75676820666f722074686973204170652052696465720000000000000000006064820152608401610984565b6000848152601560209081526040808320548352601490915290205460ff1680156117685750866001600160a01b031682600001516001600160a01b0316145b156117ca57858260400151036117ca5760405162461bcd60e51b815260206004820152602160248201527f546869732061706520697320616c7265616479206f6e207468697320726964656044820152601760f91b6064820152608401610984565b6008546001600160a01b0316331461188c57600f54610100900460ff161515600103611845576117f933610b0e565b6118455760405162461bcd60e51b815260206004820152601760248201527f75736572206973206e6f742077686974656c69737465640000000000000000006044820152606401610984565b600b5434101561188c5760405162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b6044820152606401610984565b61189783600161216a565b60008481526013602052604090205460ff1680156118d057506000848152601560209081526040808320548352601490915290205460ff165b1561192f5760008481526015602090815260408083208054845260148352818420805460ff19169055878452546016835281842081905583526017909152812042600490910155600e805491611925836128b3565b9190505550611949565b6000848152601360205260409020805460ff191660011790555b600160146000611960600154600054036000190190565b815260200190815260200160002060006101000a81548160ff0219169083151502179055506040518060a00160405280886001600160a01b03168152602001866001600160a01b031681526020018781526020018581526020016000815250601760006119d4600154600054036000190190565b81526020808201929092526040908101600020835181546001600160a01b03199081166001600160a01b0392831617835593850151600183018054909516911617909255820151600282015560608201516003820155608090910151600490910155611a47600154600054036000190190565b600085815260156020526040812091909155600e805491611a678361289a565b919050555050505050505050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b03163314611acd5760405162461bcd60e51b8152600401610984906127ff565b611ad960106000612359565b610afe60108383612377565b6008546001600160a01b03163314611b0f5760405162461bcd60e51b8152600401610984906127ff565b6001600160a01b038116611b745760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610984565b610c2081611f2b565b600081600111158015611b91575060005482105b8015610954575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611c1d82611e02565b9050836001600160a01b031681600001516001600160a01b031614611c545760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480611c725750611c728533611a75565b80611c8d575033611c8284610a32565b6001600160a01b0316145b905080611cad57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416611cd457604051633a954ecd60e21b815260040160405180910390fd5b611ce060008487611bb6565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116611db6576000548214611db6578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60408051606081018252600080825260208201819052918101919091528180600111158015611e32575060005481105b15611f1257600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290611f105780516001600160a01b031615611ea6579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215611f0b579392505050565b611ea6565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611fb2903390899088908890600401612a9f565b6020604051808303816000875af1925050508015611fed575060408051601f3d908101601f19168201909252611fea91810190612adc565b60015b61204b573d80801561201b576040519150601f19603f3d011682016040523d82523d6000602084013e612020565b606091505b508051600003612043576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816000036120905750506040805180820190915260018152600360fc1b602082015290565b8160005b81156120ba57806120a48161289a565b91506120b39050600a83612b0f565b9150612094565b60008167ffffffffffffffff8111156120d5576120d5612568565b6040519080825280601f01601f1916602001820160405280156120ff576020820181803683370190505b5090505b841561206157612114600183612a8c565b9150612121600a86612b23565b61212c906030612b37565b60f81b8183815181106121415761214161286e565b60200101906001600160f81b031916908160001a905350612163600a86612b0f565b9450612103565b610ff6828260405180602001604052806000815250610afe83838360016000546001600160a01b0385166121b057604051622e076360e81b815260040160405180910390fd5b836000036121d15760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561228357506001600160a01b0387163b15155b1561230b575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46122d46000888480600101955088611f7d565b6122f1576040516368d2bf6b60e11b815260040160405180910390fd5b80820361228957826000541461230657600080fd5b612350565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480820361230c575b50600055611dfb565b5080546000825590600052602060002090810190610c2091906123da565b8280548282559060005260206000209081019282156123ca579160200282015b828111156123ca5781546001600160a01b0319166001600160a01b03843516178255602090920191600190910190612397565b506123d69291506123da565b5090565b5b808211156123d657600081556001016123db565b6001600160e01b031981168114610c2057600080fd5b60006020828403121561241757600080fd5b8135610f6b816123ef565b80358015158114610e8557600080fd5b60006020828403121561244457600080fd5b610f6b82612422565b60005b83811015612468578181015183820152602001612450565b50506000910152565b6000815180845261248981602086016020860161244d565b601f01601f19169290920160200192915050565b602081526000610f6b6020830184612471565b6000602082840312156124c257600080fd5b5035919050565b6001600160a01b0381168114610c2057600080fd5b600080604083850312156124f157600080fd5b82356124fc816124c9565b946020939093013593505050565b60008060006060848603121561251f57600080fd5b833561252a816124c9565b9250602084013561253a816124c9565b929592945050506040919091013590565b60006020828403121561255d57600080fd5b8135610f6b816124c9565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561259957612599612568565b604051601f8501601f19908116603f011681019082821181831017156125c1576125c1612568565b816040528093508581528686860111156125da57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561260657600080fd5b813567ffffffffffffffff81111561261d57600080fd5b8201601f8101841361262e57600080fd5b6120618482356020840161257e565b6000806040838503121561265057600080fd5b823561265b816124c9565b915061266960208401612422565b90509250929050565b6000806000806080858703121561268857600080fd5b8435612693816124c9565b935060208501356126a3816124c9565b925060408501359150606085013567ffffffffffffffff8111156126c657600080fd5b8501601f810187136126d757600080fd5b6126e68782356020840161257e565b91505092959194509250565b600080600080600060a0868803121561270a57600080fd5b8535612715816124c9565b945060208601359350604086013561272c816124c9565b9250606086013591506080860135612743816124c9565b809150509295509295909350565b6000806040838503121561276457600080fd5b823561276f816124c9565b9150602083013561277f816124c9565b809150509250929050565b6000806020838503121561279d57600080fd5b823567ffffffffffffffff808211156127b557600080fd5b818501915085601f8301126127c957600080fd5b8135818111156127d857600080fd5b8660208260051b85010111156127ed57600080fd5b60209290920196919550909350505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061284857607f821691505b60208210810361286857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016128ac576128ac612884565b5060010190565b6000816128c2576128c2612884565b506000190190565b6000602082840312156128dc57600080fd5b8151610f6b816124c9565b601f821115610afe57600081815260208120601f850160051c8101602086101561290e5750805b601f850160051c820191505b8181101561292d5782815560010161291a565b505050505050565b815167ffffffffffffffff81111561294f5761294f612568565b6129638161295d8454612834565b846128e7565b602080601f83116001811461299857600084156129805750858301515b600019600386901b1c1916600185901b17855561292d565b600085815260208120601f198616915b828110156129c7578886015182559484019460019091019084016129a8565b50858210156129e55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000808454612a0381612834565b60018281168015612a1b5760018114612a3057612a5f565b60ff1984168752821515830287019450612a5f565b8860005260208060002060005b85811015612a565781548a820152908401908201612a3d565b50505082870194505b505050508351612a7381836020880161244d565b64173539b7b760d91b9101908152600501949350505050565b8181038181111561095457610954612884565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612ad290830184612471565b9695505050505050565b600060208284031215612aee57600080fd5b8151610f6b816123ef565b634e487b7160e01b600052601260045260246000fd5b600082612b1e57612b1e612af9565b500490565b600082612b3257612b32612af9565b500690565b808201808211156109545761095461288456fea2646970667358221220dd97a8f4ebce5c41e1d20db52ddf0b3f2f3621e996be8c66044ba1fc70c1331264736f6c634300081100334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000000a417065205269646572730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084150455249444552000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004468747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f61706572696465732f70686f746f626f6f6b2f6f636375706965642f6d657461646174612f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004668747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f61706572696465732f70686f746f626f6f6b2f756e6f636375706965642f6d657461646174612f0000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102935760003560e01c8063715018a61161015a578063b88d4fde116100c1578063dfa317821161007a578063dfa317821461084f578063e985e9c514610862578063eb79ccac14610882578063edec5f2714610898578063f2fde38b146108b8578063fa888056146108d857600080fd5b8063b88d4fde14610794578063ba4e5c49146107b4578063c87b56dd146107d4578063d5abeb01146107f4578063d8c4b15614610809578063df65191d1461083957600080fd5b8063978aaa6611610113578063978aaa66146106c85780639c70b512146106f55780639f8696d714610714578063a22cb46514610734578063aa96b6f614610754578063b1f9b4441461077457600080fd5b8063715018a61461061b5780637ce804a6146106305780638385e89714610645578063888eee1b146106655780638da5cb5b1461069557806395d89b41146106b357600080fd5b80633f3f14ae116101fe5780634e2e46d7116101b75780634e2e46d71461056c57806355f804b31461058c5780635c975abb146105ac5780636352211e146105c65780636c0360eb146105e657806370a08231146105fb57600080fd5b80633f3f14ae146104405780633fc0f363146104705780634199cea51461049057806342842e0e1461051957806344a0d68a146105395780634a6116f11461055957600080fd5b806318160ddd1161025057806318160ddd1461038d57806323b872dd146103ab5780633af32abf146103cb5780633c952764146103eb5780633ccfd60b1461040b5780633dfd76e11461041357600080fd5b806301ffc9a71461029857806302329a29146102cd57806306fdde03146102ef578063081812fc14610311578063095ea7b31461034957806313faede614610369575b600080fd5b3480156102a457600080fd5b506102b86102b3366004612405565b610908565b60405190151581526020015b60405180910390f35b3480156102d957600080fd5b506102ed6102e8366004612432565b61095a565b005b3480156102fb57600080fd5b506103046109a0565b6040516102c4919061249d565b34801561031d57600080fd5b5061033161032c3660046124b0565b610a32565b6040516001600160a01b0390911681526020016102c4565b34801561035557600080fd5b506102ed6103643660046124de565b610a76565b34801561037557600080fd5b5061037f600b5481565b6040519081526020016102c4565b34801561039957600080fd5b5061037f600154600054036000190190565b3480156103b757600080fd5b506102ed6103c636600461250a565b610b03565b3480156103d757600080fd5b506102b86103e636600461254b565b610b0e565b3480156103f757600080fd5b506102ed610406366004612432565b610b77565b6102ed610bbb565b34801561041f57600080fd5b5061037f61042e3660046124b0565b60156020526000908152604090205481565b34801561044c57600080fd5b506102b861045b36600461254b565b60116020526000908152604090205460ff1681565b34801561047c57600080fd5b5061030461048b3660046124b0565b610c23565b34801561049c57600080fd5b506104e66104ab3660046124b0565b601760205260009081526040902080546001820154600283015460038401546004909401546001600160a01b03938416949390921692909185565b604080516001600160a01b039687168152959094166020860152928401919091526060830152608082015260a0016102c4565b34801561052557600080fd5b506102ed61053436600461250a565b610e8a565b34801561054557600080fd5b506102ed6105543660046124b0565b610ea5565b6102b861056736600461250a565b610ed4565b34801561057857600080fd5b506102ed61058736600461254b565b610f72565b34801561059857600080fd5b506102ed6105a73660046125f4565b610fc0565b3480156105b857600080fd5b50600f546102b89060ff1681565b3480156105d257600080fd5b506103316105e13660046124b0565b610ffa565b3480156105f257600080fd5b5061030461100c565b34801561060757600080fd5b5061037f61061636600461254b565b61109a565b34801561062757600080fd5b506102ed6110e9565b34801561063c57600080fd5b5061030461111f565b34801561065157600080fd5b506102ed61066036600461254b565b61112c565b34801561067157600080fd5b506102b86106803660046124b0565b60136020526000908152604090205460ff1681565b3480156106a157600080fd5b506008546001600160a01b0316610331565b3480156106bf57600080fd5b50610304611177565b3480156106d457600080fd5b5061037f6106e33660046124b0565b60166020526000908152604090205481565b34801561070157600080fd5b50600f546102b890610100900460ff1681565b34801561072057600080fd5b506102ed61072f36600461254b565b611186565b34801561074057600080fd5b506102ed61074f36600461263d565b6111d4565b34801561076057600080fd5b506102ed61076f3660046125f4565b611269565b34801561078057600080fd5b506102ed61078f36600461254b565b61129f565b3480156107a057600080fd5b506102ed6107af366004612672565b6112ea565b3480156107c057600080fd5b506103316107cf3660046124b0565b61133b565b3480156107e057600080fd5b506103046107ef3660046124b0565b611365565b34801561080057600080fd5b5061030461147d565b34801561081557600080fd5b506102b861082436600461254b565b60126020526000908152604090205460ff1681565b34801561084557600080fd5b5061037f600d5481565b6102ed61085d3660046126f2565b61148a565b34801561086e57600080fd5b506102b861087d366004612751565b611a75565b34801561088e57600080fd5b5061037f600e5481565b3480156108a457600080fd5b506102ed6108b336600461278a565b611aa3565b3480156108c457600080fd5b506102ed6108d336600461254b565b611ae5565b3480156108e457600080fd5b506102b86108f33660046124b0565b60146020526000908152604090205460ff1681565b60006001600160e01b031982166380ac58cd60e01b148061093957506001600160e01b03198216635b5e139f60e01b145b8061095457506301ffc9a760e01b6001600160e01b03198316145b92915050565b6008546001600160a01b0316331461098d5760405162461bcd60e51b8152600401610984906127ff565b60405180910390fd5b600f805460ff1916911515919091179055565b6060600280546109af90612834565b80601f01602080910402602001604051908101604052809291908181526020018280546109db90612834565b8015610a285780601f106109fd57610100808354040283529160200191610a28565b820191906000526020600020905b815481529060010190602001808311610a0b57829003601f168201915b5050505050905090565b6000610a3d82611b7d565b610a5a576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610a8182610ffa565b9050806001600160a01b0316836001600160a01b031603610ab55760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610ad55750610ad38133611a75565b155b15610af3576040516367d9dca160e11b815260040160405180910390fd5b610afe838383611bb6565b505050565b610afe838383611c12565b6000805b601054811015610b6e57826001600160a01b031660108281548110610b3957610b3961286e565b6000918252602090912001546001600160a01b031603610b5c5750600192915050565b80610b668161289a565b915050610b12565b50600092915050565b6008546001600160a01b03163314610ba15760405162461bcd60e51b8152600401610984906127ff565b600f80549115156101000261ff0019909216919091179055565b6008546001600160a01b03163314610be55760405162461bcd60e51b8152600401610984906127ff565b6040514790736819ea7792cc89394feee84fc70d54a67cd0b7659082156108fc029083906000818181858888f19350505050610c2057600080fd5b50565b600f5460609060ff1615610c725760405162461bcd60e51b8152602060048201526016602482015275151a194818dbdb9d1c9858dd081a5cc81c185d5cd95960521b6044820152606401610984565b60008281526014602052604090205460ff1615610e4c5760008281526017602052604090208054600290910154610cb69133916001600160a01b0390911690610ed4565b80610cec575060008281526017602052604090206001810154600390910154610cec9133916001600160a01b0390911690610ed4565b610d385760405162461bcd60e51b815260206004820152601d60248201527f596f7520646f6e74206f776e207468697320617065206f7220726964650000006044820152606401610984565b6000828152601460209081526040808320805460ff191690556017909152812042600490910155600e805491610d6d836128b3565b90915550506000828152601760208181526040808420600381018054865260138452828620805460ff191690558054865260168452828620889055878652938352815181546001600160a01b0390811682526001830154169381019390935260028101548383015292546060830152600490920154608082015290519081900360a001812091849133917f1d9f80994bba0a4a706236a5ce2d322ecfa62cbbba860e1a77e62ceae57c8ca791a45050604080518082019091526016815275149a5919481a5cc81b9bddc81d5b9bd8d8dd5c1a595960521b602082015290565b505060408051808201909152601f81527f54686973207269646520697320616c726561647920756e6f6363757069656400602082015290565b919050565b610afe838383604051806020016040528060008152506112ea565b6008546001600160a01b03163314610ecf5760405162461bcd60e51b8152600401610984906127ff565b600b55565b6000836001600160a01b0316836001600160a01b0316636352211e846040518263ffffffff1660e01b8152600401610f0e91815260200190565b6020604051808303816000875af1158015610f2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5191906128ca565b6001600160a01b031603610f6757506001610f6b565b5060005b9392505050565b6008546001600160a01b03163314610f9c5760405162461bcd60e51b8152600401610984906127ff565b6001600160a01b03166000908152601160205260409020805460ff19166001179055565b6008546001600160a01b03163314610fea5760405162461bcd60e51b8152600401610984906127ff565b6009610ff68282612935565b5050565b600061100582611e02565b5192915050565b6009805461101990612834565b80601f016020809104026020016040519081016040528092919081815260200182805461104590612834565b80156110925780601f1061106757610100808354040283529160200191611092565b820191906000526020600020905b81548152906001019060200180831161107557829003601f168201915b505050505081565b60006001600160a01b0382166110c3576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146111135760405162461bcd60e51b8152600401610984906127ff565b61111d6000611f2b565b565b600a805461101990612834565b6008546001600160a01b031633146111565760405162461bcd60e51b8152600401610984906127ff565b6001600160a01b03166000908152601160205260409020805460ff19169055565b6060600380546109af90612834565b6008546001600160a01b031633146111b05760405162461bcd60e51b8152600401610984906127ff565b6001600160a01b03166000908152601260205260409020805460ff19166001179055565b336001600160a01b038316036111fd5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b031633146112935760405162461bcd60e51b8152600401610984906127ff565b600a610ff68282612935565b6008546001600160a01b031633146112c95760405162461bcd60e51b8152600401610984906127ff565b6001600160a01b03166000908152601260205260409020805460ff19169055565b6112f5848484611c12565b6001600160a01b0383163b15158015611317575061131584848484611f7d565b155b15611335576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6010818154811061134b57600080fd5b6000918252602090912001546001600160a01b0316905081565b606061137082611b7d565b6113d45760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610984565b60008281526014602052604090205460ff1615611447576000600980546113fa90612834565b9050116114165760405180602001604052806000815250610954565b600961142183612069565b6040516020016114329291906129f5565b60405160208183030381529060405292915050565b6000600a805461145690612834565b9050116114725760405180602001604052806000815250610954565b600a61142183612069565b600c805461101990612834565b600f5460ff16156114d65760405162461bcd60e51b8152602060048201526016602482015275151a194818dbdb9d1c9858dd081a5cc81c185d5cd95960521b6044820152606401610984565b6001600160a01b03851660009081526011602052604090205460ff16801561151657506001600160a01b03831660009081526012602052604090205460ff165b61156d5760405162461bcd60e51b815260206004820152602260248201527f54686973204e465420636f6e7472616374206973206e6f7420737570706f7274604482015261195960f21b6064820152608401610984565b611578818686610ed4565b6115bc5760405162461bcd60e51b8152602060048201526015602482015274796f7520646f6e74206f776e20746869732061706560581b6044820152606401610984565b6115c7338484610ed4565b61160c5760405162461bcd60e51b8152602060048201526016602482015275796f7520646f6e74206f776e2074686973207269646560501b6044820152606401610984565b60008281526015602090815260408083205483526017825291829020825160a08101845281546001600160a01b03908116825260018301541692810192909252600281015492820192909252600382015460608201526004909101546080820181905280158015906116935750866001600160a01b031682600001516001600160a01b0316145b80156116a25750858260400151145b1561172857620151806116b58242612a8c565b116117285760405162461bcd60e51b815260206004820152603760248201527f546865207061706572776f726b206973207374696c6c20676f696e672074687260448201527f6f75676820666f722074686973204170652052696465720000000000000000006064820152608401610984565b6000848152601560209081526040808320548352601490915290205460ff1680156117685750866001600160a01b031682600001516001600160a01b0316145b156117ca57858260400151036117ca5760405162461bcd60e51b815260206004820152602160248201527f546869732061706520697320616c7265616479206f6e207468697320726964656044820152601760f91b6064820152608401610984565b6008546001600160a01b0316331461188c57600f54610100900460ff161515600103611845576117f933610b0e565b6118455760405162461bcd60e51b815260206004820152601760248201527f75736572206973206e6f742077686974656c69737465640000000000000000006044820152606401610984565b600b5434101561188c5760405162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b6044820152606401610984565b61189783600161216a565b60008481526013602052604090205460ff1680156118d057506000848152601560209081526040808320548352601490915290205460ff165b1561192f5760008481526015602090815260408083208054845260148352818420805460ff19169055878452546016835281842081905583526017909152812042600490910155600e805491611925836128b3565b9190505550611949565b6000848152601360205260409020805460ff191660011790555b600160146000611960600154600054036000190190565b815260200190815260200160002060006101000a81548160ff0219169083151502179055506040518060a00160405280886001600160a01b03168152602001866001600160a01b031681526020018781526020018581526020016000815250601760006119d4600154600054036000190190565b81526020808201929092526040908101600020835181546001600160a01b03199081166001600160a01b0392831617835593850151600183018054909516911617909255820151600282015560608201516003820155608090910151600490910155611a47600154600054036000190190565b600085815260156020526040812091909155600e805491611a678361289a565b919050555050505050505050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b03163314611acd5760405162461bcd60e51b8152600401610984906127ff565b611ad960106000612359565b610afe60108383612377565b6008546001600160a01b03163314611b0f5760405162461bcd60e51b8152600401610984906127ff565b6001600160a01b038116611b745760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610984565b610c2081611f2b565b600081600111158015611b91575060005482105b8015610954575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611c1d82611e02565b9050836001600160a01b031681600001516001600160a01b031614611c545760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480611c725750611c728533611a75565b80611c8d575033611c8284610a32565b6001600160a01b0316145b905080611cad57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416611cd457604051633a954ecd60e21b815260040160405180910390fd5b611ce060008487611bb6565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116611db6576000548214611db6578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60408051606081018252600080825260208201819052918101919091528180600111158015611e32575060005481105b15611f1257600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290611f105780516001600160a01b031615611ea6579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215611f0b579392505050565b611ea6565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611fb2903390899088908890600401612a9f565b6020604051808303816000875af1925050508015611fed575060408051601f3d908101601f19168201909252611fea91810190612adc565b60015b61204b573d80801561201b576040519150601f19603f3d011682016040523d82523d6000602084013e612020565b606091505b508051600003612043576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816000036120905750506040805180820190915260018152600360fc1b602082015290565b8160005b81156120ba57806120a48161289a565b91506120b39050600a83612b0f565b9150612094565b60008167ffffffffffffffff8111156120d5576120d5612568565b6040519080825280601f01601f1916602001820160405280156120ff576020820181803683370190505b5090505b841561206157612114600183612a8c565b9150612121600a86612b23565b61212c906030612b37565b60f81b8183815181106121415761214161286e565b60200101906001600160f81b031916908160001a905350612163600a86612b0f565b9450612103565b610ff6828260405180602001604052806000815250610afe83838360016000546001600160a01b0385166121b057604051622e076360e81b815260040160405180910390fd5b836000036121d15760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561228357506001600160a01b0387163b15155b1561230b575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46122d46000888480600101955088611f7d565b6122f1576040516368d2bf6b60e11b815260040160405180910390fd5b80820361228957826000541461230657600080fd5b612350565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480820361230c575b50600055611dfb565b5080546000825590600052602060002090810190610c2091906123da565b8280548282559060005260206000209081019282156123ca579160200282015b828111156123ca5781546001600160a01b0319166001600160a01b03843516178255602090920191600190910190612397565b506123d69291506123da565b5090565b5b808211156123d657600081556001016123db565b6001600160e01b031981168114610c2057600080fd5b60006020828403121561241757600080fd5b8135610f6b816123ef565b80358015158114610e8557600080fd5b60006020828403121561244457600080fd5b610f6b82612422565b60005b83811015612468578181015183820152602001612450565b50506000910152565b6000815180845261248981602086016020860161244d565b601f01601f19169290920160200192915050565b602081526000610f6b6020830184612471565b6000602082840312156124c257600080fd5b5035919050565b6001600160a01b0381168114610c2057600080fd5b600080604083850312156124f157600080fd5b82356124fc816124c9565b946020939093013593505050565b60008060006060848603121561251f57600080fd5b833561252a816124c9565b9250602084013561253a816124c9565b929592945050506040919091013590565b60006020828403121561255d57600080fd5b8135610f6b816124c9565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561259957612599612568565b604051601f8501601f19908116603f011681019082821181831017156125c1576125c1612568565b816040528093508581528686860111156125da57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561260657600080fd5b813567ffffffffffffffff81111561261d57600080fd5b8201601f8101841361262e57600080fd5b6120618482356020840161257e565b6000806040838503121561265057600080fd5b823561265b816124c9565b915061266960208401612422565b90509250929050565b6000806000806080858703121561268857600080fd5b8435612693816124c9565b935060208501356126a3816124c9565b925060408501359150606085013567ffffffffffffffff8111156126c657600080fd5b8501601f810187136126d757600080fd5b6126e68782356020840161257e565b91505092959194509250565b600080600080600060a0868803121561270a57600080fd5b8535612715816124c9565b945060208601359350604086013561272c816124c9565b9250606086013591506080860135612743816124c9565b809150509295509295909350565b6000806040838503121561276457600080fd5b823561276f816124c9565b9150602083013561277f816124c9565b809150509250929050565b6000806020838503121561279d57600080fd5b823567ffffffffffffffff808211156127b557600080fd5b818501915085601f8301126127c957600080fd5b8135818111156127d857600080fd5b8660208260051b85010111156127ed57600080fd5b60209290920196919550909350505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061284857607f821691505b60208210810361286857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016128ac576128ac612884565b5060010190565b6000816128c2576128c2612884565b506000190190565b6000602082840312156128dc57600080fd5b8151610f6b816124c9565b601f821115610afe57600081815260208120601f850160051c8101602086101561290e5750805b601f850160051c820191505b8181101561292d5782815560010161291a565b505050505050565b815167ffffffffffffffff81111561294f5761294f612568565b6129638161295d8454612834565b846128e7565b602080601f83116001811461299857600084156129805750858301515b600019600386901b1c1916600185901b17855561292d565b600085815260208120601f198616915b828110156129c7578886015182559484019460019091019084016129a8565b50858210156129e55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000808454612a0381612834565b60018281168015612a1b5760018114612a3057612a5f565b60ff1984168752821515830287019450612a5f565b8860005260208060002060005b85811015612a565781548a820152908401908201612a3d565b50505082870194505b505050508351612a7381836020880161244d565b64173539b7b760d91b9101908152600501949350505050565b8181038181111561095457610954612884565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612ad290830184612471565b9695505050505050565b600060208284031215612aee57600080fd5b8151610f6b816123ef565b634e487b7160e01b600052601260045260246000fd5b600082612b1e57612b1e612af9565b500490565b600082612b3257612b32612af9565b500690565b808201808211156109545761095461288456fea2646970667358221220dd97a8f4ebce5c41e1d20db52ddf0b3f2f3621e996be8c66044ba1fc70c1331264736f6c63430008110033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000000a417065205269646572730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084150455249444552000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004468747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f61706572696465732f70686f746f626f6f6b2f6f636375706965642f6d657461646174612f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004668747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f61706572696465732f70686f746f626f6f6b2f756e6f636375706965642f6d657461646174612f0000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Ape Riders
Arg [1] : _symbol (string): APERIDER
Arg [2] : _initBaseURI (string): https://storage.googleapis.com/aperides/photobook/occupied/metadata/
Arg [3] : _initBaseUnoccupiedURI (string): https://storage.googleapis.com/aperides/photobook/unoccupied/metadata/

-----Encoded View---------------
16 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [5] : 4170652052696465727300000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [7] : 4150455249444552000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000044
Arg [9] : 68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f61
Arg [10] : 706572696465732f70686f746f626f6f6b2f6f636375706965642f6d65746164
Arg [11] : 6174612f00000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000046
Arg [13] : 68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f61
Arg [14] : 706572696465732f70686f746f626f6f6b2f756e6f636375706965642f6d6574
Arg [15] : 61646174612f0000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

46629:7881:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24612:305;;;;;;;;;;-1:-1:-1;24612:305:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;24612:305:0;;;;;;;;53915:73;;;;;;;;;;-1:-1:-1;53915:73:0;;;;;:::i;:::-;;:::i;:::-;;27725:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;29228:204::-;;;;;;;;;;-1:-1:-1;29228:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2047:32:1;;;2029:51;;2017:2;2002:18;29228:204:0;1883:203:1;28791:371:0;;;;;;;;;;-1:-1:-1;28791:371:0;;;;;:::i;:::-;;:::i;47000:29::-;;;;;;;;;;;;;;;;;;;2693:25:1;;;2681:2;2666:18;47000:29:0;2547:177:1;23861:303:0;;;;;;;;;;;;23718:1;24115:12;23905:7;24099:13;:28;-1:-1:-1;;24099:46:0;;23861:303;30093:170;;;;;;;;;;-1:-1:-1;30093:170:0;;;;;:::i;:::-;;:::i;52829:239::-;;;;;;;;;;-1:-1:-1;52829:239:0;;;;;:::i;:::-;;:::i;54076:95::-;;;;;;;;;;-1:-1:-1;54076:95:0;;;;;:::i;:::-;;:::i;54329:178::-;;;:::i;47512:52::-;;;;;;;;;;-1:-1:-1;47512:52:0;;;;;:::i;:::-;;;;;;;;;;;;;;47271:60;;;;;;;;;;-1:-1:-1;47271:60:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;49932:905;;;;;;;;;;-1:-1:-1;49932:905:0;;;;;:::i;:::-;;:::i;47621:50::-;;;;;;;;;;-1:-1:-1;47621:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;47621:50:0;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3757:15:1;;;3739:34;;3809:15;;;;3804:2;3789:18;;3782:43;3841:18;;;3834:34;;;;3899:2;3884:18;;3877:34;3942:3;3927:19;;3920:35;3688:3;3673:19;47621:50:0;3442:519:1;30334:185:0;;;;;;;;;;-1:-1:-1;30334:185:0;;;;;:::i;:::-;;:::i;53994:74::-;;;;;;;;;;-1:-1:-1;53994:74:0;;;;;:::i;:::-;;:::i;48980:282::-;;;;;;:::i;:::-;;:::i;49270:157::-;;;;;;;;;;-1:-1:-1;49270:157:0;;;;;:::i;:::-;;:::i;53667:98::-;;;;;;;;;;-1:-1:-1;53667:98:0;;;;;:::i;:::-;;:::i;47159:25::-;;;;;;;;;;-1:-1:-1;47159:25:0;;;;;;;;27533:125;;;;;;;;;;-1:-1:-1;27533:125:0;;;;;:::i;:::-;;:::i;46938:21::-;;;;;;;;;;;;;:::i;24981:206::-;;;;;;;;;;-1:-1:-1;24981:206:0;;;;;:::i;:::-;;:::i;45658:103::-;;;;;;;;;;;;;:::i;46964:31::-;;;;;;;;;;;;;:::i;49435:161::-;;;;;;;;;;-1:-1:-1;49435:161:0;;;;;:::i;:::-;;:::i;47405:46::-;;;;;;;;;;-1:-1:-1;47405:46:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;45006:87;;;;;;;;;;-1:-1:-1;45079:6:0;;-1:-1:-1;;;;;45079:6:0;45006:87;;27894:104;;;;;;;;;;;;;:::i;47569:47::-;;;;;;;;;;-1:-1:-1;47569:47:0;;;;;:::i;:::-;;;;;;;;;;;;;;47189:35;;;;;;;;;;-1:-1:-1;47189:35:0;;;;;;;;;;;49604:155;;;;;;;;;;-1:-1:-1;49604:155:0;;;;;:::i;:::-;;:::i;29504:287::-;;;;;;;;;;-1:-1:-1;29504:287:0;;;;;:::i;:::-;;:::i;53771:138::-;;;;;;;;;;-1:-1:-1;53771:138:0;;;;;:::i;:::-;;:::i;49767:159::-;;;;;;;;;;-1:-1:-1;49767:159:0;;;;;:::i;:::-;;:::i;30590:369::-;;;;;;;;;;-1:-1:-1;30590:369:0;;;;;:::i;:::-;;:::i;47229:37::-;;;;;;;;;;-1:-1:-1;47229:37:0;;;;;:::i;:::-;;:::i;53074:571::-;;;;;;;;;;-1:-1:-1;53074:571:0;;;;;:::i;:::-;;:::i;47034:36::-;;;;;;;;;;;;;:::i;47336:64::-;;;;;;;;;;-1:-1:-1;47336:64:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;47075:33;;;;;;;;;;;;;;;;50856:1965;;;;;;:::i;:::-;;:::i;29862:164::-;;;;;;;;;;-1:-1:-1;29862:164:0;;;;;:::i;:::-;;:::i;47113:41::-;;;;;;;;;;;;;;;;54179:144;;;;;;;;;;-1:-1:-1;54179:144:0;;;;;:::i;:::-;;:::i;45916:201::-;;;;;;;;;;-1:-1:-1;45916:201:0;;;;;:::i;:::-;;:::i;47456:51::-;;;;;;;;;;-1:-1:-1;47456:51:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;24612:305;24714:4;-1:-1:-1;;;;;;24751:40:0;;-1:-1:-1;;;24751:40:0;;:105;;-1:-1:-1;;;;;;;24808:48:0;;-1:-1:-1;;;24808:48:0;24751:105;:158;;;-1:-1:-1;;;;;;;;;;14646:40:0;;;24873:36;24731:178;24612:305;-1:-1:-1;;24612:305:0:o;53915:73::-;45079:6;;-1:-1:-1;;;;;45079:6:0;3087:10;45226:23;45218:69;;;;-1:-1:-1;;;45218:69:0;;;;;;;:::i;:::-;;;;;;;;;53967:6:::1;:15:::0;;-1:-1:-1;;53967:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;53915:73::o;27725:100::-;27779:13;27812:5;27805:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27725:100;:::o;29228:204::-;29296:7;29321:16;29329:7;29321;:16::i;:::-;29316:64;;29346:34;;-1:-1:-1;;;29346:34:0;;;;;;;;;;;29316:64;-1:-1:-1;29400:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;29400:24:0;;29228:204::o;28791:371::-;28864:13;28880:24;28896:7;28880:15;:24::i;:::-;28864:40;;28925:5;-1:-1:-1;;;;;28919:11:0;:2;-1:-1:-1;;;;;28919:11:0;;28915:48;;28939:24;;-1:-1:-1;;;28939:24:0;;;;;;;;;;;28915:48;3087:10;-1:-1:-1;;;;;28980:21:0;;;;;;:63;;-1:-1:-1;29006:37:0;29023:5;3087:10;29862:164;:::i;29006:37::-;29005:38;28980:63;28976:138;;;29067:35;;-1:-1:-1;;;29067:35:0;;;;;;;;;;;28976:138;29126:28;29135:2;29139:7;29148:5;29126:8;:28::i;:::-;28853:309;28791:371;;:::o;30093:170::-;30227:28;30237:4;30243:2;30247:7;30227:9;:28::i;52829:239::-;52888:4;;52901:143;52922:20;:27;52918:31;;52901:143;;;52996:5;-1:-1:-1;;;;;52969:32:0;:20;52990:1;52969:23;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;52969:23:0;:32;52965:72;;-1:-1:-1;53023:4:0;;52829:239;-1:-1:-1;;52829:239:0:o;52965:72::-;52951:3;;;;:::i;:::-;;;;52901:143;;;-1:-1:-1;53057:5:0;;52829:239;-1:-1:-1;;52829:239:0:o;54076:95::-;45079:6;;-1:-1:-1;;;;;45079:6:0;3087:10;45226:23;45218:69;;;;-1:-1:-1;;;45218:69:0;;;;;;;:::i;:::-;54141:15:::1;:24:::0;;;::::1;;;;-1:-1:-1::0;;54141:24:0;;::::1;::::0;;;::::1;::::0;;54076:95::o;54329:178::-;45079:6;;-1:-1:-1;;;;;45079:6:0;3087:10;45226:23;45218:69;;;;-1:-1:-1;;;45218:69:0;;;;;;;:::i;:::-;54435:65:::1;::::0;54399:21:::1;::::0;54443:42:::1;::::0;54435:65;::::1;;;::::0;54399:21;;54381:15:::1;54435:65:::0;54381:15;54435:65;54399:21;54443:42;54435:65;::::1;;;;;;54427:74;;;::::0;::::1;;54374:133;54329:178::o:0;49932:905::-;50018:6;;49987:13;;50018:6;;50017:7;50009:42;;;;-1:-1:-1;;;50009:42:0;;9348:2:1;50009:42:0;;;9330:21:1;9387:2;9367:18;;;9360:30;-1:-1:-1;;;9406:18:1;;;9399:52;9468:18;;50009:42:0;9146:346:1;50009:42:0;50064:32;;;;:19;:32;;;;;;;;50060:772;;;50141:26;;;;:13;:26;;;;;:37;;50180:32;;;;;50118:95;;50129:10;;-1:-1:-1;;;;;50141:37:0;;;;50118:10;:95::i;:::-;:194;;;-1:-1:-1;50238:26:0;;;;:13;:26;;;;;:38;;;;50278:33;;;;;50215:97;;50226:10;;-1:-1:-1;;;;;50238:38:0;;;;50215:10;:97::i;:::-;50109:237;;;;-1:-1:-1;;;50109:237:0;;9699:2:1;50109:237:0;;;9681:21:1;9738:2;9718:18;;;9711:30;9777:31;9757:18;;;9750:59;9826:18;;50109:237:0;9497:353:1;50109:237:0;50392:5;50357:32;;;:19;:32;;;;;;;;:40;;-1:-1:-1;;50357:40:0;;;50408:13;:26;;;;;50446:15;50408:35;;;;:53;50472:22;:24;;;;;;:::i;:::-;;;;-1:-1:-1;;50559:5:0;50522:26;;;:13;:26;;;;;;;;:33;;;;;50507:49;;:14;:49;;;;;:57;;-1:-1:-1;;50507:57:0;;;50588:33;;50575:47;;:12;:47;;;;;:61;;;50686:26;;;;;;50652:61;;10230:13:1;;-1:-1:-1;;;;;10226:22:1;;;10214:35;;-1:-1:-1;10291:17:1;;10285:24;10281:33;10265:14;;;10258:57;;;;10363:4;10351:17;;10345:24;10331:12;;;10324:46;10400:24;;10395:2;10386:12;;10379:46;10474:4;10462:17;;;10456:24;10450:3;10441:13;;10434:47;50652:61:0;;;;;;10194:3:1;50652:61:0;;;;50522:26;;50661:10;;50652:61;;;-1:-1:-1;;50724:31:0;;;;;;;;;;;;-1:-1:-1;;;50724:31:0;;;;;49932:905::o;50060:772::-;-1:-1:-1;;50782:40:0;;;;;;;;;;;;;;;;;;49932:905::o;50060:772::-;49932:905;;;:::o;30334:185::-;30472:39;30489:4;30495:2;30499:7;30472:39;;;;;;;;;;;;:16;:39::i;53994:74::-;45079:6;;-1:-1:-1;;;;;45079:6:0;3087:10;45226:23;45218:69;;;;-1:-1:-1;;;45218:69:0;;;;;;;:::i;:::-;54050:4:::1;:12:::0;53994:74::o;48980:282::-;49093:4;49168:14;-1:-1:-1;;;;;49112:70:0;49129:16;-1:-1:-1;;;;;49112:42:0;;49155:8;49112:52;;;;;;;;;;;;;2693:25:1;;2681:2;2666:18;;2547:177;49112:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;49112:70:0;;49108:149;;-1:-1:-1;49204:4:0;49197:11;;49108:149;-1:-1:-1;49242:5:0;49108:149;48980:282;;;;;:::o;49270:157::-;45079:6;;-1:-1:-1;;;;;45079:6:0;3087:10;45226:23;45218:69;;;;-1:-1:-1;;;45218:69:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;49362:50:0::1;;::::0;;;:28:::1;:50;::::0;;;;:57;;-1:-1:-1;;49362:57:0::1;49415:4;49362:57;::::0;;49270:157::o;53667:98::-;45079:6;;-1:-1:-1;;;;;45079:6:0;3087:10;45226:23;45218:69;;;;-1:-1:-1;;;45218:69:0;;;;;;;:::i;:::-;53738:7:::1;:21;53748:11:::0;53738:7;:21:::1;:::i;:::-;;53667:98:::0;:::o;27533:125::-;27597:7;27624:21;27637:7;27624:12;:21::i;:::-;:26;;27533:125;-1:-1:-1;;27533:125:0:o;46938:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;24981:206::-;25045:7;-1:-1:-1;;;;;25069:19:0;;25065:60;;25097:28;;-1:-1:-1;;;25097:28:0;;;;;;;;;;;25065:60;-1:-1:-1;;;;;;25151:19:0;;;;;:12;:19;;;;;:27;;;;24981:206::o;45658:103::-;45079:6;;-1:-1:-1;;;;;45079:6:0;3087:10;45226:23;45218:69;;;;-1:-1:-1;;;45218:69:0;;;;;;;:::i;:::-;45723:30:::1;45750:1;45723:18;:30::i;:::-;45658:103::o:0;46964:31::-;;;;;;;:::i;49435:161::-;45079:6;;-1:-1:-1;;;;;45079:6:0;3087:10;45226:23;45218:69;;;;-1:-1:-1;;;45218:69:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;49530:50:0::1;49583:5;49530:50:::0;;;:28:::1;:50;::::0;;;;:58;;-1:-1:-1;;49530:58:0::1;::::0;;49435:161::o;27894:104::-;27950:13;27983:7;27976:14;;;;;:::i;49604:155::-;45079:6;;-1:-1:-1;;;;;45079:6:0;3087:10;45226:23;45218:69;;;;-1:-1:-1;;;45218:69:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;49690:54:0::1;;::::0;;;:32:::1;:54;::::0;;;;:61;;-1:-1:-1;;49690:61:0::1;49747:4;49690:61;::::0;;49604:155::o;29504:287::-;3087:10;-1:-1:-1;;;;;29603:24:0;;;29599:54;;29636:17;;-1:-1:-1;;;29636:17:0;;;;;;;;;;;29599:54;3087:10;29666:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;29666:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;29666:53:0;;;;;;;;;;29735:48;;540:41:1;;;29666:42:0;;3087:10;29735:48;;513:18:1;29735:48:0;;;;;;;29504:287;;:::o;53771:138::-;45079:6;;-1:-1:-1;;;;;45079:6:0;3087:10;45226:23;45218:69;;;;-1:-1:-1;;;45218:69:0;;;;;;;:::i;:::-;53862:17:::1;:41;53882:21:::0;53862:17;:41:::1;:::i;49767:159::-:0;45079:6;;-1:-1:-1;;;;;45079:6:0;3087:10;45226:23;45218:69;;;;-1:-1:-1;;;45218:69:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;49856:54:0::1;49913:5;49856:54:::0;;;:32:::1;:54;::::0;;;;:62;;-1:-1:-1;;49856:62:0::1;::::0;;49767:159::o;30590:369::-;30757:28;30767:4;30773:2;30777:7;30757:9;:28::i;:::-;-1:-1:-1;;;;;30800:13:0;;4749:19;:23;;30800:76;;;;;30820:56;30851:4;30857:2;30861:7;30870:5;30820:30;:56::i;:::-;30819:57;30800:76;30796:156;;;30900:40;;-1:-1:-1;;;30900:40:0;;;;;;;;;;;30796:156;30590:369;;;;:::o;47229:37::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;47229:37:0;;-1:-1:-1;47229:37:0;:::o;53074:571::-;53172:13;53213:16;53221:7;53213;:16::i;:::-;53197:97;;;;-1:-1:-1;;;53197:97:0;;13183:2:1;53197:97:0;;;13165:21:1;13222:2;13202:18;;;13195:30;13261:34;13241:18;;;13234:62;-1:-1:-1;;;13312:18:1;;;13305:45;13367:19;;53197:97:0;12981:411:1;53197:97:0;53307:28;;;;:19;:28;;;;;;;;53303:337;;;53378:1;53360:7;53354:21;;;;;:::i;:::-;;;:25;:113;;;;;;;;;;;;;;;;;53415:7;53424:18;:7;:16;:18::i;:::-;53398:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;53347:120;53074:571;-1:-1:-1;;53074:571:0:o;53303:337::-;53533:1;53505:17;53499:31;;;;;:::i;:::-;;;:35;:133;;;;;;;;;;;;;;;;;53570:17;53589:18;:7;:16;:18::i;47034:36::-;;;;;;;:::i;50856:1965::-;51004:6;;;;51003:7;50995:42;;;;-1:-1:-1;;;50995:42:0;;9348:2:1;50995:42:0;;;9330:21:1;9387:2;9367:18;;;9360:30;-1:-1:-1;;;9406:18:1;;;9399:52;9468:18;;50995:42:0;9146:346:1;50995:42:0;-1:-1:-1;;;;;51052:41:0;;;;;;:28;:41;;;;;;;;:91;;;;-1:-1:-1;;;;;;51097:46:0;;;;;;:32;:46;;;;;;;;51052:91;51044:137;;;;-1:-1:-1;;;51044:137:0;;14791:2:1;51044:137:0;;;14773:21:1;14830:2;14810:18;;;14803:30;14869:34;14849:18;;;14842:62;-1:-1:-1;;;14920:18:1;;;14913:32;14962:19;;51044:137:0;14589:398:1;51044:137:0;51196:48;51207:17;51225:11;51237:6;51196:10;:48::i;:::-;51188:81;;;;-1:-1:-1;;;51188:81:0;;15194:2:1;51188:81:0;;;15176:21:1;15233:2;15213:18;;;15206:30;-1:-1:-1;;;15252:18:1;;;15245:51;15313:18;;51188:81:0;14992:345:1;51188:81:0;51284:43;51295:10;51306:12;51319:7;51284:10;:43::i;:::-;51276:77;;;;-1:-1:-1;;;51276:77:0;;15544:2:1;51276:77:0;;;15526:21:1;15583:2;15563:18;;;15556:30;-1:-1:-1;;;15602:18:1;;;15595:52;15664:18;;51276:77:0;15342:346:1;51276:77:0;51360:30;51407:26;;;:17;:26;;;;;;;;;51393:41;;:13;:41;;;;;;51360:74;;;;;;;;;-1:-1:-1;;;;;51360:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51495:13;;;;;51494:58;;;51540:11;-1:-1:-1;;;;;51512:39:0;:13;:24;;;-1:-1:-1;;;;;51512:39:0;;51494:58;:91;;;;;51578:6;51555:13;:19;;;:29;51494:91;51490:217;;;51633:5;51607:25;51623:9;51607:15;:25;:::i;:::-;:31;51598:101;;;;-1:-1:-1;;;51598:101:0;;16028:2:1;51598:101:0;;;16010:21:1;16067:2;16047:18;;;16040:30;16106:34;16086:18;;;16079:62;16177:25;16157:18;;;16150:53;16220:19;;51598:101:0;15826:419:1;51598:101:0;51718:47;51738:26;;;:17;:26;;;;;;;;;51718:47;;:19;:47;;;;;;;;51717:92;;;;;51797:11;-1:-1:-1;;;;;51769:39:0;:13;:24;;;-1:-1:-1;;;;;51769:39:0;;51717:92;51713:192;;;51853:6;51832:13;:19;;;:27;51824:73;;;;-1:-1:-1;;;51824:73:0;;16452:2:1;51824:73:0;;;16434:21:1;16491:2;16471:18;;;16464:30;16530:34;16510:18;;;16503:62;-1:-1:-1;;;16581:18:1;;;16574:31;16622:19;;51824:73:0;16250:397:1;51824:73:0;45079:6;;-1:-1:-1;;;;;45079:6:0;51921:10;:21;51917:251;;51979:15;;;;;;;:23;;:15;:23;51976:116;;52027:25;52041:10;52027:13;:25::i;:::-;52019:61;;;;-1:-1:-1;;;52019:61:0;;16854:2:1;52019:61:0;;;16836:21:1;16893:2;16873:18;;;16866:30;16932:25;16912:18;;;16905:53;16975:18;;52019:61:0;16652:347:1;52019:61:0;52123:4;;52110:9;:17;;52102:48;;;;-1:-1:-1;;;52102:48:0;;17206:2:1;52102:48:0;;;17188:21:1;17245:2;17225:18;;;17218:30;-1:-1:-1;;;17264:18:1;;;17257:48;17322:18;;52102:48:0;17004:342:1;52102:48:0;52174:31;52184:17;52203:1;52174:9;:31::i;:::-;52218:23;;;;:14;:23;;;;;;;;:72;;;;-1:-1:-1;52243:47:0;52263:26;;;:17;:26;;;;;;;;;52243:47;;:19;:47;;;;;;;;52218:72;52214:382;;;52353:5;52323:26;;;:17;:26;;;;;;;;;;52303:47;;:19;:47;;;;;:55;;-1:-1:-1;;52303:55:0;;;52393:26;;;;52369:12;:21;;;;;:50;;;52430:41;;:13;:41;;;;;52483:15;52430:50;;;;:68;52509:22;:24;;;;;;:::i;:::-;;;;;;52214:382;;;52558:23;;;;:14;:23;;;;;:30;;-1:-1:-1;;52558:30:0;52584:4;52558:30;;;52214:382;52639:4;52602:19;:34;52622:13;23718:1;24115:12;23905:7;24099:13;:28;-1:-1:-1;;24099:46:0;;23861:303;52622:13;52602:34;;;;;;;;;;;;:41;;;;;;;;;;;;;;;;;;52681:52;;;;;;;;52691:11;-1:-1:-1;;;;;52681:52:0;;;;;52703:12;-1:-1:-1;;;;;52681:52:0;;;;;52716:6;52681:52;;;;52723:7;52681:52;;;;52731:1;52681:52;;;52650:13;:28;52664:13;23718:1;24115:12;23905:7;24099:13;:28;-1:-1:-1;;24099:46:0;;23861:303;52664:13;52650:28;;;;;;;;;;;;;;-1:-1:-1;52650:28:0;:83;;;;-1:-1:-1;;;;;;52650:83:0;;;-1:-1:-1;;;;;52650:83:0;;;;;;;;;;-1:-1:-1;52650:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52769:13;23718:1;24115:12;23905:7;24099:13;:28;-1:-1:-1;;24099:46:0;;23861:303;52769:13;52740:26;;;;:17;:26;;;;;:42;;;;52789:22;:24;;;;;;:::i;:::-;;;;;;50988:1833;;50856:1965;;;;;:::o;29862:164::-;-1:-1:-1;;;;;29983:25:0;;;29959:4;29983:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;29862:164::o;54179:144::-;45079:6;;-1:-1:-1;;;;;45079:6:0;3087:10;45226:23;45218:69;;;;-1:-1:-1;;;45218:69:0;;;;;;;:::i;:::-;54254:27:::1;54261:20;;54254:27;:::i;:::-;54288:29;:20;54311:6:::0;;54288:29:::1;:::i;45916:201::-:0;45079:6;;-1:-1:-1;;;;;45079:6:0;3087:10;45226:23;45218:69;;;;-1:-1:-1;;;45218:69:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;46005:22:0;::::1;45997:73;;;::::0;-1:-1:-1;;;45997:73:0;;17553:2:1;45997:73:0::1;::::0;::::1;17535:21:1::0;17592:2;17572:18;;;17565:30;17631:34;17611:18;;;17604:62;-1:-1:-1;;;17682:18:1;;;17675:36;17728:19;;45997:73:0::1;17351:402:1::0;45997:73:0::1;46081:28;46100:8;46081:18;:28::i;31214:187::-:0;31271:4;31314:7;23718:1;31295:26;;:53;;;;;31335:13;;31325:7;:23;31295:53;:98;;;;-1:-1:-1;;31366:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;31366:27:0;;;;31365:28;;31214:187::o;39384:196::-;39499:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;39499:29:0;-1:-1:-1;;;;;39499:29:0;;;;;;;;;39544:28;;39499:24;;39544:28;;;;;;;39384:196;;;:::o;34327:2130::-;34442:35;34480:21;34493:7;34480:12;:21::i;:::-;34442:59;;34540:4;-1:-1:-1;;;;;34518:26:0;:13;:18;;;-1:-1:-1;;;;;34518:26:0;;34514:67;;34553:28;;-1:-1:-1;;;34553:28:0;;;;;;;;;;;34514:67;34594:22;3087:10;-1:-1:-1;;;;;34620:20:0;;;;:73;;-1:-1:-1;34657:36:0;34674:4;3087:10;29862:164;:::i;34657:36::-;34620:126;;;-1:-1:-1;3087:10:0;34710:20;34722:7;34710:11;:20::i;:::-;-1:-1:-1;;;;;34710:36:0;;34620:126;34594:153;;34765:17;34760:66;;34791:35;;-1:-1:-1;;;34791:35:0;;;;;;;;;;;34760:66;-1:-1:-1;;;;;34841:16:0;;34837:52;;34866:23;;-1:-1:-1;;;34866:23:0;;;;;;;;;;;34837:52;35010:35;35027:1;35031:7;35040:4;35010:8;:35::i;:::-;-1:-1:-1;;;;;35341:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;35341:31:0;;;;;;;-1:-1:-1;;35341:31:0;;;;;;;35387:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;35387:29:0;;;;;;;;;;;35467:20;;;:11;:20;;;;;;35502:18;;-1:-1:-1;;;;;;35535:49:0;;;;-1:-1:-1;;;35568:15:0;35535:49;;;;;;;;;;35858:11;;35918:24;;;;;35961:13;;35467:20;;35918:24;;35961:13;35957:384;;36171:13;;36156:11;:28;36152:174;;36209:20;;36278:28;;;;36252:54;;-1:-1:-1;;;36252:54:0;-1:-1:-1;;;;;;36252:54:0;;;-1:-1:-1;;;;;36209:20:0;;36252:54;;;;36152:174;35316:1036;;;36388:7;36384:2;-1:-1:-1;;;;;36369:27:0;36378:4;-1:-1:-1;;;;;36369:27:0;;;;;;;;;;;36407:42;34431:2026;;34327:2130;;;:::o;26362:1109::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;26473:7:0;;23718:1;26522:23;;:47;;;;;26556:13;;26549:4;:20;26522:47;26518:886;;;26590:31;26624:17;;;:11;:17;;;;;;;;;26590:51;;;;;;;;;-1:-1:-1;;;;;26590:51:0;;;;-1:-1:-1;;;26590:51:0;;;;;;;;;;;-1:-1:-1;;;26590:51:0;;;;;;;;;;;;;;26660:729;;26710:14;;-1:-1:-1;;;;;26710:28:0;;26706:101;;26774:9;26362:1109;-1:-1:-1;;;26362:1109:0:o;26706:101::-;-1:-1:-1;;;27149:6:0;27194:17;;;;:11;:17;;;;;;;;;27182:29;;;;;;;;;-1:-1:-1;;;;;27182:29:0;;;;;-1:-1:-1;;;27182:29:0;;;;;;;;;;;-1:-1:-1;;;27182:29:0;;;;;;;;;;;;;27242:28;27238:109;;27310:9;26362:1109;-1:-1:-1;;;26362:1109:0:o;27238:109::-;27109:261;;;26571:833;26518:886;27432:31;;-1:-1:-1;;;27432:31:0;;;;;;;;;;;46277:191;46370:6;;;-1:-1:-1;;;;;46387:17:0;;;-1:-1:-1;;;;;;46387:17:0;;;;;;;46420:40;;46370:6;;;46387:17;46370:6;;46420:40;;46351:16;;46420:40;46340:128;46277:191;:::o;40072:667::-;40256:72;;-1:-1:-1;;;40256:72:0;;40235:4;;-1:-1:-1;;;;;40256:36:0;;;;;:72;;3087:10;;40307:4;;40313:7;;40322:5;;40256:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40256:72:0;;;;;;;;-1:-1:-1;;40256:72:0;;;;;;;;;;;;:::i;:::-;;;40252:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40490:6;:13;40507:1;40490:18;40486:235;;40536:40;;-1:-1:-1;;;40536:40:0;;;;;;;;;;;40486:235;40679:6;40673:13;40664:6;40660:2;40656:15;40649:38;40252:480;-1:-1:-1;;;;;;40375:55:0;-1:-1:-1;;;40375:55:0;;-1:-1:-1;40252:480:0;40072:667;;;;;;:::o;569:723::-;625:13;846:5;855:1;846:10;842:53;;-1:-1:-1;;873:10:0;;;;;;;;;;;;-1:-1:-1;;;873:10:0;;;;;569:723::o;842:53::-;920:5;905:12;961:78;968:9;;961:78;;994:8;;;;:::i;:::-;;-1:-1:-1;1017:10:0;;-1:-1:-1;1025:2:0;1017:10;;:::i;:::-;;;961:78;;;1049:19;1081:6;1071:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1071:17:0;;1049:39;;1099:154;1106:10;;1099:154;;1133:11;1143:1;1133:11;;:::i;:::-;;-1:-1:-1;1202:10:0;1210:2;1202:5;:10;:::i;:::-;1189:24;;:2;:24;:::i;:::-;1176:39;;1159:6;1166;1159:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;1159:56:0;;;;;;;;-1:-1:-1;1230:11:0;1239:2;1230:11;;:::i;:::-;;;1099:154;;31409:104;31478:27;31488:2;31492:8;31478:27;;;;;;;;;;;;31999:32;32005:2;32009:8;32019:5;32026:4;32437:20;32460:13;-1:-1:-1;;;;;32488:16:0;;32484:48;;32513:19;;-1:-1:-1;;;32513:19:0;;;;;;;;;;;32484:48;32547:8;32559:1;32547:13;32543:44;;32569:18;;-1:-1:-1;;;32569:18:0;;;;;;;;;;;32543:44;-1:-1:-1;;;;;32938:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;32997:49:0;;32938:44;;;;;;;;32997:49;;;;-1:-1:-1;;32938:44:0;;;;;;32997:49;;;;;;;;;;;;;;;;33063:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;33113:66:0;;;;-1:-1:-1;;;33163:15:0;33113:66;;;;;;;;;;33063:25;33260:23;;;33304:4;:23;;;;-1:-1:-1;;;;;;33312:13:0;;4749:19;:23;;33312:15;33300:641;;;33348:314;33379:38;;33404:12;;-1:-1:-1;;;;;33379:38:0;;;33396:1;;33379:38;;33396:1;;33379:38;33445:69;33484:1;33488:2;33492:14;;;;;;33508:5;33445:30;:69::i;:::-;33440:174;;33550:40;;-1:-1:-1;;;33550:40:0;;;;;;;;;;;33440:174;33657:3;33641:12;:19;33348:314;;33743:12;33726:13;;:29;33722:43;;33757:8;;;33722:43;33300:641;;;33806:120;33837:40;;33862:14;;;;;-1:-1:-1;;;;;33837:40:0;;;33854:1;;33837:40;;33854:1;;33837:40;33921:3;33905:12;:19;33806:120;;33300:641;-1:-1:-1;33955:13:0;:28;34005:60;30590:369;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;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;592:160::-;657:20;;713:13;;706:21;696:32;;686:60;;742:1;739;732:12;757:180;813:6;866:2;854:9;845:7;841:23;837:32;834:52;;;882:1;879;872:12;834:52;905:26;921:9;905:26;:::i;942:250::-;1027:1;1037:113;1051:6;1048:1;1045:13;1037:113;;;1127:11;;;1121:18;1108:11;;;1101:39;1073:2;1066:10;1037:113;;;-1:-1:-1;;1184:1:1;1166:16;;1159:27;942:250::o;1197:271::-;1239:3;1277:5;1271:12;1304:6;1299:3;1292:19;1320:76;1389:6;1382:4;1377:3;1373:14;1366:4;1359:5;1355:16;1320:76;:::i;:::-;1450:2;1429:15;-1:-1:-1;;1425:29:1;1416:39;;;;1457:4;1412:50;;1197:271;-1:-1:-1;;1197:271:1:o;1473:220::-;1622:2;1611:9;1604:21;1585:4;1642:45;1683:2;1672:9;1668:18;1660:6;1642:45;:::i;1698:180::-;1757:6;1810:2;1798:9;1789:7;1785:23;1781:32;1778:52;;;1826:1;1823;1816:12;1778:52;-1:-1:-1;1849:23:1;;1698:180;-1:-1:-1;1698:180:1:o;2091:131::-;-1:-1:-1;;;;;2166:31:1;;2156:42;;2146:70;;2212:1;2209;2202:12;2227:315;2295:6;2303;2356:2;2344:9;2335:7;2331:23;2327:32;2324:52;;;2372:1;2369;2362:12;2324:52;2411:9;2398:23;2430:31;2455:5;2430:31;:::i;:::-;2480:5;2532:2;2517:18;;;;2504:32;;-1:-1:-1;;;2227:315:1:o;2729:456::-;2806:6;2814;2822;2875:2;2863:9;2854:7;2850:23;2846:32;2843:52;;;2891:1;2888;2881:12;2843:52;2930:9;2917:23;2949:31;2974:5;2949:31;:::i;:::-;2999:5;-1:-1:-1;3056:2:1;3041:18;;3028:32;3069:33;3028:32;3069:33;:::i;:::-;2729:456;;3121:7;;-1:-1:-1;;;3175:2:1;3160:18;;;;3147:32;;2729:456::o;3190:247::-;3249:6;3302:2;3290:9;3281:7;3277:23;3273:32;3270:52;;;3318:1;3315;3308:12;3270:52;3357:9;3344:23;3376:31;3401:5;3376:31;:::i;3966:127::-;4027:10;4022:3;4018:20;4015:1;4008:31;4058:4;4055:1;4048:15;4082:4;4079:1;4072:15;4098:632;4163:5;4193:18;4234:2;4226:6;4223:14;4220:40;;;4240:18;;:::i;:::-;4315:2;4309:9;4283:2;4369:15;;-1:-1:-1;;4365:24:1;;;4391:2;4361:33;4357:42;4345:55;;;4415:18;;;4435:22;;;4412:46;4409:72;;;4461:18;;:::i;:::-;4501:10;4497:2;4490:22;4530:6;4521:15;;4560:6;4552;4545:22;4600:3;4591:6;4586:3;4582:16;4579:25;4576:45;;;4617:1;4614;4607:12;4576:45;4667:6;4662:3;4655:4;4647:6;4643:17;4630:44;4722:1;4715:4;4706:6;4698;4694:19;4690:30;4683:41;;;;4098:632;;;;;:::o;4735:451::-;4804:6;4857:2;4845:9;4836:7;4832:23;4828:32;4825:52;;;4873:1;4870;4863:12;4825:52;4913:9;4900:23;4946:18;4938:6;4935:30;4932:50;;;4978:1;4975;4968:12;4932:50;5001:22;;5054:4;5046:13;;5042:27;-1:-1:-1;5032:55:1;;5083:1;5080;5073:12;5032:55;5106:74;5172:7;5167:2;5154:16;5149:2;5145;5141:11;5106:74;:::i;5191:315::-;5256:6;5264;5317:2;5305:9;5296:7;5292:23;5288:32;5285:52;;;5333:1;5330;5323:12;5285:52;5372:9;5359:23;5391:31;5416:5;5391:31;:::i;:::-;5441:5;-1:-1:-1;5465:35:1;5496:2;5481:18;;5465:35;:::i;:::-;5455:45;;5191:315;;;;;:::o;5511:795::-;5606:6;5614;5622;5630;5683:3;5671:9;5662:7;5658:23;5654:33;5651:53;;;5700:1;5697;5690:12;5651:53;5739:9;5726:23;5758:31;5783:5;5758:31;:::i;:::-;5808:5;-1:-1:-1;5865:2:1;5850:18;;5837:32;5878:33;5837:32;5878:33;:::i;:::-;5930:7;-1:-1:-1;5984:2:1;5969:18;;5956:32;;-1:-1:-1;6039:2:1;6024:18;;6011:32;6066:18;6055:30;;6052:50;;;6098:1;6095;6088:12;6052:50;6121:22;;6174:4;6166:13;;6162:27;-1:-1:-1;6152:55:1;;6203:1;6200;6193:12;6152:55;6226:74;6292:7;6287:2;6274:16;6269:2;6265;6261:11;6226:74;:::i;:::-;6216:84;;;5511:795;;;;;;;:::o;6311:667::-;6406:6;6414;6422;6430;6438;6491:3;6479:9;6470:7;6466:23;6462:33;6459:53;;;6508:1;6505;6498:12;6459:53;6547:9;6534:23;6566:31;6591:5;6566:31;:::i;:::-;6616:5;-1:-1:-1;6668:2:1;6653:18;;6640:32;;-1:-1:-1;6724:2:1;6709:18;;6696:32;6737:33;6696:32;6737:33;:::i;:::-;6789:7;-1:-1:-1;6843:2:1;6828:18;;6815:32;;-1:-1:-1;6899:3:1;6884:19;;6871:33;6913;6871;6913;:::i;:::-;6965:7;6955:17;;;6311:667;;;;;;;;:::o;6983:388::-;7051:6;7059;7112:2;7100:9;7091:7;7087:23;7083:32;7080:52;;;7128:1;7125;7118:12;7080:52;7167:9;7154:23;7186:31;7211:5;7186:31;:::i;:::-;7236:5;-1:-1:-1;7293:2:1;7278:18;;7265:32;7306:33;7265:32;7306:33;:::i;:::-;7358:7;7348:17;;;6983:388;;;;;:::o;7376:615::-;7462:6;7470;7523:2;7511:9;7502:7;7498:23;7494:32;7491:52;;;7539:1;7536;7529:12;7491:52;7579:9;7566:23;7608:18;7649:2;7641:6;7638:14;7635:34;;;7665:1;7662;7655:12;7635:34;7703:6;7692:9;7688:22;7678:32;;7748:7;7741:4;7737:2;7733:13;7729:27;7719:55;;7770:1;7767;7760:12;7719:55;7810:2;7797:16;7836:2;7828:6;7825:14;7822:34;;;7852:1;7849;7842:12;7822:34;7905:7;7900:2;7890:6;7887:1;7883:14;7879:2;7875:23;7871:32;7868:45;7865:65;;;7926:1;7923;7916:12;7865:65;7957:2;7949:11;;;;;7979:6;;-1:-1:-1;7376:615:1;;-1:-1:-1;;;;7376:615:1:o;7996:356::-;8198:2;8180:21;;;8217:18;;;8210:30;8276:34;8271:2;8256:18;;8249:62;8343:2;8328:18;;7996:356::o;8357:380::-;8436:1;8432:12;;;;8479;;;8500:61;;8554:4;8546:6;8542:17;8532:27;;8500:61;8607:2;8599:6;8596:14;8576:18;8573:38;8570:161;;8653:10;8648:3;8644:20;8641:1;8634:31;8688:4;8685:1;8678:15;8716:4;8713:1;8706:15;8570:161;;8357:380;;;:::o;8742:127::-;8803:10;8798:3;8794:20;8791:1;8784:31;8834:4;8831:1;8824:15;8858:4;8855:1;8848:15;8874:127;8935:10;8930:3;8926:20;8923:1;8916:31;8966:4;8963:1;8956:15;8990:4;8987:1;8980:15;9006:135;9045:3;9066:17;;;9063:43;;9086:18;;:::i;:::-;-1:-1:-1;9133:1:1;9122:13;;9006:135::o;9855:136::-;9894:3;9922:5;9912:39;;9931:18;;:::i;:::-;-1:-1:-1;;;9967:18:1;;9855:136::o;10521:251::-;10591:6;10644:2;10632:9;10623:7;10619:23;10615:32;10612:52;;;10660:1;10657;10650:12;10612:52;10692:9;10686:16;10711:31;10736:5;10711:31;:::i;10903:545::-;11005:2;11000:3;10997:11;10994:448;;;11041:1;11066:5;11062:2;11055:17;11111:4;11107:2;11097:19;11181:2;11169:10;11165:19;11162:1;11158:27;11152:4;11148:38;11217:4;11205:10;11202:20;11199:47;;;-1:-1:-1;11240:4:1;11199:47;11295:2;11290:3;11286:12;11283:1;11279:20;11273:4;11269:31;11259:41;;11350:82;11368:2;11361:5;11358:13;11350:82;;;11413:17;;;11394:1;11383:13;11350:82;;;11354:3;;;10903:545;;;:::o;11624:1352::-;11750:3;11744:10;11777:18;11769:6;11766:30;11763:56;;;11799:18;;:::i;:::-;11828:97;11918:6;11878:38;11910:4;11904:11;11878:38;:::i;:::-;11872:4;11828:97;:::i;:::-;11980:4;;12044:2;12033:14;;12061:1;12056:663;;;;12763:1;12780:6;12777:89;;;-1:-1:-1;12832:19:1;;;12826:26;12777:89;-1:-1:-1;;11581:1:1;11577:11;;;11573:24;11569:29;11559:40;11605:1;11601:11;;;11556:57;12879:81;;12026:944;;12056:663;10850:1;10843:14;;;10887:4;10874:18;;-1:-1:-1;;12092:20:1;;;12210:236;12224:7;12221:1;12218:14;12210:236;;;12313:19;;;12307:26;12292:42;;12405:27;;;;12373:1;12361:14;;;;12240:19;;12210:236;;;12214:3;12474:6;12465:7;12462:19;12459:201;;;12535:19;;;12529:26;-1:-1:-1;;12618:1:1;12614:14;;;12630:3;12610:24;12606:37;12602:42;12587:58;12572:74;;12459:201;-1:-1:-1;;;;;12706:1:1;12690:14;;;12686:22;12673:36;;-1:-1:-1;11624:1352:1:o;13397:1187::-;13674:3;13703:1;13736:6;13730:13;13766:36;13792:9;13766:36;:::i;:::-;13821:1;13838:18;;;13865:133;;;;14012:1;14007:356;;;;13831:532;;13865:133;-1:-1:-1;;13898:24:1;;13886:37;;13971:14;;13964:22;13952:35;;13943:45;;;-1:-1:-1;13865:133:1;;14007:356;14038:6;14035:1;14028:17;14068:4;14113:2;14110:1;14100:16;14138:1;14152:165;14166:6;14163:1;14160:13;14152:165;;;14244:14;;14231:11;;;14224:35;14287:16;;;;14181:10;;14152:165;;;14156:3;;;14346:6;14341:3;14337:16;14330:23;;13831:532;;;;;14394:6;14388:13;14410:68;14469:8;14464:3;14457:4;14449:6;14445:17;14410:68;:::i;:::-;-1:-1:-1;;;14500:18:1;;14527:22;;;14576:1;14565:13;;13397:1187;-1:-1:-1;;;;13397:1187:1:o;15693:128::-;15760:9;;;15781:11;;;15778:37;;;15795:18;;:::i;17758:489::-;-1:-1:-1;;;;;18027:15:1;;;18009:34;;18079:15;;18074:2;18059:18;;18052:43;18126:2;18111:18;;18104:34;;;18174:3;18169:2;18154:18;;18147:31;;;17952:4;;18195:46;;18221:19;;18213:6;18195:46;:::i;:::-;18187:54;17758:489;-1:-1:-1;;;;;;17758:489:1:o;18252:249::-;18321:6;18374:2;18362:9;18353:7;18349:23;18345:32;18342:52;;;18390:1;18387;18380:12;18342:52;18422:9;18416:16;18441:30;18465:5;18441:30;:::i;18506:127::-;18567:10;18562:3;18558:20;18555:1;18548:31;18598:4;18595:1;18588:15;18622:4;18619:1;18612:15;18638:120;18678:1;18704;18694:35;;18709:18;;:::i;:::-;-1:-1:-1;18743:9:1;;18638:120::o;18763:112::-;18795:1;18821;18811:35;;18826:18;;:::i;:::-;-1:-1:-1;18860:9:1;;18763:112::o;18880:125::-;18945:9;;;18966:10;;;18963:36;;;18979:18;;:::i

Swarm Source

ipfs://dd97a8f4ebce5c41e1d20db52ddf0b3f2f3621e996be8c66044ba1fc70c13312
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.