ETH Price: $3,219.50 (+3.41%)

Token

Beta Buddies by de.Social (BETA BUDDY)
 

Overview

Max Total Supply

121 BETA BUDDY

Holders

36

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
oldfrog.eth
Balance
4 BETA BUDDY
0x487d0c7553c8d88500085a805d316ed5b18357f8
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
deSocialBetaBuddy

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-09-17
*/

// SPDX-License-Identifier: NONE

pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;



// Part: OpenZeppelin/[email protected]/Address

/**
 * @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) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

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

// Part: OpenZeppelin/[email protected]/Context

/*
 * @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.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }

    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

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

// Part: OpenZeppelin/[email protected]/EnumerableMap

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

    struct MapEntry {
        bytes32 _key;
        bytes32 _value;
    }

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

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

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

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

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

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

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

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

            MapEntry storage lastEntry = map._entries[lastIndex];

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

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

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

            return true;
        } else {
            return false;
        }
    }

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

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

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

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

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

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

    // UintToAddressMap

    struct UintToAddressMap {
        Map _inner;
    }

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

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

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

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

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

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

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

// Part: OpenZeppelin/[email protected]/EnumerableSet

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

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

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

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

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

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

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

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

            bytes32 lastvalue = set._values[lastIndex];

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

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

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

            return true;
        } else {
            return false;
        }
    }

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

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

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

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

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

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

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

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

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


    // UintSet

    struct UintSet {
        Set _inner;
    }

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

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

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

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

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

// Part: OpenZeppelin/[email protected]/IERC165

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

// Part: OpenZeppelin/[email protected]/IERC721Receiver

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
abstract contract IERC721Receiver {
    /**
     * @notice Handle the receipt of an NFT
     * @dev The ERC721 smart contract calls this function on the recipient
     * after a {IERC721-safeTransferFrom}. This function MUST return the function selector,
     * otherwise the caller will revert the transaction. The selector to be
     * returned can be obtained as `this.onERC721Received.selector`. This
     * function MAY throw to revert and reject the transfer.
     * Note: the ERC721 contract address is always the message sender.
     * @param operator The address which called `safeTransferFrom` function
     * @param from The address which previously owned the token
     * @param tokenId The NFT identifier which is being transferred
     * @param data Additional data with no specified format
     * @return bytes4 `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`
     */
    function onERC721Received(address operator, address from, uint256 tokenId, bytes memory data)
    public virtual returns (bytes4);
}

// Part: OpenZeppelin/[email protected]/SafeMath

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

// Part: OpenZeppelin/[email protected]/Strings

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

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

// Part: OpenZeppelin/[email protected]/ERC165

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

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

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

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

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

// Part: OpenZeppelin/[email protected]/IERC721

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

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

    /**
     * @dev Returns the owner of the NFT specified by `tokenId`.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Transfers a specific NFT (`tokenId`) from one account (`from`) to
     * another (`to`).
     *
     *
     *
     * Requirements:
     * - `from`, `to` cannot be zero.
     * - `tokenId` must be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this
     * NFT by either {approve} or {setApprovalForAll}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) external;
    /**
     * @dev Transfers a specific NFT (`tokenId`) from one account (`from`) to
     * another (`to`).
     *
     * Requirements:
     * - If the caller is not `from`, it must be approved to move this NFT by
     * either {approve} or {setApprovalForAll}.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;
    function approve(address to, uint256 tokenId) external;
    function getApproved(uint256 tokenId) external view returns (address operator);

    function setApprovalForAll(address operator, bool _approved) external;
    function isApprovedForAll(address owner, address operator) external view returns (bool);


    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;
}

// Part: HasSecondarySaleFees

contract HasSecondarySaleFees is ERC165 {
    address payable teamAddress;
    uint256 teamSecondaryBps;

	/*
    * bytes4(keccak256('getFeeBps(uint256)')) == 0x0ebd4c7f
    * bytes4(keccak256('getFeeRecipients(uint256)')) == 0xb9c4d9fb
    *
    * => 0x0ebd4c7f ^ 0xb9c4d9fb == 0xb7799584
    */

    bytes4 private constant _INTERFACE_ID_FEES = 0xb7799584;

    constructor() public {
        _registerInterface(_INTERFACE_ID_FEES);
    }

    function getFeeRecipients(uint256 id) public view returns (address payable[] memory){
        address payable[] memory addressArray = new address payable[](1);
        addressArray[0] = teamAddress;
        return addressArray;
    }

    function getFeeBps(uint256 id) public view returns (uint[] memory){
        uint[] memory bpsArray = new uint[](1);
        bpsArray[0] = teamSecondaryBps;
        return bpsArray;
    }
}

// Part: OpenZeppelin/[email protected]/IERC721Enumerable

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    function totalSupply() external view returns (uint256);
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    function tokenByIndex(uint256 index) external view returns (uint256);
}

// Part: OpenZeppelin/[email protected]/IERC721Metadata

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    function name() external view returns (string memory);
    function symbol() external view returns (string memory);
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

