ETH Price: $2,995.34 (+4.68%)
Gas: 2 Gwei

Token

AngelsOfAether (AOA)
 

Overview

Max Total Supply

5,123 AOA

Holders

1,481

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
5 AOA
0x54196238400305778bff5fa200ee1896f6a9d5c2
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Angels Of Aether, NFT Collectibles5,123 Angels

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
AngelsOfAether

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 17 : AngelsOfAether.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableMap.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

/**
 * @title AngelsOfAether
 * AngelsOfAether - Angelic NFT Collectible Set.
 */
contract AngelsOfAether is ERC721Enumerable, Ownable, ReentrancyGuard {
    using SafeMath for uint256;

    bool public isSaleActive = false;
    string public PROVENANCE = "-";
    uint public constant maxMintBatch = 20;
    uint256 public constant tokenPrice = 90000000000000000; // 0.09 ETH
    uint256 public maxTokensCount = 11111;
    address[] private distributions;
    string private baseURI;
    string public baseTokenURI;
    string public contractURI;

    constructor() ERC721("AngelsOfAether", "AOA") {
        baseURI = "https://angelicrealm.angelsofaether.com/aoagencontif4hw377/";
        baseTokenURI = "https://angelicrealm.angelsofaether.com/aoagencontif4hw377/AngelsOfAetherGeneral.json";
        contractURI = "https://angelicrealm.angelsofaether.com/aoagencontif4hw377/AngelsOfAetherContract.json";
    }

    function setDistributions(address[] memory _distributions) public onlyOwner {
        distributions = _distributions;
    }

    function getDistributions() public onlyOwner view returns (address[] memory) {
        return distributions;
    }

    function activateSale() public onlyOwner {
        isSaleActive = true;
    }

    function deactivateSale() public onlyOwner {
        isSaleActive = false;
    }

    function setBaseTokenURI(string memory uri) public onlyOwner {
        baseTokenURI = uri;
    }

    function setContractURI(string memory uri) public onlyOwner {
        contractURI = uri;
    }

    function _baseURI() internal view override returns (string memory) {
        return baseURI;
    }

    function setBaseURI(string memory uri) public onlyOwner {
        baseURI = uri;
    }

    function setPROVENANCE(string memory prov) public onlyOwner {
        PROVENANCE = prov;
    }

    function distribute(uint256 requestedSum) public onlyOwner {
        require(distributions.length > 1, "Distributions cannot be empty");
        uint balance = address(this).balance;
        require(balance > requestedSum, "Requesting too much");

        uint share = requestedSum / distributions.length;
        for (uint i = 0; i < distributions.length; i++) {
            payable(distributions[i]).transfer(share);
        }
    }

    function withdraw() public onlyOwner {
        uint balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }

    function reserveAngelsOfAether() public onlyOwner {
        uint supply = totalSupply();
        uint i;
        for (i = 0; i < maxMintBatch; i++) {
            _safeMint(msg.sender, supply + i);
        }
    }

    function mintAngelsOfAether(uint numberOfTokens) public payable {
        require(isSaleActive, "Sale must be active to be able to mint");
        require(numberOfTokens <= maxMintBatch, "Max 20 tokens can be minted in one batch");
        require(totalSupply().add(numberOfTokens) <= maxTokensCount, "Purchase would exceed max supply of Tokens");
        require(tokenPrice.mul(numberOfTokens) <= msg.value, "Ether value sent is not correct");

        for(uint i = 0; i < numberOfTokens; i++) {
            uint mintIndex = totalSupply();
            if (totalSupply() < maxTokensCount) {
                _safeMint(msg.sender, mintIndex);
            }
        }
    }

    function burn(uint256 tokenId) public onlyOwner {
        _burn(tokenId);
    }
}

File 2 of 17 : 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;

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

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = 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) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

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

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

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

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

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

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

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

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

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

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

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


    // UintSet

    struct UintSet {
        Set _inner;
    }

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

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

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

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

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

File 3 of 17 : 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 4 of 17 : 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. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

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

File 5 of 17 : 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 6 of 17 : 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 17 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

}

