ETH Price: $3,119.92 (+1.60%)
Gas: 5 Gwei

Token

FooDogs (FOO)
 

Overview

Max Total Supply

2,564 FOO

Holders

980

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
mysticnft.eth
Balance
1 FOO
0x2f7288f375edf1d2215b3f2ffcd8bc2ec499aed4
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:
FooDogs

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 8 of 16: FooDogs.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.7;

import "./ERC721.sol";
import "./Ownable.sol";
import "./Address.sol";
import "./SafeMath.sol";
import "./Counters.sol";

contract FooDogs is ERC721, Ownable {
    using SafeMath for uint256;
    using Counters for Counters.Counter;
    using Address for address;
    
    Counters.Counter private _tokenIdCounter;
    
    address public immutable buddhaContract = 0x657F49b422f98B3092F27add6210831BF2e56622;

    mapping (uint256 => string) private _tokenURIs;
    mapping(address => uint256) public totalMinted;
    mapping(address => uint256) public _totalRedeemed;
    mapping(address => uint256) public _ffaRedeemd;
    mapping(address => uint256) public _whiteList;

    string private _baseURIextended;
    
    uint256 public constant maxTokenSupply = 8888;
    uint256 public constant maxFFARedeem = 5;
    
    bool public reservedMint = false;
    bool public freeForAll = false;
    
    constructor() ERC721("FooDogs", "FOO") {
    }
  	
  	function populateWhiteList(address[] memory _addys, uint256[] memory _amount) external onlyOwner {
  	    require(_addys.length == _amount.length, "INCORRECT STRUCTURE PROVIDED");
  	    
  	    for(uint256 i = 0; i < _addys.length; i++) {
  	        _whiteList[_addys[i]] = _whiteList[_addys[i]].add(_amount[i]);
  	    }
  	    return;
  	}
  	
    function totalSupply() external view returns (uint256) {
        return _tokenIdCounter.current();
    }
    
    function setReservedMint(bool _trueOrFalse) external onlyOwner {
        reservedMint = _trueOrFalse;
    }
    
    function setFreeForAll(bool _trueOrFalse) external onlyOwner {
        freeForAll = _trueOrFalse;
    }
  	
  	function setBaseURI(string memory baseURI_) external onlyOwner() {
        _baseURIextended = baseURI_;
    }
    
    function reservedRedemption() public {
        uint256 owned = getOwned(msg.sender);
        uint256 whiteList = viewWhiteList(msg.sender);
        uint256 eligible = owned.sub(_totalRedeemed[msg.sender]);
        require(owned != 0 && eligible != 0 || whiteList != 0, "ATTEMPTED TO MINT MORE THAN ALLOTED");
        require(_tokenIdCounter.current().add(eligible) <= maxTokenSupply, "ATTEMPTED TO MINT PAST MAX SUPPLY");
        require(reservedMint == true, "RESERVED MINT INACTIVE");
        
        if(eligible != 0) {
            for(uint256 i = 0; i < eligible; i++) {
                _totalRedeemed[msg.sender] = _totalRedeemed[msg.sender].add(1);
                _safeMint(msg.sender, _tokenIdCounter.current().add(1));
                _tokenIdCounter.increment();
            }
        } else if(whiteList != 0) {
            for(uint256 i = 0; i < whiteList; i++) {
                _whiteList[msg.sender] = _whiteList[msg.sender].sub(1);
                _safeMint(msg.sender, _tokenIdCounter.current().add(1));
                _tokenIdCounter.increment();
            }
        }
        return;
    }
    
    function freeForAllRedemption(uint256 _numberOfMints) public {
        require(_tokenIdCounter.current().add(_numberOfMints) <= maxTokenSupply, "ATTEMPTED TO MINT PAST MAX SUPPLY");
        require(_ffaRedeemd[msg.sender].add(_numberOfMints) <= maxFFARedeem, "ATTEMPTED TO MINT MORE THAN ALLOTED");
        require(freeForAll == true, "FREE FOR ALL INACTIVE");

        for(uint256 i = 0; i < _numberOfMints; i++) {
            _ffaRedeemd[msg.sender] = _ffaRedeemd[msg.sender].add(1);
            _safeMint(msg.sender, _tokenIdCounter.current().add(1));
            _tokenIdCounter.increment(); 
        }
        return;
    }
    
    function viewWhiteList(address _address) public view returns(uint256) {
  	    return _whiteList[_address];
  	}
    
    function getOwned(address _owner) public view returns(uint256) {
  	    return IERC721(buddhaContract).balanceOf(_owner);
  	}
    
    function _baseURI() internal view virtual override returns (string memory) {
        return _baseURIextended;
    }
    
}

File 1 of 16: Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 2 of 16: Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 3 of 16: Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 4 of 16: EnumerableMap.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./EnumerableSet.sol";

/**
 * @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 {
    using EnumerableSet for EnumerableSet.Bytes32Set;

    // 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 Map {
        // Storage of keys
        EnumerableSet.Bytes32Set _keys;
        mapping(bytes32 => bytes32) _values;
    }

    /**
     * @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) {
        map._values[key] = value;
        return map._keys.add(key);
    }

    /**
     * @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) {
        delete map._values[key];
        return map._keys.remove(key);
    }

    /**
     * @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._keys.contains(key);
    }

    /**
     * @dev Returns the number of key-value pairs in the map. O(1).
     */
    function _length(Map storage map) private view returns (uint256) {
        return map._keys.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) {
        bytes32 key = map._keys.at(index);
        return (key, map._values[key]);
    }

    /**
     * @dev Tries to returns the value associated with `key`.  O(1).
     * Does not revert if `key` is not in the map.
     */
    function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {
        bytes32 value = map._values[key];
        if (value == bytes32(0)) {
            return (_contains(map, key), bytes32(0));
        } else {
            return (true, 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) {
        bytes32 value = map._values[key];
        require(value != 0 || _contains(map, key), "EnumerableMap: nonexistent key");
        return value;
    }

    /**
     * @dev Same as {_get}, with a custom error message when `key` is not in the map.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {_tryGet}.
     */
    function _get(
        Map storage map,
        bytes32 key,
        string memory errorMessage
    ) private view returns (bytes32) {
        bytes32 value = map._values[key];
        require(value != 0 || _contains(map, key), errorMessage);
        return value;
    }

    // UintToAddressMap

    struct UintToAddressMap {
        Map _inner;
    }

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

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

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

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

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

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

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

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

File 5 of 16: EnumerableSet.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

            if (lastIndex != toDeleteIndex) {
                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] = valueIndex; // Replace lastvalue's index to valueIndex
            }

            // 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) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

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

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

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

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

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

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        return _values(set._inner);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

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

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

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

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

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

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

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

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

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

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

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

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        assembly {
            result := store
        }

        return result;
    }
}