// Part: OpenZeppelin/[email protected]/ERC721

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

    // Base URI
    string private _baseURI;

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

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

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

    constructor (string memory name, string memory symbol) public {
        _name = name;
        _symbol = symbol;

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

    /**
     * @dev Gets the balance of the specified address.
     * @param owner address to query the balance of
     * @return uint256 representing the amount owned by the passed address
     */
    function balanceOf(address owner) public view override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");

        return _holderTokens[owner].length();
    }

    /**
     * @dev Gets the owner of the specified token ID.
     * @param tokenId uint256 ID of the token to query the owner of
     * @return address currently marked as the owner of the given token ID
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token");
    }

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

    /**
     * @dev Gets the token symbol.
     * @return string representing the token symbol
     */
    function symbol() public view override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the URI for a given token ID. May return an empty string.
     *
     * If a base URI is set (via {_setBaseURI}), it is added as a prefix to the
     * token's own URI (via {_setTokenURI}).
     *
     * If there is a base URI but no token URI, the token's ID will be used as
     * its URI when appending it to the base URI. This pattern for autogenerated
     * token URIs can lead to large gas savings.
     *
     * .Examples
     * |===
     * |`_setBaseURI()` |`_setTokenURI()` |`tokenURI()`
     * | ""
     * | ""
     * | ""
     * | ""
     * | "token.uri/123"
     * | "token.uri/123"
     * | "token.uri/"
     * | "123"
     * | "token.uri/123"
     * | "token.uri/"
     * | ""
     * | "token.uri/<tokenId>"
     * |===
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory _tokenURI = _tokenURIs[tokenId];

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

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

    /**
     * @dev Gets the token ID at a given index of the tokens list of the requested owner.
     * @param owner address owning the tokens list to be accessed
     * @param index uint256 representing the index to be accessed of the requested tokens list
     * @return uint256 token ID at the given index of the tokens list owned by the requested address
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
        return _holderTokens[owner].at(index);
    }

    /**
     * @dev Gets the total amount of tokens stored by the contract.
     * @return uint256 representing the total amount of tokens
     */
    function totalSupply() public view override returns (uint256) {
        // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds
        return _tokenOwners.length();
    }

    /**
     * @dev Gets the token ID at a given index of all the tokens in this contract
     * Reverts if the index is greater or equal to the total number of tokens.
     * @param index uint256 representing the index to be accessed of the tokens list
     * @return uint256 token ID at the given index of the tokens list
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        (uint256 tokenId, ) = _tokenOwners.at(index);
        return tokenId;
    }

    /**
     * @dev Approves another address to transfer the given token ID
     * The zero address indicates there is no approved address.
     * There can only be one approved address per token at a given time.
     * Can only be called by the token owner or an approved operator.
     * @param to address to be approved for the given token ID
     * @param tokenId uint256 ID of the token to be approved
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

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

        _approve(to, tokenId);
    }

    /**
     * @dev Gets the approved address for a token ID, or zero if no address set
     * Reverts if the token ID does not exist.
     * @param tokenId uint256 ID of the token to query the approval of
     * @return address currently approved for the given token ID
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev Sets or unsets the approval of a given operator
     * An operator is allowed to transfer all tokens of the sender on their behalf.
     * @param operator operator address to set the approval
     * @param approved representing the status of the approval to be set
     */
    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 Tells whether an operator is approved by a given owner.
     * @param owner owner address which you want to query the approval of
     * @param operator operator address which you want to query the approval of
     * @return bool whether the given operator is approved by the given owner
     */
    function isApprovedForAll(address owner, address operator) public view override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev Transfers the ownership of a given token ID to another address.
     * Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     * Requires the msg.sender to be the owner, approved, or operator.
     * @param from current owner of the token
     * @param to address to receive the ownership of the given token ID
     * @param tokenId uint256 ID of the token to be transferred
     */
    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 Safely transfers the ownership of a given token ID to another address
     * If the target address is a contract, it must implement {IERC721Receiver-onERC721Received},
     * which is called upon a safe transfer, and return the magic value
     * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise,
     * the transfer is reverted.
     * Requires the msg.sender to be the owner, approved, or operator
     * @param from current owner of the token
     * @param to address to receive the ownership of the given token ID
     * @param tokenId uint256 ID of the token to be transferred
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev Safely transfers the ownership of a given token ID to another address
     * If the target address is a contract, it must implement {IERC721Receiver-onERC721Received},
     * which is called upon a safe transfer, and return the magic value
     * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise,
     * the transfer is reverted.
     * Requires the _msgSender() to be the owner, approved, or operator
     * @param from current owner of the token
     * @param to address to receive the ownership of the given token ID
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes data to send along with a safe transfer check
     */
    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 the ownership of a given token ID to another address
     * If the target address is a contract, it must implement `onERC721Received`,
     * which is called upon a safe transfer, and return the magic value
     * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise,
     * the transfer is reverted.
     * Requires the msg.sender to be the owner, approved, or operator
     * @param from current owner of the token
     * @param to address to receive the ownership of the given token ID
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes data to send along with a safe transfer check
     */
    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 the specified token exists.
     * @param tokenId uint256 ID of the token to query the existence of
     * @return bool whether the token exists
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return _tokenOwners.contains(tokenId);
    }

    /**
     * @dev Returns whether the given spender can transfer a given token ID.
     * @param spender address of the spender to query
     * @param tokenId uint256 ID of the token to be transferred
     * @return bool whether the msg.sender is approved for the given token ID,
     * is an operator of the owner, or is the owner of the token
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Internal function to safely mint a new token.
     * Reverts if the given token ID already exists.
     * If the target address is a contract, it must implement `onERC721Received`,
     * which is called upon a safe transfer, and return the magic value
     * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise,
     * the transfer is reverted.
     * @param to The address that will own the minted token
     * @param tokenId uint256 ID of the token to be minted
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Internal function to safely mint a new token.
     * Reverts if the given token ID already exists.
     * If the target address is a contract, it must implement `onERC721Received`,
     * which is called upon a safe transfer, and return the magic value
     * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise,
     * the transfer is reverted.
     * @param to The address that will own the minted token
     * @param tokenId uint256 ID of the token to be minted
     * @param _data bytes data to send along with a safe transfer check
     */
    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 Internal function to mint a new token.
     * Reverts if the given token ID already exists.
     * @param to The address that will own the minted token
     * @param tokenId uint256 ID of the token to be minted
     */
    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 Internal function to burn a specific token.
     * Reverts if the token does not exist.
     * @param tokenId uint256 ID of the token being burned
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ownerOf(tokenId);

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

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

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

        _holderTokens[owner].remove(tokenId);

        _tokenOwners.remove(tokenId);

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

    /**
     * @dev Internal function to transfer ownership of a given token ID to another address.
     * As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     * @param from current owner of the token
     * @param to address to receive the ownership of the given token ID
     * @param tokenId uint256 ID of the token to be transferred
     */
    function _transfer(address from, address to, uint256 tokenId) internal virtual {
        require(ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

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

        _tokenOwners.set(tokenId, to);

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Internal function to set the token URI for a given token.
     *
     * Reverts if the token ID does not exist.
     *
     * TIP: If all token IDs share a prefix (for example, if your URIs look like
     * `https://api.myproject.com/token/<id>`), use {_setBaseURI} to store
     * it and save gas.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

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

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

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

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

// File: deSocialNFT.sol

//owen.eth
contract deSocialBetaBuddy is ERC721("Beta Buddies by de.Social", "BETA BUDDY"), HasSecondarySaleFees{

	address public owner;
	uint256 public limit = 8888;
	uint256 public price = 75000000000000000; // 0.075 eth
	uint256 public dropTime;

	mapping(uint256 => bool) public redeemed;
	mapping(address => bool) public betaUser;

	constructor(uint256 _time) public {
		require(_time > block.timestamp);
		dropTime = _time;
		owner = msg.sender;
		_setBaseURI("https://nft.de.social/token/");

		for(uint i = 0; i < 50; i++) {
			_mint(owner, totalSupply() + 1);
		}
	}

	function mint(uint256 _amount) public payable {
		require(block.timestamp >= dropTime, "Drop not yet available!");
		require( 1 <= _amount && _amount <= 10, "1-10 tx limit");
		require(msg.value == _amount * price, "Invalid payable");
		require((totalSupply() + _amount) <= limit, "Sold out!");

		for (uint i = 0; i < _amount; i++) {
			_mint(msg.sender, totalSupply() + 1);
		}
	}

	function register(uint256 _token, address _user) public {
		require(redeemed[_token] != true);
		require(ownerOf(_token) == msg.sender);
		require(betaUser[_user] != true);

		betaUser[_user] = true;
		redeemed[_token] = true;
	}

	function collect() public {
		require(msg.sender == owner);
		payable(owner).transfer(address(this).balance);
	}

	function updateTeamAddress(address payable newTeamAddress) public {
		require(msg.sender == owner);
        teamAddress = newTeamAddress;
    }

    function updateSecondaryFee(uint256 newSecondaryBps) public {
		require(msg.sender == owner);
        teamSecondaryBps = newSecondaryBps;
    }

	function updateURI(string memory newURI) public {
		require(msg.sender == owner);
		_setBaseURI(newURI);
	}

	function changeOwner(address _newOwner) public {
		require(msg.sender == owner);
		owner = _newOwner;
	}




}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_time","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"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":[{"internalType":"address","name":"","type":"address"}],"name":"betaUser","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"changeOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"collect","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dropTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getFeeBps","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getFeeRecipients","outputs":[{"internalType":"address payable[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"redeemed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_token","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"register","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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSecondaryBps","type":"uint256"}],"name":"updateSecondaryFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newTeamAddress","type":"address"}],"name":"updateTeamAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"updateURI","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526122b8600d5567010a741a46278000600e553480156200002357600080fd5b506040516200286a3803806200286a833981016040819052620000469162000564565b604080518082018252601981527f4265746120427564646965732062792064652e536f6369616c000000000000006020808301919091528251808401909352600a8352694245544120425544445960b01b9083015290620000ae6301ffc9a760e01b620001ca565b8151620000c3906006906020850190620004c8565b508051620000d9906007906020840190620004c8565b50620000ec6380ac58cd60e01b620001ca565b620000fe635b5e139f60e01b620001ca565b6200011063780e9d6360e01b620001ca565b50620001259050632dde656160e21b620001ca565b4281116200013257600080fd5b600f819055600c80546001600160a01b0319163317905560408051808201909152601c81527f68747470733a2f2f6e66742e64652e736f6369616c2f746f6b656e2f000000006020820152620001889062000225565b60005b6032811015620001c257600c54620001b9906001600160a01b0316620001b06200023e565b6001016200025c565b6001016200018b565b505062000620565b6001600160e01b03198082161415620002005760405162461bcd60e51b8152600401620001f7906200057d565b60405180910390fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b80516200023a906009906020840190620004c8565b5050565b60006200025760026200034a60201b62000f2b1760201c565b905090565b6001600160a01b038216620002855760405162461bcd60e51b8152600401620001f790620005eb565b62000290816200035d565b15620002b05760405162461bcd60e51b8152600401620001f790620005b4565b620002be600083836200037a565b6001600160a01b0382166000908152600160209081526040909120620002ef91839062000f366200037f821b17901c565b506200030d818360026200039460201b62000f42179092919060201c565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006200035782620003b4565b92915050565b600062000357826002620003b860201b62000f621790919060201c565b505050565b60006200038d8383620003c6565b9392505050565b6000620003ac84846001600160a01b03851662000415565b949350505050565b5490565b60006200038d8383620004b0565b6000620003d48383620004b0565b6200040c5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000357565b50600062000357565b6000828152600184016020526040812054806200047c5750506040805180820182528381526020808201848152865460018181018955600089815284812095516002909302909501918255915190820155865486845281880190925292909120556200038d565b828560000160018303815481106200049057fe5b90600052602060002090600202016001018190555060009150506200038d565b60009081526001919091016020526040902054151590565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200050b57805160ff19168380011785556200053b565b828001600101855582156200053b579182015b828111156200053b5782518255916020019190600101906200051e565b50620005499291506200054d565b5090565b5b808211156200054957600081556001016200054e565b60006020828403121562000576578081fd5b5051919050565b6020808252601c908201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604082015260600190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b61223a80620006306000396000f3fe6080604052600436106101e35760003560e01c8063894ca53511610102578063b88d4fde11610095578063dbbdf08311610064578063dbbdf08314610567578063e3e0c4f814610587578063e52253811461059c578063e985e9c5146105b1576101e3565b8063b88d4fde146104da578063b9c4d9fb146104fa578063c30f4a5a14610527578063c87b56dd14610547576101e3565b8063a0712d68116100d1578063a0712d6814610472578063a22cb46514610485578063a4d66daf146104a5578063a6f9dae1146104ba576101e3565b8063894ca535146104135780638da5cb5b1461043357806395d89b4114610448578063a035b1fe1461045d576101e3565b806323b872dd1161017a5780636352211e116101495780636352211e1461039e5780636c0360eb146103be57806370a08231146103d35780637ed0f1c1146103f3576101e3565b806323b872dd1461031e5780632f745c591461033e57806342842e0e1461035e5780634f6ccce71461037e576101e3565b80630ebd4c7f116101b65780630ebd4c7f1461028f57806314eb76ac146102bc57806318160ddd146102dc5780631d2d8aa5146102fe576101e3565b806301ffc9a7146101e857806306fdde031461021e578063081812fc14610240578063095ea7b31461026d575b600080fd5b3480156101f457600080fd5b50610208610203366004611a47565b6105d1565b6040516102159190611c8d565b60405180910390f35b34801561022a57600080fd5b506102336105f4565b6040516102159190611c98565b34801561024c57600080fd5b5061026061025b366004611ab2565b61068a565b6040516102159190611bb7565b34801561027957600080fd5b5061028d610288366004611a1c565b6106d6565b005b34801561029b57600080fd5b506102af6102aa366004611ab2565b61076e565b6040516102159190611c55565b3480156102c857600080fd5b5061028d6102d73660046118ed565b6107b4565b3480156102e857600080fd5b506102f16107ed565b604051610215919061217b565b34801561030a57600080fd5b506102086103193660046118ed565b6107fe565b34801561032a57600080fd5b5061028d610339366004611941565b610813565b34801561034a57600080fd5b506102f1610359366004611a1c565b61084b565b34801561036a57600080fd5b5061028d610379366004611941565b610876565b34801561038a57600080fd5b506102f1610399366004611ab2565b610891565b3480156103aa57600080fd5b506102606103b9366004611ab2565b6108a7565b3480156103ca57600080fd5b506102336108cf565b3480156103df57600080fd5b506102f16103ee3660046118ed565b610930565b3480156103ff57600080fd5b5061020861040e366004611ab2565b610979565b34801561041f57600080fd5b5061028d61042e366004611ab2565b61098e565b34801561043f57600080fd5b506102606109aa565b34801561045457600080fd5b506102336109b9565b34801561046957600080fd5b506102f1610a1a565b61028d610480366004611ab2565b610a20565b34801561049157600080fd5b5061028d6104a03660046119eb565b610ae9565b3480156104b157600080fd5b506102f1610bb7565b3480156104c657600080fd5b5061028d6104d53660046118ed565b610bbd565b3480156104e657600080fd5b5061028d6104f5366004611981565b610bf6565b34801561050657600080fd5b5061051a610515366004611ab2565b610c35565b6040516102159190611c08565b34801561053357600080fd5b5061028d610542366004611a7f565b610c93565b34801561055357600080fd5b50610233610562366004611ab2565b610cb6565b34801561057357600080fd5b5061028d610582366004611aca565b610e00565b34801561059357600080fd5b506102f1610ea7565b3480156105a857600080fd5b5061028d610ead565b3480156105bd57600080fd5b506102086105cc366004611909565b610efd565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106805780601f1061065557610100808354040283529160200191610680565b820191906000526020600020905b81548152906001019060200180831161066357829003601f168201915b5050505050905090565b600061069582610f6e565b6106ba5760405162461bcd60e51b81526004016106b190611f92565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006106e1826108a7565b9050806001600160a01b0316836001600160a01b031614156107155760405162461bcd60e51b81526004016106b190612076565b806001600160a01b0316610727610f7b565b6001600160a01b031614806107435750610743816105cc610f7b565b61075f5760405162461bcd60e51b81526004016106b190611e3d565b6107698383610f7f565b505050565b60408051600180825281830190925260609182919060208083019080368337019050509050600b54816000815181106107a357fe5b602090810291909101015292915050565b600c546001600160a01b031633146107cb57600080fd5b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b60006107f96002610f2b565b905090565b60116020526000908152604090205460ff1681565b61082461081e610f7b565b82610fed565b6108405760405162461bcd60e51b81526004016106b1906120b7565b610769838383611072565b6001600160a01b038216600090815260016020526040812061086d9083611180565b90505b92915050565b61076983838360405180602001604052806000815250610bf6565b60008061089f60028461118c565b509392505050565b6000610870826040518060600160405280602981526020016121dc60299139600291906111a8565b60098054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106805780601f1061065557610100808354040283529160200191610680565b60006001600160a01b0382166109585760405162461bcd60e51b81526004016106b190611e9a565b6001600160a01b038216600090815260016020526040902061087090610f2b565b60106020526000908152604090205460ff1681565b600c546001600160a01b031633146109a557600080fd5b600b55565b600c546001600160a01b031681565b60078054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106805780601f1061065557610100808354040283529160200191610680565b600e5481565b600f54421015610a425760405162461bcd60e51b81526004016106b190611ee4565b80600111158015610a545750600a8111155b610a705760405162461bcd60e51b81526004016106b190612108565b600e5481023414610a935760405162461bcd60e51b81526004016106b19061212f565b600d5481610a9f6107ed565b011115610abe5760405162461bcd60e51b81526004016106b190612158565b60005b81811015610ae557610add33610ad56107ed565b6001016111b5565b600101610ac1565b5050565b610af1610f7b565b6001600160a01b0316826001600160a01b03161415610b225760405162461bcd60e51b81526004016106b190611dba565b8060056000610b2f610f7b565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610b73610f7b565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610bab9190611c8d565b60405180910390a35050565b600d5481565b600c546001600160a01b03163314610bd457600080fd5b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b610c07610c01610f7b565b83610fed565b610c235760405162461bcd60e51b81526004016106b1906120b7565b610c2f84848484611279565b50505050565b604080516001808252818301909252606091829190602080830190803683375050600a5482519293506001600160a01b031691839150600090610c7457fe5b6001600160a01b03909216602092830291909101909101529050919050565b600c546001600160a01b03163314610caa57600080fd5b610cb3816112ac565b50565b6060610cc182610f6e565b610cdd5760405162461bcd60e51b81526004016106b190612027565b60008281526008602090815260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845260609392830182828015610d725780601f10610d4757610100808354040283529160200191610d72565b820191906000526020600020905b815481529060010190602001808311610d5557829003601f168201915b505060095493945050505060026000196101006001841615020190911604610d9b5790506105ef565b805115610dcd57600981604051602001610db6929190611b36565b6040516020818303038152906040529150506105ef565b6009610dd8846112bf565b604051602001610de9929190611b36565b604051602081830303815290604052915050919050565b60008281526010602052604090205460ff16151560011415610e2157600080fd5b33610e2b836108a7565b6001600160a01b031614610e3e57600080fd5b6001600160a01b03811660009081526011602052604090205460ff16151560011415610e6957600080fd5b6001600160a01b031660009081526011602090815260408083208054600160ff19918216811790925594845260109092529091208054909216179055565b600f5481565b600c546001600160a01b03163314610ec457600080fd5b600c546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610cb3573d6000803e3d6000fd5b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006108708261139a565b600061086d838361139e565b6000610f5884846001600160a01b0385166113e8565b90505b9392505050565b600061086d838361147f565b6000610870600283610f62565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610fb4826108a7565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610ff882610f6e565b6110145760405162461bcd60e51b81526004016106b190611df1565b600061101f836108a7565b9050806001600160a01b0316846001600160a01b0316148061105a5750836001600160a01b031661104f8461068a565b6001600160a01b0316145b8061106a575061106a8185610efd565b949350505050565b826001600160a01b0316611085826108a7565b6001600160a01b0316146110ab5760405162461bcd60e51b81526004016106b190611fde565b6001600160a01b0382166110d15760405162461bcd60e51b81526004016106b190611d76565b6110dc838383610769565b6110e7600082610f7f565b6001600160a01b03831660009081526001602052604090206111099082611497565b506001600160a01b038216600090815260016020526040902061112c9082610f36565b5061113960028284610f42565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061086d83836114a3565b600080808061119b86866114e8565b9097909650945050505050565b6000610f58848484611544565b6001600160a01b0382166111db5760405162461bcd60e51b81526004016106b190611f5d565b6111e481610f6e565b156112015760405162461bcd60e51b81526004016106b190611d3f565b61120d60008383610769565b6001600160a01b038216600090815260016020526040902061122f9082610f36565b5061123c60028284610f42565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b611284848484611072565b611290848484846115a3565b610c2f5760405162461bcd60e51b81526004016106b190611ced565b8051610ae59060099060208401906117dc565b6060816112e457506040805180820190915260018152600360fc1b60208201526105ef565b8160005b81156112fc57600101600a820491506112e8565b60608167ffffffffffffffff8111801561131557600080fd5b506040519080825280601f01601f191660200182016040528015611340576020820181803683370190505b50859350905060001982015b831561139157600a840660300160f81b8282806001900393508151811061136f57fe5b60200101906001600160f81b031916908160001a905350600a8404935061134c565b50949350505050565b5490565b60006113aa838361147f565b6113e057508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610870565b506000610870565b60008281526001840160205260408120548061144d575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055610f5b565b8285600001600183038154811061146057fe5b9060005260206000209060020201600101819055506000915050610f5b565b60009081526001919091016020526040902054151590565b600061086d83836116dd565b815460009082106114c65760405162461bcd60e51b81526004016106b190611cab565b8260000182815481106114d557fe5b9060005260206000200154905092915050565b81546000908190831061150d5760405162461bcd60e51b81526004016106b190611f1b565b600084600001848154811061151e57fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816115745760405162461bcd60e51b81526004016106b19190611c98565b5084600001600182038154811061158757fe5b9060005260206000209060020201600101549150509392505050565b60006115b7846001600160a01b03166117a3565b6115c35750600161106a565b600060606001600160a01b038616630a85bd0160e11b6115e1610f7b565b8988886040516024016115f79493929190611bcb565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b03199094169390931790925290516116359190611b1a565b6000604051808303816000865af19150503d8060008114611672576040519150601f19603f3d011682016040523d82523d6000602084013e611677565b606091505b5091509150816116a9578051156116915780518082602001fd5b60405162461bcd60e51b81526004016106b190611ced565b6000818060200190518101906116bf9190611a63565b6001600160e01b031916630a85bd0160e11b14935061106a92505050565b60008181526001830160205260408120548015611799578354600019808301919081019060009087908390811061171057fe5b906000526020600020015490508087600001848154811061172d57fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061175d57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610870565b6000915050610870565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061106a575050151592915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061181d57805160ff191683800117855561184a565b8280016001018555821561184a579182015b8281111561184a57825182559160200191906001019061182f565b5061185692915061185a565b5090565b5b80821115611856576000815560010161185b565b600082601f83011261187f578081fd5b813567ffffffffffffffff80821115611896578283fd5b604051601f8301601f1916810160200182811182821017156118b6578485fd5b6040528281529250828483016020018610156118d157600080fd5b8260208601602083013760006020848301015250505092915050565b6000602082840312156118fe578081fd5b8135610f5b816121b0565b6000806040838503121561191b578081fd5b8235611926816121b0565b91506020830135611936816121b0565b809150509250929050565b600080600060608486031215611955578081fd5b8335611960816121b0565b92506020840135611970816121b0565b929592945050506040919091013590565b60008060008060808587031215611996578081fd5b84356119a1816121b0565b935060208501356119b1816121b0565b925060408501359150606085013567ffffffffffffffff8111156119d3578182fd5b6119df8782880161186f565b91505092959194509250565b600080604083850312156119fd578182fd5b8235611a08816121b0565b915060208301358015158114611936578182fd5b60008060408385031215611a2e578182fd5b8235611a39816121b0565b946020939093013593505050565b600060208284031215611a58578081fd5b8135610f5b816121c5565b600060208284031215611a74578081fd5b8151610f5b816121c5565b600060208284031215611a90578081fd5b813567ffffffffffffffff811115611aa6578182fd5b61106a8482850161186f565b600060208284031215611ac3578081fd5b5035919050565b60008060408385031215611adc578182fd5b823591506020830135611936816121b0565b60008151808452611b06816020860160208601612184565b601f01601f19169290920160200192915050565b60008251611b2c818460208701612184565b9190910192915050565b6000808454600180821660008114611b555760018114611b6c57611b9b565b60ff198316865260028304607f1686019350611b9b565b600283048886526020808720875b83811015611b935781548a820152908501908201611b7a565b505050860193505b5050508351611bae818360208801612184565b01949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611bfe90830184611aee565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611c495783516001600160a01b031683529284019291840191600101611c24565b50909695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611c4957835183529284019291840191600101611c71565b901515815260200190565b60006020825261086d6020830184611aee565b60208082526022908201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526017908201527f44726f70206e6f742079657420617661696c61626c6521000000000000000000604082015260600190565b60208082526022908201527f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252600d908201526c0c4b4c4c081d1e081b1a5b5a5d609a1b604082015260600190565b6020808252600f908201526e496e76616c69642070617961626c6560881b604082015260600190565b602080825260099082015268536f6c64206f75742160b81b604082015260600190565b90815260200190565b60005b8381101561219f578181015183820152602001612187565b83811115610c2f5750506000910152565b6001600160a01b0381168114610cb357600080fd5b6001600160e01b031981168114610cb357600080fdfe4552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea26469706673582212205fbf006089393c43de2968f51acbd8600012d59328b1943c9cbc9bcfb3a70f9264736f6c634300060c00330000000000000000000000000000000000000000000000000000000061452c00

