Contract 0xba30E5F9Bb24caa003E9f2f0497Ad287FDF95623 8

Token Contract 
 

Contract Overview

Bored Ape Kennel Club: BAKC Token
Balance:
0 Ether

EtherValue:
$0.00

Token:
 
Txn Hash
Method
Block
From
To
Value
0x53c749d52f2555a8192aeb1fcedd766d14a47d0493dcda8b92a1485274a8a101Set Approval For...160705182022-11-28 19:16:4716 mins agoENS Name akcli.eth IN  Bored Ape Kennel Club: BAKC Token0 Ether0.00067329 14.43506343
0x7eda82222718d12d75e220308f91068ce6fb10c5dc4e94fd2fd5d681d9771911Set Approval For...160705052022-11-28 19:13:5919 mins agoENS Name akcli.eth IN  Bored Ape Kennel Club: BAKC Token0 Ether0.00057343 12.30045256
0xf46ba73d6011297a98824d34aeb1f5c61fc58da5efe3270a4f28fa7f4e62df57Set Approval For...160704862022-11-28 19:10:1123 mins ago0xabf98cde9966abf4c968786331dc1e3b8ba5809d IN  Bored Ape Kennel Club: BAKC Token0 Ether0.00063097 13.52769228
0x9809e28f944fceb58f56a53dc3a1a8cb82d41b265d63e2770b55c3e78da35743Set Approval For...160704542022-11-28 19:03:4729 mins agoENS Name fonkie.eth IN  Bored Ape Kennel Club: BAKC Token0 Ether0.00073566 15.78036894
0x472cf61fab92df020519f0c7fb0dfe0484288bd7b175fc727fcef9964143f977Safe Transfer Fr...160704172022-11-28 18:56:2337 mins ago0x8f29fb0683a118c03125d68f17f0ef76f1d645f7 IN  Bored Ape Kennel Club: BAKC Token0 Ether0.00142689 16.23258102
0x432aa92c27eee8144a1a854cc43a55bee66922b478c14a216f64abb0243ee66dSet Approval For...160704032022-11-28 18:53:3539 mins ago0x02113e8d06a7ab70bed0ca583ec441fcf4cd37f1 IN  Bored Ape Kennel Club: BAKC Token0 Ether0.00037628 15.17815565
0x24911ada73d4d1e1c5f2e75e67386b5d30060b9fa092c773d0cf198bdab88818Set Approval For...160702912022-11-28 18:30:471 hr 2 mins ago0x29a0440cf055e89cb98a7adec0c3a5ba84a4437e IN  Bored Ape Kennel Club: BAKC Token0 Ether0.00069334 14.86502654
0x3f726ee83a958a197e729382587a28f0d9f3e296f41edcce080f33b926382ef2Set Approval For...160702582022-11-28 18:24:111 hr 9 mins ago0x4e29aa61a61c38260f61fd03d26bcfd0a0ca2b46 IN  Bored Ape Kennel Club: BAKC Token0 Ether0.00068585 14.71195431
0xffbcc361c6118111b33c0d4b2636c7cf28411dbd711ca822fe0f86074e31235eSet Approval For...160701622022-11-28 18:04:471 hr 28 mins ago0x5945073fdd4edf0ed35ae69fe23015744024617a IN  Bored Ape Kennel Club: BAKC Token0 Ether0.00082901 17.75068434
0x3aa9c0d33cb02fffd801a086188213e32463d2acfd09d2792f876e44630110d3Set Approval For...160701582022-11-28 18:03:591 hr 29 mins ago0xffe4261a55f4d5ae916d1130ce4d9132f9adb262 IN  Bored Ape Kennel Club: BAKC Token0 Ether0.00074914 16.06959287
0x41ef9f11f297b89eb6591ae30664ef765d1fcb2479e9e69309b376a7e3d49225Set Approval For...160701552022-11-28 18:03:111 hr 30 mins agoENS Name yysheepsheepyy.eth IN  Bored Ape Kennel Club: BAKC Token0 Ether0.00071277 15.28930908
0xe5840eb8cbfe15f8c0bd19b04df1ad9e064131be4ad55329294a4535d0fe7a69Safe Transfer Fr...160701422022-11-28 18:00:351 hr 32 mins ago0xab1a170ec67aa0f2279ea2b0cc80a09d18abc86d IN  Bored Ape Kennel Club: BAKC Token0 Ether0.00125611 13.84871468
0xe06fd37ad592d210e36b8cce2250f85c99eedb34f113e0f755b06f3fdf1f801bSafe Transfer Fr...160701382022-11-28 17:59:471 hr 33 mins ago0xab1a170ec67aa0f2279ea2b0cc80a09d18abc86d IN  Bored Ape Kennel Club: BAKC Token0 Ether0.00108949 14.41069797
0xae6a698af16b91c13e0be2f3dd3670f11851eb7307cb00e8f294261b09af7ddeTransfer From160701192022-11-28 17:55:591 hr 37 mins agoENS Name rollbot.eth IN  Bored Ape Kennel Club: BAKC Token0 Ether0.00093913 12.92117966
0xcb841d86da54a34995ae842ec038c424452ae4ce205b8bac1e2b093077d8862eTransfer From160701192022-11-28 17:55:591 hr 37 mins agoENS Name rollbot.eth IN  Bored Ape Kennel Club: BAKC Token0 Ether0.00126933 12.92117966
0x92cec444d1a9be15b030e239fcd6ceee8452f364f3a07096eb95649200eb387fTransfer From160701172022-11-28 17:55:351 hr 37 mins agoENS Name rollbot.eth IN  Bored Ape Kennel Club: BAKC Token0 Ether0.00095724 12.6817006
0x68ba43b692350e9ecd5a1039347ad3b421ee103812e2415a59d03305c6ac7da4Transfer From160701172022-11-28 17:55:351 hr 37 mins agoENS Name rollbot.eth IN  Bored Ape Kennel Club: BAKC Token0 Ether0.00111322 12.6817006
0x9b81252de0d4fb8cd75ff7e14dec0ad777ea78a869e3577e28635b54c1d776dcTransfer From160701122022-11-28 17:54:351 hr 38 mins agoENS Name rollbot.eth IN  Bored Ape Kennel Club: BAKC Token0 Ether0.00111644 13.42901414
0xa1457b7493ec2281952770e86898510687b7e0ed2e2587ea718fbd5d58cab69fTransfer From160701122022-11-28 17:54:351 hr 38 mins agoENS Name rollbot.eth IN  Bored Ape Kennel Club: BAKC Token0 Ether0.00131922 13.42901414
0x0f5a17ca6cdfb37c60b4e3479c90ea4c80c78d59afba4897af8c8dad4b2485f3Safe Transfer Fr...160701122022-11-28 17:54:351 hr 38 mins ago0x83ca25e2809e9dbf6d1101df37a440f2ffb46f6d IN  Bored Ape Kennel Club: BAKC Token0 Ether0.00133897 14.76224215
0xfc649af4035d9df02db4564ce6fcf47f33bbc473ebfb0e32c28701a61d189016Safe Transfer Fr...160701072022-11-28 17:53:351 hr 39 mins ago0x83ca25e2809e9dbf6d1101df37a440f2ffb46f6d IN  Bored Ape Kennel Club: BAKC Token0 Ether0.00143339 14.57325973
0x604a9fbdb28cf581ab4c9504b32b96f7336d5acd80e437dea75b02a2916b0bf1Set Approval For...160700672022-11-28 17:45:351 hr 47 mins agoENS Name dorianmusic.eth IN  Bored Ape Kennel Club: BAKC Token0 Ether0.00082494 17.69543847
0xad6dff2923de3b0c7e7fb4e60a4fa2028d4adc5e81efda7822b044eedadaa203Set Approval For...160700662022-11-28 17:45:231 hr 48 mins agoENS Name dorianmusic.eth IN  Bored Ape Kennel Club: BAKC Token0 Ether0.00074246 15.89761565
0x96d3499dce2e06d278171e425500944c6413ca06f0aef0d5ac26eed0298c265dSet Approval For...160700662022-11-28 17:45:231 hr 48 mins agoENS Name dorianmusic.eth IN  Bored Ape Kennel Club: BAKC Token0 Ether0.00074151 15.89761565
0xc19de1b1b88cd6593ea5a3e202f4121c197458b1d99d8be0ae488d4d406e986aTransfer From160700582022-11-28 17:43:471 hr 49 mins agoENS Name yysheepsheepyy.eth IN  Bored Ape Kennel Club: BAKC Token0 Ether0.00169661 19.32763378
[ Download CSV Export 

OVERVIEW

The Bored Ape Kennel Club is made up of 10k Club Dog NFTs.

View more zero value Internal Transactions in Advanced View mode
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BoredApeKennelClub

Compiler Version
v0.8.3+commit.8d00100c

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-06-18
*/

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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



pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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

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



pragma solidity ^0.8.0;

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

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



pragma solidity ^0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {

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

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

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

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



pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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



pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

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



pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "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] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}

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



pragma solidity ^0.8.0;


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

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



pragma solidity ^0.8.0;








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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

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

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

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

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

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

    /**
     * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden
     * in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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



pragma solidity ^0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

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

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

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



pragma solidity ^0.8.0;



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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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



pragma solidity ^0.8.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: contracts/BoredApeKennelClub.sol


pragma solidity ^0.8.0;



abstract contract BAYC {
  function ownerOf(uint256 tokenId) public virtual view returns (address);
  function tokenOfOwnerByIndex(address owner, uint256 index) public virtual view returns (uint256);
  function balanceOf(address owner) external virtual view returns (uint256 balance);
}

contract BoredApeKennelClub is ERC721Enumerable, Ownable {  
  BAYC private bayc;

  uint constant public MAX_DOG_ADOPTION = 50;
  string public BakcProvenance;
  bool public saleIsActive = false;
  uint256 public collectionStartingIndex;
  uint256 public collectionStartingIndexBlock;
  uint256 public maxDogs;
  uint256 public setBlockTimestamp;
  uint256 public revealTimestamp;
  string private baseURI;

  constructor(
    string memory name,
    string memory symbol,
    uint256 maxNftSupply,
    uint256 saleStart,
    address dependentContractAddress
  ) ERC721(name, symbol) {
    maxDogs = maxNftSupply;
    revealTimestamp = saleStart + (86400 * 7);
    setBlockTimestamp = saleStart + (86400 * 6);
    bayc = BAYC(dependentContractAddress);
  }

  function setRevealTimestamp(uint256 revealTimeStamp) public onlyOwner {
    revealTimestamp = revealTimeStamp;
  }

  function setStartingBlockTimestamp(uint256 startingBlockTimestamp) public onlyOwner {
    setBlockTimestamp = startingBlockTimestamp;
  }

  function setProvenanceHash(string memory provenanceHash) public onlyOwner {
    BakcProvenance = provenanceHash;
  }

  function isMinted(uint256 tokenId) external view returns (bool) {
    require(tokenId < maxDogs, "tokenId outside collection bounds");

    return _exists(tokenId);
  }

  function _baseURI() internal view override returns (string memory) {
    return baseURI;
  }
  
  function setBaseURI(string memory uri) public onlyOwner {
    baseURI = uri;
  }

  function flipSaleState() public onlyOwner {
    saleIsActive = !saleIsActive;
  }

  function trySetStartingIndexBlock() private {
    if (
      collectionStartingIndexBlock == 0 &&
      (totalSupply() == maxDogs || block.timestamp >= setBlockTimestamp)
    ) {
      collectionStartingIndexBlock = block.number;
    }
  }

  /**
    * DM Gordy in Discord that you've got a cure for his bAby MoUtH.
    */
  function adoptDog(uint256 baycTokenId) public {
    require(saleIsActive, "Sale must be active to mint a Dog");
    require(totalSupply() < maxDogs, "Purchase would exceed max supply of Dogs");
    require(baycTokenId < maxDogs, "Requested tokenId exceeds upper bound");
    require(bayc.ownerOf(baycTokenId) == msg.sender, "Must own the Bored Ape for requested tokenId to mint a Dog");
    
    _safeMint(msg.sender, baycTokenId);
    trySetStartingIndexBlock();
  }

  /**
    * DM Garga in Discord, ask him if he's done his pushups
    */
  function adoptNDogs(uint256 startingIndex, uint256 numDogs) public {
    require(saleIsActive, "Sale must be active to mint a Dog");
    require(numDogs > 0, "Must adopt at least one dog");
    require(numDogs <= MAX_DOG_ADOPTION, "Cannot adopt more than fifty dogs at once");
    uint balance = bayc.balanceOf(msg.sender);
    require(balance > 0, "Must hold at least one Ape to mint a Dog");
    require(balance >= startingIndex + numDogs, "Must hold at least as many Apes as the number of Dogs you intend to mint");

    for(uint i = 0; i < balance && i < numDogs && i < MAX_DOG_ADOPTION; i++) {
      require(totalSupply() < maxDogs, "Cannot exceed max supply of Dogs.");
      uint tokenId = bayc.tokenOfOwnerByIndex(msg.sender, i + startingIndex);
      if (!_exists(tokenId)) {
        _safeMint(msg.sender, tokenId);
      }
    }

    trySetStartingIndexBlock();
  }

  /**
    * Set the starting index for the collection
    */
  function setStartingIndex() public {
    require(collectionStartingIndex == 0, "Starting index is already set");
    require(collectionStartingIndexBlock != 0, "Starting index block must be set");
    require(
      block.timestamp >= revealTimestamp || totalSupply() == maxDogs, 
      "Must be on or after the reveal time to set starting index"
    );

    collectionStartingIndex = uint256(blockhash(collectionStartingIndexBlock)) % maxDogs;

    // Just a sanity case in the worst case if this function is called late (EVM only stores last 256 block hashes)
    if ((block.number - collectionStartingIndexBlock) > 255) {
      collectionStartingIndex = uint256(blockhash(block.number - 1)) % maxDogs;
    }

    // Prevent default sequence
    if (collectionStartingIndex == 0) {
      collectionStartingIndex = collectionStartingIndex + 1;
    }
  }

  /**
    * Set the starting index block for the collection, essentially unblocking
    * setting starting index
    */
  function emergencySetStartingIndexBlock() public onlyOwner {
    require(collectionStartingIndexBlock == 0, "Starting index block is already set");
    require(collectionStartingIndex == 0, "Starting index is already set");

    collectionStartingIndexBlock = block.number;
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"maxNftSupply","type":"uint256"},{"internalType":"uint256","name":"saleStart","type":"uint256"},{"internalType":"address","name":"dependentContractAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BakcProvenance","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_DOG_ADOPTION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"baycTokenId","type":"uint256"}],"name":"adoptDog","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"startingIndex","type":"uint256"},{"internalType":"uint256","name":"numDogs","type":"uint256"}],"name":"adoptNDogs","outputs":[],"stateMutability":"nonpayable","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":"collectionStartingIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectionStartingIndexBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emergencySetStartingIndexBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"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":"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":"tokenId","type":"uint256"}],"name":"isMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxDogs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setBlockTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"revealTimeStamp","type":"uint256"}],"name":"setRevealTimestamp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"startingBlockTimestamp","type":"uint256"}],"name":"setStartingBlockTimestamp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStartingIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600d60006101000a81548160ff0219169083151502179055503480156200002c57600080fd5b506040516200533338038062005333833981810160405281019062000052919062000312565b848481600090805190602001906200006c929190620001c2565b50806001908051906020019062000085929190620001c2565b50505060006200009a620001ba60201b60201c565b905080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3508260108190555062093a808262000151919062000425565b6012819055506207e9008262000168919062000425565b60118190555080600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050505062000634565b600033905090565b828054620001d090620004f6565b90600052602060002090601f016020900481019282620001f4576000855562000240565b82601f106200020f57805160ff191683800117855562000240565b8280016001018555821562000240579182015b828111156200023f57825182559160200191906001019062000222565b5b5090506200024f919062000253565b5090565b5b808211156200026e57600081600090555060010162000254565b5090565b6000620002896200028384620003ef565b620003c6565b905082815260208101848484011115620002a257600080fd5b620002af848285620004c0565b509392505050565b600081519050620002c88162000600565b92915050565b600082601f830112620002e057600080fd5b8151620002f284826020860162000272565b91505092915050565b6000815190506200030c816200061a565b92915050565b600080600080600060a086880312156200032b57600080fd5b600086015167ffffffffffffffff8111156200034657600080fd5b6200035488828901620002ce565b955050602086015167ffffffffffffffff8111156200037257600080fd5b6200038088828901620002ce565b94505060406200039388828901620002fb565b9350506060620003a688828901620002fb565b9250506080620003b988828901620002b7565b9150509295509295909350565b6000620003d2620003e5565b9050620003e082826200052c565b919050565b6000604051905090565b600067ffffffffffffffff8211156200040d576200040c620005c0565b5b6200041882620005ef565b9050602081019050919050565b60006200043282620004b6565b91506200043f83620004b6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000477576200047662000562565b5b828201905092915050565b60006200048f8262000496565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b83811015620004e0578082015181840152602081019050620004c3565b83811115620004f0576000848401525b50505050565b600060028204905060018216806200050f57607f821691505b6020821081141562000526576200052562000591565b5b50919050565b6200053782620005ef565b810181811067ffffffffffffffff82111715620005595762000558620005c0565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6200060b8162000482565b81146200061757600080fd5b50565b6200062581620004b6565b81146200063157600080fd5b50565b614cef80620006446000396000f3fe608060405234801561001057600080fd5b50600436106102275760003560e01c80636352211e11610130578063a22cb465116100b8578063e985e9c51161007c578063e985e9c51461062a578063e98665501461065a578063eb8d244414610664578063f2fde38b14610682578063f62f3c111461069e57610227565b8063a22cb46514610588578063b88d4fde146105a4578063bc8a04a8146105c0578063c242452d146105de578063c87b56dd146105fa57610227565b806380a57af9116100ff57806380a57af9146104f4578063818aa553146105125780638b3cf722146105305780638da5cb5b1461054c57806395d89b411461056a57610227565b80636352211e1461048057806370a08231146104b0578063715018a6146104e05780637d17fcbe146104ea57610227565b80632f2eda31116101b35780633a66cc67116101825780633a66cc67146103de57806342842e0e146103fa5780634f6ccce71461041657806355f804b3146104465780635665af131461046257610227565b80632f2eda31146103565780632f745c591461037457806333c41a90146103a457806334918dfd146103d457610227565b8063095ea7b3116101fa578063095ea7b3146102c657806310969523146102e257806318160ddd146102fe57806323b872dd1461031c57806329a58d481461033857610227565b8063018a2c371461022c57806301ffc9a71461024857806306fdde0314610278578063081812fc14610296575b600080fd5b610246600480360381019061024191906134b2565b6106bc565b005b610262600480360381019061025d919061341f565b610742565b60405161026f9190613b24565b60405180910390f35b6102806107bc565b60405161028d9190613b3f565b60405180910390f35b6102b060048036038101906102ab91906134b2565b61084e565b6040516102bd9190613a94565b60405180910390f35b6102e060048036038101906102db91906133e3565b6108d3565b005b6102fc60048036038101906102f79190613471565b6109eb565b005b610306610a81565b6040516103139190613f61565b60405180910390f35b610336600480360381019061033191906132dd565b610a8e565b005b610340610aee565b60405161034d9190613f61565b60405180910390f35b61035e610af4565b60405161036b9190613f61565b60405180910390f35b61038e600480360381019061038991906133e3565b610afa565b60405161039b9190613f61565b60405180910390f35b6103be60048036038101906103b991906134b2565b610b9f565b6040516103cb9190613b24565b60405180910390f35b6103dc610bf5565b005b6103f860048036038101906103f391906134b2565b610c9d565b005b610414600480360381019061040f91906132dd565b610d23565b005b610430600480360381019061042b91906134b2565b610d43565b60405161043d9190613f61565b60405180910390f35b610460600480360381019061045b9190613471565b610dda565b005b61046a610e70565b6040516104779190613f61565b60405180910390f35b61049a600480360381019061049591906134b2565b610e76565b6040516104a79190613a94565b60405180910390f35b6104ca60048036038101906104c5919061324f565b610f28565b6040516104d79190613f61565b60405180910390f35b6104e8610fe0565b005b6104f261111d565b005b6104fc61122c565b6040516105099190613f61565b60405180910390f35b61051a611231565b6040516105279190613f61565b60405180910390f35b61054a60048036038101906105459190613504565b611237565b005b6105546115b0565b6040516105619190613a94565b60405180910390f35b6105726115da565b60405161057f9190613b3f565b60405180910390f35b6105a2600480360381019061059d91906133a7565b61166c565b005b6105be60048036038101906105b9919061332c565b6117ed565b005b6105c861184f565b6040516105d59190613b3f565b60405180910390f35b6105f860048036038101906105f391906134b2565b6118dd565b005b610614600480360381019061060f91906134b2565b611ae8565b6040516106219190613b3f565b60405180910390f35b610644600480360381019061063f91906132a1565b611b8f565b6040516106519190613b24565b60405180910390f35b610662611c23565b005b61066c611d7e565b6040516106799190613b24565b60405180910390f35b61069c6004803603810190610697919061324f565b611d91565b005b6106a6611f3d565b6040516106b39190613f61565b60405180910390f35b6106c4611f43565b73ffffffffffffffffffffffffffffffffffffffff166106e26115b0565b73ffffffffffffffffffffffffffffffffffffffff1614610738576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072f90613de1565b60405180910390fd5b8060128190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107b557506107b482611f4b565b5b9050919050565b6060600080546107cb906141b7565b80601f01602080910402602001604051908101604052809291908181526020018280546107f7906141b7565b80156108445780601f1061081957610100808354040283529160200191610844565b820191906000526020600020905b81548152906001019060200180831161082757829003601f168201915b5050505050905090565b60006108598261202d565b610898576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088f90613da1565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108de82610e76565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561094f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094690613ec1565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661096e611f43565b73ffffffffffffffffffffffffffffffffffffffff16148061099d575061099c81610997611f43565b611b8f565b5b6109dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d390613d01565b60405180910390fd5b6109e68383612099565b505050565b6109f3611f43565b73ffffffffffffffffffffffffffffffffffffffff16610a116115b0565b73ffffffffffffffffffffffffffffffffffffffff1614610a67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5e90613de1565b60405180910390fd5b80600c9080519060200190610a7d929190613049565b5050565b6000600880549050905090565b610a9f610a99611f43565b82612152565b610ade576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad590613f01565b60405180910390fd5b610ae9838383612230565b505050565b600e5481565b600f5481565b6000610b0583610f28565b8210610b46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3d90613b61565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60006010548210610be5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bdc90613e81565b60405180910390fd5b610bee8261202d565b9050919050565b610bfd611f43565b73ffffffffffffffffffffffffffffffffffffffff16610c1b6115b0565b73ffffffffffffffffffffffffffffffffffffffff1614610c71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6890613de1565b60405180910390fd5b600d60009054906101000a900460ff1615600d60006101000a81548160ff021916908315150217905550565b610ca5611f43565b73ffffffffffffffffffffffffffffffffffffffff16610cc36115b0565b73ffffffffffffffffffffffffffffffffffffffff1614610d19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1090613de1565b60405180910390fd5b8060118190555050565b610d3e838383604051806020016040528060008152506117ed565b505050565b6000610d4d610a81565b8210610d8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8590613f21565b60405180910390fd5b60088281548110610dc8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b610de2611f43565b73ffffffffffffffffffffffffffffffffffffffff16610e006115b0565b73ffffffffffffffffffffffffffffffffffffffff1614610e56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4d90613de1565b60405180910390fd5b8060139080519060200190610e6c929190613049565b5050565b60105481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1690613d41565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9090613d21565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610fe8611f43565b73ffffffffffffffffffffffffffffffffffffffff166110066115b0565b73ffffffffffffffffffffffffffffffffffffffff161461105c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105390613de1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b611125611f43565b73ffffffffffffffffffffffffffffffffffffffff166111436115b0565b73ffffffffffffffffffffffffffffffffffffffff1614611199576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119090613de1565b60405180910390fd5b6000600f54146111de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d590613e21565b60405180910390fd5b6000600e5414611223576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121a90613cc1565b60405180910390fd5b43600f81905550565b603281565b60115481565b600d60009054906101000a900460ff16611286576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127d90613be1565b60405180910390fd5b600081116112c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c090613e01565b60405180910390fd5b603281111561130d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130490613ea1565b60405180910390fd5b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161136a9190613a94565b60206040518083038186803b15801561138257600080fd5b505afa158015611396573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ba91906134db565b9050600081116113ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f690613c81565b60405180910390fd5b818361140b9190614046565b81101561144d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144490613f41565b60405180910390fd5b60005b818110801561145e57508281105b801561146a5750603281105b156115a25760105461147a610a81565b106114ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b190613d61565b60405180910390fd5b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c593387856115079190614046565b6040518363ffffffff1660e01b8152600401611524929190613afb565b60206040518083038186803b15801561153c57600080fd5b505afa158015611550573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061157491906134db565b905061157f8161202d565b61158e5761158d338261248c565b5b50808061159a9061421a565b915050611450565b506115ab6124aa565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546115e9906141b7565b80601f0160208091040260200160405190810160405280929190818152602001828054611615906141b7565b80156116625780601f1061163757610100808354040283529160200191611662565b820191906000526020600020905b81548152906001019060200180831161164557829003601f168201915b5050505050905090565b611674611f43565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d990613c21565b60405180910390fd5b80600560006116ef611f43565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661179c611f43565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516117e19190613b24565b60405180910390a35050565b6117fe6117f8611f43565b83612152565b61183d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183490613f01565b60405180910390fd5b611849848484846124e0565b50505050565b600c805461185c906141b7565b80601f0160208091040260200160405190810160405280929190818152602001828054611888906141b7565b80156118d55780601f106118aa576101008083540402835291602001916118d5565b820191906000526020600020905b8154815290600101906020018083116118b857829003601f168201915b505050505081565b600d60009054906101000a900460ff1661192c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192390613be1565b60405180910390fd5b601054611937610a81565b10611977576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196e90613ca1565b60405180910390fd5b60105481106119bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b290613ce1565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401611a2d9190613f61565b60206040518083038186803b158015611a4557600080fd5b505afa158015611a59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a7d9190613278565b73ffffffffffffffffffffffffffffffffffffffff1614611ad3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aca90613dc1565b60405180910390fd5b611add338261248c565b611ae56124aa565b50565b6060611af38261202d565b611b32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2990613e61565b60405180910390fd5b6000611b3c61253c565b90506000815111611b5c5760405180602001604052806000815250611b87565b80611b66846125ce565b604051602001611b77929190613a70565b6040516020818303038152906040525b915050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000600e5414611c68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5f90613cc1565b60405180910390fd5b6000600f541415611cae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca590613ee1565b60405180910390fd5b60125442101580611cc75750601054611cc5610a81565b145b611d06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfd90613c41565b60405180910390fd5b601054600f544060001c611d1a9190614263565b600e8190555060ff600f5443611d3091906140cd565b1115611d5b57601054600143611d4691906140cd565b4060001c611d549190614263565b600e819055505b6000600e541415611d7c576001600e54611d759190614046565b600e819055505b565b600d60009054906101000a900460ff1681565b611d99611f43565b73ffffffffffffffffffffffffffffffffffffffff16611db76115b0565b73ffffffffffffffffffffffffffffffffffffffff1614611e0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0490613de1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7490613ba1565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60125481565b600033905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061201657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061202657506120258261277b565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661210c83610e76565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061215d8261202d565b61219c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219390613c61565b60405180910390fd5b60006121a783610e76565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061221657508373ffffffffffffffffffffffffffffffffffffffff166121fe8461084e565b73ffffffffffffffffffffffffffffffffffffffff16145b8061222757506122268185611b8f565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661225082610e76565b73ffffffffffffffffffffffffffffffffffffffff16146122a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229d90613e41565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612316576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230d90613c01565b60405180910390fd5b6123218383836127e5565b61232c600082612099565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461237c91906140cd565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123d39190614046565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6124a68282604051806020016040528060008152506128f9565b5050565b6000600f541480156124d157506010546124c2610a81565b14806124d057506011544210155b5b156124de5743600f819055505b565b6124eb848484612230565b6124f784848484612954565b612536576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252d90613b81565b60405180910390fd5b50505050565b60606013805461254b906141b7565b80601f0160208091040260200160405190810160405280929190818152602001828054612577906141b7565b80156125c45780601f10612599576101008083540402835291602001916125c4565b820191906000526020600020905b8154815290600101906020018083116125a757829003601f168201915b5050505050905090565b60606000821415612616576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612776565b600082905060005b600082146126485780806126319061421a565b915050600a82612641919061409c565b915061261e565b60008167ffffffffffffffff81111561268a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156126bc5781602001600182028036833780820191505090505b5090505b6000851461276f576001826126d591906140cd565b9150600a856126e49190614263565b60306126f09190614046565b60f81b81838151811061272c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612768919061409c565b94506126c0565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6127f0838383612aeb565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156128335761282e81612af0565b612872565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612871576128708382612b39565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128b5576128b081612ca6565b6128f4565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146128f3576128f28282612de9565b5b5b505050565b6129038383612e68565b6129106000848484612954565b61294f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294690613b81565b60405180910390fd5b505050565b60006129758473ffffffffffffffffffffffffffffffffffffffff16613036565b15612ade578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261299e611f43565b8786866040518563ffffffff1660e01b81526004016129c09493929190613aaf565b602060405180830381600087803b1580156129da57600080fd5b505af1925050508015612a0b57506040513d601f19601f82011682018060405250810190612a089190613448565b60015b612a8e573d8060008114612a3b576040519150601f19603f3d011682016040523d82523d6000602084013e612a40565b606091505b50600081511415612a86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7d90613b81565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ae3565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612b4684610f28565b612b5091906140cd565b9050600060076000848152602001908152602001600020549050818114612c35576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612cba91906140cd565b9050600060096000848152602001908152602001600020549050600060088381548110612d10577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612d58577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612dcd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612df483610f28565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ed8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ecf90613d81565b60405180910390fd5b612ee18161202d565b15612f21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1890613bc1565b60405180910390fd5b612f2d600083836127e5565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f7d9190614046565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054613055906141b7565b90600052602060002090601f01602090048101928261307757600085556130be565b82601f1061309057805160ff19168380011785556130be565b828001600101855582156130be579182015b828111156130bd5782518255916020019190600101906130a2565b5b5090506130cb91906130cf565b5090565b5b808211156130e85760008160009055506001016130d0565b5090565b60006130ff6130fa84613fa1565b613f7c565b90508281526020810184848401111561311757600080fd5b613122848285614175565b509392505050565b600061313d61313884613fd2565b613f7c565b90508281526020810184848401111561315557600080fd5b613160848285614175565b509392505050565b60008135905061317781614c5d565b92915050565b60008151905061318c81614c5d565b92915050565b6000813590506131a181614c74565b92915050565b6000813590506131b681614c8b565b92915050565b6000815190506131cb81614c8b565b92915050565b600082601f8301126131e257600080fd5b81356131f28482602086016130ec565b91505092915050565b600082601f83011261320c57600080fd5b813561321c84826020860161312a565b91505092915050565b60008135905061323481614ca2565b92915050565b60008151905061324981614ca2565b92915050565b60006020828403121561326157600080fd5b600061326f84828501613168565b91505092915050565b60006020828403121561328a57600080fd5b60006132988482850161317d565b91505092915050565b600080604083850312156132b457600080fd5b60006132c285828601613168565b92505060206132d385828601613168565b9150509250929050565b6000806000606084860312156132f257600080fd5b600061330086828701613168565b935050602061331186828701613168565b925050604061332286828701613225565b9150509250925092565b6000806000806080858703121561334257600080fd5b600061335087828801613168565b945050602061336187828801613168565b935050604061337287828801613225565b925050606085013567ffffffffffffffff81111561338f57600080fd5b61339b878288016131d1565b91505092959194509250565b600080604083850312156133ba57600080fd5b60006133c885828601613168565b92505060206133d985828601613192565b9150509250929050565b600080604083850312156133f657600080fd5b600061340485828601613168565b925050602061341585828601613225565b9150509250929050565b60006020828403121561343157600080fd5b600061343f848285016131a7565b91505092915050565b60006020828403121561345a57600080fd5b6000613468848285016131bc565b91505092915050565b60006020828403121561348357600080fd5b600082013567ffffffffffffffff81111561349d57600080fd5b6134a9848285016131fb565b91505092915050565b6000602082840312156134c457600080fd5b60006134d284828501613225565b91505092915050565b6000602082840312156134ed57600080fd5b60006134fb8482850161323a565b91505092915050565b6000806040838503121561351757600080fd5b600061352585828601613225565b925050602061353685828601613225565b9150509250929050565b61354981614101565b82525050565b61355881614113565b82525050565b600061356982614003565b6135738185614019565b9350613583818560208601614184565b61358c81614350565b840191505092915050565b60006135a28261400e565b6135ac818561402a565b93506135bc818560208601614184565b6135c581614350565b840191505092915050565b60006135db8261400e565b6135e5818561403b565b93506135f5818560208601614184565b80840191505092915050565b600061360e602b8361402a565b915061361982614361565b604082019050919050565b600061363160328361402a565b915061363c826143b0565b604082019050919050565b600061365460268361402a565b915061365f826143ff565b604082019050919050565b6000613677601c8361402a565b91506136828261444e565b602082019050919050565b600061369a60218361402a565b91506136a582614477565b604082019050919050565b60006136bd60248361402a565b91506136c8826144c6565b604082019050919050565b60006136e060198361402a565b91506136eb82614515565b602082019050919050565b600061370360398361402a565b915061370e8261453e565b604082019050919050565b6000613726602c8361402a565b91506137318261458d565b604082019050919050565b600061374960288361402a565b9150613754826145dc565b604082019050919050565b600061376c60288361402a565b91506137778261462b565b604082019050919050565b600061378f601d8361402a565b915061379a8261467a565b602082019050919050565b60006137b260258361402a565b91506137bd826146a3565b604082019050919050565b60006137d560388361402a565b91506137e0826146f2565b604082019050919050565b60006137f8602a8361402a565b915061380382614741565b604082019050919050565b600061381b60298361402a565b915061382682614790565b604082019050919050565b600061383e60218361402a565b9150613849826147df565b604082019050919050565b600061386160208361402a565b915061386c8261482e565b602082019050919050565b6000613884602c8361402a565b915061388f82614857565b604082019050919050565b60006138a7603a8361402a565b91506138b2826148a6565b604082019050919050565b60006138ca60208361402a565b91506138d5826148f5565b602082019050919050565b60006138ed601b8361402a565b91506138f88261491e565b602082019050919050565b600061391060238361402a565b915061391b82614947565b604082019050919050565b600061393360298361402a565b915061393e82614996565b604082019050919050565b6000613956602f8361402a565b9150613961826149e5565b604082019050919050565b600061397960218361402a565b915061398482614a34565b604082019050919050565b600061399c60298361402a565b91506139a782614a83565b604082019050919050565b60006139bf60218361402a565b91506139ca82614ad2565b604082019050919050565b60006139e260208361402a565b91506139ed82614b21565b602082019050919050565b6000613a0560318361402a565b9150613a1082614b4a565b604082019050919050565b6000613a28602c8361402a565b9150613a3382614b99565b604082019050919050565b6000613a4b60488361402a565b9150613a5682614be8565b606082019050919050565b613a6a8161416b565b82525050565b6000613a7c82856135d0565b9150613a8882846135d0565b91508190509392505050565b6000602082019050613aa96000830184613540565b92915050565b6000608082019050613ac46000830187613540565b613ad16020830186613540565b613ade6040830185613a61565b8181036060830152613af0818461355e565b905095945050505050565b6000604082019050613b106000830185613540565b613b1d6020830184613a61565b9392505050565b6000602082019050613b39600083018461354f565b92915050565b60006020820190508181036000830152613b598184613597565b905092915050565b60006020820190508181036000830152613b7a81613601565b9050919050565b60006020820190508181036000830152613b9a81613624565b9050919050565b60006020820190508181036000830152613bba81613647565b9050919050565b60006020820190508181036000830152613bda8161366a565b9050919050565b60006020820190508181036000830152613bfa8161368d565b9050919050565b60006020820190508181036000830152613c1a816136b0565b9050919050565b60006020820190508181036000830152613c3a816136d3565b9050919050565b60006020820190508181036000830152613c5a816136f6565b9050919050565b60006020820190508181036000830152613c7a81613719565b9050919050565b60006020820190508181036000830152613c9a8161373c565b9050919050565b60006020820190508181036000830152613cba8161375f565b9050919050565b60006020820190508181036000830152613cda81613782565b9050919050565b60006020820190508181036000830152613cfa816137a5565b9050919050565b60006020820190508181036000830152613d1a816137c8565b9050919050565b60006020820190508181036000830152613d3a816137eb565b9050919050565b60006020820190508181036000830152613d5a8161380e565b9050919050565b60006020820190508181036000830152613d7a81613831565b9050919050565b60006020820190508181036000830152613d9a81613854565b9050919050565b60006020820190508181036000830152613dba81613877565b9050919050565b60006020820190508181036000830152613dda8161389a565b9050919050565b60006020820190508181036000830152613dfa816138bd565b9050919050565b60006020820190508181036000830152613e1a816138e0565b9050919050565b60006020820190508181036000830152613e3a81613903565b9050919050565b60006020820190508181036000830152613e5a81613926565b9050919050565b60006020820190508181036000830152613e7a81613949565b9050919050565b60006020820190508181036000830152613e9a8161396c565b9050919050565b60006020820190508181036000830152613eba8161398f565b9050919050565b60006020820190508181036000830152613eda816139b2565b9050919050565b60006020820190508181036000830152613efa816139d5565b9050919050565b60006020820190508181036000830152613f1a816139f8565b9050919050565b60006020820190508181036000830152613f3a81613a1b565b9050919050565b60006020820190508181036000830152613f5a81613a3e565b9050919050565b6000602082019050613f766000830184613a61565b92915050565b6000613f86613f97565b9050613f9282826141e9565b919050565b6000604051905090565b600067ffffffffffffffff821115613fbc57613fbb614321565b5b613fc582614350565b9050602081019050919050565b600067ffffffffffffffff821115613fed57613fec614321565b5b613ff682614350565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006140518261416b565b915061405c8361416b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561409157614090614294565b5b828201905092915050565b60006140a78261416b565b91506140b28361416b565b9250826140c2576140c16142c3565b5b828204905092915050565b60006140d88261416b565b91506140e38361416b565b9250828210156140f6576140f5614294565b5b828203905092915050565b600061410c8261414b565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156141a2578082015181840152602081019050614187565b838111156141b1576000848401525b50505050565b600060028204905060018216806141cf57607f821691505b602082108114156141e3576141e26142f2565b5b50919050565b6141f282614350565b810181811067ffffffffffffffff8211171561421157614210614321565b5b80604052505050565b60006142258261416b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561425857614257614294565b5b600182019050919050565b600061426e8261416b565b91506142798361416b565b925082614289576142886142c3565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f53616c65206d7573742062652061637469766520746f206d696e74206120446f60008201527f6700000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4d757374206265206f6e206f72206166746572207468652072657665616c207460008201527f696d6520746f20736574207374617274696e6720696e64657800000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4d75737420686f6c64206174206c65617374206f6e652041706520746f206d6960008201527f6e74206120446f67000000000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f6620446f6773000000000000000000000000000000000000000000000000602082015250565b7f5374617274696e6720696e64657820697320616c726561647920736574000000600082015250565b7f52657175657374656420746f6b656e496420657863656564732075707065722060008201527f626f756e64000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f43616e6e6f7420657863656564206d617820737570706c79206f6620446f677360008201527f2e00000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4d757374206f776e2074686520426f7265642041706520666f7220726571756560008201527f7374656420746f6b656e496420746f206d696e74206120446f67000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4d7573742061646f7074206174206c65617374206f6e6520646f670000000000600082015250565b7f5374617274696e6720696e64657820626c6f636b20697320616c72656164792060008201527f7365740000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f746f6b656e4964206f75747369646520636f6c6c656374696f6e20626f756e6460008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f43616e6e6f742061646f7074206d6f7265207468616e20666966747920646f6760008201527f73206174206f6e63650000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f5374617274696e6720696e64657820626c6f636b206d75737420626520736574600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4d75737420686f6c64206174206c65617374206173206d616e7920417065732060008201527f617320746865206e756d626572206f6620446f677320796f7520696e74656e6460208201527f20746f206d696e74000000000000000000000000000000000000000000000000604082015250565b614c6681614101565b8114614c7157600080fd5b50565b614c7d81614113565b8114614c8857600080fd5b50565b614c948161411f565b8114614c9f57600080fd5b50565b614cab8161416b565b8114614cb657600080fd5b5056fea264697066735822122024fd74c5a3c5a2be4c7eeaa08601106a14120487d5ae1c066b4b9e2ff148883964736f6c6343000803003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000027100000000000000000000000000000000000000000000000000000000060ccfe63000000000000000000000000bc4ca0eda7647a8ab7c2061c2e118a18a936f13d0000000000000000000000000000000000000000000000000000000000000012426f7265644170654b656e6e656c436c75620000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000442414b4300000000000000000000000000000000000000000000000000000000

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

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000027100000000000000000000000000000000000000000000000000000000060ccfe63000000000000000000000000bc4ca0eda7647a8ab7c2061c2e118a18a936f13d0000000000000000000000000000000000000000000000000000000000000012426f7265644170654b656e6e656c436c75620000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000442414b4300000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): BoredApeKennelClub
Arg [1] : symbol (string): BAKC
Arg [2] : maxNftSupply (uint256): 10000
Arg [3] : saleStart (uint256): 1624047203
Arg [4] : dependentContractAddress (address): 0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [3] : 0000000000000000000000000000000000000000000000000000000060ccfe63
Arg [4] : 000000000000000000000000bc4ca0eda7647a8ab7c2061c2e118a18a936f13d
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [6] : 426f7265644170654b656e6e656c436c75620000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [8] : 42414b4300000000000000000000000000000000000000000000000000000000


