Contract 0x57a204AA1042f6E66DD7730813f4024114d74f37 5

 
Txn Hash
Method
Block
From
To
Value
0x68a71a359e9ff09d54c37e88d7ea737e7b0782a47328ff0288ec2b115e994f42Approve156868572022-10-06 5:04:231 hr 54 mins agoENS Name donkeykong.eth IN  CyberKongz: KONGZ Token0 Ether0.0002489 4.62194738
0x7e90a2a5d063b1f39b5c74382254bfb9680d7dccb62e9c6ecc7e8923d4c88eb8Approve156868442022-10-06 5:01:471 hr 57 mins agoENS Name donkeykong.eth IN  CyberKongz: KONGZ Token0 Ether0.00025693 4.76994291
0xcd82ec2ed676f789e59d1d74d2d0d176176aaa8b5bfe3523f3f57f966c991a4cApprove156868262022-10-06 4:58:112 hrs 1 min agoENS Name donkeykong.eth IN  CyberKongz: KONGZ Token0 Ether0.00024318 4.5147209
0x30dc63d3daf2b7c690eafe064c62dee89bbaa85d79018a5ca94029dda46632b6Approve156868152022-10-06 4:55:592 hrs 3 mins agoENS Name donkeykong.eth IN  CyberKongz: KONGZ Token0 Ether0.00025152 4.66955592
0x0e6dec6100f31d0b4647a5878c15dde7ee8fe2fb5830d82d3b025d7f34aecd9cApprove156868042022-10-06 4:53:472 hrs 5 mins agoENS Name donkeykong.eth IN  CyberKongz: KONGZ Token0 Ether0.00026438 4.90824404
0x43dd8153f176670106117cb15d2fd7c2b8591cb33878277eab6a5cb136a6da9dApprove156867882022-10-06 4:50:352 hrs 8 mins agoENS Name donkeykong.eth IN  CyberKongz: KONGZ Token0 Ether0.00029492 5.47528734
0xebdec1a4abaea55c96f3e6a0b99b4fef43fc368320607e4001c22fd4bb44480aApprove156867772022-10-06 4:48:232 hrs 10 mins agoENS Name donkeykong.eth IN  CyberKongz: KONGZ Token0 Ether0.00024948 4.63174782
0x787a541189cb6fea4b069abd2071cf3c738c980523180e1c090b8e41dac17ff9Approve156867632022-10-06 4:45:352 hrs 13 mins agoENS Name donkeykong.eth IN  CyberKongz: KONGZ Token0 Ether0.00026514 4.92347057
0xd222c93a3e86a19d43b7a3c30171072e173391f376d73118fd8fa09790d55b4aApprove156867412022-10-06 4:41:112 hrs 18 mins agoENS Name donkeykong.eth IN  CyberKongz: KONGZ Token0 Ether0.0002648 4.91615996
0xe43187446ad84145aa0413f430984081e241346f905ac7458129960ee2771ae9Approve156867282022-10-06 4:38:352 hrs 20 mins agoENS Name donkeykong.eth IN  CyberKongz: KONGZ Token0 Ether0.00028016 5.20117239
0x5633032a6e856f258acaa69a82c85a44d1588576d931a6fc3561adc29fc0e2cfApprove156866402022-10-06 4:20:472 hrs 38 mins agoENS Name donkeykong.eth IN  CyberKongz: KONGZ Token0 Ether0.00028709 5.32993799
0x5d9c057d4d9e9a6cf5fd5a26d28112202db3ff1630d3ea101b16646ab34bcb36Approve156866272022-10-06 4:18:112 hrs 41 mins agoENS Name donkeykong.eth IN  CyberKongz: KONGZ Token0 Ether0.0003365 6.24723721
0x9b6ba28a0a1712b0e90105acb804aa53301ec526185551393e11492011f3ad93Approve156866122022-10-06 4:15:112 hrs 44 mins agoENS Name donkeykong.eth IN  CyberKongz: KONGZ Token0 Ether0.00032899 6.10782886
0x288a6906c6680fa6a1f86a1de497adb16dd2fd5344865c6699deb4729addd9e7Approve156865962022-10-06 4:11:592 hrs 47 mins agoENS Name donkeykong.eth IN  CyberKongz: KONGZ Token0 Ether0.00038909 7.22350894
0xcb0df906b2050fb84e3c852a3759e42fff16ee16958faae9b24d2e705b6a0e9cApprove156865792022-10-06 4:08:352 hrs 50 mins agoENS Name donkeykong.eth IN  CyberKongz: KONGZ Token0 Ether0.000351 6.51640265
0xea0d24b3dec3c134764984d22b9569ad208c8992e23689099d7f55b64e69479eSafe Transfer Fr...156860702022-10-06 2:26:234 hrs 32 mins ago0x2014cc17a08e32f0ae40d3a78d7aa5936be4fcb4 IN  CyberKongz: KONGZ Token0 Ether0.00249515 9.47690636
0xbc34a934b3e64889a1a810f09a9e75c28ebce728e637b3ab53b3b67c571df8c4Safe Transfer Fr...156856912022-10-06 1:09:595 hrs 49 mins agoENS Name blazin.eth IN  CyberKongz: KONGZ Token0 Ether0.00251466 12.71572319
0x77f92a7b53e16f3e8c8ce21064ce861a9f0f5bb93a27c336acc10f7cde4433e8Set Approval For...156841442022-10-05 19:59:2310 hrs 59 mins agoENS Name thefatduck.eth IN  CyberKongz: KONGZ Token0 Ether0.00181657 39.2120043
0x1f5d58444d0041af94a6670736f44b4909f48698a36aaa0b15d64c87adf2f275Set Approval For...156835172022-10-05 17:53:3513 hrs 5 mins ago0x16758720cec40ec2017567b81a67a1cc1b4f064d IN  CyberKongz: KONGZ Token0 Ether0.00100385 21.66892914
0xa739f7005e2097eada0aae510f570adc5b5646475d50edd8f1fe00e49239e765Safe Transfer Fr...156834762022-10-05 17:45:2313 hrs 13 mins ago0x920c70196c5850ecddbfc03deecd045cf72352b7 IN  CyberKongz: KONGZ Token0 Ether0.00802725 40.59087466
0x6fe7fc42bcdec8bee73e069aaad1b33b0e91928e6a1f6bd5bbcb372b9b38cee9Transfer From156834372022-10-05 17:37:3513 hrs 21 mins ago0x7e9daf362d8b17595d573fb03adb6078adc927b1 IN  CyberKongz: KONGZ Token0 Ether0.00487632 25.02208946
0x03a3d311c445fd785047c818089edcff43357f9b08ce52a1a93e96c4e8a741cdSet Approval For...156827812022-10-05 15:25:2315 hrs 33 mins agoENS Name nealkongstrong.eth IN  CyberKongz: KONGZ Token0 Ether0.00127723 27.57009308
0x24ed218b6b43cedb28237375d6a06e3f1ca71baeb1a982a27b840cc5b840e3d0Set Approval For...156815252022-10-05 11:12:2319 hrs 46 mins agoENS Name mazeysports.eth IN  CyberKongz: KONGZ Token0 Ether0.00020934 4.51067622
0xa20b31c14ab80e999bb8b207003e5662d3a3cb11604f903f5a81733419539d6cSet Approval For...156807292022-10-05 8:31:4722 hrs 27 mins ago0x4df89067531e149397148763c96af13b9ff278dd IN  CyberKongz: KONGZ Token0 Ether0.00014647 5.99923567
0xdbf2fbd74b82def24f47c67d64965df403742a744e811d6dea6e660d8d57b880Set Approval For...156807222022-10-05 8:30:2322 hrs 28 mins agoENS Name zakke.eth IN  CyberKongz: KONGZ Token0 Ether0.00014061 5.73976512
[ Download CSV Export 

OVERVIEW

CyberKongz is a NFT based project built on Ethereum.

View more zero value Internal Transactions in Advanced View mode
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Kongz

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-04-16
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.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);
}




/**
 * @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 in 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");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        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);
            }
        }
    }
}




/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

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

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

        return c;
    }

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

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




/*
 * @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 GSN 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 payable) {
        return msg.sender;
    }

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




/**
 * @dev String operations.
 */
library Strings {
    /**
     * @dev Converts a `uint256` to its ASCII `string` 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);
        uint256 index = digits - 1;
        temp = value;
        while (temp != 0) {
            buffer[index--] = byte(uint8(48 + temp % 10));
            temp /= 10;
        }
        return string(buffer);
    }
}


interface IBreedManager {
	function tryBreed(uint256 _sire, uint256 _matron) external returns(bool);
	function tryEvolve(uint256 _tokenId) external view returns(uint256);
}
pragma experimental ABIEncoderV2;







/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values);

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes calldata data) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data) external;
}





/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        // Check the signature length
        if (signature.length != 65) {
            revert("ECDSA: invalid signature length");
        }

        // Divide the signature in r, s and v variables
        bytes32 r;
        bytes32 s;
        uint8 v;

        // ecrecover takes the signature parameters, and the only way to get them
        // currently is to use assembly.
        // solhint-disable-next-line no-inline-assembly
        assembly {
            r := mload(add(signature, 0x20))
            s := mload(add(signature, 0x40))
            v := byte(0, mload(add(signature, 0x60)))
        }

        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            revert("ECDSA: invalid signature 's' value");
        }

        if (v != 27 && v != 28) {
            revert("ECDSA: invalid signature 'v' value");
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        require(signer != address(0), "ECDSA: invalid signature");

        return signer;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * replicates the behavior of the
     * https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_sign[`eth_sign`]
     * JSON-RPC method.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }
}






/**
 * @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.
 */
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 () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view 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;
    }
}
















/**
 * @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;
}







/**
 * @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);
}







/**
 * @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);
}





/**
 * @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);
}







/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts may inherit from this and call {_registerInterface} to declare
 * their support of an interface.
 */