File 6 of 16: ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 7 of 16: ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./IERC721Metadata.sol";
import "./Address.sol";
import "./Context.sol";
import "./Strings.sol";
import "./ERC165.sol";

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` 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 9 of 16: IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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


File 10 of 16: IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

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

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

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

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

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

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

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

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

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

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

File 11 of 16: IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

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

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

File 12 of 16: IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";

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

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

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

File 13 of 16: IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 14 of 16: Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./Context.sol";

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_msgSender());
    }

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

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

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

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

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 15 of 16: SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

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

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

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

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

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

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

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

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

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

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 16 of 16: Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_ffaRedeemd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_totalRedeemed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_whiteList","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buddhaContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numberOfMints","type":"uint256"}],"name":"freeForAllRedemption","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"getOwned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"maxFFARedeem","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokenSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addys","type":"address[]"},{"internalType":"uint256[]","name":"_amount","type":"uint256[]"}],"name":"populateWhiteList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reservedRedemption","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_trueOrFalse","type":"bool"}],"name":"setFreeForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_trueOrFalse","type":"bool"}],"name":"setReservedMint","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":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"viewWhiteList","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60a06040527f657f49b422f98b3092f27add6210831bf2e56622000000000000000000000000608052600e805461ffff191690553480156200004057600080fd5b506040805180820182526007815266466f6f446f677360c81b602080830191825283518085019094526003845262464f4f60e81b9084015281519192916200008b916000916200011a565b508051620000a19060019060208401906200011a565b505050620000be620000b8620000c460201b60201c565b620000c8565b620001fd565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200012890620001c0565b90600052602060002090601f0160209004810192826200014c576000855562000197565b82601f106200016757805160ff191683800117855562000197565b8280016001018555821562000197579182015b82811115620001975782518255916020019190600101906200017a565b50620001a5929150620001a9565b5090565b5b80821115620001a55760008155600101620001aa565b600181811c90821680620001d557607f821691505b60208210811415620001f757634e487b7160e01b600052602260045260246000fd5b50919050565b60805160601c6120fb620002236000396000818161049b0152610cd501526120fb6000f3fe608060405234801561001057600080fd5b50600436106102055760003560e01c80636352211e1161011a57806395d89b41116100ad578063e017d8b61161007c578063e017d8b61461045a578063e1af8a4114610483578063e5a9c17214610496578063e985e9c5146104bd578063f2fde38b146104f957600080fd5b806395d89b4114610419578063a22cb46514610421578063b88d4fde14610434578063c87b56dd1461044757600080fd5b806379ceb9a4116100e957806379ceb9a4146103cf5780637c688597146103e25780637ec2af1e146103f55780638da5cb5b1461040857600080fd5b80636352211e146103945780636e04b2b0146103a757806370a08231146103b4578063715018a6146103c757600080fd5b806326355f131161019d57806342842e0e1161016c57806342842e0e1461034b5780634401bbfd1461035e5780634ebfd6e81461036657806350f7c2041461037857806355f804b31461038157600080fd5b806326355f13146102f0578063362b839614610310578063363332a1146103185780633d29268c1461032b57600080fd5b8063081812fc116101d9578063081812fc14610295578063095ea7b3146102c057806318160ddd146102d557806323b872dd146102dd57600080fd5b80623d47901461020a57806301ffc9a71461023d57806305d60ffb1461026057806306fdde0314610280575b600080fd5b61022a610218366004611a31565b60096020526000908152604090205481565b6040519081526020015b60405180910390f35b61025061024b366004611c6d565b61050c565b6040519015158152602001610234565b61022a61026e366004611a31565b600c6020526000908152604090205481565b61028861055e565b6040516102349190611dba565b6102a86102a3366004611cf0565b6105f0565b6040516001600160a01b039091168152602001610234565b6102d36102ce366004611b61565b61068a565b005b61022a6107a0565b6102d36102eb366004611a7f565b6107b0565b61022a6102fe366004611a31565b600a6020526000908152604090205481565b61022a600581565b6102d3610326366004611c52565b6107e1565b61022a610339366004611a31565b600b6020526000908152604090205481565b6102d3610359366004611a7f565b61081e565b6102d3610839565b600e5461025090610100900460ff1681565b61022a6122b881565b6102d361038f366004611ca7565b610a15565b6102a86103a2366004611cf0565b610a56565b600e546102509060ff1681565b61022a6103c2366004611a31565b610acd565b6102d3610b54565b6102d36103dd366004611cf0565b610b8a565b61022a6103f0366004611a31565b610cb3565b6102d3610403366004611b8b565b610d51565b6006546001600160a01b03166102a8565b610288610e97565b6102d361042f366004611b37565b610ea6565b6102d3610442366004611abb565b610f6b565b610288610455366004611cf0565b610f9d565b61022a610468366004611a31565b6001600160a01b03166000908152600c602052604090205490565b6102d3610491366004611c52565b611078565b6102a87f000000000000000000000000000000000000000000000000000000000000000081565b6102506104cb366004611a4c565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6102d3610507366004611a31565b6110bc565b60006001600160e01b031982166380ac58cd60e01b148061053d57506001600160e01b03198216635b5e139f60e01b145b8061055857506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461056d90611fed565b80601f016020809104026020016040519081016040528092919081815260200182805461059990611fed565b80156105e65780601f106105bb576101008083540402835291602001916105e6565b820191906000526020600020905b8154815290600101906020018083116105c957829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661066e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061069582610a56565b9050806001600160a01b0316836001600160a01b031614156107035760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610665565b336001600160a01b038216148061071f575061071f81336104cb565b6107915760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610665565b61079b8383611157565b505050565b60006107ab60075490565b905090565b6107ba33826111c5565b6107d65760405162461bcd60e51b815260040161066590611e97565b61079b8383836112bc565b6006546001600160a01b0316331461080b5760405162461bcd60e51b815260040161066590611e62565b600e805460ff1916911515919091179055565b61079b83838360405180602001604052806000815250610f6b565b600061084433610cb3565b336000908152600c6020908152604080832054600a9092528220549293509161086e90849061145c565b9050821580159061087e57508015155b8061088857508115155b6108a45760405162461bcd60e51b815260040161066590611e1f565b6122b86108ba826108b460075490565b90611468565b11156108d85760405162461bcd60e51b815260040161066590611ee8565b600e5460ff1615156001146109285760405162461bcd60e51b81526020600482015260166024820152755245534552564544204d494e5420494e41435449564560501b6044820152606401610665565b80156109a45760005b8181101561099e57336000908152600a6020526040902054610954906001611468565b336000818152600a602052604090209190915561097e9061097960016108b460075490565b611474565b61098c600780546001019055565b8061099681612028565b915050610931565b50505050565b811561079b5760005b8281101561099e57336000908152600c60205260409020546109d090600161145c565b336000818152600c60205260409020919091556109f59061097960016108b460075490565b610a03600780546001019055565b80610a0d81612028565b9150506109ad565b6006546001600160a01b03163314610a3f5760405162461bcd60e51b815260040161066590611e62565b8051610a5290600d9060208401906118a2565b5050565b6000818152600260205260408120546001600160a01b0316806105585760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610665565b60006001600160a01b038216610b385760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610665565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610b7e5760405162461bcd60e51b815260040161066590611e62565b610b88600061148e565b565b6122b8610b9a826108b460075490565b1115610bb85760405162461bcd60e51b815260040161066590611ee8565b336000908152600b6020526040902054600590610bd59083611468565b1115610bf35760405162461bcd60e51b815260040161066590611e1f565b600e5460ff610100909104161515600114610c485760405162461bcd60e51b81526020600482015260156024820152744652454520464f5220414c4c20494e41435449564560581b6044820152606401610665565b60005b81811015610a5257336000908152600b6020526040902054610c6e906001611468565b336000818152600b6020526040902091909155610c939061097960016108b460075490565b610ca1600780546001019055565b80610cab81612028565b915050610c4b565b6040516370a0823160e01b81526001600160a01b0382811660048301526000917f0000000000000000000000000000000000000000000000000000000000000000909116906370a082319060240160206040518083038186803b158015610d1957600080fd5b505afa158015610d2d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105589190611d09565b6006546001600160a01b03163314610d7b5760405162461bcd60e51b815260040161066590611e62565b8051825114610dcc5760405162461bcd60e51b815260206004820152601c60248201527f494e434f5252454354205354525543545552452050524f5649444544000000006044820152606401610665565b60005b825181101561079b57610e42828281518110610ded57610ded612083565b6020026020010151600c6000868581518110610e0b57610e0b612083565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000205461146890919063ffffffff16565b600c6000858481518110610e5857610e58612083565b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020819055508080610e8f90612028565b915050610dcf565b60606001805461056d90611fed565b6001600160a01b038216331415610eff5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610665565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f7533836111c5565b610f915760405162461bcd60e51b815260040161066590611e97565b61099e848484846114e0565b6000818152600260205260409020546060906001600160a01b031661101c5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610665565b6000611026611513565b905060008151116110465760405180602001604052806000815250611071565b8061105084611522565b604051602001611061929190611d4e565b6040516020818303038152906040525b9392505050565b6006546001600160a01b031633146110a25760405162461bcd60e51b815260040161066590611e62565b600e80549115156101000261ff0019909216919091179055565b6006546001600160a01b031633146110e65760405162461bcd60e51b815260040161066590611e62565b6001600160a01b03811661114b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610665565b6111548161148e565b50565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061118c82610a56565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661123e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610665565b600061124983610a56565b9050806001600160a01b0316846001600160a01b031614806112845750836001600160a01b0316611279846105f0565b6001600160a01b0316145b806112b457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166112cf82610a56565b6001600160a01b0316146113375760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610665565b6001600160a01b0382166113995760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610665565b6113a4600082611157565b6001600160a01b03831660009081526003602052604081208054600192906113cd908490611faa565b90915550506001600160a01b03821660009081526003602052604081208054600192906113fb908490611f7e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006110718284611faa565b60006110718284611f7e565b610a52828260405180602001604052806000815250611620565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6114eb8484846112bc565b6114f784848484611653565b61099e5760405162461bcd60e51b815260040161066590611dcd565b6060600d805461056d90611fed565b6060816115465750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611570578061155a81612028565b91506115699050600a83611f96565b915061154a565b60008167ffffffffffffffff81111561158b5761158b612099565b6040519080825280601f01601f1916602001820160405280156115b5576020820181803683370190505b5090505b84156112b4576115ca600183611faa565b91506115d7600a86612043565b6115e2906030611f7e565b60f81b8183815181106115f7576115f7612083565b60200101906001600160f81b031916908160001a905350611619600a86611f96565b94506115b9565b61162a8383611760565b6116376000848484611653565b61079b5760405162461bcd60e51b815260040161066590611dcd565b60006001600160a01b0384163b1561175557604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611697903390899088908890600401611d7d565b602060405180830381600087803b1580156116b157600080fd5b505af19250505080156116e1575060408051601f3d908101601f191682019092526116de91810190611c8a565b60015b61173b573d80801561170f576040519150601f19603f3d011682016040523d82523d6000602084013e611714565b606091505b5080516117335760405162461bcd60e51b815260040161066590611dcd565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506112b4565b506001949350505050565b6001600160a01b0382166117b65760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610665565b6000818152600260205260409020546001600160a01b03161561181b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610665565b6001600160a01b0382166000908152600360205260408120805460019290611844908490611f7e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546118ae90611fed565b90600052602060002090601f0160209004810192826118d05760008555611916565b82601f106118e957805160ff1916838001178555611916565b82800160010185558215611916579182015b828111156119165782518255916020019190600101906118fb565b50611922929150611926565b5090565b5b808211156119225760008155600101611927565b600067ffffffffffffffff83111561195557611955612099565b611968601f8401601f1916602001611f29565b905082815283838301111561197c57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146119aa57600080fd5b919050565b600082601f8301126119c057600080fd5b813560206119d56119d083611f5a565b611f29565b80838252828201915082860187848660051b89010111156119f557600080fd5b60005b85811015611a14578135845292840192908401906001016119f8565b5090979650505050505050565b803580151581146119aa57600080fd5b600060208284031215611a4357600080fd5b61107182611993565b60008060408385031215611a5f57600080fd5b611a6883611993565b9150611a7660208401611993565b90509250929050565b600080600060608486031215611a9457600080fd5b611a9d84611993565b9250611aab60208501611993565b9150604084013590509250925092565b60008060008060808587031215611ad157600080fd5b611ada85611993565b9350611ae860208601611993565b925060408501359150606085013567ffffffffffffffff811115611b0b57600080fd5b8501601f81018713611b1c57600080fd5b611b2b8782356020840161193b565b91505092959194509250565b60008060408385031215611b4a57600080fd5b611b5383611993565b9150611a7660208401611a21565b60008060408385031215611b7457600080fd5b611b7d83611993565b946020939093013593505050565b60008060408385031215611b9e57600080fd5b823567ffffffffffffffff80821115611bb657600080fd5b818501915085601f830112611bca57600080fd5b81356020611bda6119d083611f5a565b8083825282820191508286018a848660051b8901011115611bfa57600080fd5b600096505b84871015611c2457611c1081611993565b835260019690960195918301918301611bff565b5096505086013592505080821115611c3b57600080fd5b50611c48858286016119af565b9150509250929050565b600060208284031215611c6457600080fd5b61107182611a21565b600060208284031215611c7f57600080fd5b8135611071816120af565b600060208284031215611c9c57600080fd5b8151611071816120af565b600060208284031215611cb957600080fd5b813567ffffffffffffffff811115611cd057600080fd5b8201601f81018413611ce157600080fd5b6112b48482356020840161193b565b600060208284031215611d0257600080fd5b5035919050565b600060208284031215611d1b57600080fd5b5051919050565b60008151808452611d3a816020860160208601611fc1565b601f01601f19169290920160200192915050565b60008351611d60818460208801611fc1565b835190830190611d74818360208801611fc1565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611db090830184611d22565b9695505050505050565b6020815260006110716020830184611d22565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526023908201527f415454454d5054454420544f204d494e54204d4f5245205448414e20414c4c4f60408201526215115160ea1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60208082526021908201527f415454454d5054454420544f204d494e542050415354204d415820535550504c6040820152605960f81b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715611f5257611f52612099565b604052919050565b600067ffffffffffffffff821115611f7457611f74612099565b5060051b60200190565b60008219821115611f9157611f91612057565b500190565b600082611fa557611fa561206d565b500490565b600082821015611fbc57611fbc612057565b500390565b60005b83811015611fdc578181015183820152602001611fc4565b8381111561099e5750506000910152565b600181811c9082168061200157607f821691505b6020821081141561202257634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561203c5761203c612057565b5060010190565b6000826120525761205261206d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461115457600080fdfea26469706673582212204b35c6a43ae1048dd798946804ee95f70df485e2009f9b5773c584e47de06b4864736f6c63430008070033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102055760003560e01c80636352211e1161011a57806395d89b41116100ad578063e017d8b61161007c578063e017d8b61461045a578063e1af8a4114610483578063e5a9c17214610496578063e985e9c5146104bd578063f2fde38b146104f957600080fd5b806395d89b4114610419578063a22cb46514610421578063b88d4fde14610434578063c87b56dd1461044757600080fd5b806379ceb9a4116100e957806379ceb9a4146103cf5780637c688597146103e25780637ec2af1e146103f55780638da5cb5b1461040857600080fd5b80636352211e146103945780636e04b2b0146103a757806370a08231146103b4578063715018a6146103c757600080fd5b806326355f131161019d57806342842e0e1161016c57806342842e0e1461034b5780634401bbfd1461035e5780634ebfd6e81461036657806350f7c2041461037857806355f804b31461038157600080fd5b806326355f13146102f0578063362b839614610310578063363332a1146103185780633d29268c1461032b57600080fd5b8063081812fc116101d9578063081812fc14610295578063095ea7b3146102c057806318160ddd146102d557806323b872dd146102dd57600080fd5b80623d47901461020a57806301ffc9a71461023d57806305d60ffb1461026057806306fdde0314610280575b600080fd5b61022a610218366004611a31565b60096020526000908152604090205481565b6040519081526020015b60405180910390f35b61025061024b366004611c6d565b61050c565b6040519015158152602001610234565b61022a61026e366004611a31565b600c6020526000908152604090205481565b61028861055e565b6040516102349190611dba565b6102a86102a3366004611cf0565b6105f0565b6040516001600160a01b039091168152602001610234565b6102d36102ce366004611b61565b61068a565b005b61022a6107a0565b6102d36102eb366004611a7f565b6107b0565b61022a6102fe366004611a31565b600a6020526000908152604090205481565b61022a600581565b6102d3610326366004611c52565b6107e1565b61022a610339366004611a31565b600b6020526000908152604090205481565b6102d3610359366004611a7f565b61081e565b6102d3610839565b600e5461025090610100900460ff1681565b61022a6122b881565b6102d361038f366004611ca7565b610a15565b6102a86103a2366004611cf0565b610a56565b600e546102509060ff1681565b61022a6103c2366004611a31565b610acd565b6102d3610b54565b6102d36103dd366004611cf0565b610b8a565b61022a6103f0366004611a31565b610cb3565b6102d3610403366004611b8b565b610d51565b6006546001600160a01b03166102a8565b610288610e97565b6102d361042f366004611b37565b610ea6565b6102d3610442366004611abb565b610f6b565b610288610455366004611cf0565b610f9d565b61022a610468366004611a31565b6001600160a01b03166000908152600c602052604090205490565b6102d3610491366004611c52565b611078565b6102a87f000000000000000000000000657f49b422f98b3092f27add6210831bf2e5662281565b6102506104cb366004611a4c565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6102d3610507366004611a31565b6110bc565b60006001600160e01b031982166380ac58cd60e01b148061053d57506001600160e01b03198216635b5e139f60e01b145b8061055857506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461056d90611fed565b80601f016020809104026020016040519081016040528092919081815260200182805461059990611fed565b80156105e65780601f106105bb576101008083540402835291602001916105e6565b820191906000526020600020905b8154815290600101906020018083116105c957829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661066e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061069582610a56565b9050806001600160a01b0316836001600160a01b031614156107035760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610665565b336001600160a01b038216148061071f575061071f81336104cb565b6107915760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610665565b61079b8383611157565b505050565b60006107ab60075490565b905090565b6107ba33826111c5565b6107d65760405162461bcd60e51b815260040161066590611e97565b61079b8383836112bc565b6006546001600160a01b0316331461080b5760405162461bcd60e51b815260040161066590611e62565b600e805460ff1916911515919091179055565b61079b83838360405180602001604052806000815250610f6b565b600061084433610cb3565b336000908152600c6020908152604080832054600a9092528220549293509161086e90849061145c565b9050821580159061087e57508015155b8061088857508115155b6108a45760405162461bcd60e51b815260040161066590611e1f565b6122b86108ba826108b460075490565b90611468565b11156108d85760405162461bcd60e51b815260040161066590611ee8565b600e5460ff1615156001146109285760405162461bcd60e51b81526020600482015260166024820152755245534552564544204d494e5420494e41435449564560501b6044820152606401610665565b80156109a45760005b8181101561099e57336000908152600a6020526040902054610954906001611468565b336000818152600a602052604090209190915561097e9061097960016108b460075490565b611474565b61098c600780546001019055565b8061099681612028565b915050610931565b50505050565b811561079b5760005b8281101561099e57336000908152600c60205260409020546109d090600161145c565b336000818152600c60205260409020919091556109f59061097960016108b460075490565b610a03600780546001019055565b80610a0d81612028565b9150506109ad565b6006546001600160a01b03163314610a3f5760405162461bcd60e51b815260040161066590611e62565b8051610a5290600d9060208401906118a2565b5050565b6000818152600260205260408120546001600160a01b0316806105585760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610665565b60006001600160a01b038216610b385760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610665565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610b7e5760405162461bcd60e51b815260040161066590611e62565b610b88600061148e565b565b6122b8610b9a826108b460075490565b1115610bb85760405162461bcd60e51b815260040161066590611ee8565b336000908152600b6020526040902054600590610bd59083611468565b1115610bf35760405162461bcd60e51b815260040161066590611e1f565b600e5460ff610100909104161515600114610c485760405162461bcd60e51b81526020600482015260156024820152744652454520464f5220414c4c20494e41435449564560581b6044820152606401610665565b60005b81811015610a5257336000908152600b6020526040902054610c6e906001611468565b336000818152600b6020526040902091909155610c939061097960016108b460075490565b610ca1600780546001019055565b80610cab81612028565b915050610c4b565b6040516370a0823160e01b81526001600160a01b0382811660048301526000917f000000000000000000000000657f49b422f98b3092f27add6210831bf2e56622909116906370a082319060240160206040518083038186803b158015610d1957600080fd5b505afa158015610d2d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105589190611d09565b6006546001600160a01b03163314610d7b5760405162461bcd60e51b815260040161066590611e62565b8051825114610dcc5760405162461bcd60e51b815260206004820152601c60248201527f494e434f5252454354205354525543545552452050524f5649444544000000006044820152606401610665565b60005b825181101561079b57610e42828281518110610ded57610ded612083565b6020026020010151600c6000868581518110610e0b57610e0b612083565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000205461146890919063ffffffff16565b600c6000858481518110610e5857610e58612083565b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020819055508080610e8f90612028565b915050610dcf565b60606001805461056d90611fed565b6001600160a01b038216331415610eff5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610665565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f7533836111c5565b610f915760405162461bcd60e51b815260040161066590611e97565b61099e848484846114e0565b6000818152600260205260409020546060906001600160a01b031661101c5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610665565b6000611026611513565b905060008151116110465760405180602001604052806000815250611071565b8061105084611522565b604051602001611061929190611d4e565b6040516020818303038152906040525b9392505050565b6006546001600160a01b031633146110a25760405162461bcd60e51b815260040161066590611e62565b600e80549115156101000261ff0019909216919091179055565b6006546001600160a01b031633146110e65760405162461bcd60e51b815260040161066590611e62565b6001600160a01b03811661114b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610665565b6111548161148e565b50565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061118c82610a56565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661123e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610665565b600061124983610a56565b9050806001600160a01b0316846001600160a01b031614806112845750836001600160a01b0316611279846105f0565b6001600160a01b0316145b806112b457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166112cf82610a56565b6001600160a01b0316146113375760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610665565b6001600160a01b0382166113995760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610665565b6113a4600082611157565b6001600160a01b03831660009081526003602052604081208054600192906113cd908490611faa565b90915550506001600160a01b03821660009081526003602052604081208054600192906113fb908490611f7e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006110718284611faa565b60006110718284611f7e565b610a52828260405180602001604052806000815250611620565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6114eb8484846112bc565b6114f784848484611653565b61099e5760405162461bcd60e51b815260040161066590611dcd565b6060600d805461056d90611fed565b6060816115465750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611570578061155a81612028565b91506115699050600a83611f96565b915061154a565b60008167ffffffffffffffff81111561158b5761158b612099565b6040519080825280601f01601f1916602001820160405280156115b5576020820181803683370190505b5090505b84156112b4576115ca600183611faa565b91506115d7600a86612043565b6115e2906030611f7e565b60f81b8183815181106115f7576115f7612083565b60200101906001600160f81b031916908160001a905350611619600a86611f96565b94506115b9565b61162a8383611760565b6116376000848484611653565b61079b5760405162461bcd60e51b815260040161066590611dcd565b60006001600160a01b0384163b1561175557604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611697903390899088908890600401611d7d565b602060405180830381600087803b1580156116b157600080fd5b505af19250505080156116e1575060408051601f3d908101601f191682019092526116de91810190611c8a565b60015b61173b573d80801561170f576040519150601f19603f3d011682016040523d82523d6000602084013e611714565b606091505b5080516117335760405162461bcd60e51b815260040161066590611dcd565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506112b4565b506001949350505050565b6001600160a01b0382166117b65760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610665565b6000818152600260205260409020546001600160a01b03161561181b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610665565b6001600160a01b0382166000908152600360205260408120805460019290611844908490611f7e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546118ae90611fed565b90600052602060002090601f0160209004810192826118d05760008555611916565b82601f106118e957805160ff1916838001178555611916565b82800160010185558215611916579182015b828111156119165782518255916020019190600101906118fb565b50611922929150611926565b5090565b5b808211156119225760008155600101611927565b600067ffffffffffffffff83111561195557611955612099565b611968601f8401601f1916602001611f29565b905082815283838301111561197c57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146119aa57600080fd5b919050565b600082601f8301126119c057600080fd5b813560206119d56119d083611f5a565b611f29565b80838252828201915082860187848660051b89010111156119f557600080fd5b60005b85811015611a14578135845292840192908401906001016119f8565b5090979650505050505050565b803580151581146119aa57600080fd5b600060208284031215611a4357600080fd5b61107182611993565b60008060408385031215611a5f57600080fd5b611a6883611993565b9150611a7660208401611993565b90509250929050565b600080600060608486031215611a9457600080fd5b611a9d84611993565b9250611aab60208501611993565b9150604084013590509250925092565b60008060008060808587031215611ad157600080fd5b611ada85611993565b9350611ae860208601611993565b925060408501359150606085013567ffffffffffffffff811115611b0b57600080fd5b8501601f81018713611b1c57600080fd5b611b2b8782356020840161193b565b91505092959194509250565b60008060408385031215611b4a57600080fd5b611b5383611993565b9150611a7660208401611a21565b60008060408385031215611b7457600080fd5b611b7d83611993565b946020939093013593505050565b60008060408385031215611b9e57600080fd5b823567ffffffffffffffff80821115611bb657600080fd5b818501915085601f830112611bca57600080fd5b81356020611bda6119d083611f5a565b8083825282820191508286018a848660051b8901011115611bfa57600080fd5b600096505b84871015611c2457611c1081611993565b835260019690960195918301918301611bff565b5096505086013592505080821115611c3b57600080fd5b50611c48858286016119af565b9150509250929050565b600060208284031215611c6457600080fd5b61107182611a21565b600060208284031215611c7f57600080fd5b8135611071816120af565b600060208284031215611c9c57600080fd5b8151611071816120af565b600060208284031215611cb957600080fd5b813567ffffffffffffffff811115611cd057600080fd5b8201601f81018413611ce157600080fd5b6112b48482356020840161193b565b600060208284031215611d0257600080fd5b5035919050565b600060208284031215611d1b57600080fd5b5051919050565b60008151808452611d3a816020860160208601611fc1565b601f01601f19169290920160200192915050565b60008351611d60818460208801611fc1565b835190830190611d74818360208801611fc1565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611db090830184611d22565b9695505050505050565b6020815260006110716020830184611d22565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526023908201527f415454454d5054454420544f204d494e54204d4f5245205448414e20414c4c4f60408201526215115160ea1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60208082526021908201527f415454454d5054454420544f204d494e542050415354204d415820535550504c6040820152605960f81b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715611f5257611f52612099565b604052919050565b600067ffffffffffffffff821115611f7457611f74612099565b5060051b60200190565b60008219821115611f9157611f91612057565b500190565b600082611fa557611fa561206d565b500490565b600082821015611fbc57611fbc612057565b500390565b60005b83811015611fdc578181015183820152602001611fc4565b8381111561099e5750506000910152565b600181811c9082168061200157607f821691505b6020821081141561202257634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561203c5761203c612057565b5060010190565b6000826120525761205261206d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461115457600080fdfea26469706673582212204b35c6a43ae1048dd798946804ee95f70df485e2009f9b5773c584e47de06b4864736f6c63430008070033

Deployed Bytecode Sourcemap

179:3785:7:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;524:46;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;16350:25:16;;;16338:2;16323:18;524:46:7;;;;;;;;1431:300:4;;;;;;:::i;:::-;;:::i;:::-;;;7707:14:16;;7700:22;7682:41;;7670:2;7655:18;1431:300:4;7542:187:16;683:45:7;;;;;;:::i;:::-;;;;;;;;;;;;;;2349:98:4;;;:::i;:::-;;;;;;;:::i;3860:217::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7005:32:16;;;6987:51;;6975:2;6960:18;3860:217:4;6841:203:16;3398:401:4;;;;;;:::i;:::-;;:::i;:::-;;1363:104:7;;;:::i;4724:330:4:-;;;;;;:::i;:::-;;:::i;576:49:7:-;;;;;;:::i;:::-;;;;;;;;;;;;;;828:40;;867:1;828:40;;1477:107;;;;;;:::i;:::-;;:::i;631:46::-;;;;;;:::i;:::-;;;;;;;;;;;;;;5120:179:4;;;;;;:::i;:::-;;:::i;1824:1112:7:-;;;:::i;917:30::-;;;;;;;;;;;;777:45;;818:4;777:45;;1705:109;;;;;;:::i;:::-;;:::i;2052:235:4:-;;;;;;:::i;:::-;;:::i;879:32:7:-;;;;;;;;;1790:205:4;;;;;;:::i;:::-;;:::i;1598:92:13:-;;;:::i;2946:628:7:-;;;;;;:::i;:::-;;:::i;3706:126::-;;;;;;:::i;:::-;;:::i;1012:342::-;;;;;;:::i;:::-;;:::i;966:85:13:-;1038:6;;-1:-1:-1;;;;;1038:6:13;966:85;;2511:102:4;;;:::i;4144:290::-;;;;;;:::i;:::-;;:::i;5365:320::-;;;;;;:::i;:::-;;:::i;2679:329::-;;;;;;:::i;:::-;;:::i;3584:112:7:-;;;;;;:::i;:::-;-1:-1:-1;;;;;3670:20:7;3645:7;3670:20;;;:10;:20;;;;;;;3584:112;1594:103;;;;;;:::i;:::-;;:::i;381:84::-;;;;;4500:162:4;;;;;;:::i;:::-;-1:-1:-1;;;;;4620:25:4;;;4597:4;4620:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4500:162;1839:189:13;;;;;;:::i;:::-;;:::i;1431:300:4:-;1533:4;-1:-1:-1;;;;;;1568:40:4;;-1:-1:-1;;;1568:40:4;;:104;;-1:-1:-1;;;;;;;1624:48:4;;-1:-1:-1;;;1624:48:4;1568:104;:156;;;-1:-1:-1;;;;;;;;;;871:40:3;;;1688:36:4;1549:175;1431:300;-1:-1:-1;;1431:300:4:o;2349:98::-;2403:13;2435:5;2428:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2349:98;:::o;3860:217::-;3936:7;7245:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7245:16:4;3955:73;;;;-1:-1:-1;;;3955:73:4;;12479:2:16;3955:73:4;;;12461:21:16;12518:2;12498:18;;;12491:30;12557:34;12537:18;;;12530:62;-1:-1:-1;;;12608:18:16;;;12601:42;12660:19;;3955:73:4;;;;;;;;;-1:-1:-1;4046:24:4;;;;:15;:24;;;;;;-1:-1:-1;;;;;4046:24:4;;3860:217::o;3398:401::-;3478:13;3494:23;3509:7;3494:14;:23::i;:::-;3478:39;;3541:5;-1:-1:-1;;;;;3535:11:4;:2;-1:-1:-1;;;;;3535:11:4;;;3527:57;;;;-1:-1:-1;;;3527:57:4;;14483:2:16;3527:57:4;;;14465:21:16;14522:2;14502:18;;;14495:30;14561:34;14541:18;;;14534:62;-1:-1:-1;;;14612:18:16;;;14605:31;14653:19;;3527:57:4;14281:397:16;3527:57:4;666:10:1;-1:-1:-1;;;;;3616:21:4;;;;:62;;-1:-1:-1;3641:37:4;3658:5;666:10:1;4500:162:4;:::i;3641:37::-;3595:165;;;;-1:-1:-1;;;3595:165:4;;10872:2:16;3595:165:4;;;10854:21:16;10911:2;10891:18;;;10884:30;10950:34;10930:18;;;10923:62;11021:26;11001:18;;;10994:54;11065:19;;3595:165:4;10670:420:16;3595:165:4;3771:21;3780:2;3784:7;3771:8;:21::i;:::-;3468:331;3398:401;;:::o;1363:104:7:-;1409:7;1435:25;:15;864:14:2;;773:112;1435:25:7;1428:32;;1363:104;:::o;4724:330:4:-;4913:41;666:10:1;4946:7:4;4913:18;:41::i;:::-;4905:103;;;;-1:-1:-1;;;4905:103:4;;;;;;;:::i;:::-;5019:28;5029:4;5035:2;5039:7;5019:9;:28::i;1477:107:7:-;1038:6:13;;-1:-1:-1;;;;;1038:6:13;666:10:1;1178:23:13;1170:68;;;;-1:-1:-1;;;1170:68:13;;;;;;;:::i;:::-;1550:12:7::1;:27:::0;;-1:-1:-1;;1550:27:7::1;::::0;::::1;;::::0;;;::::1;::::0;;1477:107::o;5120:179:4:-;5253:39;5270:4;5276:2;5280:7;5253:39;;;;;;;;;;;;:16;:39::i;1824:1112:7:-;1871:13;1887:20;1896:10;1887:8;:20::i;:::-;1951:10;1917:17;3670:20;;;:10;:20;;;;;;;;;2001:14;:26;;;;;;1871:36;;-1:-1:-1;3670:20:7;1991:37;;1871:36;;1991:9;:37::i;:::-;1972:56;-1:-1:-1;2046:10:7;;;;;:27;;-1:-1:-1;2060:13:7;;;2046:27;:45;;;-1:-1:-1;2077:14:7;;;2046:45;2038:93;;;;-1:-1:-1;;;2038:93:7;;;;;;;:::i;:::-;818:4;2149:39;2179:8;2149:25;:15;864:14:2;;773:112;2149:25:7;:29;;:39::i;:::-;:57;;2141:103;;;;-1:-1:-1;;;2141:103:7;;;;;;;:::i;:::-;2262:12;;;;:20;;:12;:20;2254:55;;;;-1:-1:-1;;;2254:55:7;;14885:2:16;2254:55:7;;;14867:21:16;14924:2;14904:18;;;14897:30;-1:-1:-1;;;14943:18:16;;;14936:52;15005:18;;2254:55:7;14683:346:16;2254:55:7;2331:13;;2328:586;;2364:9;2360:251;2383:8;2379:1;:12;2360:251;;;2460:10;2445:26;;;;:14;:26;;;;;;:33;;2476:1;2445:30;:33::i;:::-;2431:10;2416:26;;;;:14;:26;;;;;:62;;;;2496:55;;2518:32;2548:1;2518:25;:15;864:14:2;;773:112;2518:32:7;2496:9;:55::i;:::-;2569:27;:15;978:19:2;;996:1;978:19;;;891:123;2569:27:7;2393:3;;;;:::i;:::-;;;;2360:251;;;;3468:331:4;3398:401;;:::o;2328:586:7:-;2630:14;;2627:287;;2664:9;2660:244;2683:9;2679:1;:13;2660:244;;;2753:10;2742:22;;;;:10;:22;;;;;;:29;;2769:1;2742:26;:29::i;:::-;2728:10;2717:22;;;;:10;:22;;;;;:54;;;;2789:55;;2811:32;2841:1;2811:25;:15;864:14:2;;773:112;2789:55:7;2862:27;:15;978:19:2;;996:1;978:19;;;891:123;2862:27:7;2694:3;;;;:::i;:::-;;;;2660:244;;1705:109;1038:6:13;;-1:-1:-1;;;;;1038:6:13;666:10:1;1178:23:13;1170:68;;;;-1:-1:-1;;;1170:68:13;;;;;;;:::i;:::-;1780:27:7;;::::1;::::0;:16:::1;::::0;:27:::1;::::0;::::1;::::0;::::1;:::i;:::-;;1705:109:::0;:::o;2052:235:4:-;2124:7;2159:16;;;:7;:16;;;;;;-1:-1:-1;;;;;2159:16:4;2193:19;2185:73;;;;-1:-1:-1;;;2185:73:4;;11708:2:16;2185:73:4;;;11690:21:16;11747:2;11727:18;;;11720:30;11786:34;11766:18;;;11759:62;-1:-1:-1;;;11837:18:16;;;11830:39;11886:19;;2185:73:4;11506:405:16;1790:205:4;1862:7;-1:-1:-1;;;;;1889:19:4;;1881:74;;;;-1:-1:-1;;;1881:74:4;;11297:2:16;1881:74:4;;;11279:21:16;11336:2;11316:18;;;11309:30;11375:34;11355:18;;;11348:62;-1:-1:-1;;;11426:18:16;;;11419:40;11476:19;;1881:74:4;11095:406:16;1881:74:4;-1:-1:-1;;;;;;1972:16:4;;;;;:9;:16;;;;;;;1790:205::o;1598:92:13:-;1038:6;;-1:-1:-1;;;;;1038:6:13;666:10:1;1178:23:13;1170:68;;;;-1:-1:-1;;;1170:68:13;;;;;;;:::i;:::-;1662:21:::1;1680:1;1662:9;:21::i;:::-;1598:92::o:0;2946:628:7:-;818:4;3025:45;3055:14;3025:25;:15;864:14:2;;773:112;3025:45:7;:63;;3017:109;;;;-1:-1:-1;;;3017:109:7;;;;;;;:::i;:::-;3156:10;3144:23;;;;:11;:23;;;;;;867:1;;3144:43;;3172:14;3144:27;:43::i;:::-;:59;;3136:107;;;;-1:-1:-1;;;3136:107:7;;;;;;;:::i;:::-;3261:10;;;;;;;;:18;;:10;:18;3253:52;;;;-1:-1:-1;;;3253:52:7;;15654:2:16;3253:52:7;;;15636:21:16;15693:2;15673:18;;;15666:30;-1:-1:-1;;;15712:18:16;;;15705:51;15773:18;;3253:52:7;15452:345:16;3253:52:7;3320:9;3316:236;3339:14;3335:1;:18;3316:236;;;3412:10;3400:23;;;;:11;:23;;;;;;:30;;3428:1;3400:27;:30::i;:::-;3386:10;3374:23;;;;:11;:23;;;;;:56;;;;3444:55;;3466:32;3496:1;3466:25;:15;864:14:2;;773:112;3444:55:7;3513:27;:15;978:19:2;;996:1;978:19;;;891:123;3513:27:7;3355:3;;;;:::i;:::-;;;;3316:236;;3706:126;3785:41;;-1:-1:-1;;;3785:41:7;;-1:-1:-1;;;;;7005:32:16;;;3785:41:7;;;6987:51:16;3760:7:7;;3793:14;3785:33;;;;;;6960:18:16;;3785:41:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;1012:342::-;1038:6:13;;-1:-1:-1;;;;;1038:6:13;666:10:1;1178:23:13;1170:68;;;;-1:-1:-1;;;1170:68:13;;;;;;;:::i;:::-;1143:7:7::1;:14;1126:6;:13;:31;1118:72;;;::::0;-1:-1:-1;;;1118:72:7;;8579:2:16;1118:72:7::1;::::0;::::1;8561:21:16::0;8618:2;8598:18;;;8591:30;8657;8637:18;;;8630:58;8705:18;;1118:72:7::1;8377:352:16::0;1118:72:7::1;1211:9;1207:127;1230:6;:13;1226:1;:17;1207:127;;;1287:37;1313:7;1321:1;1313:10;;;;;;;;:::i;:::-;;;;;;;1287;:21;1298:6;1305:1;1298:9;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;1287:21:7::1;-1:-1:-1::0;;;;;1287:21:7::1;;;;;;;;;;;;;:25;;:37;;;;:::i;:::-;1263:10;:21;1274:6;1281:1;1274:9;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;1263:21:7::1;-1:-1:-1::0;;;;;1263:21:7::1;;;;;;;;;;;;:61;;;;1245:3;;;;;:::i;:::-;;;;1207:127;;2511:102:4::0;2567:13;2599:7;2592:14;;;;;:::i;4144:290::-;-1:-1:-1;;;;;4246:24:4;;666:10:1;4246:24:4;;4238:62;;;;-1:-1:-1;;;4238:62:4;;10105:2:16;4238:62:4;;;10087:21:16;10144:2;10124:18;;;10117:30;10183:27;10163:18;;;10156:55;10228:18;;4238:62:4;9903:349:16;4238:62:4;666:10:1;4311:32:4;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;4311:42:4;;;;;;;;;;;;:53;;-1:-1:-1;;4311:53:4;;;;;;;;;;4379:48;;7682:41:16;;;4311:42:4;;666:10:1;4379:48:4;;7655:18:16;4379:48:4;;;;;;;4144:290;;:::o;5365:320::-;5534:41;666:10:1;5567:7:4;5534:18;:41::i;:::-;5526:103;;;;-1:-1:-1;;;5526:103:4;;;;;;;:::i;:::-;5639:39;5653:4;5659:2;5663:7;5672:5;5639:13;:39::i;2679:329::-;7222:4;7245:16;;;:7;:16;;;;;;2752:13;;-1:-1:-1;;;;;7245:16:4;2777:76;;;;-1:-1:-1;;;2777:76:4;;14067:2:16;2777:76:4;;;14049:21:16;14106:2;14086:18;;;14079:30;14145:34;14125:18;;;14118:62;-1:-1:-1;;;14196:18:16;;;14189:45;14251:19;;2777:76:4;13865:411:16;2777:76:4;2864:21;2888:10;:8;:10::i;:::-;2864:34;;2939:1;2921:7;2915:21;:25;:86;;;;;;;;;;;;;;;;;2967:7;2976:18;:7;:16;:18::i;:::-;2950:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;2915:86;2908:93;2679:329;-1:-1:-1;;;2679:329:4:o;1594:103:7:-;1038:6:13;;-1:-1:-1;;;;;1038:6:13;666:10:1;1178:23:13;1170:68;;;;-1:-1:-1;;;1170:68:13;;;;;;;:::i;:::-;1665:10:7::1;:25:::0;;;::::1;;;;-1:-1:-1::0;;1665:25:7;;::::1;::::0;;;::::1;::::0;;1594:103::o;1839:189:13:-;1038:6;;-1:-1:-1;;;;;1038:6:13;666:10:1;1178:23:13;1170:68;;;;-1:-1:-1;;;1170:68:13;;;;;;;:::i;:::-;-1:-1:-1;;;;;1927:22:13;::::1;1919:73;;;::::0;-1:-1:-1;;;1919:73:13;;8936:2:16;1919:73:13::1;::::0;::::1;8918:21:16::0;8975:2;8955:18;;;8948:30;9014:34;8994:18;;;8987:62;-1:-1:-1;;;9065:18:16;;;9058:36;9111:19;;1919:73:13::1;8734:402:16::0;1919:73:13::1;2002:19;2012:8;2002:9;:19::i;:::-;1839:189:::0;:::o;11008:171:4:-;11082:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;11082:29:4;-1:-1:-1;;;;;11082:29:4;;;;;;;;:24;;11135:23;11082:24;11135:14;:23::i;:::-;-1:-1:-1;;;;;11126:46:4;;;;;;;;;;;11008:171;;:::o;7440:344::-;7533:4;7245:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7245:16:4;7549:73;;;;-1:-1:-1;;;7549:73:4;;10459:2:16;7549:73:4;;;10441:21:16;10498:2;10478:18;;;10471:30;10537:34;10517:18;;;10510:62;-1:-1:-1;;;10588:18:16;;;10581:42;10640:19;;7549:73:4;10257:408:16;7549:73:4;7632:13;7648:23;7663:7;7648:14;:23::i;:::-;7632:39;;7700:5;-1:-1:-1;;;;;7689:16:4;:7;-1:-1:-1;;;;;7689:16:4;;:51;;;;7733:7;-1:-1:-1;;;;;7709:31:4;:20;7721:7;7709:11;:20::i;:::-;-1:-1:-1;;;;;7709:31:4;;7689:51;:87;;;-1:-1:-1;;;;;;4620:25:4;;;4597:4;4620:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;7744:32;7681:96;7440:344;-1:-1:-1;;;;7440:344:4:o;10337:560::-;10491:4;-1:-1:-1;;;;;10464:31:4;:23;10479:7;10464:14;:23::i;:::-;-1:-1:-1;;;;;10464:31:4;;10456:85;;;;-1:-1:-1;;;10456:85:4;;13657:2:16;10456:85:4;;;13639:21:16;13696:2;13676:18;;;13669:30;13735:34;13715:18;;;13708:62;-1:-1:-1;;;13786:18:16;;;13779:39;13835:19;;10456:85:4;13455:405:16;10456:85:4;-1:-1:-1;;;;;10559:16:4;;10551:65;;;;-1:-1:-1;;;10551:65:4;;9700:2:16;10551:65:4;;;9682:21:16;9739:2;9719:18;;;9712:30;9778:34;9758:18;;;9751:62;-1:-1:-1;;;9829:18:16;;;9822:34;9873:19;;10551:65:4;9498:400:16;10551:65:4;10728:29;10745:1;10749:7;10728:8;:29::i;:::-;-1:-1:-1;;;;;10768:15:4;;;;;;:9;:15;;;;;:20;;10787:1;;10768:15;:20;;10787:1;;10768:20;:::i;:::-;;;;-1:-1:-1;;;;;;;10798:13:4;;;;;;:9;:13;;;;;:18;;10815:1;;10798:13;:18;;10815:1;;10798:18;:::i;:::-;;;;-1:-1:-1;;10826:16:4;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;10826:21:4;-1:-1:-1;;;;;10826:21:4;;;;;;;;;10863:27;;10826:16;;10863:27;;;;;;;10337:560;;;:::o;3039:96:14:-;3097:7;3123:5;3127:1;3123;:5;:::i;2672:96::-;2730:7;2756:5;2760:1;2756;:5;:::i;8114:108:4:-;8189:26;8199:2;8203:7;8189:26;;;;;;;;;;;;:9;:26::i;2034:169:13:-;2108:6;;;-1:-1:-1;;;;;2124:17:13;;;-1:-1:-1;;;;;;2124:17:13;;;;;;;2156:40;;2108:6;;;2124:17;2108:6;;2156:40;;2089:16;;2156:40;2079:124;2034:169;:::o;6547:307:4:-;6698:28;6708:4;6714:2;6718:7;6698:9;:28::i;:::-;6744:48;6767:4;6773:2;6777:7;6786:5;6744:22;:48::i;:::-;6736:111;;;;-1:-1:-1;;;6736:111:4;;;;;;;:::i;3842:115:7:-;3902:13;3934:16;3927:23;;;;;:::i;275:703:15:-;331:13;548:10;544:51;;-1:-1:-1;;574:10:15;;;;;;;;;;;;-1:-1:-1;;;574:10:15;;;;;275:703::o;544:51::-;619:5;604:12;658:75;665:9;;658:75;;690:8;;;;:::i;:::-;;-1:-1:-1;712:10:15;;-1:-1:-1;720:2:15;712:10;;:::i;:::-;;;658:75;;;742:19;774:6;764:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;764:17:15;;742:39;;791:150;798:10;;791:150;;824:11;834:1;824:11;;:::i;:::-;;-1:-1:-1;892:10:15;900:2;892:5;:10;:::i;:::-;879:24;;:2;:24;:::i;:::-;866:39;;849:6;856;849:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;849:56:15;;;;;;;;-1:-1:-1;919:11:15;928:2;919:11;;:::i;:::-;;;791:150;;8443:311:4;8568:18;8574:2;8578:7;8568:5;:18::i;:::-;8617:54;8648:1;8652:2;8656:7;8665:5;8617:22;:54::i;:::-;8596:151;;;;-1:-1:-1;;;8596:151:4;;;;;;;:::i;11732:778::-;11882:4;-1:-1:-1;;;;;11902:13:4;;1034:20:0;1080:8;11898:606:4;;11937:72;;-1:-1:-1;;;11937:72:4;;-1:-1:-1;;;;;11937:36:4;;;;;:72;;666:10:1;;11988:4:4;;11994:7;;12003:5;;11937:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11937:72:4;;;;;;;;-1:-1:-1;;11937:72:4;;;;;;;;;;;;:::i;:::-;;;11933:519;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12176:13:4;;12172:266;;12218:60;;-1:-1:-1;;;12218:60:4;;;;;;;:::i;12172:266::-;12390:6;12384:13;12375:6;12371:2;12367:15;12360:38;11933:519;-1:-1:-1;;;;;;12059:51:4;-1:-1:-1;;;12059:51:4;;-1:-1:-1;12052:58:4;;11898:606;-1:-1:-1;12489:4:4;11732:778;;;;;;:::o;9076:372::-;-1:-1:-1;;;;;9155:16:4;;9147:61;;;;-1:-1:-1;;;9147:61:4;;12118:2:16;9147:61:4;;;12100:21:16;;;12137:18;;;12130:30;12196:34;12176:18;;;12169:62;12248:18;;9147:61:4;11916:356:16;9147:61:4;7222:4;7245:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7245:16:4;:30;9218:58;;;;-1:-1:-1;;;9218:58:4;;9343:2:16;9218:58:4;;;9325:21:16;9382:2;9362:18;;;9355:30;9421;9401:18;;;9394:58;9469:18;;9218:58:4;9141:352:16;9218:58:4;-1:-1:-1;;;;;9343:13:4;;;;;;:9;:13;;;;;:18;;9360:1;;9343:13;:18;;9360:1;;9343:18;:::i;:::-;;;;-1:-1:-1;;9371:16:4;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9371:21:4;-1:-1:-1;;;;;9371:21:4;;;;;;;;9408:33;;9371:16;;;9408:33;;9371:16;;9408:33;9076:372;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:406:16;78:5;112:18;104:6;101:30;98:56;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:16;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:45;;;309:1;306;299:12;268:45;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;14:406;;;;;:::o;425:173::-;493:20;;-1:-1:-1;;;;;542:31:16;;532:42;;522:70;;588:1;585;578:12;522:70;425:173;;;:::o;603:673::-;657:5;710:3;703:4;695:6;691:17;687:27;677:55;;728:1;725;718:12;677:55;764:6;751:20;790:4;814:60;830:43;870:2;830:43;:::i;:::-;814:60;:::i;:::-;896:3;920:2;915:3;908:15;948:2;943:3;939:12;932:19;;983:2;975:6;971:15;1035:3;1030:2;1024;1021:1;1017:10;1009:6;1005:23;1001:32;998:41;995:61;;;1052:1;1049;1042:12;995:61;1074:1;1084:163;1098:2;1095:1;1092:9;1084:163;;;1155:17;;1143:30;;1193:12;;;;1225;;;;1116:1;1109:9;1084:163;;;-1:-1:-1;1265:5:16;;603:673;-1:-1:-1;;;;;;;603:673:16:o;1281:160::-;1346:20;;1402:13;;1395:21;1385:32;;1375:60;;1431:1;1428;1421:12;1446:186;1505:6;1558:2;1546:9;1537:7;1533:23;1529:32;1526:52;;;1574:1;1571;1564:12;1526:52;1597:29;1616:9;1597:29;:::i;1637:260::-;1705:6;1713;1766:2;1754:9;1745:7;1741:23;1737:32;1734:52;;;1782:1;1779;1772:12;1734:52;1805:29;1824:9;1805:29;:::i;:::-;1795:39;;1853:38;1887:2;1876:9;1872:18;1853:38;:::i;:::-;1843:48;;1637:260;;;;;:::o;1902:328::-;1979:6;1987;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;;2135:38;2169:2;2158:9;2154:18;2135:38;:::i;:::-;2125:48;;2220:2;2209:9;2205:18;2192:32;2182:42;;1902:328;;;;;:::o;2235:666::-;2330:6;2338;2346;2354;2407:3;2395:9;2386:7;2382:23;2378:33;2375:53;;;2424:1;2421;2414:12;2375:53;2447:29;2466:9;2447:29;:::i;:::-;2437:39;;2495:38;2529:2;2518:9;2514:18;2495:38;:::i;:::-;2485:48;;2580:2;2569:9;2565:18;2552:32;2542:42;;2635:2;2624:9;2620:18;2607:32;2662:18;2654:6;2651:30;2648:50;;;2694:1;2691;2684:12;2648:50;2717:22;;2770:4;2762:13;;2758:27;-1:-1:-1;2748:55:16;;2799:1;2796;2789:12;2748:55;2822:73;2887:7;2882:2;2869:16;2864:2;2860;2856:11;2822:73;:::i;:::-;2812:83;;;2235:666;;;;;;;:::o;2906:254::-;2971:6;2979;3032:2;3020:9;3011:7;3007:23;3003:32;3000:52;;;3048:1;3045;3038:12;3000:52;3071:29;3090:9;3071:29;:::i;:::-;3061:39;;3119:35;3150:2;3139:9;3135:18;3119:35;:::i;3165:254::-;3233:6;3241;3294:2;3282:9;3273:7;3269:23;3265:32;3262:52;;;3310:1;3307;3300:12;3262:52;3333:29;3352:9;3333:29;:::i;:::-;3323:39;3409:2;3394:18;;;;3381:32;;-1:-1:-1;;;3165:254:16:o;3424:1157::-;3542:6;3550;3603:2;3591:9;3582:7;3578:23;3574:32;3571:52;;;3619:1;3616;3609:12;3571:52;3659:9;3646:23;3688:18;3729:2;3721:6;3718:14;3715:34;;;3745:1;3742;3735:12;3715:34;3783:6;3772:9;3768:22;3758:32;;3828:7;3821:4;3817:2;3813:13;3809:27;3799:55;;3850:1;3847;3840:12;3799:55;3886:2;3873:16;3908:4;3932:60;3948:43;3988:2;3948:43;:::i;3932:60::-;4014:3;4038:2;4033:3;4026:15;4066:2;4061:3;4057:12;4050:19;;4097:2;4093;4089:11;4145:7;4140:2;4134;4131:1;4127:10;4123:2;4119:19;4115:28;4112:41;4109:61;;;4166:1;4163;4156:12;4109:61;4188:1;4179:10;;4198:169;4212:2;4209:1;4206:9;4198:169;;;4269:23;4288:3;4269:23;:::i;:::-;4257:36;;4230:1;4223:9;;;;;4313:12;;;;4345;;4198:169;;;-1:-1:-1;4386:5:16;-1:-1:-1;;4429:18:16;;4416:32;;-1:-1:-1;;4460:16:16;;;4457:36;;;4489:1;4486;4479:12;4457:36;;4512:63;4567:7;4556:8;4545:9;4541:24;4512:63;:::i;:::-;4502:73;;;3424:1157;;;;;:::o;4586:180::-;4642:6;4695:2;4683:9;4674:7;4670:23;4666:32;4663:52;;;4711:1;4708;4701:12;4663:52;4734:26;4750:9;4734:26;:::i;4771:245::-;4829:6;4882:2;4870:9;4861:7;4857:23;4853:32;4850:52;;;4898:1;4895;4888:12;4850:52;4937:9;4924:23;4956:30;4980:5;4956:30;:::i;5021:249::-;5090:6;5143:2;5131:9;5122:7;5118:23;5114:32;5111:52;;;5159:1;5156;5149:12;5111:52;5191:9;5185:16;5210:30;5234:5;5210:30;:::i;5275:450::-;5344:6;5397:2;5385:9;5376:7;5372:23;5368:32;5365:52;;;5413:1;5410;5403:12;5365:52;5453:9;5440:23;5486:18;5478:6;5475:30;5472:50;;;5518:1;5515;5508:12;5472:50;5541:22;;5594:4;5586:13;;5582:27;-1:-1:-1;5572:55:16;;5623:1;5620;5613:12;5572:55;5646:73;5711:7;5706:2;5693:16;5688:2;5684;5680:11;5646:73;:::i;5730:180::-;5789:6;5842:2;5830:9;5821:7;5817:23;5813:32;5810:52;;;5858:1;5855;5848:12;5810:52;-1:-1:-1;5881:23:16;;5730:180;-1:-1:-1;5730:180:16:o;5915:184::-;5985:6;6038:2;6026:9;6017:7;6013:23;6009:32;6006:52;;;6054:1;6051;6044:12;6006:52;-1:-1:-1;6077:16:16;;5915:184;-1:-1:-1;5915:184:16:o;6104:257::-;6145:3;6183:5;6177:12;6210:6;6205:3;6198:19;6226:63;6282:6;6275:4;6270:3;6266:14;6259:4;6252:5;6248:16;6226:63;:::i;:::-;6343:2;6322:15;-1:-1:-1;;6318:29:16;6309:39;;;;6350:4;6305:50;;6104:257;-1:-1:-1;;6104:257:16:o;6366:470::-;6545:3;6583:6;6577:13;6599:53;6645:6;6640:3;6633:4;6625:6;6621:17;6599:53;:::i;:::-;6715:13;;6674:16;;;;6737:57;6715:13;6674:16;6771:4;6759:17;;6737:57;:::i;:::-;6810:20;;6366:470;-1:-1:-1;;;;6366:470:16:o;7049:488::-;-1:-1:-1;;;;;7318:15:16;;;7300:34;;7370:15;;7365:2;7350:18;;7343:43;7417:2;7402:18;;7395:34;;;7465:3;7460:2;7445:18;;7438:31;;;7243:4;;7486:45;;7511:19;;7503:6;7486:45;:::i;:::-;7478:53;7049:488;-1:-1:-1;;;;;;7049:488:16:o;7734:219::-;7883:2;7872:9;7865:21;7846:4;7903:44;7943:2;7932:9;7928:18;7920:6;7903:44;:::i;7958:414::-;8160:2;8142:21;;;8199:2;8179:18;;;8172:30;8238:34;8233:2;8218:18;;8211:62;-1:-1:-1;;;8304:2:16;8289:18;;8282:48;8362:3;8347:19;;7958:414::o;12690:399::-;12892:2;12874:21;;;12931:2;12911:18;;;12904:30;12970:34;12965:2;12950:18;;12943:62;-1:-1:-1;;;13036:2:16;13021:18;;13014:33;13079:3;13064:19;;12690:399::o;13094:356::-;13296:2;13278:21;;;13315:18;;;13308:30;13374:34;13369:2;13354:18;;13347:62;13441:2;13426:18;;13094:356::o;15034:413::-;15236:2;15218:21;;;15275:2;15255:18;;;15248:30;15314:34;15309:2;15294:18;;15287:62;-1:-1:-1;;;15380:2:16;15365:18;;15358:47;15437:3;15422:19;;15034:413::o;15802:397::-;16004:2;15986:21;;;16043:2;16023:18;;;16016:30;16082:34;16077:2;16062:18;;16055:62;-1:-1:-1;;;16148:2:16;16133:18;;16126:31;16189:3;16174:19;;15802:397::o;16386:275::-;16457:2;16451:9;16522:2;16503:13;;-1:-1:-1;;16499:27:16;16487:40;;16557:18;16542:34;;16578:22;;;16539:62;16536:88;;;16604:18;;:::i;:::-;16640:2;16633:22;16386:275;;-1:-1:-1;16386:275:16:o;16666:183::-;16726:4;16759:18;16751:6;16748:30;16745:56;;;16781:18;;:::i;:::-;-1:-1:-1;16826:1:16;16822:14;16838:4;16818:25;;16666:183::o;16854:128::-;16894:3;16925:1;16921:6;16918:1;16915:13;16912:39;;;16931:18;;:::i;:::-;-1:-1:-1;16967:9:16;;16854:128::o;16987:120::-;17027:1;17053;17043:35;;17058:18;;:::i;:::-;-1:-1:-1;17092:9:16;;16987:120::o;17112:125::-;17152:4;17180:1;17177;17174:8;17171:34;;;17185:18;;:::i;:::-;-1:-1:-1;17222:9:16;;17112:125::o;17242:258::-;17314:1;17324:113;17338:6;17335:1;17332:13;17324:113;;;17414:11;;;17408:18;17395:11;;;17388:39;17360:2;17353:10;17324:113;;;17455:6;17452:1;17449:13;17446:48;;;-1:-1:-1;;17490:1:16;17472:16;;17465:27;17242:258::o;17505:380::-;17584:1;17580:12;;;;17627;;;17648:61;;17702:4;17694:6;17690:17;17680:27;;17648:61;17755:2;17747:6;17744:14;17724:18;17721:38;17718:161;;;17801:10;17796:3;17792:20;17789:1;17782:31;17836:4;17833:1;17826:15;17864:4;17861:1;17854:15;17718:161;;17505:380;;;:::o;17890:135::-;17929:3;-1:-1:-1;;17950:17:16;;17947:43;;;17970:18;;:::i;:::-;-1:-1:-1;18017:1:16;18006:13;;17890:135::o;18030:112::-;18062:1;18088;18078:35;;18093:18;;:::i;:::-;-1:-1:-1;18127:9:16;;18030:112::o;18147:127::-;18208:10;18203:3;18199:20;18196:1;18189:31;18239:4;18236:1;18229:15;18263:4;18260:1;18253:15;18279:127;18340:10;18335:3;18331:20;18328:1;18321:31;18371:4;18368:1;18361:15;18395:4;18392:1;18385:15;18411:127;18472:10;18467:3;18463:20;18460:1;18453:31;18503:4;18500:1;18493:15;18527:4;18524:1;18517:15;18543:127;18604:10;18599:3;18595:20;18592:1;18585:31;18635:4;18632:1;18625:15;18659:4;18656:1;18649:15;18675:131;-1:-1:-1;;;;;;18749:32:16;;18739:43;;18729:71;;18796:1;18793;18786:12

Swarm Source

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