Deployed ByteCode Sourcemap

43122:4779:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43909:116;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;34324:237;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;21529:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;22989:221;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;22526:397;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;44176:118;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;34977:113;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;23879:305;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;43327:38;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;43370:43;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;34645:256;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;44300:172;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;44668:83;;;:::i;:::-;;44031:139;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;24255:151;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;35167:233;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;44580:82;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;43418:22;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;21223:239;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;20953:208;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;42196:148;;;:::i;:::-;;47616:282;;;:::i;:::-;;43210:42;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;43445:32;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;45651:892;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;41545:87;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;21698:104;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;23282:295;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;24477:285;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;43257:28;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;45094:475;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;21873:360;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;23648:164;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;46613:873;;;:::i;:::-;;43290:32;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;42499:244;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;43482:30;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;43909:116;41776:12;:10;:12::i;:::-;41765:23;;:7;:5;:7::i;:::-;:23;;;41757:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;44004:15:::1;43986;:33;;;;43909:116:::0;:::o;34324:237::-;34426:4;34465:35;34450:50;;;:11;:50;;;;:103;;;;34517:36;34541:11;34517:23;:36::i;:::-;34450:103;34443:110;;34324:237;;;:::o;21529:100::-;21583:13;21616:5;21609:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21529:100;:::o;22989:221::-;23065:7;23093:16;23101:7;23093;:16::i;:::-;23085:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;23178:15;:24;23194:7;23178:24;;;;;;;;;;;;;;;;;;;;;23171:31;;22989:221;;;:::o;22526:397::-;22607:13;22623:23;22638:7;22623:14;:23::i;:::-;22607:39;;22671:5;22665:11;;:2;:11;;;;22657:57;;;;;;;;;;;;:::i;:::-;;;;;;;;;22751:5;22735:21;;:12;:10;:12::i;:::-;:21;;;:62;;;;22760:37;22777:5;22784:12;:10;:12::i;:::-;22760:16;:37::i;:::-;22735:62;22727:154;;;;;;;;;;;;:::i;:::-;;;;;;;;;22894:21;22903:2;22907:7;22894:8;:21::i;:::-;22526:397;;;:::o;44176:118::-;41776:12;:10;:12::i;:::-;41765:23;;:7;:5;:7::i;:::-;:23;;;41757:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;44274:14:::1;44257;:31;;;;;;;;;;;;:::i;:::-;;44176:118:::0;:::o;34977:113::-;35038:7;35065:10;:17;;;;35058:24;;34977:113;:::o;23879:305::-;24040:41;24059:12;:10;:12::i;:::-;24073:7;24040:18;:41::i;:::-;24032:103;;;;;;;;;;;;:::i;:::-;;;;;;;;;24148:28;24158:4;24164:2;24168:7;24148:9;:28::i;:::-;23879:305;;;:::o;43327:38::-;;;;:::o;43370:43::-;;;;:::o;34645:256::-;34742:7;34778:23;34795:5;34778:16;:23::i;:::-;34770:5;:31;34762:87;;;;;;;;;;;;:::i;:::-;;;;;;;;;34867:12;:19;34880:5;34867:19;;;;;;;;;;;;;;;:26;34887:5;34867:26;;;;;;;;;;;;34860:33;;34645:256;;;;:::o;44300:172::-;44358:4;44389:7;;44379;:17;44371:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;44450:16;44458:7;44450;:16::i;:::-;44443:23;;44300:172;;;:::o;44668:83::-;41776:12;:10;:12::i;:::-;41765:23;;:7;:5;:7::i;:::-;:23;;;41757:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;44733:12:::1;;;;;;;;;;;44732:13;44717:12;;:28;;;;;;;;;;;;;;;;;;44668:83::o:0;44031:139::-;41776:12;:10;:12::i;:::-;41765:23;;:7;:5;:7::i;:::-;:23;;;41757:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;44142:22:::1;44122:17;:42;;;;44031:139:::0;:::o;24255:151::-;24359:39;24376:4;24382:2;24386:7;24359:39;;;;;;;;;;;;:16;:39::i;:::-;24255:151;;;:::o;35167:233::-;35242:7;35278:30;:28;:30::i;:::-;35270:5;:38;35262:95;;;;;;;;;;;;:::i;:::-;;;;;;;;;35375:10;35386:5;35375:17;;;;;;;;;;;;;;;;;;;;;;;;35368:24;;35167:233;;;:::o;44580:82::-;41776:12;:10;:12::i;:::-;41765:23;;:7;:5;:7::i;:::-;:23;;;41757:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;44653:3:::1;44643:7;:13;;;;;;;;;;;;:::i;:::-;;44580:82:::0;:::o;43418:22::-;;;;:::o;21223:239::-;21295:7;21315:13;21331:7;:16;21339:7;21331:16;;;;;;;;;;;;;;;;;;;;;21315:32;;21383:1;21366:19;;:5;:19;;;;21358:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;21449:5;21442:12;;;21223:239;;;:::o;20953:208::-;21025:7;21070:1;21053:19;;:5;:19;;;;21045:74;;;;;;;;;;;;:::i;:::-;;;;;;;;;21137:9;:16;21147:5;21137:16;;;;;;;;;;;;;;;;21130:23;;20953:208;;;:::o;42196:148::-;41776:12;:10;:12::i;:::-;41765:23;;:7;:5;:7::i;:::-;:23;;;41757:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;42303:1:::1;42266:40;;42287:6;;;;;;;;;;;42266:40;;;;;;;;;;;;42334:1;42317:6;;:19;;;;;;;;;;;;;;;;;;42196:148::o:0;47616:282::-;41776:12;:10;:12::i;:::-;41765:23;;:7;:5;:7::i;:::-;:23;;;41757:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;47722:1:::1;47690:28;;:33;47682:81;;;;;;;;;;;;:::i;:::-;;;;;;;;;47805:1;47778:23;;:28;47770:70;;;;;;;;;;;;:::i;:::-;;;;;;;;;47880:12;47849:28;:43;;;;47616:282::o:0;43210:42::-;43250:2;43210:42;:::o;43445:32::-;;;;:::o;45651:892::-;45733:12;;;;;;;;;;;45725:58;;;;;;;;;;;;:::i;:::-;;;;;;;;;45808:1;45798:7;:11;45790:51;;;;;;;;;;;;:::i;:::-;;;;;;;;;43250:2;45856:7;:27;;45848:81;;;;;;;;;;;;:::i;:::-;;;;;;;;;45936:12;45951:4;;;;;;;;;;;:14;;;45966:10;45951:26;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;45936:41;;46002:1;45992:7;:11;45984:64;;;;;;;;;;;;:::i;:::-;;;;;;;;;46090:7;46074:13;:23;;;;:::i;:::-;46063:7;:34;;46055:119;;;;;;;;;;;;:::i;:::-;;;;;;;;;46187:6;46183:320;46203:7;46199:1;:11;:26;;;;;46218:7;46214:1;:11;46199:26;:50;;;;;43250:2;46229:1;:20;46199:50;46183:320;;;46289:7;;46273:13;:11;:13::i;:::-;:23;46265:69;;;;;;;;;;;;:::i;:::-;;;;;;;;;46343:12;46358:4;;;;;;;;;;;:24;;;46383:10;46399:13;46395:1;:17;;;;:::i;:::-;46358:55;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;46343:70;;46427:16;46435:7;46427;:16::i;:::-;46422:74;;46456:30;46466:10;46478:7;46456:9;:30::i;:::-;46422:74;46183:320;46251:3;;;;;:::i;:::-;;;;46183:320;;;;46511:26;:24;:26::i;:::-;45651:892;;;:::o;41545:87::-;41591:7;41618:6;;;;;;;;;;;41611:13;;41545:87;:::o;21698:104::-;21754:13;21787:7;21780:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21698:104;:::o;23282:295::-;23397:12;:10;:12::i;:::-;23385:24;;:8;:24;;;;23377:62;;;;;;;;;;;;:::i;:::-;;;;;;;;;23497:8;23452:18;:32;23471:12;:10;:12::i;:::-;23452:32;;;;;;;;;;;;;;;:42;23485:8;23452:42;;;;;;;;;;;;;;;;:53;;;;;;;;;;;;;;;;;;23550:8;23521:48;;23536:12;:10;:12::i;:::-;23521:48;;;23560:8;23521:48;;;;;;:::i;:::-;;;;;;;;23282:295;;:::o;24477:285::-;24609:41;24628:12;:10;:12::i;:::-;24642:7;24609:18;:41::i;:::-;24601:103;;;;;;;;;;;;:::i;:::-;;;;;;;;;24715:39;24729:4;24735:2;24739:7;24748:5;24715:13;:39::i;:::-;24477:285;;;;:::o;43257:28::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;45094:475::-;45155:12;;;;;;;;;;;45147:58;;;;;;;;;;;;:::i;:::-;;;;;;;;;45236:7;;45220:13;:11;:13::i;:::-;:23;45212:76;;;;;;;;;;;;:::i;:::-;;;;;;;;;45317:7;;45303:11;:21;45295:71;;;;;;;;;;;;:::i;:::-;;;;;;;;;45410:10;45381:39;;:4;;;;;;;;;;;:12;;;45394:11;45381:25;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:39;;;45373:110;;;;;;;;;;;;:::i;:::-;;;;;;;;;45496:34;45506:10;45518:11;45496:9;:34::i;:::-;45537:26;:24;:26::i;:::-;45094:475;:::o;21873:360::-;21946:13;21980:16;21988:7;21980;:16::i;:::-;21972:76;;;;;;;;;;;;:::i;:::-;;;;;;;;;22061:21;22085:10;:8;:10::i;:::-;22061:34;;22137:1;22119:7;22113:21;:25;:112;;;;;;;;;;;;;;;;;22178:7;22187:18;:7;:16;:18::i;:::-;22161:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;22113:112;22106:119;;;21873:360;;;:::o;23648:164::-;23745:4;23769:18;:25;23788:5;23769:25;;;;;;;;;;;;;;;:35;23795:8;23769:35;;;;;;;;;;;;;;;;;;;;;;;;;23762:42;;23648:164;;;;:::o;46613:873::-;46690:1;46663:23;;:28;46655:70;;;;;;;;;;;;:::i;:::-;;;;;;;;;46772:1;46740:28;;:33;;46732:78;;;;;;;;;;;;:::i;:::-;;;;;;;;;46852:15;;46833;:34;;:62;;;;46888:7;;46871:13;:11;:13::i;:::-;:24;46833:62;46817:154;;;;;;;;;;;;:::i;:::-;;;;;;;;;47057:7;;47024:28;;47014:39;47006:48;;:58;;;;:::i;:::-;46980:23;:84;;;;47242:3;47210:28;;47195:12;:43;;;;:::i;:::-;47194:51;47190:146;;;47321:7;;47315:1;47300:12;:16;;;;:::i;:::-;47290:27;47282:36;;:46;;;;:::i;:::-;47256:23;:72;;;;47190:146;47408:1;47381:23;;:28;47377:104;;;47472:1;47446:23;;:27;;;;:::i;:::-;47420:23;:53;;;;47377:104;46613:873::o;43290:32::-;;;;;;;;;;;;;:::o;42499:244::-;41776:12;:10;:12::i;:::-;41765:23;;:7;:5;:7::i;:::-;:23;;;41757:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;42608:1:::1;42588:22;;:8;:22;;;;42580:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;42698:8;42669:38;;42690:6;;;;;;;;;;;42669:38;;;;;;;;;;;;42727:8;42718:6;;:17;;;;;;;;;;;;;;;;;;42499:244:::0;:::o;43482:30::-;;;;:::o;15885:98::-;15938:7;15965:10;15958:17;;15885:98;:::o;20597:292::-;20699:4;20738:25;20723:40;;;:11;:40;;;;:105;;;;20795:33;20780:48;;;:11;:48;;;;20723:105;:158;;;;20845:36;20869:11;20845:23;:36::i;:::-;20723:158;20716:165;;20597:292;;;:::o;26229:127::-;26294:4;26346:1;26318:30;;:7;:16;26326:7;26318:16;;;;;;;;;;;;;;;;;;;;;:30;;;;26311:37;;26229:127;;;:::o;30106:174::-;30208:2;30181:15;:24;30197:7;30181:24;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;30264:7;30260:2;30226:46;;30235:23;30250:7;30235:14;:23::i;:::-;30226:46;;;;;;;;;;;;30106:174;;:::o;26523:348::-;26616:4;26641:16;26649:7;26641;:16::i;:::-;26633:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;26717:13;26733:23;26748:7;26733:14;:23::i;:::-;26717:39;;26786:5;26775:16;;:7;:16;;;:51;;;;26819:7;26795:31;;:20;26807:7;26795:11;:20::i;:::-;:31;;;26775:51;:87;;;;26830:32;26847:5;26854:7;26830:16;:32::i;:::-;26775:87;26767:96;;;26523:348;;;;:::o;29444:544::-;29569:4;29542:31;;:23;29557:7;29542:14;:23::i;:::-;:31;;;29534:85;;;;;;;;;;;;:::i;:::-;;;;;;;;;29652:1;29638:16;;:2;:16;;;;29630:65;;;;;;;;;;;;:::i;:::-;;;;;;;;;29708:39;29729:4;29735:2;29739:7;29708:20;:39::i;:::-;29812:29;29829:1;29833:7;29812:8;:29::i;:::-;29873:1;29854:9;:15;29864:4;29854:15;;;;;;;;;;;;;;;;:20;;;;;;;:::i;:::-;;;;;;;;29902:1;29885:9;:13;29895:2;29885:13;;;;;;;;;;;;;;;;:18;;;;;;;:::i;:::-;;;;;;;;29933:2;29914:7;:16;29922:7;29914:16;;;;;;;;;;;;:21;;;;;;;;;;;;;;;;;;29972:7;29968:2;29953:27;;29962:4;29953:27;;;;;;;;;;;;29444:544;;;:::o;27213:110::-;27289:26;27299:2;27303:7;27289:26;;;;;;;;;;;;:9;:26::i;:::-;27213:110;;:::o;44757:246::-;44852:1;44820:28;;:33;:110;;;;;44882:7;;44865:13;:11;:13::i;:::-;:24;:64;;;;44912:17;;44893:15;:36;;44865:64;44820:110;44808:190;;;44978:12;44947:28;:43;;;;44808:190;44757:246::o;25644:272::-;25758:28;25768:4;25774:2;25778:7;25758:9;:28::i;:::-;25805:48;25828:4;25834:2;25838:7;25847:5;25805:22;:48::i;:::-;25797:111;;;;;;;;;;;;:::i;:::-;;;;;;;;;25644:272;;;;:::o;44478:94::-;44530:13;44559:7;44552:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44478:94;:::o;16540:723::-;16596:13;16826:1;16817:5;:10;16813:53;;;16844:10;;;;;;;;;;;;;;;;;;;;;16813:53;16876:12;16891:5;16876:20;;16907:14;16932:78;16947:1;16939:4;:9;16932:78;;16965:8;;;;;:::i;:::-;;;;16996:2;16988:10;;;;;:::i;:::-;;;16932:78;;;17020:19;17052:6;17042:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17020:39;;17070:154;17086:1;17077:5;:10;17070:154;;17114:1;17104:11;;;;;:::i;:::-;;;17181:2;17173:5;:10;;;;:::i;:::-;17160:2;:24;;;;:::i;:::-;17147:39;;17130:6;17137;17130:14;;;;;;;;;;;;;;;;;;;:56;;;;;;;;;;;17210:2;17201:11;;;;;:::i;:::-;;;17070:154;;;17248:6;17234:21;;;;;16540:723;;;;:::o;19095:157::-;19180:4;19219:25;19204:40;;;:11;:40;;;;19197:47;;19095:157;;;:::o;36013:555::-;36123:45;36150:4;36156:2;36160:7;36123:26;:45::i;:::-;36201:1;36185:18;;:4;:18;;;36181:187;;;36220:40;36252:7;36220:31;:40::i;:::-;36181:187;;;36290:2;36282:10;;:4;:10;;;36278:90;;36309:47;36342:4;36348:7;36309:32;:47::i;:::-;36278:90;36181:187;36396:1;36382:16;;:2;:16;;;36378:183;;;36415:45;36452:7;36415:36;:45::i;:::-;36378:183;;;36488:4;36482:10;;:2;:10;;;36478:83;;36509:40;36537:2;36541:7;36509:27;:40::i;:::-;36478:83;36378:183;36013:555;;;:::o;27550:250::-;27646:18;27652:2;27656:7;27646:5;:18::i;:::-;27683:54;27714:1;27718:2;27722:7;27731:5;27683:22;:54::i;:::-;27675:117;;;;;;;;;;;;:::i;:::-;;;;;;;;;27550:250;;;:::o;30845:843::-;30966:4;30992:15;:2;:13;;;:15::i;:::-;30988:693;;;31044:2;31028:36;;;31065:12;:10;:12::i;:::-;31079:4;31085:7;31094:5;31028:72;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;31024:602;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31291:1;31274:6;:13;:18;31270:341;;;31317:60;;;;;;;;;;:::i;:::-;;;;;;;;31270:341;31561:6;31555:13;31546:6;31542:2;31538:15;31531:38;31024:602;31161:45;;;31151:55;;;:6;:55;;;;31144:62;;;;;30988:693;31665:4;31658:11;;30845:843;;;;;;;:::o;32301:93::-;;;;:::o;37291:164::-;37395:10;:17;;;;37368:15;:24;37384:7;37368:24;;;;;;;;;;;:44;;;;37423:10;37439:7;37423:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37291:164;:::o;38082:988::-;38348:22;38398:1;38373:22;38390:4;38373:16;:22::i;:::-;:26;;;;:::i;:::-;38348:51;;38410:18;38431:17;:26;38449:7;38431:26;;;;;;;;;;;;38410:47;;38578:14;38564:10;:28;38560:328;;38609:19;38631:12;:18;38644:4;38631:18;;;;;;;;;;;;;;;:34;38650:14;38631:34;;;;;;;;;;;;38609:56;;38715:11;38682:12;:18;38695:4;38682:18;;;;;;;;;;;;;;;:30;38701:10;38682:30;;;;;;;;;;;:44;;;;38832:10;38799:17;:30;38817:11;38799:30;;;;;;;;;;;:43;;;;38560:328;;38984:17;:26;39002:7;38984:26;;;;;;;;;;;38977:33;;;39028:12;:18;39041:4;39028:18;;;;;;;;;;;;;;;:34;39047:14;39028:34;;;;;;;;;;;39021:41;;;38082:988;;;;:::o;39365:1079::-;39618:22;39663:1;39643:10;:17;;;;:21;;;;:::i;:::-;39618:46;;39675:18;39696:15;:24;39712:7;39696:24;;;;;;;;;;;;39675:45;;40047:19;40069:10;40080:14;40069:26;;;;;;;;;;;;;;;;;;;;;;;;40047:48;;40133:11;40108:10;40119;40108:22;;;;;;;;;;;;;;;;;;;;;;;:36;;;;40244:10;40213:15;:28;40229:11;40213:28;;;;;;;;;;;:41;;;;40385:15;:24;40401:7;40385:24;;;;;;;;;;;40378:31;;;40420:10;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39365:1079;;;;:::o;36869:221::-;36954:14;36971:20;36988:2;36971:16;:20::i;:::-;36954:37;;37029:7;37002:12;:16;37015:2;37002:16;;;;;;;;;;;;;;;:24;37019:6;37002:24;;;;;;;;;;;:34;;;;37076:6;37047:17;:26;37065:7;37047:26;;;;;;;;;;;:35;;;;36869:221;;;:::o;28136:382::-;28230:1;28216:16;;:2;:16;;;;28208:61;;;;;;;;;;;;:::i;:::-;;;;;;;;;28289:16;28297:7;28289;:16::i;:::-;28288:17;28280:58;;;;;;;;;;;;:::i;:::-;;;;;;;;;28351:45;28380:1;28384:2;28388:7;28351:20;:45::i;:::-;28426:1;28409:9;:13;28419:2;28409:13;;;;;;;;;;;;;;;;:18;;;;;;;:::i;:::-;;;;;;;;28457:2;28438:7;:16;28446:7;28438:16;;;;;;;;;;;;:21;;;;;;;;;;;;;;;;;;28502:7;28498:2;28477:33;;28494:1;28477:33;;;;;;;;;;;;28136:382;;:::o;8002:422::-;8062:4;8270:12;8381:7;8369:20;8361:28;;8415:1;8408:4;:8;8401:15;;;8002:422;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:343:1:-;;109:65;125:48;166:6;125:48;:::i;:::-;109:65;:::i;:::-;100:74;;197:6;190:5;183:21;235:4;228:5;224:16;273:3;264:6;259:3;255:16;252:25;249:2;;;290:1;287;280:12;249:2;303:41;337:6;332:3;327;303:41;:::i;:::-;90:260;;;;;;:::o;356:345::-;;459:66;475:49;517:6;475:49;:::i;:::-;459:66;:::i;:::-;450:75;;548:6;541:5;534:21;586:4;579:5;575:16;624:3;615:6;610:3;606:16;603:25;600:2;;;641:1;638;631:12;600:2;654:41;688:6;683:3;678;654:41;:::i;:::-;440:261;;;;;;:::o;707:139::-;;791:6;778:20;769:29;;807:33;834:5;807:33;:::i;:::-;759:87;;;;:::o;852:143::-;;940:6;934:13;925:22;;956:33;983:5;956:33;:::i;:::-;915:80;;;;:::o;1001:133::-;;1082:6;1069:20;1060:29;;1098:30;1122:5;1098:30;:::i;:::-;1050:84;;;;:::o;1140:137::-;;1223:6;1210:20;1201:29;;1239:32;1265:5;1239:32;:::i;:::-;1191:86;;;;:::o;1283:141::-;;1370:6;1364:13;1355:22;;1386:32;1412:5;1386:32;:::i;:::-;1345:79;;;;:::o;1443:271::-;;1547:3;1540:4;1532:6;1528:17;1524:27;1514:2;;1565:1;1562;1555:12;1514:2;1605:6;1592:20;1630:78;1704:3;1696:6;1689:4;1681:6;1677:17;1630:78;:::i;:::-;1621:87;;1504:210;;;;;:::o;1734:273::-;;1839:3;1832:4;1824:6;1820:17;1816:27;1806:2;;1857:1;1854;1847:12;1806:2;1897:6;1884:20;1922:79;1997:3;1989:6;1982:4;1974:6;1970:17;1922:79;:::i;:::-;1913:88;;1796:211;;;;;:::o;2013:139::-;;2097:6;2084:20;2075:29;;2113:33;2140:5;2113:33;:::i;:::-;2065:87;;;;:::o;2158:143::-;;2246:6;2240:13;2231:22;;2262:33;2289:5;2262:33;:::i;:::-;2221:80;;;;:::o;2307:262::-;;2415:2;2403:9;2394:7;2390:23;2386:32;2383:2;;;2431:1;2428;2421:12;2383:2;2474:1;2499:53;2544:7;2535:6;2524:9;2520:22;2499:53;:::i;:::-;2489:63;;2445:117;2373:196;;;;:::o;2575:284::-;;2694:2;2682:9;2673:7;2669:23;2665:32;2662:2;;;2710:1;2707;2700:12;2662:2;2753:1;2778:64;2834:7;2825:6;2814:9;2810:22;2778:64;:::i;:::-;2768:74;;2724:128;2652:207;;;;:::o;2865:407::-;;;2990:2;2978:9;2969:7;2965:23;2961:32;2958:2;;;3006:1;3003;2996:12;2958:2;3049:1;3074:53;3119:7;3110:6;3099:9;3095:22;3074:53;:::i;:::-;3064:63;;3020:117;3176:2;3202:53;3247:7;3238:6;3227:9;3223:22;3202:53;:::i;:::-;3192:63;;3147:118;2948:324;;;;;:::o;3278:552::-;;;;3420:2;3408:9;3399:7;3395:23;3391:32;3388:2;;;3436:1;3433;3426:12;3388:2;3479:1;3504:53;3549:7;3540:6;3529:9;3525:22;3504:53;:::i;:::-;3494:63;;3450:117;3606:2;3632:53;3677:7;3668:6;3657:9;3653:22;3632:53;:::i;:::-;3622:63;;3577:118;3734:2;3760:53;3805:7;3796:6;3785:9;3781:22;3760:53;:::i;:::-;3750:63;;3705:118;3378:452;;;;;:::o;3836:809::-;;;;;4004:3;3992:9;3983:7;3979:23;3975:33;3972:2;;;4021:1;4018;4011:12;3972:2;4064:1;4089:53;4134:7;4125:6;4114:9;4110:22;4089:53;:::i;:::-;4079:63;;4035:117;4191:2;4217:53;4262:7;4253:6;4242:9;4238:22;4217:53;:::i;:::-;4207:63;;4162:118;4319:2;4345:53;4390:7;4381:6;4370:9;4366:22;4345:53;:::i;:::-;4335:63;;4290:118;4475:2;4464:9;4460:18;4447:32;4506:18;4498:6;4495:30;4492:2;;;4538:1;4535;4528:12;4492:2;4566:62;4620:7;4611:6;4600:9;4596:22;4566:62;:::i;:::-;4556:72;;4418:220;3962:683;;;;;;;:::o;4651:401::-;;;4773:2;4761:9;4752:7;4748:23;4744:32;4741:2;;;4789:1;4786;4779:12;4741:2;4832:1;4857:53;4902:7;4893:6;4882:9;4878:22;4857:53;:::i;:::-;4847:63;;4803:117;4959:2;4985:50;5027:7;5018:6;5007:9;5003:22;4985:50;:::i;:::-;4975:60;;4930:115;4731:321;;;;;:::o;5058:407::-;;;5183:2;5171:9;5162:7;5158:23;5154:32;5151:2;;;5199:1;5196;5189:12;5151:2;5242:1;5267:53;5312:7;5303:6;5292:9;5288:22;5267:53;:::i;:::-;5257:63;;5213:117;5369:2;5395:53;5440:7;5431:6;5420:9;5416:22;5395:53;:::i;:::-;5385:63;;5340:118;5141:324;;;;;:::o;5471:260::-;;5578:2;5566:9;5557:7;5553:23;5549:32;5546:2;;;5594:1;5591;5584:12;5546:2;5637:1;5662:52;5706:7;5697:6;5686:9;5682:22;5662:52;:::i;:::-;5652:62;;5608:116;5536:195;;;;:::o;5737:282::-;;5855:2;5843:9;5834:7;5830:23;5826:32;5823:2;;;5871:1;5868;5861:12;5823:2;5914:1;5939:63;5994:7;5985:6;5974:9;5970:22;5939:63;:::i;:::-;5929:73;;5885:127;5813:206;;;;:::o;6025:375::-;;6143:2;6131:9;6122:7;6118:23;6114:32;6111:2;;;6159:1;6156;6149:12;6111:2;6230:1;6219:9;6215:17;6202:31;6260:18;6252:6;6249:30;6246:2;;;6292:1;6289;6282:12;6246:2;6320:63;6375:7;6366:6;6355:9;6351:22;6320:63;:::i;:::-;6310:73;;6173:220;6101:299;;;;:::o;6406:262::-;;6514:2;6502:9;6493:7;6489:23;6485:32;6482:2;;;6530:1;6527;6520:12;6482:2;6573:1;6598:53;6643:7;6634:6;6623:9;6619:22;6598:53;:::i;:::-;6588:63;;6544:117;6472:196;;;;:::o;6674:284::-;;6793:2;6781:9;6772:7;6768:23;6764:32;6761:2;;;6809:1;6806;6799:12;6761:2;6852:1;6877:64;6933:7;6924:6;6913:9;6909:22;6877:64;:::i;:::-;6867:74;;6823:128;6751:207;;;;:::o;6964:407::-;;;7089:2;7077:9;7068:7;7064:23;7060:32;7057:2;;;7105:1;7102;7095:12;7057:2;7148:1;7173:53;7218:7;7209:6;7198:9;7194:22;7173:53;:::i;:::-;7163:63;;7119:117;7275:2;7301:53;7346:7;7337:6;7326:9;7322:22;7301:53;:::i;:::-;7291:63;;7246:118;7047:324;;;;;:::o;7377:118::-;7464:24;7482:5;7464:24;:::i;:::-;7459:3;7452:37;7442:53;;:::o;7501:109::-;7582:21;7597:5;7582:21;:::i;:::-;7577:3;7570:34;7560:50;;:::o;7616:360::-;;7730:38;7762:5;7730:38;:::i;:::-;7784:70;7847:6;7842:3;7784:70;:::i;:::-;7777:77;;7863:52;7908:6;7903:3;7896:4;7889:5;7885:16;7863:52;:::i;:::-;7940:29;7962:6;7940:29;:::i;:::-;7935:3;7931:39;7924:46;;7706:270;;;;;:::o;7982:364::-;;8098:39;8131:5;8098:39;:::i;:::-;8153:71;8217:6;8212:3;8153:71;:::i;:::-;8146:78;;8233:52;8278:6;8273:3;8266:4;8259:5;8255:16;8233:52;:::i;:::-;8310:29;8332:6;8310:29;:::i;:::-;8305:3;8301:39;8294:46;;8074:272;;;;;:::o;8352:377::-;;8486:39;8519:5;8486:39;:::i;:::-;8541:89;8623:6;8618:3;8541:89;:::i;:::-;8534:96;;8639:52;8684:6;8679:3;8672:4;8665:5;8661:16;8639:52;:::i;:::-;8716:6;8711:3;8707:16;8700:23;;8462:267;;;;;:::o;8735:366::-;;8898:67;8962:2;8957:3;8898:67;:::i;:::-;8891:74;;8974:93;9063:3;8974:93;:::i;:::-;9092:2;9087:3;9083:12;9076:19;;8881:220;;;:::o;9107:366::-;;9270:67;9334:2;9329:3;9270:67;:::i;:::-;9263:74;;9346:93;9435:3;9346:93;:::i;:::-;9464:2;9459:3;9455:12;9448:19;;9253:220;;;:::o;9479:366::-;;9642:67;9706:2;9701:3;9642:67;:::i;:::-;9635:74;;9718:93;9807:3;9718:93;:::i;:::-;9836:2;9831:3;9827:12;9820:19;;9625:220;;;:::o;9851:366::-;;10014:67;10078:2;10073:3;10014:67;:::i;:::-;10007:74;;10090:93;10179:3;10090:93;:::i;:::-;10208:2;10203:3;10199:12;10192:19;;9997:220;;;:::o;10223:366::-;;10386:67;10450:2;10445:3;10386:67;:::i;:::-;10379:74;;10462:93;10551:3;10462:93;:::i;:::-;10580:2;10575:3;10571:12;10564:19;;10369:220;;;:::o;10595:366::-;;10758:67;10822:2;10817:3;10758:67;:::i;:::-;10751:74;;10834:93;10923:3;10834:93;:::i;:::-;10952:2;10947:3;10943:12;10936:19;;10741:220;;;:::o;10967:366::-;;11130:67;11194:2;11189:3;11130:67;:::i;:::-;11123:74;;11206:93;11295:3;11206:93;:::i;:::-;11324:2;11319:3;11315:12;11308:19;;11113:220;;;:::o;11339:366::-;;11502:67;11566:2;11561:3;11502:67;:::i;:::-;11495:74;;11578:93;11667:3;11578:93;:::i;:::-;11696:2;11691:3;11687:12;11680:19;;11485:220;;;:::o;11711:366::-;;11874:67;11938:2;11933:3;11874:67;:::i;:::-;11867:74;;11950:93;12039:3;11950:93;:::i;:::-;12068:2;12063:3;12059:12;12052:19;;11857:220;;;:::o;12083:366::-;;12246:67;12310:2;12305:3;12246:67;:::i;:::-;12239:74;;12322:93;12411:3;12322:93;:::i;:::-;12440:2;12435:3;12431:12;12424:19;;12229:220;;;:::o;12455:366::-;;12618:67;12682:2;12677:3;12618:67;:::i;:::-;12611:74;;12694:93;12783:3;12694:93;:::i;:::-;12812:2;12807:3;12803:12;12796:19;;12601:220;;;:::o;12827:366::-;;12990:67;13054:2;13049:3;12990:67;:::i;:::-;12983:74;;13066:93;13155:3;13066:93;:::i;:::-;13184:2;13179:3;13175:12;13168:19;;12973:220;;;:::o;13199:366::-;;13362:67;13426:2;13421:3;13362:67;:::i;:::-;13355:74;;13438:93;13527:3;13438:93;:::i;:::-;13556:2;13551:3;13547:12;13540:19;;13345:220;;;:::o;13571:366::-;;13734:67;13798:2;13793:3;13734:67;:::i;:::-;13727:74;;13810:93;13899:3;13810:93;:::i;:::-;13928:2;13923:3;13919:12;13912:19;;13717:220;;;:::o;13943:366::-;;14106:67;14170:2;14165:3;14106:67;:::i;:::-;14099:74;;14182:93;14271:3;14182:93;:::i;:::-;14300:2;14295:3;14291:12;14284:19;;14089:220;;;:::o;14315:366::-;;14478:67;14542:2;14537:3;14478:67;:::i;:::-;14471:74;;14554:93;14643:3;14554:93;:::i;:::-;14672:2;14667:3;14663:12;14656:19;;14461:220;;;:::o;14687:366::-;;14850:67;14914:2;14909:3;14850:67;:::i;:::-;14843:74;;14926:93;15015:3;14926:93;:::i;:::-;15044:2;15039:3;15035:12;15028:19;;14833:220;;;:::o;15059:366::-;;15222:67;15286:2;15281:3;15222:67;:::i;:::-;15215:74;;15298:93;15387:3;15298:93;:::i;:::-;15416:2;15411:3;15407:12;15400:19;;15205:220;;;:::o;15431:366::-;;15594:67;15658:2;15653:3;15594:67;:::i;:::-;15587:74;;15670:93;15759:3;15670:93;:::i;:::-;15788:2;15783:3;15779:12;15772:19;;15577:220;;;:::o;15803:366::-;;15966:67;16030:2;16025:3;15966:67;:::i;:::-;15959:74;;16042:93;16131:3;16042:93;:::i;:::-;16160:2;16155:3;16151:12;16144:19;;15949:220;;;:::o;16175:366::-;;16338:67;16402:2;16397:3;16338:67;:::i;:::-;16331:74;;16414:93;16503:3;16414:93;:::i;:::-;16532:2;16527:3;16523:12;16516:19;;16321:220;;;:::o;16547:366::-;;16710:67;16774:2;16769:3;16710:67;:::i;:::-;16703:74;;16786:93;16875:3;16786:93;:::i;:::-;16904:2;16899:3;16895:12;16888:19;;16693:220;;;:::o;16919:366::-;;17082:67;17146:2;17141:3;17082:67;:::i;:::-;17075:74;;17158:93;17247:3;17158:93;:::i;:::-;17276:2;17271:3;17267:12;17260:19;;17065:220;;;:::o;17291:366::-;;17454:67;17518:2;17513:3;17454:67;:::i;:::-;17447:74;;17530:93;17619:3;17530:93;:::i;:::-;17648:2;17643:3;17639:12;17632:19;;17437:220;;;:::o;17663:366::-;;17826:67;17890:2;17885:3;17826:67;:::i;:::-;17819:74;;17902:93;17991:3;17902:93;:::i;:::-;18020:2;18015:3;18011:12;18004:19;;17809:220;;;:::o;18035:366::-;;18198:67;18262:2;18257:3;18198:67;:::i;:::-;18191:74;;18274:93;18363:3;18274:93;:::i;:::-;18392:2;18387:3;18383:12;18376:19;;18181:220;;;:::o;18407:366::-;;18570:67;18634:2;18629:3;18570:67;:::i;:::-;18563:74;;18646:93;18735:3;18646:93;:::i;:::-;18764:2;18759:3;18755:12;18748:19;;18553:220;;;:::o;18779:366::-;;18942:67;19006:2;19001:3;18942:67;:::i;:::-;18935:74;;19018:93;19107:3;19018:93;:::i;:::-;19136:2;19131:3;19127:12;19120:19;;18925:220;;;:::o;19151:366::-;;19314:67;19378:2;19373:3;19314:67;:::i;:::-;19307:74;;19390:93;19479:3;19390:93;:::i;:::-;19508:2;19503:3;19499:12;19492:19;;19297:220;;;:::o;19523:366::-;;19686:67;19750:2;19745:3;19686:67;:::i;:::-;19679:74;;19762:93;19851:3;19762:93;:::i;:::-;19880:2;19875:3;19871:12;19864:19;;19669:220;;;:::o;19895:366::-;;20058:67;20122:2;20117:3;20058:67;:::i;:::-;20051:74;;20134:93;20223:3;20134:93;:::i;:::-;20252:2;20247:3;20243:12;20236:19;;20041:220;;;:::o;20267:366::-;;20430:67;20494:2;20489:3;20430:67;:::i;:::-;20423:74;;20506:93;20595:3;20506:93;:::i;:::-;20624:2;20619:3;20615:12;20608:19;;20413:220;;;:::o;20639:118::-;20726:24;20744:5;20726:24;:::i;:::-;20721:3;20714:37;20704:53;;:::o;20763:435::-;;20965:95;21056:3;21047:6;20965:95;:::i;:::-;20958:102;;21077:95;21168:3;21159:6;21077:95;:::i;:::-;21070:102;;21189:3;21182:10;;20947:251;;;;;:::o;21204:222::-;;21335:2;21324:9;21320:18;21312:26;;21348:71;21416:1;21405:9;21401:17;21392:6;21348:71;:::i;:::-;21302:124;;;;:::o;21432:640::-;;21665:3;21654:9;21650:19;21642:27;;21679:71;21747:1;21736:9;21732:17;21723:6;21679:71;:::i;:::-;21760:72;21828:2;21817:9;21813:18;21804:6;21760:72;:::i;:::-;21842;21910:2;21899:9;21895:18;21886:6;21842:72;:::i;:::-;21961:9;21955:4;21951:20;21946:2;21935:9;21931:18;21924:48;21989:76;22060:4;22051:6;21989:76;:::i;:::-;21981:84;;21632:440;;;;;;;:::o;22078:332::-;;22237:2;22226:9;22222:18;22214:26;;22250:71;22318:1;22307:9;22303:17;22294:6;22250:71;:::i;:::-;22331:72;22399:2;22388:9;22384:18;22375:6;22331:72;:::i;:::-;22204:206;;;;;:::o;22416:210::-;;22541:2;22530:9;22526:18;22518:26;;22554:65;22616:1;22605:9;22601:17;22592:6;22554:65;:::i;:::-;22508:118;;;;:::o;22632:313::-;;22783:2;22772:9;22768:18;22760:26;;22832:9;22826:4;22822:20;22818:1;22807:9;22803:17;22796:47;22860:78;22933:4;22924:6;22860:78;:::i;:::-;22852:86;;22750:195;;;;:::o;22951:419::-;;23155:2;23144:9;23140:18;23132:26;;23204:9;23198:4;23194:20;23190:1;23179:9;23175:17;23168:47;23232:131;23358:4;23232:131;:::i;:::-;23224:139;;23122:248;;;:::o;23376:419::-;;23580:2;23569:9;23565:18;23557:26;;23629:9;23623:4;23619:20;23615:1;23604:9;23600:17;23593:47;23657:131;23783:4;23657:131;:::i;:::-;23649:139;;23547:248;;;:::o;23801:419::-;;24005:2;23994:9;23990:18;23982:26;;24054:9;24048:4;24044:20;24040:1;24029:9;24025:17;24018:47;24082:131;24208:4;24082:131;:::i;:::-;24074:139;;23972:248;;;:::o;24226:419::-;;24430:2;24419:9;24415:18;24407:26;;24479:9;24473:4;24469:20;24465:1;24454:9;24450:17;24443:47;24507:131;24633:4;24507:131;:::i;:::-;24499:139;;24397:248;;;:::o;24651:419::-;;24855:2;24844:9;24840:18;24832:26;;24904:9;24898:4;24894:20;24890:1;24879:9;24875:17;24868:47;24932:131;25058:4;24932:131;:::i;:::-;24924:139;;24822:248;;;:::o;25076:419::-;;25280:2;25269:9;25265:18;25257:26;;25329:9;25323:4;25319:20;25315:1;25304:9;25300:17;25293:47;25357:131;25483:4;25357:131;:::i;:::-;25349:139;;25247:248;;;:::o;25501:419::-;;25705:2;25694:9;25690:18;25682:26;;25754:9;25748:4;25744:20;25740:1;25729:9;25725:17;25718:47;25782:131;25908:4;25782:131;:::i;:::-;25774:139;;25672:248;;;:::o;25926:419::-;;26130:2;26119:9;26115:18;26107:26;;26179:9;26173:4;26169:20;26165:1;26154:9;26150:17;26143:47;26207:131;26333:4;26207:131;:::i;:::-;26199:139;;26097:248;;;:::o;26351:419::-;;26555:2;26544:9;26540:18;26532:26;;26604:9;26598:4;26594:20;26590:1;26579:9;26575:17;26568:47;26632:131;26758:4;26632:131;:::i;:::-;26624:139;;26522:248;;;:::o;26776:419::-;;26980:2;26969:9;26965:18;26957:26;;27029:9;27023:4;27019:20;27015:1;27004:9;27000:17;26993:47;27057:131;27183:4;27057:131;:::i;:::-;27049:139;;26947:248;;;:::o;27201:419::-;;27405:2;27394:9;27390:18;27382:26;;27454:9;27448:4;27444:20;27440:1;27429:9;27425:17;27418:47;27482:131;27608:4;27482:131;:::i;:::-;27474:139;;27372:248;;;:::o;27626:419::-;;27830:2;27819:9;27815:18;27807:26;;27879:9;27873:4;27869:20;27865:1;27854:9;27850:17;27843:47;27907:131;28033:4;27907:131;:::i;:::-;27899:139;;27797:248;;;:::o;28051:419::-;;28255:2;28244:9;28240:18;28232:26;;28304:9;28298:4;28294:20;28290:1;28279:9;28275:17;28268:47;28332:131;28458:4;28332:131;:::i;:::-;28324:139;;28222:248;;;:::o;28476:419::-;;28680:2;28669:9;28665:18;28657:26;;28729:9;28723:4;28719:20;28715:1;28704:9;28700:17;28693:47;28757:131;28883:4;28757:131;:::i;:::-;28749:139;;28647:248;;;:::o;28901:419::-;;29105:2;29094:9;29090:18;29082:26;;29154:9;29148:4;29144:20;29140:1;29129:9;29125:17;29118:47;29182:131;29308:4;29182:131;:::i;:::-;29174:139;;29072:248;;;:::o;29326:419::-;;29530:2;29519:9;29515:18;29507:26;;29579:9;29573:4;29569:20;29565:1;29554:9;29550:17;29543:47;29607:131;29733:4;29607:131;:::i;:::-;29599:139;;29497:248;;;:::o;29751:419::-;;29955:2;29944:9;29940:18;29932:26;;30004:9;29998:4;29994:20;29990:1;29979:9;29975:17;29968:47;30032:131;30158:4;30032:131;:::i;:::-;30024:139;;29922:248;;;:::o;30176:419::-;;30380:2;30369:9;30365:18;30357:26;;30429:9;30423:4;30419:20;30415:1;30404:9;30400:17;30393:47;30457:131;30583:4;30457:131;:::i;:::-;30449:139;;30347:248;;;:::o;30601:419::-;;30805:2;30794:9;30790:18;30782:26;;30854:9;30848:4;30844:20;30840:1;30829:9;30825:17;30818:47;30882:131;31008:4;30882:131;:::i;:::-;30874:139;;30772:248;;;:::o;31026:419::-;;31230:2;31219:9;31215:18;31207:26;;31279:9;31273:4;31269:20;31265:1;31254:9;31250:17;31243:47;31307:131;31433:4;31307:131;:::i;:::-;31299:139;;31197:248;;;:::o;31451:419::-;;31655:2;31644:9;31640:18;31632:26;;31704:9;31698:4;31694:20;31690:1;31679:9;31675:17;31668:47;31732:131;31858:4;31732:131;:::i;:::-;31724:139;;31622:248;;;:::o;31876:419::-;;32080:2;32069:9;32065:18;32057:26;;32129:9;32123:4;32119:20;32115:1;32104:9;32100:17;32093:47;32157:131;32283:4;32157:131;:::i;:::-;32149:139;;32047:248;;;:::o;32301:419::-;;32505:2;32494:9;32490:18;32482:26;;32554:9;32548:4;32544:20;32540:1;32529:9;32525:17;32518:47;32582:131;32708:4;32582:131;:::i;:::-;32574:139;;32472:248;;;:::o;32726:419::-;;32930:2;32919:9;32915:18;32907:26;;32979:9;32973:4;32969:20;32965:1;32954:9;32950:17;32943:47;33007:131;33133:4;33007:131;:::i;:::-;32999:139;;32897:248;;;:::o;33151:419::-;;33355:2;33344:9;33340:18;33332:26;;33404:9;33398:4;33394:20;33390:1;33379:9;33375:17;33368:47;33432:131;33558:4;33432:131;:::i;:::-;33424:139;;33322:248;;;:::o;33576:419::-;;33780:2;33769:9;33765:18;33757:26;;33829:9;33823:4;33819:20;33815:1;33804:9;33800:17;33793:47;33857:131;33983:4;33857:131;:::i;:::-;33849:139;;33747:248;;;:::o;34001:419::-;;34205:2;34194:9;34190:18;34182:26;;34254:9;34248:4;34244:20;34240:1;34229:9;34225:17;34218:47;34282:131;34408:4;34282:131;:::i;:::-;34274:139;;34172:248;;;:::o;34426:419::-;;34630:2;34619:9;34615:18;34607:26;;34679:9;34673:4;34669:20;34665:1;34654:9;34650:17;34643:47;34707:131;34833:4;34707:131;:::i;:::-;34699:139;;34597:248;;;:::o;34851:419::-;;35055:2;35044:9;35040:18;35032:26;;35104:9;35098:4;35094:20;35090:1;35079:9;35075:17;35068:47;35132:131;35258:4;35132:131;:::i;:::-;35124:139;;35022:248;;;:::o;35276:419::-;;35480:2;35469:9;35465:18;35457:26;;35529:9;35523:4;35519:20;35515:1;35504:9;35500:17;35493:47;35557:131;35683:4;35557:131;:::i;:::-;35549:139;;35447:248;;;:::o;35701:419::-;;35905:2;35894:9;35890:18;35882:26;;35954:9;35948:4;35944:20;35940:1;35929:9;35925:17;35918:47;35982:131;36108:4;35982:131;:::i;:::-;35974:139;;35872:248;;;:::o;36126:419::-;;36330:2;36319:9;36315:18;36307:26;;36379:9;36373:4;36369:20;36365:1;36354:9;36350:17;36343:47;36407:131;36533:4;36407:131;:::i;:::-;36399:139;;36297:248;;;:::o;36551:222::-;;36682:2;36671:9;36667:18;36659:26;;36695:71;36763:1;36752:9;36748:17;36739:6;36695:71;:::i;:::-;36649:124;;;;:::o;36779:129::-;;36840:20;;:::i;:::-;36830:30;;36869:33;36897:4;36889:6;36869:33;:::i;:::-;36820:88;;;:::o;36914:75::-;;36980:2;36974:9;36964:19;;36954:35;:::o;36995:307::-;;37146:18;37138:6;37135:30;37132:2;;;37168:18;;:::i;:::-;37132:2;37206:29;37228:6;37206:29;:::i;:::-;37198:37;;37290:4;37284;37280:15;37272:23;;37061:241;;;:::o;37308:308::-;;37460:18;37452:6;37449:30;37446:2;;;37482:18;;:::i;:::-;37446:2;37520:29;37542:6;37520:29;:::i;:::-;37512:37;;37604:4;37598;37594:15;37586:23;;37375:241;;;:::o;37622:98::-;;37707:5;37701:12;37691:22;;37680:40;;;:::o;37726:99::-;;37812:5;37806:12;37796:22;;37785:40;;;:::o;37831:168::-;;37948:6;37943:3;37936:19;37988:4;37983:3;37979:14;37964:29;;37926:73;;;;:::o;38005:169::-;;38123:6;38118:3;38111:19;38163:4;38158:3;38154:14;38139:29;;38101:73;;;;:::o;38180:148::-;;38319:3;38304:18;;38294:34;;;;:::o;38334:305::-;;38393:20;38411:1;38393:20;:::i;:::-;38388:25;;38427:20;38445:1;38427:20;:::i;:::-;38422:25;;38581:1;38513:66;38509:74;38506:1;38503:81;38500:2;;;38587:18;;:::i;:::-;38500:2;38631:1;38628;38624:9;38617:16;;38378:261;;;;:::o;38645:185::-;;38702:20;38720:1;38702:20;:::i;:::-;38697:25;;38736:20;38754:1;38736:20;:::i;:::-;38731:25;;38775:1;38765:2;;38780:18;;:::i;:::-;38765:2;38822:1;38819;38815:9;38810:14;;38687:143;;;;:::o;38836:191::-;;38896:20;38914:1;38896:20;:::i;:::-;38891:25;;38930:20;38948:1;38930:20;:::i;:::-;38925:25;;38969:1;38966;38963:8;38960:2;;;38974:18;;:::i;:::-;38960:2;39019:1;39016;39012:9;39004:17;;38881:146;;;;:::o;39033:96::-;;39099:24;39117:5;39099:24;:::i;:::-;39088:35;;39078:51;;;:::o;39135:90::-;;39212:5;39205:13;39198:21;39187:32;;39177:48;;;:::o;39231:149::-;;39307:66;39300:5;39296:78;39285:89;;39275:105;;;:::o;39386:126::-;;39463:42;39456:5;39452:54;39441:65;;39431:81;;;:::o;39518:77::-;;39584:5;39573:16;;39563:32;;;:::o;39601:154::-;39685:6;39680:3;39675;39662:30;39747:1;39738:6;39733:3;39729:16;39722:27;39652:103;;;:::o;39761:307::-;39829:1;39839:113;39853:6;39850:1;39847:13;39839:113;;;39938:1;39933:3;39929:11;39923:18;39919:1;39914:3;39910:11;39903:39;39875:2;39872:1;39868:10;39863:15;;39839:113;;;39970:6;39967:1;39964:13;39961:2;;;40050:1;40041:6;40036:3;40032:16;40025:27;39961:2;39810:258;;;;:::o;40074:320::-;;40155:1;40149:4;40145:12;40135:22;;40202:1;40196:4;40192:12;40223:18;40213:2;;40279:4;40271:6;40267:17;40257:27;;40213:2;40341;40333:6;40330:14;40310:18;40307:38;40304:2;;;40360:18;;:::i;:::-;40304:2;40125:269;;;;:::o;40400:281::-;40483:27;40505:4;40483:27;:::i;:::-;40475:6;40471:40;40613:6;40601:10;40598:22;40577:18;40565:10;40562:34;40559:62;40556:2;;;40624:18;;:::i;:::-;40556:2;40664:10;40660:2;40653:22;40443:238;;;:::o;40687:233::-;;40749:24;40767:5;40749:24;:::i;:::-;40740:33;;40795:66;40788:5;40785:77;40782:2;;;40865:18;;:::i;:::-;40782:2;40912:1;40905:5;40901:13;40894:20;;40730:190;;;:::o;40926:176::-;;40975:20;40993:1;40975:20;:::i;:::-;40970:25;;41009:20;41027:1;41009:20;:::i;:::-;41004:25;;41048:1;41038:2;;41053:18;;:::i;:::-;41038:2;41094:1;41091;41087:9;41082:14;;40960:142;;;;:::o;41108:180::-;41156:77;41153:1;41146:88;41253:4;41250:1;41243:15;41277:4;41274:1;41267:15;41294:180;41342:77;41339:1;41332:88;41439:4;41436:1;41429:15;41463:4;41460:1;41453:15;41480:180;41528:77;41525:1;41518:88;41625:4;41622:1;41615:15;41649:4;41646:1;41639:15;41666:180;41714:77;41711:1;41704:88;41811:4;41808:1;41801:15;41835:4;41832:1;41825:15;41852:102;;41944:2;41940:7;41935:2;41928:5;41924:14;41920:28;41910:38;;41900:54;;;:::o;41960:230::-;42100:34;42096:1;42088:6;42084:14;42077:58;42169:13;42164:2;42156:6;42152:15;42145:38;42066:124;:::o;42196:237::-;42336:34;42332:1;42324:6;42320:14;42313:58;42405:20;42400:2;42392:6;42388:15;42381:45;42302:131;:::o;42439:225::-;42579:34;42575:1;42567:6;42563:14;42556:58;42648:8;42643:2;42635:6;42631:15;42624:33;42545:119;:::o;42670:178::-;42810:30;42806:1;42798:6;42794:14;42787:54;42776:72;:::o;42854:220::-;42994:34;42990:1;42982:6;42978:14;42971:58;43063:3;43058:2;43050:6;43046:15;43039:28;42960:114;:::o;43080:223::-;43220:34;43216:1;43208:6;43204:14;43197:58;43289:6;43284:2;43276:6;43272:15;43265:31;43186:117;:::o;43309:175::-;43449:27;43445:1;43437:6;43433:14;43426:51;43415:69;:::o;43490:244::-;43630:34;43626:1;43618:6;43614:14;43607:58;43699:27;43694:2;43686:6;43682:15;43675:52;43596:138;:::o;43740:231::-;43880:34;43876:1;43868:6;43864:14;43857:58;43949:14;43944:2;43936:6;43932:15;43925:39;43846:125;:::o;43977:227::-;44117:34;44113:1;44105:6;44101:14;44094:58;44186:10;44181:2;44173:6;44169:15;44162:35;44083:121;:::o;44210:227::-;44350:34;44346:1;44338:6;44334:14;44327:58;44419:10;44414:2;44406:6;44402:15;44395:35;44316:121;:::o;44443:179::-;44583:31;44579:1;44571:6;44567:14;44560:55;44549:73;:::o;44628:224::-;44768:34;44764:1;44756:6;44752:14;44745:58;44837:7;44832:2;44824:6;44820:15;44813:32;44734:118;:::o;44858:243::-;44998:34;44994:1;44986:6;44982:14;44975:58;45067:26;45062:2;45054:6;45050:15;45043:51;44964:137;:::o;45107:229::-;45247:34;45243:1;45235:6;45231:14;45224:58;45316:12;45311:2;45303:6;45299:15;45292:37;45213:123;:::o;45342:228::-;45482:34;45478:1;45470:6;45466:14;45459:58;45551:11;45546:2;45538:6;45534:15;45527:36;45448:122;:::o;45576:220::-;45716:34;45712:1;45704:6;45700:14;45693:58;45785:3;45780:2;45772:6;45768:15;45761:28;45682:114;:::o;45802:182::-;45942:34;45938:1;45930:6;45926:14;45919:58;45908:76;:::o;45990:231::-;46130:34;46126:1;46118:6;46114:14;46107:58;46199:14;46194:2;46186:6;46182:15;46175:39;46096:125;:::o;46227:245::-;46367:34;46363:1;46355:6;46351:14;46344:58;46436:28;46431:2;46423:6;46419:15;46412:53;46333:139;:::o;46478:182::-;46618:34;46614:1;46606:6;46602:14;46595:58;46584:76;:::o;46666:177::-;46806:29;46802:1;46794:6;46790:14;46783:53;46772:71;:::o;46849:222::-;46989:34;46985:1;46977:6;46973:14;46966:58;47058:5;47053:2;47045:6;47041:15;47034:30;46955:116;:::o;47077:228::-;47217:34;47213:1;47205:6;47201:14;47194:58;47286:11;47281:2;47273:6;47269:15;47262:36;47183:122;:::o;47311:234::-;47451:34;47447:1;47439:6;47435:14;47428:58;47520:17;47515:2;47507:6;47503:15;47496:42;47417:128;:::o;47551:220::-;47691:34;47687:1;47679:6;47675:14;47668:58;47760:3;47755:2;47747:6;47743:15;47736:28;47657:114;:::o;47777:228::-;47917:34;47913:1;47905:6;47901:14;47894:58;47986:11;47981:2;47973:6;47969:15;47962:36;47883:122;:::o;48011:220::-;48151:34;48147:1;48139:6;48135:14;48128:58;48220:3;48215:2;48207:6;48203:15;48196:28;48117:114;:::o;48237:182::-;48377:34;48373:1;48365:6;48361:14;48354:58;48343:76;:::o;48425:236::-;48565:34;48561:1;48553:6;48549:14;48542:58;48634:19;48629:2;48621:6;48617:15;48610:44;48531:130;:::o;48667:231::-;48807:34;48803:1;48795:6;48791:14;48784:58;48876:14;48871:2;48863:6;48859:15;48852:39;48773:125;:::o;48904:296::-;49044:34;49040:1;49032:6;49028:14;49021:58;49113:34;49108:2;49100:6;49096:15;49089:59;49182:10;49177:2;49169:6;49165:15;49158:35;49010:190;:::o;49206:122::-;49279:24;49297:5;49279:24;:::i;:::-;49272:5;49269:35;49259:2;;49318:1;49315;49308:12;49259:2;49249:79;:::o;49334:116::-;49404:21;49419:5;49404:21;:::i;:::-;49397:5;49394:32;49384:2;;49440:1;49437;49430:12;49384:2;49374:76;:::o;49456:120::-;49528:23;49545:5;49528:23;:::i;:::-;49521:5;49518:34;49508:2;;49566:1;49563;49556:12;49508:2;49498:78;:::o;49582:122::-;49655:24;49673:5;49655:24;:::i;:::-;49648:5;49645:35;49635:2;;49694:1;49691;49684:12;49635:2;49625:79;:::o

Swarm Source

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

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