contract ERC165 is IERC165 {
    /*
     * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7
     */
    bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;

    /**
     * @dev Mapping of interface ids to whether or not it's supported.
     */
    mapping(bytes4 => bool) private _supportedInterfaces;

    constructor () internal {
        // Derived contracts need only register support for their own interfaces,
        // we register support for ERC165 itself here
        _registerInterface(_INTERFACE_ID_ERC165);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     *
     * Time complexity O(1), guaranteed to always use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view override returns (bool) {
        return _supportedInterfaces[interfaceId];
    }

    /**
     * @dev Registers the contract as an implementer of the interface defined by
     * `interfaceId`. Support of the actual ERC165 interface is automatic and
     * registering its interface id is not required.
     *
     * See {IERC165-supportsInterface}.
     *
     * Requirements:
     *
     * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).
     */
    function _registerInterface(bytes4 interfaceId) internal virtual {
        require(interfaceId != 0xffffffff, "ERC165: invalid interface id");
        _supportedInterfaces[interfaceId] = true;
    }
}







/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256`
 * (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint256(_at(set._inner, index)));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}





/**
 * @dev Library for managing an enumerable variant of Solidity's
 * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]
 * type.
 *
 * Maps have the following properties:
 *
 * - Entries are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Entries are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableMap for EnumerableMap.UintToAddressMap;
 *
 *     // Declare a set state variable
 *     EnumerableMap.UintToAddressMap private myMap;
 * }
 * ```
 *
 * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are
 * supported.
 */
library EnumerableMap {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Map type with
    // bytes32 keys and values.
    // The Map implementation uses private functions, and user-facing
    // implementations (such as Uint256ToAddressMap) are just wrappers around
    // the underlying Map.
    // This means that we can only create new EnumerableMaps for types that fit
    // in bytes32.

    struct MapEntry {
        bytes32 _key;
        bytes32 _value;
    }

    struct Map {
        // Storage of map keys and values
        MapEntry[] _entries;

        // Position of the entry defined by a key in the `entries` array, plus 1
        // because index 0 means a key is not in the map.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Adds a key-value pair to a map, or updates the value for an existing
     * key. O(1).
     *
     * Returns true if the key was added to the map, that is if it was not
     * already present.
     */
    function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {
        // We read and store the key's index to prevent multiple reads from the same storage slot
        uint256 keyIndex = map._indexes[key];

        if (keyIndex == 0) { // Equivalent to !contains(map, key)
            map._entries.push(MapEntry({ _key: key, _value: value }));
            // The entry is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            map._indexes[key] = map._entries.length;
            return true;
        } else {
            map._entries[keyIndex - 1]._value = value;
            return false;
        }
    }

    /**
     * @dev Removes a key-value pair from a map. O(1).
     *
     * Returns true if the key was removed from the map, that is if it was present.
     */
    function _remove(Map storage map, bytes32 key) private returns (bool) {
        // We read and store the key's index to prevent multiple reads from the same storage slot
        uint256 keyIndex = map._indexes[key];

        if (keyIndex != 0) { // Equivalent to contains(map, key)
            // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one
            // in the array, and then remove the last entry (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = keyIndex - 1;
            uint256 lastIndex = map._entries.length - 1;

            // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            MapEntry storage lastEntry = map._entries[lastIndex];

            // Move the last entry to the index where the entry to delete is
            map._entries[toDeleteIndex] = lastEntry;
            // Update the index for the moved entry
            map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved entry was stored
            map._entries.pop();

            // Delete the index for the deleted slot
            delete map._indexes[key];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the key is in the map. O(1).
     */
    function _contains(Map storage map, bytes32 key) private view returns (bool) {
        return map._indexes[key] != 0;
    }

    /**
     * @dev Returns the number of key-value pairs in the map. O(1).
     */
    function _length(Map storage map) private view returns (uint256) {
        return map._entries.length;
    }

   /**
    * @dev Returns the key-value pair stored at position `index` in the map. O(1).
    *
    * Note that there are no guarantees on the ordering of entries inside the
    * array, and it may change when more entries are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {
        require(map._entries.length > index, "EnumerableMap: index out of bounds");

        MapEntry storage entry = map._entries[index];
        return (entry._key, entry._value);
    }

    /**
     * @dev Returns the value associated with `key`.  O(1).
     *
     * Requirements:
     *
     * - `key` must be in the map.
     */
    function _get(Map storage map, bytes32 key) private view returns (bytes32) {
        return _get(map, key, "EnumerableMap: nonexistent key");
    }

    /**
     * @dev Same as {_get}, with a custom error message when `key` is not in the map.
     */
    function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {
        uint256 keyIndex = map._indexes[key];
        require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)
        return map._entries[keyIndex - 1]._value; // All indexes are 1-based
    }

    // UintToAddressMap

    struct UintToAddressMap {
        Map _inner;
    }

    /**
     * @dev Adds a key-value pair to a map, or updates the value for an existing
     * key. O(1).
     *
     * Returns true if the key was added to the map, that is if it was not
     * already present.
     */
    function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {
        return _set(map._inner, bytes32(key), bytes32(uint256(value)));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the key was removed from the map, that is if it was present.
     */
    function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {
        return _remove(map._inner, bytes32(key));
    }

    /**
     * @dev Returns true if the key is in the map. O(1).
     */
    function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {
        return _contains(map._inner, bytes32(key));
    }

    /**
     * @dev Returns the number of elements in the map. O(1).
     */
    function length(UintToAddressMap storage map) internal view returns (uint256) {
        return _length(map._inner);
    }

   /**
    * @dev Returns the element stored at position `index` in the set. O(1).
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {
        (bytes32 key, bytes32 value) = _at(map._inner, index);
        return (uint256(key), address(uint256(value)));
    }

    /**
     * @dev Returns the value associated with `key`.  O(1).
     *
     * Requirements:
     *
     * - `key` must be in the map.
     */
    function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {
        return address(uint256(_get(map._inner, bytes32(key))));
    }

    /**
     * @dev Same as {get}, with a custom error message when `key` is not in the map.
     */
    function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {
        return address(uint256(_get(map._inner, bytes32(key), errorMessage)));
    }
}



/**
 * @title ERC721 Non-Fungible Token Standard basic implementation
 * @dev see https://eips.ethereum.org/EIPS/eip-721
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using SafeMath for uint256;
    using Address for address;
    using EnumerableSet for EnumerableSet.UintSet;
    using EnumerableMap for EnumerableMap.UintToAddressMap;
    using Strings for uint256;

    // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`
    // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`
    bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;

    // Mapping from holder address to their (enumerable) set of owned tokens
    mapping (address => EnumerableSet.UintSet) private _holderTokens;

    // Enumerable mapping from token ids to their owners
    EnumerableMap.UintToAddressMap private _tokenOwners;

    // 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;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Optional mapping for token URIs
    mapping (uint256 => string) private _tokenURIs;

    // Base URI
    string private _baseURI;

    /*
     *     bytes4(keccak256('balanceOf(address)')) == 0x70a08231
     *     bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e
     *     bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3
     *     bytes4(keccak256('getApproved(uint256)')) == 0x081812fc
     *     bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465
     *     bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5
     *     bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde
     *
     *     => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^
     *        0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd
     */
    bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;

    /*
     *     bytes4(keccak256('name()')) == 0x06fdde03
     *     bytes4(keccak256('symbol()')) == 0x95d89b41
     *     bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd
     *
     *     => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f
     */
    bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;

    /*
     *     bytes4(keccak256('totalSupply()')) == 0x18160ddd
     *     bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59
     *     bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7
     *
     *     => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63
     */
    bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;

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

        // register the supported interfaces to conform to ERC721 via ERC165
        _registerInterface(_INTERFACE_ID_ERC721);
        _registerInterface(_INTERFACE_ID_ERC721_METADATA);
        _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);
    }

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

        return _holderTokens[owner].length();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token");
    }

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

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

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

        string memory _tokenURI = _tokenURIs[tokenId];

        // If there is no base URI, return the token URI.
        if (bytes(_baseURI).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(_baseURI, _tokenURI));
        }
        // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.
        return string(abi.encodePacked(_baseURI, tokenId.toString()));
    }

    /**
    * @dev Returns the base URI set via {_setBaseURI}. This will be
    * automatically added as a prefix in {tokenURI} to each token's URI, or
    * to the token ID if no specific URI is set for that token ID.
    */
    function baseURI() public view returns (string memory) {
        return _baseURI;
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
        return _holderTokens[owner].at(index);
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view override returns (uint256) {
        // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds
        return _tokenOwners.length();
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        (uint256 tokenId, ) = _tokenOwners.at(index);
        return tokenId;
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = 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 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 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 returns (bool) {
        return _tokenOwners.contains(tokenId);
    }

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

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     d*
     * - `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);

        _holderTokens[to].add(tokenId);

        _tokenOwners.set(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 = ownerOf(tokenId);

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

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

        // Clear metadata (if any)
        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }

        _holderTokens[owner].remove(tokenId);

        _tokenOwners.remove(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(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);

        _holderTokens[from].remove(tokenId);
        _holderTokens[to].add(tokenId);

        _tokenOwners.set(tokenId, to);

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @dev Internal function to set the base URI for all token IDs. It is
     * automatically added as a prefix to the value returned in {tokenURI},
     * or to the token ID if {tokenURI} is empty.
     */
    function _setBaseURI(string memory baseURI_) internal virtual {
        _baseURI = baseURI_;
    }

    /**
     * @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()) {
            return true;
        }
        bytes memory returndata = to.functionCall(abi.encodeWithSelector(
            IERC721Receiver(to).onERC721Received.selector,
            _msgSender(),
            from,
            tokenId,
            _data
        ), "ERC721: transfer to non ERC721Receiver implementer");
        bytes4 retval = abi.decode(returndata, (bytes4));
        return (retval == _ERC721_RECEIVED);
    }

    function _approve(address to, uint256 tokenId) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(ownerOf(tokenId), to, tokenId);
    }

    /**
     * @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 { }
}


contract ERC721Namable is ERC721 {

	uint256 public nameChangePrice = 300 ether;
	uint256 constant public BIO_CHANGE_PRICE = 100 ether;

	mapping(uint256 => string) public bio;

	// Mapping from token ID to name
	mapping (uint256 => string) private _tokenName;

	// Mapping if certain name string has already been reserved
	mapping (string => bool) private _nameReserved;

	event NameChange (uint256 indexed tokenId, string newName);
	event BioChange (uint256 indexed tokenId, string bio);

	constructor(string memory _name, string memory _symbol, string[] memory _names, uint256[] memory _ids) public ERC721(_name, _symbol) {
		for (uint256 i = 0; i < _ids.length; i++)
		{
			toggleReserveName(_names[i], true);
			_tokenName[_ids[i]] = _names[i];
			emit NameChange(_ids[i], _names[i]);
		}
	}

	function changeBio(uint256 _tokenId, string memory _bio) public virtual {
		address owner = ownerOf(_tokenId);
		require(_msgSender() == owner, "ERC721: caller is not the owner");

		bio[_tokenId] = _bio;
		emit BioChange(_tokenId, _bio); 
	}

	function changeName(uint256 tokenId, string memory newName) public virtual {
		address owner = ownerOf(tokenId);

		require(_msgSender() == owner, "ERC721: caller is not the owner");
		require(validateName(newName) == true, "Not a valid new name");
		require(sha256(bytes(newName)) != sha256(bytes(_tokenName[tokenId])), "New name is same as the current one");
		require(isNameReserved(newName) == false, "Name already reserved");

		// If already named, dereserve old name
		if (bytes(_tokenName[tokenId]).length > 0) {
			toggleReserveName(_tokenName[tokenId], false);
		}
		toggleReserveName(newName, true);
		_tokenName[tokenId] = newName;
		emit NameChange(tokenId, newName);
	}

	/**
	 * @dev Reserves the name if isReserve is set to true, de-reserves if set to false
	 */
	function toggleReserveName(string memory str, bool isReserve) internal {
		_nameReserved[toLower(str)] = isReserve;
	}

	/**
	 * @dev Returns name of the NFT at index.
	 */
	function tokenNameByIndex(uint256 index) public view returns (string memory) {
		return _tokenName[index];
	}

	/**
	 * @dev Returns if the name has been reserved.
	 */
	function isNameReserved(string memory nameString) public view returns (bool) {
		return _nameReserved[toLower(nameString)];
	}

	function validateName(string memory str) public pure returns (bool){
		bytes memory b = bytes(str);
		if(b.length < 1) return false;
		if(b.length > 25) return false; // Cannot be longer than 25 characters
		if(b[0] == 0x20) return false; // Leading space
		if (b[b.length - 1] == 0x20) return false; // Trailing space

		bytes1 lastChar = b[0];

		for(uint i; i<b.length; i++){
			bytes1 char = b[i];

			if (char == 0x20 && lastChar == 0x20) return false; // Cannot contain continous spaces

			if(
				!(char >= 0x30 && char <= 0x39) && //9-0
				!(char >= 0x41 && char <= 0x5A) && //A-Z
				!(char >= 0x61 && char <= 0x7A) && //a-z
				!(char == 0x20) //space
			)
				return false;

			lastChar = char;
		}

		return true;
	}

	 /**
	 * @dev Converts the string to lowercase
	 */
	function toLower(string memory str) public pure returns (string memory){
		bytes memory bStr = bytes(str);
		bytes memory bLower = new bytes(bStr.length);
		for (uint i = 0; i < bStr.length; i++) {
			// Uppercase character
			if ((uint8(bStr[i]) >= 65) && (uint8(bStr[i]) <= 90)) {
				bLower[i] = bytes1(uint8(bStr[i]) + 32);
			} else {
				bLower[i] = bStr[i];
			}
		}
		return string(bLower);
	}
}











/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}




/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;
    using Address for address;

    mapping (address => uint256) private _balances;

    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name, string memory symbol) public {
        _name = name;
        _symbol = symbol;
        _decimals = 18;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view returns (uint8) {
        return _decimals;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20};
     *
     * Requirements:
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal {
        _decimals = decimals_;
    }

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




interface IKongz {
	function balanceOG(address _user) external view returns(uint256);
}

contract YieldToken is ERC20("Banana", "BANANA") {
	using SafeMath for uint256;

	uint256 constant public BASE_RATE = 10 ether; 
	uint256 constant public INITIAL_ISSUANCE = 300 ether;
	// Tue Mar 18 2031 17:46:47 GMT+0000
	uint256 constant public END = 1931622407;

	mapping(address => uint256) public rewards;
	mapping(address => uint256) public lastUpdate;

	IKongz public  kongzContract;

	event RewardPaid(address indexed user, uint256 reward);

	constructor(address _kongz) public{
		kongzContract = IKongz(_kongz);
	}


	function min(uint256 a, uint256 b) internal pure returns (uint256) {
		return a < b ? a : b;
	}

	// called when minting many NFTs
	// updated_amount = (balanceOG(user) * base_rate * delta / 86400) + amount * initial rate
	function updateRewardOnMint(address _user, uint256 _amount) external {
		require(msg.sender == address(kongzContract), "Can't call this");
		uint256 time = min(block.timestamp, END);
		uint256 timerUser = lastUpdate[_user];
		if (timerUser > 0)
			rewards[_user] = rewards[_user].add(kongzContract.balanceOG(_user).mul(BASE_RATE.mul((time.sub(timerUser)))).div(86400)
				.add(_amount.mul(INITIAL_ISSUANCE)));
		else 
			rewards[_user] = rewards[_user].add(_amount.mul(INITIAL_ISSUANCE));
		lastUpdate[_user] = time;
	}

	// called on transfers
	function updateReward(address _from, address _to, uint256 _tokenId) external {
		require(msg.sender == address(kongzContract));
		if (_tokenId < 1001) {
			uint256 time = min(block.timestamp, END);
			uint256 timerFrom = lastUpdate[_from];
			if (timerFrom > 0)
				rewards[_from] += kongzContract.balanceOG(_from).mul(BASE_RATE.mul((time.sub(timerFrom)))).div(86400);
			if (timerFrom != END)
				lastUpdate[_from] = time;
			if (_to != address(0)) {
				uint256 timerTo = lastUpdate[_to];
				if (timerTo > 0)
					rewards[_to] += kongzContract.balanceOG(_to).mul(BASE_RATE.mul((time.sub(timerTo)))).div(86400);
				if (timerTo != END)
					lastUpdate[_to] = time;
			}
		}
	}

	function getReward(address _to) external {
		require(msg.sender == address(kongzContract));
		uint256 reward = rewards[_to];
		if (reward > 0) {
			rewards[_to] = 0;
			_mint(_to, reward);
			emit RewardPaid(_to, reward);
		}
	}

	function burn(address _from, uint256 _amount) external {
		require(msg.sender == address(kongzContract));
		_burn(_from, _amount);
	}

	function getTotalClaimable(address _user) external view returns(uint256) {
		uint256 time = min(block.timestamp, END);
		uint256 pending = kongzContract.balanceOG(_user).mul(BASE_RATE.mul((time.sub(lastUpdate[_user])))).div(86400);
		return rewards[_user] + pending;
	}
}



contract Kongz is ERC721Namable, Ownable {
	using ECDSA for bytes32;

	struct Kong {
		uint256 genes;
		uint256 bornAt;
	}

	address public constant burn = address(0x000000000000000000000000000000000000dEaD);
	IERC1155 public constant OPENSEA_STORE = IERC1155(0x495f947276749Ce646f68AC8c248420045cb7b5e);
	address constant public SIGNER = address(0x5E5e683b687f509968D90Acd31ce6b8Cfa3d25E4);
	uint256 constant public BREED_PRICE = 600 ether;


	mapping(uint256 => Kong) public kongz;
	mapping(address => uint256) public balanceOG;
	uint256 public bebeCount;

	YieldToken public yieldToken;
	IBreedManager breedManager;

	// Events
	event KongIncubated (uint256 tokenId, uint256 matron, uint256 sire);
	event KongBorn(uint256 tokenId, uint256 genes);
	event KongAscended(uint256 tokenId, uint256 genes);

	constructor(string memory _name, string memory _symbol, string[] memory _names, uint256[] memory _ids) public ERC721Namable(_name, _symbol, _names, _ids) {
		_setBaseURI("https://kongz.herokuapp.com/api/metadata/");
		_mint(msg.sender, 1001);
		_mint(msg.sender, 1002);
		_mint(msg.sender, 1003);
		kongz[1001] = Kong(0, block.timestamp);
		kongz[1002] = Kong(0, block.timestamp);
		kongz[1003] = Kong(0, block.timestamp);
		emit KongIncubated(1001, 0, 0);
		emit KongIncubated(1002, 0, 0);
		emit KongIncubated(1003, 0, 0);
		bebeCount = 3;
	}

	function updateURI(string memory newURI) public onlyOwner {
		_setBaseURI(newURI);
	}

	function setBreedingManager(address _manager) external onlyOwner {
		breedManager = IBreedManager(_manager);
	}

	function setYieldToken(address _yield) external onlyOwner {
		yieldToken = YieldToken(_yield);
	}

	function changeNamePrice(uint256 _price) external onlyOwner {
		nameChangePrice = _price;
	}

	function isValidKong(uint256 _id) pure internal returns(bool) {
		// making sure the ID fits the opensea format:
		// first 20 bytes are the maker address
		// next 7 bytes are the nft ID
		// last 5 bytes the value associated to the ID, here will always be equal to 1
		// There will only be 1000 kongz, we can fix boundaries and remove 5 ids that dont match kongz
		if (_id >> 96 != 0x000000000000000000000000a2548e7ad6cee01eeb19d49bedb359aea3d8ad1d)
			return false;
		if (_id & 0x000000000000000000000000000000000000000000000000000000ffffffffff != 1)
			return false;
		uint256 id = (_id & 0x0000000000000000000000000000000000000000ffffffffffffff0000000000) >> 40;
		if (id > 1005 || id == 262 || id == 197 || id == 75 || id == 34 || id == 18 || id == 0)
			return false;
		return true;
	}

	function returnCorrectId(uint256 _id) pure internal returns(uint256) {
		_id = (_id & 0x0000000000000000000000000000000000000000ffffffffffffff0000000000) >> 40;
		if (_id > 262)
			return _id - 5;
		else if (_id > 197)
			return _id - 4;
        else if (_id > 75)
            return _id - 3;
        else if (_id > 34)
            return _id - 2;
        else if (_id > 18)
            return _id - 1;
		else
			return _id;
	}

	function ascend(uint256 _tokenId, uint256 _genes, bytes calldata _sig) external {
		require(isValidKong(_tokenId), "Not valid Kong");
		uint256 id = returnCorrectId(_tokenId);
		require(keccak256(abi.encodePacked(id, _genes)).toEthSignedMessageHash().recover(_sig) == SIGNER, "Sig not valid");
	
		kongz[id] = Kong(_genes, block.timestamp);
		_mint(msg.sender, id);
		OPENSEA_STORE.safeTransferFrom(msg.sender, burn, _tokenId, 1, "");
		yieldToken.updateRewardOnMint(msg.sender, 1);
		balanceOG[msg.sender]++;
		emit KongAscended(id, _genes);
	}

	function breed(uint256 _sire, uint256 _matron) external {
		require(ownerOf(_sire) == msg.sender && ownerOf(_matron) == msg.sender);
		require(breedManager.tryBreed(_sire, _matron));

		yieldToken.burn(msg.sender, BREED_PRICE);
		bebeCount++;
		uint256 id = 1000 + bebeCount;
		kongz[id] = Kong(0, block.timestamp);
		_mint(msg.sender, id);
		emit KongIncubated(id, _matron, _sire);
	}

	function evolve(uint256 _tokenId) external {
		require(ownerOf(_tokenId) == msg.sender);
		Kong storage kong = kongz[_tokenId];
		require(kong.genes == 0);

		uint256 genes = breedManager.tryEvolve(_tokenId);
		kong.genes = genes;
		emit KongBorn(_tokenId, genes);
	}

	function changeName(uint256 tokenId, string memory newName) public override {
		yieldToken.burn(msg.sender, nameChangePrice);
		super.changeName(tokenId, newName);
	}

	function changeBio(uint256 tokenId, string memory _bio) public override {
		yieldToken.burn(msg.sender, BIO_CHANGE_PRICE);
		super.changeBio(tokenId, _bio);
	}

	function getReward() external {
		yieldToken.updateReward(msg.sender, address(0), 0);
		yieldToken.getReward(msg.sender);
	}

	function transferFrom(address from, address to, uint256 tokenId) public override {
		yieldToken.updateReward(from, to, tokenId);
		if (tokenId < 1001)
		{
			balanceOG[from]--;
			balanceOG[to]++;
		}
		ERC721.transferFrom(from, to, tokenId);
	}

	function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public override {
		yieldToken.updateReward(from, to, tokenId);
		if (tokenId < 1001)
		{
			balanceOG[from]--;
			balanceOG[to]++;
		}
		ERC721.safeTransferFrom(from, to, tokenId, _data);
	}

	function onERC1155Received(address _operator, address _from, uint256 _id, uint256 _value, bytes calldata _data) external returns(bytes4) {
		require(msg.sender == address(OPENSEA_STORE), "WrappedKongz: not opensea asset");
		return Kongz.onERC1155Received.selector;
	}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string[]","name":"_names","type":"string[]"},{"internalType":"uint256[]","name":"_ids","type":"uint256[]"}],"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":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"bio","type":"string"}],"name":"BioChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"genes","type":"uint256"}],"name":"KongAscended","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"genes","type":"uint256"}],"name":"KongBorn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"matron","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"sire","type":"uint256"}],"name":"KongIncubated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"newName","type":"string"}],"name":"NameChange","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":"BIO_CHANGE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BREED_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPENSEA_STORE","outputs":[{"internalType":"contract IERC1155","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SIGNER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_genes","type":"uint256"},{"internalType":"bytes","name":"_sig","type":"bytes"}],"name":"ascend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOG","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bebeCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"bio","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_sire","type":"uint256"},{"internalType":"uint256","name":"_matron","type":"uint256"}],"name":"breed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burn","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"_bio","type":"string"}],"name":"changeBio","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"newName","type":"string"}],"name":"changeName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"changeNamePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"evolve","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":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","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":"string","name":"nameString","type":"string"}],"name":"isNameReserved","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"kongz","outputs":[{"internalType":"uint256","name":"genes","type":"uint256"},{"internalType":"uint256","name":"bornAt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nameChangePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"onERC1155Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_manager","type":"address"}],"name":"setBreedingManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_yield","type":"address"}],"name":"setYieldToken","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":"string","name":"str","type":"string"}],"name":"toLower","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenNameByIndex","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"updateURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"str","type":"string"}],"name":"validateName","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"yieldToken","outputs":[{"internalType":"contract YieldToken","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

6080604052681043561a8829300000600a553480156200001e57600080fd5b506040516200468a3803806200468a8339810160408190526200004191620009eb565b838383838383620000596301ffc9a760e01b62000421565b81516200006e9060069060208501906200086b565b508051620000849060079060208401906200086b565b50620000976380ac58cd60e01b62000421565b620000a9635b5e139f60e01b62000421565b620000bb63780e9d6360e01b62000421565b505060005b8151811015620001ae57620000f1838281518110620000db57fe5b602002602001015160016200047c60201b60201c565b828181518110620000fe57fe5b6020026020010151600c60008484815181106200011757fe5b602002602001015181526020019081526020016000209080519060200190620001429291906200086b565b508181815181106200015057fe5b60200260200101517f7e632a301794d8d4a81ea7e20f37d1947158d36e66403af04ba85dd194b66f1b8483815181106200018657fe5b60200260200101516040516200019d919062000b26565b60405180910390a2600101620000c0565b50505050506000620001c5620004bd60201b60201c565b600e80546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350620002376040518060600160405280602981526020016200466160299139620004c1565b62000245336103e9620004da565b62000253336103ea620004da565b62000261336103eb620004da565b60408051808201825260008082524260208084018281526103e9808552600f80845295517fe2114dcdedaa121c8deda8e69628528d7b16fdf86d5943e3caa2d66d504a1f655590517fe2114dcdedaa121c8deda8e69628528d7b16fdf86d5943e3caa2d66d504a1f6655855180870187528481528083018481526103ea865286845290517f67ee9b26bc59391511a8a7b03d30a48e72eb59ddf6f7c97b3e087fc225dbd2ac55517f67ee9b26bc59391511a8a7b03d30a48e72eb59ddf6f7c97b3e087fc225dbd2ad55855180870187528481528083019384526103eb85529490915292517f40ae2ea05c2f2b0f9c0f9d799316be113b9d1aa1bb44114ed2fd51ac90c1152955517f40ae2ea05c2f2b0f9c0f9d799316be113b9d1aa1bb44114ed2fd51ac90c1152a5591516000805160206200464183398151915292620003ab9291819062000b10565b60405180910390a1600080516020620046418339815191526103ea600080604051620003da9392919062000b10565b60405180910390a1600080516020620046418339815191526103eb600080604051620004099392919062000b10565b60405180910390a1505060036011555062000c789050565b6001600160e01b03198082161415620004575760405162461bcd60e51b81526004016200044e9062000b5b565b60405180910390fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b80600d6200048a84620005c8565b60405162000499919062000af2565b908152604051908190036020019020805491151560ff199092169190911790555050565b3390565b8051620004d69060099060208401906200086b565b5050565b6001600160a01b038216620005035760405162461bcd60e51b81526004016200044e9062000bc9565b6200050e81620006fe565b156200052e5760405162461bcd60e51b81526004016200044e9062000b92565b6200053c6000838362000721565b6001600160a01b03821660009081526001602090815260409091206200056d91839062001b0462000726821b17901c565b506200058b818360026200073b60201b62001b10179092919060201c565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b606080829050606081516001600160401b0381118015620005e857600080fd5b506040519080825280601f01601f19166020018201604052801562000614576020820181803683370190505b50905060005b8251811015620006f65760418382815181106200063357fe5b016020015160f81c108015906200065f5750605a8382815181106200065457fe5b016020015160f81c11155b15620006b0578281815181106200067257fe5b602001015160f81c60f81b60f81c60200160f81b8282815181106200069357fe5b60200101906001600160f81b031916908160001a905350620006ed565b828181518110620006bd57fe5b602001015160f81c60f81b828281518110620006d557fe5b60200101906001600160f81b031916908160001a9053505b6001016200061a565b509392505050565b60006200071b8260026200075b60201b62001b301790919060201c565b92915050565b505050565b600062000734838362000769565b9392505050565b60006200075384846001600160a01b038516620007b8565b949350505050565b600062000734838362000853565b600062000777838362000853565b620007af575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556200071b565b5060006200071b565b6000828152600184016020526040812054806200081f57505060408051808201825283815260208082018481528654600181810189556000898152848120955160029093029095019182559151908201558654868452818801909252929091205562000734565b828560000160018303815481106200083357fe5b906000526020600020906002020160010181905550600091505062000734565b60009081526001919091016020526040902054151590565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620008ae57805160ff1916838001178555620008de565b82800160010185558215620008de579182015b82811115620008de578251825591602001919060010190620008c1565b50620008ec929150620008f0565b5090565b5b80821115620008ec5760008155600101620008f1565b600082601f83011262000918578081fd5b81516200092f620009298262000c25565b62000bfe565b8181529150602080830190848101818402860182018710156200095157600080fd5b60005b84811015620009725781518452928201929082019060010162000954565b505050505092915050565b600082601f8301126200098e578081fd5b81516001600160401b03811115620009a4578182fd5b620009b9601f8201601f191660200162000bfe565b9150808252836020828501011115620009d157600080fd5b620009e481602084016020860162000c45565b5092915050565b6000806000806080858703121562000a01578384fd5b84516001600160401b038082111562000a18578586fd5b62000a26888389016200097d565b955060209150818701518181111562000a3d578586fd5b62000a4b89828a016200097d565b95505060408701518181111562000a60578485fd5b8701601f8101891362000a71578485fd5b805162000a82620009298262000c25565b81815284810190838601885b8481101562000abb5762000aa88e8984518901016200097d565b8452928701929087019060010162000a8e565b505060608b015190975094505050508082111562000ad7578283fd5b5062000ae68782880162000907565b91505092959194509250565b6000825162000b0681846020870162000c45565b9190910192915050565b9283526020830191909152604082015260600190565b600060208252825180602084015262000b4781604085016020870162000c45565b601f01601f19169190910160400192915050565b6020808252601c908201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604082015260600190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6040518181016001600160401b038111828210171562000c1d57600080fd5b604052919050565b60006001600160401b0382111562000c3b578081fd5b5060209081020190565b60005b8381101562000c6257818101518382015260200162000c48565b8381111562000c72576000848401525b50505050565b6139b98062000c886000396000f3fe608060405234801561001057600080fd5b506004361061028a5760003560e01c8063715018a61161015c578063c30f4a5a116100ce578063f119f56711610087578063f119f56714610545578063f23a6e6114610558578063f27620f714610578578063f2fde38b14610580578063f535f54614610593578063fa75796a146105a65761028a565b8063c30f4a5a146104d3578063c39cbef1146104e6578063c87b56dd146104f9578063cc371bf31461050c578063d9ecad7b1461051f578063e985e9c5146105325761028a565b806395d89b411161012057806395d89b41146104695780639ffdb65a14610471578063a22cb46514610484578063ae78b54814610497578063b88d4fde146104b8578063bf424e7e146104cb5761028a565b8063715018a61461043657806374151be01461043e57806376d5de85146104465780638da5cb5b1461044e5780639416b423146104565761028a565b806338712d8d116102005780634f6ccce7116101b95780634f6ccce7146103da578063582abd12146103ed5780636352211e146103f55780636c0360eb146104085780636d5224181461041057806370a08231146104235761028a565b806338712d8d146103895780633d18b9121461039c57806342842e0e146103a457806344df8e70146103b757806345ca7738146103bf5780634d426528146103c75761028a565b806315b56d101161025257806315b56d101461031557806318160ddd1461032857806323b872dd1461033d57806323ffce85146103505780632f745c591461036357806336033deb146103765761028a565b806301ffc9a71461028f578063045869a4146102b857806306fdde03146102cd578063081812fc146102e2578063095ea7b314610302575b600080fd5b6102a261029d366004612dbe565b6105ae565b6040516102af919061312c565b60405180910390f35b6102cb6102c6366004612ea7565b6105d1565b005b6102d5610828565b6040516102af919061316a565b6102f56102f0366004612e29565b6108be565b6040516102af9190613070565b6102cb610310366004612d60565b610901565b6102a2610323366004612df6565b610999565b6103306109cd565b6040516102af91906138a4565b6102cb61034b366004612c07565b6109de565b6102cb61035e366004612bb8565b610a89565b610330610371366004612d60565b610ae0565b6102d5610384366004612e29565b610b0b565b610330610397366004612bb8565b610ba6565b6102cb610bb8565b6102cb6103b2366004612c07565b610c83565b6102f5610c9e565b610330610ca4565b6102cb6103d5366004612e41565b610caa565b6103306103e8366004612e29565b610d25565b6102f5610d3b565b6102f5610403366004612e29565b610d53565b6102d5610d7b565b6102d561041e366004612e29565b610ddc565b610330610431366004612bb8565b610e7d565b6102cb610ec6565b610330610f45565b6102f5610f52565b6102f5610f61565b6102d5610464366004612df6565b610f70565b6102d5611092565b6102a261047f366004612df6565b6110f3565b6102cb610492366004612d29565b6112de565b6104aa6104a5366004612e29565b6113ac565b6040516102af929190613062565b6102cb6104c6366004612c47565b6113c5565b610330611471565b6102cb6104e1366004612df6565b61147e565b6102cb6104f4366004612e41565b6114bf565b6102d5610507366004612e29565b61152f565b6102cb61051a366004612e29565b611679565b6102cb61052d366004612e86565b6116b3565b6102a2610540366004612bd3565b611872565b6102cb610553366004612e29565b6118a0565b61056b610566366004612caf565b611990565b6040516102af9190613155565b6102f56119d8565b6102cb61058e366004612bb8565b6119f0565b6102cb6105a1366004612bb8565b611aa7565b610330611afe565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b6105da84611b3c565b6105ff5760405162461bcd60e51b81526004016105f6906133ae565b60405180910390fd5b600061060a85611be8565b9050735e5e683b687f509968d90acd31ce6b8cfa3d25e46001600160a01b031661069b84848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604051610695925061067a915086908a90602001613062565b60405160208183030381529060405280519060200120611c62565b90611c92565b6001600160a01b0316146106c15760405162461bcd60e51b81526004016105f690613464565b6040805180820182528581524260208083019182526000858152600f909152929092209051815590516001909101556106fa3382611dc0565b604051637921219560e11b815273495f947276749ce646f68ac8c248420045cb7b5e9063f242432a9061073a90339061dead908a906001906004016130db565b600060405180830381600087803b15801561075457600080fd5b505af1158015610768573d6000803e3d6000fd5b505060125460405163cc240c0160e01b81526001600160a01b03909116925063cc240c01915061079f903390600190600401613113565b600060405180830381600087803b1580156107b957600080fd5b505af11580156107cd573d6000803e3d6000fd5b5050336000908152601060205260409081902080546001019055517f338ecae7e0cfb58419f5abadadb411fcd7243a3275c945c6b4227367aaec82c39250610819915083908790613062565b60405180910390a15050505050565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108b45780601f10610889576101008083540402835291602001916108b4565b820191906000526020600020905b81548152906001019060200180831161089757829003601f168201915b5050505050905090565b60006108c982611e84565b6108e55760405162461bcd60e51b81526004016105f69061361a565b506000908152600460205260409020546001600160a01b031690565b600061090c82610d53565b9050806001600160a01b0316836001600160a01b031614156109405760405162461bcd60e51b81526004016105f690613776565b806001600160a01b0316610952611e91565b6001600160a01b0316148061096e575061096e81610540611e91565b61098a5760405162461bcd60e51b81526004016105f69061348b565b6109948383611e95565b505050565b6000600d6109a683610f70565b6040516109b39190612f24565b9081526040519081900360200190205460ff169050919050565b60006109d96002611f03565b905090565b60125460405163164746fd60e11b81526001600160a01b0390911690632c8e8dfa90610a1290869086908690600401613084565b600060405180830381600087803b158015610a2c57600080fd5b505af1158015610a40573d6000803e3d6000fd5b505050506103e9811015610a7e576001600160a01b038084166000908152601060205260408082208054600019019055918416815220805460010190555b610994838383611f0e565b610a91611e91565b600e546001600160a01b03908116911614610abe5760405162461bcd60e51b81526004016105f690613666565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0382166000908152600160205260408120610b029083611f46565b90505b92915050565b600b6020908152600091825260409182902080548351601f600260001961010060018616150201909316929092049182018490048402810184019094528084529091830182828015610b9e5780601f10610b7357610100808354040283529160200191610b9e565b820191906000526020600020905b815481529060010190602001808311610b8157829003601f168201915b505050505081565b60106020526000908152604090205481565b60125460405163164746fd60e11b81526001600160a01b0390911690632c8e8dfa90610bed9033906000908190600401613084565b600060405180830381600087803b158015610c0757600080fd5b505af1158015610c1b573d6000803e3d6000fd5b5050601254604051630c00007b60e41b81526001600160a01b03909116925063c00007b09150610c4f903390600401613070565b600060405180830381600087803b158015610c6957600080fd5b505af1158015610c7d573d6000803e3d6000fd5b50505050565b610994838383604051806020016040528060008152506113c5565b61dead81565b600a5481565b601254604051632770a7eb60e21b81526001600160a01b0390911690639dc29fac90610ce590339068056bc75e2d6310000090600401613113565b600060405180830381600087803b158015610cff57600080fd5b505af1158015610d13573d6000803e3d6000fd5b50505050610d218282611f52565b5050565b600080610d33600284611ff4565b509392505050565b735e5e683b687f509968d90acd31ce6b8cfa3d25e481565b6000610b058260405180606001604052806029815260200161395b6029913960029190612012565b60098054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108b45780601f10610889576101008083540402835291602001916108b4565b6000818152600c602090815260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845260609392830182828015610e715780601f10610e4657610100808354040283529160200191610e71565b820191906000526020600020905b815481529060010190602001808311610e5457829003601f168201915b50505050509050919050565b60006001600160a01b038216610ea55760405162461bcd60e51b81526004016105f6906134e8565b6001600160a01b0382166000908152600160205260409020610b0590611f03565b610ece611e91565b600e546001600160a01b03908116911614610efb5760405162461bcd60e51b81526004016105f690613666565b600e546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600e80546001600160a01b0319169055565b68056bc75e2d6310000081565b6012546001600160a01b031681565b600e546001600160a01b031690565b6060808290506060815167ffffffffffffffff81118015610f9057600080fd5b506040519080825280601f01601f191660200182016040528015610fbb576020820181803683370190505b50905060005b8251811015610d33576041838281518110610fd857fe5b016020015160f81c108015906110025750605a838281518110610ff757fe5b016020015160f81c11155b1561104f5782818151811061101357fe5b602001015160f81c60f81b60f81c60200160f81b82828151811061103357fe5b60200101906001600160f81b031916908160001a90535061108a565b82818151811061105b57fe5b602001015160f81c60f81b82828151811061107257fe5b60200101906001600160f81b031916908160001a9053505b600101610fc1565b60078054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108b45780601f10610889576101008083540402835291602001916108b4565b6000606082905060018151101561110e5760009150506105cc565b6019815111156111225760009150506105cc565b8060008151811061112f57fe5b6020910101516001600160f81b031916600160fd1b14156111545760009150506105cc565b8060018251038151811061116457fe5b6020910101516001600160f81b031916600160fd1b14156111895760009150506105cc565b60008160008151811061119857fe5b01602001516001600160f81b031916905060005b82518110156112d35760008382815181106111c357fe5b01602001516001600160f81b0319169050600160fd1b811480156111f45750600160fd1b6001600160f81b03198416145b156112065760009450505050506105cc565b600360fc1b6001600160f81b03198216108015906112325750603960f81b6001600160f81b0319821611155b1580156112685750604160f81b6001600160f81b03198216108015906112665750602d60f91b6001600160f81b0319821611155b155b801561129d5750606160f81b6001600160f81b031982161080159061129b5750603d60f91b6001600160f81b0319821611155b155b80156112b75750600160fd1b6001600160f81b0319821614155b156112c95760009450505050506105cc565b91506001016111ac565b506001949350505050565b6112e6611e91565b6001600160a01b0316826001600160a01b031614156113175760405162461bcd60e51b81526004016105f690613377565b8060056000611324611e91565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611368611e91565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113a0919061312c565b60405180910390a35050565b600f602052600090815260409020805460019091015482565b60125460405163164746fd60e11b81526001600160a01b0390911690632c8e8dfa906113f990879087908790600401613084565b600060405180830381600087803b15801561141357600080fd5b505af1158015611427573d6000803e3d6000fd5b505050506103e9821015611465576001600160a01b038085166000908152601060205260408082208054600019019055918516815220805460010190555b610c7d8484848461201f565b682086ac35105260000081565b611486611e91565b600e546001600160a01b039081169116146114b35760405162461bcd60e51b81526004016105f690613666565b6114bc81612058565b50565b601254600a54604051632770a7eb60e21b81526001600160a01b0390921691639dc29fac916114f391339190600401613113565b600060405180830381600087803b15801561150d57600080fd5b505af1158015611521573d6000803e3d6000fd5b50505050610d21828261206b565b606061153a82611e84565b6115565760405162461bcd60e51b81526004016105f6906136e4565b60008281526008602090815260409182902080548351601f60026000196101006001861615020190931692909204918201849004840281018401909452808452606093928301828280156115eb5780601f106115c0576101008083540402835291602001916115eb565b820191906000526020600020905b8154815290600101906020018083116115ce57829003601f168201915b5050600954939450505050600260001961010060018416150201909116046116145790506105cc565b8051156116465760098160405160200161162f929190612fb0565b6040516020818303038152906040529150506105cc565b6009611651846122f0565b604051602001611662929190612fb0565b604051602081830303815290604052915050919050565b611681611e91565b600e546001600160a01b039081169116146116ae5760405162461bcd60e51b81526004016105f690613666565b600a55565b336116bd83610d53565b6001600160a01b03161480156116e35750336116d882610d53565b6001600160a01b0316145b6116ec57600080fd5b601354604051630987907f60e41b81526001600160a01b039091169063987907f09061171e9085908590600401613062565b602060405180830381600087803b15801561173857600080fd5b505af115801561174c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117709190612d8a565b61177957600080fd5b601254604051632770a7eb60e21b81526001600160a01b0390911690639dc29fac906117b4903390682086ac35105260000090600401613113565b600060405180830381600087803b1580156117ce57600080fd5b505af11580156117e2573d6000803e3d6000fd5b505060118054600180820190925560408051808201825260008082524260208084019182526103e9909501808352600f909552929020905181559051920191909155915061183290503382611dc0565b7fbeacfa49f9edca3f9eb455bc9a8b4c5c9be74a6b8bb0acb319427fc84c55b1c8818385604051611865939291906138ad565b60405180910390a1505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b336118aa82610d53565b6001600160a01b0316146118bd57600080fd5b6000818152600f602052604090208054156118d757600080fd5b601354604051633c51198560e11b81526000916001600160a01b0316906378a2330a906119089086906004016138a4565b60206040518083038186803b15801561192057600080fd5b505afa158015611934573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119589190612da6565b8083556040519091507fdde4a29d9b4e2fc8b8ecc3389d7a8d4ccc464ea07c41be15b06b83ebd4a37383906118659085908490613062565b60003373495f947276749ce646f68ac8c248420045cb7b5e146119c55760405162461bcd60e51b81526004016105f69061383f565b5063f23a6e6160e01b9695505050505050565b73495f947276749ce646f68ac8c248420045cb7b5e81565b6119f8611e91565b600e546001600160a01b03908116911614611a255760405162461bcd60e51b81526004016105f690613666565b6001600160a01b038116611a4b5760405162461bcd60e51b81526004016105f6906132b6565b600e546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600e80546001600160a01b0319166001600160a01b0392909216919091179055565b611aaf611e91565b600e546001600160a01b03908116911614611adc5760405162461bcd60e51b81526004016105f690613666565b601380546001600160a01b0319166001600160a01b0392909216919091179055565b60115481565b6000610b0283836123cb565b6000611b2684846001600160a01b038516612415565b90505b9392505050565b6000610b0283836124ac565b6000606082901c73a2548e7ad6cee01eeb19d49bedb359aea3d8ad1d14611b65575060006105cc565b8164ffffffffff16600114611b7c575060006105cc565b66ffffffffffffff602883901c166103ed811180611b9b575080610106145b80611ba657508060c5145b80611bb1575080604b145b80611bbc5750806022145b80611bc75750806012145b80611bd0575080155b15611bdf5760009150506105cc565b50600192915050565b60281c66ffffffffffffff166000610106821115611c0b575060041981016105cc565b60c5821115611c1f575060031981016105cc565b604b821115611c33575060021981016105cc565b6022821115611c47575060011981016105cc565b6012821115611c5b575060001981016105cc565b50806105cc565b600081604051602001611c759190613031565b604051602081830303815290604052805190602001209050919050565b60008151604114611cb55760405162461bcd60e51b81526004016105f6906131f6565b60208201516040830151606084015160001a7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115611d075760405162461bcd60e51b81526004016105f6906133d6565b8060ff16601b14158015611d1f57508060ff16601c14155b15611d3c5760405162461bcd60e51b81526004016105f690613532565b600060018783868660405160008152602001604052604051611d619493929190613137565b6020604051602081039080840390855afa158015611d83573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611db65760405162461bcd60e51b81526004016105f69061317d565b9695505050505050565b6001600160a01b038216611de65760405162461bcd60e51b81526004016105f6906135b6565b611def81611e84565b15611e0c5760405162461bcd60e51b81526004016105f6906132fc565b611e1860008383610994565b6001600160a01b0382166000908152600160205260409020611e3a9082611b04565b50611e4760028284611b10565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000610b05600283611b30565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611eca82610d53565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610b05826124c4565b611f1f611f19611e91565b826124c8565b611f3b5760405162461bcd60e51b81526004016105f6906137b7565b61099483838361254d565b6000610b02838361265b565b6000611f5d83610d53565b9050806001600160a01b0316611f71611e91565b6001600160a01b031614611f975760405162461bcd60e51b81526004016105f69061322d565b6000838152600b602090815260409091208351611fb692850190612a50565b50827fbe3e2fc72ea4bd0d860e908b1ee27aa9856809e62a75bfc0cb7f04b5d791873d83604051611fe7919061316a565b60405180910390a2505050565b600080808061200386866126a0565b909450925050505b9250929050565b6000611b268484846126fc565b61203061202a611e91565b836124c8565b61204c5760405162461bcd60e51b81526004016105f6906137b7565b610c7d8484848461275b565b8051610d21906009906020840190612a50565b600061207683610d53565b9050806001600160a01b031661208a611e91565b6001600160a01b0316146120b05760405162461bcd60e51b81526004016105f69061322d565b6120b9826110f3565b15156001146120da5760405162461bcd60e51b81526004016105f690613876565b6000838152600c60205260409081902090516002916120f891612f40565b602060405180830381855afa158015612115573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906121389190612da6565b6002836040516121489190612f24565b602060405180830381855afa158015612165573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906121889190612da6565b14156121a65760405162461bcd60e51b81526004016105f690613733565b6121af82610999565b156121cc5760405162461bcd60e51b81526004016105f6906135eb565b6000838152600c60205260409020546002600019610100600184161502019091160415612295576000838152600c602090815260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845261229593928301828280156122895780601f1061225e57610100808354040283529160200191612289565b820191906000526020600020905b81548152906001019060200180831161226c57829003601f168201915b5050505050600061278e565b6122a082600161278e565b6000838152600c6020908152604090912083516122bf92850190612a50565b50827f7e632a301794d8d4a81ea7e20f37d1947158d36e66403af04ba85dd194b66f1b83604051611fe7919061316a565b60608161231557506040805180820190915260018152600360fc1b60208201526105cc565b8160005b811561232d57600101600a82049150612319565b60608167ffffffffffffffff8111801561234657600080fd5b506040519080825280601f01601f191660200182016040528015612371576020820181803683370190505b50859350905060001982015b83156123c257600a840660300160f81b828280600190039350815181106123a057fe5b60200101906001600160f81b031916908160001a905350600a8404935061237d565b50949350505050565b60006123d783836124ac565b61240d57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610b05565b506000610b05565b60008281526001840160205260408120548061247a575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055611b29565b8285600001600183038154811061248d57fe5b9060005260206000209060020201600101819055506000915050611b29565b60009081526001919091016020526040902054151590565b5490565b60006124d382611e84565b6124ef5760405162461bcd60e51b81526004016105f690613418565b60006124fa83610d53565b9050806001600160a01b0316846001600160a01b031614806125355750836001600160a01b031661252a846108be565b6001600160a01b0316145b8061254557506125458185611872565b949350505050565b826001600160a01b031661256082610d53565b6001600160a01b0316146125865760405162461bcd60e51b81526004016105f69061369b565b6001600160a01b0382166125ac5760405162461bcd60e51b81526004016105f690613333565b6125b7838383610994565b6125c2600082611e95565b6001600160a01b03831660009081526001602052604090206125e490826127cb565b506001600160a01b03821660009081526001602052604090206126079082611b04565b5061261460028284611b10565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b8154600090821061267e5760405162461bcd60e51b81526004016105f6906131b4565b82600001828154811061268d57fe5b9060005260206000200154905092915050565b8154600090819083106126c55760405162461bcd60e51b81526004016105f690613574565b60008460000184815481106126d657fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b6000828152600184016020526040812054828161272c5760405162461bcd60e51b81526004016105f6919061316a565b5084600001600182038154811061273f57fe5b9060005260206000209060020201600101549150509392505050565b61276684848461254d565b612772848484846127d7565b610c7d5760405162461bcd60e51b81526004016105f690613264565b80600d61279a84610f70565b6040516127a79190612f24565b908152604051908190036020019020805491151560ff199092169190911790555050565b6000610b0283836128b6565b60006127eb846001600160a01b031661297c565b6127f757506001612545565b606061287f630a85bd0160e11b61280c611e91565b88878760405160240161282294939291906130a8565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001613929603291396001600160a01b0388169190612982565b90506000818060200190518101906128979190612dda565b6001600160e01b031916630a85bd0160e11b1492505050949350505050565b6000818152600183016020526040812054801561297257835460001980830191908101906000908790839081106128e957fe5b906000526020600020015490508087600001848154811061290657fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061293657fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610b05565b6000915050610b05565b3b151590565b6060611b26848460008560606129978561297c565b6129b35760405162461bcd60e51b81526004016105f690613808565b60006060866001600160a01b031685876040516129d09190612f24565b60006040518083038185875af1925050503d8060008114612a0d576040519150601f19603f3d011682016040523d82523d6000602084013e612a12565b606091505b50915091508115612a265791506125459050565b805115612a365780518082602001fd5b8360405162461bcd60e51b81526004016105f6919061316a565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10612a9157805160ff1916838001178555612abe565b82800160010185558215612abe579182015b82811115612abe578251825591602001919060010190612aa3565b50612aca929150612ace565b5090565b5b80821115612aca5760008155600101612acf565b80356001600160a01b0381168114610b0557600080fd5b60008083601f840112612b0b578182fd5b50813567ffffffffffffffff811115612b22578182fd5b60208301915083602082850101111561200b57600080fd5b600082601f830112612b4a578081fd5b813567ffffffffffffffff80821115612b61578283fd5b604051601f8301601f191681016020018281118282101715612b81578485fd5b604052828152925082848301602001861015612b9c57600080fd5b8260208601602083013760006020848301015250505092915050565b600060208284031215612bc9578081fd5b610b028383612ae3565b60008060408385031215612be5578081fd5b612bef8484612ae3565b9150612bfe8460208501612ae3565b90509250929050565b600080600060608486031215612c1b578081fd5b8335612c26816138ef565b92506020840135612c36816138ef565b929592945050506040919091013590565b60008060008060808587031215612c5c578081fd5b612c668686612ae3565b9350612c758660208701612ae3565b925060408501359150606085013567ffffffffffffffff811115612c97578182fd5b612ca387828801612b3a565b91505092959194509250565b60008060008060008060a08789031215612cc7578182fd5b8635612cd2816138ef565b95506020870135612ce2816138ef565b94506040870135935060608701359250608087013567ffffffffffffffff811115612d0b578283fd5b612d1789828a01612afa565b979a9699509497509295939492505050565b60008060408385031215612d3b578182fd5b612d458484612ae3565b91506020830135612d5581613904565b809150509250929050565b60008060408385031215612d72578182fd5b612d7c8484612ae3565b946020939093013593505050565b600060208284031215612d9b578081fd5b8151611b2981613904565b600060208284031215612db7578081fd5b5051919050565b600060208284031215612dcf578081fd5b8135611b2981613912565b600060208284031215612deb578081fd5b8151611b2981613912565b600060208284031215612e07578081fd5b813567ffffffffffffffff811115612e1d578182fd5b61254584828501612b3a565b600060208284031215612e3a578081fd5b5035919050565b60008060408385031215612e53578182fd5b82359150602083013567ffffffffffffffff811115612e70578182fd5b612e7c85828601612b3a565b9150509250929050565b60008060408385031215612e98578182fd5b50508035926020909101359150565b60008060008060608587031215612ebc578182fd5b8435935060208501359250604085013567ffffffffffffffff811115612ee0578283fd5b612eec87828801612afa565b95989497509550505050565b60008151808452612f108160208601602086016138c3565b601f01601f19169290920160200192915050565b60008251612f368184602087016138c3565b9190910192915050565b6000808354600180821660008114612f5f5760018114612f7657612fa5565b60ff198316865260028304607f1686019350612fa5565b600283048786526020808720875b83811015612f9d5781548a820152908501908201612f84565b505050860193505b509195945050505050565b6000808454600180821660008114612fcf5760018114612fe657613015565b60ff198316865260028304607f1686019350613015565b600283048886526020808720875b8381101561300d5781548a820152908501908201612ff4565b505050860193505b50505083516130288183602088016138c3565b01949350505050565b7f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152601c810191909152603c0190565b918252602082015260400190565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611db690830184612ef8565b6001600160a01b0394851681529290931660208301526040820152606081019190915260a06080820181905260009082015260c00190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b93845260ff9290921660208401526040830152606082015260800190565b6001600160e01b031991909116815260200190565b600060208252610b026020830184612ef8565b60208082526018908201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604082015260600190565b60208082526022908201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b6020808252601f908201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604082015260600190565b6020808252601f908201527f4552433732313a2063616c6c6572206973206e6f7420746865206f776e657200604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252600e908201526d4e6f742076616c6964204b6f6e6760901b604082015260600190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604082015261756560f01b606082015260800190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252600d908201526c14da59c81b9bdd081d985b1a59609a1b604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604082015261756560f01b606082015260800190565b60208082526022908201527f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b60208082526015908201527413985b5948185b1c9958591e481c995cd95c9d9959605a1b604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526023908201527f4e6577206e616d652069732073616d65206173207468652063757272656e74206040820152626f6e6560e81b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252601f908201527f577261707065644b6f6e677a3a206e6f74206f70656e73656120617373657400604082015260600190565b6020808252601490820152734e6f7420612076616c6964206e6577206e616d6560601b604082015260600190565b90815260200190565b9283526020830191909152604082015260600190565b60005b838110156138de5781810151838201526020016138c6565b83811115610c7d5750506000910152565b6001600160a01b03811681146114bc57600080fd5b80151581146114bc57600080fd5b6001600160e01b0319811681146114bc57600080fdfe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea2646970667358221220c7cc63415295daffb0765b719570ed69f6323e1591c492449e5154078be944ce64736f6c634300060c0033beacfa49f9edca3f9eb455bc9a8b4c5c9be74a6b8bb0acb319427fc84c55b1c868747470733a2f2f6b6f6e677a2e6865726f6b756170702e636f6d2f6170692f6d657461646174612f000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000003c0000000000000000000000000000000000000000000000000000000000000000a43796265724b6f6e677a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054b4f4e475a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000000000000000002200000000000000000000000000000000000000000000000000000000000000260000000000000000000000000000000000000000000000000000000000000000b4b696e67204b6f6e6775610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005667265616b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000074c7563696665720000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000094d72205772696768740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a536972204170656c6f740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000046d796f6f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000453697468000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000012d00000000000000000000000000000000000000000000000000000000000001a4000000000000000000000000000000000000000000000000000000000000029a00000000000000000000000000000000000000000000000000000000000002bd0000000000000000000000000000000000000000000000000000000000000321000000000000000000000000000000000000000000000000000000000000032a00000000000000000000000000000000000000000000000000000000000003e8

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000003c0000000000000000000000000000000000000000000000000000000000000000a43796265724b6f6e677a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054b4f4e475a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000000000000000002200000000000000000000000000000000000000000000000000000000000000260000000000000000000000000000000000000000000000000000000000000000b4b696e67204b6f6e6775610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005667265616b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000074c7563696665720000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000094d72205772696768740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a536972204170656c6f740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000046d796f6f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000453697468000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000012d00000000000000000000000000000000000000000000000000000000000001a4000000000000000000000000000000000000000000000000000000000000029a00000000000000000000000000000000000000000000000000000000000002bd0000000000000000000000000000000000000000000000000000000000000321000000000000000000000000000000000000000000000000000000000000032a00000000000000000000000000000000000000000000000000000000000003e8

-----Decoded View---------------
Arg [0] : _name (string): CyberKongz
Arg [1] : _symbol (string): KONGZ
Arg [2] : _names (string[]): King Kongua,freak,Lucifer,Mr Wright,Sir Apelot,myoo,Sith
Arg [3] : _ids (uint256[]): 301,420,666,701,801,810,1000

-----Encoded View---------------
38 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 00000000000000000000000000000000000000000000000000000000000003c0
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [5] : 43796265724b6f6e677a00000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 4b4f4e475a000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [9] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [12] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [13] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000260
Arg [16] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [17] : 4b696e67204b6f6e677561000000000000000000000000000000000000000000
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [19] : 667265616b000000000000000000000000000000000000000000000000000000
Arg [20] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [21] : 4c75636966657200000000000000000000000000000000000000000000000000
Arg [22] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [23] : 4d72205772696768740000000000000000000000000000000000000000000000
Arg [24] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [25] : 536972204170656c6f7400000000000000000000000000000000000000000000
Arg [26] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [27] : 6d796f6f00000000000000000000000000000000000000000000000000000000
Arg [28] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [29] : 5369746800000000000000000000000000000000000000000000000000000000
Arg [30] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [31] : 000000000000000000000000000000000000000000000000000000000000012d
Arg [32] : 00000000000000000000000000000000000000000000000000000000000001a4
Arg [33] : 000000000000000000000000000000000000000000000000000000000000029a
Arg [34] : 00000000000000000000000000000000000000000000000000000000000002bd
Arg [35] : 0000000000000000000000000000000000000000000000000000000000000321
Arg [36] : 000000000000000000000000000000000000000000000000000000000000032a
Arg [37] : 00000000000000000000000000000000000000000000000000000000000003e8


Deployed ByteCode Sourcemap

85829:5602:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31761:142;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;88892:556;;;;;;:::i;:::-;;:::i;:::-;;53166:92;;;:::i;:::-;;;;;;;:::i;55853:213::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;55397:390::-;;;;;;:::i;:::-;;:::i;68012:128::-;;;;;;:::i;:::-;;:::i;54891:203::-;;;:::i;:::-;;;;;;;:::i;90606:253::-;;;;;;:::i;:::-;;:::i;87431:99::-;;;;;;:::i;:::-;;:::i;54661:154::-;;;;;;:::i;:::-;;:::i;65920:37::-;;;;;;:::i;:::-;;:::i;86329:44::-;;;;;;:::i;:::-;;:::i;90474:127::-;;;:::i;57103:151::-;;;;;;:::i;:::-;;:::i;85962:82::-;;;:::i;65816:42::-;;;:::i;90307:162::-;;;;;;:::i;:::-;;:::i;55171:164::-;;;;;;:::i;:::-;;:::i;86145:84::-;;;:::i;52930:169::-;;;;;;:::i;:::-;;:::i;54488:89::-;;;:::i;67835:111::-;;;;;;:::i;:::-;;:::i;52653:215::-;;;;;;:::i;:::-;;:::i;23310:148::-;;;:::i;65862:52::-;;;:::i;86407:28::-;;;:::i;22668:79::-;;;:::i;68962:413::-;;;;;;:::i;:::-;;:::i;53327:96::-;;;:::i;68145:756::-;;;;;;:::i;:::-;;:::i;56138:295::-;;;;;;:::i;:::-;;:::i;86288:37::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;90864:288::-;;;;;;:::i;:::-;;:::i;86233:47::-;;;:::i;87221:87::-;;;;;;:::i;:::-;;:::i;90133:169::-;;;;;;:::i;:::-;;:::i;53494:755::-;;;;;;:::i;:::-;;:::i;87535:94::-;;;;;;:::i;:::-;;:::i;89453:395::-;;;;;;:::i;:::-;;:::i;56504:156::-;;;;;;:::i;:::-;;:::i;89853:275::-;;;;;;:::i;:::-;;:::i;91157:271::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;86048:93::-;;;:::i;23613:244::-;;;;;;:::i;:::-;;:::i;87313:113::-;;;;;;:::i;:::-;;:::i;86377:24::-;;;:::i;31761:142::-;-1:-1:-1;;;;;;31862:33:0;;31838:4;31862:33;;;;;;;;;;;;;31761:142;;;;:::o;88892:556::-;88985:21;88997:8;88985:11;:21::i;:::-;88977:48;;;;-1:-1:-1;;;88977:48:0;;;;;;;:::i;:::-;;;;;;;;;89030:10;89043:25;89059:8;89043:15;:25::i;:::-;89030:38;;86186:42;-1:-1:-1;;;;;89081:88:0;:78;89154:4;;89081:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;89091:28:0;;89081:64;;-1:-1:-1;89091:28:0;;-1:-1:-1;89108:2:0;;89112:6;;89091:28;;;:::i;:::-;;;;;;;;;;;;;89081:39;;;;;;:62;:64::i;:::-;:72;;:78::i;:::-;-1:-1:-1;;;;;89081:88:0;;89073:114;;;;-1:-1:-1;;;89073:114:0;;;;;;;:::i;:::-;89207:29;;;;;;;;;;;89220:15;89207:29;;;;;;;-1:-1:-1;89195:9:0;;;:5;:9;;;;;;;:41;;;;;;;;;;;89241:21;89247:10;89201:2;89241:5;:21::i;:::-;89267:65;;-1:-1:-1;;;89267:65:0;;86098:42;;89267:30;;:65;;89298:10;;86001:42;;89316:8;;89326:1;;89267:65;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;89337:10:0;;:44;;-1:-1:-1;;;89337:44:0;;-1:-1:-1;;;;;89337:10:0;;;;-1:-1:-1;89337:29:0;;-1:-1:-1;89337:44:0;;89367:10;;89337;;:44;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;89396:10:0;89386:21;;;;:9;:21;;;;;;;:23;;;;;;89419:24;;;-1:-1:-1;89419:24:0;;-1:-1:-1;89432:2:0;;89436:6;;89419:24;:::i;:::-;;;;;;;;88892:556;;;;;:::o;53166:92::-;53245:5;53238:12;;;;;;;;-1:-1:-1;;53238:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53212:13;;53238:12;;53245:5;;53238:12;;53245:5;53238:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53166:92;:::o;55853:213::-;55921:7;55949:16;55957:7;55949;:16::i;:::-;55941:73;;;;-1:-1:-1;;;55941:73:0;;;;;;;:::i;:::-;-1:-1:-1;56034:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;56034:24:0;;55853:213::o;55397:390::-;55478:13;55494:16;55502:7;55494;:16::i;:::-;55478:32;;55535:5;-1:-1:-1;;;;;55529:11:0;:2;-1:-1:-1;;;;;55529:11:0;;;55521:57;;;;-1:-1:-1;;;55521:57:0;;;;;;;:::i;:::-;55615:5;-1:-1:-1;;;;;55599:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;55599:21:0;;:62;;;;55624:37;55641:5;55648:12;:10;:12::i;55624:37::-;55591:154;;;;-1:-1:-1;;;55591:154:0;;;;;;;:::i;:::-;55758:21;55767:2;55771:7;55758:8;:21::i;:::-;55397:390;;;:::o;68012:128::-;68083:4;68101:13;68115:19;68123:10;68115:7;:19::i;:::-;68101:34;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;-1:-1:-1;68012:128:0;;;:::o;54891:203::-;54944:7;55065:21;:12;:19;:21::i;:::-;55058:28;;54891:203;:::o;90606:253::-;90692:10;;:42;;-1:-1:-1;;;90692:42:0;;-1:-1:-1;;;;;90692:10:0;;;;:23;;:42;;90716:4;;90722:2;;90726:7;;90692:42;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90753:4;90743:7;:14;90739:73;;;-1:-1:-1;;;;;90768:15:0;;;;;;;:9;:15;;;;;;:17;;-1:-1:-1;;90768:17:0;;;90791:13;;;;;;:15;;90768:17;90791:15;;;90739:73;90816:38;90836:4;90842:2;90846:7;90816:19;:38::i;87431:99::-;22890:12;:10;:12::i;:::-;22880:6;;-1:-1:-1;;;;;22880:6:0;;;:22;;;22872:67;;;;-1:-1:-1;;;22872:67:0;;;;;;;:::i;:::-;87494:10:::1;:31:::0;;-1:-1:-1;;;;;;87494:31:0::1;-1:-1:-1::0;;;;;87494:31:0;;;::::1;::::0;;;::::1;::::0;;87431:99::o;54661:154::-;-1:-1:-1;;;;;54777:20:0;;54750:7;54777:20;;;:13;:20;;;;;:30;;54801:5;54777:23;:30::i;:::-;54770:37;;54661:154;;;;;:::o;65920:37::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;65920:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;86329:44::-;;;;;;;;;;;;;:::o;90474:127::-;90509:10;;:50;;-1:-1:-1;;;90509:50:0;;-1:-1:-1;;;;;90509:10:0;;;;:23;;:50;;90533:10;;90509;;;;:50;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;90564:10:0;;:32;;-1:-1:-1;;;90564:32:0;;-1:-1:-1;;;;;90564:10:0;;;;-1:-1:-1;90564:20:0;;-1:-1:-1;90564:32:0;;90585:10;;90564:32;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90474:127::o;57103:151::-;57207:39;57224:4;57230:2;57234:7;57207:39;;;;;;;;;;;;:16;:39::i;85962:82::-;86001:42;85962:82;:::o;65816:42::-;;;;:::o;90307:162::-;90384:10;;:45;;-1:-1:-1;;;90384:45:0;;-1:-1:-1;;;;;90384:10:0;;;;:15;;:45;;90400:10;;65905:9;;90384:45;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90434:30;90450:7;90459:4;90434:15;:30::i;:::-;90307:162;;:::o;55171:164::-;55238:7;;55280:22;:12;55296:5;55280:15;:22::i;:::-;-1:-1:-1;55258:44:0;55171:164;-1:-1:-1;;;55171:164:0:o;86145:84::-;86186:42;86145:84;:::o;52930:169::-;52994:7;53021:70;53038:7;53021:70;;;;;;;;;;;;;;;;;:12;;:70;:16;:70::i;54488:89::-;54561:8;54554:15;;;;;;;;-1:-1:-1;;54554:15:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54528:13;;54554:15;;54561:8;;54554:15;;54561:8;54554:15;;;;;;;;;;;;;;;;;;;;;;;;67835:111;67924:17;;;;:10;:17;;;;;;;;;67917:24;;;;;;-1:-1:-1;;67917:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67897:13;;67917:24;;;67924:17;67917:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67835:111;;;:::o;52653:215::-;52717:7;-1:-1:-1;;;;;52745:19:0;;52737:74;;;;-1:-1:-1;;;52737:74:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;52831:20:0;;;;;;:13;:20;;;;;:29;;:27;:29::i;23310:148::-;22890:12;:10;:12::i;:::-;22880:6;;-1:-1:-1;;;;;22880:6:0;;;:22;;;22872:67;;;;-1:-1:-1;;;22872:67:0;;;;;;;:::i;:::-;23401:6:::1;::::0;23380:40:::1;::::0;23417:1:::1;::::0;-1:-1:-1;;;;;23401:6:0::1;::::0;23380:40:::1;::::0;23417:1;;23380:40:::1;23431:6;:19:::0;;-1:-1:-1;;;;;;23431:19:0::1;::::0;;23310:148::o;65862:52::-;65905:9;65862:52;:::o;86407:28::-;;;-1:-1:-1;;;;;86407:28:0;;:::o;22668:79::-;22733:6;;-1:-1:-1;;;;;22733:6:0;22668:79;:::o;68962:413::-;69019:13;69038:17;69064:3;69038:30;;69073:19;69105:4;:11;69095:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;69095:22:0;;69073:44;;69127:6;69122:223;69143:4;:11;69139:1;:15;69122:223;;;69217:2;69205:4;69210:1;69205:7;;;;;;;;;;;;;;69199:20;;;;69198:48;;;69243:2;69231:4;69236:1;69231:7;;;;;;;;;;;;;;69225:20;;69198:48;69194:146;;;69280:4;69285:1;69280:7;;;;;;;;;;;;;;;;69274:14;;69291:2;69274:19;69267:27;;69255:6;69262:1;69255:9;;;;;;;;;;;:39;-1:-1:-1;;;;;69255:39:0;;;;;;;;;69194:146;;;69326:4;69331:1;69326:7;;;;;;;;;;;;;;;;69314:6;69321:1;69314:9;;;;;;;;;;;:19;-1:-1:-1;;;;;69314:19:0;;;;;;;;;69194:146;69156:3;;69122:223;;53327:96;53408:7;53401:14;;;;;;;;-1:-1:-1;;53401:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53375:13;;53401:14;;53408:7;;53401:14;;53408:7;53401:14;;;;;;;;;;;;;;;;;;;;;;;;68145:756;68207:4;68217:14;68240:3;68217:27;;68263:1;68252;:8;:12;68249:29;;;68273:5;68266:12;;;;;68249:29;68297:2;68286:1;:8;:13;68283:30;;;68308:5;68301:12;;;;;68283:30;68360:1;68362;68360:4;;;;;;;;;;;;;-1:-1:-1;;;;;;68360:4:0;-1:-1:-1;;;68360:12:0;68357:29;;;68381:5;68374:12;;;;;68357:29;68412:1;68425;68414;:8;:12;68412:15;;;;;;;;;;;;;-1:-1:-1;;;;;;68412:15:0;-1:-1:-1;;;68412:23:0;68408:41;;;68444:5;68437:12;;;;;68408:41;68474:15;68492:1;68494;68492:4;;;;;;;;;;;;-1:-1:-1;;;;;;68492:4:0;;-1:-1:-1;68507:6:0;68503:376;68517:1;:8;68515:1;:10;68503:376;;;68537:11;68551:1;68553;68551:4;;;;;;;;;;;;-1:-1:-1;;;;;;68551:4:0;;-1:-1:-1;;;;68567:12:0;;:32;;;;-1:-1:-1;;;;;;;;;;68583:16:0;;;68567:32;68563:50;;;68608:5;68601:12;;;;;;;;68563:50;-1:-1:-1;;;;;;;;;68667:12:0;;;;;;:28;;-1:-1:-1;;;;;;;;;;68683:12:0;;;;68667:28;68665:31;:77;;;;-1:-1:-1;;;;;;;;;;68713:12:0;;;;;;:28;;-1:-1:-1;;;;;;;;;;68729:12:0;;;;68713:28;68711:31;68665:77;:123;;;;-1:-1:-1;;;;;;;;;;68759:12:0;;;;;;:28;;-1:-1:-1;;;;;;;;;;68775:12:0;;;;68759:28;68757:31;68665:123;:153;;;;-1:-1:-1;;;;;;;;;;68805:12:0;;;68803:15;68665:153;68656:194;;;68845:5;68838:12;;;;;;;;68656:194;68869:4;-1:-1:-1;68527:3:0;;68503:376;;;-1:-1:-1;68892:4:0;;68145:756;-1:-1:-1;;;;68145:756:0:o;56138:295::-;56253:12;:10;:12::i;:::-;-1:-1:-1;;;;;56241:24:0;:8;-1:-1:-1;;;;;56241:24:0;;;56233:62;;;;-1:-1:-1;;;56233:62:0;;;;;;;:::i;:::-;56353:8;56308:18;:32;56327:12;:10;:12::i;:::-;-1:-1:-1;;;;;56308:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;56308:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;56308:53:0;;;;;;;;;;;56392:12;:10;:12::i;:::-;-1:-1:-1;;;;;56377:48:0;;56416:8;56377:48;;;;;;:::i;:::-;;;;;;;;56138:295;;:::o;86288:37::-;;;;;;;;;;;;;;;;;;;:::o;90864:288::-;90974:10;;:42;;-1:-1:-1;;;90974:42:0;;-1:-1:-1;;;;;90974:10:0;;;;:23;;:42;;90998:4;;91004:2;;91008:7;;90974:42;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91035:4;91025:7;:14;91021:73;;;-1:-1:-1;;;;;91050:15:0;;;;;;;:9;:15;;;;;;:17;;-1:-1:-1;;91050:17:0;;;91073:13;;;;;;:15;;91050:17;91073:15;;;91021:73;91098:49;91122:4;91128:2;91132:7;91141:5;91098:23;:49::i;86233:47::-;86271:9;86233:47;:::o;87221:87::-;22890:12;:10;:12::i;:::-;22880:6;;-1:-1:-1;;;;;22880:6:0;;;:22;;;22872:67;;;;-1:-1:-1;;;22872:67:0;;;;;;;:::i;:::-;87284:19:::1;87296:6;87284:11;:19::i;:::-;87221:87:::0;:::o;90133:169::-;90214:10;;90242:15;;90214:44;;-1:-1:-1;;;90214:44:0;;-1:-1:-1;;;;;90214:10:0;;;;:15;;:44;;90230:10;;90242:15;90214:44;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90263:34;90280:7;90289;90263:16;:34::i;53494:755::-;53559:13;53593:16;53601:7;53593;:16::i;:::-;53585:76;;;;-1:-1:-1;;;53585:76:0;;;;;;;:::i;:::-;53700:19;;;;:10;:19;;;;;;;;;53674:45;;;;;;-1:-1:-1;;53674:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:23;;:45;;;53700:19;53674:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;53801:8:0;53795:22;53674:45;;-1:-1:-1;;;;53795:22:0;-1:-1:-1;;53795:22:0;;;;;;;;;;;53791:76;;53846:9;-1:-1:-1;53839:16:0;;53791:76;53971:23;;:27;53967:112;;54046:8;54056:9;54029:37;;;;;;;;;:::i;:::-;;;;;;;;;;;;;54015:52;;;;;53967:112;54211:8;54221:18;:7;:16;:18::i;:::-;54194:46;;;;;;;;;:::i;:::-;;;;;;;;;;;;;54180:61;;;53494:755;;;:::o;87535:94::-;22890:12;:10;:12::i;:::-;22880:6;;-1:-1:-1;;;;;22880:6:0;;;:22;;;22872:67;;;;-1:-1:-1;;;22872:67:0;;;;;;;:::i;:::-;87600:15:::1;:24:::0;87535:94::o;89453:395::-;89540:10;89522:14;89530:5;89522:7;:14::i;:::-;-1:-1:-1;;;;;89522:28:0;;:62;;;;-1:-1:-1;89574:10:0;89554:16;89562:7;89554;:16::i;:::-;-1:-1:-1;;;;;89554:30:0;;89522:62;89514:71;;;;;;89598:12;;:37;;-1:-1:-1;;;89598:37:0;;-1:-1:-1;;;;;89598:12:0;;;;:21;;:37;;89620:5;;89627:7;;89598:37;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;89590:46;;;;;;89643:10;;:40;;-1:-1:-1;;;89643:40:0;;-1:-1:-1;;;;;89643:10:0;;;;:15;;:40;;89659:10;;86271:9;;89643:40;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;89688:9:0;:11;;;;;;;;;89750:24;;;;;;;;89688:9;89750:24;;;89758:15;89750:24;;;;;;;89717:16;;;;89738:9;;;:5;:9;;;;;;:36;;;;;;;;;;;;89717:16;-1:-1:-1;89779:21:0;;-1:-1:-1;89785:10:0;89717:16;89779:5;:21::i;:::-;89810:33;89824:2;89828:7;89837:5;89810:33;;;;;;;;:::i;:::-;;;;;;;;89453:395;;;:::o;56504:156::-;-1:-1:-1;;;;;56617:25:0;;;56593:4;56617:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;56504:156::o;89853:275::-;89930:10;89909:17;89917:8;89909:7;:17::i;:::-;-1:-1:-1;;;;;89909:31:0;;89901:40;;;;;;89946:17;89966:15;;;:5;:15;;;;;89994:10;;:15;89986:24;;;;;;90033:12;;:32;;-1:-1:-1;;;90033:32:0;;90017:13;;-1:-1:-1;;;;;90033:12:0;;:22;;:32;;90056:8;;90033:32;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;90070:18;;;90098:25;;90017:48;;-1:-1:-1;90098:25:0;;;;90107:8;;90017:48;;90098:25;:::i;91157:271::-;91286:6;91307:10;86098:42;91307:36;91299:80;;;;-1:-1:-1;;;91299:80:0;;;;;;;:::i;:::-;-1:-1:-1;;;;91157:271:0;;;;;;;;:::o;86048:93::-;86098:42;86048:93;:::o;23613:244::-;22890:12;:10;:12::i;:::-;22880:6;;-1:-1:-1;;;;;22880:6:0;;;:22;;;22872:67;;;;-1:-1:-1;;;22872:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;23702:22:0;::::1;23694:73;;;;-1:-1:-1::0;;;23694:73:0::1;;;;;;;:::i;:::-;23804:6;::::0;23783:38:::1;::::0;-1:-1:-1;;;;;23783:38:0;;::::1;::::0;23804:6:::1;::::0;23783:38:::1;::::0;23804:6:::1;::::0;23783:38:::1;23832:6;:17:::0;;-1:-1:-1;;;;;;23832:17:0::1;-1:-1:-1::0;;;;;23832:17:0;;;::::1;::::0;;;::::1;::::0;;23613:244::o;87313:113::-;22890:12;:10;:12::i;:::-;22880:6;;-1:-1:-1;;;;;22880:6:0;;;:22;;;22872:67;;;;-1:-1:-1;;;22872:67:0;;;;;;;:::i;:::-;87383:12:::1;:38:::0;;-1:-1:-1;;;;;;87383:38:0::1;-1:-1:-1::0;;;;;87383:38:0;;;::::1;::::0;;;::::1;::::0;;87313:113::o;86377:24::-;;;;:::o;39136:131::-;39203:4;39227:32;39232:3;39252:5;39227:4;:32::i;46863:176::-;46952:4;46976:55;46981:3;47001;-1:-1:-1;;;;;47015:14:0;;46976:4;:55::i;:::-;46969:62;;46863:176;;;;;;:::o;47431:151::-;47515:4;47539:35;47549:3;47569;47539:9;:35::i;87634:807::-;87690:4;88019:2;88012:3;:9;;88025:66;88012:79;88008:101;;-1:-1:-1;88104:5:0;88097:12;;88008:101;88118:3;88124:66;88118:72;88194:1;88118:77;88114:99;;-1:-1:-1;88208:5:0;88201:12;;88114:99;88231:80;88309:2;88231:80;;;;88325:4;88320:9;;;:22;;;88333:2;88339:3;88333:9;88320:22;:35;;;;88346:2;88352:3;88346:9;88320:35;:47;;;;88359:2;88365;88359:8;88320:47;:59;;;;88371:2;88377;88371:8;88320:59;:71;;;;88383:2;88389;88383:8;88320:71;:82;;;-1:-1:-1;88395:7:0;;88320:82;88316:104;;;88415:5;88408:12;;;;;88316:104;-1:-1:-1;88432:4:0;;87634:807;-1:-1:-1;;87634:807:0:o;88446:441::-;88604:2;88526:80;;;88506:7;88621:3;88615:9;;88611:271;;;-1:-1:-1;;;88637:7:0;;88630:14;;88611:271;88664:3;88658;:9;88654:228;;;-1:-1:-1;;;88680:7:0;;88673:14;;88654:228;88713:2;88707:3;:8;88703:179;;;-1:-1:-1;;;88737:7:0;;88730:14;;88703:179;88770:2;88764:3;:8;88760:122;;;-1:-1:-1;;;88794:7:0;;88787:14;;88760:122;88827:2;88821:3;:8;88817:65;;;-1:-1:-1;;;88851:7:0;;88844:14;;88817:65;-1:-1:-1;88879:3:0;88872:10;;21374:269;21443:7;21629:4;21576:58;;;;;;;;:::i;:::-;;;;;;;;;;;;;21566:69;;;;;;21559:76;;21374:269;;;:::o;18990:2110::-;19068:7;19131:9;:16;19151:2;19131:22;19127:96;;19170:41;;-1:-1:-1;;;19170:41:0;;;;;;;:::i;19127:96::-;19584:4;19569:20;;19563:27;19630:4;19615:20;;19609:27;19684:4;19669:20;;19663:27;19292:9;19655:36;20614:66;20601:79;;20597:156;;;20697:44;;-1:-1:-1;;;20697:44:0;;;;;;;:::i;20597:156::-;20769:1;:7;;20774:2;20769:7;;:18;;;;;20780:1;:7;;20785:2;20780:7;;20769:18;20765:95;;;20804:44;;-1:-1:-1;;;20804:44:0;;;;;;;:::i;20765:95::-;20957:14;20974:24;20984:4;20990:1;20993;20996;20974:24;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;20974:24:0;;-1:-1:-1;;20974:24:0;;;-1:-1:-1;;;;;;;21017:20:0;;21009:57;;;;-1:-1:-1;;;21009:57:0;;;;;;;:::i;:::-;21086:6;18990:2110;-1:-1:-1;;;;;;18990:2110:0:o;60962:404::-;-1:-1:-1;;;;;61042:16:0;;61034:61;;;;-1:-1:-1;;;61034:61:0;;;;;;;:::i;:::-;61115:16;61123:7;61115;:16::i;:::-;61114:17;61106:58;;;;-1:-1:-1;;;61106:58:0;;;;;;;:::i;:::-;61177:45;61206:1;61210:2;61214:7;61177:20;:45::i;:::-;-1:-1:-1;;;;;61235:17:0;;;;;;:13;:17;;;;;:30;;61257:7;61235:21;:30::i;:::-;-1:-1:-1;61278:29:0;:12;61295:7;61304:2;61278:16;:29::i;:::-;-1:-1:-1;61325:33:0;;61350:7;;-1:-1:-1;;;;;61325:33:0;;;61342:1;;61325:33;;61342:1;;61325:33;60962:404;;:::o;59077:119::-;59134:4;59158:30;:12;59180:7;59158:21;:30::i;12635:106::-;12723:10;12635:106;:::o;64904:158::-;64970:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;64970:29:0;-1:-1:-1;;;;;64970:29:0;;;;;;;;:24;;65024:16;64970:24;65024:7;:16::i;:::-;-1:-1:-1;;;;;65015:39:0;;;;;;;;;;;64904:158;;:::o;47670:123::-;47739:7;47766:19;47774:3;47766:7;:19::i;56727:305::-;56888:41;56907:12;:10;:12::i;:::-;56921:7;56888:18;:41::i;:::-;56880:103;;;;-1:-1:-1;;;56880:103:0;;;;;;;:::i;:::-;56996:28;57006:4;57012:2;57016:7;56996:9;:28::i;40356:137::-;40427:7;40462:22;40466:3;40478:5;40462:3;:22::i;66601:248::-;66678:13;66694:17;66702:8;66694:7;:17::i;:::-;66678:33;;66740:5;-1:-1:-1;;;;;66724:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;66724:21:0;;66716:65;;;;-1:-1:-1;;;66716:65:0;;;;;;;:::i;:::-;66788:13;;;;:3;:13;;;;;;;;:20;;;;;;;;:::i;:::-;;66828:8;66818:25;66838:4;66818:25;;;;;;:::i;:::-;;;;;;;;66601:248;;;:::o;48132:227::-;48212:7;;;;48272:22;48276:3;48288:5;48272:3;:22::i;:::-;48241:53;;-1:-1:-1;48241:53:0;-1:-1:-1;;;48132:227:0;;;;;;:::o;48794:204::-;48901:7;48944:44;48949:3;48969;48975:12;48944:4;:44::i;57325:285::-;57457:41;57476:12;:10;:12::i;:::-;57490:7;57457:18;:41::i;:::-;57449:103;;;;-1:-1:-1;;;57449:103:0;;;;;;;:::i;:::-;57563:39;57577:4;57583:2;57587:7;57596:5;57563:13;:39::i;63627:100::-;63700:19;;;;:8;;:19;;;;;:::i;66854:698::-;66934:13;66950:16;66958:7;66950;:16::i;:::-;66934:32;;66997:5;-1:-1:-1;;;;;66981:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;66981:21:0;;66973:65;;;;-1:-1:-1;;;66973:65:0;;;;;;;:::i;:::-;67051:21;67064:7;67051:12;:21::i;:::-;:29;;67076:4;67051:29;67043:62;;;;-1:-1:-1;;;67043:62:0;;;;;;;:::i;:::-;67157:19;;;;:10;:19;;;;;;;67144:34;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;67118:22;67131:7;67118:22;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:60;;67110:108;;;;-1:-1:-1;;;67110:108:0;;;;;;;:::i;:::-;67231:23;67246:7;67231:14;:23::i;:::-;:32;67223:66;;;;-1:-1:-1;;;67223:66:0;;;;;;;:::i;:::-;67379:1;67349:19;;;:10;:19;;;;;67343:33;;-1:-1:-1;;67343:33:0;;;;;;;;;;;:37;67339:100;;67406:19;;;;:10;:19;;;;;;;;;67388:45;;;;;;-1:-1:-1;;67388:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67406:19;67388:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67427:5;67388:17;:45::i;:::-;67443:32;67461:7;67470:4;67443:17;:32::i;:::-;67480:19;;;;:10;:19;;;;;;;;:29;;;;;;;;:::i;:::-;;67530:7;67519:28;67539:7;67519:28;;;;;;:::i;13146:744::-;13202:13;13423:10;13419:53;;-1:-1:-1;13450:10:0;;;;;;;;;;;;-1:-1:-1;;;13450:10:0;;;;;;13419:53;13497:5;13482:12;13538:78;13545:9;;13538:78;;13571:8;;13602:2;13594:10;;;;13538:78;;;13626:19;13658:6;13648:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13648:17:0;-1:-1:-1;13720:5:0;;-1:-1:-1;13626:39:0;-1:-1:-1;;;13692:10:0;;13736:115;13743:9;;13736:115;;13810:2;13803:4;:9;13798:2;:14;13787:27;;13769:6;13776:7;;;;;;;13769:15;;;;;;;;;;;:45;-1:-1:-1;;;;;13769:45:0;;;;;;;;-1:-1:-1;13837:2:0;13829:10;;;;13736:115;;;-1:-1:-1;13875:6:0;13146:744;-1:-1:-1;;;;13146:744:0:o;34132:414::-;34195:4;34217:21;34227:3;34232:5;34217:9;:21::i;:::-;34212:327;;-1:-1:-1;34255:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;34438:18;;34416:19;;;:12;;;:19;;;;;;:40;;;;34471:11;;34212:327;-1:-1:-1;34522:5:0;34515:12;;42333:692;42409:4;42544:17;;;:12;;;:17;;;;;;42578:13;42574:444;;-1:-1:-1;;42663:38:0;;;;;;;;;;;;;;;;;;42645:57;;;;;;;;:12;:57;;;;;;;;;;;;;;;;;;;;;;;;42860:19;;42840:17;;;:12;;;:17;;;;;;;:39;42894:11;;42574:444;42974:5;42938:3;:12;;42962:1;42951:8;:12;42938:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;43001:5;42994:12;;;;;44833:125;44904:4;44928:17;;;:12;;;;;:17;;;;;;:22;;;44833:125::o;45053:110::-;45136:19;;45053:110::o;59363:333::-;59448:4;59473:16;59481:7;59473;:16::i;:::-;59465:73;;;;-1:-1:-1;;;59465:73:0;;;;;;;:::i;:::-;59549:13;59565:16;59573:7;59565;:16::i;:::-;59549:32;;59611:5;-1:-1:-1;;;;;59600:16:0;:7;-1:-1:-1;;;;;59600:16:0;;:51;;;;59644:7;-1:-1:-1;;;;;59620:31:0;:20;59632:7;59620:11;:20::i;:::-;-1:-1:-1;;;;;59620:31:0;;59600:51;:87;;;;59655:32;59672:5;59679:7;59655:16;:32::i;:::-;59592:96;59363:333;-1:-1:-1;;;;59363:333:0:o;62452:574::-;62570:4;-1:-1:-1;;;;;62550:24:0;:16;62558:7;62550;:16::i;:::-;-1:-1:-1;;;;;62550:24:0;;62542:78;;;;-1:-1:-1;;;62542:78:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;62639:16:0;;62631:65;;;;-1:-1:-1;;;62631:65:0;;;;;;;:::i;:::-;62709:39;62730:4;62736:2;62740:7;62709:20;:39::i;:::-;62813:29;62830:1;62834:7;62813:8;:29::i;:::-;-1:-1:-1;;;;;62855:19:0;;;;;;:13;:19;;;;;:35;;62882:7;62855:26;:35::i;:::-;-1:-1:-1;;;;;;62901:17:0;;;;;;:13;:17;;;;;:30;;62923:7;62901:21;:30::i;:::-;-1:-1:-1;62944:29:0;:12;62961:7;62970:2;62944:16;:29::i;:::-;;63010:7;63006:2;-1:-1:-1;;;;;62991:27:0;63000:4;-1:-1:-1;;;;;62991:27:0;;;;;;;;;;;62452:574;;;:::o;37020:204::-;37115:18;;37087:7;;37115:26;-1:-1:-1;37107:73:0;;;;-1:-1:-1;;;37107:73:0;;;;;;;:::i;:::-;37198:3;:11;;37210:5;37198:18;;;;;;;;;;;;;;;;37191:25;;37020:204;;;;:::o;45518:279::-;45622:19;;45585:7;;;;45622:27;-1:-1:-1;45614:74:0;;;;-1:-1:-1;;;45614:74:0;;;;;;;:::i;:::-;45701:22;45726:3;:12;;45739:5;45726:19;;;;;;;;;;;;;;;;;;45701:44;;45764:5;:10;;;45776:5;:12;;;45756:33;;;;;45518:279;;;;;:::o;46220:319::-;46314:7;46353:17;;;:12;;;:17;;;;;;46404:12;46389:13;46381:36;;;;-1:-1:-1;;;46381:36:0;;;;;;;;:::i;:::-;;46471:3;:12;;46495:1;46484:8;:12;46471:26;;;;;;;;;;;;;;;;;;:33;;;46464:40;;;46220:319;;;;;:::o;58492:272::-;58606:28;58616:4;58622:2;58626:7;58606:9;:28::i;:::-;58653:48;58676:4;58682:2;58686:7;58695:5;58653:22;:48::i;:::-;58645:111;;;;-1:-1:-1;;;58645:111:0;;;;;;;:::i;67654:120::-;67760:9;67730:13;67744:12;67752:3;67744:7;:12::i;:::-;67730:27;;;;;;:::i;:::-;;;;;;;;;;;;;;:39;;;;;-1:-1:-1;;67730:39:0;;;;;;;;;-1:-1:-1;;67654:120:0:o;39443:137::-;39513:4;39537:35;39545:3;39565:5;39537:7;:35::i;64292:604::-;64413:4;64440:15;:2;-1:-1:-1;;;;;64440:13:0;;:15::i;:::-;64435:60;;-1:-1:-1;64479:4:0;64472:11;;64435:60;64505:23;64531:252;-1:-1:-1;;;64644:12:0;:10;:12::i;:::-;64671:4;64690:7;64712:5;64547:181;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;;;;;64547:181:0;;;;;;;-1:-1:-1;;;;;64547:181:0;;;;;;;;;;;64531:252;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;64531:15:0;;;:252;:15;:252::i;:::-;64505:278;;64794:13;64821:10;64810:32;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;64861:26:0;-1:-1:-1;;;64861:26:0;;-1:-1:-1;;;64292:604:0;;;;;;:::o;34722:1544::-;34788:4;34927:19;;;:12;;;:19;;;;;;34963:15;;34959:1300;;35398:18;;-1:-1:-1;;35349:14:0;;;;35398:22;;;;35325:21;;35398:3;;:22;;35685;;;;;;;;;;;;;;35665:42;;35831:9;35802:3;:11;;35814:13;35802:26;;;;;;;;;;;;;;;;;;;:38;;;;35908:23;;;35950:1;35908:12;;;:23;;;;;;35934:17;;;35908:43;;36060:17;;35908:3;;36060:17;;;;;;;;;;;;;;;;;;;;;;36155:3;:12;;:19;36168:5;36155:19;;;;;;;;;;;36148:26;;;36198:4;36191:11;;;;;;;;34959:1300;36242:5;36235:12;;;;;1499:422;1866:20;1905:8;;;1499:422::o;4417:196::-;4520:12;4552:53;4575:6;4583:4;4589:1;4592:12;5924;5957:18;5968:6;5957:10;:18::i;:::-;5949:60;;;;-1:-1:-1;;;5949:60:0;;;;;;;:::i;:::-;6083:12;6097:23;6124:6;-1:-1:-1;;;;;6124:11:0;6144:8;6155:4;6124:36;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6082:78;;;;6175:7;6171:595;;;6206:10;-1:-1:-1;6199:17:0;;-1:-1:-1;6199:17:0;6171:595;6320:17;;:21;6316:439;;6583:10;6577:17;6644:15;6631:10;6627:2;6623:19;6616:44;6531:148;6726:12;6719:20;;-1:-1:-1;;;6719:20:0;;;;;;;;:::i;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;5:130;72:20;;-1:-1;;;;;49453:54;;51659:35;;51649:2;;51708:1;;51698:12;837:336;;;951:3;944:4;936:6;932:17;928:27;918:2;;-1:-1;;959:12;918:2;-1:-1;989:20;;1029:18;1018:30;;1015:2;;;-1:-1;;1051:12;1015:2;1095:4;1087:6;1083:17;1071:29;;1146:3;1095:4;1126:17;1087:6;1112:32;;1109:41;1106:2;;;1163:1;;1153:12;1182:440;;1283:3;1276:4;1268:6;1264:17;1260:27;1250:2;;-1:-1;;1291:12;1250:2;1338:6;1325:20;47111:18;;47103:6;47100:30;47097:2;;;-1:-1;;47133:12;47097:2;46767;46761:9;47206;47187:17;;-1:-1;;47183:33;46793:17;;47274:4;46793:17;46853:34;;;46889:22;;;46850:62;46847:2;;;-1:-1;;46915:12;46847:2;46767;46934:22;1430:21;;;1351:73;-1:-1;1351:73;1530:16;;;47274:4;1530:16;1527:25;-1:-1;1524:2;;;1565:1;;1555:12;1524:2;50984:6;47274:4;1472:6;1468:17;47274:4;1506:5;1502:16;50961:30;51040:1;47274:4;51031:6;1506:5;51022:16;;51015:27;;;;1243:379;;;;:::o;2359:241::-;;2463:2;2451:9;2442:7;2438:23;2434:32;2431:2;;;-1:-1;;2469:12;2431:2;2531:53;2576:7;2552:22;2531:53;:::i;2607:366::-;;;2728:2;2716:9;2707:7;2703:23;2699:32;2696:2;;;-1:-1;;2734:12;2696:2;2796:53;2841:7;2817:22;2796:53;:::i;:::-;2786:63;;2904:53;2949:7;2886:2;2929:9;2925:22;2904:53;:::i;:::-;2894:63;;2690:283;;;;;:::o;2980:491::-;;;;3118:2;3106:9;3097:7;3093:23;3089:32;3086:2;;;-1:-1;;3124:12;3086:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;3176:63;-1:-1;3276:2;3315:22;;72:20;97:33;72:20;97:33;:::i;:::-;3080:391;;3284:63;;-1:-1;;;3384:2;3423:22;;;;2148:20;;3080:391::o;3478:721::-;;;;;3642:3;3630:9;3621:7;3617:23;3613:33;3610:2;;;-1:-1;;3649:12;3610:2;3711:53;3756:7;3732:22;3711:53;:::i;:::-;3701:63;;3819:53;3864:7;3801:2;3844:9;3840:22;3819:53;:::i;:::-;3809:63;;3909:2;3952:9;3948:22;2148:20;3917:63;;4045:2;4034:9;4030:18;4017:32;4069:18;4061:6;4058:30;4055:2;;;-1:-1;;4091:12;4055:2;4121:62;4175:7;4166:6;4155:9;4151:22;4121:62;:::i;:::-;4111:72;;;3604:595;;;;;;;:::o;4206:867::-;;;;;;;4397:3;4385:9;4376:7;4372:23;4368:33;4365:2;;;-1:-1;;4404:12;4365:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;4456:63;-1:-1;4556:2;4595:22;;72:20;97:33;72:20;97:33;:::i;:::-;4564:63;-1:-1;4664:2;4703:22;;2148:20;;-1:-1;4772:2;4811:22;;2148:20;;-1:-1;4908:3;4893:19;;4880:33;4933:18;4922:30;;4919:2;;;-1:-1;;4955:12;4919:2;4993:64;5049:7;5040:6;5029:9;5025:22;4993:64;:::i;:::-;4359:714;;;;-1:-1;4359:714;;-1:-1;4359:714;;4975:82;;4359:714;-1:-1;;;4359:714::o;5080:360::-;;;5198:2;5186:9;5177:7;5173:23;5169:32;5166:2;;;-1:-1;;5204:12;5166:2;5266:53;5311:7;5287:22;5266:53;:::i;:::-;5256:63;;5356:2;5396:9;5392:22;206:20;231:30;255:5;231:30;:::i;:::-;5364:60;;;;5160:280;;;;;:::o;5447:366::-;;;5568:2;5556:9;5547:7;5543:23;5539:32;5536:2;;;-1:-1;;5574:12;5536:2;5636:53;5681:7;5657:22;5636:53;:::i;:::-;5626:63;5726:2;5765:22;;;;2148:20;;-1:-1;;;5530:283::o;5820:257::-;;5932:2;5920:9;5911:7;5907:23;5903:32;5900:2;;;-1:-1;;5938:12;5900:2;354:6;348:13;366:30;390:5;366:30;:::i;6084:263::-;;6199:2;6187:9;6178:7;6174:23;6170:32;6167:2;;;-1:-1;;6205:12;6167:2;-1:-1;486:13;;6161:186;-1:-1;6161:186::o;6354:239::-;;6457:2;6445:9;6436:7;6432:23;6428:32;6425:2;;;-1:-1;;6463:12;6425:2;628:6;615:20;640:32;666:5;640:32;:::i;6600:261::-;;6714:2;6702:9;6693:7;6689:23;6685:32;6682:2;;;-1:-1;;6720:12;6682:2;767:6;761:13;779:32;805:5;779:32;:::i;6868:347::-;;6982:2;6970:9;6961:7;6957:23;6953:32;6950:2;;;-1:-1;;6988:12;6950:2;7046:17;7033:31;7084:18;7076:6;7073:30;7070:2;;;-1:-1;;7106:12;7070:2;7136:63;7191:7;7182:6;7171:9;7167:22;7136:63;:::i;7222:241::-;;7326:2;7314:9;7305:7;7301:23;7297:32;7294:2;;;-1:-1;;7332:12;7294:2;-1:-1;2148:20;;7288:175;-1:-1;7288:175::o;7740:472::-;;;7871:2;7859:9;7850:7;7846:23;7842:32;7839:2;;;-1:-1;;7877:12;7839:2;2161:6;2148:20;7929:63;;8057:2;8046:9;8042:18;8029:32;8081:18;8073:6;8070:30;8067:2;;;-1:-1;;8103:12;8067:2;8133:63;8188:7;8179:6;8168:9;8164:22;8133:63;:::i;:::-;8123:73;;;7833:379;;;;;:::o;8219:366::-;;;8340:2;8328:9;8319:7;8315:23;8311:32;8308:2;;;-1:-1;;8346:12;8308:2;-1:-1;;2148:20;;;8498:2;8537:22;;;2148:20;;-1:-1;8302:283::o;8592:615::-;;;;;8749:2;8737:9;8728:7;8724:23;8720:32;8717:2;;;-1:-1;;8755:12;8717:2;2161:6;2148:20;8807:63;;8907:2;8950:9;8946:22;2148:20;8915:63;;9043:2;9032:9;9028:18;9015:32;9067:18;9059:6;9056:30;9053:2;;;-1:-1;;9089:12;9053:2;9127:64;9183:7;9174:6;9163:9;9159:22;9127:64;:::i;:::-;8711:496;;;;-1:-1;9109:82;-1:-1;;;;8711:496::o;10134:343::-;;10276:5;48045:12;48330:6;48325:3;48318:19;10369:52;10414:6;48367:4;48362:3;48358:14;48367:4;10395:5;10391:16;10369:52;:::i;:::-;47206:9;51563:14;-1:-1;;51559:28;10433:39;;;;48367:4;10433:39;;10224:253;-1:-1;;10224:253::o;25643:271::-;;10644:5;48045:12;10755:52;10800:6;10795:3;10788:4;10781:5;10777:16;10755:52;:::i;:::-;10819:16;;;;;25777:137;-1:-1;;25777:137::o;25921:273::-;;-1:-1;11009:5;11003:12;11043:1;;11032:9;11028:17;11056:1;11051:267;;;;11329:1;11324:427;;;;11021:730;;11051:267;-1:-1;;11255:25;;11243:38;;11125:1;11110:17;;11129:4;11106:28;11295:16;;;-1:-1;11051:267;;11324:427;11393:1;11382:9;11378:17;47733:3;-1:-1;47723:14;47765:4;;-1:-1;47752:18;-1:-1;11584:130;11598:6;11595:1;11592:13;11584:130;;;11657:14;;11644:11;;;11637:35;11691:15;;;;11613:12;;11584:130;;;-1:-1;;;11728:16;;;-1:-1;11021:730;-1:-1;26179:10;;26056:138;-1:-1;;;;;26056:138::o;26483:430::-;;-1:-1;13282:5;13276:12;13316:1;;13305:9;13301:17;13329:1;13324:268;;;;13603:1;13598:425;;;;13294:729;;13324:268;-1:-1;;13529:25;;13517:38;;13398:1;13383:17;;13402:4;13379:28;13569:16;;;-1:-1;13324:268;;13598:425;13667:1;13656:9;13652:17;47733:3;-1:-1;47723:14;47765:4;;-1:-1;47752:18;-1:-1;13856:130;13870:6;13867:1;13864:13;13856:130;;;13929:14;;13916:11;;;13909:35;13963:15;;;;13885:12;;13856:130;;;-1:-1;;;14000:16;;;-1:-1;13294:729;;;;10644:5;48045:12;10755:52;10800:6;10795:3;10788:4;10781:5;10777:16;10755:52;:::i;:::-;10819:16;;26664:249;-1:-1;;;;26664:249::o;26920:520::-;15727:66;15707:87;;15691:2;15813:12;;9809:37;;;;27403:12;;;27137:303::o;27447:392::-;9809:37;;;27700:2;27691:12;;9809:37;27802:12;;;27591:248::o;27846:222::-;-1:-1;;;;;49453:54;;;;9450:45;;27973:2;27958:18;;27944:124::o;28320:492::-;-1:-1;;;;;49453:54;;;9293:58;;49453:54;;;;28707:2;28692:18;;9293:58;28798:2;28783:18;;12180:58;;;;28527:2;28512:18;;28498:314::o;28819:672::-;-1:-1;;;;;49453:54;;;9450:45;;49453:54;;29245:2;29230:18;;9450:45;29328:2;29313:18;;9809:37;;;29064:3;29365:2;29350:18;;29343:48;;;28819:672;;29405:76;;29049:19;;29467:6;29405:76;:::i;29498:892::-;-1:-1;;;;;49453:54;;;9293:58;;49453:54;;;;29998:2;29983:18;;9450:45;30081:2;30066:18;;9809:37;30172:2;30157:18;;12180:58;;;;49464:42;30209:3;30194:19;;30187:49;;;29498:892;29810:19;;;48318;48358:14;;;29796:594::o;30397:365::-;-1:-1;;;;;49453:54;;;;9293:58;;30748:2;30733:18;;12180:58;30568:2;30553:18;;30539:223::o;31576:210::-;49135:13;;49128:21;9692:34;;31697:2;31682:18;;31668:118::o;31793:548::-;9809:37;;;49669:4;49658:16;;;;32161:2;32146:18;;25596:35;32244:2;32229:18;;9809:37;32327:2;32312:18;;9809:37;32000:3;31985:19;;31971:370::o;32348:218::-;-1:-1;;;;;;49301:78;;;;10086:36;;32473:2;32458:18;;32444:122::o;33101:310::-;;33248:2;33269:17;33262:47;33323:78;33248:2;33237:9;33233:18;33387:6;33323:78;:::i;33418:416::-;33618:2;33632:47;;;14262:2;33603:18;;;48318:19;14298:26;48358:14;;;14278:47;14344:12;;;33589:245::o;33841:416::-;34041:2;34055:47;;;14595:2;34026:18;;;48318:19;14631:34;48358:14;;;14611:55;-1:-1;;;14686:12;;;14679:26;14724:12;;;34012:245::o;34264:416::-;34464:2;34478:47;;;14975:2;34449:18;;;48318:19;15011:33;48358:14;;;14991:54;15064:12;;;34435:245::o;34687:416::-;34887:2;34901:47;;;15315:2;34872:18;;;48318:19;15351:33;48358:14;;;15331:54;15404:12;;;34858:245::o;35110:416::-;35310:2;35324:47;;;16064:2;35295:18;;;48318:19;16100:34;48358:14;;;16080:55;-1:-1;;;16155:12;;;16148:42;16209:12;;;35281:245::o;35533:416::-;35733:2;35747:47;;;16460:2;35718:18;;;48318:19;16496:34;48358:14;;;16476:55;-1:-1;;;16551:12;;;16544:30;16593:12;;;35704:245::o;35956:416::-;36156:2;36170:47;;;16844:2;36141:18;;;48318:19;16880:30;48358:14;;;16860:51;16930:12;;;36127:245::o;36379:416::-;36579:2;36593:47;;;17181:2;36564:18;;;48318:19;17217:34;48358:14;;;17197:55;-1:-1;;;17272:12;;;17265:28;17312:12;;;36550:245::o;36802:416::-;37002:2;37016:47;;;17563:2;36987:18;;;48318:19;17599:27;48358:14;;;17579:48;17646:12;;;36973:245::o;37225:416::-;37425:2;37439:47;;;17897:2;37410:18;;;48318:19;-1:-1;;;48358:14;;;17913:37;17969:12;;;37396:245::o;37648:416::-;37848:2;37862:47;;;18220:2;37833:18;;;48318:19;18256:34;48358:14;;;18236:55;-1:-1;;;18311:12;;;18304:26;18349:12;;;37819:245::o;38071:416::-;38271:2;38285:47;;;18600:2;38256:18;;;48318:19;18636:34;48358:14;;;18616:55;-1:-1;;;18691:12;;;18684:36;18739:12;;;38242:245::o;38494:416::-;38694:2;38708:47;;;18990:2;38679:18;;;48318:19;-1:-1;;;48358:14;;;19006:36;19061:12;;;38665:245::o;38917:416::-;39117:2;39131:47;;;19312:2;39102:18;;;48318:19;19348:34;48358:14;;;19328:55;19417:26;19403:12;;;19396:48;19463:12;;;39088:245::o;39340:416::-;39540:2;39554:47;;;19714:2;39525:18;;;48318:19;19750:34;48358:14;;;19730:55;-1:-1;;;19805:12;;;19798:34;19851:12;;;39511:245::o;39763:416::-;39963:2;39977:47;;;20102:2;39948:18;;;48318:19;20138:34;48358:14;;;20118:55;-1:-1;;;20193:12;;;20186:26;20231:12;;;39934:245::o;40186:416::-;40386:2;40400:47;;;20482:2;40371:18;;;48318:19;20518:34;48358:14;;;20498:55;-1:-1;;;20573:12;;;20566:26;20611:12;;;40357:245::o;40609:416::-;40809:2;40823:47;;;40794:18;;;48318:19;20898:34;48358:14;;;20878:55;20952:12;;;40780:245::o;41032:416::-;41232:2;41246:47;;;21203:2;41217:18;;;48318:19;-1:-1;;;48358:14;;;21219:44;21282:12;;;41203:245::o;41455:416::-;41655:2;41669:47;;;21533:2;41640:18;;;48318:19;21569:34;48358:14;;;21549:55;-1:-1;;;21624:12;;;21617:36;21672:12;;;41626:245::o;41878:416::-;42078:2;42092:47;;;42063:18;;;48318:19;21959:34;48358:14;;;21939:55;22013:12;;;42049:245::o;42301:416::-;42501:2;42515:47;;;22264:2;42486:18;;;48318:19;22300:34;48358:14;;;22280:55;-1:-1;;;22355:12;;;22348:33;22400:12;;;42472:245::o;42724:416::-;42924:2;42938:47;;;22651:2;42909:18;;;48318:19;22687:34;48358:14;;;22667:55;-1:-1;;;22742:12;;;22735:39;22793:12;;;42895:245::o;43147:416::-;43347:2;43361:47;;;23044:2;43332:18;;;48318:19;23080:34;48358:14;;;23060:55;-1:-1;;;23135:12;;;23128:27;23174:12;;;43318:245::o;43570:416::-;43770:2;43784:47;;;23425:2;43755:18;;;48318:19;23461:34;48358:14;;;23441:55;-1:-1;;;23516:12;;;23509:25;23553:12;;;43741:245::o;43993:416::-;44193:2;44207:47;;;24073:2;44178:18;;;48318:19;24109:34;48358:14;;;24089:55;-1:-1;;;24164:12;;;24157:41;24217:12;;;44164:245::o;44416:416::-;44616:2;44630:47;;;24468:2;44601:18;;;48318:19;24504:31;48358:14;;;24484:52;24555:12;;;44587:245::o;44839:416::-;45039:2;45053:47;;;24806:2;45024:18;;;48318:19;24842:33;48358:14;;;24822:54;24895:12;;;45010:245::o;45262:416::-;45462:2;45476:47;;;25146:2;45447:18;;;48318:19;-1:-1;;;48358:14;;;25162:43;25224:12;;;45433:245::o;45685:222::-;9809:37;;;45812:2;45797:18;;45783:124::o;46254:444::-;9809:37;;;46601:2;46586:18;;9809:37;;;;46684:2;46669:18;;9809:37;46437:2;46422:18;;46408:290::o;51057:268::-;51122:1;51129:101;51143:6;51140:1;51137:13;51129:101;;;51210:11;;;51204:18;51191:11;;;51184:39;51165:2;51158:10;51129:101;;;51245:6;51242:1;51239:13;51236:2;;;-1:-1;;51122:1;51292:16;;51285:27;51106:219::o;51600:117::-;-1:-1;;;;;49453:54;;51659:35;;51649:2;;51708:1;;51698:12;51724:111;51805:5;49135:13;49128:21;51783:5;51780:32;51770:2;;51826:1;;51816:12;51966:115;-1:-1;;;;;;49301:78;;52024:34;;52014:2;;52072:1;;52062:12

Swarm Source

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