Deployed Bytecode

0x6080604052600436106101e35760003560e01c8063894ca53511610102578063b88d4fde11610095578063dbbdf08311610064578063dbbdf08314610567578063e3e0c4f814610587578063e52253811461059c578063e985e9c5146105b1576101e3565b8063b88d4fde146104da578063b9c4d9fb146104fa578063c30f4a5a14610527578063c87b56dd14610547576101e3565b8063a0712d68116100d1578063a0712d6814610472578063a22cb46514610485578063a4d66daf146104a5578063a6f9dae1146104ba576101e3565b8063894ca535146104135780638da5cb5b1461043357806395d89b4114610448578063a035b1fe1461045d576101e3565b806323b872dd1161017a5780636352211e116101495780636352211e1461039e5780636c0360eb146103be57806370a08231146103d35780637ed0f1c1146103f3576101e3565b806323b872dd1461031e5780632f745c591461033e57806342842e0e1461035e5780634f6ccce71461037e576101e3565b80630ebd4c7f116101b65780630ebd4c7f1461028f57806314eb76ac146102bc57806318160ddd146102dc5780631d2d8aa5146102fe576101e3565b806301ffc9a7146101e857806306fdde031461021e578063081812fc14610240578063095ea7b31461026d575b600080fd5b3480156101f457600080fd5b50610208610203366004611a47565b6105d1565b6040516102159190611c8d565b60405180910390f35b34801561022a57600080fd5b506102336105f4565b6040516102159190611c98565b34801561024c57600080fd5b5061026061025b366004611ab2565b61068a565b6040516102159190611bb7565b34801561027957600080fd5b5061028d610288366004611a1c565b6106d6565b005b34801561029b57600080fd5b506102af6102aa366004611ab2565b61076e565b6040516102159190611c55565b3480156102c857600080fd5b5061028d6102d73660046118ed565b6107b4565b3480156102e857600080fd5b506102f16107ed565b604051610215919061217b565b34801561030a57600080fd5b506102086103193660046118ed565b6107fe565b34801561032a57600080fd5b5061028d610339366004611941565b610813565b34801561034a57600080fd5b506102f1610359366004611a1c565b61084b565b34801561036a57600080fd5b5061028d610379366004611941565b610876565b34801561038a57600080fd5b506102f1610399366004611ab2565b610891565b3480156103aa57600080fd5b506102606103b9366004611ab2565b6108a7565b3480156103ca57600080fd5b506102336108cf565b3480156103df57600080fd5b506102f16103ee3660046118ed565b610930565b3480156103ff57600080fd5b5061020861040e366004611ab2565b610979565b34801561041f57600080fd5b5061028d61042e366004611ab2565b61098e565b34801561043f57600080fd5b506102606109aa565b34801561045457600080fd5b506102336109b9565b34801561046957600080fd5b506102f1610a1a565b61028d610480366004611ab2565b610a20565b34801561049157600080fd5b5061028d6104a03660046119eb565b610ae9565b3480156104b157600080fd5b506102f1610bb7565b3480156104c657600080fd5b5061028d6104d53660046118ed565b610bbd565b3480156104e657600080fd5b5061028d6104f5366004611981565b610bf6565b34801561050657600080fd5b5061051a610515366004611ab2565b610c35565b6040516102159190611c08565b34801561053357600080fd5b5061028d610542366004611a7f565b610c93565b34801561055357600080fd5b50610233610562366004611ab2565b610cb6565b34801561057357600080fd5b5061028d610582366004611aca565b610e00565b34801561059357600080fd5b506102f1610ea7565b3480156105a857600080fd5b5061028d610ead565b3480156105bd57600080fd5b506102086105cc366004611909565b610efd565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106805780601f1061065557610100808354040283529160200191610680565b820191906000526020600020905b81548152906001019060200180831161066357829003601f168201915b5050505050905090565b600061069582610f6e565b6106ba5760405162461bcd60e51b81526004016106b190611f92565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006106e1826108a7565b9050806001600160a01b0316836001600160a01b031614156107155760405162461bcd60e51b81526004016106b190612076565b806001600160a01b0316610727610f7b565b6001600160a01b031614806107435750610743816105cc610f7b565b61075f5760405162461bcd60e51b81526004016106b190611e3d565b6107698383610f7f565b505050565b60408051600180825281830190925260609182919060208083019080368337019050509050600b54816000815181106107a357fe5b602090810291909101015292915050565b600c546001600160a01b031633146107cb57600080fd5b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b60006107f96002610f2b565b905090565b60116020526000908152604090205460ff1681565b61082461081e610f7b565b82610fed565b6108405760405162461bcd60e51b81526004016106b1906120b7565b610769838383611072565b6001600160a01b038216600090815260016020526040812061086d9083611180565b90505b92915050565b61076983838360405180602001604052806000815250610bf6565b60008061089f60028461118c565b509392505050565b6000610870826040518060600160405280602981526020016121dc60299139600291906111a8565b60098054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106805780601f1061065557610100808354040283529160200191610680565b60006001600160a01b0382166109585760405162461bcd60e51b81526004016106b190611e9a565b6001600160a01b038216600090815260016020526040902061087090610f2b565b60106020526000908152604090205460ff1681565b600c546001600160a01b031633146109a557600080fd5b600b55565b600c546001600160a01b031681565b60078054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106805780601f1061065557610100808354040283529160200191610680565b600e5481565b600f54421015610a425760405162461bcd60e51b81526004016106b190611ee4565b80600111158015610a545750600a8111155b610a705760405162461bcd60e51b81526004016106b190612108565b600e5481023414610a935760405162461bcd60e51b81526004016106b19061212f565b600d5481610a9f6107ed565b011115610abe5760405162461bcd60e51b81526004016106b190612158565b60005b81811015610ae557610add33610ad56107ed565b6001016111b5565b600101610ac1565b5050565b610af1610f7b565b6001600160a01b0316826001600160a01b03161415610b225760405162461bcd60e51b81526004016106b190611dba565b8060056000610b2f610f7b565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610b73610f7b565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610bab9190611c8d565b60405180910390a35050565b600d5481565b600c546001600160a01b03163314610bd457600080fd5b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b610c07610c01610f7b565b83610fed565b610c235760405162461bcd60e51b81526004016106b1906120b7565b610c2f84848484611279565b50505050565b604080516001808252818301909252606091829190602080830190803683375050600a5482519293506001600160a01b031691839150600090610c7457fe5b6001600160a01b03909216602092830291909101909101529050919050565b600c546001600160a01b03163314610caa57600080fd5b610cb3816112ac565b50565b6060610cc182610f6e565b610cdd5760405162461bcd60e51b81526004016106b190612027565b60008281526008602090815260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845260609392830182828015610d725780601f10610d4757610100808354040283529160200191610d72565b820191906000526020600020905b815481529060010190602001808311610d5557829003601f168201915b505060095493945050505060026000196101006001841615020190911604610d9b5790506105ef565b805115610dcd57600981604051602001610db6929190611b36565b6040516020818303038152906040529150506105ef565b6009610dd8846112bf565b604051602001610de9929190611b36565b604051602081830303815290604052915050919050565b60008281526010602052604090205460ff16151560011415610e2157600080fd5b33610e2b836108a7565b6001600160a01b031614610e3e57600080fd5b6001600160a01b03811660009081526011602052604090205460ff16151560011415610e6957600080fd5b6001600160a01b031660009081526011602090815260408083208054600160ff19918216811790925594845260109092529091208054909216179055565b600f5481565b600c546001600160a01b03163314610ec457600080fd5b600c546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610cb3573d6000803e3d6000fd5b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006108708261139a565b600061086d838361139e565b6000610f5884846001600160a01b0385166113e8565b90505b9392505050565b600061086d838361147f565b6000610870600283610f62565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610fb4826108a7565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610ff882610f6e565b6110145760405162461bcd60e51b81526004016106b190611df1565b600061101f836108a7565b9050806001600160a01b0316846001600160a01b0316148061105a5750836001600160a01b031661104f8461068a565b6001600160a01b0316145b8061106a575061106a8185610efd565b949350505050565b826001600160a01b0316611085826108a7565b6001600160a01b0316146110ab5760405162461bcd60e51b81526004016106b190611fde565b6001600160a01b0382166110d15760405162461bcd60e51b81526004016106b190611d76565b6110dc838383610769565b6110e7600082610f7f565b6001600160a01b03831660009081526001602052604090206111099082611497565b506001600160a01b038216600090815260016020526040902061112c9082610f36565b5061113960028284610f42565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061086d83836114a3565b600080808061119b86866114e8565b9097909650945050505050565b6000610f58848484611544565b6001600160a01b0382166111db5760405162461bcd60e51b81526004016106b190611f5d565b6111e481610f6e565b156112015760405162461bcd60e51b81526004016106b190611d3f565b61120d60008383610769565b6001600160a01b038216600090815260016020526040902061122f9082610f36565b5061123c60028284610f42565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b611284848484611072565b611290848484846115a3565b610c2f5760405162461bcd60e51b81526004016106b190611ced565b8051610ae59060099060208401906117dc565b6060816112e457506040805180820190915260018152600360fc1b60208201526105ef565b8160005b81156112fc57600101600a820491506112e8565b60608167ffffffffffffffff8111801561131557600080fd5b506040519080825280601f01601f191660200182016040528015611340576020820181803683370190505b50859350905060001982015b831561139157600a840660300160f81b8282806001900393508151811061136f57fe5b60200101906001600160f81b031916908160001a905350600a8404935061134c565b50949350505050565b5490565b60006113aa838361147f565b6113e057508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610870565b506000610870565b60008281526001840160205260408120548061144d575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055610f5b565b8285600001600183038154811061146057fe5b9060005260206000209060020201600101819055506000915050610f5b565b60009081526001919091016020526040902054151590565b600061086d83836116dd565b815460009082106114c65760405162461bcd60e51b81526004016106b190611cab565b8260000182815481106114d557fe5b9060005260206000200154905092915050565b81546000908190831061150d5760405162461bcd60e51b81526004016106b190611f1b565b600084600001848154811061151e57fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816115745760405162461bcd60e51b81526004016106b19190611c98565b5084600001600182038154811061158757fe5b9060005260206000209060020201600101549150509392505050565b60006115b7846001600160a01b03166117a3565b6115c35750600161106a565b600060606001600160a01b038616630a85bd0160e11b6115e1610f7b565b8988886040516024016115f79493929190611bcb565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b03199094169390931790925290516116359190611b1a565b6000604051808303816000865af19150503d8060008114611672576040519150601f19603f3d011682016040523d82523d6000602084013e611677565b606091505b5091509150816116a9578051156116915780518082602001fd5b60405162461bcd60e51b81526004016106b190611ced565b6000818060200190518101906116bf9190611a63565b6001600160e01b031916630a85bd0160e11b14935061106a92505050565b60008181526001830160205260408120548015611799578354600019808301919081019060009087908390811061171057fe5b906000526020600020015490508087600001848154811061172d57fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061175d57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610870565b6000915050610870565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061106a575050151592915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061181d57805160ff191683800117855561184a565b8280016001018555821561184a579182015b8281111561184a57825182559160200191906001019061182f565b5061185692915061185a565b5090565b5b80821115611856576000815560010161185b565b600082601f83011261187f578081fd5b813567ffffffffffffffff80821115611896578283fd5b604051601f8301601f1916810160200182811182821017156118b6578485fd5b6040528281529250828483016020018610156118d157600080fd5b8260208601602083013760006020848301015250505092915050565b6000602082840312156118fe578081fd5b8135610f5b816121b0565b6000806040838503121561191b578081fd5b8235611926816121b0565b91506020830135611936816121b0565b809150509250929050565b600080600060608486031215611955578081fd5b8335611960816121b0565b92506020840135611970816121b0565b929592945050506040919091013590565b60008060008060808587031215611996578081fd5b84356119a1816121b0565b935060208501356119b1816121b0565b925060408501359150606085013567ffffffffffffffff8111156119d3578182fd5b6119df8782880161186f565b91505092959194509250565b600080604083850312156119fd578182fd5b8235611a08816121b0565b915060208301358015158114611936578182fd5b60008060408385031215611a2e578182fd5b8235611a39816121b0565b946020939093013593505050565b600060208284031215611a58578081fd5b8135610f5b816121c5565b600060208284031215611a74578081fd5b8151610f5b816121c5565b600060208284031215611a90578081fd5b813567ffffffffffffffff811115611aa6578182fd5b61106a8482850161186f565b600060208284031215611ac3578081fd5b5035919050565b60008060408385031215611adc578182fd5b823591506020830135611936816121b0565b60008151808452611b06816020860160208601612184565b601f01601f19169290920160200192915050565b60008251611b2c818460208701612184565b9190910192915050565b6000808454600180821660008114611b555760018114611b6c57611b9b565b60ff198316865260028304607f1686019350611b9b565b600283048886526020808720875b83811015611b935781548a820152908501908201611b7a565b505050860193505b5050508351611bae818360208801612184565b01949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611bfe90830184611aee565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611c495783516001600160a01b031683529284019291840191600101611c24565b50909695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611c4957835183529284019291840191600101611c71565b901515815260200190565b60006020825261086d6020830184611aee565b60208082526022908201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526017908201527f44726f70206e6f742079657420617661696c61626c6521000000000000000000604082015260600190565b60208082526022908201527f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252600d908201526c0c4b4c4c081d1e081b1a5b5a5d609a1b604082015260600190565b6020808252600f908201526e496e76616c69642070617961626c6560881b604082015260600190565b602080825260099082015268536f6c64206f75742160b81b604082015260600190565b90815260200190565b60005b8381101561219f578181015183820152602001612187565b83811115610c2f5750506000910152565b6001600160a01b0381168114610cb357600080fd5b6001600160e01b031981168114610cb357600080fdfe4552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea26469706673582212205fbf006089393c43de2968f51acbd8600012d59328b1943c9cbc9bcfb3a70f9264736f6c634300060c0033

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

0000000000000000000000000000000000000000000000000000000061452c00

-----Decoded View---------------
Arg [0] : _time (uint256): 1631923200

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000061452c00


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.