ETH Price: $3,295.06 (-10.41%)

Token

Kamagang (KAMA)
 

Overview

Max Total Supply

3,163 KAMA

Holders

1,160

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 KAMA
0x75b772f2bb4f47fbb31b14d6e034b81cb0a03730
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Kamagang is a special art collection of 3,163 unique editions with proof of ownership stored on the Ethereum blockchain.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Kamagang

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-07-11
*/

// KAMAGANG ETH CONTRACT
// File: http://github.com/OpenZeppelin/openzeppelin-contracts/contracts/utils/Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

}

// File: http://github.com/OpenZeppelin/openzeppelin-contracts/contracts/utils/EnumerableMap.sol




pragma solidity ^0.8.0;

/**
 * @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 Tries to returns the value associated with `key`.  O(1).
     * Does not revert if `key` is not in the map.
     */
    function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {
        uint256 keyIndex = map._indexes[key];
        if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key)
        return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based
    }

    /**
     * @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) {
        uint256 keyIndex = map._indexes[key];
        require(keyIndex != 0, "EnumerableMap: nonexistent key"); // Equivalent to contains(map, key)
        return map._entries[keyIndex - 1]._value; // All indexes are 1-based
    }

    /**
     * @dev Same as {_get}, with a custom error message when `key` is not in the map.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {_tryGet}.
     */
    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(uint160(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(uint160(uint256(value))));
    }

    /**
     * @dev Tries to returns the value associated with `key`.  O(1).
     * Does not revert if `key` is not in the map.
     *
     * _Available since v3.4._
     */
    function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {
        (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key));
        return (success, address(uint160(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(uint160(uint256(_get(map._inner, bytes32(key)))));
    }

    /**
     * @dev Same as {get}, with a custom error message when `key` is not in the map.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryGet}.
     */
    function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {
        return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage))));
    }
}

// File: http://github.com/OpenZeppelin/openzeppelin-contracts/contracts/utils/EnumerableSet.sol




pragma solidity ^0.8.0;

/**
 * @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.3.0, sets of type `bytes32` (`Bytes32Set`), `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];
    }

    // Bytes32Set

    struct Bytes32Set {
        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(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, 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(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

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

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set 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(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, 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(uint160(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(uint160(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(uint160(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(uint160(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));
    }
}

// File: http://github.com/OpenZeppelin/openzeppelin-contracts/contracts/utils/Address.sol




pragma solidity ^0.8.0;

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

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

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

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

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

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

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

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

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

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

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

// File: http://github.com/OpenZeppelin/openzeppelin-contracts/contracts/introspection/ERC165.sol


pragma solidity ^0.8.0;

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

// File: http://github.com/OpenZeppelin/openzeppelin-contracts/contracts/token/ERC721/IERC721.sol


pragma solidity ^0.8.0;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts may inherit from this and call {_registerInterface} to declare
 * their support of an interface.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev Mapping of interface ids to whether or not it's supported.
     */
    mapping(bytes4 => bool) private _supportedInterfaces;

    constructor () {
        // Derived contracts need only register support for their own interfaces,
        // we register support for ERC165 itself here
        _registerInterface(type(IERC165).interfaceId);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     *
     * Time complexity O(1), guaranteed to always use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual 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;
    }
}

// File: http://github.com/OpenZeppelin/openzeppelin-contracts/contracts/token/ERC721/IERC721Receiver.sol




pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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


pragma solidity ^0.8.0;

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

// File: http://github.com/OpenZeppelin/openzeppelin-contracts/contracts/token/ERC721/IERC721Enumerable.sol




pragma solidity ^0.8.0;


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

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

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

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

// File: http://github.com/OpenZeppelin/openzeppelin-contracts/contracts/token/ERC721/IERC721Metadata.sol




pragma solidity ^0.8.0;


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

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

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

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

// File: http://github.com/OpenZeppelin/openzeppelin-contracts/contracts/introspection/IERC165.sol



// File: http://github.com/OpenZeppelin/openzeppelin-contracts/contracts/utils/Context.sol




pragma solidity ^0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with 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) {
        return msg.sender;
    }

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



// File: http://github.com/OpenZeppelin/openzeppelin-contracts/contracts/token/ERC721/ERC721.sol




pragma solidity ^0.8.0;











