ETH Price: $2,532.88 (-1.12%)

Token

Apymon (APYMON)
 

Overview

Max Total Supply

6,400 APYMON

Holders

1,523

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 APYMON
0x6d860b9431257BEE012848D1843AAd1a7d1205fC
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Apymon Revolution is a collection of 6400 procedurally designed eggs created by AI. What makes these Genesis Eggs special is that they are the healing pod for your Warriors after they Battle in the Apymon Revolution Game (In Design Phase).

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Apymon

Compiler Version
v0.8.1+commit.df193b15

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

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

pragma solidity ^0.8.0;

import './IERC20.sol';
import './ERC721.sol';
import './Ownable.sol';

interface ERC20Interface is IERC20 {
    function deposit() external payable;
}

interface IApymonPack {
    function increaseInsideTokenBalance(
        uint256 eggId,
        uint8 tokenType,
        address token,
        uint256 amount
    ) external;
}

contract Apymon is ERC721, Ownable {
    using SafeMath for uint256;

    string public APYMON_PROVENANCE = "";

    // Maximum amount of Eggs in existance. Ever.
    uint256 public constant MAX_EGG_SUPPLY = 6400;
    uint256 public constant MAX_APYMON_SUPPLY = 12800;
    uint256 public CREATURE_SUPPLY;
    
    // Referral management
    mapping(address => uint256) public _referralAmounts;
    mapping(address => mapping(address => bool)) public _referralStatus;

    IApymonPack public _apymonpack;

    ERC20Interface private constant _weth = ERC20Interface(
        0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 // mainnet
    );

    address payable private constant _team = payable(
        0x262655a65538C71454Cb60951BF1a79E19668218
    );
    address payable private constant _treasury = payable(
        0xeD2D1254e79835bF5911Aa8946e23bf508477Da4
    );
    bool public hasSaleStarted = false;

    constructor(
        string memory baseURI
    ) ERC721("Apymon", "APYMON") {
        _setBaseURI(baseURI);
    }

    function exists(uint256 tokenId) public view returns (bool) {
        return _exists(tokenId);
    }

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

    /**
    * @dev Gets egg count to mint per once.
    */
    function getMintableCount() public view returns (uint256) {
        uint256 eggSupply = totalSupply() - CREATURE_SUPPLY;

        if (eggSupply >= MAX_EGG_SUPPLY) {
            return 0;
        } else if (eggSupply > 6395) { // 6396 ~ 6400
            return 1;
        } else if (eggSupply > 6000) { // 6001 ~ 6395
            return 5;
        } else {
            return 20; // 1 ~ 6000
        }
    }

    function getEggPrice() public view returns (uint256) {
        uint256 eggSupply = totalSupply() - CREATURE_SUPPLY;

        if (eggSupply >= MAX_EGG_SUPPLY) {
            return 0;
        } else if (eggSupply > 6395) { // 6396 ~ 6400
            return 2 ether;
        } else if (eggSupply > 6365) { // 6366 ~ 6395
            return 1 ether;
        } else if (eggSupply > 6300) { // 6301 ~ 6365
            return 0.64 ether;
        } else if (eggSupply > 6000) { // 6001 ~ 6300
            return 0.32 ether;
        } else if (eggSupply > 4000) { // 4001 ~ 6000
            return 0.16 ether;
        } else if (eggSupply > 500) { // 501 ~ 4000
            return 0.08 ether;
        } else {
            return 0.04 ether; // 1 ~ 500
        }
    }

    function getRandomNumber(uint256 a, uint256 b) public view returns (uint256) {
        uint256 min = a;
        uint256 max = (b.add(1)).sub(min);
        return (uint256(uint256(keccak256(abi.encodePacked(blockhash(block.number))))%max)).add(min);
    }

    function distributeRandomBonus(
        uint8 tier
    ) external onlyOwner {
        require(
            !hasSaleStarted,
            "Sale hasn't finised yet."
        );

        uint256 randomId;

        if (tier == 1) {
            randomId = getRandomNumber(0, 499);
        } else if (tier == 2) {
            randomId = getRandomNumber(500, 3999);
        } else if (tier == 3) {
            randomId = getRandomNumber(4000, 5999);
        } else if (tier == 4) {
            randomId = getRandomNumber(6000, 6299);
        } else if (tier == 5) {
            randomId = getRandomNumber(6300, 6364);
        } else if (tier == 6) {
            randomId = getRandomNumber(6365, 6394);
        } else if (tier == 7) {
            randomId = getRandomNumber(6395, 6399);
        } else {
            return;
        }

        uint256 bonus = getRandomNumber(0, 1E18);
        
        if (bonus > 0) {
            _apymonpack.increaseInsideTokenBalance(
                randomId,
                1, // TOKEN_TYPE_ERC20
                address(_weth),
                bonus
            );

            _weth.deposit{ value: bonus }();
            _weth.transfer(address(_apymonpack), bonus);
        }
    }

    function distributeReferral(
        uint256 startEggId,
        uint256 endEggId
    ) external onlyOwner {
        require(
            !hasSaleStarted,
            "Sale hasn't finised yet."
        );
        uint256 totalReferralAmount;

        for (uint256 i = startEggId; i <= endEggId; i++) {
            address owner = ownerOf(i);
            uint256 referralAmount = _referralAmounts[owner];
            if (referralAmount > 0) {
                _apymonpack.increaseInsideTokenBalance(
                    i,
                    1, // TOKEN_TYPE_ERC20
                    address(_weth),
                    referralAmount
                );
                totalReferralAmount = totalReferralAmount.add(referralAmount);
                delete _referralAmounts[owner];
            }
        }

        if (totalReferralAmount > 0) {
            _weth.deposit{ value: totalReferralAmount }();
            _weth.transfer(address(_apymonpack), totalReferralAmount);
        }
    }
    
    /**
    * @dev Changes the base URI if we want to move things in the future (Callable by owner only)
    */
    function setBaseURI(string memory baseURI) onlyOwner external {
       _setBaseURI(baseURI);
    }

    /**
    * @dev Set apymon pack address
    */
    function setApymonPack(address apymonpack) onlyOwner external {
       _apymonpack = IApymonPack(apymonpack);
    }

    function setProvenance(string memory _provenance) onlyOwner external {
        APYMON_PROVENANCE = _provenance;
    }

    /**
     * @dev Mints yourself Eggs.
     */
    function mintEggs(
        address to,
        uint256 count,
        address referee
    ) public payable {
        uint256 eggSupply = totalSupply() - CREATURE_SUPPLY;
        require(
            hasSaleStarted,
            "Sale hasn't started."
        );
        require(
            count > 0 && count <= getMintableCount()
        );
        require(
            SafeMath.add(eggSupply, count) <= MAX_EGG_SUPPLY
        );
        require(
            SafeMath.mul(getEggPrice(), count) == msg.value
        );

        for (uint256 i; i < count; i++) {
            uint256 mintIndex = totalSupply() - CREATURE_SUPPLY;
            _safeMint(to, mintIndex);
        }

        if (referee != address(0) && referee != to) {
            _addReferralAmount(referee, to, msg.value);
        }
    }

    /**
     * @dev Mints creature to apymonpacks.
     * Creatures must be distributed to owners of egg.
     */
    function mintCreature() external returns (uint256 creatureId) {
        require(msg.sender == address(_apymonpack));
        require(
            !hasSaleStarted,
            "Sale hasn't finised yet."
        );
        creatureId = MAX_EGG_SUPPLY + CREATURE_SUPPLY;
        require(!_exists(creatureId));
        _safeMint(address(_apymonpack), creatureId);
        CREATURE_SUPPLY++;
    }

    /**
     * @dev send eth to team and treasury.
     */
    function requestFund(
        uint256 amount
    ) external onlyOwner {
        uint256 teamFund = amount.div(2);
        _team.transfer(teamFund);
        _treasury.transfer(amount.sub(teamFund));
    }

    function startSale() public onlyOwner {
        hasSaleStarted = true;
    }

    function pauseSale() public onlyOwner {
        hasSaleStarted = false;
    }

    /**
     * @dev private function to record referral status.
     */
    function _addReferralAmount(
        address referee,
        address referrer,
        uint256 amount
    ) private {
        uint256 refereeBalance = ERC721.balanceOf(referee);
        bool status = _referralStatus[referrer][referee];
        uint256 referralAmount = amount.div(10);

        if (refereeBalance != 0 && !status) {
            _referralAmounts[referee] = _referralAmounts[referee].add(referralAmount);
            _referralAmounts[referrer] = _referralAmounts[referrer].add(referralAmount);
            _referralStatus[referrer][referee] = true;
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @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);
        require(isContract(target));

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(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 3 of 16: Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "./EnumerableSet.sol";

/**
 * @dev Library for managing an enumerable variant of Solidity's
 * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]
 * type.
 *
 * Maps have the following properties:
 *
 * - Entries are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Entries are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableMap for EnumerableMap.UintToAddressMap;
 *
 *     // Declare a set state variable
 *     EnumerableMap.UintToAddressMap private myMap;
 * }
 * ```
 *
 * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are
 * supported.
 */
library EnumerableMap {
    using EnumerableSet for EnumerableSet.Bytes32Set;

    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Map type with
    // bytes32 keys and values.
    // The Map implementation uses private functions, and user-facing
    // implementations (such as Uint256ToAddressMap) are just wrappers around
    // the underlying Map.
    // This means that we can only create new EnumerableMaps for types that fit
    // in bytes32.

    struct Map {
        // Storage of keys
        EnumerableSet.Bytes32Set _keys;

        mapping (bytes32 => bytes32) _values;
    }

    /**
     * @dev Adds a key-value pair to a map, or updates the value for an existing
     * key. O(1).
     *
     * Returns true if the key was added to the map, that is if it was not
     * already present.
     */
    function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {
        map._values[key] = value;
        return map._keys.add(key);
    }

    /**
     * @dev Removes a key-value pair from a map. O(1).
     *
     * Returns true if the key was removed from the map, that is if it was present.
     */
    function _remove(Map storage map, bytes32 key) private returns (bool) {
        delete map._values[key];
        return map._keys.remove(key);
    }

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

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

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

    /**
     * @dev Tries to returns the value associated with `key`.  O(1).
     * Does not revert if `key` is not in the map.
     */
    function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {
        bytes32 value = map._values[key];
        if (value == bytes32(0)) {
            return (_contains(map, key), bytes32(0));
        } else {
            return (true, value);
        }
    }

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

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

    // UintToAddressMap

    struct UintToAddressMap {
        Map _inner;
    }

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

            // 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 6 of 16: ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC721Receiver.sol";
import "./IERC721Metadata.sol";
import "./IERC721Enumerable.sol";
import "./Address.sol";
import "./Strings.sol";
import "./EnumerableSet.sol";
import "./EnumerableMap.sol";
import "./SafeMath.sol";
import "./Context.sol";
import "./ERC165.sol";

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

    // Base URI
    string private _baseURI;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

        _holderTokens[to].add(tokenId);

        _tokenOwners.set(tokenId, to);

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

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

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

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

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

        _holderTokens[owner].remove(tokenId);

        _tokenOwners.remove(tokenId);

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        _tokenOwners.set(tokenId, to);

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    function balanceOf(address account) external view returns (uint256);
    function transfer(address recipient, uint256 amount) external returns (bool);
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
}

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC721.sol";

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC721.sol";

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, 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 16 of 16: Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    /**
     * @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);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"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":"APYMON_PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CREATURE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_APYMON_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_EGG_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_apymonpack","outputs":[{"internalType":"contract IApymonPack","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_referralAmounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"_referralStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"tier","type":"uint8"}],"name":"distributeRandomBonus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"startEggId","type":"uint256"},{"internalType":"uint256","name":"endEggId","type":"uint256"}],"name":"distributeReferral","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getEggPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintableCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"a","type":"uint256"},{"internalType":"uint256","name":"b","type":"uint256"}],"name":"getRandomNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasSaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintCreature","outputs":[{"internalType":"uint256","name":"creatureId","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"count","type":"uint256"},{"internalType":"address","name":"referee","type":"address"}],"name":"mintEggs","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":"pauseSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"requestFund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"apymonpack","type":"address"}],"name":"setApymonPack","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_provenance","type":"string"}],"name":"setProvenance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040819052600060808190526200001b91600c91620001f8565b506010805460ff60a01b191690553480156200003657600080fd5b50604051620034723803806200347283398101604081905262000059916200029e565b6040518060400160405280600681526020016520b83cb6b7b760d11b8152506040518060400160405280600681526020016520a82ca6a7a760d11b815250620000af6301ffc9a760e01b6200018060201b60201c565b8151620000c4906007906020850190620001f8565b508051620000da906008906020840190620001f8565b50620000ed6380ac58cd60e01b62000180565b620000ff635b5e139f60e01b62000180565b6200011163780e9d6360e01b62000180565b506000905062000120620001db565b600b80546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506200017981620001df565b50620003fe565b6001600160e01b03198082161415620001b65760405162461bcd60e51b8152600401620001ad9062000374565b60405180910390fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b3390565b8051620001f490600a906020840190620001f8565b5050565b8280546200020690620003ab565b90600052602060002090601f0160209004810192826200022a576000855562000275565b82601f106200024557805160ff191683800117855562000275565b8280016001018555821562000275579182015b828111156200027557825182559160200191906001019062000258565b506200028392915062000287565b5090565b5b8082111562000283576000815560010162000288565b60006020808385031215620002b1578182fd5b82516001600160401b0380821115620002c8578384fd5b818501915085601f830112620002dc578384fd5b815181811115620002f157620002f1620003e8565b604051601f8201601f19908116603f011681019083821181831017156200031c576200031c620003e8565b81604052828152888684870101111562000334578687fd5b8693505b8284101562000357578484018601518185018701529285019262000338565b828411156200036857868684830101525b98975050505050505050565b6020808252601c908201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604082015260600190565b600281046001821680620003c057607f821691505b60208210811415620003e257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b613064806200040e6000396000f3fe60806040526004361061025c5760003560e01c806370a0823111610144578063b88d4fde116100b6578063dc235af31161007a578063dc235af314610690578063e1dbae63146106b0578063e985e9c5146106d0578063ebc44150146106f0578063f2fde38b14610705578063ffe630b5146107255761025c565b8063b88d4fde146105fb578063c87b56dd1461061b578063c912756a1461063b578063caabb87d1461065b578063cc1d6f63146106705761025c565b80638da5cb5b116101085780638da5cb5b146105725780639357cced1461058757806395d89b411461059c5780639792b780146105b1578063a22cb465146105c6578063b66a0e5d146105e65761025c565b806370a08231146104e6578063715018a61461050657806372e625d21461051b5780638462151c146105305780638bf97a811461055d5761025c565b80634b0c07e8116101dd57806355f804b3116101a157806355f804b314610431578063586aa7ef146104515780636352211e1461047157806365d6e4ee146104915780636c0360eb146104b15780636e68fc0a146104c65761025c565b80634b0c07e8146103b45780634f558e79146103c75780634f6ccce7146103e7578063514b15701461040757806355367ba91461041c5761025c565b80631c8b232d116102245780631c8b232d1461032a57806323b872dd1461033f5780632f745c591461035f5780633c5d88df1461037f57806342842e0e146103945761025c565b806301ffc9a71461026157806306fdde0314610297578063081812fc146102b9578063095ea7b3146102e657806318160ddd14610308575b600080fd5b34801561026d57600080fd5b5061028161027c36600461276c565b610745565b60405161028e9190612972565b60405180910390f35b3480156102a357600080fd5b506102ac610768565b60405161028e919061297d565b3480156102c557600080fd5b506102d96102d43660046127ea565b6107fb565b60405161028e91906128c4565b3480156102f257600080fd5b506103066103013660046126ec565b610847565b005b34801561031457600080fd5b5061031d6108df565b60405161028e9190612870565b34801561033657600080fd5b506102816108f0565b34801561034b57600080fd5b5061030661035a366004612602565b610900565b34801561036b57600080fd5b5061031d61037a3660046126ec565b610938565b34801561038b57600080fd5b506102d9610963565b3480156103a057600080fd5b506103066103af366004612602565b610972565b6103066103c2366004612715565b61098d565b3480156103d357600080fd5b506102816103e23660046127ea565b610aa6565b3480156103f357600080fd5b5061031d6104023660046127ea565b610ab1565b34801561041357600080fd5b5061031d610ac7565b34801561042857600080fd5b50610306610baa565b34801561043d57600080fd5b5061030661044c3660046127a4565b610bf8565b34801561045d57600080fd5b5061030661046c366004612823565b610c43565b34801561047d57600080fd5b506102d961048c3660046127ea565b610f0a565b34801561049d57600080fd5b506103066104ac366004612802565b610f32565b3480156104bd57600080fd5b506102ac6110ea565b3480156104d257600080fd5b5061031d6104e1366004612802565b6110f9565b3480156104f257600080fd5b5061031d6105013660046125b6565b61115d565b34801561051257600080fd5b506103066111a6565b34801561052757600080fd5b506102ac61122f565b34801561053c57600080fd5b5061055061054b3660046125b6565b6112bd565b60405161028e919061292e565b34801561056957600080fd5b5061031d61139e565b34801561057e57600080fd5b506102d96113a4565b34801561059357600080fd5b5061031d6113b3565b3480156105a857600080fd5b506102ac6113b9565b3480156105bd57600080fd5b5061031d6113c8565b3480156105d257600080fd5b506103066105e13660046126b6565b6113ce565b3480156105f257600080fd5b5061030661149c565b34801561060757600080fd5b5061030661061636600461263d565b6114f0565b34801561062757600080fd5b506102ac6106363660046127ea565b611529565b34801561064757600080fd5b5061031d6106563660046125b6565b61166c565b34801561066757600080fd5b5061031d61167e565b34801561067c57600080fd5b5061030661068b3660046127ea565b6116dd565b34801561069c57600080fd5b506102816106ab3660046125d0565b6117b8565b3480156106bc57600080fd5b506103066106cb3660046125b6565b6117d8565b3480156106dc57600080fd5b506102816106eb3660046125d0565b611839565b3480156106fc57600080fd5b5061031d611867565b34801561071157600080fd5b506103066107203660046125b6565b6118fd565b34801561073157600080fd5b506103066107403660046127a4565b6119be565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60606007805461077790612f09565b80601f01602080910402602001604051908101604052809291908181526020018280546107a390612f09565b80156107f05780601f106107c5576101008083540402835291602001916107f0565b820191906000526020600020905b8154815290600101906020018083116107d357829003601f168201915b505050505090505b90565b600061080682611a14565b61082b5760405162461bcd60e51b815260040161082290612ca9565b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061085282610f0a565b9050806001600160a01b0316836001600160a01b031614156108865760405162461bcd60e51b815260040161082290612dc2565b806001600160a01b0316610898611a21565b6001600160a01b031614806108b457506108b4816106eb611a21565b6108d05760405162461bcd60e51b815260040161082290612bcd565b6108da8383611a25565b505050565b60006108eb6002611a93565b905090565b601054600160a01b900460ff1681565b61091161090b611a21565b82611a9e565b61092d5760405162461bcd60e51b815260040161082290612e03565b6108da838383611b23565b6001600160a01b038216600090815260016020526040812061095a9083611c31565b90505b92915050565b6010546001600160a01b031681565b6108da838383604051806020016040528060008152506114f0565b6000600d5461099a6108df565b6109a49190612ec6565b601054909150600160a01b900460ff166109d05760405162461bcd60e51b8152600401610822906129d2565b6000831180156109e757506109e361167e565b8311155b6109f057600080fd5b6119006109fd8285611c3d565b1115610a0857600080fd5b34610a1a610a14610ac7565b85611c49565b14610a2457600080fd5b60005b83811015610a65576000600d54610a3c6108df565b610a469190612ec6565b9050610a528682611c55565b5080610a5d81612f3e565b915050610a27565b506001600160a01b03821615801590610a905750836001600160a01b0316826001600160a01b031614155b15610aa057610aa0828534611c6f565b50505050565b600061095d82611a14565b600080610abf600284611d61565b509392505050565b600080600d54610ad56108df565b610adf9190612ec6565b90506119008110610af45760009150506107f8565b6118fb811115610b0f57671bc16d674ec800009150506107f8565b6118dd811115610b2a57670de0b6b3a76400009150506107f8565b61189c811115610b45576708e1bc9bf04000009150506107f8565b611770811115610b6057670470de4df82000009150506107f8565b610fa0811115610b7b576702386f26fc1000009150506107f8565b6101f4811115610b965767011c37937e0800009150506107f8565b668e1bc9bf0400009150506107f8565b5090565b610bb2611a21565b6001600160a01b0316610bc36113a4565b6001600160a01b031614610be95760405162461bcd60e51b815260040161082290612cf5565b6010805460ff60a01b19169055565b610c00611a21565b6001600160a01b0316610c116113a4565b6001600160a01b031614610c375760405162461bcd60e51b815260040161082290612cf5565b610c4081611d7d565b50565b610c4b611a21565b6001600160a01b0316610c5c6113a4565b6001600160a01b031614610c825760405162461bcd60e51b815260040161082290612cf5565b601054600160a01b900460ff1615610cac5760405162461bcd60e51b815260040161082290612b4a565b60008160ff1660011415610cce57610cc760006101f36110f9565b9050610d70565b8160ff1660021415610ce857610cc76101f4610f9f6110f9565b8160ff1660031415610d0257610cc7610fa061176f6110f9565b8160ff1660041415610d1c57610cc761177061189b6110f9565b8160ff1660051415610d3657610cc761189c6118dc6110f9565b8160ff1660061415610d5057610cc76118dd6118fa6110f9565b8160ff1660071415610d6a57610cc76118fb6118ff6110f9565b50610c40565b6000610d856000670de0b6b3a76400006110f9565b905080156108da57601054604051635483404b60e11b81526001600160a01b039091169063a906809690610dd890859060019073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2908790600401612e54565b600060405180830381600087803b158015610df257600080fd5b505af1158015610e06573d6000803e3d6000fd5b5050505073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b158015610e5957600080fd5b505af1158015610e6d573d6000803e3d6000fd5b505060105460405163a9059cbb60e01b815273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2945063a9059cbb9350610eb892506001600160a01b03909116908590600401612915565b602060405180830381600087803b158015610ed257600080fd5b505af1158015610ee6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa09190612750565b600061095d826040518060600160405280602981526020016130066029913960029190611d90565b610f3a611a21565b6001600160a01b0316610f4b6113a4565b6001600160a01b031614610f715760405162461bcd60e51b815260040161082290612cf5565b601054600160a01b900460ff1615610f9b5760405162461bcd60e51b815260040161082290612b4a565b6000825b828111611094576000610fb182610f0a565b6001600160a01b0381166000908152600e6020526040902054909150801561107f57601054604051635483404b60e11b81526001600160a01b039091169063a90680969061101e90869060019073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2908790600401612e54565b600060405180830381600087803b15801561103857600080fd5b505af115801561104c573d6000803e3d6000fd5b505050506110638185611c3d90919063ffffffff16565b6001600160a01b0383166000908152600e602052604081205593505b5050808061108c90612f3e565b915050610f9f565b5080156108da5773c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b158015610e5957600080fd5b6060600a805461077790612f09565b600082816111128261110c866001611c3d565b90611da7565b90506111548282434060405160200161112b9190612870565b6040516020818303038152906040528051906020012060001c61114e9190612f59565b90611c3d565b95945050505050565b60006001600160a01b0382166111855760405162461bcd60e51b815260040161082290612c2a565b6001600160a01b038216600090815260016020526040902061095d90611db3565b6111ae611a21565b6001600160a01b03166111bf6113a4565b6001600160a01b0316146111e55760405162461bcd60e51b815260040161082290612cf5565b600b546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600b80546001600160a01b0319169055565b600c805461123c90612f09565b80601f016020809104026020016040519081016040528092919081815260200182805461126890612f09565b80156112b55780601f1061128a576101008083540402835291602001916112b5565b820191906000526020600020905b81548152906001019060200180831161129857829003601f168201915b505050505081565b606060006112ca8361115d565b9050806112e7575050604080516000815260208101909152610763565b60008167ffffffffffffffff81111561131057634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611339578160200160208202803683370190505b50905060005b8281101561138e576113518582610938565b82828151811061137157634e487b7160e01b600052603260045260246000fd5b60209081029190910101528061138681612f3e565b91505061133f565b5091506107639050565b50919050565b61190081565b600b546001600160a01b031690565b600d5481565b60606008805461077790612f09565b61320081565b6113d6611a21565b6001600160a01b0316826001600160a01b031614156114075760405162461bcd60e51b815260040161082290612b13565b8060066000611414611a21565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611458611a21565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114909190612972565b60405180910390a35050565b6114a4611a21565b6001600160a01b03166114b56113a4565b6001600160a01b0316146114db5760405162461bcd60e51b815260040161082290612cf5565b6010805460ff60a01b1916600160a01b179055565b6115016114fb611a21565b83611a9e565b61151d5760405162461bcd60e51b815260040161082290612e03565b610aa084848484611dbe565b606061153482611a14565b6115505760405162461bcd60e51b815260040161082290612d73565b6000828152600960205260408120805461156990612f09565b80601f016020809104026020016040519081016040528092919081815260200182805461159590612f09565b80156115e25780601f106115b7576101008083540402835291602001916115e2565b820191906000526020600020905b8154815290600101906020018083116115c557829003601f168201915b5050505050905060006115f36110ea565b905080516000141561160757509050610763565b815115611639578082604051602001611621929190612895565b60405160208183030381529060405292505050610763565b8061164385611df1565b604051602001611654929190612895565b60405160208183030381529060405292505050919050565b600e6020526000908152604090205481565b600080600d5461168c6108df565b6116969190612ec6565b905061190081106116ab5760009150506107f8565b6118fb8111156116bf5760019150506107f8565b6117708111156116d35760059150506107f8565b60149150506107f8565b6116e5611a21565b6001600160a01b03166116f66113a4565b6001600160a01b03161461171c5760405162461bcd60e51b815260040161082290612cf5565b6000611729826002611f0c565b60405190915073262655a65538c71454cb60951bf1a79e196682189082156108fc029083906000818181858888f1935050505015801561176d573d6000803e3d6000fd5b5073ed2d1254e79835bf5911aa8946e23bf508477da46108fc6117908484611da7565b6040518115909202916000818181858888f193505050501580156108da573d6000803e3d6000fd5b600f60209081526000928352604080842090915290825290205460ff1681565b6117e0611a21565b6001600160a01b03166117f16113a4565b6001600160a01b0316146118175760405162461bcd60e51b815260040161082290612cf5565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6010546000906001600160a01b0316331461188157600080fd5b601054600160a01b900460ff16156118ab5760405162461bcd60e51b815260040161082290612b4a565b600d546118ba90611900612e7b565b90506118c581611a14565b156118cf57600080fd5b6010546118e5906001600160a01b031682611c55565b600d80549060006118f583612f3e565b919050555090565b611905611a21565b6001600160a01b03166119166113a4565b6001600160a01b03161461193c5760405162461bcd60e51b815260040161082290612cf5565b6001600160a01b0381166119625760405162461bcd60e51b815260040161082290612a52565b600b546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6119c6611a21565b6001600160a01b03166119d76113a4565b6001600160a01b0316146119fd5760405162461bcd60e51b815260040161082290612cf5565b8051611a1090600c906020840190612499565b5050565b600061095d600283611f18565b3390565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611a5a82610f0a565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061095d82611f24565b6000611aa982611a14565b611ac55760405162461bcd60e51b815260040161082290612b81565b6000611ad083610f0a565b9050806001600160a01b0316846001600160a01b03161480611b0b5750836001600160a01b0316611b00846107fb565b6001600160a01b0316145b80611b1b5750611b1b8185611839565b949350505050565b826001600160a01b0316611b3682610f0a565b6001600160a01b031614611b5c5760405162461bcd60e51b815260040161082290612d2a565b6001600160a01b038216611b825760405162461bcd60e51b815260040161082290612acf565b611b8d8383836108da565b611b98600082611a25565b6001600160a01b0383166000908152600160205260409020611bba9082611f2f565b506001600160a01b0382166000908152600160205260409020611bdd9082611f3b565b50611bea60028284611f47565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061095a8383611f5d565b600061095a8284612e7b565b600061095a8284612ea7565b611a10828260405180602001604052806000815250611fb6565b6000611c7a8461115d565b6001600160a01b038085166000908152600f6020908152604080832093891683529290529081205491925060ff90911690611cb684600a611f0c565b90508215801590611cc5575081155b15611d59576001600160a01b0386166000908152600e6020526040902054611ced9082611c3d565b6001600160a01b038088166000908152600e60205260408082209390935590871681522054611d1c9082611c3d565b6001600160a01b038087166000908152600e6020908152604080832094909455600f8152838220928a1682529190915220805460ff191660011790555b505050505050565b6000808080611d708686611fe9565b9097909650945050505050565b8051611a1090600a906020840190612499565b6000611d9d848484612014565b90505b9392505050565b600061095a8284612ec6565b600061095d82612060565b611dc9848484611b23565b611dd584848484612064565b610aa05760405162461bcd60e51b815260040161082290612a00565b606081611e1657506040805180820190915260018152600360fc1b6020820152610763565b8160005b8115611e405780611e2a81612f3e565b9150611e399050600a83612e93565b9150611e1a565b60008167ffffffffffffffff811115611e6957634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611e93576020820181803683370190505b5090505b8415611b1b57611ea8600183612ec6565b9150611eb5600a86612f59565b611ec0906030612e7b565b60f81b818381518110611ee357634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611f05600a86612e93565b9450611e97565b600061095a8284612e93565b600061095a8383612143565b600061095d82611db3565b600061095a838361214f565b600061095a8383612266565b6000611d9d84846001600160a01b0385166122b0565b81546000908210611f805760405162461bcd60e51b815260040161082290612990565b826000018281548110611fa357634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b611fc083836122cd565b611fcd6000848484612064565b6108da5760405162461bcd60e51b815260040161082290612a00565b60008080611ff78585611c31565b600081815260029690960160205260409095205494959350505050565b60008281526002840160205260408120548015158061203857506120388585612143565b83906120575760405162461bcd60e51b8152600401610822919061297d565b50949350505050565b5490565b6000612078846001600160a01b0316612391565b61208457506001611b1b565b600061210c630a85bd0160e11b612099611a21565b8887876040516024016120af94939291906128d8565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001612fd4603291396001600160a01b0388169190612397565b90506000818060200190518101906121249190612788565b6001600160e01b031916630a85bd0160e11b1492505050949350505050565b600061095a83836123a6565b6000818152600183016020526040812054801561225c576000612173600183612ec6565b855490915060009061218790600190612ec6565b905060008660000182815481106121ae57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050808760000184815481106121df57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526001890190915260409020849055865487908061222057634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061095d565b600091505061095d565b600061227283836123ae565b6122a85750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561095d565b50600061095d565b60008281526002840160205260408120829055611d9d8484611f3b565b6001600160a01b0382166122f35760405162461bcd60e51b815260040161082290612c74565b6122fc81611a14565b156123195760405162461bcd60e51b815260040161082290612a98565b612325600083836108da565b6001600160a01b03821660009081526001602052604090206123479082611f3b565b5061235460028284611f47565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b6060611d9d84846000856123c6565b600061095a83835b60009081526001919091016020526040902054151590565b6060824710156123d557600080fd5b6123de85612391565b6123e757600080fd5b600080866001600160a01b031685876040516124039190612879565b60006040518083038185875af1925050503d8060008114612440576040519150601f19603f3d011682016040523d82523d6000602084013e612445565b606091505b5091509150612455828286612460565b979650505050505050565b6060831561246f575081611da0565b82511561247f5782518084602001fd5b8160405162461bcd60e51b8152600401610822919061297d565b8280546124a590612f09565b90600052602060002090601f0160209004810192826124c7576000855561250d565b82601f106124e057805160ff191683800117855561250d565b8280016001018555821561250d579182015b8281111561250d5782518255916020019190600101906124f2565b50610ba69291505b80821115610ba65760008155600101612515565b600067ffffffffffffffff8084111561254457612544612f99565b604051601f8501601f19908116603f0116810190828211818310171561256c5761256c612f99565b8160405280935085815286868601111561258557600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461076357600080fd5b6000602082840312156125c7578081fd5b61095a8261259f565b600080604083850312156125e2578081fd5b6125eb8361259f565b91506125f96020840161259f565b90509250929050565b600080600060608486031215612616578081fd5b61261f8461259f565b925061262d6020850161259f565b9150604084013590509250925092565b60008060008060808587031215612652578081fd5b61265b8561259f565b93506126696020860161259f565b925060408501359150606085013567ffffffffffffffff81111561268b578182fd5b8501601f8101871361269b578182fd5b6126aa87823560208401612529565b91505092959194509250565b600080604083850312156126c8578182fd5b6126d18361259f565b915060208301356126e181612faf565b809150509250929050565b600080604083850312156126fe578182fd5b6127078361259f565b946020939093013593505050565b600080600060608486031215612729578283fd5b6127328461259f565b9250602084013591506127476040850161259f565b90509250925092565b600060208284031215612761578081fd5b8151611da081612faf565b60006020828403121561277d578081fd5b8135611da081612fbd565b600060208284031215612799578081fd5b8151611da081612fbd565b6000602082840312156127b5578081fd5b813567ffffffffffffffff8111156127cb578182fd5b8201601f810184136127db578182fd5b611b1b84823560208401612529565b6000602082840312156127fb578081fd5b5035919050565b60008060408385031215612814578182fd5b50508035926020909101359150565b600060208284031215612834578081fd5b813560ff81168114611da0578182fd5b6000815180845261285c816020860160208601612edd565b601f01601f19169290920160200192915050565b90815260200190565b6000825161288b818460208701612edd565b9190910192915050565b600083516128a7818460208801612edd565b8351908301906128bb818360208801612edd565b01949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061290b90830184612844565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b6020808252825182820181905260009190848201906040850190845b818110156129665783518352928401929184019160010161294a565b50909695505050505050565b901515815260200190565b60006020825261095a6020830184612844565b60208082526022908201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b60208082526014908201527329b0b632903430b9b713ba1039ba30b93a32b21760611b604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b60208082526018908201527f53616c65206861736e27742066696e69736564207965742e0000000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b93845260ff9290921660208401526001600160a01b03166040830152606082015260800190565b60008219821115612e8e57612e8e612f6d565b500190565b600082612ea257612ea2612f83565b500490565b6000816000190483118215151615612ec157612ec1612f6d565b500290565b600082821015612ed857612ed8612f6d565b500390565b60005b83811015612ef8578181015183820152602001612ee0565b83811115610aa05750506000910152565b600281046001821680612f1d57607f821691505b6020821081141561139857634e487b7160e01b600052602260045260246000fd5b6000600019821415612f5257612f52612f6d565b5060010190565b600082612f6857612f68612f83565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114610c4057600080fd5b6001600160e01b031981168114610c4057600080fdfe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea2646970667358221220ec4508202a076cfe1d6b300dc2ae6777022d62488e37e69c9ecbc928431f119264736f6c6343000801003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061025c5760003560e01c806370a0823111610144578063b88d4fde116100b6578063dc235af31161007a578063dc235af314610690578063e1dbae63146106b0578063e985e9c5146106d0578063ebc44150146106f0578063f2fde38b14610705578063ffe630b5146107255761025c565b8063b88d4fde146105fb578063c87b56dd1461061b578063c912756a1461063b578063caabb87d1461065b578063cc1d6f63146106705761025c565b80638da5cb5b116101085780638da5cb5b146105725780639357cced1461058757806395d89b411461059c5780639792b780146105b1578063a22cb465146105c6578063b66a0e5d146105e65761025c565b806370a08231146104e6578063715018a61461050657806372e625d21461051b5780638462151c146105305780638bf97a811461055d5761025c565b80634b0c07e8116101dd57806355f804b3116101a157806355f804b314610431578063586aa7ef146104515780636352211e1461047157806365d6e4ee146104915780636c0360eb146104b15780636e68fc0a146104c65761025c565b80634b0c07e8146103b45780634f558e79146103c75780634f6ccce7146103e7578063514b15701461040757806355367ba91461041c5761025c565b80631c8b232d116102245780631c8b232d1461032a57806323b872dd1461033f5780632f745c591461035f5780633c5d88df1461037f57806342842e0e146103945761025c565b806301ffc9a71461026157806306fdde0314610297578063081812fc146102b9578063095ea7b3146102e657806318160ddd14610308575b600080fd5b34801561026d57600080fd5b5061028161027c36600461276c565b610745565b60405161028e9190612972565b60405180910390f35b3480156102a357600080fd5b506102ac610768565b60405161028e919061297d565b3480156102c557600080fd5b506102d96102d43660046127ea565b6107fb565b60405161028e91906128c4565b3480156102f257600080fd5b506103066103013660046126ec565b610847565b005b34801561031457600080fd5b5061031d6108df565b60405161028e9190612870565b34801561033657600080fd5b506102816108f0565b34801561034b57600080fd5b5061030661035a366004612602565b610900565b34801561036b57600080fd5b5061031d61037a3660046126ec565b610938565b34801561038b57600080fd5b506102d9610963565b3480156103a057600080fd5b506103066103af366004612602565b610972565b6103066103c2366004612715565b61098d565b3480156103d357600080fd5b506102816103e23660046127ea565b610aa6565b3480156103f357600080fd5b5061031d6104023660046127ea565b610ab1565b34801561041357600080fd5b5061031d610ac7565b34801561042857600080fd5b50610306610baa565b34801561043d57600080fd5b5061030661044c3660046127a4565b610bf8565b34801561045d57600080fd5b5061030661046c366004612823565b610c43565b34801561047d57600080fd5b506102d961048c3660046127ea565b610f0a565b34801561049d57600080fd5b506103066104ac366004612802565b610f32565b3480156104bd57600080fd5b506102ac6110ea565b3480156104d257600080fd5b5061031d6104e1366004612802565b6110f9565b3480156104f257600080fd5b5061031d6105013660046125b6565b61115d565b34801561051257600080fd5b506103066111a6565b34801561052757600080fd5b506102ac61122f565b34801561053c57600080fd5b5061055061054b3660046125b6565b6112bd565b60405161028e919061292e565b34801561056957600080fd5b5061031d61139e565b34801561057e57600080fd5b506102d96113a4565b34801561059357600080fd5b5061031d6113b3565b3480156105a857600080fd5b506102ac6113b9565b3480156105bd57600080fd5b5061031d6113c8565b3480156105d257600080fd5b506103066105e13660046126b6565b6113ce565b3480156105f257600080fd5b5061030661149c565b34801561060757600080fd5b5061030661061636600461263d565b6114f0565b34801561062757600080fd5b506102ac6106363660046127ea565b611529565b34801561064757600080fd5b5061031d6106563660046125b6565b61166c565b34801561066757600080fd5b5061031d61167e565b34801561067c57600080fd5b5061030661068b3660046127ea565b6116dd565b34801561069c57600080fd5b506102816106ab3660046125d0565b6117b8565b3480156106bc57600080fd5b506103066106cb3660046125b6565b6117d8565b3480156106dc57600080fd5b506102816106eb3660046125d0565b611839565b3480156106fc57600080fd5b5061031d611867565b34801561071157600080fd5b506103066107203660046125b6565b6118fd565b34801561073157600080fd5b506103066107403660046127a4565b6119be565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60606007805461077790612f09565b80601f01602080910402602001604051908101604052809291908181526020018280546107a390612f09565b80156107f05780601f106107c5576101008083540402835291602001916107f0565b820191906000526020600020905b8154815290600101906020018083116107d357829003601f168201915b505050505090505b90565b600061080682611a14565b61082b5760405162461bcd60e51b815260040161082290612ca9565b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061085282610f0a565b9050806001600160a01b0316836001600160a01b031614156108865760405162461bcd60e51b815260040161082290612dc2565b806001600160a01b0316610898611a21565b6001600160a01b031614806108b457506108b4816106eb611a21565b6108d05760405162461bcd60e51b815260040161082290612bcd565b6108da8383611a25565b505050565b60006108eb6002611a93565b905090565b601054600160a01b900460ff1681565b61091161090b611a21565b82611a9e565b61092d5760405162461bcd60e51b815260040161082290612e03565b6108da838383611b23565b6001600160a01b038216600090815260016020526040812061095a9083611c31565b90505b92915050565b6010546001600160a01b031681565b6108da838383604051806020016040528060008152506114f0565b6000600d5461099a6108df565b6109a49190612ec6565b601054909150600160a01b900460ff166109d05760405162461bcd60e51b8152600401610822906129d2565b6000831180156109e757506109e361167e565b8311155b6109f057600080fd5b6119006109fd8285611c3d565b1115610a0857600080fd5b34610a1a610a14610ac7565b85611c49565b14610a2457600080fd5b60005b83811015610a65576000600d54610a3c6108df565b610a469190612ec6565b9050610a528682611c55565b5080610a5d81612f3e565b915050610a27565b506001600160a01b03821615801590610a905750836001600160a01b0316826001600160a01b031614155b15610aa057610aa0828534611c6f565b50505050565b600061095d82611a14565b600080610abf600284611d61565b509392505050565b600080600d54610ad56108df565b610adf9190612ec6565b90506119008110610af45760009150506107f8565b6118fb811115610b0f57671bc16d674ec800009150506107f8565b6118dd811115610b2a57670de0b6b3a76400009150506107f8565b61189c811115610b45576708e1bc9bf04000009150506107f8565b611770811115610b6057670470de4df82000009150506107f8565b610fa0811115610b7b576702386f26fc1000009150506107f8565b6101f4811115610b965767011c37937e0800009150506107f8565b668e1bc9bf0400009150506107f8565b5090565b610bb2611a21565b6001600160a01b0316610bc36113a4565b6001600160a01b031614610be95760405162461bcd60e51b815260040161082290612cf5565b6010805460ff60a01b19169055565b610c00611a21565b6001600160a01b0316610c116113a4565b6001600160a01b031614610c375760405162461bcd60e51b815260040161082290612cf5565b610c4081611d7d565b50565b610c4b611a21565b6001600160a01b0316610c5c6113a4565b6001600160a01b031614610c825760405162461bcd60e51b815260040161082290612cf5565b601054600160a01b900460ff1615610cac5760405162461bcd60e51b815260040161082290612b4a565b60008160ff1660011415610cce57610cc760006101f36110f9565b9050610d70565b8160ff1660021415610ce857610cc76101f4610f9f6110f9565b8160ff1660031415610d0257610cc7610fa061176f6110f9565b8160ff1660041415610d1c57610cc761177061189b6110f9565b8160ff1660051415610d3657610cc761189c6118dc6110f9565b8160ff1660061415610d5057610cc76118dd6118fa6110f9565b8160ff1660071415610d6a57610cc76118fb6118ff6110f9565b50610c40565b6000610d856000670de0b6b3a76400006110f9565b905080156108da57601054604051635483404b60e11b81526001600160a01b039091169063a906809690610dd890859060019073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2908790600401612e54565b600060405180830381600087803b158015610df257600080fd5b505af1158015610e06573d6000803e3d6000fd5b5050505073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b158015610e5957600080fd5b505af1158015610e6d573d6000803e3d6000fd5b505060105460405163a9059cbb60e01b815273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2945063a9059cbb9350610eb892506001600160a01b03909116908590600401612915565b602060405180830381600087803b158015610ed257600080fd5b505af1158015610ee6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa09190612750565b600061095d826040518060600160405280602981526020016130066029913960029190611d90565b610f3a611a21565b6001600160a01b0316610f4b6113a4565b6001600160a01b031614610f715760405162461bcd60e51b815260040161082290612cf5565b601054600160a01b900460ff1615610f9b5760405162461bcd60e51b815260040161082290612b4a565b6000825b828111611094576000610fb182610f0a565b6001600160a01b0381166000908152600e6020526040902054909150801561107f57601054604051635483404b60e11b81526001600160a01b039091169063a90680969061101e90869060019073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2908790600401612e54565b600060405180830381600087803b15801561103857600080fd5b505af115801561104c573d6000803e3d6000fd5b505050506110638185611c3d90919063ffffffff16565b6001600160a01b0383166000908152600e602052604081205593505b5050808061108c90612f3e565b915050610f9f565b5080156108da5773c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b158015610e5957600080fd5b6060600a805461077790612f09565b600082816111128261110c866001611c3d565b90611da7565b90506111548282434060405160200161112b9190612870565b6040516020818303038152906040528051906020012060001c61114e9190612f59565b90611c3d565b95945050505050565b60006001600160a01b0382166111855760405162461bcd60e51b815260040161082290612c2a565b6001600160a01b038216600090815260016020526040902061095d90611db3565b6111ae611a21565b6001600160a01b03166111bf6113a4565b6001600160a01b0316146111e55760405162461bcd60e51b815260040161082290612cf5565b600b546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600b80546001600160a01b0319169055565b600c805461123c90612f09565b80601f016020809104026020016040519081016040528092919081815260200182805461126890612f09565b80156112b55780601f1061128a576101008083540402835291602001916112b5565b820191906000526020600020905b81548152906001019060200180831161129857829003601f168201915b505050505081565b606060006112ca8361115d565b9050806112e7575050604080516000815260208101909152610763565b60008167ffffffffffffffff81111561131057634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611339578160200160208202803683370190505b50905060005b8281101561138e576113518582610938565b82828151811061137157634e487b7160e01b600052603260045260246000fd5b60209081029190910101528061138681612f3e565b91505061133f565b5091506107639050565b50919050565b61190081565b600b546001600160a01b031690565b600d5481565b60606008805461077790612f09565b61320081565b6113d6611a21565b6001600160a01b0316826001600160a01b031614156114075760405162461bcd60e51b815260040161082290612b13565b8060066000611414611a21565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611458611a21565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114909190612972565b60405180910390a35050565b6114a4611a21565b6001600160a01b03166114b56113a4565b6001600160a01b0316146114db5760405162461bcd60e51b815260040161082290612cf5565b6010805460ff60a01b1916600160a01b179055565b6115016114fb611a21565b83611a9e565b61151d5760405162461bcd60e51b815260040161082290612e03565b610aa084848484611dbe565b606061153482611a14565b6115505760405162461bcd60e51b815260040161082290612d73565b6000828152600960205260408120805461156990612f09565b80601f016020809104026020016040519081016040528092919081815260200182805461159590612f09565b80156115e25780601f106115b7576101008083540402835291602001916115e2565b820191906000526020600020905b8154815290600101906020018083116115c557829003601f168201915b5050505050905060006115f36110ea565b905080516000141561160757509050610763565b815115611639578082604051602001611621929190612895565b60405160208183030381529060405292505050610763565b8061164385611df1565b604051602001611654929190612895565b60405160208183030381529060405292505050919050565b600e6020526000908152604090205481565b600080600d5461168c6108df565b6116969190612ec6565b905061190081106116ab5760009150506107f8565b6118fb8111156116bf5760019150506107f8565b6117708111156116d35760059150506107f8565b60149150506107f8565b6116e5611a21565b6001600160a01b03166116f66113a4565b6001600160a01b03161461171c5760405162461bcd60e51b815260040161082290612cf5565b6000611729826002611f0c565b60405190915073262655a65538c71454cb60951bf1a79e196682189082156108fc029083906000818181858888f1935050505015801561176d573d6000803e3d6000fd5b5073ed2d1254e79835bf5911aa8946e23bf508477da46108fc6117908484611da7565b6040518115909202916000818181858888f193505050501580156108da573d6000803e3d6000fd5b600f60209081526000928352604080842090915290825290205460ff1681565b6117e0611a21565b6001600160a01b03166117f16113a4565b6001600160a01b0316146118175760405162461bcd60e51b815260040161082290612cf5565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6010546000906001600160a01b0316331461188157600080fd5b601054600160a01b900460ff16156118ab5760405162461bcd60e51b815260040161082290612b4a565b600d546118ba90611900612e7b565b90506118c581611a14565b156118cf57600080fd5b6010546118e5906001600160a01b031682611c55565b600d80549060006118f583612f3e565b919050555090565b611905611a21565b6001600160a01b03166119166113a4565b6001600160a01b03161461193c5760405162461bcd60e51b815260040161082290612cf5565b6001600160a01b0381166119625760405162461bcd60e51b815260040161082290612a52565b600b546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6119c6611a21565b6001600160a01b03166119d76113a4565b6001600160a01b0316146119fd5760405162461bcd60e51b815260040161082290612cf5565b8051611a1090600c906020840190612499565b5050565b600061095d600283611f18565b3390565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611a5a82610f0a565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061095d82611f24565b6000611aa982611a14565b611ac55760405162461bcd60e51b815260040161082290612b81565b6000611ad083610f0a565b9050806001600160a01b0316846001600160a01b03161480611b0b5750836001600160a01b0316611b00846107fb565b6001600160a01b0316145b80611b1b5750611b1b8185611839565b949350505050565b826001600160a01b0316611b3682610f0a565b6001600160a01b031614611b5c5760405162461bcd60e51b815260040161082290612d2a565b6001600160a01b038216611b825760405162461bcd60e51b815260040161082290612acf565b611b8d8383836108da565b611b98600082611a25565b6001600160a01b0383166000908152600160205260409020611bba9082611f2f565b506001600160a01b0382166000908152600160205260409020611bdd9082611f3b565b50611bea60028284611f47565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061095a8383611f5d565b600061095a8284612e7b565b600061095a8284612ea7565b611a10828260405180602001604052806000815250611fb6565b6000611c7a8461115d565b6001600160a01b038085166000908152600f6020908152604080832093891683529290529081205491925060ff90911690611cb684600a611f0c565b90508215801590611cc5575081155b15611d59576001600160a01b0386166000908152600e6020526040902054611ced9082611c3d565b6001600160a01b038088166000908152600e60205260408082209390935590871681522054611d1c9082611c3d565b6001600160a01b038087166000908152600e6020908152604080832094909455600f8152838220928a1682529190915220805460ff191660011790555b505050505050565b6000808080611d708686611fe9565b9097909650945050505050565b8051611a1090600a906020840190612499565b6000611d9d848484612014565b90505b9392505050565b600061095a8284612ec6565b600061095d82612060565b611dc9848484611b23565b611dd584848484612064565b610aa05760405162461bcd60e51b815260040161082290612a00565b606081611e1657506040805180820190915260018152600360fc1b6020820152610763565b8160005b8115611e405780611e2a81612f3e565b9150611e399050600a83612e93565b9150611e1a565b60008167ffffffffffffffff811115611e6957634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611e93576020820181803683370190505b5090505b8415611b1b57611ea8600183612ec6565b9150611eb5600a86612f59565b611ec0906030612e7b565b60f81b818381518110611ee357634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611f05600a86612e93565b9450611e97565b600061095a8284612e93565b600061095a8383612143565b600061095d82611db3565b600061095a838361214f565b600061095a8383612266565b6000611d9d84846001600160a01b0385166122b0565b81546000908210611f805760405162461bcd60e51b815260040161082290612990565b826000018281548110611fa357634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b611fc083836122cd565b611fcd6000848484612064565b6108da5760405162461bcd60e51b815260040161082290612a00565b60008080611ff78585611c31565b600081815260029690960160205260409095205494959350505050565b60008281526002840160205260408120548015158061203857506120388585612143565b83906120575760405162461bcd60e51b8152600401610822919061297d565b50949350505050565b5490565b6000612078846001600160a01b0316612391565b61208457506001611b1b565b600061210c630a85bd0160e11b612099611a21565b8887876040516024016120af94939291906128d8565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001612fd4603291396001600160a01b0388169190612397565b90506000818060200190518101906121249190612788565b6001600160e01b031916630a85bd0160e11b1492505050949350505050565b600061095a83836123a6565b6000818152600183016020526040812054801561225c576000612173600183612ec6565b855490915060009061218790600190612ec6565b905060008660000182815481106121ae57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050808760000184815481106121df57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526001890190915260409020849055865487908061222057634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061095d565b600091505061095d565b600061227283836123ae565b6122a85750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561095d565b50600061095d565b60008281526002840160205260408120829055611d9d8484611f3b565b6001600160a01b0382166122f35760405162461bcd60e51b815260040161082290612c74565b6122fc81611a14565b156123195760405162461bcd60e51b815260040161082290612a98565b612325600083836108da565b6001600160a01b03821660009081526001602052604090206123479082611f3b565b5061235460028284611f47565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b6060611d9d84846000856123c6565b600061095a83835b60009081526001919091016020526040902054151590565b6060824710156123d557600080fd5b6123de85612391565b6123e757600080fd5b600080866001600160a01b031685876040516124039190612879565b60006040518083038185875af1925050503d8060008114612440576040519150601f19603f3d011682016040523d82523d6000602084013e612445565b606091505b5091509150612455828286612460565b979650505050505050565b6060831561246f575081611da0565b82511561247f5782518084602001fd5b8160405162461bcd60e51b8152600401610822919061297d565b8280546124a590612f09565b90600052602060002090601f0160209004810192826124c7576000855561250d565b82601f106124e057805160ff191683800117855561250d565b8280016001018555821561250d579182015b8281111561250d5782518255916020019190600101906124f2565b50610ba69291505b80821115610ba65760008155600101612515565b600067ffffffffffffffff8084111561254457612544612f99565b604051601f8501601f19908116603f0116810190828211818310171561256c5761256c612f99565b8160405280935085815286868601111561258557600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461076357600080fd5b6000602082840312156125c7578081fd5b61095a8261259f565b600080604083850312156125e2578081fd5b6125eb8361259f565b91506125f96020840161259f565b90509250929050565b600080600060608486031215612616578081fd5b61261f8461259f565b925061262d6020850161259f565b9150604084013590509250925092565b60008060008060808587031215612652578081fd5b61265b8561259f565b93506126696020860161259f565b925060408501359150606085013567ffffffffffffffff81111561268b578182fd5b8501601f8101871361269b578182fd5b6126aa87823560208401612529565b91505092959194509250565b600080604083850312156126c8578182fd5b6126d18361259f565b915060208301356126e181612faf565b809150509250929050565b600080604083850312156126fe578182fd5b6127078361259f565b946020939093013593505050565b600080600060608486031215612729578283fd5b6127328461259f565b9250602084013591506127476040850161259f565b90509250925092565b600060208284031215612761578081fd5b8151611da081612faf565b60006020828403121561277d578081fd5b8135611da081612fbd565b600060208284031215612799578081fd5b8151611da081612fbd565b6000602082840312156127b5578081fd5b813567ffffffffffffffff8111156127cb578182fd5b8201601f810184136127db578182fd5b611b1b84823560208401612529565b6000602082840312156127fb578081fd5b5035919050565b60008060408385031215612814578182fd5b50508035926020909101359150565b600060208284031215612834578081fd5b813560ff81168114611da0578182fd5b6000815180845261285c816020860160208601612edd565b601f01601f19169290920160200192915050565b90815260200190565b6000825161288b818460208701612edd565b9190910192915050565b600083516128a7818460208801612edd565b8351908301906128bb818360208801612edd565b01949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061290b90830184612844565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b6020808252825182820181905260009190848201906040850190845b818110156129665783518352928401929184019160010161294a565b50909695505050505050565b901515815260200190565b60006020825261095a6020830184612844565b60208082526022908201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b60208082526014908201527329b0b632903430b9b713ba1039ba30b93a32b21760611b604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b60208082526018908201527f53616c65206861736e27742066696e69736564207965742e0000000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b93845260ff9290921660208401526001600160a01b03166040830152606082015260800190565b60008219821115612e8e57612e8e612f6d565b500190565b600082612ea257612ea2612f83565b500490565b6000816000190483118215151615612ec157612ec1612f6d565b500290565b600082821015612ed857612ed8612f6d565b500390565b60005b83811015612ef8578181015183820152602001612ee0565b83811115610aa05750506000910152565b600281046001821680612f1d57607f821691505b6020821081141561139857634e487b7160e01b600052602260045260246000fd5b6000600019821415612f5257612f52612f6d565b5060010190565b600082612f6857612f68612f83565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114610c4057600080fd5b6001600160e01b031981168114610c4057600080fdfe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea2646970667358221220ec4508202a076cfe1d6b300dc2ae6777022d62488e37e69c9ecbc928431f119264736f6c63430008010033

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

00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : baseURI (string):

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

388:8321:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1353:148:3;;;;;;;;;;-1:-1:-1;1353:148:3;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4523:98:4;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;7228:217::-;;;;;;;;;;-1:-1:-1;7228:217:4;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;6772:395::-;;;;;;;;;;-1:-1:-1;6772:395:4;;;;;:::i;:::-;;:::i;:::-;;6266:208;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;1255:34:1:-;;;;;;;;;;;;;:::i;8092:300:4:-;;;;;;;;;;-1:-1:-1;8092:300:4;;;;;:::i;:::-;;:::i;6035:160::-;;;;;;;;;;-1:-1:-1;6035:160:4;;;;;:::i;:::-;;:::i;860:30:1:-;;;;;;;;;;;;;:::i;8458:149:4:-;;;;;;;;;;-1:-1:-1;8458:149:4;;;;;:::i;:::-;;:::i;6304:801:1:-;;;;;;:::i;:::-;;:::i;1415:100::-;;;;;;;;;;-1:-1:-1;1415:100:1;;;;;:::i;:::-;;:::i;6546:169:4:-;;;;;;;;;;-1:-1:-1;6546:169:4;;;;;:::i;:::-;;:::i;2501:758:1:-;;;;;;;;;;;;;:::i;7973:77::-;;;;;;;;;;;;;:::i;5857:98::-;;;;;;;;;;-1:-1:-1;5857:98:1;;;;;:::i;:::-;;:::i;3525:1214::-;;;;;;;;;;-1:-1:-1;3525:1214:1;;;;;:::i;:::-;;:::i;4286:175:4:-;;;;;;;;;;-1:-1:-1;4286:175:4;;;;;:::i;:::-;;:::i;4745:990:1:-;;;;;;;;;;-1:-1:-1;4745:990:1;;;;;:::i;:::-;;:::i;5861:95:4:-;;;;;;;;;;;;;:::i;3265:254:1:-;;;;;;;;;;-1:-1:-1;3265:254:1;;;;;:::i;:::-;;:::i;4011:218:4:-;;;;;;;;;;-1:-1:-1;4011:218:4;;;;;:::i;:::-;;:::i;1693:145:13:-;;;;;;;;;;;;;:::i;462:36:1:-;;;;;;;;;;;;;:::i;1521:503::-;;;;;;;;;;-1:-1:-1;1521:503:1;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;555:45::-;;;;;;;;;;;;;:::i;1061:85:13:-;;;;;;;;;;;;;:::i;661:30:1:-;;;;;;;;;;;;;:::i;4685:102:4:-;;;;;;;;;;;;;:::i;606:49:1:-;;;;;;;;;;;;;:::i;7512:290:4:-;;;;;;;;;;-1:-1:-1;7512:290:4;;;;;:::i;:::-;;:::i;7891:76:1:-;;;;;;;;;;;;;:::i;8673:282:4:-;;;;;;;;;;-1:-1:-1;8673:282:4;;;;;:::i;:::-;;:::i;4853:776::-;;;;;;;;;;-1:-1:-1;4853:776:4;;;;;:::i;:::-;;:::i;729:51:1:-;;;;;;;;;;-1:-1:-1;729:51:1;;;;;:::i;:::-;;:::i;2089:406::-;;;;;;;;;;;;;:::i;7682:203::-;;;;;;;;;;-1:-1:-1;7682:203:1;;;;;:::i;:::-;;:::i;786:67::-;;;;;;;;;;-1:-1:-1;786:67:1;;;;;:::i;:::-;;:::i;6011:115::-;;;;;;;;;;-1:-1:-1;6011:115:1;;;;;:::i;:::-;;:::i;7868:162:4:-;;;;;;;;;;-1:-1:-1;7868:162:4;;;;;:::i;:::-;;:::i;7225:392:1:-;;;;;;;;;;;;;:::i;1987:240:13:-;;;;;;;;;;-1:-1:-1;1987:240:13;;;;;:::i;:::-;;:::i;6132:117:1:-;;;;;;;;;;-1:-1:-1;6132:117:1;;;;;:::i;:::-;;:::i;1353:148:3:-;-1:-1:-1;;;;;;1461:33:3;;1438:4;1461:33;;;;;;;;;;;;;1353:148;;;;:::o;4523:98:4:-;4577:13;4609:5;4602:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4523:98;;:::o;7228:217::-;7304:7;7331:16;7339:7;7331;:16::i;:::-;7323:73;;;;-1:-1:-1;;;7323:73:4;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;7414:24:4;;;;:15;:24;;;;;;-1:-1:-1;;;;;7414:24:4;;7228:217::o;6772:395::-;6852:13;6868:23;6883:7;6868:14;:23::i;:::-;6852:39;;6915:5;-1:-1:-1;;;;;6909:11:4;:2;-1:-1:-1;;;;;6909:11:4;;;6901:57;;;;-1:-1:-1;;;6901:57:4;;;;;;;:::i;:::-;6993:5;-1:-1:-1;;;;;6977:21:4;:12;:10;:12::i;:::-;-1:-1:-1;;;;;6977:21:4;;:69;;;;7002:44;7026:5;7033:12;:10;:12::i;7002:44::-;6969:159;;;;-1:-1:-1;;;6969:159:4;;;;;;;:::i;:::-;7139:21;7148:2;7152:7;7139:8;:21::i;:::-;6772:395;;;:::o;6266:208::-;6327:7;6446:21;:12;:19;:21::i;:::-;6439:28;;6266:208;:::o;1255:34:1:-;;;-1:-1:-1;;;1255:34:1;;;;;:::o;8092:300:4:-;8251:41;8270:12;:10;:12::i;:::-;8284:7;8251:18;:41::i;:::-;8243:103;;;;-1:-1:-1;;;8243:103:4;;;;;;;:::i;:::-;8357:28;8367:4;8373:2;8377:7;8357:9;:28::i;6035:160::-;-1:-1:-1;;;;;6158:20:4;;6132:7;6158:20;;;:13;:20;;;;;:30;;6182:5;6158:23;:30::i;:::-;6151:37;;6035:160;;;;;:::o;860:30:1:-;;;-1:-1:-1;;;;;860:30:1;;:::o;8458:149:4:-;8561:39;8578:4;8584:2;8588:7;8561:39;;;;;;;;;;;;:16;:39::i;6304:801:1:-;6421:17;6457:15;;6441:13;:11;:13::i;:::-;:31;;;;:::i;:::-;6503:14;;6421:51;;-1:-1:-1;;;;6503:14:1;;;;6482:81;;;;-1:-1:-1;;;6482:81:1;;;;;;;:::i;:::-;6602:1;6594:5;:9;:40;;;;;6616:18;:16;:18::i;:::-;6607:5;:27;;6594:40;6573:71;;;;;;596:4;6675:30;6688:9;6699:5;6675:12;:30::i;:::-;:48;;6654:79;;;;;;6802:9;6764:34;6777:13;:11;:13::i;:::-;6792:5;6764:12;:34::i;:::-;:47;6743:78;;;;;;6837:9;6832:146;6852:5;6848:1;:9;6832:146;;;6878:17;6914:15;;6898:13;:11;:13::i;:::-;:31;;;;:::i;:::-;6878:51;;6943:24;6953:2;6957:9;6943;:24::i;:::-;-1:-1:-1;6859:3:1;;;;:::i;:::-;;;;6832:146;;;-1:-1:-1;;;;;;6992:21:1;;;;;;:38;;;7028:2;-1:-1:-1;;;;;7017:13:1;:7;-1:-1:-1;;;;;7017:13:1;;;6992:38;6988:111;;;7046:42;7065:7;7074:2;7078:9;7046:18;:42::i;:::-;6304:801;;;;:::o;1415:100::-;1469:4;1492:16;1500:7;1492;:16::i;6546:169:4:-;6621:7;;6662:22;:12;6678:5;6662:15;:22::i;:::-;-1:-1:-1;6640:44:4;6546:169;-1:-1:-1;;;6546:169:4:o;2501:758:1:-;2545:7;2564:17;2600:15;;2584:13;:11;:13::i;:::-;:31;;;;:::i;:::-;2564:51;;596:4;2630:9;:27;2626:627;;2680:1;2673:8;;;;;2626:627;2714:4;2702:9;:16;2698:555;;;2756:7;2749:14;;;;;2698:555;2796:4;2784:9;:16;2780:473;;;2838:7;2831:14;;;;;2780:473;2878:4;2866:9;:16;2862:391;;;2920:10;2913:17;;;;;2862:391;2963:4;2951:9;:16;2947:306;;;3005:10;2998:17;;;;;2947:306;3048:4;3036:9;:16;3032:221;;;3090:10;3083:17;;;;;3032:221;3133:3;3121:9;:15;3117:136;;;3173:10;3166:17;;;;;3117:136;3221:10;3214:17;;;;;3117:136;2501:758;;:::o;7973:77::-;1284:12:13;:10;:12::i;:::-;-1:-1:-1;;;;;1273:23:13;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1273:23:13;;1265:68;;;;-1:-1:-1;;;1265:68:13;;;;;;;:::i;:::-;8021:14:1::1;:22:::0;;-1:-1:-1;;;;8021:22:1::1;::::0;;7973:77::o;5857:98::-;1284:12:13;:10;:12::i;:::-;-1:-1:-1;;;;;1273:23:13;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1273:23:13;;1265:68;;;;-1:-1:-1;;;1265:68:13;;;;;;;:::i;:::-;5928:20:1::1;5940:7;5928:11;:20::i;:::-;5857:98:::0;:::o;3525:1214::-;1284:12:13;:10;:12::i;:::-;-1:-1:-1;;;;;1273:23:13;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1273:23:13;;1265:68;;;;-1:-1:-1;;;1265:68:13;;;;;;;:::i;:::-;3633:14:1::1;::::0;-1:-1:-1;;;3633:14:1;::::1;;;3632:15;3611:86;;;;-1:-1:-1::0;;;3611:86:1::1;;;;;;;:::i;:::-;3708:16;3739:4;:9;;3747:1;3739:9;3735:614;;;3775:23;3791:1;3794:3;3775:15;:23::i;:::-;3764:34;;3735:614;;;3819:4;:9;;3827:1;3819:9;3815:534;;;3855:26;3871:3;3876:4;3855:15;:26::i;3815:534::-;3902:4;:9;;3910:1;3902:9;3898:451;;;3938:27;3954:4;3960;3938:15;:27::i;3898:451::-;3986:4;:9;;3994:1;3986:9;3982:367;;;4022:27;4038:4;4044;4022:15;:27::i;3982:367::-;4070:4;:9;;4078:1;4070:9;4066:283;;;4106:27;4122:4;4128;4106:15;:27::i;4066:283::-;4154:4;:9;;4162:1;4154:9;4150:199;;;4190:27;4206:4;4212;4190:15;:27::i;4150:199::-;4238:4;:9;;4246:1;4238:9;4234:115;;;4274:27;4290:4;4296;4274:15;:27::i;4234:115::-;4332:7;;;4234:115;4359:13;4375:24;4391:1;4394:4;4375:15;:24::i;:::-;4359:40:::0;-1:-1:-1;4422:9:1;;4418:315:::1;;4447:11;::::0;:172:::1;::::0;-1:-1:-1;;;4447:172:1;;-1:-1:-1;;;;;4447:11:1;;::::1;::::0;:38:::1;::::0;:172:::1;::::0;4503:8;;4447:11;;961:42:::1;::::0;4600:5;;4447:172:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;961:42;-1:-1:-1::0;;;;;4634:13:1::1;;4656:5;4634:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;4702:11:1::1;::::0;4679:43:::1;::::0;-1:-1:-1;;;4679:43:1;;961:42:::1;::::0;-1:-1:-1;4679:14:1::1;::::0;-1:-1:-1;4679:43:1::1;::::0;-1:-1:-1;;;;;;4702:11:1;;::::1;::::0;4716:5;;4679:43:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;4286:175:4:-:0;4358:7;4384:70;4401:7;4384:70;;;;;;;;;;;;;;;;;:12;;:70;:16;:70::i;4745:990:1:-;1284:12:13;:10;:12::i;:::-;-1:-1:-1;;;;;1273:23:13;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1273:23:13;;1265:68;;;;-1:-1:-1;;;1265:68:13;;;;;;;:::i;:::-;4884:14:1::1;::::0;-1:-1:-1;;;4884:14:1;::::1;;;4883:15;4862:86;;;;-1:-1:-1::0;;;4862:86:1::1;;;;;;;:::i;:::-;4958:27;5013:10:::0;4996:553:::1;5030:8;5025:1;:13;4996:553;;5059:13;5075:10;5083:1;5075:7;:10::i;:::-;-1:-1:-1::0;;;;;5124:23:1;::::1;5099:22;5124:23:::0;;;:16:::1;:23;::::0;;;;;5059:26;;-1:-1:-1;5165:18:1;;5161:378:::1;;5203:11;::::0;:194:::1;::::0;-1:-1:-1;;;5203:194:1;;-1:-1:-1;;;;;5203:11:1;;::::1;::::0;:38:::1;::::0;:194:::1;::::0;5263:1;;5203:11;;961:42:::1;::::0;5365:14;;5203:194:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;5437:39;5461:14;5437:19;:23;;:39;;;;:::i;:::-;-1:-1:-1::0;;;;;5501:23:1;::::1;;::::0;;;:16:::1;:23;::::0;;;;5494:30;5415:61;-1:-1:-1;5161:378:1::1;4996:553;;5040:3;;;;;:::i;:::-;;;;4996:553;;;-1:-1:-1::0;5563:23:1;;5559:170:::1;;961:42;-1:-1:-1::0;;;;;5602:13:1::1;;5624:19;5602:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;5861:95:4::0;5909:13;5941:8;5934:15;;;;;:::i;3265:254:1:-;3333:7;3366:1;3333:7;3391:19;3366:1;3392:8;:1;3398;3392:5;:8::i;:::-;3391:14;;:19::i;:::-;3377:33;;3427:85;3508:3;3498;3481:12;3471:23;3454:41;;;;;;;;:::i;:::-;;;;;;;;;;;;;3444:52;;;;;;3436:61;;:65;;;;:::i;:::-;3427:80;;:85::i;:::-;3420:92;3265:254;-1:-1:-1;;;;;3265:254:1:o;4011:218:4:-;4083:7;-1:-1:-1;;;;;4110:19:4;;4102:74;;;;-1:-1:-1;;;4102:74:4;;;;;;;:::i;:::-;-1:-1:-1;;;;;4193:20:4;;;;;;:13;:20;;;;;:29;;:27;:29::i;1693:145:13:-;1284:12;:10;:12::i;:::-;-1:-1:-1;;;;;1273:23:13;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1273:23:13;;1265:68;;;;-1:-1:-1;;;1265:68:13;;;;;;;:::i;:::-;1783:6:::1;::::0;1762:40:::1;::::0;1799:1:::1;::::0;-1:-1:-1;;;;;1783:6:13::1;::::0;1762:40:::1;::::0;1799:1;;1762:40:::1;1812:6;:19:::0;;-1:-1:-1;;;;;;1812:19:13::1;::::0;;1693:145::o;462:36:1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1521:503::-;1582:16;1610:18;1631:17;1641:6;1631:9;:17::i;:::-;1610:38;-1:-1:-1;1662:15:1;1658:360;;-1:-1:-1;;1737:16:1;;;1751:1;1737:16;;;;;;;;1730:23;;1658:360;1784:23;1824:10;1810:25;;;;;;-1:-1:-1;;;1810:25:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1810:25:1;;1784:51;;1854:13;1849:132;1877:10;1869:5;:18;1849:132;;;1932:34;1952:6;1960:5;1932:19;:34::i;:::-;1916:6;1923:5;1916:13;;;;;;-1:-1:-1;;;1916:13:1;;;;;;;;;;;;;;;;;;:50;1889:7;;;;:::i;:::-;;;;1849:132;;;-1:-1:-1;2001:6:1;-1:-1:-1;1994:13:1;;-1:-1:-1;1994:13:1;1658:360;1521:503;;;;:::o;555:45::-;596:4;555:45;:::o;1061:85:13:-;1133:6;;-1:-1:-1;;;;;1133:6:13;1061:85;:::o;661:30:1:-;;;;:::o;4685:102:4:-;4741:13;4773:7;4766:14;;;;;:::i;606:49:1:-;650:5;606:49;:::o;7512:290:4:-;7626:12;:10;:12::i;:::-;-1:-1:-1;;;;;7614:24:4;:8;-1:-1:-1;;;;;7614:24:4;;;7606:62;;;;-1:-1:-1;;;7606:62:4;;;;;;;:::i;:::-;7724:8;7679:18;:32;7698:12;:10;:12::i;:::-;-1:-1:-1;;;;;7679:32:4;;;;;;;;;;;;;;;;;-1:-1:-1;7679:32:4;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;7679:53:4;;;;;;;;;;;7762:12;:10;:12::i;:::-;-1:-1:-1;;;;;7747:48:4;;7786:8;7747:48;;;;;;:::i;:::-;;;;;;;;7512:290;;:::o;7891:76:1:-;1284:12:13;:10;:12::i;:::-;-1:-1:-1;;;;;1273:23:13;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1273:23:13;;1265:68;;;;-1:-1:-1;;;1265:68:13;;;;;;;:::i;:::-;7939:14:1::1;:21:::0;;-1:-1:-1;;;;7939:21:1::1;-1:-1:-1::0;;;7939:21:1::1;::::0;;7891:76::o;8673:282:4:-;8804:41;8823:12;:10;:12::i;:::-;8837:7;8804:18;:41::i;:::-;8796:103;;;;-1:-1:-1;;;8796:103:4;;;;;;;:::i;:::-;8909:39;8923:4;8929:2;8933:7;8942:5;8909:13;:39::i;4853:776::-;4926:13;4959:16;4967:7;4959;:16::i;:::-;4951:76;;;;-1:-1:-1;;;4951:76:4;;;;;;;:::i;:::-;5038:23;5064:19;;;:10;:19;;;;;5038:45;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5093:18;5114:9;:7;:9::i;:::-;5093:30;;5202:4;5196:18;5218:1;5196:23;5192:70;;;-1:-1:-1;5242:9:4;-1:-1:-1;5235:16:4;;5192:70;5364:23;;:27;5360:106;;5438:4;5444:9;5421:33;;;;;;;;;:::i;:::-;;;;;;;;;;;;;5407:48;;;;;;5360:106;5596:4;5602:18;:7;:16;:18::i;:::-;5579:42;;;;;;;;;:::i;:::-;;;;;;;;;;;;;5565:57;;;;4853:776;;;:::o;729:51:1:-;;;;;;;;;;;;;:::o;2089:406::-;2138:7;2157:17;2193:15;;2177:13;:11;:13::i;:::-;:31;;;;:::i;:::-;2157:51;;596:4;2223:9;:27;2219:270;;2273:1;2266:8;;;;;2219:270;2307:4;2295:9;:16;2291:198;;;2349:1;2342:8;;;;;2291:198;2383:4;2371:9;:16;2367:122;;;2425:1;2418:8;;;;;2367:122;2464:2;2457:9;;;;;7682:203;1284:12:13;:10;:12::i;:::-;-1:-1:-1;;;;;1273:23:13;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1273:23:13;;1265:68;;;;-1:-1:-1;;;1265:68:13;;;;;;;:::i;:::-;7762:16:1::1;7781:13;:6:::0;7792:1:::1;7781:10;:13::i;:::-;7804:24;::::0;7762:32;;-1:-1:-1;1085:42:1::1;::::0;7804:24;::::1;;;::::0;7762:32;;7804:24:::1;::::0;;;7762:32;1085:42;7804:24;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;1201:42:1::1;7838:40;7857:20;:6:::0;7868:8;7857:10:::1;:20::i;:::-;7838:40;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;::::1;;;;;;;;;;;;;::::0;::::1;;;;786:67:::0;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;6011:115::-;1284:12:13;:10;:12::i;:::-;-1:-1:-1;;;;;1273:23:13;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1273:23:13;;1265:68;;;;-1:-1:-1;;;1265:68:13;;;;;;;:::i;:::-;6082:11:1::1;:37:::0;;-1:-1:-1;;;;;;6082:37:1::1;-1:-1:-1::0;;;;;6082:37:1;;;::::1;::::0;;;::::1;::::0;;6011:115::o;7868:162:4:-;-1:-1:-1;;;;;7988:25:4;;;7965:4;7988:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;7868:162::o;7225:392:1:-;7327:11;;7267:18;;-1:-1:-1;;;;;7327:11:1;7305:10;:34;7297:43;;;;;;7372:14;;-1:-1:-1;;;7372:14:1;;;;7371:15;7350:86;;;;-1:-1:-1;;;7350:86:1;;;;;;;:::i;:::-;7476:15;;7459:32;;596:4;7459:32;:::i;:::-;7446:45;;7510:19;7518:10;7510:7;:19::i;:::-;7509:20;7501:29;;;;;;7558:11;;7540:43;;-1:-1:-1;;;;;7558:11:1;7572:10;7540:9;:43::i;:::-;7593:15;:17;;;:15;:17;;;:::i;:::-;;;;;;7225:392;:::o;1987:240:13:-;1284:12;:10;:12::i;:::-;-1:-1:-1;;;;;1273:23:13;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1273:23:13;;1265:68;;;;-1:-1:-1;;;1265:68:13;;;;;;;:::i;:::-;-1:-1:-1;;;;;2075:22:13;::::1;2067:73;;;;-1:-1:-1::0;;;2067:73:13::1;;;;;;;:::i;:::-;2176:6;::::0;2155:38:::1;::::0;-1:-1:-1;;;;;2155:38:13;;::::1;::::0;2176:6:::1;::::0;2155:38:::1;::::0;2176:6:::1;::::0;2155:38:::1;2203:6;:17:::0;;-1:-1:-1;;;;;;2203:17:13::1;-1:-1:-1::0;;;;;2203:17:13;;;::::1;::::0;;;::::1;::::0;;1987:240::o;6132:117:1:-;1284:12:13;:10;:12::i;:::-;-1:-1:-1;;;;;1273:23:13;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1273:23:13;;1265:68;;;;-1:-1:-1;;;1265:68:13;;;;;;;:::i;:::-;6211:31:1;;::::1;::::0;:17:::1;::::0;:31:::1;::::0;::::1;::::0;::::1;:::i;:::-;;6132:117:::0;:::o;10389:125:4:-;10454:4;10477:30;:12;10499:7;10477:21;:30::i;586:96:2:-;665:10;586:96;:::o;16124:180:4:-;16189:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;16189:29:4;-1:-1:-1;;;;;16189:29:4;;;;;;;;:24;;16242:23;16189:24;16242:14;:23::i;:::-;-1:-1:-1;;;;;16233:46:4;;;;;;;;;;;16124:180;;:::o;5520:121:5:-;5589:7;5615:19;5623:3;5615:7;:19::i;10672:351:4:-;10765:4;10789:16;10797:7;10789;:16::i;:::-;10781:73;;;;-1:-1:-1;;;10781:73:4;;;;;;;:::i;:::-;10864:13;10880:23;10895:7;10880:14;:23::i;:::-;10864:39;;10932:5;-1:-1:-1;;;;;10921:16:4;:7;-1:-1:-1;;;;;10921:16:4;;:51;;;;10965:7;-1:-1:-1;;;;;10941:31:4;:20;10953:7;10941:11;:20::i;:::-;-1:-1:-1;;;;;10941:31:4;;10921:51;:94;;;;10976:39;11000:5;11007:7;10976:23;:39::i;:::-;10913:103;10672:351;-1:-1:-1;;;;10672:351:4:o;13712:584::-;13836:4;-1:-1:-1;;;;;13809:31:4;:23;13824:7;13809:14;:23::i;:::-;-1:-1:-1;;;;;13809:31:4;;13801:85;;;;-1:-1:-1;;;13801:85:4;;;;;;;:::i;:::-;-1:-1:-1;;;;;13922:16:4;;13914:65;;;;-1:-1:-1;;;13914:65:4;;;;;;;:::i;:::-;13990:39;14011:4;14017:2;14021:7;13990:20;:39::i;:::-;14091:29;14108:1;14112:7;14091:8;:29::i;:::-;-1:-1:-1;;;;;14131:19:4;;;;;;:13;:19;;;;;:35;;14158:7;14131:26;:35::i;:::-;-1:-1:-1;;;;;;14176:17:4;;;;;;:13;:17;;;;;:30;;14198:7;14176:21;:30::i;:::-;-1:-1:-1;14217:29:4;:12;14234:7;14243:2;14217:16;:29::i;:::-;;14281:7;14277:2;-1:-1:-1;;;;;14262:27:4;14271:4;-1:-1:-1;;;;;14262:27:4;;;;;;;;;;;13712:584;;;:::o;9251:135:6:-;9322:7;9356:22;9360:3;9372:5;9356:3;:22::i;650:96:14:-;708:7;734:5;738:1;734;:5;:::i;1360:96::-;1418:7;1444:5;1448:1;1444;:5;:::i;11353:108:4:-;11428:26;11438:2;11442:7;11428:26;;;;;;;;;;;;:9;:26::i;8128:579:1:-;8255:22;8280:25;8297:7;8280:16;:25::i;:::-;-1:-1:-1;;;;;8329:25:1;;;8315:11;8329:25;;;:15;:25;;;;;;;;:34;;;;;;;;;;;;8255:50;;-1:-1:-1;8329:34:1;;;;;8398:14;:6;8409:2;8398:10;:14::i;:::-;8373:39;-1:-1:-1;8427:19:1;;;;;:30;;;8451:6;8450:7;8427:30;8423:278;;;-1:-1:-1;;;;;8501:25:1;;;;;;:16;:25;;;;;;:45;;8531:14;8501:29;:45::i;:::-;-1:-1:-1;;;;;8473:25:1;;;;;;;:16;:25;;;;;;:73;;;;8589:26;;;;;;;:46;;8620:14;8589:30;:46::i;:::-;-1:-1:-1;;;;;8560:26:1;;;;;;;:16;:26;;;;;;;;:75;;;;8649:15;:25;;;;;:34;;;;;;;;;;:41;;-1:-1:-1;;8649:41:1;8686:4;8649:41;;;8423:278;8128:579;;;;;;:::o;5969:233:5:-;6049:7;;;;6108:22;6112:3;6124:5;6108:3;:22::i;:::-;6077:53;;;;-1:-1:-1;5969:233:5;-1:-1:-1;;;;;5969:233:5:o;14878:98:4:-;14950:19;;;;:8;;:19;;;;;:::i;7222:211:5:-;7329:7;7379:44;7384:3;7404;7410:12;7379:4;:44::i;:::-;7371:53;-1:-1:-1;7222:211:5;;;;;;:::o;1017:96:14:-;1075:7;1101:5;1105:1;1101;:5;:::i;8807:112:6:-;8867:7;8893:19;8901:3;8893:7;:19::i;9817:269:4:-;9930:28;9940:4;9946:2;9950:7;9930:9;:28::i;:::-;9976:48;9999:4;10005:2;10009:7;10018:5;9976:22;:48::i;:::-;9968:111;;;;-1:-1:-1;;;9968:111:4;;;;;;;:::i;210:703:15:-;266:13;483:10;479:51;;-1:-1:-1;509:10:15;;;;;;;;;;;;-1:-1:-1;;;509:10:15;;;;;;479:51;554:5;539:12;593:75;600:9;;593:75;;625:8;;;;:::i;:::-;;-1:-1:-1;647:10:15;;-1:-1:-1;655:2:15;647:10;;:::i;:::-;;;593:75;;;677:19;709:6;699:17;;;;;;-1:-1:-1;;;699:17:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;699:17:15;;677:39;;726:150;733:10;;726:150;;759:11;769:1;759:11;;:::i;:::-;;-1:-1:-1;827:10:15;835:2;827:5;:10;:::i;:::-;814:24;;:2;:24;:::i;:::-;801:39;;784:6;791;784:14;;;;;;-1:-1:-1;;;784:14:15;;;;;;;;;;;;:56;-1:-1:-1;;;;;784:56:15;;;;;;;;-1:-1:-1;854:11:15;863:2;854:11;;:::i;:::-;;;726:150;;1745:96:14;1803:7;1829:5;1833:1;1829;:5;:::i;5288:149:5:-;5372:4;5395:35;5405:3;5425;5395:9;:35::i;2462:107::-;2518:7;2544:18;:3;:16;:18::i;8366:135:6:-;8436:4;8459:35;8467:3;8487:5;8459:7;:35::i;8069:129::-;8136:4;8159:32;8164:3;8184:5;8159:4;:32::i;4727:183:5:-;4816:4;4839:64;4844:3;4864;-1:-1:-1;;;;;4878:23:5;;4839:4;:64::i;4453:201:6:-;4547:18;;4520:7;;4547:26;-1:-1:-1;4539:73:6;;;;-1:-1:-1;;;4539:73:6;;;;;;;:::i;:::-;4629:3;:11;;4641:5;4629:18;;;;;;-1:-1:-1;;;4629:18:6;;;;;;;;;;;;;;;;;4622:25;;4453:201;;;;:::o;11682:247:4:-;11777:18;11783:2;11787:7;11777:5;:18::i;:::-;11813:54;11844:1;11848:2;11852:7;11861:5;11813:22;:54::i;:::-;11805:117;;;;-1:-1:-1;;;11805:117:4;;;;;;;:::i;2912:175:5:-;2979:7;;;3021:19;:3;3034:5;3021:12;:19::i;:::-;3063:16;;;;:11;;;;;:16;;;;;;;;;2912:175;-1:-1:-1;;;;2912:175:5:o;4178:240::-;4272:7;4307:16;;;:11;;;:16;;;;;;4341:10;;;;:33;;;4355:19;4365:3;4370;4355:9;:19::i;:::-;4376:12;4333:56;;;;;-1:-1:-1;;;4333:56:5;;;;;;;;:::i;:::-;-1:-1:-1;4406:5:5;4178:240;-1:-1:-1;;;;4178:240:5:o;4014:107:6:-;4096:18;;4014:107::o;15529:589:4:-;15649:4;15674:15;:2;-1:-1:-1;;;;;15674:13:4;;:15::i;:::-;15669:58;;-1:-1:-1;15712:4:4;15705:11;;15669:58;15736:23;15762:246;-1:-1:-1;;;15873:12:4;:10;:12::i;:::-;15899:4;15917:7;15938:5;15778:175;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;;;;;15778:175:4;;;;;;;-1:-1:-1;;;;;15778:175:4;;;;;;;;;;;15762:246;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15762:15:4;;;:246;:15;:246::i;:::-;15736:272;;16018:13;16045:10;16034:32;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;16084:26:4;-1:-1:-1;;;16084:26:4;;-1:-1:-1;;;15529:589:4;;;;;;:::o;2248:124:5:-;2319:4;2342:23;:3;2361;2342:18;:23::i;2204:1521:6:-;2270:4;2407:19;;;:12;;;:19;;;;;;2441:15;;2437:1282;;2798:21;2822:14;2835:1;2822:10;:14;:::i;:::-;2870:18;;2798:38;;-1:-1:-1;2850:17:6;;2870:22;;2891:1;;2870:22;:::i;:::-;2850:42;;3132:17;3152:3;:11;;3164:9;3152:22;;;;;;-1:-1:-1;;;3152:22:6;;;;;;;;;;;;;;;;;3132:42;;3295:9;3266:3;:11;;3278:13;3266:26;;;;;;-1:-1:-1;;;3266:26:6;;;;;;;;;;;;;;;;;;;;:38;;;;3370:23;;;:12;;;:23;;;;;;:36;;;3528:17;;3370:3;;3528:17;;;-1:-1:-1;;;3528:17:6;;;;;;;;;;;;;;;;;;;;;;;;;;3620:3;:12;;:19;3633:5;3620:19;;;;;;;;;;;3613:26;;;3661:4;3654:11;;;;;;;;2437:1282;3703:5;3696:12;;;;;1632:404;1695:4;1716:21;1726:3;1731:5;1716:9;:21::i;:::-;1711:319;;-1:-1:-1;1753:23:6;;;;;;;;:11;:23;;;;;;;;;;;;;1933:18;;1911:19;;;:12;;;:19;;;;;;:40;;;;1965:11;;1711:319;-1:-1:-1;2014:5:6;2007:12;;1695:158:5;1771:4;1787:16;;;:11;;;:16;;;;;:24;;;1828:18;1787:3;1799;1828:13;:18::i;12251:393:4:-;-1:-1:-1;;;;;12330:16:4;;12322:61;;;;-1:-1:-1;;;12322:61:4;;;;;;;:::i;:::-;12402:16;12410:7;12402;:16::i;:::-;12401:17;12393:58;;;;-1:-1:-1;;;12393:58:4;;;;;;;:::i;:::-;12462:45;12491:1;12495:2;12499:7;12462:20;:45::i;:::-;-1:-1:-1;;;;;12518:17:4;;;;;;:13;:17;;;;;:30;;12540:7;12518:21;:30::i;:::-;-1:-1:-1;12559:29:4;:12;12576:7;12585:2;12559:16;:29::i;:::-;-1:-1:-1;12604:33:4;;12629:7;;-1:-1:-1;;;;;12604:33:4;;;12621:1;;12604:33;;12621:1;;12604:33;12251:393;;:::o;718:413:0:-;1078:20;1116:8;;;718:413::o;2231:193::-;2334:12;2365:52;2387:6;2395:4;2401:1;2404:12;2365:21;:52::i;5395:138:6:-;5475:4;5498:28;5508:3;5520:5;3806:127;3879:4;3902:19;;;:12;;;;;:19;;;;;;:24;;;3806:127::o;3213:448:0:-;3340:12;3397:5;3372:21;:30;;3364:39;;;;;;3421:18;3432:6;3421:10;:18::i;:::-;3413:27;;;;;;3511:12;3525:23;3552:6;-1:-1:-1;;;;;3552:11:0;3572:5;3580:4;3552:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3510:75;;;;3602:52;3620:7;3629:10;3641:12;3602:17;:52::i;:::-;3595:59;3213:448;-1:-1:-1;;;;;;;3213:448:0:o;3667:725::-;3782:12;3810:7;3806:580;;;-1:-1:-1;3840:10:0;3833:17;;3806:580;3951:17;;:21;3947:429;;4209:10;4203:17;4269:15;4256:10;4252:2;4248:19;4241:44;4158:145;4348:12;4341:20;;-1:-1:-1;;;4341:20:0;;;;;;;;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:633:16;;110:18;151:2;143:6;140:14;137:2;;;157:18;;:::i;:::-;232:2;226:9;200:2;286:15;;-1:-1:-1;;282:24:16;;;308:2;278:33;274:42;262:55;;;332:18;;;352:22;;;329:46;326:2;;;378:18;;:::i;:::-;418:10;414:2;407:22;447:6;438:15;;477:6;469;462:22;517:3;508:6;503:3;499:16;496:25;493:2;;;534:1;531;524:12;493:2;584:6;579:3;572:4;564:6;560:17;547:44;639:1;632:4;623:6;615;611:19;607:30;600:41;;;;90:557;;;;;:::o;652:175::-;722:20;;-1:-1:-1;;;;;771:31:16;;761:42;;751:2;;817:1;814;807:12;832:198;;944:2;932:9;923:7;919:23;915:32;912:2;;;965:6;957;950:22;912:2;993:31;1014:9;993:31;:::i;1035:274::-;;;1164:2;1152:9;1143:7;1139:23;1135:32;1132:2;;;1185:6;1177;1170:22;1132:2;1213:31;1234:9;1213:31;:::i;:::-;1203:41;;1263:40;1299:2;1288:9;1284:18;1263:40;:::i;:::-;1253:50;;1122:187;;;;;:::o;1314:342::-;;;;1460:2;1448:9;1439:7;1435:23;1431:32;1428:2;;;1481:6;1473;1466:22;1428:2;1509:31;1530:9;1509:31;:::i;:::-;1499:41;;1559:40;1595:2;1584:9;1580:18;1559:40;:::i;:::-;1549:50;;1646:2;1635:9;1631:18;1618:32;1608:42;;1418:238;;;;;:::o;1661:702::-;;;;;1833:3;1821:9;1812:7;1808:23;1804:33;1801:2;;;1855:6;1847;1840:22;1801:2;1883:31;1904:9;1883:31;:::i;:::-;1873:41;;1933:40;1969:2;1958:9;1954:18;1933:40;:::i;:::-;1923:50;;2020:2;2009:9;2005:18;1992:32;1982:42;;2075:2;2064:9;2060:18;2047:32;2102:18;2094:6;2091:30;2088:2;;;2139:6;2131;2124:22;2088:2;2167:22;;2220:4;2212:13;;2208:27;-1:-1:-1;2198:2:16;;2254:6;2246;2239:22;2198:2;2282:75;2349:7;2344:2;2331:16;2326:2;2322;2318:11;2282:75;:::i;:::-;2272:85;;;1791:572;;;;;;;:::o;2368:329::-;;;2494:2;2482:9;2473:7;2469:23;2465:32;2462:2;;;2515:6;2507;2500:22;2462:2;2543:31;2564:9;2543:31;:::i;:::-;2533:41;;2624:2;2613:9;2609:18;2596:32;2637:30;2661:5;2637:30;:::i;:::-;2686:5;2676:15;;;2452:245;;;;;:::o;2702:266::-;;;2831:2;2819:9;2810:7;2806:23;2802:32;2799:2;;;2852:6;2844;2837:22;2799:2;2880:31;2901:9;2880:31;:::i;:::-;2870:41;2958:2;2943:18;;;;2930:32;;-1:-1:-1;;;2789:179:16:o;2973:342::-;;;;3119:2;3107:9;3098:7;3094:23;3090:32;3087:2;;;3140:6;3132;3125:22;3087:2;3168:31;3189:9;3168:31;:::i;:::-;3158:41;;3246:2;3235:9;3231:18;3218:32;3208:42;;3269:40;3305:2;3294:9;3290:18;3269:40;:::i;:::-;3259:50;;3077:238;;;;;:::o;3320:257::-;;3440:2;3428:9;3419:7;3415:23;3411:32;3408:2;;;3461:6;3453;3446:22;3408:2;3498:9;3492:16;3517:30;3541:5;3517:30;:::i;3582:257::-;;3693:2;3681:9;3672:7;3668:23;3664:32;3661:2;;;3714:6;3706;3699:22;3661:2;3758:9;3745:23;3777:32;3803:5;3777:32;:::i;3844:261::-;;3966:2;3954:9;3945:7;3941:23;3937:32;3934:2;;;3987:6;3979;3972:22;3934:2;4024:9;4018:16;4043:32;4069:5;4043:32;:::i;4110:482::-;;4232:2;4220:9;4211:7;4207:23;4203:32;4200:2;;;4253:6;4245;4238:22;4200:2;4298:9;4285:23;4331:18;4323:6;4320:30;4317:2;;;4368:6;4360;4353:22;4317:2;4396:22;;4449:4;4441:13;;4437:27;-1:-1:-1;4427:2:16;;4483:6;4475;4468:22;4427:2;4511:75;4578:7;4573:2;4560:16;4555:2;4551;4547:11;4511:75;:::i;4597:190::-;;4709:2;4697:9;4688:7;4684:23;4680:32;4677:2;;;4730:6;4722;4715:22;4677:2;-1:-1:-1;4758:23:16;;4667:120;-1:-1:-1;4667:120:16:o;4792:258::-;;;4921:2;4909:9;4900:7;4896:23;4892:32;4889:2;;;4942:6;4934;4927:22;4889:2;-1:-1:-1;;4970:23:16;;;5040:2;5025:18;;;5012:32;;-1:-1:-1;4879:171:16:o;5055:289::-;;5165:2;5153:9;5144:7;5140:23;5136:32;5133:2;;;5186:6;5178;5171:22;5133:2;5230:9;5217:23;5280:4;5273:5;5269:16;5262:5;5259:27;5249:2;;5305:6;5297;5290:22;5349:259;;5430:5;5424:12;5457:6;5452:3;5445:19;5473:63;5529:6;5522:4;5517:3;5513:14;5506:4;5499:5;5495:16;5473:63;:::i;:::-;5590:2;5569:15;-1:-1:-1;;5565:29:16;5556:39;;;;5597:4;5552:50;;5400:208;-1:-1:-1;;5400:208:16:o;5613:182::-;5742:19;;;5786:2;5777:12;;5732:63::o;5800:274::-;;5967:6;5961:13;5983:53;6029:6;6024:3;6017:4;6009:6;6005:17;5983:53;:::i;:::-;6052:16;;;;;5937:137;-1:-1:-1;;5937:137:16:o;6079:470::-;;6296:6;6290:13;6312:53;6358:6;6353:3;6346:4;6338:6;6334:17;6312:53;:::i;:::-;6428:13;;6387:16;;;;6450:57;6428:13;6387:16;6484:4;6472:17;;6450:57;:::i;:::-;6523:20;;6266:283;-1:-1:-1;;;;6266:283:16:o;6554:203::-;-1:-1:-1;;;;;6718:32:16;;;;6700:51;;6688:2;6673:18;;6655:102::o;6762:490::-;-1:-1:-1;;;;;7031:15:16;;;7013:34;;7083:15;;7078:2;7063:18;;7056:43;7130:2;7115:18;;7108:34;;;7178:3;7173:2;7158:18;;7151:31;;;6762:490;;7199:47;;7226:19;;7218:6;7199:47;:::i;:::-;7191:55;6965:287;-1:-1:-1;;;;;;6965:287:16:o;7257:274::-;-1:-1:-1;;;;;7449:32:16;;;;7431:51;;7513:2;7498:18;;7491:34;7419:2;7404:18;;7386:145::o;7536:635::-;7707:2;7759:21;;;7829:13;;7732:18;;;7851:22;;;7536:635;;7707:2;7930:15;;;;7904:2;7889:18;;;7536:635;7976:169;7990:6;7987:1;7984:13;7976:169;;;8051:13;;8039:26;;8120:15;;;;8085:12;;;;8012:1;8005:9;7976:169;;;-1:-1:-1;8162:3:16;;7687:484;-1:-1:-1;;;;;;7687:484:16:o;8176:187::-;8341:14;;8334:22;8316:41;;8304:2;8289:18;;8271:92::o;8595:221::-;;8744:2;8733:9;8726:21;8764:46;8806:2;8795:9;8791:18;8783:6;8764:46;:::i;8821:398::-;9023:2;9005:21;;;9062:2;9042:18;;;9035:30;9101:34;9096:2;9081:18;;9074:62;-1:-1:-1;;;9167:2:16;9152:18;;9145:32;9209:3;9194:19;;8995:224::o;9224:344::-;9426:2;9408:21;;;9465:2;9445:18;;;9438:30;-1:-1:-1;;;9499:2:16;9484:18;;9477:50;9559:2;9544:18;;9398:170::o;9573:414::-;9775:2;9757:21;;;9814:2;9794:18;;;9787:30;9853:34;9848:2;9833:18;;9826:62;-1:-1:-1;;;9919:2:16;9904:18;;9897:48;9977:3;9962:19;;9747:240::o;9992:402::-;10194:2;10176:21;;;10233:2;10213:18;;;10206:30;10272:34;10267:2;10252:18;;10245:62;-1:-1:-1;;;10338:2:16;10323:18;;10316:36;10384:3;10369:19;;10166:228::o;10399:352::-;10601:2;10583:21;;;10640:2;10620:18;;;10613:30;10679;10674:2;10659:18;;10652:58;10742:2;10727:18;;10573:178::o;10756:400::-;10958:2;10940:21;;;10997:2;10977:18;;;10970:30;11036:34;11031:2;11016:18;;11009:62;-1:-1:-1;;;11102:2:16;11087:18;;11080:34;11146:3;11131:19;;10930:226::o;11161:349::-;11363:2;11345:21;;;11402:2;11382:18;;;11375:30;11441:27;11436:2;11421:18;;11414:55;11501:2;11486:18;;11335:175::o;11515:348::-;11717:2;11699:21;;;11756:2;11736:18;;;11729:30;11795:26;11790:2;11775:18;;11768:54;11854:2;11839:18;;11689:174::o;11868:408::-;12070:2;12052:21;;;12109:2;12089:18;;;12082:30;12148:34;12143:2;12128:18;;12121:62;-1:-1:-1;;;12214:2:16;12199:18;;12192:42;12266:3;12251:19;;12042:234::o;12281:420::-;12483:2;12465:21;;;12522:2;12502:18;;;12495:30;12561:34;12556:2;12541:18;;12534:62;12632:26;12627:2;12612:18;;12605:54;12691:3;12676:19;;12455:246::o;12706:406::-;12908:2;12890:21;;;12947:2;12927:18;;;12920:30;12986:34;12981:2;12966:18;;12959:62;-1:-1:-1;;;13052:2:16;13037:18;;13030:40;13102:3;13087:19;;12880:232::o;13117:356::-;13319:2;13301:21;;;13338:18;;;13331:30;13397:34;13392:2;13377:18;;13370:62;13464:2;13449:18;;13291:182::o;13478:408::-;13680:2;13662:21;;;13719:2;13699:18;;;13692:30;13758:34;13753:2;13738:18;;13731:62;-1:-1:-1;;;13824:2:16;13809:18;;13802:42;13876:3;13861:19;;13652:234::o;13891:356::-;14093:2;14075:21;;;14112:18;;;14105:30;14171:34;14166:2;14151:18;;14144:62;14238:2;14223:18;;14065:182::o;14252:405::-;14454:2;14436:21;;;14493:2;14473:18;;;14466:30;14532:34;14527:2;14512:18;;14505:62;-1:-1:-1;;;14598:2:16;14583:18;;14576:39;14647:3;14632:19;;14426:231::o;14662:411::-;14864:2;14846:21;;;14903:2;14883:18;;;14876:30;14942:34;14937:2;14922:18;;14915:62;-1:-1:-1;;;15008:2:16;14993:18;;14986:45;15063:3;15048:19;;14836:237::o;15078:397::-;15280:2;15262:21;;;15319:2;15299:18;;;15292:30;15358:34;15353:2;15338:18;;15331:62;-1:-1:-1;;;15424:2:16;15409:18;;15402:31;15465:3;15450:19;;15252:223::o;15480:413::-;15682:2;15664:21;;;15721:2;15701:18;;;15694:30;15760:34;15755:2;15740:18;;15733:62;-1:-1:-1;;;15826:2:16;15811:18;;15804:47;15883:3;15868:19;;15654:239::o;16080:434::-;16317:25;;;16390:4;16378:17;;;;16373:2;16358:18;;16351:45;-1:-1:-1;;;;;16432:32:16;16427:2;16412:18;;16405:60;16496:2;16481:18;;16474:34;16304:3;16289:19;;16271:243::o;16519:128::-;;16590:1;16586:6;16583:1;16580:13;16577:2;;;16596:18;;:::i;:::-;-1:-1:-1;16632:9:16;;16567:80::o;16652:120::-;;16718:1;16708:2;;16723:18;;:::i;:::-;-1:-1:-1;16757:9:16;;16698:74::o;16777:168::-;;16883:1;16879;16875:6;16871:14;16868:1;16865:21;16860:1;16853:9;16846:17;16842:45;16839:2;;;16890:18;;:::i;:::-;-1:-1:-1;16930:9:16;;16829:116::o;16950:125::-;;17018:1;17015;17012:8;17009:2;;;17023:18;;:::i;:::-;-1:-1:-1;17060:9:16;;16999:76::o;17080:258::-;17152:1;17162:113;17176:6;17173:1;17170:13;17162:113;;;17252:11;;;17246:18;17233:11;;;17226:39;17198:2;17191:10;17162:113;;;17293:6;17290:1;17287:13;17284:2;;;-1:-1:-1;;17328:1:16;17310:16;;17303:27;17133:205::o;17343:380::-;17428:1;17418:12;;17475:1;17465:12;;;17486:2;;17540:4;17532:6;17528:17;17518:27;;17486:2;17593;17585:6;17582:14;17562:18;17559:38;17556:2;;;17639:10;17634:3;17630:20;17627:1;17620:31;17674:4;17671:1;17664:15;17702:4;17699:1;17692:15;17728:135;;-1:-1:-1;;17788:17:16;;17785:2;;;17808:18;;:::i;:::-;-1:-1:-1;17855:1:16;17844:13;;17775:88::o;17868:112::-;;17926:1;17916:2;;17931:18;;:::i;:::-;-1:-1:-1;17965:9:16;;17906:74::o;17985:127::-;18046:10;18041:3;18037:20;18034:1;18027:31;18077:4;18074:1;18067:15;18101:4;18098:1;18091:15;18117:127;18178:10;18173:3;18169:20;18166:1;18159:31;18209:4;18206:1;18199:15;18233:4;18230:1;18223:15;18249:127;18310:10;18305:3;18301:20;18298:1;18291:31;18341:4;18338:1;18331:15;18365:4;18362:1;18355:15;18381:120;18469:5;18462:13;18455:21;18448:5;18445:32;18435:2;;18491:1;18488;18481:12;18506:133;-1:-1:-1;;;;;;18582:32:16;;18572:43;;18562:2;;18629:1;18626;18619:12

Swarm Source

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