File 8 of 17 : 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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 9 of 17 : 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;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 10 of 17 : 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 11 of 17 : 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 17 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 13 of 17 : 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 17 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../../utils/introspection/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 15 of 17 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/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}. Empty by default, can be overriden
     * in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor () {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "evmVersion": "berlin",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"activateSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deactivateSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"requestedSum","type":"uint256"}],"name":"distribute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDistributions","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintBatch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokensCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintAngelsOfAether","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveAngelsOfAether","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":"uri","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_distributions","type":"address[]"}],"name":"setDistributions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"prov","type":"string"}],"name":"setPROVENANCE","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600c60006101000a81548160ff0219169083151502179055506040518060400160405280600181526020017f2d00000000000000000000000000000000000000000000000000000000000000815250600d90805190602001906200006c9291906200027e565b50612b67600e553480156200008057600080fd5b506040518060400160405280600e81526020017f416e67656c734f664165746865720000000000000000000000000000000000008152506040518060400160405280600381526020017f414f4100000000000000000000000000000000000000000000000000000000008152508160009080519060200190620001059291906200027e565b5080600190805190602001906200011e9291906200027e565b5050506000620001336200027660201b60201c565b905080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506001600b819055506040518060600160405280603b8152602001620051f0603b9139601090805190602001906200020b9291906200027e565b506040518060800160405280605581526020016200519b60559139601190805190602001906200023d9291906200027e565b506040518060800160405280605681526020016200514560569139601290805190602001906200026f9291906200027e565b5062000393565b600033905090565b8280546200028c906200032e565b90600052602060002090601f016020900481019282620002b05760008555620002fc565b82601f10620002cb57805160ff1916838001178555620002fc565b82800160010185558215620002fc579182015b82811115620002fb578251825591602001919060010190620002de565b5b5090506200030b91906200030f565b5090565b5b808211156200032a57600081600090555060010162000310565b5090565b600060028204905060018216806200034757607f821691505b602082108114156200035e576200035d62000364565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b614da280620003a36000396000f3fe6080604052600436106102305760003560e01c80636373a6b11161012e578063a22cb465116100ab578063d25a16001161006f578063d25a1600146107e0578063d547cfb714610809578063e8a3d48514610834578063e985e9c51461085f578063f2fde38b1461089c57610230565b8063a22cb46514610711578063b368456b1461073a578063b88d4fde14610763578063c721f08d1461078c578063c87b56dd146107a357610230565b80638da5cb5b116100f25780638da5cb5b1461063e57806391c05b0b1461066957806392716a2d14610692578063938e3d7b146106bd57806395d89b41146106e657610230565b80636373a6b11461057857806370a08231146105a3578063715018a6146105e0578063757ff781146105f75780637ff9b5961461061357610230565b80632f745c59116101bc5780634f6ccce7116101805780634f6ccce71461049357806355f804b3146104d0578063564566a8146104f9578063616d0dfd146105245780636352211e1461053b57610230565b80632f745c59146103c457806330176e13146104015780633ccfd60b1461042a57806342842e0e1461044157806342966c681461046a57610230565b8063095ea7b311610203578063095ea7b3146103055780630c591e231461032e57806318160ddd1461034557806321d2a9041461037057806323b872dd1461039b57610230565b806301ffc9a71461023557806302aa63181461027257806306fdde031461029d578063081812fc146102c8575b600080fd5b34801561024157600080fd5b5061025c60048036038101906102579190613825565b6108c5565b6040516102699190613e3f565b60405180910390f35b34801561027e57600080fd5b5061028761093f565b6040516102949190613e1d565b60405180910390f35b3480156102a957600080fd5b506102b2610a49565b6040516102bf9190613e5a565b60405180910390f35b3480156102d457600080fd5b506102ef60048036038101906102ea91906138c8565b610adb565b6040516102fc9190613db6565b60405180910390f35b34801561031157600080fd5b5061032c6004803603810190610327919061379c565b610b60565b005b34801561033a57600080fd5b50610343610c78565b005b34801561035157600080fd5b5061035a610d38565b604051610367919061417c565b60405180910390f35b34801561037c57600080fd5b50610385610d45565b604051610392919061417c565b60405180910390f35b3480156103a757600080fd5b506103c260048036038101906103bd9190613686565b610d4a565b005b3480156103d057600080fd5b506103eb60048036038101906103e6919061379c565b610daa565b6040516103f8919061417c565b60405180910390f35b34801561040d57600080fd5b506104286004803603810190610423919061387f565b610e4f565b005b34801561043657600080fd5b5061043f610ee5565b005b34801561044d57600080fd5b5061046860048036038101906104639190613686565b610fb0565b005b34801561047657600080fd5b50610491600480360381019061048c91906138c8565b610fd0565b005b34801561049f57600080fd5b506104ba60048036038101906104b591906138c8565b611058565b6040516104c7919061417c565b60405180910390f35b3480156104dc57600080fd5b506104f760048036038101906104f2919061387f565b6110c9565b005b34801561050557600080fd5b5061050e61115f565b60405161051b9190613e3f565b60405180910390f35b34801561053057600080fd5b50610539611172565b005b34801561054757600080fd5b50610562600480360381019061055d91906138c8565b61120b565b60405161056f9190613db6565b60405180910390f35b34801561058457600080fd5b5061058d6112bd565b60405161059a9190613e5a565b60405180910390f35b3480156105af57600080fd5b506105ca60048036038101906105c59190613619565b61134b565b6040516105d7919061417c565b60405180910390f35b3480156105ec57600080fd5b506105f5611403565b005b610611600480360381019061060c91906138c8565b611540565b005b34801561061f57600080fd5b506106286116d9565b604051610635919061417c565b60405180910390f35b34801561064a57600080fd5b506106536116e5565b6040516106609190613db6565b60405180910390f35b34801561067557600080fd5b50610690600480360381019061068b91906138c8565b61170f565b005b34801561069e57600080fd5b506106a76118dd565b6040516106b4919061417c565b60405180910390f35b3480156106c957600080fd5b506106e460048036038101906106df919061387f565b6118e3565b005b3480156106f257600080fd5b506106fb611979565b6040516107089190613e5a565b60405180910390f35b34801561071d57600080fd5b506107386004803603810190610733919061375c565b611a0b565b005b34801561074657600080fd5b50610761600480360381019061075c91906137dc565b611b8c565b005b34801561076f57600080fd5b5061078a600480360381019061078591906136d9565b611c22565b005b34801561079857600080fd5b506107a1611c84565b005b3480156107af57600080fd5b506107ca60048036038101906107c591906138c8565b611d1d565b6040516107d79190613e5a565b60405180910390f35b3480156107ec57600080fd5b506108076004803603810190610802919061387f565b611dc4565b005b34801561081557600080fd5b5061081e611e5a565b60405161082b9190613e5a565b60405180910390f35b34801561084057600080fd5b50610849611ee8565b6040516108569190613e5a565b60405180910390f35b34801561086b57600080fd5b5061088660048036038101906108819190613646565b611f76565b6040516108939190613e3f565b60405180910390f35b3480156108a857600080fd5b506108c360048036038101906108be9190613619565b61200a565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109385750610937826121b6565b5b9050919050565b6060610949612298565b73ffffffffffffffffffffffffffffffffffffffff166109676116e5565b73ffffffffffffffffffffffffffffffffffffffff16146109bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b4906140bc565b60405180910390fd5b600f805480602002602001604051908101604052809291908181526020018280548015610a3f57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190600101908083116109f5575b5050505050905090565b606060008054610a5890614491565b80601f0160208091040260200160405190810160405280929190818152602001828054610a8490614491565b8015610ad15780601f10610aa657610100808354040283529160200191610ad1565b820191906000526020600020905b815481529060010190602001808311610ab457829003601f168201915b5050505050905090565b6000610ae6826122a0565b610b25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1c9061407c565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b6b8261120b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd39061411c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bfb612298565b73ffffffffffffffffffffffffffffffffffffffff161480610c2a5750610c2981610c24612298565b611f76565b5b610c69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6090613fdc565b60405180910390fd5b610c73838361230c565b505050565b610c80612298565b73ffffffffffffffffffffffffffffffffffffffff16610c9e6116e5565b73ffffffffffffffffffffffffffffffffffffffff1614610cf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ceb906140bc565b60405180910390fd5b6000610cfe610d38565b905060005b6014811015610d3457610d21338284610d1c91906142c6565b6123c5565b8080610d2c906144f4565b915050610d03565b5050565b6000600880549050905090565b601481565b610d5b610d55612298565b826123e3565b610d9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d919061413c565b60405180910390fd5b610da58383836124c1565b505050565b6000610db58361134b565b8210610df6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ded90613e7c565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610e57612298565b73ffffffffffffffffffffffffffffffffffffffff16610e756116e5565b73ffffffffffffffffffffffffffffffffffffffff1614610ecb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec2906140bc565b60405180910390fd5b8060119080519060200190610ee1929190613305565b5050565b610eed612298565b73ffffffffffffffffffffffffffffffffffffffff16610f0b6116e5565b73ffffffffffffffffffffffffffffffffffffffff1614610f61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f58906140bc565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610fac573d6000803e3d6000fd5b5050565b610fcb83838360405180602001604052806000815250611c22565b505050565b610fd8612298565b73ffffffffffffffffffffffffffffffffffffffff16610ff66116e5565b73ffffffffffffffffffffffffffffffffffffffff161461104c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611043906140bc565b60405180910390fd5b6110558161271d565b50565b6000611062610d38565b82106110a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109a9061415c565b60405180910390fd5b600882815481106110b7576110b661462a565b5b90600052602060002001549050919050565b6110d1612298565b73ffffffffffffffffffffffffffffffffffffffff166110ef6116e5565b73ffffffffffffffffffffffffffffffffffffffff1614611145576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113c906140bc565b60405180910390fd5b806010908051906020019061115b929190613305565b5050565b600c60009054906101000a900460ff1681565b61117a612298565b73ffffffffffffffffffffffffffffffffffffffff166111986116e5565b73ffffffffffffffffffffffffffffffffffffffff16146111ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e5906140bc565b60405180910390fd5b6000600c60006101000a81548160ff021916908315150217905550565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ab9061401c565b60405180910390fd5b80915050919050565b600d80546112ca90614491565b80601f01602080910402602001604051908101604052809291908181526020018280546112f690614491565b80156113435780601f1061131857610100808354040283529160200191611343565b820191906000526020600020905b81548152906001019060200180831161132657829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b390613ffc565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61140b612298565b73ffffffffffffffffffffffffffffffffffffffff166114296116e5565b73ffffffffffffffffffffffffffffffffffffffff161461147f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611476906140bc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600c60009054906101000a900460ff1661158f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115869061403c565b60405180910390fd5b60148111156115d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ca90613fbc565b60405180910390fd5b600e546115f0826115e2610d38565b61282e90919063ffffffff16565b1115611631576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162890613efc565b60405180910390fd5b3461164d8267013fbe85edc9000061284490919063ffffffff16565b111561168e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168590613f5c565b60405180910390fd5b60005b818110156116d55760006116a3610d38565b9050600e546116b0610d38565b10156116c1576116c033826123c5565b5b5080806116cd906144f4565b915050611691565b5050565b67013fbe85edc9000081565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611717612298565b73ffffffffffffffffffffffffffffffffffffffff166117356116e5565b73ffffffffffffffffffffffffffffffffffffffff161461178b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611782906140bc565b60405180910390fd5b6001600f80549050116117d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ca90613f7c565b60405180910390fd5b600047905081811161181a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118119061409c565b60405180910390fd5b6000600f805490508361182d919061431c565b905060005b600f805490508110156118d757600f81815481106118535761185261462a565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050501580156118c3573d6000803e3d6000fd5b5080806118cf906144f4565b915050611832565b50505050565b600e5481565b6118eb612298565b73ffffffffffffffffffffffffffffffffffffffff166119096116e5565b73ffffffffffffffffffffffffffffffffffffffff161461195f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611956906140bc565b60405180910390fd5b8060129080519060200190611975929190613305565b5050565b60606001805461198890614491565b80601f01602080910402602001604051908101604052809291908181526020018280546119b490614491565b8015611a015780601f106119d657610100808354040283529160200191611a01565b820191906000526020600020905b8154815290600101906020018083116119e457829003601f168201915b5050505050905090565b611a13612298565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7890613f3c565b60405180910390fd5b8060056000611a8e612298565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b3b612298565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b809190613e3f565b60405180910390a35050565b611b94612298565b73ffffffffffffffffffffffffffffffffffffffff16611bb26116e5565b73ffffffffffffffffffffffffffffffffffffffff1614611c08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bff906140bc565b60405180910390fd5b80600f9080519060200190611c1e92919061338b565b5050565b611c33611c2d612298565b836123e3565b611c72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c699061413c565b60405180910390fd5b611c7e8484848461285a565b50505050565b611c8c612298565b73ffffffffffffffffffffffffffffffffffffffff16611caa6116e5565b73ffffffffffffffffffffffffffffffffffffffff1614611d00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf7906140bc565b60405180910390fd5b6001600c60006101000a81548160ff021916908315150217905550565b6060611d28826122a0565b611d67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5e906140fc565b60405180910390fd5b6000611d716128b6565b90506000815111611d915760405180602001604052806000815250611dbc565b80611d9b84612948565b604051602001611dac929190613d92565b6040516020818303038152906040525b915050919050565b611dcc612298565b73ffffffffffffffffffffffffffffffffffffffff16611dea6116e5565b73ffffffffffffffffffffffffffffffffffffffff1614611e40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e37906140bc565b60405180910390fd5b80600d9080519060200190611e56929190613305565b5050565b60118054611e6790614491565b80601f0160208091040260200160405190810160405280929190818152602001828054611e9390614491565b8015611ee05780601f10611eb557610100808354040283529160200191611ee0565b820191906000526020600020905b815481529060010190602001808311611ec357829003601f168201915b505050505081565b60128054611ef590614491565b80601f0160208091040260200160405190810160405280929190818152602001828054611f2190614491565b8015611f6e5780601f10611f4357610100808354040283529160200191611f6e565b820191906000526020600020905b815481529060010190602001808311611f5157829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612012612298565b73ffffffffffffffffffffffffffffffffffffffff166120306116e5565b73ffffffffffffffffffffffffffffffffffffffff1614612086576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207d906140bc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156120f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ed90613ebc565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061228157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612291575061229082612aa9565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661237f8361120b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6123df828260405180602001604052806000815250612b13565b5050565b60006123ee826122a0565b61242d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242490613f9c565b60405180910390fd5b60006124388361120b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806124a757508373ffffffffffffffffffffffffffffffffffffffff1661248f84610adb565b73ffffffffffffffffffffffffffffffffffffffff16145b806124b857506124b78185611f76565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166124e18261120b565b73ffffffffffffffffffffffffffffffffffffffff1614612537576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252e906140dc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259e90613f1c565b60405180910390fd5b6125b2838383612b6e565b6125bd60008261230c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461260d91906143a7565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461266491906142c6565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006127288261120b565b905061273681600084612b6e565b61274160008361230c565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461279191906143a7565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000818361283c91906142c6565b905092915050565b60008183612852919061434d565b905092915050565b6128658484846124c1565b61287184848484612c82565b6128b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128a790613e9c565b60405180910390fd5b50505050565b6060601080546128c590614491565b80601f01602080910402602001604051908101604052809291908181526020018280546128f190614491565b801561293e5780601f106129135761010080835404028352916020019161293e565b820191906000526020600020905b81548152906001019060200180831161292157829003601f168201915b5050505050905090565b60606000821415612990576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612aa4565b600082905060005b600082146129c25780806129ab906144f4565b915050600a826129bb919061431c565b9150612998565b60008167ffffffffffffffff8111156129de576129dd614659565b5b6040519080825280601f01601f191660200182016040528015612a105781602001600182028036833780820191505090505b5090505b60008514612a9d57600182612a2991906143a7565b9150600a85612a38919061453d565b6030612a4491906142c6565b60f81b818381518110612a5a57612a5961462a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612a96919061431c565b9450612a14565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612b1d8383612e19565b612b2a6000848484612c82565b612b69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6090613e9c565b60405180910390fd5b505050565b612b79838383612fe7565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612bbc57612bb781612fec565b612bfb565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612bfa57612bf98382613035565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c3e57612c39816131a2565b612c7d565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612c7c57612c7b8282613273565b5b5b505050565b6000612ca38473ffffffffffffffffffffffffffffffffffffffff166132f2565b15612e0c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612ccc612298565b8786866040518563ffffffff1660e01b8152600401612cee9493929190613dd1565b602060405180830381600087803b158015612d0857600080fd5b505af1925050508015612d3957506040513d601f19601f82011682018060405250810190612d369190613852565b60015b612dbc573d8060008114612d69576040519150601f19603f3d011682016040523d82523d6000602084013e612d6e565b606091505b50600081511415612db4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dab90613e9c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612e11565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e809061405c565b60405180910390fd5b612e92816122a0565b15612ed2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec990613edc565b60405180910390fd5b612ede60008383612b6e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f2e91906142c6565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016130428461134b565b61304c91906143a7565b9050600060076000848152602001908152602001600020549050818114613131576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506131b691906143a7565b90506000600960008481526020019081526020016000205490506000600883815481106131e6576131e561462a565b5b9060005260206000200154905080600883815481106132085761320761462a565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613257576132566145fb565b5b6001900381819060005260206000200160009055905550505050565b600061327e8361134b565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b82805461331190614491565b90600052602060002090601f016020900481019282613333576000855561337a565b82601f1061334c57805160ff191683800117855561337a565b8280016001018555821561337a579182015b8281111561337957825182559160200191906001019061335e565b5b5090506133879190613415565b5090565b828054828255906000526020600020908101928215613404579160200282015b828111156134035782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550916020019190600101906133ab565b5b5090506134119190613415565b5090565b5b8082111561342e576000816000905550600101613416565b5090565b6000613445613440846141bc565b614197565b905080838252602082019050828560208602820111156134685761346761468d565b5b60005b85811015613498578161347e8882613526565b84526020840193506020830192505060018101905061346b565b5050509392505050565b60006134b56134b0846141e8565b614197565b9050828152602081018484840111156134d1576134d0614692565b5b6134dc84828561444f565b509392505050565b60006134f76134f284614219565b614197565b90508281526020810184848401111561351357613512614692565b5b61351e84828561444f565b509392505050565b60008135905061353581614d10565b92915050565b600082601f8301126135505761354f614688565b5b8135613560848260208601613432565b91505092915050565b60008135905061357881614d27565b92915050565b60008135905061358d81614d3e565b92915050565b6000815190506135a281614d3e565b92915050565b600082601f8301126135bd576135bc614688565b5b81356135cd8482602086016134a2565b91505092915050565b600082601f8301126135eb576135ea614688565b5b81356135fb8482602086016134e4565b91505092915050565b60008135905061361381614d55565b92915050565b60006020828403121561362f5761362e61469c565b5b600061363d84828501613526565b91505092915050565b6000806040838503121561365d5761365c61469c565b5b600061366b85828601613526565b925050602061367c85828601613526565b9150509250929050565b60008060006060848603121561369f5761369e61469c565b5b60006136ad86828701613526565b93505060206136be86828701613526565b92505060406136cf86828701613604565b9150509250925092565b600080600080608085870312156136f3576136f261469c565b5b600061370187828801613526565b945050602061371287828801613526565b935050604061372387828801613604565b925050606085013567ffffffffffffffff81111561374457613743614697565b5b613750878288016135a8565b91505092959194509250565b600080604083850312156137735761377261469c565b5b600061378185828601613526565b925050602061379285828601613569565b9150509250929050565b600080604083850312156137b3576137b261469c565b5b60006137c185828601613526565b92505060206137d285828601613604565b9150509250929050565b6000602082840312156137f2576137f161469c565b5b600082013567ffffffffffffffff8111156138105761380f614697565b5b61381c8482850161353b565b91505092915050565b60006020828403121561383b5761383a61469c565b5b60006138498482850161357e565b91505092915050565b6000602082840312156138685761386761469c565b5b600061387684828501613593565b91505092915050565b6000602082840312156138955761389461469c565b5b600082013567ffffffffffffffff8111156138b3576138b2614697565b5b6138bf848285016135d6565b91505092915050565b6000602082840312156138de576138dd61469c565b5b60006138ec84828501613604565b91505092915050565b6000613901838361390d565b60208301905092915050565b613916816143db565b82525050565b613925816143db565b82525050565b60006139368261425a565b6139408185614288565b935061394b8361424a565b8060005b8381101561397c57815161396388826138f5565b975061396e8361427b565b92505060018101905061394f565b5085935050505092915050565b613992816143ed565b82525050565b60006139a382614265565b6139ad8185614299565b93506139bd81856020860161445e565b6139c6816146a1565b840191505092915050565b60006139dc82614270565b6139e681856142aa565b93506139f681856020860161445e565b6139ff816146a1565b840191505092915050565b6000613a1582614270565b613a1f81856142bb565b9350613a2f81856020860161445e565b80840191505092915050565b6000613a48602b836142aa565b9150613a53826146b2565b604082019050919050565b6000613a6b6032836142aa565b9150613a7682614701565b604082019050919050565b6000613a8e6026836142aa565b9150613a9982614750565b604082019050919050565b6000613ab1601c836142aa565b9150613abc8261479f565b602082019050919050565b6000613ad4602a836142aa565b9150613adf826147c8565b604082019050919050565b6000613af76024836142aa565b9150613b0282614817565b604082019050919050565b6000613b1a6019836142aa565b9150613b2582614866565b602082019050919050565b6000613b3d601f836142aa565b9150613b488261488f565b602082019050919050565b6000613b60601d836142aa565b9150613b6b826148b8565b602082019050919050565b6000613b83602c836142aa565b9150613b8e826148e1565b604082019050919050565b6000613ba66028836142aa565b9150613bb182614930565b604082019050919050565b6000613bc96038836142aa565b9150613bd48261497f565b604082019050919050565b6000613bec602a836142aa565b9150613bf7826149ce565b604082019050919050565b6000613c0f6029836142aa565b9150613c1a82614a1d565b604082019050919050565b6000613c326026836142aa565b9150613c3d82614a6c565b604082019050919050565b6000613c556020836142aa565b9150613c6082614abb565b602082019050919050565b6000613c78602c836142aa565b9150613c8382614ae4565b604082019050919050565b6000613c9b6013836142aa565b9150613ca682614b33565b602082019050919050565b6000613cbe6020836142aa565b9150613cc982614b5c565b602082019050919050565b6000613ce16029836142aa565b9150613cec82614b85565b604082019050919050565b6000613d04602f836142aa565b9150613d0f82614bd4565b604082019050919050565b6000613d276021836142aa565b9150613d3282614c23565b604082019050919050565b6000613d4a6031836142aa565b9150613d5582614c72565b604082019050919050565b6000613d6d602c836142aa565b9150613d7882614cc1565b604082019050919050565b613d8c81614445565b82525050565b6000613d9e8285613a0a565b9150613daa8284613a0a565b91508190509392505050565b6000602082019050613dcb600083018461391c565b92915050565b6000608082019050613de6600083018761391c565b613df3602083018661391c565b613e006040830185613d83565b8181036060830152613e128184613998565b905095945050505050565b60006020820190508181036000830152613e37818461392b565b905092915050565b6000602082019050613e546000830184613989565b92915050565b60006020820190508181036000830152613e7481846139d1565b905092915050565b60006020820190508181036000830152613e9581613a3b565b9050919050565b60006020820190508181036000830152613eb581613a5e565b9050919050565b60006020820190508181036000830152613ed581613a81565b9050919050565b60006020820190508181036000830152613ef581613aa4565b9050919050565b60006020820190508181036000830152613f1581613ac7565b9050919050565b60006020820190508181036000830152613f3581613aea565b9050919050565b60006020820190508181036000830152613f5581613b0d565b9050919050565b60006020820190508181036000830152613f7581613b30565b9050919050565b60006020820190508181036000830152613f9581613b53565b9050919050565b60006020820190508181036000830152613fb581613b76565b9050919050565b60006020820190508181036000830152613fd581613b99565b9050919050565b60006020820190508181036000830152613ff581613bbc565b9050919050565b6000602082019050818103600083015261401581613bdf565b9050919050565b6000602082019050818103600083015261403581613c02565b9050919050565b6000602082019050818103600083015261405581613c25565b9050919050565b6000602082019050818103600083015261407581613c48565b9050919050565b6000602082019050818103600083015261409581613c6b565b9050919050565b600060208201905081810360008301526140b581613c8e565b9050919050565b600060208201905081810360008301526140d581613cb1565b9050919050565b600060208201905081810360008301526140f581613cd4565b9050919050565b6000602082019050818103600083015261411581613cf7565b9050919050565b6000602082019050818103600083015261413581613d1a565b9050919050565b6000602082019050818103600083015261415581613d3d565b9050919050565b6000602082019050818103600083015261417581613d60565b9050919050565b60006020820190506141916000830184613d83565b92915050565b60006141a16141b2565b90506141ad82826144c3565b919050565b6000604051905090565b600067ffffffffffffffff8211156141d7576141d6614659565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561420357614202614659565b5b61420c826146a1565b9050602081019050919050565b600067ffffffffffffffff82111561423457614233614659565b5b61423d826146a1565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006142d182614445565b91506142dc83614445565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156143115761431061456e565b5b828201905092915050565b600061432782614445565b915061433283614445565b9250826143425761434161459d565b5b828204905092915050565b600061435882614445565b915061436383614445565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561439c5761439b61456e565b5b828202905092915050565b60006143b282614445565b91506143bd83614445565b9250828210156143d0576143cf61456e565b5b828203905092915050565b60006143e682614425565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561447c578082015181840152602081019050614461565b8381111561448b576000848401525b50505050565b600060028204905060018216806144a957607f821691505b602082108114156144bd576144bc6145cc565b5b50919050565b6144cc826146a1565b810181811067ffffffffffffffff821117156144eb576144ea614659565b5b80604052505050565b60006144ff82614445565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156145325761453161456e565b5b600182019050919050565b600061454882614445565b915061455383614445565b9250826145635761456261459d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f6620546f6b656e7300000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f446973747269627574696f6e732063616e6e6f7420626520656d707479000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4d617820323020746f6b656e732063616e206265206d696e74656420696e206f60008201527f6e65206261746368000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f53616c65206d7573742062652061637469766520746f2062652061626c65207460008201527f6f206d696e740000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f52657175657374696e6720746f6f206d75636800000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b614d19816143db565b8114614d2457600080fd5b50565b614d30816143ed565b8114614d3b57600080fd5b50565b614d47816143f9565b8114614d5257600080fd5b50565b614d5e81614445565b8114614d6957600080fd5b5056fea2646970667358221220023a275b0722e25dd1c77aed54986c14347fc784f6c309bdcb6b2825904f393d64736f6c6343000806003368747470733a2f2f616e67656c69637265616c6d2e616e67656c736f666165746865722e636f6d2f616f6167656e636f6e7469663468773337372f416e67656c734f66416574686572436f6e74726163742e6a736f6e68747470733a2f2f616e67656c69637265616c6d2e616e67656c736f666165746865722e636f6d2f616f6167656e636f6e7469663468773337372f416e67656c734f6641657468657247656e6572616c2e6a736f6e68747470733a2f2f616e67656c69637265616c6d2e616e67656c736f666165746865722e636f6d2f616f6167656e636f6e7469663468773337372f