/**
 * @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 Address for address;
    using EnumerableSet for EnumerableSet.UintSet;
    using EnumerableMap for EnumerableMap.UintToAddressMap;
    using Strings for uint256;

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

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

        // register the supported interfaces to conform to ERC721 via ERC165
        _registerInterface(type(IERC721).interfaceId);
        _registerInterface(type(IERC721Metadata).interfaceId);
        _registerInterface(type(IERC721Enumerable).interfaceId);
    }

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

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

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

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

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

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).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(base, _tokenURI));
        }
        // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.
        return string(abi.encodePacked(base, 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 virtual returns (string memory) {
        return _baseURI;
    }

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

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual 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 virtual 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 = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

        _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(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); // internal owner
        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()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    // solhint-disable-next-line no-inline-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

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



// File: http://github.com/OpenZeppelin/openzeppelin-contracts/contracts/access/Ownable.sol




pragma solidity ^0.8.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

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

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/contracts/utils/math/SafeMath.sol




pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // 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 (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @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) {
        return a + b;
    }

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

    /**
     * @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) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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 a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards 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).
     *
     * 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) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * 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) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

// File: browser/KAMA.sol





pragma solidity ^0.8.0;


contract Kamagang is ERC721, Ownable {
    using SafeMath for uint256;
    uint public constant MAX_KAMAS = 3163;
    bool public hasSaleStarted = false;
    // THE IPFS HASH OF ALL TOKEN DATAS WILL BE ADDED HERE WHEN ALL KAMAS ARE FINALIZED.
    string public METADATA_PROVENANCE_HASH = "";
    uint256 public nextTokenId = 0;
    address[] public oldHolders;

    constructor() ERC721("Kamagang","KAMA")  {
        
        setBaseURI("https://www.kamagang.com/api/token/");
        oldHolders = [
            0x1d2D8fc9540E73906c6fae482FC241468B20691f,            
            0x1d2D8fc9540E73906c6fae482FC241468B20691f,            
            0xfCAD2eB79692c2Aa0BCBaf3D3E29615dDa94FE6d,            
            0x8c46C00FC633e1e73254bEC5A7364235976aDbF5,            
            0xd62A5C591992f0965332AF7D8a4f054802454f76,            
            0xc5E5ec38de39c632f67EbF9795CD1d7D12331799,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E5ec38de39c632f67EbF9795CD1d7D12331799,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xAC8E926E3ADf2887A12e11a233661b4a53879B07,            
            0x0343Fa23A3AC5A8CeA8b6605a9C0D26330C7f8aA,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xd62A5C591992f0965332AF7D8a4f054802454f76,            
            0xd62A5C591992f0965332AF7D8a4f054802454f76,            
            0xd62A5C591992f0965332AF7D8a4f054802454f76,            
            0xa20c32005968D0Af6EF2dd8bE949Da175C0c8a8E,            
            0xa20c32005968D0Af6EF2dd8bE949Da175C0c8a8E,            
            0x7Dd44cD59D0320a8A2A0a6F521BFE767108dD2E3,            
            0xa20c32005968D0Af6EF2dd8bE949Da175C0c8a8E,            
            0xA175029BFf19B26B4A2E6da68e8bb909d6005fec,            
            0xa20c32005968D0Af6EF2dd8bE949Da175C0c8a8E,            
            0xa20c32005968D0Af6EF2dd8bE949Da175C0c8a8E,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0xc5E08104c19DAfd00Fe40737490Da9552Db5bfE5,            
            0x8191A2e4721CA4f2f4533c3c12B628f141fF2c19,            
            0xf9a3e0fF980D6197BE4701AFEC1C1c074b6eC146,            
            0x5d6013a802E7E29e60a46492D5eCCf0B5Da75735,            
            0xfCAD2eB79692c2Aa0BCBaf3D3E29615dDa94FE6d,            
            0x750364CcecC0250C2160b5e1Cc9F9AFdAA99138b,            
            0xcbF3f36a83b80C546C7e56AbD7fBb547946b6eD4,            
            0xa32f90B21D11561D31ff604745907aCc77Fb67e3,            
            0xD8ed7ADfB9884203d7f50F2F2AbF29d3285AB3DF,            
            0x9254F7f72BC6294AD6569d1aB78139121DB880F6,            
            0x9254F7f72BC6294AD6569d1aB78139121DB880F6,            
            0x9254F7f72BC6294AD6569d1aB78139121DB880F6,            
            0x8b3347FD0B8C3a619d1f1FDc90CAF4F335c03742,            
            0x9254F7f72BC6294AD6569d1aB78139121DB880F6,            
            0x9254F7f72BC6294AD6569d1aB78139121DB880F6,            
            0x9254F7f72BC6294AD6569d1aB78139121DB880F6,            
            0x9254F7f72BC6294AD6569d1aB78139121DB880F6,            
            0x9254F7f72BC6294AD6569d1aB78139121DB880F6,            
            0xB349150d6270152ca24064ec78ce8C7d7Af9f203,            
            0xB349150d6270152ca24064ec78ce8C7d7Af9f203,            
            0xB349150d6270152ca24064ec78ce8C7d7Af9f203,            
            0xB349150d6270152ca24064ec78ce8C7d7Af9f203,            
            0xDd343C671AbB706D8E4f5dA9CD9662753E44A01E,            
            0x99896B3481e4b819B45e8dfB1512036951Edf49a,            
            0x9254F7f72BC6294AD6569d1aB78139121DB880F6,            
            0x7Dd44cD59D0320a8A2A0a6F521BFE767108dD2E3,            
            0x9254F7f72BC6294AD6569d1aB78139121DB880F6,            
            0x9254F7f72BC6294AD6569d1aB78139121DB880F6,            
            0x9254F7f72BC6294AD6569d1aB78139121DB880F6,            
            0x63f0EcB088F9D47C56E10a76f03d356eB40956a9,            
            0x826F51B323e83F2e2799055b7E39b1661a056059,            
            0x826F51B323e83F2e2799055b7E39b1661a056059,            
            0xc5a7140A46501F0A7326Aa5719b41Df931bDa8ED,            
            0xc5a7140A46501F0A7326Aa5719b41Df931bDa8ED,            
            0xc5a7140A46501F0A7326Aa5719b41Df931bDa8ED,            
            0xae9083B40cb144E7f07de92b7255DFbe820326dC,            
            0xc5a7140A46501F0A7326Aa5719b41Df931bDa8ED,           
            0xae9083B40cb144E7f07de92b7255DFbe820326dC,            
            0x7Dd44cD59D0320a8A2A0a6F521BFE767108dD2E3,            
            0x16eFE37c0c557D4B1D8EB76d11E13616d2b52eAF,            
            0xcf9741bBcE8Ba8EC2b0dC8F23399a0BcF5C019D5,            
            0xD8ed7ADfB9884203d7f50F2F2AbF29d3285AB3DF,            
            0x5d6013a802E7E29e60a46492D5eCCf0B5Da75735,            
            0xc0F030eac8b588817f8dA16b9a2CDCcc6451B25c,            
            0xc0F030eac8b588817f8dA16b9a2CDCcc6451B25c,            
            0xc0F030eac8b588817f8dA16b9a2CDCcc6451B25c,            
            0xc0F030eac8b588817f8dA16b9a2CDCcc6451B25c,            
            0xc0F030eac8b588817f8dA16b9a2CDCcc6451B25c,            
            0xc0F030eac8b588817f8dA16b9a2CDCcc6451B25c,            
            0xc0F030eac8b588817f8dA16b9a2CDCcc6451B25c,            
            0xc0F030eac8b588817f8dA16b9a2CDCcc6451B25c,            
            0xc0F030eac8b588817f8dA16b9a2CDCcc6451B25c,            
            0xc0F030eac8b588817f8dA16b9a2CDCcc6451B25c,            
            0x20Ee31efB8e96d346CeB065b993494D136368E96,            
            0x4178A094Bff80C56A10583502Fa1a70191f6B49D,            
            0x63580Ae170368E647dC9894B11a7E2FC63de5847,            
            0xA0ab8Eddf14a5174688E2eb1bdb69CDF377142C3,            
            0xA0ab8Eddf14a5174688E2eb1bdb69CDF377142C3,            
            0x36de990133D36d7E3DF9a820aA3eDE5a2320De71,            
            0x58615313079FdD02eb240a11fbBFf1dadb00007e,            
            0xC1c0e9750fAB87ac871eA40D005063F3750fe143,            
            0xC1c0e9750fAB87ac871eA40D005063F3750fe143,            
            0xC1c0e9750fAB87ac871eA40D005063F3750fe143,            
            0x0a38C3a976B169574bD16412b654c1Ee0DB92e1B,            
            0x0a38C3a976B169574bD16412b654c1Ee0DB92e1B,            
            0x0a38C3a976B169574bD16412b654c1Ee0DB92e1B,            
            0xCFB2130a8f7a6882D0327Cc8e065CFc3d0B778b8,            
            0xCFB2130a8f7a6882D0327Cc8e065CFc3d0B778b8,            
            0xCFB2130a8f7a6882D0327Cc8e065CFc3d0B778b8,            
            0xCFB2130a8f7a6882D0327Cc8e065CFc3d0B778b8,            
            0xCFB2130a8f7a6882D0327Cc8e065CFc3d0B778b8,            
            0x9FF5ad420c4DAf1eeA5331081b5b5c07EF12D82C,            
            0x9FF5ad420c4DAf1eeA5331081b5b5c07EF12D82C,            
            0x9FF5ad420c4DAf1eeA5331081b5b5c07EF12D82C,            
            0x9FF5ad420c4DAf1eeA5331081b5b5c07EF12D82C,            
            0x9FF5ad420c4DAf1eeA5331081b5b5c07EF12D82C,            
            0xcbF3f36a83b80C546C7e56AbD7fBb547946b6eD4,            
            0xbA178AE12DAa78dE6592847cF8bb26508aE5D5Db,            
            0xbA178AE12DAa78dE6592847cF8bb26508aE5D5Db,            
            0xbA178AE12DAa78dE6592847cF8bb26508aE5D5Db,            
            0xb669b9E2613d7c3dF3F7E05521dc9721a9A92D10,            
            0xb669b9E2613d7c3dF3F7E05521dc9721a9A92D10,            
            0xb669b9E2613d7c3dF3F7E05521dc9721a9A92D10,            
            0xb669b9E2613d7c3dF3F7E05521dc9721a9A92D10,            
            0xb669b9E2613d7c3dF3F7E05521dc9721a9A92D10,            
            0xCFB2130a8f7a6882D0327Cc8e065CFc3d0B778b8,            
            0xCFB2130a8f7a6882D0327Cc8e065CFc3d0B778b8,            
            0xCFB2130a8f7a6882D0327Cc8e065CFc3d0B778b8,            
            0x8595ea60a434FcfAa00b6f42aDFa663276f85B59,            
            0xC5B0662b034dDd10cC068768cb6AaEA120944506,            
            0xC5B0662b034dDd10cC068768cb6AaEA120944506,            
            0xC5B0662b034dDd10cC068768cb6AaEA120944506,            
            0xC5B0662b034dDd10cC068768cb6AaEA120944506,            
            0xC5B0662b034dDd10cC068768cb6AaEA120944506,            
            0x786a567eb7928fA25ed4b32a19982313FE89C743,            
            0x786a567eb7928fA25ed4b32a19982313FE89C743,            
            0x786a567eb7928fA25ed4b32a19982313FE89C743,            
            0x786a567eb7928fA25ed4b32a19982313FE89C743,            
            0x786a567eb7928fA25ed4b32a19982313FE89C743,            
            0xCFB2130a8f7a6882D0327Cc8e065CFc3d0B778b8,            
            0xCFB2130a8f7a6882D0327Cc8e065CFc3d0B778b8,            
            0xCFB2130a8f7a6882D0327Cc8e065CFc3d0B778b8,            
            0xCFB2130a8f7a6882D0327Cc8e065CFc3d0B778b8,           
            0xCFB2130a8f7a6882D0327Cc8e065CFc3d0B778b8,            
            0xCFB2130a8f7a6882D0327Cc8e065CFc3d0B778b8,            
            0xCFB2130a8f7a6882D0327Cc8e065CFc3d0B778b8,          
            0xCFB2130a8f7a6882D0327Cc8e065CFc3d0B778b8,         
            0xd26A2bd8A59eA00bD836142cc6BE9717361a3b51,         
            0x5CD03E51b435517a53E5dF8978beCcd7A3aB6440,       
            0xBcE3BD3b206946AbBe094903Ae2B4244B52fb4e9,      
            0x750364CcecC0250C2160b5e1Cc9F9AFdAA99138b,      
            0xd26A2bd8A59eA00bD836142cc6BE9717361a3b51,       
            0x3EA60Fdca9b6D6F7dE6489d2B5F76677F1ECDf3b,       
            0xb669b9E2613d7c3dF3F7E05521dc9721a9A92D10,       
            0xb669b9E2613d7c3dF3F7E05521dc9721a9A92D10,       
            0xb669b9E2613d7c3dF3F7E05521dc9721a9A92D10,        
            0xb669b9E2613d7c3dF3F7E05521dc9721a9A92D10,        
            0x45b4eab523faf62B319Bf1b02F94Ac00E54d6F23,        
            0xe3127F4333C652097183F37f05926162d531A9ba,      
            0xb669b9E2613d7c3dF3F7E05521dc9721a9A92D10,      
            0xb669b9E2613d7c3dF3F7E05521dc9721a9A92D10,        
            0xb669b9E2613d7c3dF3F7E05521dc9721a9A92D10,           
            0xb669b9E2613d7c3dF3F7E05521dc9721a9A92D10,      
            0xb669b9E2613d7c3dF3F7E05521dc9721a9A92D10,           
            0x4a35D36E9E481F22a2eAD65486Eb4f3269A4B5e1,          
            0xb669b9E2613d7c3dF3F7E05521dc9721a9A92D10,         
            0xb669b9E2613d7c3dF3F7E05521dc9721a9A92D10,         
            0xb669b9E2613d7c3dF3F7E05521dc9721a9A92D10,        
            0xb669b9E2613d7c3dF3F7E05521dc9721a9A92D10,        
            0x750364CcecC0250C2160b5e1Cc9F9AFdAA99138b,         
            0xA80F4b0E958BB28BFE4b77770DFfcd95037a9989,         
            0x75B0955d5727148816479881B7dD4cC646aF27bb,           
            0x75B0955d5727148816479881B7dD4cC646aF27bb,          
            0x9628f7ac6e49279405565205dfA114B5c241a5Bb,        
            0xb278ada59e7Af95a0c3DE7699d8946b853f1e38a,        
            0x308660A88F8D628971F836383422fE2621ede60A,       
            0xE6Fd5dD7A626902FF3B5B59eE055D47797DB3b11,        
            0xE6Fd5dD7A626902FF3B5B59eE055D47797DB3b11,       
            0xE6Fd5dD7A626902FF3B5B59eE055D47797DB3b11,        
            0x6DfE68FF6cEAf97FeFE79545A5827ce39C2CcD62,        
            0x6DfE68FF6cEAf97FeFE79545A5827ce39C2CcD62,        
            0x6DfE68FF6cEAf97FeFE79545A5827ce39C2CcD62,        
            0x6DfE68FF6cEAf97FeFE79545A5827ce39C2CcD62,        
            0x6DfE68FF6cEAf97FeFE79545A5827ce39C2CcD62,         
            0x10b112108AA41262D05cE64967554252879BDCAa,         
            0x300da191248a500b2174aeD992d6697BF97F9139,          
            0x28DDbE460253cd0828FcE66b7E239052aBeC3d02,         
            0x28DDbE460253cd0828FcE66b7E239052aBeC3d02,          
            0x28DDbE460253cd0828FcE66b7E239052aBeC3d02,          
            0x308660A88F8D628971F836383422fE2621ede60A,          
            0x308660A88F8D628971F836383422fE2621ede60A,         
            0x308660A88F8D628971F836383422fE2621ede60A,         
            0x308660A88F8D628971F836383422fE2621ede60A,        
            0x445311e44db62Edc5762AcCA9BbDdbd0977e9aed,       
            0x639BB215b1B243561A9F19c13A1dB3DB0919Fd60,      
            0xa581019241c6d81a4d0abF083c3Ec003AeE31a01,    
            0xd815FEaeb858838690440F7298Eb0465b27a7Ff4,    
            0x1e309e568b808A38BB3DdFd1AED8D0A70D435A06,    
            0x77F1894552a6336bd0Fb2F0e904D30858f67Cfa4,   
            0x1264f7D54798C1898611CB07FeA0389eEa7235D0,   
            0x1256E7992564AB22e332532472c916Bd8D1e1Ca7,    
            0x1256E7992564AB22e332532472c916Bd8D1e1Ca7,     
            0x1256E7992564AB22e332532472c916Bd8D1e1Ca7,     
            0x1256E7992564AB22e332532472c916Bd8D1e1Ca7,     
            0xd513236eA9CacA4F1b520F76A525bAb7619813c8,     
            0xd513236eA9CacA4F1b520F76A525bAb7619813c8,     
            0x2C3Ef1f3DF0bf1409aF53f8Fc0BaFdfe60318e01,       
            0x2C3Ef1f3DF0bf1409aF53f8Fc0BaFdfe60318e01,         
            0x2C3Ef1f3DF0bf1409aF53f8Fc0BaFdfe60318e01,         
            0x2C3Ef1f3DF0bf1409aF53f8Fc0BaFdfe60318e01,      
            0x318b1b4816520603894a3C1464cC7Bb444d92143,       
            0xa20c32005968D0Af6EF2dd8bE949Da175C0c8a8E,      
            0xa20c32005968D0Af6EF2dd8bE949Da175C0c8a8E,       
            0x2C3Ef1f3DF0bf1409aF53f8Fc0BaFdfe60318e01,       
            0xf5dCb2a47f738d8bA39F9Fa2DdC7592f268a262A,        
            0xf5dCb2a47f738d8bA39F9Fa2DdC7592f268a262A,        
            0xf5dCb2a47f738d8bA39F9Fa2DdC7592f268a262A,      
            0xf5dCb2a47f738d8bA39F9Fa2DdC7592f268a262A,     
            0xe987767226b681939d07749ed192870f9101A1d1,     
            0x6439543a2fF1d78d25ABDc8DAa75bb004e210183,     
            0xfCAD2eB79692c2Aa0BCBaf3D3E29615dDa94FE6d,     
            0xD8ed7ADfB9884203d7f50F2F2AbF29d3285AB3DF,    
            0x63f0EcB088F9D47C56E10a76f03d356eB40956a9,     
            0xe4657aF058E3f844919c3ee713DF09c3F2949447,    
            0xe4657aF058E3f844919c3ee713DF09c3F2949447
        ];
        
        }
    

    
    function tokensOfOwner(address _owner) external view returns(uint256[] memory ) {
        uint256 tokenCount = balanceOf(_owner);
        if (tokenCount == 0) {
            // Return an empty array
            return new uint256[](0);
        } else {
            uint256[] memory result = new uint256[](tokenCount);
            uint256 index;
            for (index = 0; index < tokenCount; index++) {
                result[index] = tokenOfOwnerByIndex(_owner, index);
            }
            return result;
        }
    }
    

    function calculatePrice() public view returns (uint256) {
        require(hasSaleStarted == true, "Sale hasn't started");
        require(totalSupply() < MAX_KAMAS, "Sale has already ended");
        //return 9e16; //0.09ETH
        return 90000000000000000; //0.09ETH
    }

    
   function mintKAMA(uint256 numKamas) public payable {
        require(totalSupply() < MAX_KAMAS, "Sale has already ended");
        require(numKamas > 0 && numKamas <= 20, "You can adopt minimum 1, maximum 20 KAMAS");
        require(totalSupply().add(numKamas) <= MAX_KAMAS, "Exceeds MAX_KAMAS");
        require(msg.value >= calculatePrice().mul(numKamas), "Ether value sent is below the price");

        for (uint i = 0; i < numKamas; i++) {
            uint mintIndex = totalSupply();
            _safeMint(msg.sender, mintIndex);
            nextTokenId++; //FIXFIXFIXFIX
        }

    }


    // ONLYOWNER FUNCTIONS
    
    function setProvenanceHash(string memory _hash) public onlyOwner {
        METADATA_PROVENANCE_HASH = _hash;
    }
    
    function setBaseURI(string memory baseURI) public onlyOwner {
        _setBaseURI(baseURI);
    }
    
    function startDrop() public onlyOwner {
        hasSaleStarted = true;
    }
    
    function pauseDrop() public onlyOwner {
        hasSaleStarted = false;
    }
    
    function withdrawAll() public payable onlyOwner {
        require(payable(msg.sender).send(address(this).balance));
    }
    
    function migrate1() public onlyOwner  {
        for(uint256 i= 0; i < 50; i++) {
            _safeMint(address(oldHolders[i]),  i);
        }
    }
    
    function migrate2() public onlyOwner  {
        for(uint256 i= 50; i < 100; i++) {
            _safeMint(address(oldHolders[i]),  i);
        }
    }
    
    function migrate3() public onlyOwner  {
         for(uint256 i = 100; i < 150; i++) {
            _safeMint(address(oldHolders[i]),  i);
        }
    }
    
    function migrate4() public onlyOwner  {
        for(uint256 i = 150; i < 200; i++) {
            _safeMint(address(oldHolders[i]),  i);
        }
    }
    
    function migrate5() public onlyOwner  {
        for(uint256 i = 200; i < oldHolders.length; i++) {
            _safeMint(address(oldHolders[i]),  i);
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_KAMAS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"METADATA_PROVENANCE_HASH","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"calculatePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasSaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"migrate1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"migrate2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"migrate3","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"migrate4","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"migrate5","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numKamas","type":"uint256"}],"name":"mintKAMA","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"oldHolders","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseDrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startDrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"}]

600a805460ff60a01b1916905560a06040819052600060808190526200002891600b9162001055565b506000600c553480156200003b57600080fd5b50604051806040016040528060088152602001674b616d6167616e6760c01b815250604051806040016040528060048152602001634b414d4160e01b815250620000926301ffc9a760e01b62000f4d60201b60201c565b8151620000a790600690602085019062001055565b508051620000bd90600790602084019062001055565b50620000d06380ac58cd60e01b62000f4d565b620000e2635b5e139f60e01b62000f4d565b620000f463780e9d6360e01b62000f4d565b5050600a80546001600160a01b0319163390811790915560405181906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506200015d604051806060016040528060238152602001620039106023913962000fd2565b6040805161200081018252731d2d8fc9540e73906c6fae482fc241468b20691f808252602082015273fcad2eb79692c2aa0bcbaf3d3e29615dda94fe6d918101829052738c46c00fc633e1e73254bec5a7364235976adbf5606082015273d62a5c591992f0965332af7d8a4f054802454f766080820181905273c5e5ec38de39c632f67ebf9795cd1d7d1233179960a0830181905273c5e08104c19dafd00fe40737490da9552db5bfe560c0840181905260e0840181905261010080850182905261012085018290526101408501829052610160850182905261018085018290526101a085018290526101c085018290526101e08501829052610200850182905261022085018290526102408501829052610260850182905261028085018290526102a085018290526102c085018290526102e08501829052610300850182905261032085018290526103408501829052610360850182905261038085018290526103a085018290526103c085018290526103e0850182905261040085018290526104208501829052610440850182905261046085018290526104808501929092526104a084018190526104c084018190526104e084018190526105008401819052610520840181905261054084018190526105608401819052610580840181905273ac8e926e3adf2887a12e11a233661b4a53879b076105a0850152730343fa23a3ac5a8cea8b6605a9c0d26330c7f8aa6105c08501526105e08401819052610600840181905261062084018190526106408401819052610660840181905261068084018190526106a084018190526106c084018190526106e0840181905261070084018190526107208401839052610740840183905261076084019290925273a20c32005968d0af6ef2dd8be949da175c0c8a8e61078084018190526107a08401819052737dd44cd59d0320a8a2a0a6f521bfe767108dd2e36107c085018190526107e0850182905273a175029bff19b26b4a2e6da68e8bb909d6005fec61080086015261082085018290526108408501829052610860850184905261088085018490526108a085018490526108c085018490526108e0850193909352738191a2e4721ca4f2f4533c3c12b628f141ff2c1961090085015273f9a3e0ff980d6197be4701afec1c1c074b6ec146610920850152735d6013a802e7e29e60a46492d5eccf0b5da757356109408501819052610960850186905273750364ccecc0250c2160b5e1cc9f9afdaa99138b610980860181905273cbf3f36a83b80c546c7e56abd7fbb547946b6ed46109a0870181905273a32f90b21d11561d31ff604745907acc77fb67e36109c088015273d8ed7adfb9884203d7f50f2f2abf29d3285ab3df6109e08801819052739254f7f72bc6294ad6569d1ab78139121db880f6610a008901819052610a208901819052610a408901819052738b3347fd0b8c3a619d1f1fdc90caf4f335c03742610a608a0152610a808901819052610aa08901819052610ac08901819052610ae08901819052610b00890181905273b349150d6270152ca24064ec78ce8c7d7af9f203610b208a01819052610b408a01819052610b608a01819052610b808a015273dd343c671abb706d8e4f5da9cd9662753e44a01e610ba08a01527399896b3481e4b819b45e8dfb1512036951edf49a610bc08a0152610be08901819052610c008901889052610c208901819052610c408901819052610c608901527363f0ecb088f9d47c56e10a76f03d356eb40956a9610c80890181905273826f51b323e83f2e2799055b7e39b1661a056059610ca08a01819052610cc08a015273c5a7140a46501f0a7326aa5719b41df931bda8ed610ce08a01819052610d008a01819052610d208a0181905273ae9083b40cb144e7f07de92b7255dfbe820326dc610d408b01819052610d608b0191909152610d808a0152610da08901979097527316efe37c0c557d4b1d8eb76d11e13616d2b52eaf610dc089015273cf9741bbce8ba8ec2b0dc8f23399a0bcf5c019d5610de0890152610e008801819052610e2088019390935273c0f030eac8b588817f8da16b9a2cdccc6451b25c610e408801819052610e608801819052610e808801819052610ea08801819052610ec08801819052610ee08801819052610f008801819052610f208801819052610f408801819052610f608801527320ee31efb8e96d346ceb065b993494d136368e96610f80880152734178a094bff80c56a10583502fa1a70191f6b49d610fa08801527363580ae170368e647dc9894b11a7e2fc63de5847610fc088015273a0ab8eddf14a5174688e2eb1bdb69cdf377142c3610fe088018190526110008801527336de990133d36d7e3df9a820aa3ede5a2320de716110208801527358615313079fdd02eb240a11fbbff1dadb00007e61104088015273c1c0e9750fab87ac871ea40d005063f3750fe143611060880181905261108088018190526110a0880152730a38c3a976b169574bd16412b654c1ee0db92e1b6110c088018190526110e0880181905261110088015273cfb2130a8f7a6882d0327cc8e065cfc3d0b778b861112088018190526111408801819052611160880181905261118088018190526111a08801819052739ff5ad420c4daf1eea5331081b5b5c07ef12d82c6111c089018190526111e089018190526112008901819052611220890181905261124089015261126088019190915273ba178ae12daa78de6592847cf8bb26508ae5d5db61128088018190526112a088018190526112c088015273b669b9e2613d7c3df3f7e05521dc9721a9a92d106112e08801819052611300880181905261132088018190526113408801819052611360880181905261138088018290526113a088018290526113c08801829052738595ea60a434fcfaa00b6f42adfa663276f85b596113e089015273c5b0662b034ddd10cc068768cb6aaea120944506611400890181905261142089018190526114408901819052611460890181905261148089015273786a567eb7928fa25ed4b32a19982313fe89c7436114a089018190526114c089018190526114e0890181905261150089018190526115208901526115408801829052611560880182905261158088018290526115a088018290526115c088018290526115e08801829052611600880182905261162088019190915273d26a2bd8a59ea00bd836142cc6be9717361a3b516116408801819052735cd03e51b435517a53e5df8978beccd7a3ab644061166089015273bce3bd3b206946abbe094903ae2b4244b52fb4e96116808901526116a088018390526116c0880152733ea60fdca9b6d6f7de6489d2b5f76677f1ecdf3b6116e088015261170087018190526117208701819052611740870181905261176087018190527345b4eab523faf62b319bf1b02f94ac00e54d6f2361178088015273e3127f4333c652097183f37f05926162d531a9ba6117a08801526117c087018190526117e08701819052611800870181905261182087018190526118408701819052734a35d36e9e481f22a2ead65486eb4f3269a4b5e161186088015261188087018190526118a087018190526118c087018190526118e087015261190086015273a80f4b0e958bb28bfe4b77770dffcd95037a99896119208601527375b0955d5727148816479881b7dd4cc646af27bb6119408601819052611960860152739628f7ac6e49279405565205dfa114b5c241a5bb61198086015273b278ada59e7af95a0c3de7699d8946b853f1e38a6119a086015273308660a88f8d628971f836383422fe2621ede60a6119c0860181905273e6fd5dd7a626902ff3b5b59ee055d47797db3b116119e08701819052611a008701819052611a20870152736dfe68ff6ceaf97fefe79545a5827ce39c2ccd62611a408701819052611a608701819052611a808701819052611aa08701819052611ac08701527310b112108aa41262d05ce64967554252879bdcaa611ae087015273300da191248a500b2174aed992d6697bf97f9139611b008701527328ddbe460253cd0828fce66b7e239052abec3d02611b208701819052611b408701819052611b60870152611b808601819052611ba08601819052611bc08601819052611be086015273445311e44db62edc5762acca9bbddbd0977e9aed611c0086015273639bb215b1b243561a9f19c13a1db3db0919fd60611c2086015273a581019241c6d81a4d0abf083c3ec003aee31a01611c4086015273d815feaeb858838690440f7298eb0465b27a7ff4611c60860152731e309e568b808a38bb3ddfd1aed8d0a70d435a06611c808601527377f1894552a6336bd0fb2f0e904d30858f67cfa4611ca0860152731264f7d54798c1898611cb07fea0389eea7235d0611cc0860152731256e7992564ab22e332532472c916bd8d1e1ca7611ce08601819052611d008601819052611d208601819052611d4086015273d513236ea9caca4f1b520f76a525bab7619813c8611d608601819052611d80860152732c3ef1f3df0bf1409af53f8fc0bafdfe60318e01611da08601819052611dc08601819052611de08601819052611e00860181905273318b1b4816520603894a3c1464cc7bb444d92143611e20870152611e408601839052611e60860192909252611e8085019190915273f5dcb2a47f738d8ba39f9fa2ddc7592f268a262a611ea08501819052611ec08501819052611ee08501819052611f0085015273e987767226b681939d07749ed192870f9101a1d1611f20850152736439543a2ff1d78d25abdc8daa75bb004e210183611f40850152611f60840194909452611f80830193909352611fa082015273e4657af058e3f844919c3ee713df09c3f2949447611fc08201819052611fe082015262000f4691600d9190620010e4565b5062001190565b6001600160e01b0319808216141562000fad5760405162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e746572666163652069640000000060448201526064015b60405180910390fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b600a546001600160a01b031633146200102e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000fa4565b62001039816200103c565b50565b80516200105190600990602084019062001055565b5050565b828054620010639062001153565b90600052602060002090601f016020900481019282620010875760008555620010d2565b82601f10620010a257805160ff1916838001178555620010d2565b82800160010185558215620010d2579182015b82811115620010d2578251825591602001919060010190620010b5565b50620010e09291506200113c565b5090565b828054828255906000526020600020908101928215620010d2579160200282015b82811115620010d257825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062001105565b5b80821115620010e057600081556001016200113d565b600181811c908216806200116857607f821691505b602082108114156200118a57634e487b7160e01b600052602260045260246000fd5b50919050565b61277080620011a06000396000f3fe6080604052600436106102255760003560e01c80636352211e11610123578063a216c462116100ab578063e43627961161006f578063e43627961461060a578063e985e9c51461061f578063f0c9dc6014610668578063f2fde38b1461067d578063f30818bf1461069d57600080fd5b8063a216c4621461057f578063a22cb46514610595578063b88d4fde146105b5578063c87b56dd146105d5578063d348b409146105f557600080fd5b806375794a3c116100f257806375794a3c146105015780638462151c14610517578063853828b6146105445780638da5cb5b1461054c57806395d89b411461056a57600080fd5b80636352211e146104975780636c0360eb146104b757806370a08231146104cc578063715018a6146104ec57600080fd5b80632808c92c116101b157806335ee3c6c1161017557806335ee3c6c1461040257806342842e0e1461041757806347b43635146104375780634f6ccce71461045757806355f804b31461047757600080fd5b80632808c92c1461038e5780632e226b99146103a35780632f745c59146103b85780633096b295146103d857806334d84c7b146103ed57600080fd5b806310969523116101f857806310969523146102f557806318160ddd146103155780631c8b232d1461033857806323b872dd14610359578063248730e71461037957600080fd5b806301ffc9a71461022a57806306fdde0314610279578063081812fc1461029b578063095ea7b3146102d3575b600080fd5b34801561023657600080fd5b5061026461024536600461236a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b34801561028557600080fd5b5061028e6106b0565b60405161027091906124dc565b3480156102a757600080fd5b506102bb6102b63660046123e8565b610742565b6040516001600160a01b039091168152602001610270565b3480156102df57600080fd5b506102f36102ee366004612341565b6107cf565b005b34801561030157600080fd5b506102f36103103660046123a2565b6108e5565b34801561032157600080fd5b5061032a610926565b604051908152602001610270565b34801561034457600080fd5b50600a5461026490600160a01b900460ff1681565b34801561036557600080fd5b506102f3610374366004612253565b610937565b34801561038557600080fd5b506102f3610968565b34801561039a57600080fd5b506102f36109f3565b3480156103af57600080fd5b506102f3610a2c565b3480156103c457600080fd5b5061032a6103d3366004612341565b610a98565b3480156103e457600080fd5b506102f3610ac3565b3480156103f957600080fd5b506102f3610b2f565b34801561040e57600080fd5b506102f3610b6e565b34801561042357600080fd5b506102f3610432366004612253565b610bda565b34801561044357600080fd5b506102bb6104523660046123e8565b610bf5565b34801561046357600080fd5b5061032a6104723660046123e8565b610c1f565b34801561048357600080fd5b506102f36104923660046123a2565b610c35565b3480156104a357600080fd5b506102bb6104b23660046123e8565b610c68565b3480156104c357600080fd5b5061028e610c90565b3480156104d857600080fd5b5061032a6104e7366004612207565b610c9f565b3480156104f857600080fd5b506102f3610d2b565b34801561050d57600080fd5b5061032a600c5481565b34801561052357600080fd5b50610537610532366004612207565b610d9f565b6040516102709190612498565b6102f3610e76565b34801561055857600080fd5b50600a546001600160a01b03166102bb565b34801561057657600080fd5b5061028e610ec6565b34801561058b57600080fd5b5061032a610c5b81565b3480156105a157600080fd5b506102f36105b0366004612307565b610ed5565b3480156105c157600080fd5b506102f36105d036600461228e565b610f9a565b3480156105e157600080fd5b5061028e6105f03660046123e8565b610fd2565b34801561060157600080fd5b5061032a611144565b34801561061657600080fd5b506102f36111f9565b34801561062b57600080fd5b5061026461063a366004612221565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561067457600080fd5b5061028e611265565b34801561068957600080fd5b506102f3610698366004612207565b6112f3565b6102f36106ab3660046123e8565b6113de565b6060600680546106bf90612655565b80601f01602080910402602001604051908101604052809291908181526020018280546106eb90612655565b80156107385780601f1061070d57610100808354040283529160200191610738565b820191906000526020600020905b81548152906001019060200180831161071b57829003601f168201915b5050505050905090565b600061074d826115ac565b6107b35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107da82610c68565b9050806001600160a01b0316836001600160a01b031614156108485760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107aa565b336001600160a01b03821614806108645750610864813361063a565b6108d65760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107aa565b6108e083836115b9565b505050565b600a546001600160a01b0316331461090f5760405162461bcd60e51b81526004016107aa90612541565b805161092290600b9060208401906120dc565b5050565b60006109326002611627565b905090565b6109413382611631565b61095d5760405162461bcd60e51b81526004016107aa90612576565b6108e083838361171b565b600a546001600160a01b031633146109925760405162461bcd60e51b81526004016107aa90612541565b60c85b600d548110156109f0576109de600d82815481106109c357634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03168261189c565b806109e88161268a565b915050610995565b50565b600a546001600160a01b03163314610a1d5760405162461bcd60e51b81526004016107aa90612541565b600a805460ff60a01b19169055565b600a546001600160a01b03163314610a565760405162461bcd60e51b81526004016107aa90612541565b60965b60c88110156109f057610a86600d82815481106109c357634e487b7160e01b600052603260045260246000fd5b80610a908161268a565b915050610a59565b6001600160a01b0382166000908152600160205260408120610aba90836118b6565b90505b92915050565b600a546001600160a01b03163314610aed5760405162461bcd60e51b81526004016107aa90612541565b60325b60648110156109f057610b1d600d82815481106109c357634e487b7160e01b600052603260045260246000fd5b80610b278161268a565b915050610af0565b600a546001600160a01b03163314610b595760405162461bcd60e51b81526004016107aa90612541565b600a805460ff60a01b1916600160a01b179055565b600a546001600160a01b03163314610b985760405162461bcd60e51b81526004016107aa90612541565b60645b60968110156109f057610bc8600d82815481106109c357634e487b7160e01b600052603260045260246000fd5b80610bd28161268a565b915050610b9b565b6108e083838360405180602001604052806000815250610f9a565b600d8181548110610c0557600080fd5b6000918252602090912001546001600160a01b0316905081565b600080610c2d6002846118c2565b509392505050565b600a546001600160a01b03163314610c5f5760405162461bcd60e51b81526004016107aa90612541565b6109f0816118de565b6000610abd8260405180606001604052806029815260200161271260299139600291906118f1565b6060600980546106bf90612655565b60006001600160a01b038216610d0a5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107aa565b6001600160a01b0382166000908152600160205260409020610abd90611627565b600a546001600160a01b03163314610d555760405162461bcd60e51b81526004016107aa90612541565b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b60606000610dac83610c9f565b905080610dc9576040805160008082526020820190925290610c2d565b60008167ffffffffffffffff811115610df257634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610e1b578160200160208202803683370190505b50905060005b82811015610c2d57610e338582610a98565b828281518110610e5357634e487b7160e01b600052603260045260246000fd5b602090810291909101015280610e688161268a565b915050610e21565b50919050565b600a546001600160a01b03163314610ea05760405162461bcd60e51b81526004016107aa90612541565b60405133904780156108fc02916000818181858888f19350505050610ec457600080fd5b565b6060600780546106bf90612655565b6001600160a01b038216331415610f2e5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107aa565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610fa43383611631565b610fc05760405162461bcd60e51b81526004016107aa90612576565b610fcc84848484611908565b50505050565b6060610fdd826115ac565b6110415760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107aa565b6000828152600860205260408120805461105a90612655565b80601f016020809104026020016040519081016040528092919081815260200182805461108690612655565b80156110d35780601f106110a8576101008083540402835291602001916110d3565b820191906000526020600020905b8154815290600101906020018083116110b657829003601f168201915b5050505050905060006110e4610c90565b90508051600014156110f7575092915050565b81511561112957808260405160200161111192919061242c565b60405160208183030381529060405292505050919050565b806111338561193b565b60405160200161111192919061242c565b600a54600090600160a01b900460ff16151560011461119b5760405162461bcd60e51b815260206004820152601360248201527214d85b19481a185cdb89dd081cdd185c9d1959606a1b60448201526064016107aa565b610c5b6111a6610926565b106111ec5760405162461bcd60e51b815260206004820152601660248201527514d85b19481a185cc8185b1c9958591e48195b99195960521b60448201526064016107aa565b5067013fbe85edc9000090565b600a546001600160a01b031633146112235760405162461bcd60e51b81526004016107aa90612541565b60005b60328110156109f057611253600d82815481106109c357634e487b7160e01b600052603260045260246000fd5b8061125d8161268a565b915050611226565b600b805461127290612655565b80601f016020809104026020016040519081016040528092919081815260200182805461129e90612655565b80156112eb5780601f106112c0576101008083540402835291602001916112eb565b820191906000526020600020905b8154815290600101906020018083116112ce57829003601f168201915b505050505081565b600a546001600160a01b0316331461131d5760405162461bcd60e51b81526004016107aa90612541565b6001600160a01b0381166113825760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107aa565b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b610c5b6113e9610926565b1061142f5760405162461bcd60e51b815260206004820152601660248201527514d85b19481a185cc8185b1c9958591e48195b99195960521b60448201526064016107aa565b600081118015611440575060148111155b61149e5760405162461bcd60e51b815260206004820152602960248201527f596f752063616e2061646f7074206d696e696d756d20312c206d6178696d756d604482015268203230204b414d415360b81b60648201526084016107aa565b610c5b6114b3826114ad610926565b90611a55565b11156114f55760405162461bcd60e51b815260206004820152601160248201527045786365656473204d41585f4b414d415360781b60448201526064016107aa565b61150781611501611144565b90611a61565b3410156115625760405162461bcd60e51b815260206004820152602360248201527f45746865722076616c75652073656e742069732062656c6f772074686520707260448201526269636560e81b60648201526084016107aa565b60005b81811015610922576000611577610926565b9050611583338261189c565b600c80549060006115938361268a565b91905055505080806115a49061268a565b915050611565565b6000610abd600283611a6d565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906115ee82610c68565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610abd825490565b600061163c826115ac565b61169d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107aa565b60006116a883610c68565b9050806001600160a01b0316846001600160a01b031614806116e35750836001600160a01b03166116d884610742565b6001600160a01b0316145b8061171357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661172e82610c68565b6001600160a01b0316146117965760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016107aa565b6001600160a01b0382166117f85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107aa565b6118036000826115b9565b6001600160a01b03831660009081526001602052604090206118259082611a85565b506001600160a01b03821660009081526001602052604090206118489082611a91565b5061185560028284611a9d565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b610922828260405180602001604052806000815250611ab3565b6000610aba8383611ae6565b60008080806118d18686611b7a565b9097909650945050505050565b80516109229060099060208401906120dc565b60006118fe848484611c25565b90505b9392505050565b61191384848461171b565b61191f84848484611c9c565b610fcc5760405162461bcd60e51b81526004016107aa906124ef565b60608161195f5750506040805180820190915260018152600360fc1b602082015290565b8160005b811561198957806119738161268a565b91506119829050600a836125df565b9150611963565b60008167ffffffffffffffff8111156119b257634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156119dc576020820181803683370190505b5090505b8415611713576119f1600183612612565b91506119fe600a866126a5565b611a099060306125c7565b60f81b818381518110611a2c57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611a4e600a866125df565b94506119e0565b6000610aba82846125c7565b6000610aba82846125f3565b60008181526001830160205260408120541515610aba565b6000610aba8383611da9565b6000610aba8383611ec6565b60006118fe84846001600160a01b038516611f15565b611abd8383611fc4565b611aca6000848484611c9c565b6108e05760405162461bcd60e51b81526004016107aa906124ef565b81546000908210611b445760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016107aa565b826000018281548110611b6757634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b815460009081908310611bda5760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016107aa565b6000846000018481548110611bff57634e487b7160e01b600052603260045260246000fd5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008281526001840160205260408120548281611c555760405162461bcd60e51b81526004016107aa91906124dc565b5084611c62600183612612565b81548110611c8057634e487b7160e01b600052603260045260246000fd5b9060005260206000209060020201600101549150509392505050565b60006001600160a01b0384163b15611d9e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611ce090339089908890889060040161245b565b602060405180830381600087803b158015611cfa57600080fd5b505af1925050508015611d2a575060408051601f3d908101601f19168201909252611d2791810190612386565b60015b611d84573d808015611d58576040519150601f19603f3d011682016040523d82523d6000602084013e611d5d565b606091505b508051611d7c5760405162461bcd60e51b81526004016107aa906124ef565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611713565b506001949350505050565b60008181526001830160205260408120548015611ebc576000611dcd600183612612565b8554909150600090611de190600190612612565b90506000866000018281548110611e0857634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080876000018481548110611e3957634e487b7160e01b600052603260045260246000fd5b600091825260209091200155611e508360016125c7565b60008281526001890160205260409020558654879080611e8057634e487b7160e01b600052603160045260246000fd5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610abd565b6000915050610abd565b6000818152600183016020526040812054611f0d57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610abd565b506000610abd565b600082815260018401602052604081205480611f7a575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055611901565b8285611f87600184612612565b81548110611fa557634e487b7160e01b600052603260045260246000fd5b9060005260206000209060020201600101819055506000915050611901565b6001600160a01b03821661201a5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107aa565b612023816115ac565b156120705760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107aa565b6001600160a01b03821660009081526001602052604090206120929082611a91565b5061209f60028284611a9d565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546120e890612655565b90600052602060002090601f01602090048101928261210a5760008555612150565b82601f1061212357805160ff1916838001178555612150565b82800160010185558215612150579182015b82811115612150578251825591602001919060010190612135565b5061215c929150612160565b5090565b5b8082111561215c5760008155600101612161565b600067ffffffffffffffff80841115612190576121906126e5565b604051601f8501601f19908116603f011681019082821181831017156121b8576121b86126e5565b816040528093508581528686860111156121d157600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461220257600080fd5b919050565b600060208284031215612218578081fd5b610aba826121eb565b60008060408385031215612233578081fd5b61223c836121eb565b915061224a602084016121eb565b90509250929050565b600080600060608486031215612267578081fd5b612270846121eb565b925061227e602085016121eb565b9150604084013590509250925092565b600080600080608085870312156122a3578081fd5b6122ac856121eb565b93506122ba602086016121eb565b925060408501359150606085013567ffffffffffffffff8111156122dc578182fd5b8501601f810187136122ec578182fd5b6122fb87823560208401612175565b91505092959194509250565b60008060408385031215612319578182fd5b612322836121eb565b915060208301358015158114612336578182fd5b809150509250929050565b60008060408385031215612353578182fd5b61235c836121eb565b946020939093013593505050565b60006020828403121561237b578081fd5b8135611901816126fb565b600060208284031215612397578081fd5b8151611901816126fb565b6000602082840312156123b3578081fd5b813567ffffffffffffffff8111156123c9578182fd5b8201601f810184136123d9578182fd5b61171384823560208401612175565b6000602082840312156123f9578081fd5b5035919050565b60008151808452612418816020860160208601612629565b601f01601f19169290920160200192915050565b6000835161243e818460208801612629565b835190830190612452818360208801612629565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061248e90830184612400565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156124d0578351835292840192918401916001016124b4565b50909695505050505050565b602081526000610aba6020830184612400565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156125da576125da6126b9565b500190565b6000826125ee576125ee6126cf565b500490565b600081600019048311821515161561260d5761260d6126b9565b500290565b600082821015612624576126246126b9565b500390565b60005b8381101561264457818101518382015260200161262c565b83811115610fcc5750506000910152565b600181811c9082168061266957607f821691505b60208210811415610e7057634e487b7160e01b600052602260045260246000fd5b600060001982141561269e5761269e6126b9565b5060010190565b6000826126b4576126b46126cf565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146109f057600080fdfe4552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea26469706673582212202ea402e3941198d8ca2e13588fab2121e931faafffaa89db9e8bc1c06c64780664736f6c6343000804003368747470733a2f2f7777772e6b616d6167616e672e636f6d2f6170692f746f6b656e2f

Deployed Bytecode

0x6080604052600436106102255760003560e01c80636352211e11610123578063a216c462116100ab578063e43627961161006f578063e43627961461060a578063e985e9c51461061f578063f0c9dc6014610668578063f2fde38b1461067d578063f30818bf1461069d57600080fd5b8063a216c4621461057f578063a22cb46514610595578063b88d4fde146105b5578063c87b56dd146105d5578063d348b409146105f557600080fd5b806375794a3c116100f257806375794a3c146105015780638462151c14610517578063853828b6146105445780638da5cb5b1461054c57806395d89b411461056a57600080fd5b80636352211e146104975780636c0360eb146104b757806370a08231146104cc578063715018a6146104ec57600080fd5b80632808c92c116101b157806335ee3c6c1161017557806335ee3c6c1461040257806342842e0e1461041757806347b43635146104375780634f6ccce71461045757806355f804b31461047757600080fd5b80632808c92c1461038e5780632e226b99146103a35780632f745c59146103b85780633096b295146103d857806334d84c7b146103ed57600080fd5b806310969523116101f857806310969523146102f557806318160ddd146103155780631c8b232d1461033857806323b872dd14610359578063248730e71461037957600080fd5b806301ffc9a71461022a57806306fdde0314610279578063081812fc1461029b578063095ea7b3146102d3575b600080fd5b34801561023657600080fd5b5061026461024536600461236a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b34801561028557600080fd5b5061028e6106b0565b60405161027091906124dc565b3480156102a757600080fd5b506102bb6102b63660046123e8565b610742565b6040516001600160a01b039091168152602001610270565b3480156102df57600080fd5b506102f36102ee366004612341565b6107cf565b005b34801561030157600080fd5b506102f36103103660046123a2565b6108e5565b34801561032157600080fd5b5061032a610926565b604051908152602001610270565b34801561034457600080fd5b50600a5461026490600160a01b900460ff1681565b34801561036557600080fd5b506102f3610374366004612253565b610937565b34801561038557600080fd5b506102f3610968565b34801561039a57600080fd5b506102f36109f3565b3480156103af57600080fd5b506102f3610a2c565b3480156103c457600080fd5b5061032a6103d3366004612341565b610a98565b3480156103e457600080fd5b506102f3610ac3565b3480156103f957600080fd5b506102f3610b2f565b34801561040e57600080fd5b506102f3610b6e565b34801561042357600080fd5b506102f3610432366004612253565b610bda565b34801561044357600080fd5b506102bb6104523660046123e8565b610bf5565b34801561046357600080fd5b5061032a6104723660046123e8565b610c1f565b34801561048357600080fd5b506102f36104923660046123a2565b610c35565b3480156104a357600080fd5b506102bb6104b23660046123e8565b610c68565b3480156104c357600080fd5b5061028e610c90565b3480156104d857600080fd5b5061032a6104e7366004612207565b610c9f565b3480156104f857600080fd5b506102f3610d2b565b34801561050d57600080fd5b5061032a600c5481565b34801561052357600080fd5b50610537610532366004612207565b610d9f565b6040516102709190612498565b6102f3610e76565b34801561055857600080fd5b50600a546001600160a01b03166102bb565b34801561057657600080fd5b5061028e610ec6565b34801561058b57600080fd5b5061032a610c5b81565b3480156105a157600080fd5b506102f36105b0366004612307565b610ed5565b3480156105c157600080fd5b506102f36105d036600461228e565b610f9a565b3480156105e157600080fd5b5061028e6105f03660046123e8565b610fd2565b34801561060157600080fd5b5061032a611144565b34801561061657600080fd5b506102f36111f9565b34801561062b57600080fd5b5061026461063a366004612221565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561067457600080fd5b5061028e611265565b34801561068957600080fd5b506102f3610698366004612207565b6112f3565b6102f36106ab3660046123e8565b6113de565b6060600680546106bf90612655565b80601f01602080910402602001604051908101604052809291908181526020018280546106eb90612655565b80156107385780601f1061070d57610100808354040283529160200191610738565b820191906000526020600020905b81548152906001019060200180831161071b57829003601f168201915b5050505050905090565b600061074d826115ac565b6107b35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107da82610c68565b9050806001600160a01b0316836001600160a01b031614156108485760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107aa565b336001600160a01b03821614806108645750610864813361063a565b6108d65760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107aa565b6108e083836115b9565b505050565b600a546001600160a01b0316331461090f5760405162461bcd60e51b81526004016107aa90612541565b805161092290600b9060208401906120dc565b5050565b60006109326002611627565b905090565b6109413382611631565b61095d5760405162461bcd60e51b81526004016107aa90612576565b6108e083838361171b565b600a546001600160a01b031633146109925760405162461bcd60e51b81526004016107aa90612541565b60c85b600d548110156109f0576109de600d82815481106109c357634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03168261189c565b806109e88161268a565b915050610995565b50565b600a546001600160a01b03163314610a1d5760405162461bcd60e51b81526004016107aa90612541565b600a805460ff60a01b19169055565b600a546001600160a01b03163314610a565760405162461bcd60e51b81526004016107aa90612541565b60965b60c88110156109f057610a86600d82815481106109c357634e487b7160e01b600052603260045260246000fd5b80610a908161268a565b915050610a59565b6001600160a01b0382166000908152600160205260408120610aba90836118b6565b90505b92915050565b600a546001600160a01b03163314610aed5760405162461bcd60e51b81526004016107aa90612541565b60325b60648110156109f057610b1d600d82815481106109c357634e487b7160e01b600052603260045260246000fd5b80610b278161268a565b915050610af0565b600a546001600160a01b03163314610b595760405162461bcd60e51b81526004016107aa90612541565b600a805460ff60a01b1916600160a01b179055565b600a546001600160a01b03163314610b985760405162461bcd60e51b81526004016107aa90612541565b60645b60968110156109f057610bc8600d82815481106109c357634e487b7160e01b600052603260045260246000fd5b80610bd28161268a565b915050610b9b565b6108e083838360405180602001604052806000815250610f9a565b600d8181548110610c0557600080fd5b6000918252602090912001546001600160a01b0316905081565b600080610c2d6002846118c2565b509392505050565b600a546001600160a01b03163314610c5f5760405162461bcd60e51b81526004016107aa90612541565b6109f0816118de565b6000610abd8260405180606001604052806029815260200161271260299139600291906118f1565b6060600980546106bf90612655565b60006001600160a01b038216610d0a5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107aa565b6001600160a01b0382166000908152600160205260409020610abd90611627565b600a546001600160a01b03163314610d555760405162461bcd60e51b81526004016107aa90612541565b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b60606000610dac83610c9f565b905080610dc9576040805160008082526020820190925290610c2d565b60008167ffffffffffffffff811115610df257634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610e1b578160200160208202803683370190505b50905060005b82811015610c2d57610e338582610a98565b828281518110610e5357634e487b7160e01b600052603260045260246000fd5b602090810291909101015280610e688161268a565b915050610e21565b50919050565b600a546001600160a01b03163314610ea05760405162461bcd60e51b81526004016107aa90612541565b60405133904780156108fc02916000818181858888f19350505050610ec457600080fd5b565b6060600780546106bf90612655565b6001600160a01b038216331415610f2e5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107aa565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610fa43383611631565b610fc05760405162461bcd60e51b81526004016107aa90612576565b610fcc84848484611908565b50505050565b6060610fdd826115ac565b6110415760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107aa565b6000828152600860205260408120805461105a90612655565b80601f016020809104026020016040519081016040528092919081815260200182805461108690612655565b80156110d35780601f106110a8576101008083540402835291602001916110d3565b820191906000526020600020905b8154815290600101906020018083116110b657829003601f168201915b5050505050905060006110e4610c90565b90508051600014156110f7575092915050565b81511561112957808260405160200161111192919061242c565b60405160208183030381529060405292505050919050565b806111338561193b565b60405160200161111192919061242c565b600a54600090600160a01b900460ff16151560011461119b5760405162461bcd60e51b815260206004820152601360248201527214d85b19481a185cdb89dd081cdd185c9d1959606a1b60448201526064016107aa565b610c5b6111a6610926565b106111ec5760405162461bcd60e51b815260206004820152601660248201527514d85b19481a185cc8185b1c9958591e48195b99195960521b60448201526064016107aa565b5067013fbe85edc9000090565b600a546001600160a01b031633146112235760405162461bcd60e51b81526004016107aa90612541565b60005b60328110156109f057611253600d82815481106109c357634e487b7160e01b600052603260045260246000fd5b8061125d8161268a565b915050611226565b600b805461127290612655565b80601f016020809104026020016040519081016040528092919081815260200182805461129e90612655565b80156112eb5780601f106112c0576101008083540402835291602001916112eb565b820191906000526020600020905b8154815290600101906020018083116112ce57829003601f168201915b505050505081565b600a546001600160a01b0316331461131d5760405162461bcd60e51b81526004016107aa90612541565b6001600160a01b0381166113825760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107aa565b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b610c5b6113e9610926565b1061142f5760405162461bcd60e51b815260206004820152601660248201527514d85b19481a185cc8185b1c9958591e48195b99195960521b60448201526064016107aa565b600081118015611440575060148111155b61149e5760405162461bcd60e51b815260206004820152602960248201527f596f752063616e2061646f7074206d696e696d756d20312c206d6178696d756d604482015268203230204b414d415360b81b60648201526084016107aa565b610c5b6114b3826114ad610926565b90611a55565b11156114f55760405162461bcd60e51b815260206004820152601160248201527045786365656473204d41585f4b414d415360781b60448201526064016107aa565b61150781611501611144565b90611a61565b3410156115625760405162461bcd60e51b815260206004820152602360248201527f45746865722076616c75652073656e742069732062656c6f772074686520707260448201526269636560e81b60648201526084016107aa565b60005b81811015610922576000611577610926565b9050611583338261189c565b600c80549060006115938361268a565b91905055505080806115a49061268a565b915050611565565b6000610abd600283611a6d565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906115ee82610c68565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610abd825490565b600061163c826115ac565b61169d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107aa565b60006116a883610c68565b9050806001600160a01b0316846001600160a01b031614806116e35750836001600160a01b03166116d884610742565b6001600160a01b0316145b8061171357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661172e82610c68565b6001600160a01b0316146117965760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016107aa565b6001600160a01b0382166117f85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107aa565b6118036000826115b9565b6001600160a01b03831660009081526001602052604090206118259082611a85565b506001600160a01b03821660009081526001602052604090206118489082611a91565b5061185560028284611a9d565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b610922828260405180602001604052806000815250611ab3565b6000610aba8383611ae6565b60008080806118d18686611b7a565b9097909650945050505050565b80516109229060099060208401906120dc565b60006118fe848484611c25565b90505b9392505050565b61191384848461171b565b61191f84848484611c9c565b610fcc5760405162461bcd60e51b81526004016107aa906124ef565b60608161195f5750506040805180820190915260018152600360fc1b602082015290565b8160005b811561198957806119738161268a565b91506119829050600a836125df565b9150611963565b60008167ffffffffffffffff8111156119b257634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156119dc576020820181803683370190505b5090505b8415611713576119f1600183612612565b91506119fe600a866126a5565b611a099060306125c7565b60f81b818381518110611a2c57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611a4e600a866125df565b94506119e0565b6000610aba82846125c7565b6000610aba82846125f3565b60008181526001830160205260408120541515610aba565b6000610aba8383611da9565b6000610aba8383611ec6565b60006118fe84846001600160a01b038516611f15565b611abd8383611fc4565b611aca6000848484611c9c565b6108e05760405162461bcd60e51b81526004016107aa906124ef565b81546000908210611b445760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016107aa565b826000018281548110611b6757634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b815460009081908310611bda5760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016107aa565b6000846000018481548110611bff57634e487b7160e01b600052603260045260246000fd5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008281526001840160205260408120548281611c555760405162461bcd60e51b81526004016107aa91906124dc565b5084611c62600183612612565b81548110611c8057634e487b7160e01b600052603260045260246000fd5b9060005260206000209060020201600101549150509392505050565b60006001600160a01b0384163b15611d9e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611ce090339089908890889060040161245b565b602060405180830381600087803b158015611cfa57600080fd5b505af1925050508015611d2a575060408051601f3d908101601f19168201909252611d2791810190612386565b60015b611d84573d808015611d58576040519150601f19603f3d011682016040523d82523d6000602084013e611d5d565b606091505b508051611d7c5760405162461bcd60e51b81526004016107aa906124ef565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611713565b506001949350505050565b60008181526001830160205260408120548015611ebc576000611dcd600183612612565b8554909150600090611de190600190612612565b90506000866000018281548110611e0857634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080876000018481548110611e3957634e487b7160e01b600052603260045260246000fd5b600091825260209091200155611e508360016125c7565b60008281526001890160205260409020558654879080611e8057634e487b7160e01b600052603160045260246000fd5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610abd565b6000915050610abd565b6000818152600183016020526040812054611f0d57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610abd565b506000610abd565b600082815260018401602052604081205480611f7a575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055611901565b8285611f87600184612612565b81548110611fa557634e487b7160e01b600052603260045260246000fd5b9060005260206000209060020201600101819055506000915050611901565b6001600160a01b03821661201a5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107aa565b612023816115ac565b156120705760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107aa565b6001600160a01b03821660009081526001602052604090206120929082611a91565b5061209f60028284611a9d565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546120e890612655565b90600052602060002090601f01602090048101928261210a5760008555612150565b82601f1061212357805160ff1916838001178555612150565b82800160010185558215612150579182015b82811115612150578251825591602001919060010190612135565b5061215c929150612160565b5090565b5b8082111561215c5760008155600101612161565b600067ffffffffffffffff80841115612190576121906126e5565b604051601f8501601f19908116603f011681019082821181831017156121b8576121b86126e5565b816040528093508581528686860111156121d157600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461220257600080fd5b919050565b600060208284031215612218578081fd5b610aba826121eb565b60008060408385031215612233578081fd5b61223c836121eb565b915061224a602084016121eb565b90509250929050565b600080600060608486031215612267578081fd5b612270846121eb565b925061227e602085016121eb565b9150604084013590509250925092565b600080600080608085870312156122a3578081fd5b6122ac856121eb565b93506122ba602086016121eb565b925060408501359150606085013567ffffffffffffffff8111156122dc578182fd5b8501601f810187136122ec578182fd5b6122fb87823560208401612175565b91505092959194509250565b60008060408385031215612319578182fd5b612322836121eb565b915060208301358015158114612336578182fd5b809150509250929050565b60008060408385031215612353578182fd5b61235c836121eb565b946020939093013593505050565b60006020828403121561237b578081fd5b8135611901816126fb565b600060208284031215612397578081fd5b8151611901816126fb565b6000602082840312156123b3578081fd5b813567ffffffffffffffff8111156123c9578182fd5b8201601f810184136123d9578182fd5b61171384823560208401612175565b6000602082840312156123f9578081fd5b5035919050565b60008151808452612418816020860160208601612629565b601f01601f19169290920160200192915050565b6000835161243e818460208801612629565b835190830190612452818360208801612629565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061248e90830184612400565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156124d0578351835292840192918401916001016124b4565b50909695505050505050565b602081526000610aba6020830184612400565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156125da576125da6126b9565b500190565b6000826125ee576125ee6126cf565b500490565b600081600019048311821515161561260d5761260d6126b9565b500290565b600082821015612624576126246126b9565b500390565b60005b8381101561264457818101518382015260200161262c565b83811115610fcc5750506000910152565b600181811c9082168061266957607f821691505b60208210811415610e7057634e487b7160e01b600052602260045260246000fd5b600060001982141561269e5761269e6126b9565b5060010190565b6000826126b4576126b46126cf565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146109f057600080fdfe4552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea26469706673582212202ea402e3941198d8ca2e13588fab2121e931faafffaa89db9e8bc1c06c64780664736f6c63430008040033

Deployed Bytecode Sourcemap

66093:20724:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31801:150;;;;;;;;;;-1:-1:-1;31801:150:0;;;;;:::i;:::-;-1:-1:-1;;;;;;31910:33:0;31886:4;31910:33;;;;;;;;;;;;;;31801:150;;;;6436:14:1;;6429:22;6411:41;;6399:2;6384:18;31801:150:0;;;;;;;;43489:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;46275:221::-;;;;;;;;;;-1:-1:-1;46275:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5094:32:1;;;5076:51;;5064:2;5049:18;46275:221:0;5031:102:1;45805:404:0;;;;;;;;;;-1:-1:-1;45805:404:0;;;;;:::i;:::-;;:::i;:::-;;85427:116;;;;;;;;;;-1:-1:-1;85427:116:0;;;;;:::i;:::-;;:::i;45283:211::-;;;;;;;;;;;;;:::i;:::-;;;15470:25:1;;;15458:2;15443:18;45283:211:0;15425:76:1;66214:34:0;;;;;;;;;;-1:-1:-1;66214:34:0;;;;-1:-1:-1;;;66214:34:0;;;;;;47165:305;;;;;;;;;;-1:-1:-1;47165:305:0;;;;;:::i;:::-;;:::i;86645:169::-;;;;;;;;;;;;;:::i;85756:79::-;;;;;;;;;;;;;:::i;86478:155::-;;;;;;;;;;;;;:::i;45045:162::-;;;;;;;;;;-1:-1:-1;45045:162:0;;;;;:::i;:::-;;:::i;86145:153::-;;;;;;;;;;;;;:::i;85666:78::-;;;;;;;;;;;;;:::i;86310:156::-;;;;;;;;;;;;;:::i;47541:151::-;;;;;;;;;;-1:-1:-1;47541:151:0;;;;;:::i;:::-;;:::i;66432:27::-;;;;;;;;;;-1:-1:-1;66432:27:0;;;;;:::i;:::-;;:::i;45571:172::-;;;;;;;;;;-1:-1:-1;45571:172:0;;;;;:::i;:::-;;:::i;85555:99::-;;;;;;;;;;-1:-1:-1;85555:99:0;;;;;:::i;:::-;;:::i;43245:177::-;;;;;;;;;;-1:-1:-1;43245:177:0;;;;;:::i;:::-;;:::i;44864:97::-;;;;;;;;;;;;;:::i;42950:221::-;;;;;;;;;;-1:-1:-1;42950:221:0;;;;;:::i;:::-;;:::i;58348:148::-;;;;;;;;;;;;;:::i;66395:30::-;;;;;;;;;;;;;;;;83932:540;;;;;;;;;;-1:-1:-1;83932:540:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;85847:123::-;;;:::i;57697:87::-;;;;;;;;;;-1:-1:-1;57770:6:0;;-1:-1:-1;;;;;57770:6:0;57697:87;;43658:104;;;;;;;;;;;;;:::i;66170:37::-;;;;;;;;;;;;66203:4;66170:37;;46568:295;;;;;;;;;;-1:-1:-1;46568:295:0;;;;;:::i;:::-;;:::i;47763:285::-;;;;;;;;;;-1:-1:-1;47763:285:0;;;;;:::i;:::-;;:::i;43833:792::-;;;;;;;;;;-1:-1:-1;43833:792:0;;;;;:::i;:::-;;:::i;84486:279::-;;;;;;;;;;;;;:::i;85982:151::-;;;;;;;;;;;;;:::i;46934:164::-;;;;;;;;;;-1:-1:-1;46934:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;47055:25:0;;;47031:4;47055:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;46934:164;66345:43;;;;;;;;;;;;;:::i;58651:244::-;;;;;;;;;;-1:-1:-1;58651:244:0;;;;;:::i;:::-;;:::i;84778:605::-;;;;;;:::i;:::-;;:::i;43489:100::-;43543:13;43576:5;43569:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43489:100;:::o;46275:221::-;46351:7;46379:16;46387:7;46379;:16::i;:::-;46371:73;;;;-1:-1:-1;;;46371:73:0;;12407:2:1;46371:73:0;;;12389:21:1;12446:2;12426:18;;;12419:30;12485:34;12465:18;;;12458:62;-1:-1:-1;;;12536:18:1;;;12529:42;12588:19;;46371:73:0;;;;;;;;;-1:-1:-1;46464:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;46464:24:0;;46275:221::o;45805:404::-;45886:13;45902:23;45917:7;45902:14;:23::i;:::-;45886:39;;45950:5;-1:-1:-1;;;;;45944:11:0;:2;-1:-1:-1;;;;;45944:11:0;;;45936:57;;;;-1:-1:-1;;;45936:57:0;;14007:2:1;45936:57:0;;;13989:21:1;14046:2;14026:18;;;14019:30;14085:34;14065:18;;;14058:62;-1:-1:-1;;;14136:18:1;;;14129:31;14177:19;;45936:57:0;13979:223:1;45936:57:0;40812:10;-1:-1:-1;;;;;46014:21:0;;;;:69;;-1:-1:-1;46039:44:0;46063:5;40812:10;46934:164;:::i;46039:44::-;46006:161;;;;-1:-1:-1;;;46006:161:0;;10403:2:1;46006:161:0;;;10385:21:1;10442:2;10422:18;;;10415:30;10481:34;10461:18;;;10454:62;10552:26;10532:18;;;10525:54;10596:19;;46006:161:0;10375:246:1;46006:161:0;46180:21;46189:2;46193:7;46180:8;:21::i;:::-;45805:404;;;:::o;85427:116::-;57770:6;;-1:-1:-1;;;;;57770:6:0;40812:10;57917:23;57909:68;;;;-1:-1:-1;;;57909:68:0;;;;;;;:::i;:::-;85503:32;;::::1;::::0;:24:::1;::::0;:32:::1;::::0;::::1;::::0;::::1;:::i;:::-;;85427:116:::0;:::o;45283:211::-;45344:7;45465:21;:12;:19;:21::i;:::-;45458:28;;45283:211;:::o;47165:305::-;47326:41;40812:10;47359:7;47326:18;:41::i;:::-;47318:103;;;;-1:-1:-1;;;47318:103:0;;;;;;;:::i;:::-;47434:28;47444:4;47450:2;47454:7;47434:9;:28::i;86645:169::-;57770:6;;-1:-1:-1;;;;;57770:6:0;40812:10;57917:23;57909:68;;;;-1:-1:-1;;;57909:68:0;;;;;;;:::i;:::-;86710:3:::1;86694:113;86719:10;:17:::0;86715:21;::::1;86694:113;;;86758:37;86776:10;86787:1;86776:13;;;;;;-1:-1:-1::0;;;86776:13:0::1;;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;-1:-1:-1;;;;;86776:13:0::1;86793:1:::0;86758:9:::1;:37::i;:::-;86738:3:::0;::::1;::::0;::::1;:::i;:::-;;;;86694:113;;;;86645:169::o:0;85756:79::-;57770:6;;-1:-1:-1;;;;;57770:6:0;40812:10;57917:23;57909:68;;;;-1:-1:-1;;;57909:68:0;;;;;;;:::i;:::-;85805:14:::1;:22:::0;;-1:-1:-1;;;;85805:22:0::1;::::0;;85756:79::o;86478:155::-;57770:6;;-1:-1:-1;;;;;57770:6:0;40812:10;57917:23;57909:68;;;;-1:-1:-1;;;57909:68:0;;;;;;;:::i;:::-;86543:3:::1;86527:99;86552:3;86548:1;:7;86527:99;;;86577:37;86595:10;86606:1;86595:13;;;;;;-1:-1:-1::0;;;86595:13:0::1;;;;;;;;86577:37;86557:3:::0;::::1;::::0;::::1;:::i;:::-;;;;86527:99;;45045:162:::0;-1:-1:-1;;;;;45169:20:0;;45142:7;45169:20;;;:13;:20;;;;;:30;;45193:5;45169:23;:30::i;:::-;45162:37;;45045:162;;;;;:::o;86145:153::-;57770:6;;-1:-1:-1;;;;;57770:6:0;40812:10;57917:23;57909:68;;;;-1:-1:-1;;;57909:68:0;;;;;;;:::i;:::-;86209:2:::1;86194:97;86217:3;86213:1;:7;86194:97;;;86242:37;86260:10;86271:1;86260:13;;;;;;-1:-1:-1::0;;;86260:13:0::1;;;;;;;;86242:37;86222:3:::0;::::1;::::0;::::1;:::i;:::-;;;;86194:97;;85666:78:::0;57770:6;;-1:-1:-1;;;;;57770:6:0;40812:10;57917:23;57909:68;;;;-1:-1:-1;;;57909:68:0;;;;;;;:::i;:::-;85715:14:::1;:21:::0;;-1:-1:-1;;;;85715:21:0::1;-1:-1:-1::0;;;85715:21:0::1;::::0;;85666:78::o;86310:156::-;57770:6;;-1:-1:-1;;;;;57770:6:0;40812:10;57917:23;57909:68;;;;-1:-1:-1;;;57909:68:0;;;;;;;:::i;:::-;86376:3:::1;86360:99;86385:3;86381:1;:7;86360:99;;;86410:37;86428:10;86439:1;86428:13;;;;;;-1:-1:-1::0;;;86428:13:0::1;;;;;;;;86410:37;86390:3:::0;::::1;::::0;::::1;:::i;:::-;;;;86360:99;;47541:151:::0;47645:39;47662:4;47668:2;47672:7;47645:39;;;;;;;;;;;;:16;:39::i;66432:27::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;66432:27:0;;-1:-1:-1;66432:27:0;:::o;45571:172::-;45646:7;;45688:22;:12;45704:5;45688:15;:22::i;:::-;-1:-1:-1;45666:44:0;45571:172;-1:-1:-1;;;45571:172:0:o;85555:99::-;57770:6;;-1:-1:-1;;;;;57770:6:0;40812:10;57917:23;57909:68;;;;-1:-1:-1;;;57909:68:0;;;;;;;:::i;:::-;85626:20:::1;85638:7;85626:11;:20::i;43245:177::-:0;43317:7;43344:70;43361:7;43344:70;;;;;;;;;;;;;;;;;:12;;:70;:16;:70::i;44864:97::-;44912:13;44945:8;44938:15;;;;;:::i;42950:221::-;43022:7;-1:-1:-1;;;;;43050:19:0;;43042:74;;;;-1:-1:-1;;;43042:74:0;;10828:2:1;43042:74:0;;;10810:21:1;10867:2;10847:18;;;10840:30;10906:34;10886:18;;;10879:62;-1:-1:-1;;;10957:18:1;;;10950:40;11007:19;;43042:74:0;10800:232:1;43042:74:0;-1:-1:-1;;;;;43134:20:0;;;;;;:13;:20;;;;;:29;;:27;:29::i;58348:148::-;57770:6;;-1:-1:-1;;;;;57770:6:0;40812:10;57917:23;57909:68;;;;-1:-1:-1;;;57909:68:0;;;;;;;:::i;:::-;58439:6:::1;::::0;58418:40:::1;::::0;58455:1:::1;::::0;-1:-1:-1;;;;;58439:6:0::1;::::0;58418:40:::1;::::0;58455:1;;58418:40:::1;58469:6;:19:::0;;-1:-1:-1;;;;;;58469:19:0::1;::::0;;58348:148::o;83932:540::-;83993:16;84023:18;84044:17;84054:6;84044:9;:17::i;:::-;84023:38;-1:-1:-1;84076:15:0;84072:393;;84153:16;;;84167:1;84153:16;;;;;;;;;;;;84072:393;84202:23;84242:10;84228:25;;;;;;-1:-1:-1;;;84228:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;84228:25:0;;84202:51;;84268:13;84296:130;84320:10;84312:5;:18;84296:130;;;84376:34;84396:6;84404:5;84376:19;:34::i;:::-;84360:6;84367:5;84360:13;;;;;;-1:-1:-1;;;84360:13:0;;;;;;;;;;;;;;;;;;:50;84332:7;;;;:::i;:::-;;;;84296:130;;84072:393;83932:540;;;;:::o;85847:123::-;57770:6;;-1:-1:-1;;;;;57770:6:0;40812:10;57917:23;57909:68;;;;-1:-1:-1;;;57909:68:0;;;;;;;:::i;:::-;85914:47:::1;::::0;85922:10:::1;::::0;85939:21:::1;85914:47:::0;::::1;;;::::0;::::1;::::0;;;85939:21;85922:10;85914:47;::::1;;;;;;85906:56;;;::::0;::::1;;85847:123::o:0;43658:104::-;43714:13;43747:7;43740:14;;;;;:::i;46568:295::-;-1:-1:-1;;;;;46671:24:0;;40812:10;46671:24;;46663:62;;;;-1:-1:-1;;;46663:62:0;;9290:2:1;46663:62:0;;;9272:21:1;9329:2;9309:18;;;9302:30;9368:27;9348:18;;;9341:55;9413:18;;46663:62:0;9262:175:1;46663:62:0;40812:10;46738:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;46738:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;46738:53:0;;;;;;;;;;46807:48;;6411:41:1;;;46738:42:0;;40812:10;46807:48;;6384:18:1;46807:48:0;;;;;;;46568:295;;:::o;47763:285::-;47895:41;40812:10;47928:7;47895:18;:41::i;:::-;47887:103;;;;-1:-1:-1;;;47887:103:0;;;;;;;:::i;:::-;48001:39;48015:4;48021:2;48025:7;48034:5;48001:13;:39::i;:::-;47763:285;;;;:::o;43833:792::-;43906:13;43940:16;43948:7;43940;:16::i;:::-;43932:76;;;;-1:-1:-1;;;43932:76:0;;13591:2:1;43932:76:0;;;13573:21:1;13630:2;13610:18;;;13603:30;13669:34;13649:18;;;13642:62;-1:-1:-1;;;13720:18:1;;;13713:45;13775:19;;43932:76:0;13563:237:1;43932:76:0;44021:23;44047:19;;;:10;:19;;;;;44021:45;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44077:18;44098:9;:7;:9::i;:::-;44077:30;;44189:4;44183:18;44205:1;44183:23;44179:72;;;-1:-1:-1;44230:9:0;43833:792;-1:-1:-1;;43833:792:0:o;44179:72::-;44355:23;;:27;44351:108;;44430:4;44436:9;44413:33;;;;;;;;;:::i;:::-;;;;;;;;;;;;;44399:48;;;;43833:792;;;:::o;44351:108::-;44591:4;44597:18;:7;:16;:18::i;:::-;44574:42;;;;;;;;;:::i;84486:279::-;84561:14;;84533:7;;-1:-1:-1;;;84561:14:0;;;;:22;;84579:4;84561:22;84553:54;;;;-1:-1:-1;;;84553:54:0;;15178:2:1;84553:54:0;;;15160:21:1;15217:2;15197:18;;;15190:30;-1:-1:-1;;;15236:18:1;;;15229:49;15295:18;;84553:54:0;15150:169:1;84553:54:0;66203:4;84626:13;:11;:13::i;:::-;:25;84618:60;;;;-1:-1:-1;;;84618:60:0;;14409:2:1;84618:60:0;;;14391:21:1;14448:2;14428:18;;;14421:30;-1:-1:-1;;;14467:18:1;;;14460:52;14529:18;;84618:60:0;14381:172:1;84618:60:0;-1:-1:-1;84730:17:0;;84486:279::o;85982:151::-;57770:6;;-1:-1:-1;;;;;57770:6:0;40812:10;57917:23;57909:68;;;;-1:-1:-1;;;57909:68:0;;;;;;;:::i;:::-;86035:9:::1;86031:95;86053:2;86049:1;:6;86031:95;;;86077:37;86095:10;86106:1;86095:13;;;;;;-1:-1:-1::0;;;86095:13:0::1;;;;;;;;86077:37;86057:3:::0;::::1;::::0;::::1;:::i;:::-;;;;86031:95;;66345:43:::0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;58651:244::-;57770:6;;-1:-1:-1;;;;;57770:6:0;40812:10;57917:23;57909:68;;;;-1:-1:-1;;;57909:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;58740:22:0;::::1;58732:73;;;::::0;-1:-1:-1;;;58732:73:0;;7711:2:1;58732:73:0::1;::::0;::::1;7693:21:1::0;7750:2;7730:18;;;7723:30;7789:34;7769:18;;;7762:62;-1:-1:-1;;;7840:18:1;;;7833:36;7886:19;;58732:73:0::1;7683:228:1::0;58732:73:0::1;58842:6;::::0;58821:38:::1;::::0;-1:-1:-1;;;;;58821:38:0;;::::1;::::0;58842:6:::1;::::0;58821:38:::1;::::0;58842:6:::1;::::0;58821:38:::1;58870:6;:17:::0;;-1:-1:-1;;;;;;58870:17:0::1;-1:-1:-1::0;;;;;58870:17:0;;;::::1;::::0;;;::::1;::::0;;58651:244::o;84778:605::-;66203:4;84848:13;:11;:13::i;:::-;:25;84840:60;;;;-1:-1:-1;;;84840:60:0;;14409:2:1;84840:60:0;;;14391:21:1;14448:2;14428:18;;;14421:30;-1:-1:-1;;;14467:18:1;;;14460:52;14529:18;;84840:60:0;14381:172:1;84840:60:0;84930:1;84919:8;:12;:30;;;;;84947:2;84935:8;:14;;84919:30;84911:84;;;;-1:-1:-1;;;84911:84:0;;8475:2:1;84911:84:0;;;8457:21:1;8514:2;8494:18;;;8487:30;8553:34;8533:18;;;8526:62;-1:-1:-1;;;8604:18:1;;;8597:39;8653:19;;84911:84:0;8447:231:1;84911:84:0;66203:4;85014:27;85032:8;85014:13;:11;:13::i;:::-;:17;;:27::i;:::-;:40;;85006:70;;;;-1:-1:-1;;;85006:70:0;;10057:2:1;85006:70:0;;;10039:21:1;10096:2;10076:18;;;10069:30;-1:-1:-1;;;10115:18:1;;;10108:47;10172:18;;85006:70:0;10029:167:1;85006:70:0;85108:30;85129:8;85108:16;:14;:16::i;:::-;:20;;:30::i;:::-;85095:9;:43;;85087:91;;;;-1:-1:-1;;;85087:91:0;;11239:2:1;85087:91:0;;;11221:21:1;11278:2;11258:18;;;11251:30;11317:34;11297:18;;;11290:62;-1:-1:-1;;;11368:18:1;;;11361:33;11411:19;;85087:91:0;11211:225:1;85087:91:0;85196:6;85191:183;85212:8;85208:1;:12;85191:183;;;85242:14;85259:13;:11;:13::i;:::-;85242:30;;85287:32;85297:10;85309:9;85287;:32::i;:::-;85334:11;:13;;;:11;:13;;;:::i;:::-;;;;;;85191:183;85222:3;;;;;:::i;:::-;;;;85191:183;;49515:127;49580:4;49604:30;:12;49626:7;49604:21;:30::i;55661:183::-;55727:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;55727:29:0;-1:-1:-1;;;;;55727:29:0;;;;;;;;:24;;55781:23;55727:24;55781:14;:23::i;:::-;-1:-1:-1;;;;;55772:46:0;;;;;;;;;;;55661:183;;:::o;10258:123::-;10327:7;10354:19;10362:3;6920:19;;6837:110;49809:355;49902:4;49927:16;49935:7;49927;:16::i;:::-;49919:73;;;;-1:-1:-1;;;49919:73:0;;9644:2:1;49919:73:0;;;9626:21:1;9683:2;9663:18;;;9656:30;9722:34;9702:18;;;9695:62;-1:-1:-1;;;9773:18:1;;;9766:42;9825:19;;49919:73:0;9616:234:1;49919:73:0;50003:13;50019:23;50034:7;50019:14;:23::i;:::-;50003:39;;50072:5;-1:-1:-1;;;;;50061:16:0;:7;-1:-1:-1;;;;;50061:16:0;;:51;;;;50105:7;-1:-1:-1;;;;;50081:31:0;:20;50093:7;50081:11;:20::i;:::-;-1:-1:-1;;;;;50081:31:0;;50061:51;:94;;;-1:-1:-1;;;;;;47055:25:0;;;47031:4;47055:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;50116:39;50053:103;49809:355;-1:-1:-1;;;;49809:355:0:o;52945:599::-;53070:4;-1:-1:-1;;;;;53043:31:0;:23;53058:7;53043:14;:23::i;:::-;-1:-1:-1;;;;;53043:31:0;;53035:85;;;;-1:-1:-1;;;53035:85:0;;13181:2:1;53035:85:0;;;13163:21:1;13220:2;13200:18;;;13193:30;13259:34;13239:18;;;13232:62;-1:-1:-1;;;13310:18:1;;;13303:39;13359:19;;53035:85:0;13153:231:1;53035:85:0;-1:-1:-1;;;;;53157:16:0;;53149:65;;;;-1:-1:-1;;;53149:65:0;;8885:2:1;53149:65:0;;;8867:21:1;8924:2;8904:18;;;8897:30;8963:34;8943:18;;;8936:62;-1:-1:-1;;;9014:18:1;;;9007:34;9058:19;;53149:65:0;8857:226:1;53149:65:0;53331:29;53348:1;53352:7;53331:8;:29::i;:::-;-1:-1:-1;;;;;53373:19:0;;;;;;:13;:19;;;;;:35;;53400:7;53373:26;:35::i;:::-;-1:-1:-1;;;;;;53419:17:0;;;;;;:13;:17;;;;;:30;;53441:7;53419:21;:30::i;:::-;-1:-1:-1;53462:29:0;:12;53479:7;53488:2;53462:16;:29::i;:::-;;53528:7;53524:2;-1:-1:-1;;;;;53509:27:0;53518:4;-1:-1:-1;;;;;53509:27:0;;;;;;;;;;;52945:599;;;:::o;50507:110::-;50583:26;50593:2;50597:7;50583:26;;;;;;;;;;;;:9;:26::i;21832:137::-;21903:7;21938:22;21942:3;21954:5;21938:3;:22::i;10720:236::-;10800:7;;;;10860:22;10864:3;10876:5;10860:3;:22::i;:::-;10829:53;;;;-1:-1:-1;10720:236:0;-1:-1:-1;;;;;10720:236:0:o;54145:100::-;54218:19;;;;:8;;:19;;;;;:::i;12006:213::-;12113:7;12164:44;12169:3;12189;12195:12;12164:4;:44::i;:::-;12156:53;-1:-1:-1;12006:213:0;;;;;;:::o;48930:272::-;49044:28;49054:4;49060:2;49064:7;49044:9;:28::i;:::-;49091:48;49114:4;49120:2;49124:7;49133:5;49091:22;:48::i;:::-;49083:111;;;;-1:-1:-1;;;49083:111:0;;;;;;;:::i;402:723::-;458:13;679:10;675:53;;-1:-1:-1;;706:10:0;;;;;;;;;;;;-1:-1:-1;;;706:10:0;;;;;402:723::o;675:53::-;753:5;738:12;794:78;801:9;;794:78;;827:8;;;;:::i;:::-;;-1:-1:-1;850:10:0;;-1:-1:-1;858:2:0;850:10;;:::i;:::-;;;794:78;;;882:19;914:6;904:17;;;;;;-1:-1:-1;;;904:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;904:17:0;;882:39;;932:154;939:10;;932:154;;966:11;976:1;966:11;;:::i;:::-;;-1:-1:-1;1035:10:0;1043:2;1035:5;:10;:::i;:::-;1022:24;;:2;:24;:::i;:::-;1009:39;;992:6;999;992:14;;;;;;-1:-1:-1;;;992:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;992:56:0;;;;;;;;-1:-1:-1;1063:11:0;1072:2;1063:11;;:::i;:::-;;;932:154;;61737:98;61795:7;61822:5;61826:1;61822;:5;:::i;62475:98::-;62533:7;62560:5;62564:1;62560;:5;:::i;10019:151::-;10103:4;6712:17;;;:12;;;:17;;;;;;:22;;10127:35;6617:125;20919:137;20989:4;21013:35;21021:3;21041:5;21013:7;:35::i;20612:131::-;20679:4;20703:32;20708:3;20728:5;20703:4;:32::i;9442:185::-;9531:4;9555:64;9560:3;9580;-1:-1:-1;;;;;9594:23:0;;9555:4;:64::i;50844:250::-;50940:18;50946:2;50950:7;50940:5;:18::i;:::-;50977:54;51008:1;51012:2;51016:7;51025:5;50977:22;:54::i;:::-;50969:117;;;;-1:-1:-1;;;50969:117:0;;;;;;;:::i;16870:204::-;16965:18;;16937:7;;16965:26;-1:-1:-1;16957:73:0;;;;-1:-1:-1;;;16957:73:0;;6889:2:1;16957:73:0;;;6871:21:1;6928:2;6908:18;;;6901:30;6967:34;6947:18;;;6940:62;-1:-1:-1;;;7018:18:1;;;7011:32;7060:19;;16957:73:0;6861:224:1;16957:73:0;17048:3;:11;;17060:5;17048:18;;;;;;-1:-1:-1;;;17048:18:0;;;;;;;;;;;;;;;;;17041:25;;16870:204;;;;:::o;7302:279::-;7406:19;;7369:7;;;;7406:27;-1:-1:-1;7398:74:0;;;;-1:-1:-1;;;7398:74:0;;11643:2:1;7398:74:0;;;11625:21:1;11682:2;11662:18;;;11655:30;11721:34;11701:18;;;11694:62;-1:-1:-1;;;11772:18:1;;;11765:32;11814:19;;7398:74:0;11615:224:1;7398:74:0;7485:22;7510:3;:12;;7523:5;7510:19;;;;;;-1:-1:-1;;;7510:19:0;;;;;;;;;;;;;;;;;;;7485:44;;7548:5;:10;;;7560:5;:12;;;7540:33;;;;;7302:279;;;;;:::o;8799:319::-;8893:7;8932:17;;;:12;;;:17;;;;;;8983:12;8968:13;8960:36;;;;-1:-1:-1;;;8960:36:0;;;;;;;;:::i;:::-;-1:-1:-1;9050:3:0;9063:12;9074:1;9063:8;:12;:::i;:::-;9050:26;;;;;;-1:-1:-1;;;9050:26:0;;;;;;;;;;;;;;;;;;;:33;;;9043:40;;;8799:319;;;;;:::o;54810:843::-;54931:4;-1:-1:-1;;;;;54957:13:0;;23151:20;23190:8;54953:693;;54993:72;;-1:-1:-1;;;54993:72:0;;-1:-1:-1;;;;;54993:36:0;;;;;:72;;40812:10;;55044:4;;55050:7;;55059:5;;54993:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54993:72:0;;;;;;;;-1:-1:-1;;54993:72:0;;;;;;;;;;;;:::i;:::-;;;54989:602;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55239:13:0;;55235:341;;55282:60;;-1:-1:-1;;;55282:60:0;;;;;;;:::i;55235:341::-;55526:6;55520:13;55511:6;55507:2;55503:15;55496:38;54989:602;-1:-1:-1;;;;;;55116:55:0;-1:-1:-1;;;55116:55:0;;-1:-1:-1;55109:62:0;;54953:693;-1:-1:-1;55630:4:0;54810:843;;;;;;:::o;14572:1544::-;14638:4;14777:19;;;:12;;;:19;;;;;;14813:15;;14809:1300;;15175:21;15199:14;15212:1;15199:10;:14;:::i;:::-;15248:18;;15175:38;;-1:-1:-1;15228:17:0;;15248:22;;15269:1;;15248:22;:::i;:::-;15228:42;;15515:17;15535:3;:11;;15547:9;15535:22;;;;;;-1:-1:-1;;;15535:22:0;;;;;;;;;;;;;;;;;15515:42;;15681:9;15652:3;:11;;15664:13;15652:26;;;;;;-1:-1:-1;;;15652:26:0;;;;;;;;;;;;;;;;;;:38;15784:17;:13;15800:1;15784:17;:::i;:::-;15758:23;;;;:12;;;:23;;;;;:43;15910:17;;15758:3;;15910:17;;;-1:-1:-1;;;15910:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;16005:3;:12;;:19;16018:5;16005:19;;;;;;;;;;;15998:26;;;16048:4;16041:11;;;;;;;;14809:1300;16092:5;16085:12;;;;;13982:414;14045:4;6712:17;;;:12;;;:17;;;;;;14062:327;;-1:-1:-1;14105:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;14288:18;;14266:19;;;:12;;;:19;;;;;;:40;;;;14321:11;;14062:327;-1:-1:-1;14372:5:0;14365:12;;4117:692;4193:4;4328:17;;;:12;;;:17;;;;;;4362:13;4358:444;;-1:-1:-1;;4447:38:0;;;;;;;;;;;;;;;;;;4429:57;;;;;;;;:12;:57;;;;;;;;;;;;;;;;;;;;;;;;4644:19;;4624:17;;;:12;;;:17;;;;;;;:39;4678:11;;4358:444;4758:5;4722:3;4735:12;4746:1;4735:8;:12;:::i;:::-;4722:26;;;;;;-1:-1:-1;;;4722:26:0;;;;;;;;;;;;;;;;;;;:33;;:41;;;;4785:5;4778:12;;;;;51430:404;-1:-1:-1;;;;;51510:16:0;;51502:61;;;;-1:-1:-1;;;51502:61:0;;12046:2:1;51502:61:0;;;12028:21:1;;;12065:18;;;12058:30;12124:34;12104:18;;;12097:62;12176:18;;51502:61:0;12018:182:1;51502:61:0;51583:16;51591:7;51583;:16::i;:::-;51582:17;51574:58;;;;-1:-1:-1;;;51574:58:0;;8118:2:1;51574:58:0;;;8100:21:1;8157:2;8137:18;;;8130:30;8196;8176:18;;;8169:58;8244:18;;51574:58:0;8090:178:1;51574:58:0;-1:-1:-1;;;;;51703:17:0;;;;;;:13;:17;;;;;:30;;51725:7;51703:21;:30::i;:::-;-1:-1:-1;51746:29:0;:12;51763:7;51772:2;51746:16;:29::i;:::-;-1:-1:-1;51793:33:0;;51818:7;;-1:-1:-1;;;;;51793:33:0;;;51810:1;;51793:33;;51810:1;;51793:33;51430:404;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:2;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:2;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:2;;;532:1;529;522:12;491:2;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;88:557;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:2;;813:1;810;803:12;747:2;699:124;;;:::o;828:196::-;887:6;940:2;928:9;919:7;915:23;911:32;908:2;;;961:6;953;946:22;908:2;989:29;1008:9;989:29;:::i;1029:270::-;1097:6;1105;1158:2;1146:9;1137:7;1133:23;1129:32;1126:2;;;1179:6;1171;1164:22;1126:2;1207:29;1226:9;1207:29;:::i;:::-;1197:39;;1255:38;1289:2;1278:9;1274:18;1255:38;:::i;:::-;1245:48;;1116:183;;;;;:::o;1304:338::-;1381:6;1389;1397;1450:2;1438:9;1429:7;1425:23;1421:32;1418:2;;;1471:6;1463;1456:22;1418:2;1499:29;1518:9;1499:29;:::i;:::-;1489:39;;1547:38;1581:2;1570:9;1566:18;1547:38;:::i;:::-;1537:48;;1632:2;1621:9;1617:18;1604:32;1594:42;;1408:234;;;;;:::o;1647:696::-;1742:6;1750;1758;1766;1819:3;1807:9;1798:7;1794:23;1790:33;1787:2;;;1841:6;1833;1826:22;1787:2;1869:29;1888:9;1869:29;:::i;:::-;1859:39;;1917:38;1951:2;1940:9;1936:18;1917:38;:::i;:::-;1907:48;;2002:2;1991:9;1987:18;1974:32;1964:42;;2057:2;2046:9;2042:18;2029:32;2084:18;2076:6;2073:30;2070:2;;;2121:6;2113;2106:22;2070:2;2149:22;;2202:4;2194:13;;2190:27;-1:-1:-1;2180:2:1;;2236:6;2228;2221:22;2180:2;2264:73;2329:7;2324:2;2311:16;2306:2;2302;2298:11;2264:73;:::i;:::-;2254:83;;;1777:566;;;;;;;:::o;2348:367::-;2413:6;2421;2474:2;2462:9;2453:7;2449:23;2445:32;2442:2;;;2495:6;2487;2480:22;2442:2;2523:29;2542:9;2523:29;:::i;:::-;2513:39;;2602:2;2591:9;2587:18;2574:32;2649:5;2642:13;2635:21;2628:5;2625:32;2615:2;;2676:6;2668;2661:22;2615:2;2704:5;2694:15;;;2432:283;;;;;:::o;2720:264::-;2788:6;2796;2849:2;2837:9;2828:7;2824:23;2820:32;2817:2;;;2870:6;2862;2855:22;2817:2;2898:29;2917:9;2898:29;:::i;:::-;2888:39;2974:2;2959:18;;;;2946:32;;-1:-1:-1;;;2807:177:1:o;2989:255::-;3047:6;3100:2;3088:9;3079:7;3075:23;3071:32;3068:2;;;3121:6;3113;3106:22;3068:2;3165:9;3152:23;3184:30;3208:5;3184:30;:::i;3249:259::-;3318:6;3371:2;3359:9;3350:7;3346:23;3342:32;3339:2;;;3392:6;3384;3377:22;3339:2;3429:9;3423:16;3448:30;3472:5;3448:30;:::i;3513:480::-;3582:6;3635:2;3623:9;3614:7;3610:23;3606:32;3603:2;;;3656:6;3648;3641:22;3603:2;3701:9;3688:23;3734:18;3726:6;3723:30;3720:2;;;3771:6;3763;3756:22;3720:2;3799:22;;3852:4;3844:13;;3840:27;-1:-1:-1;3830:2:1;;3886:6;3878;3871:22;3830:2;3914:73;3979:7;3974:2;3961:16;3956:2;3952;3948:11;3914:73;:::i;3998:190::-;4057:6;4110:2;4098:9;4089:7;4085:23;4081:32;4078:2;;;4131:6;4123;4116:22;4078:2;-1:-1:-1;4159:23:1;;4068:120;-1:-1:-1;4068:120:1:o;4193:257::-;4234:3;4272:5;4266:12;4299:6;4294:3;4287:19;4315:63;4371:6;4364:4;4359:3;4355:14;4348:4;4341:5;4337:16;4315:63;:::i;:::-;4432:2;4411:15;-1:-1:-1;;4407:29:1;4398:39;;;;4439:4;4394:50;;4242:208;-1:-1:-1;;4242:208:1:o;4455:470::-;4634:3;4672:6;4666:13;4688:53;4734:6;4729:3;4722:4;4714:6;4710:17;4688:53;:::i;:::-;4804:13;;4763:16;;;;4826:57;4804:13;4763:16;4860:4;4848:17;;4826:57;:::i;:::-;4899:20;;4642:283;-1:-1:-1;;;;4642:283:1:o;5138:488::-;-1:-1:-1;;;;;5407:15:1;;;5389:34;;5459:15;;5454:2;5439:18;;5432:43;5506:2;5491:18;;5484:34;;;5554:3;5549:2;5534:18;;5527:31;;;5332:4;;5575:45;;5600:19;;5592:6;5575:45;:::i;:::-;5567:53;5341:285;-1:-1:-1;;;;;;5341:285:1:o;5631:635::-;5802:2;5854:21;;;5924:13;;5827:18;;;5946:22;;;5773:4;;5802:2;6025:15;;;;5999:2;5984:18;;;5773:4;6071:169;6085:6;6082:1;6079:13;6071:169;;;6146:13;;6134:26;;6215:15;;;;6180:12;;;;6107:1;6100:9;6071:169;;;-1:-1:-1;6257:3:1;;5782:484;-1:-1:-1;;;;;;5782:484:1:o;6463:219::-;6612:2;6601:9;6594:21;6575:4;6632:44;6672:2;6661:9;6657:18;6649:6;6632:44;:::i;7090:414::-;7292:2;7274:21;;;7331:2;7311:18;;;7304:30;7370:34;7365:2;7350:18;;7343:62;-1:-1:-1;;;7436:2:1;7421:18;;7414:48;7494:3;7479:19;;7264:240::o;12618:356::-;12820:2;12802:21;;;12839:18;;;12832:30;12898:34;12893:2;12878:18;;12871:62;12965:2;12950:18;;12792:182::o;14558:413::-;14760:2;14742:21;;;14799:2;14779:18;;;14772:30;14838:34;14833:2;14818:18;;14811:62;-1:-1:-1;;;14904:2:1;14889:18;;14882:47;14961:3;14946:19;;14732:239::o;15506:128::-;15546:3;15577:1;15573:6;15570:1;15567:13;15564:2;;;15583:18;;:::i;:::-;-1:-1:-1;15619:9:1;;15554:80::o;15639:120::-;15679:1;15705;15695:2;;15710:18;;:::i;:::-;-1:-1:-1;15744:9:1;;15685:74::o;15764:168::-;15804:7;15870:1;15866;15862:6;15858:14;15855:1;15852:21;15847:1;15840:9;15833:17;15829:45;15826:2;;;15877:18;;:::i;:::-;-1:-1:-1;15917:9:1;;15816:116::o;15937:125::-;15977:4;16005:1;16002;15999:8;15996:2;;;16010:18;;:::i;:::-;-1:-1:-1;16047:9:1;;15986:76::o;16067:258::-;16139:1;16149:113;16163:6;16160:1;16157:13;16149:113;;;16239:11;;;16233:18;16220:11;;;16213:39;16185:2;16178:10;16149:113;;;16280:6;16277:1;16274:13;16271:2;;;-1:-1:-1;;16315:1:1;16297:16;;16290:27;16120:205::o;16330:380::-;16409:1;16405:12;;;;16452;;;16473:2;;16527:4;16519:6;16515:17;16505:27;;16473:2;16580;16572:6;16569:14;16549:18;16546:38;16543:2;;;16626:10;16621:3;16617:20;16614:1;16607:31;16661:4;16658:1;16651:15;16689:4;16686:1;16679:15;16715:135;16754:3;-1:-1:-1;;16775:17:1;;16772:2;;;16795:18;;:::i;:::-;-1:-1:-1;16842:1:1;16831:13;;16762:88::o;16855:112::-;16887:1;16913;16903:2;;16918:18;;:::i;:::-;-1:-1:-1;16952:9:1;;16893:74::o;16972:127::-;17033:10;17028:3;17024:20;17021:1;17014:31;17064:4;17061:1;17054:15;17088:4;17085:1;17078:15;17104:127;17165:10;17160:3;17156:20;17153:1;17146:31;17196:4;17193:1;17186:15;17220:4;17217:1;17210:15;17236:127;17297:10;17292:3;17288:20;17285:1;17278:31;17328:4;17325:1;17318:15;17352:4;17349:1;17342:15;17368:131;-1:-1:-1;;;;;;17442:32:1;;17432:43;;17422:2;;17489:1;17486;17479:12

Swarm Source

ipfs://2ea402e3941198d8ca2e13588fab2121e931faafffaa89db9e8bc1c06c647806
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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