Deployed Bytecode

0x6080604052600436106102305760003560e01c80636373a6b11161012e578063a22cb465116100ab578063d25a16001161006f578063d25a1600146107e0578063d547cfb714610809578063e8a3d48514610834578063e985e9c51461085f578063f2fde38b1461089c57610230565b8063a22cb46514610711578063b368456b1461073a578063b88d4fde14610763578063c721f08d1461078c578063c87b56dd146107a357610230565b80638da5cb5b116100f25780638da5cb5b1461063e57806391c05b0b1461066957806392716a2d14610692578063938e3d7b146106bd57806395d89b41146106e657610230565b80636373a6b11461057857806370a08231146105a3578063715018a6146105e0578063757ff781146105f75780637ff9b5961461061357610230565b80632f745c59116101bc5780634f6ccce7116101805780634f6ccce71461049357806355f804b3146104d0578063564566a8146104f9578063616d0dfd146105245780636352211e1461053b57610230565b80632f745c59146103c457806330176e13146104015780633ccfd60b1461042a57806342842e0e1461044157806342966c681461046a57610230565b8063095ea7b311610203578063095ea7b3146103055780630c591e231461032e57806318160ddd1461034557806321d2a9041461037057806323b872dd1461039b57610230565b806301ffc9a71461023557806302aa63181461027257806306fdde031461029d578063081812fc146102c8575b600080fd5b34801561024157600080fd5b5061025c60048036038101906102579190613825565b6108c5565b6040516102699190613e3f565b60405180910390f35b34801561027e57600080fd5b5061028761093f565b6040516102949190613e1d565b60405180910390f35b3480156102a957600080fd5b506102b2610a49565b6040516102bf9190613e5a565b60405180910390f35b3480156102d457600080fd5b506102ef60048036038101906102ea91906138c8565b610adb565b6040516102fc9190613db6565b60405180910390f35b34801561031157600080fd5b5061032c6004803603810190610327919061379c565b610b60565b005b34801561033a57600080fd5b50610343610c78565b005b34801561035157600080fd5b5061035a610d38565b604051610367919061417c565b60405180910390f35b34801561037c57600080fd5b50610385610d45565b604051610392919061417c565b60405180910390f35b3480156103a757600080fd5b506103c260048036038101906103bd9190613686565b610d4a565b005b3480156103d057600080fd5b506103eb60048036038101906103e6919061379c565b610daa565b6040516103f8919061417c565b60405180910390f35b34801561040d57600080fd5b506104286004803603810190610423919061387f565b610e4f565b005b34801561043657600080fd5b5061043f610ee5565b005b34801561044d57600080fd5b5061046860048036038101906104639190613686565b610fb0565b005b34801561047657600080fd5b50610491600480360381019061048c91906138c8565b610fd0565b005b34801561049f57600080fd5b506104ba60048036038101906104b591906138c8565b611058565b6040516104c7919061417c565b60405180910390f35b3480156104dc57600080fd5b506104f760048036038101906104f2919061387f565b6110c9565b005b34801561050557600080fd5b5061050e61115f565b60405161051b9190613e3f565b60405180910390f35b34801561053057600080fd5b50610539611172565b005b34801561054757600080fd5b50610562600480360381019061055d91906138c8565b61120b565b60405161056f9190613db6565b60405180910390f35b34801561058457600080fd5b5061058d6112bd565b60405161059a9190613e5a565b60405180910390f35b3480156105af57600080fd5b506105ca60048036038101906105c59190613619565b61134b565b6040516105d7919061417c565b60405180910390f35b3480156105ec57600080fd5b506105f5611403565b005b610611600480360381019061060c91906138c8565b611540565b005b34801561061f57600080fd5b506106286116d9565b604051610635919061417c565b60405180910390f35b34801561064a57600080fd5b506106536116e5565b6040516106609190613db6565b60405180910390f35b34801561067557600080fd5b50610690600480360381019061068b91906138c8565b61170f565b005b34801561069e57600080fd5b506106a76118dd565b6040516106b4919061417c565b60405180910390f35b3480156106c957600080fd5b506106e460048036038101906106df919061387f565b6118e3565b005b3480156106f257600080fd5b506106fb611979565b6040516107089190613e5a565b60405180910390f35b34801561071d57600080fd5b506107386004803603810190610733919061375c565b611a0b565b005b34801561074657600080fd5b50610761600480360381019061075c91906137dc565b611b8c565b005b34801561076f57600080fd5b5061078a600480360381019061078591906136d9565b611c22565b005b34801561079857600080fd5b506107a1611c84565b005b3480156107af57600080fd5b506107ca60048036038101906107c591906138c8565b611d1d565b6040516107d79190613e5a565b60405180910390f35b3480156107ec57600080fd5b506108076004803603810190610802919061387f565b611dc4565b005b34801561081557600080fd5b5061081e611e5a565b60405161082b9190613e5a565b60405180910390f35b34801561084057600080fd5b50610849611ee8565b6040516108569190613e5a565b60405180910390f35b34801561086b57600080fd5b5061088660048036038101906108819190613646565b611f76565b6040516108939190613e3f565b60405180910390f35b3480156108a857600080fd5b506108c360048036038101906108be9190613619565b61200a565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109385750610937826121b6565b5b9050919050565b6060610949612298565b73ffffffffffffffffffffffffffffffffffffffff166109676116e5565b73ffffffffffffffffffffffffffffffffffffffff16146109bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b4906140bc565b60405180910390fd5b600f805480602002602001604051908101604052809291908181526020018280548015610a3f57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190600101908083116109f5575b5050505050905090565b606060008054610a5890614491565b80601f0160208091040260200160405190810160405280929190818152602001828054610a8490614491565b8015610ad15780601f10610aa657610100808354040283529160200191610ad1565b820191906000526020600020905b815481529060010190602001808311610ab457829003601f168201915b5050505050905090565b6000610ae6826122a0565b610b25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1c9061407c565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b6b8261120b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd39061411c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bfb612298565b73ffffffffffffffffffffffffffffffffffffffff161480610c2a5750610c2981610c24612298565b611f76565b5b610c69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6090613fdc565b60405180910390fd5b610c73838361230c565b505050565b610c80612298565b73ffffffffffffffffffffffffffffffffffffffff16610c9e6116e5565b73ffffffffffffffffffffffffffffffffffffffff1614610cf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ceb906140bc565b60405180910390fd5b6000610cfe610d38565b905060005b6014811015610d3457610d21338284610d1c91906142c6565b6123c5565b8080610d2c906144f4565b915050610d03565b5050565b6000600880549050905090565b601481565b610d5b610d55612298565b826123e3565b610d9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d919061413c565b60405180910390fd5b610da58383836124c1565b505050565b6000610db58361134b565b8210610df6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ded90613e7c565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610e57612298565b73ffffffffffffffffffffffffffffffffffffffff16610e756116e5565b73ffffffffffffffffffffffffffffffffffffffff1614610ecb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec2906140bc565b60405180910390fd5b8060119080519060200190610ee1929190613305565b5050565b610eed612298565b73ffffffffffffffffffffffffffffffffffffffff16610f0b6116e5565b73ffffffffffffffffffffffffffffffffffffffff1614610f61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f58906140bc565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610fac573d6000803e3d6000fd5b5050565b610fcb83838360405180602001604052806000815250611c22565b505050565b610fd8612298565b73ffffffffffffffffffffffffffffffffffffffff16610ff66116e5565b73ffffffffffffffffffffffffffffffffffffffff161461104c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611043906140bc565b60405180910390fd5b6110558161271d565b50565b6000611062610d38565b82106110a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109a9061415c565b60405180910390fd5b600882815481106110b7576110b661462a565b5b90600052602060002001549050919050565b6110d1612298565b73ffffffffffffffffffffffffffffffffffffffff166110ef6116e5565b73ffffffffffffffffffffffffffffffffffffffff1614611145576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113c906140bc565b60405180910390fd5b806010908051906020019061115b929190613305565b5050565b600c60009054906101000a900460ff1681565b61117a612298565b73ffffffffffffffffffffffffffffffffffffffff166111986116e5565b73ffffffffffffffffffffffffffffffffffffffff16146111ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e5906140bc565b60405180910390fd5b6000600c60006101000a81548160ff021916908315150217905550565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ab9061401c565b60405180910390fd5b80915050919050565b600d80546112ca90614491565b80601f01602080910402602001604051908101604052809291908181526020018280546112f690614491565b80156113435780601f1061131857610100808354040283529160200191611343565b820191906000526020600020905b81548152906001019060200180831161132657829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b390613ffc565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61140b612298565b73ffffffffffffffffffffffffffffffffffffffff166114296116e5565b73ffffffffffffffffffffffffffffffffffffffff161461147f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611476906140bc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600c60009054906101000a900460ff1661158f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115869061403c565b60405180910390fd5b60148111156115d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ca90613fbc565b60405180910390fd5b600e546115f0826115e2610d38565b61282e90919063ffffffff16565b1115611631576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162890613efc565b60405180910390fd5b3461164d8267013fbe85edc9000061284490919063ffffffff16565b111561168e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168590613f5c565b60405180910390fd5b60005b818110156116d55760006116a3610d38565b9050600e546116b0610d38565b10156116c1576116c033826123c5565b5b5080806116cd906144f4565b915050611691565b5050565b67013fbe85edc9000081565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611717612298565b73ffffffffffffffffffffffffffffffffffffffff166117356116e5565b73ffffffffffffffffffffffffffffffffffffffff161461178b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611782906140bc565b60405180910390fd5b6001600f80549050116117d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ca90613f7c565b60405180910390fd5b600047905081811161181a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118119061409c565b60405180910390fd5b6000600f805490508361182d919061431c565b905060005b600f805490508110156118d757600f81815481106118535761185261462a565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050501580156118c3573d6000803e3d6000fd5b5080806118cf906144f4565b915050611832565b50505050565b600e5481565b6118eb612298565b73ffffffffffffffffffffffffffffffffffffffff166119096116e5565b73ffffffffffffffffffffffffffffffffffffffff161461195f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611956906140bc565b60405180910390fd5b8060129080519060200190611975929190613305565b5050565b60606001805461198890614491565b80601f01602080910402602001604051908101604052809291908181526020018280546119b490614491565b8015611a015780601f106119d657610100808354040283529160200191611a01565b820191906000526020600020905b8154815290600101906020018083116119e457829003601f168201915b5050505050905090565b611a13612298565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7890613f3c565b60405180910390fd5b8060056000611a8e612298565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b3b612298565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b809190613e3f565b60405180910390a35050565b611b94612298565b73ffffffffffffffffffffffffffffffffffffffff16611bb26116e5565b73ffffffffffffffffffffffffffffffffffffffff1614611c08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bff906140bc565b60405180910390fd5b80600f9080519060200190611c1e92919061338b565b5050565b611c33611c2d612298565b836123e3565b611c72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c699061413c565b60405180910390fd5b611c7e8484848461285a565b50505050565b611c8c612298565b73ffffffffffffffffffffffffffffffffffffffff16611caa6116e5565b73ffffffffffffffffffffffffffffffffffffffff1614611d00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf7906140bc565b60405180910390fd5b6001600c60006101000a81548160ff021916908315150217905550565b6060611d28826122a0565b611d67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5e906140fc565b60405180910390fd5b6000611d716128b6565b90506000815111611d915760405180602001604052806000815250611dbc565b80611d9b84612948565b604051602001611dac929190613d92565b6040516020818303038152906040525b915050919050565b611dcc612298565b73ffffffffffffffffffffffffffffffffffffffff16611dea6116e5565b73ffffffffffffffffffffffffffffffffffffffff1614611e40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e37906140bc565b60405180910390fd5b80600d9080519060200190611e56929190613305565b5050565b60118054611e6790614491565b80601f0160208091040260200160405190810160405280929190818152602001828054611e9390614491565b8015611ee05780601f10611eb557610100808354040283529160200191611ee0565b820191906000526020600020905b815481529060010190602001808311611ec357829003601f168201915b505050505081565b60128054611ef590614491565b80601f0160208091040260200160405190810160405280929190818152602001828054611f2190614491565b8015611f6e5780601f10611f4357610100808354040283529160200191611f6e565b820191906000526020600020905b815481529060010190602001808311611f5157829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612012612298565b73ffffffffffffffffffffffffffffffffffffffff166120306116e5565b73ffffffffffffffffffffffffffffffffffffffff1614612086576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207d906140bc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156120f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ed90613ebc565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061228157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612291575061229082612aa9565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661237f8361120b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6123df828260405180602001604052806000815250612b13565b5050565b60006123ee826122a0565b61242d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242490613f9c565b60405180910390fd5b60006124388361120b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806124a757508373ffffffffffffffffffffffffffffffffffffffff1661248f84610adb565b73ffffffffffffffffffffffffffffffffffffffff16145b806124b857506124b78185611f76565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166124e18261120b565b73ffffffffffffffffffffffffffffffffffffffff1614612537576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252e906140dc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259e90613f1c565b60405180910390fd5b6125b2838383612b6e565b6125bd60008261230c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461260d91906143a7565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461266491906142c6565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006127288261120b565b905061273681600084612b6e565b61274160008361230c565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461279191906143a7565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000818361283c91906142c6565b905092915050565b60008183612852919061434d565b905092915050565b6128658484846124c1565b61287184848484612c82565b6128b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128a790613e9c565b60405180910390fd5b50505050565b6060601080546128c590614491565b80601f01602080910402602001604051908101604052809291908181526020018280546128f190614491565b801561293e5780601f106129135761010080835404028352916020019161293e565b820191906000526020600020905b81548152906001019060200180831161292157829003601f168201915b5050505050905090565b60606000821415612990576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612aa4565b600082905060005b600082146129c25780806129ab906144f4565b915050600a826129bb919061431c565b9150612998565b60008167ffffffffffffffff8111156129de576129dd614659565b5b6040519080825280601f01601f191660200182016040528015612a105781602001600182028036833780820191505090505b5090505b60008514612a9d57600182612a2991906143a7565b9150600a85612a38919061453d565b6030612a4491906142c6565b60f81b818381518110612a5a57612a5961462a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612a96919061431c565b9450612a14565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612b1d8383612e19565b612b2a6000848484612c82565b612b69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6090613e9c565b60405180910390fd5b505050565b612b79838383612fe7565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612bbc57612bb781612fec565b612bfb565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612bfa57612bf98382613035565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c3e57612c39816131a2565b612c7d565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612c7c57612c7b8282613273565b5b5b505050565b6000612ca38473ffffffffffffffffffffffffffffffffffffffff166132f2565b15612e0c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612ccc612298565b8786866040518563ffffffff1660e01b8152600401612cee9493929190613dd1565b602060405180830381600087803b158015612d0857600080fd5b505af1925050508015612d3957506040513d601f19601f82011682018060405250810190612d369190613852565b60015b612dbc573d8060008114612d69576040519150601f19603f3d011682016040523d82523d6000602084013e612d6e565b606091505b50600081511415612db4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dab90613e9c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612e11565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e809061405c565b60405180910390fd5b612e92816122a0565b15612ed2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec990613edc565b60405180910390fd5b612ede60008383612b6e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f2e91906142c6565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016130428461134b565b61304c91906143a7565b9050600060076000848152602001908152602001600020549050818114613131576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506131b691906143a7565b90506000600960008481526020019081526020016000205490506000600883815481106131e6576131e561462a565b5b9060005260206000200154905080600883815481106132085761320761462a565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613257576132566145fb565b5b6001900381819060005260206000200160009055905550505050565b600061327e8361134b565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b82805461331190614491565b90600052602060002090601f016020900481019282613333576000855561337a565b82601f1061334c57805160ff191683800117855561337a565b8280016001018555821561337a579182015b8281111561337957825182559160200191906001019061335e565b5b5090506133879190613415565b5090565b828054828255906000526020600020908101928215613404579160200282015b828111156134035782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550916020019190600101906133ab565b5b5090506134119190613415565b5090565b5b8082111561342e576000816000905550600101613416565b5090565b6000613445613440846141bc565b614197565b905080838252602082019050828560208602820111156134685761346761468d565b5b60005b85811015613498578161347e8882613526565b84526020840193506020830192505060018101905061346b565b5050509392505050565b60006134b56134b0846141e8565b614197565b9050828152602081018484840111156134d1576134d0614692565b5b6134dc84828561444f565b509392505050565b60006134f76134f284614219565b614197565b90508281526020810184848401111561351357613512614692565b5b61351e84828561444f565b509392505050565b60008135905061353581614d10565b92915050565b600082601f8301126135505761354f614688565b5b8135613560848260208601613432565b91505092915050565b60008135905061357881614d27565b92915050565b60008135905061358d81614d3e565b92915050565b6000815190506135a281614d3e565b92915050565b600082601f8301126135bd576135bc614688565b5b81356135cd8482602086016134a2565b91505092915050565b600082601f8301126135eb576135ea614688565b5b81356135fb8482602086016134e4565b91505092915050565b60008135905061361381614d55565b92915050565b60006020828403121561362f5761362e61469c565b5b600061363d84828501613526565b91505092915050565b6000806040838503121561365d5761365c61469c565b5b600061366b85828601613526565b925050602061367c85828601613526565b9150509250929050565b60008060006060848603121561369f5761369e61469c565b5b60006136ad86828701613526565b93505060206136be86828701613526565b92505060406136cf86828701613604565b9150509250925092565b600080600080608085870312156136f3576136f261469c565b5b600061370187828801613526565b945050602061371287828801613526565b935050604061372387828801613604565b925050606085013567ffffffffffffffff81111561374457613743614697565b5b613750878288016135a8565b91505092959194509250565b600080604083850312156137735761377261469c565b5b600061378185828601613526565b925050602061379285828601613569565b9150509250929050565b600080604083850312156137b3576137b261469c565b5b60006137c185828601613526565b92505060206137d285828601613604565b9150509250929050565b6000602082840312156137f2576137f161469c565b5b600082013567ffffffffffffffff8111156138105761380f614697565b5b61381c8482850161353b565b91505092915050565b60006020828403121561383b5761383a61469c565b5b60006138498482850161357e565b91505092915050565b6000602082840312156138685761386761469c565b5b600061387684828501613593565b91505092915050565b6000602082840312156138955761389461469c565b5b600082013567ffffffffffffffff8111156138b3576138b2614697565b5b6138bf848285016135d6565b91505092915050565b6000602082840312156138de576138dd61469c565b5b60006138ec84828501613604565b91505092915050565b6000613901838361390d565b60208301905092915050565b613916816143db565b82525050565b613925816143db565b82525050565b60006139368261425a565b6139408185614288565b935061394b8361424a565b8060005b8381101561397c57815161396388826138f5565b975061396e8361427b565b92505060018101905061394f565b5085935050505092915050565b613992816143ed565b82525050565b60006139a382614265565b6139ad8185614299565b93506139bd81856020860161445e565b6139c6816146a1565b840191505092915050565b60006139dc82614270565b6139e681856142aa565b93506139f681856020860161445e565b6139ff816146a1565b840191505092915050565b6000613a1582614270565b613a1f81856142bb565b9350613a2f81856020860161445e565b80840191505092915050565b6000613a48602b836142aa565b9150613a53826146b2565b604082019050919050565b6000613a6b6032836142aa565b9150613a7682614701565b604082019050919050565b6000613a8e6026836142aa565b9150613a9982614750565b604082019050919050565b6000613ab1601c836142aa565b9150613abc8261479f565b602082019050919050565b6000613ad4602a836142aa565b9150613adf826147c8565b604082019050919050565b6000613af76024836142aa565b9150613b0282614817565b604082019050919050565b6000613b1a6019836142aa565b9150613b2582614866565b602082019050919050565b6000613b3d601f836142aa565b9150613b488261488f565b602082019050919050565b6000613b60601d836142aa565b9150613b6b826148b8565b602082019050919050565b6000613b83602c836142aa565b9150613b8e826148e1565b604082019050919050565b6000613ba66028836142aa565b9150613bb182614930565b604082019050919050565b6000613bc96038836142aa565b9150613bd48261497f565b604082019050919050565b6000613bec602a836142aa565b9150613bf7826149ce565b604082019050919050565b6000613c0f6029836142aa565b9150613c1a82614a1d565b604082019050919050565b6000613c326026836142aa565b9150613c3d82614a6c565b604082019050919050565b6000613c556020836142aa565b9150613c6082614abb565b602082019050919050565b6000613c78602c836142aa565b9150613c8382614ae4565b604082019050919050565b6000613c9b6013836142aa565b9150613ca682614b33565b602082019050919050565b6000613cbe6020836142aa565b9150613cc982614b5c565b602082019050919050565b6000613ce16029836142aa565b9150613cec82614b85565b604082019050919050565b6000613d04602f836142aa565b9150613d0f82614bd4565b604082019050919050565b6000613d276021836142aa565b9150613d3282614c23565b604082019050919050565b6000613d4a6031836142aa565b9150613d5582614c72565b604082019050919050565b6000613d6d602c836142aa565b9150613d7882614cc1565b604082019050919050565b613d8c81614445565b82525050565b6000613d9e8285613a0a565b9150613daa8284613a0a565b91508190509392505050565b6000602082019050613dcb600083018461391c565b92915050565b6000608082019050613de6600083018761391c565b613df3602083018661391c565b613e006040830185613d83565b8181036060830152613e128184613998565b905095945050505050565b60006020820190508181036000830152613e37818461392b565b905092915050565b6000602082019050613e546000830184613989565b92915050565b60006020820190508181036000830152613e7481846139d1565b905092915050565b60006020820190508181036000830152613e9581613a3b565b9050919050565b60006020820190508181036000830152613eb581613a5e565b9050919050565b60006020820190508181036000830152613ed581613a81565b9050919050565b60006020820190508181036000830152613ef581613aa4565b9050919050565b60006020820190508181036000830152613f1581613ac7565b9050919050565b60006020820190508181036000830152613f3581613aea565b9050919050565b60006020820190508181036000830152613f5581613b0d565b9050919050565b60006020820190508181036000830152613f7581613b30565b9050919050565b60006020820190508181036000830152613f9581613b53565b9050919050565b60006020820190508181036000830152613fb581613b76565b9050919050565b60006020820190508181036000830152613fd581613b99565b9050919050565b60006020820190508181036000830152613ff581613bbc565b9050919050565b6000602082019050818103600083015261401581613bdf565b9050919050565b6000602082019050818103600083015261403581613c02565b9050919050565b6000602082019050818103600083015261405581613c25565b9050919050565b6000602082019050818103600083015261407581613c48565b9050919050565b6000602082019050818103600083015261409581613c6b565b9050919050565b600060208201905081810360008301526140b581613c8e565b9050919050565b600060208201905081810360008301526140d581613cb1565b9050919050565b600060208201905081810360008301526140f581613cd4565b9050919050565b6000602082019050818103600083015261411581613cf7565b9050919050565b6000602082019050818103600083015261413581613d1a565b9050919050565b6000602082019050818103600083015261415581613d3d565b9050919050565b6000602082019050818103600083015261417581613d60565b9050919050565b60006020820190506141916000830184613d83565b92915050565b60006141a16141b2565b90506141ad82826144c3565b919050565b6000604051905090565b600067ffffffffffffffff8211156141d7576141d6614659565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561420357614202614659565b5b61420c826146a1565b9050602081019050919050565b600067ffffffffffffffff82111561423457614233614659565b5b61423d826146a1565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006142d182614445565b91506142dc83614445565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156143115761431061456e565b5b828201905092915050565b600061432782614445565b915061433283614445565b9250826143425761434161459d565b5b828204905092915050565b600061435882614445565b915061436383614445565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561439c5761439b61456e565b5b828202905092915050565b60006143b282614445565b91506143bd83614445565b9250828210156143d0576143cf61456e565b5b828203905092915050565b60006143e682614425565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561447c578082015181840152602081019050614461565b8381111561448b576000848401525b50505050565b600060028204905060018216806144a957607f821691505b602082108114156144bd576144bc6145cc565b5b50919050565b6144cc826146a1565b810181811067ffffffffffffffff821117156144eb576144ea614659565b5b80604052505050565b60006144ff82614445565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156145325761453161456e565b5b600182019050919050565b600061454882614445565b915061455383614445565b9250826145635761456261459d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f6620546f6b656e7300000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f446973747269627574696f6e732063616e6e6f7420626520656d707479000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4d617820323020746f6b656e732063616e206265206d696e74656420696e206f60008201527f6e65206261746368000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f53616c65206d7573742062652061637469766520746f2062652061626c65207460008201527f6f206d696e740000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f52657175657374696e6720746f6f206d75636800000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b614d19816143db565b8114614d2457600080fd5b50565b614d30816143ed565b8114614d3b57600080fd5b50565b614d47816143f9565b8114614d5257600080fd5b50565b614d5e81614445565b8114614d6957600080fd5b5056fea2646970667358221220023a275b0722e25dd1c77aed54986c14347fc784f6c309bdcb6b2825904f393d64736f6c63430008060033

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.