ETH Price: $2,501.61 (-5.04%)

Token

BULLSEUM (BULL)
 

Overview

Max Total Supply

4,999 BULL

Holders

1,973

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 BULL
0x4c1aa634E5d12681b1C3f167838Cad1D8c10Ef16
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

NFT collection of a total of 5,000 unique bulls.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Bullseum

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Unlicense license

Contract Source Code (Solidity Multiple files format)

File 5 of 27: Bullseum.sol
// SPDX-License-Identifier: UNLICENSED

pragma solidity 0.8.0;


import './ReentrancyGuard.sol';
import './ERC721PresetMinterPauserAutoId.sol';
import './Ownable.sol';
import './BullGeneGenerator.sol';


contract Bullseum is ERC721PresetMinterPauserAutoId, ReentrancyGuard, Ownable {

    using Counters for Counters.Counter;
    using BullGeneGenerator for BullGeneGenerator.Gene;

    BullGeneGenerator.Gene internal geneGenerator;

    uint256 public constant maxBULLS = 10000;
    uint256 public constant bulkBuyLimit = 25;

    uint256 public bullsMintedForPromotion;
    uint256 public unitBullPrice;

    mapping (uint256 => uint256) internal _genes;

    event TokenMinted(uint256 indexed tokenId, uint256 newGene);
    event BullseumPriceChanged(uint256 newUnitBullPrice);




    constructor() ERC721PresetMinterPauserAutoId('BULLSEUM', 'BULL') public {

        bullsMintedForPromotion = 0;
        unitBullPrice = 0.07 ether;
        geneGenerator.random();
        pause();

    }

    function setUnitBullPrice(uint256 newUnitBullPrice) public onlyOwner {
        unitBullPrice = newUnitBullPrice;
        emit BullseumPriceChanged(newUnitBullPrice);
    }


    function mint(uint256 amount) public payable nonReentrant returns(bool){

      require(amount <= bulkBuyLimit, "Cannot bulk buy more than the preset limit");
      require(_tokenIdTracker.current()+(amount) <= maxBULLS, "Total supply reached");
      require(msg.value == unitBullPrice*amount, 'You need to send 0.07ether per bull desired');

      mintHelper(_msgSender(), amount);

      return true;


    }

    function mintForPromotion(uint256 amount, address to) public onlyOwner returns(bool){
      require(bullsMintedForPromotion + amount <= 150, 'Cant mint more bulls for promotion');
      require(_tokenIdTracker.current()+(amount) <= maxBULLS, "Total supply reached");
      bullsMintedForPromotion += amount;
      mintHelper(to, amount);
      return true;
    }

    function mintHelper(address sender, uint256 amount) internal {

      for (uint256 i = 0; i < amount; i++) {


          uint256 tokenId = _tokenIdTracker.current();
          _genes[tokenId] = geneGenerator.random();
          _mint(sender, tokenId);
          _tokenIdTracker.increment();

          emit TokenMinted(tokenId, _genes[tokenId]);
      }

    }


    function setBaseURI(string memory _baseURI, uint256 id) public virtual {
        require(hasRole(BASE_URI_SETTER_ROLE, _msgSender()), "ERC721PresetMinterPauserAutoId: must have base uri setter role to change base URI");
        _setBaseURI(_baseURI,id);
    }

    function geneOf(uint256 tokenId) public view returns (uint256 gene) {
        return _genes[tokenId];
    }

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






}

File 1 of 27: AccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.0;

import "./IAccessControl.sol";
import "./Context.sol";
import "./Strings.sol";
import "./ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 2 of 27: AccessControlEnumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.0;

import "./IAccessControlEnumerable.sol";
import "./AccessControl.sol";
import "./EnumerableSet.sol";

/**
 * @dev Extension of {AccessControl} that allows enumerating the members of each role.
 */
abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {
    using EnumerableSet for EnumerableSet.AddressSet;

    mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers;

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

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view override returns (address) {
        return _roleMembers[role].at(index);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view override returns (uint256) {
        return _roleMembers[role].length();
    }

    /**
     * @dev Overload {grantRole} to track enumerable memberships
     */
    function grantRole(bytes32 role, address account) public virtual override(AccessControl, IAccessControl) {
        super.grantRole(role, account);
        _roleMembers[role].add(account);
    }

    /**
     * @dev Overload {revokeRole} to track enumerable memberships
     */
    function revokeRole(bytes32 role, address account) public virtual override(AccessControl, IAccessControl) {
        super.revokeRole(role, account);
        _roleMembers[role].remove(account);
    }

    /**
     * @dev Overload {renounceRole} to track enumerable memberships
     */
    function renounceRole(bytes32 role, address account) public virtual override(AccessControl, IAccessControl) {
        super.renounceRole(role, account);
        _roleMembers[role].remove(account);
    }

    /**
     * @dev Overload {_setupRole} to track enumerable memberships
     */
    function _setupRole(bytes32 role, address account) internal virtual override {
        super._setupRole(role, account);
        _roleMembers[role].add(account);
    }
}

File 3 of 27: Address.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 4 of 27: BullGeneGenerator.sol
// SPDX-License-Identifier: UNLICENSED

pragma solidity 0.8.0;


library BullGeneGenerator {

    struct Gene {
		uint256 lastRandom;
    }

    function random(Gene storage g) internal returns (uint256) {
		g.lastRandom = uint256(keccak256(abi.encode(keccak256(abi.encodePacked(msg.sender, tx.origin, gasleft(), g.lastRandom, block.timestamp, block.number, blockhash(block.number), blockhash(block.number-100))))));
		return g.lastRandom;
    }

}

File 6 of 27: Context.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.0;

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

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

File 7 of 27: Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.0;

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

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

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

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

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

File 8 of 27: 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 9 of 27: EnumerableSet.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.0;

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

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

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

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

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

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

            if (lastIndex != toDeleteIndex) {
                bytes32 lastvalue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastvalue;
                // Update the index for the moved value
                set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex
            }

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

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

            return true;
        } else {
            return false;
        }
    }

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

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

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

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

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

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

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

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

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

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

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

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

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

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

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

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

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

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

        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

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

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

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

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

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

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

        assembly {
            result := store
        }

        return result;
    }
}

File 10 of 27: ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.0;

import "./IERC165.sol";

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

File 11 of 27: ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

    // Base URI
    string[5] private _baseURI;
    string private _serviceIPFS;


    /**
     * @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_;
         _serviceIPFS = "https://gateway.pinata.cloud/ipfs/";
    }

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

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

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

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

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

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

        string memory baseURI = _baseUri(intDivision);
        return bytes(baseURI).length > 0 ? string(abi.encodePacked( _serviceIPFS,baseURI,tokenId.toString(),".json")) : "https://gateway.pinata.cloud/ipfs/QmQMbF73zSAPVLsz17r91LH9RzJ3PRB2ScpX5oAracqPtt";
    }

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

    function _setBaseURI(string memory baseURI_, uint256 id) internal virtual {
        _baseURI[id] = baseURI_;
    }

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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


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

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

File 12 of 27: ERC721Burnable.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.0;

import "./ERC721.sol";
import "./Context.sol";

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}

File 13 of 27: ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 14 of 27: ERC721Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.0;

import "./ERC721.sol";
import "./Pausable.sol";

/**
 * @dev ERC721 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 */
abstract contract ERC721Pausable is ERC721, Pausable {
    /**
     * @dev See {ERC721-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        require(!paused(), "ERC721Pausable: token transfer while paused");
    }
}

File 15 of 27: ERC721PresetMinterPauserAutoId.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.0;

import "./ERC721.sol";
import "./ERC721Enumerable.sol";
import "./ERC721Burnable.sol";
import "./ERC721Pausable.sol";
import "./AccessControlEnumerable.sol";
import "./Context.sol";
import "./Counters.sol";

/**
 * @dev {ERC721} token, including:
 *
 *  - ability for holders to burn (destroy) their tokens
 *  - a minter role that allows for token minting (creation)
 *  - a pauser role that allows to stop all token transfers
 *  - token ID and URI autogeneration
 *
 * This contract uses {AccessControl} to lock permissioned functions using the
 * different roles - head to its documentation for details.
 *
 * The account that deploys the contract will be granted the minter and pauser
 * roles, as well as the default admin role, which will let it grant both minter
 * and pauser roles to other accounts.
 */
contract ERC721PresetMinterPauserAutoId is
    Context,
    AccessControlEnumerable,
    ERC721Enumerable,
    ERC721Burnable,
    ERC721Pausable
{
    using Counters for Counters.Counter;

    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");
    bytes32 public constant BASE_URI_SETTER_ROLE = keccak256("BASE_URI_SETTER_ROLE");

    Counters.Counter internal _tokenIdTracker;



    /**
     * @dev Grants `DEFAULT_ADMIN_ROLE`, `MINTER_ROLE` and `PAUSER_ROLE` to the
     * account that deploys the contract.
     *
     * Token URIs will be autogenerated based on `baseURI` and their token IDs.
     * See {ERC721-tokenURI}.
     */
    constructor(
        string memory name,
        string memory symbol
    ) ERC721(name, symbol) {


        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());

        _setupRole(MINTER_ROLE, _msgSender());
        _setupRole(PAUSER_ROLE, _msgSender());
        _setupRole(BASE_URI_SETTER_ROLE, _msgSender());
    }


    /**
     * @dev Creates a new token for `to`. Its token ID will be automatically
     * assigned (and available on the emitted {IERC721-Transfer} event), and the token
     * URI autogenerated based on the base URI passed at construction.
     *
     * See {ERC721-_mint}.
     *
     * Requirements:
     *
     * - the caller must have the `MINTER_ROLE`.
     */
    //function mint(address to) public virtual {
    //    require(hasRole(MINTER_ROLE, _msgSender()), "ERC721PresetMinterPauserAutoId: must have minter role to mint");

        // We cannot just use balanceOf to create the new tokenId because tokens
        // can be burned (destroyed), so we need a separate counter.
    //    _mint(to, _tokenIdTracker.current());
    //    _tokenIdTracker.increment();
    //}

    /**
     * @dev Pauses all token transfers.
     *
     * See {ERC721Pausable} and {Pausable-_pause}.
     *
     * Requirements:
     *
     * - the caller must have the `PAUSER_ROLE`.
     */
    function pause() public virtual {
        require(hasRole(PAUSER_ROLE, _msgSender()), "ERC721PresetMinterPauserAutoId: must have pauser role to pause");
        _pause();
    }

    /**
     * @dev Unpauses all token transfers.
     *
     * See {ERC721Pausable} and {Pausable-_unpause}.
     *
     * Requirements:
     *
     * - the caller must have the `PAUSER_ROLE`.
     */
    function unpause() public virtual {
        require(hasRole(PAUSER_ROLE, _msgSender()), "ERC721PresetMinterPauserAutoId: must have pauser role to unpause");
        _unpause();
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override(ERC721, ERC721Enumerable, ERC721Pausable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }

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

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

pragma solidity 0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

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

pragma solidity 0.8.0;

import "./IAccessControl.sol";

/**
 * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.
 */
interface IAccessControlEnumerable is IAccessControl {
    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) external view returns (address);

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) external view returns (uint256);
}

File 18 of 27: IBullMorph.sol
// SPDX-License-Identifier: UNLICENSED

pragma solidity 0.8.0;

import './IERC721.sol';

interface IBullMorph is IERC721 {

    function geneOf(uint256 tokenId) external view returns (uint256 gene);
    function mint() external payable;
    function bulkBuy(uint256 amount) external payable;
    function lastTokenId() external view returns (uint256 tokenId);
    function setPolymorphPrice(uint256 newPolymorphPrice) external virtual;
    function setMaxSupply(uint256 maxSupply) external virtual;
    function setBulkBuyLimit(uint256 bulkBuyLimit) external virtual;

}

File 19 of 27: 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 20 of 27: 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 21 of 27: 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 22 of 27: 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 23 of 27: 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 24 of 27: Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.0;

import "./Context.sol";

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

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

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

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

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

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

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

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

File 25 of 27: Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.0;

import "./Context.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 26 of 27: ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newUnitBullPrice","type":"uint256"}],"name":"BullseumPriceChanged","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newGene","type":"uint256"}],"name":"TokenMinted","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"BASE_URI_SETTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"bulkBuyLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bullsMintedForPromotion","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"geneOf","outputs":[{"internalType":"uint256","name":"gene","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","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":"maxBULLS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"mintForPromotion","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newUnitBullPrice","type":"uint256"}],"name":"setUnitBullPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unitBullPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604080518082018252600881526742554c4c5345554d60c01b6020808301918252835180850190945260048452631095531360e21b908401528151919291839183916200006291600291620004d5565b50805162000078906003906020840190620004d5565b5060405180606001604052806022815260200162003c2e602291398051620000a991600d91602090910190620004d5565b50506012805460ff1916905550620000cc6000620000c66200019c565b620001a0565b620000fb7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6620000c66200019c565b6200011960008051602062003c50833981519152620000c66200019c565b620001487fa0e5e26b1edd09cd4f80d729dabc97fbad765ce4b02ea8d5794921b5bde3478c620000c66200019c565b50506001601455620001636200015d6200019c565b620001e3565b600060175566f8b0a10e4700006018556200018b601662000235602090811b6200124717901c565b5062000196620002af565b620006c8565b3390565b620001b782826200030760201b620012bb1760201c565b6000828152600160209081526040909120620001de918390620012c562000317821b17901c565b505050565b601580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600033325a8454424380406200024d60648362000667565b40604051602001620002679897969594939291906200057b565b604051602081830303815290604052805190602001206040516020016200028f9190620005d7565b60408051808303601f190181529190528051602090910120918290555090565b620002d360008051602062003c50833981519152620002cd6200019c565b62000337565b620002fb5760405162461bcd60e51b8152600401620002f290620005e0565b60405180910390fd5b6200030562000360565b565b620003138282620003db565b5050565b60006200032e836001600160a01b03841662000465565b90505b92915050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6200036a620004b4565b156200038a5760405162461bcd60e51b8152600401620002f2906200063d565b6012805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620003c26200019c565b604051620003d19190620005c3565b60405180910390a1565b620003e7828262000337565b62000313576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620004216200019c565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000620004738383620004bd565b620004ab5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000331565b50600062000331565b60125460ff1690565b60009081526001919091016020526040902054151590565b828054620004e3906200068b565b90600052602060002090601f01602090048101928262000507576000855562000552565b82601f106200052257805160ff191683800117855562000552565b8280016001018555821562000552579182015b828111156200055257825182559160200191906001019062000535565b506200056092915062000564565b5090565b5b8082111562000560576000815560010162000565565b6001600160601b03196060998a1b811682529790981b9096166014880152602887019490945260488601929092526068850152608884015260a883015260c882015260e80190565b6001600160a01b0391909116815260200190565b90815260200190565b6020808252603e908201527f4552433732315072657365744d696e7465725061757365724175746f49643a2060408201527f6d75737420686176652070617573657220726f6c6520746f2070617573650000606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6000828210156200068657634e487b7160e01b81526011600452602481fd5b500390565b600281046001821680620006a057607f821691505b60208210811415620006c257634e487b7160e01b600052602260045260246000fd5b50919050565b61355680620006d86000396000f3fe6080604052600436106102665760003560e01c806366a54b0011610144578063a22cb465116100b6578063d53913931161007a578063d5391393146106b8578063d547741f146106cd578063e16d9267146106ed578063e63ab1e91461070d578063e985e9c514610722578063f2fde38b1461074257610266565b8063a22cb46514610623578063a49bccca14610643578063b88d4fde14610658578063c87b56dd14610678578063ca15c8731461069857610266565b80638da5cb5b116101085780638da5cb5b146105915780639010d07c146105a657806391d14854146105c657806395d89b41146105e6578063a0712d68146105fb578063a217fddf1461060e57610266565b806366a54b00146105125780636a5be6861461052757806370a0823114610547578063715018a6146105675780638456cb591461057c57610266565b806336568abe116101dd5780634f6ccce7116101a15780634f6ccce71461047357806352bbf79f14610493578063547328e0146104a85780635c975abb146104bd5780635e1f88a5146104d25780636352211e146104f257610266565b806336568abe146103e95780633ccfd60b146104095780633f4ba83a1461041e57806342842e0e1461043357806342966c681461045357610266565b806318160ddd1161022f57806318160ddd146103325780631a2bd0ea1461035457806323b872dd14610369578063248a9ca3146103895780632f2ff15d146103a95780632f745c59146103c957610266565b80629f25ff1461026b57806301ffc9a71461028d57806306fdde03146102c3578063081812fc146102e5578063095ea7b314610312575b600080fd5b34801561027757600080fd5b5061028b6102863660046127e4565b610762565b005b34801561029957600080fd5b506102ad6102a83660046127ac565b6107c1565b6040516102ba9190612a54565b60405180910390f35b3480156102cf57600080fd5b506102d86107d4565b6040516102ba9190612a68565b3480156102f157600080fd5b50610305610300366004612751565b610866565b6040516102ba9190612a0d565b34801561031e57600080fd5b5061028b61032d366004612728565b6108a9565b34801561033e57600080fd5b50610347610941565b6040516102ba9190612a5f565b34801561036057600080fd5b50610347610947565b34801561037557600080fd5b5061028b61038436600461263a565b61094d565b34801561039557600080fd5b506103476103a4366004612751565b610985565b3480156103b557600080fd5b5061028b6103c4366004612769565b61099a565b3480156103d557600080fd5b506103476103e4366004612728565b6109bc565b3480156103f557600080fd5b5061028b610404366004612769565b610a11565b34801561041557600080fd5b5061028b610a33565b34801561042a57600080fd5b5061028b610ab3565b34801561043f57600080fd5b5061028b61044e36600461263a565b610b05565b34801561045f57600080fd5b5061028b61046e366004612751565b610b20565b34801561047f57600080fd5b5061034761048e366004612751565b610b53565b34801561049f57600080fd5b50610347610bae565b3480156104b457600080fd5b50610347610bd2565b3480156104c957600080fd5b506102ad610bd8565b3480156104de57600080fd5b5061028b6104ed366004612751565b610be1565b3480156104fe57600080fd5b5061030561050d366004612751565b610c60565b34801561051e57600080fd5b50610347610c95565b34801561053357600080fd5b50610347610542366004612751565b610c9b565b34801561055357600080fd5b506103476105623660046125ee565b610cad565b34801561057357600080fd5b5061028b610cf1565b34801561058857600080fd5b5061028b610d3a565b34801561059d57600080fd5b50610305610d8a565b3480156105b257600080fd5b506103056105c136600461278b565b610d99565b3480156105d257600080fd5b506102ad6105e1366004612769565b610db8565b3480156105f257600080fd5b506102d8610de1565b6102ad610609366004612751565b610df0565b34801561061a57600080fd5b50610347610eba565b34801561062f57600080fd5b5061028b61063e3660046126ee565b610ebf565b34801561064f57600080fd5b50610347610f8d565b34801561066457600080fd5b5061028b610673366004612675565b610f92565b34801561068457600080fd5b506102d8610693366004612751565b610fd1565b3480156106a457600080fd5b506103476106b3366004612751565b611072565b3480156106c457600080fd5b50610347611089565b3480156106d957600080fd5b5061028b6106e8366004612769565b6110ad565b3480156106f957600080fd5b506102ad610708366004612769565b6110b7565b34801561071957600080fd5b50610347611187565b34801561072e57600080fd5b506102ad61073d366004612608565b6111ab565b34801561074e57600080fd5b5061028b61075d3660046125ee565b6111d9565b61078e7fa0e5e26b1edd09cd4f80d729dabc97fbad765ce4b02ea8d5794921b5bde3478c6105e16112da565b6107b35760405162461bcd60e51b81526004016107aa90613167565b60405180910390fd5b6107bd82826112de565b5050565b60006107cc82611314565b90505b919050565b6060600280546107e39061340e565b80601f016020809104026020016040519081016040528092919081815260200182805461080f9061340e565b801561085c5780601f106108315761010080835404028352916020019161085c565b820191906000526020600020905b81548152906001019060200180831161083f57829003601f168201915b5050505050905090565b600061087182611339565b61088d5760405162461bcd60e51b81526004016107aa90612f70565b506000908152600660205260409020546001600160a01b031690565b60006108b482610c60565b9050806001600160a01b0316836001600160a01b031614156108e85760405162461bcd60e51b81526004016107aa90613089565b806001600160a01b03166108fa6112da565b6001600160a01b0316148061091657506109168161073d6112da565b6109325760405162461bcd60e51b81526004016107aa90612e4b565b61093c8383611356565b505050565b60105490565b61271081565b61095e6109586112da565b826113c4565b61097a5760405162461bcd60e51b81526004016107aa906130ca565b61093c838383611441565b60009081526020819052604090206001015490565b6109a4828261156e565b600082815260016020526040902061093c90826112c5565b60006109c783610cad565b82106109e55760405162461bcd60e51b81526004016107aa90612b29565b506001600160a01b0382166000908152600e602090815260408083208484529091529020545b92915050565b610a1b8282611592565b600082815260016020526040902061093c90826115d4565b610a3b6112da565b6001600160a01b0316610a4c610d8a565b6001600160a01b031614610a725760405162461bcd60e51b81526004016107aa90612fbc565b47610a7b610d8a565b6001600160a01b03166108fc829081150290604051600060405180830381858888f193505050501580156107bd573d6000803e3d6000fd5b610adf7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6105e16112da565b610afb5760405162461bcd60e51b81526004016107aa906132b0565b610b036115e9565b565b61093c83838360405180602001604052806000815250610f92565b610b2b6109586112da565b610b475760405162461bcd60e51b81526004016107aa90613260565b610b5081611657565b50565b6000610b5d610941565b8210610b7b5760405162461bcd60e51b81526004016107aa9061311b565b60108281548110610b9c57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b7fa0e5e26b1edd09cd4f80d729dabc97fbad765ce4b02ea8d5794921b5bde3478c81565b60185481565b60125460ff1690565b610be96112da565b6001600160a01b0316610bfa610d8a565b6001600160a01b031614610c205760405162461bcd60e51b81526004016107aa90612fbc565b60188190556040517f9779915bd41bb0d61982702aa032799b92230db47734a26fd84e7715b111c93c90610c55908390612a5f565b60405180910390a150565b6000818152600460205260408120546001600160a01b0316806107cc5760405162461bcd60e51b81526004016107aa90612ef2565b60175481565b60009081526019602052604090205490565b60006001600160a01b038216610cd55760405162461bcd60e51b81526004016107aa90612ea8565b506001600160a01b031660009081526005602052604090205490565b610cf96112da565b6001600160a01b0316610d0a610d8a565b6001600160a01b031614610d305760405162461bcd60e51b81526004016107aa90612fbc565b610b0360006116fe565b610d667f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6105e16112da565b610d825760405162461bcd60e51b81526004016107aa90612c71565b610b03611750565b6015546001600160a01b031690565b6000828152600160205260408120610db190836117ab565b9392505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600380546107e39061340e565b600060026014541415610e155760405162461bcd60e51b81526004016107aa90613229565b60026014556019821115610e3b5760405162461bcd60e51b81526004016107aa90612d8b565b61271082610e4960136117b7565b610e539190613369565b1115610e715760405162461bcd60e51b81526004016107aa90612c43565b81601854610e7f9190613395565b3414610e9d5760405162461bcd60e51b81526004016107aa906131de565b610eae610ea86112da565b836117bb565b50600180601455919050565b600081565b610ec76112da565b6001600160a01b0316826001600160a01b03161415610ef85760405162461bcd60e51b81526004016107aa90612d54565b8060076000610f056112da565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610f496112da565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610f819190612a54565b60405180910390a35050565b601981565b610fa3610f9d6112da565b836113c4565b610fbf5760405162461bcd60e51b81526004016107aa906130ca565b610fcb8484848461185f565b50505050565b6060610fdc82611339565b610ff85760405162461bcd60e51b81526004016107aa9061303a565b60006110066107d084613381565b9050600061101382611892565b9050600081511161103c576040518060800160405280605081526020016134d16050913961106a565b600d8161104886611946565b60405160200161105a939291906128e0565b6040516020818303038152906040525b949350505050565b60008181526001602052604081206107cc90611a61565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b610a1b8282611a6c565b60006110c16112da565b6001600160a01b03166110d2610d8a565b6001600160a01b0316146110f85760405162461bcd60e51b81526004016107aa90612fbc565b6096836017546111089190613369565b11156111265760405162461bcd60e51b81526004016107aa90612cce565b6127108361113460136117b7565b61113e9190613369565b111561115c5760405162461bcd60e51b81526004016107aa90612c43565b826017600082825461116e9190613369565b9091555061117e905082846117bb565b50600192915050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6111e16112da565b6001600160a01b03166111f2610d8a565b6001600160a01b0316146112185760405162461bcd60e51b81526004016107aa90612fbc565b6001600160a01b03811661123e5760405162461bcd60e51b81526004016107aa90612bc6565b610b50816116fe565b600033325a84544243804061125d6064836133b4565b40604051602001611275989796959493929190612893565b6040516020818303038152906040528051906020012060405160200161129b9190612a5f565b60408051808303601f190181529190528051602090910120918290555090565b6107bd8282611a8b565b6000610db1836001600160a01b038416611b10565b3390565b816008826005811061130057634e487b7160e01b600052603260045260246000fd5b01908051906020019061093c9291906124ce565b60006001600160e01b0319821663780e9d6360e01b14806107cc57506107cc82611b5a565b6000908152600460205260409020546001600160a01b0316151590565b600081815260066020526040902080546001600160a01b0319166001600160a01b038416908117909155819061138b82610c60565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006113cf82611339565b6113eb5760405162461bcd60e51b81526004016107aa90612dd5565b60006113f683610c60565b9050806001600160a01b0316846001600160a01b031614806114315750836001600160a01b031661142684610866565b6001600160a01b0316145b8061106a575061106a81856111ab565b826001600160a01b031661145482610c60565b6001600160a01b03161461147a5760405162461bcd60e51b81526004016107aa90612ff1565b6001600160a01b0382166114a05760405162461bcd60e51b81526004016107aa90612d10565b6114ab838383611b9a565b6114b6600082611356565b6001600160a01b03831660009081526005602052604081208054600192906114df9084906133b4565b90915550506001600160a01b038216600090815260056020526040812080546001929061150d908490613369565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b61157782610985565b611588816115836112da565b611ba5565b61093c8383611a8b565b61159a6112da565b6001600160a01b0316816001600160a01b0316146115ca5760405162461bcd60e51b81526004016107aa9061330e565b6107bd8282611c09565b6000610db1836001600160a01b038416611c8c565b6115f1610bd8565b61160d5760405162461bcd60e51b81526004016107aa90612afb565b6012805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6116406112da565b60405161164d9190612a0d565b60405180910390a1565b600061166282610c60565b905061167081600084611b9a565b61167b600083611356565b6001600160a01b03811660009081526005602052604081208054600192906116a49084906133b4565b909155505060008281526004602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b601580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611758610bd8565b156117755760405162461bcd60e51b81526004016107aa90612e21565b6012805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586116406112da565b6000610db18383611da9565b5490565b60005b8181101561093c5760006117d260136117b7565b90506117de6016611247565b6000828152601960205260409020556117f78482611de1565b6118016013611ec0565b807f5f7666687319b40936f33c188908d86aea154abd3f4127b4fa0a3f04f303c7da60196000848152602001908152602001600020546040516118449190612a5f565b60405180910390a2508061185781613449565b9150506117be565b61186a848484611441565b61187684848484611ec9565b610fcb5760405162461bcd60e51b81526004016107aa90612b74565b6060600882600581106118b557634e487b7160e01b600052603260045260246000fd5b0180546118c19061340e565b80601f01602080910402602001604051908101604052809291908181526020018280546118ed9061340e565b801561193a5780601f1061190f5761010080835404028352916020019161193a565b820191906000526020600020905b81548152906001019060200180831161191d57829003601f168201915b50505050509050919050565b60608161196b57506040805180820190915260018152600360fc1b60208201526107cf565b8160005b8115611995578061197f81613449565b915061198e9050600a83613381565b915061196f565b60008167ffffffffffffffff8111156119be57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156119e8576020820181803683370190505b5090505b841561106a576119fd6001836133b4565b9150611a0a600a86613464565b611a15906030613369565b60f81b818381518110611a3857634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611a5a600a86613381565b94506119ec565b60006107cc826117b7565b611a7582610985565b611a81816115836112da565b61093c8383611c09565b611a958282610db8565b6107bd576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055611acc6112da565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000611b1c8383611fe4565b611b5257508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610a0b565b506000610a0b565b60006001600160e01b031982166380ac58cd60e01b1480611b8b57506001600160e01b03198216635b5e139f60e01b145b806107cc57506107cc82611ffc565b61093c838383612021565b611baf8282610db8565b6107bd57611bc7816001600160a01b03166014612051565b611bd2836020612051565b604051602001611be3929190612998565b60408051601f198184030181529082905262461bcd60e51b82526107aa91600401612a68565b611c138282610db8565b156107bd576000828152602081815260408083206001600160a01b03851684529091529020805460ff19169055611c486112da565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b60008181526001830160205260408120548015611d9f576000611cb06001836133b4565b8554909150600090611cc4906001906133b4565b9050818114611d45576000866000018281548110611cf257634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080876000018481548110611d2357634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255918252600188019052604090208390555b8554869080611d6457634e487b7160e01b600052603160045260246000fd5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610a0b565b6000915050610a0b565b6000826000018281548110611dce57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b6001600160a01b038216611e075760405162461bcd60e51b81526004016107aa90612f3b565b611e1081611339565b15611e2d5760405162461bcd60e51b81526004016107aa90612c0c565b611e3960008383611b9a565b6001600160a01b0382166000908152600560205260408120805460019290611e62908490613369565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b80546001019055565b6000611edd846001600160a01b0316612203565b15611fd957836001600160a01b031663150b7a02611ef96112da565b8786866040518563ffffffff1660e01b8152600401611f1b9493929190612a21565b602060405180830381600087803b158015611f3557600080fd5b505af1925050508015611f65575060408051601f3d908101601f19168201909252611f62918101906127c8565b60015b611fbf573d808015611f93576040519150601f19603f3d011682016040523d82523d6000602084013e611f98565b606091505b508051611fb75760405162461bcd60e51b81526004016107aa90612b74565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061106a565b506001949350505050565b60009081526001919091016020526040902054151590565b60006001600160e01b03198216635a05180f60e01b14806107cc57506107cc82612209565b61202c83838361222e565b612034610bd8565b1561093c5760405162461bcd60e51b81526004016107aa90612ab0565b60606000612060836002613395565b61206b906002613369565b67ffffffffffffffff81111561209157634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156120bb576020820181803683370190505b509050600360fc1b816000815181106120e457634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061212157634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000612145846002613395565b612150906001613369565b90505b60018111156121e4576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061219257634e487b7160e01b600052603260045260246000fd5b1a60f81b8282815181106121b657634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c936121dd816133f7565b9050612153565b508315610db15760405162461bcd60e51b81526004016107aa90612a7b565b3b151590565b60006001600160e01b03198216637965db0b60e01b14806107cc57506107cc826122b7565b61223983838361093c565b6001600160a01b03831661225557612250816122d0565b612278565b816001600160a01b0316836001600160a01b031614612278576122788382612314565b6001600160a01b0382166122945761228f816123b1565b61093c565b826001600160a01b0316826001600160a01b03161461093c5761093c828261248a565b6001600160e01b031981166301ffc9a760e01b14919050565b601080546000838152601160205260408120829055600182018355919091527f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae6720155565b6000600161232184610cad565b61232b91906133b4565b6000838152600f602052604090205490915080821461237e576001600160a01b0384166000908152600e602090815260408083208584528252808320548484528184208190558352600f90915290208190555b506000918252600f602090815260408084208490556001600160a01b039094168352600e81528383209183525290812055565b6010546000906123c3906001906133b4565b600083815260116020526040812054601080549394509092849081106123f957634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806010838154811061242857634e487b7160e01b600052603260045260246000fd5b600091825260208083209091019290925582815260119091526040808220849055858252812055601080548061246e57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061249583610cad565b6001600160a01b039093166000908152600e602090815260408083208684528252808320859055938252600f9052919091209190915550565b8280546124da9061340e565b90600052602060002090601f0160209004810192826124fc5760008555612542565b82601f1061251557805160ff1916838001178555612542565b82800160010185558215612542579182015b82811115612542578251825591602001919060010190612527565b5061254e929150612552565b5090565b5b8082111561254e5760008155600101612553565b600067ffffffffffffffff80841115612582576125826134a4565b604051601f8501601f1916810160200182811182821017156125a6576125a66134a4565b6040528481529150818385018610156125be57600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b03811681146107cf57600080fd5b6000602082840312156125ff578081fd5b610db1826125d7565b6000806040838503121561261a578081fd5b612623836125d7565b9150612631602084016125d7565b90509250929050565b60008060006060848603121561264e578081fd5b612657846125d7565b9250612665602085016125d7565b9150604084013590509250925092565b6000806000806080858703121561268a578081fd5b612693856125d7565b93506126a1602086016125d7565b925060408501359150606085013567ffffffffffffffff8111156126c3578182fd5b8501601f810187136126d3578182fd5b6126e287823560208401612567565b91505092959194509250565b60008060408385031215612700578182fd5b612709836125d7565b91506020830135801515811461271d578182fd5b809150509250929050565b6000806040838503121561273a578182fd5b612743836125d7565b946020939093013593505050565b600060208284031215612762578081fd5b5035919050565b6000806040838503121561277b578182fd5b82359150612631602084016125d7565b6000806040838503121561279d578182fd5b50508035926020909101359150565b6000602082840312156127bd578081fd5b8135610db1816134ba565b6000602082840312156127d9578081fd5b8151610db1816134ba565b600080604083850312156127f6578182fd5b823567ffffffffffffffff81111561280c578283fd5b8301601f8101851361281c578283fd5b61282b85823560208401612567565b95602094909401359450505050565b600081518084526128528160208601602086016133cb565b601f01601f19169290920160200192915050565b600081516128788185602086016133cb565b9290920192915050565b64173539b7b760d91b815260050190565b6bffffffffffffffffffffffff196060998a1b811682529790981b9096166014880152602887019490945260488601929092526068850152608884015260a883015260c882015260e80190565b83546000908190600281046001808316806128fc57607f831692505b602080841082141561291c57634e487b7160e01b87526022600452602487fd5b81801561293057600181146129415761296d565b60ff1986168952848901965061296d565b61294a8c61335d565b885b868110156129655781548b82015290850190830161294c565b505084890196505b50505050505061298e6129896129838388612866565b86612866565b612882565b9695505050505050565b60007f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000825283516129d08160178501602088016133cb565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612a018160288401602088016133cb565b01602801949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061298e9083018461283a565b901515815260200190565b90815260200190565b600060208252610db1602083018461283a565b6020808252818101527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604082015260600190565b6020808252602b908201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760408201526a1a1a5b19481c185d5cd95960aa1b606082015260800190565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b602080825260149082015273151bdd185b081cdd5c1c1b1e481c995858da195960621b604082015260600190565b6020808252603e908201527f4552433732315072657365744d696e7465725061757365724175746f49643a2060408201527f6d75737420686176652070617573657220726f6c6520746f2070617573650000606082015260800190565b60208082526022908201527f43616e74206d696e74206d6f72652062756c6c7320666f722070726f6d6f746960408201526137b760f11b606082015260800190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602a908201527f43616e6e6f742062756c6b20627579206d6f7265207468616e20746865207072604082015269195cd95d081b1a5b5a5d60b21b606082015260800190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b60208082526051908201527f4552433732315072657365744d696e7465725061757365724175746f49643a2060408201527f6d75737420686176652062617365207572692073657474657220726f6c6520746060820152706f206368616e676520626173652055524960781b608082015260a00190565b6020808252602b908201527f596f75206e65656420746f2073656e6420302e3037657468657220706572206260408201526a1d5b1b0819195cda5c995960aa1b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60208082526030908201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760408201526f1b995c881b9bdc88185c1c1c9bdd995960821b606082015260800190565b602080825260409082018190527f4552433732315072657365744d696e7465725061757365724175746f49643a20908201527f6d75737420686176652070617573657220726f6c6520746f20756e7061757365606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560408201526e103937b632b9903337b91039b2b63360891b606082015260800190565b60009081526020902090565b6000821982111561337c5761337c613478565b500190565b6000826133905761339061348e565b500490565b60008160001904831182151516156133af576133af613478565b500290565b6000828210156133c6576133c6613478565b500390565b60005b838110156133e65781810151838201526020016133ce565b83811115610fcb5750506000910152565b60008161340657613406613478565b506000190190565b60028104600182168061342257607f821691505b6020821081141561344357634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561345d5761345d613478565b5060010190565b6000826134735761347361348e565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610b5057600080fdfe68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d514d624637337a534150564c737a31377239314c4839527a4a335052423253637058356f4172616371507474a264697066735822122000240434aabc4f9975376d4619820b76f1f5184f41d72726df0512637402248264736f6c6343000800003368747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a

Deployed Bytecode

0x6080604052600436106102665760003560e01c806366a54b0011610144578063a22cb465116100b6578063d53913931161007a578063d5391393146106b8578063d547741f146106cd578063e16d9267146106ed578063e63ab1e91461070d578063e985e9c514610722578063f2fde38b1461074257610266565b8063a22cb46514610623578063a49bccca14610643578063b88d4fde14610658578063c87b56dd14610678578063ca15c8731461069857610266565b80638da5cb5b116101085780638da5cb5b146105915780639010d07c146105a657806391d14854146105c657806395d89b41146105e6578063a0712d68146105fb578063a217fddf1461060e57610266565b806366a54b00146105125780636a5be6861461052757806370a0823114610547578063715018a6146105675780638456cb591461057c57610266565b806336568abe116101dd5780634f6ccce7116101a15780634f6ccce71461047357806352bbf79f14610493578063547328e0146104a85780635c975abb146104bd5780635e1f88a5146104d25780636352211e146104f257610266565b806336568abe146103e95780633ccfd60b146104095780633f4ba83a1461041e57806342842e0e1461043357806342966c681461045357610266565b806318160ddd1161022f57806318160ddd146103325780631a2bd0ea1461035457806323b872dd14610369578063248a9ca3146103895780632f2ff15d146103a95780632f745c59146103c957610266565b80629f25ff1461026b57806301ffc9a71461028d57806306fdde03146102c3578063081812fc146102e5578063095ea7b314610312575b600080fd5b34801561027757600080fd5b5061028b6102863660046127e4565b610762565b005b34801561029957600080fd5b506102ad6102a83660046127ac565b6107c1565b6040516102ba9190612a54565b60405180910390f35b3480156102cf57600080fd5b506102d86107d4565b6040516102ba9190612a68565b3480156102f157600080fd5b50610305610300366004612751565b610866565b6040516102ba9190612a0d565b34801561031e57600080fd5b5061028b61032d366004612728565b6108a9565b34801561033e57600080fd5b50610347610941565b6040516102ba9190612a5f565b34801561036057600080fd5b50610347610947565b34801561037557600080fd5b5061028b61038436600461263a565b61094d565b34801561039557600080fd5b506103476103a4366004612751565b610985565b3480156103b557600080fd5b5061028b6103c4366004612769565b61099a565b3480156103d557600080fd5b506103476103e4366004612728565b6109bc565b3480156103f557600080fd5b5061028b610404366004612769565b610a11565b34801561041557600080fd5b5061028b610a33565b34801561042a57600080fd5b5061028b610ab3565b34801561043f57600080fd5b5061028b61044e36600461263a565b610b05565b34801561045f57600080fd5b5061028b61046e366004612751565b610b20565b34801561047f57600080fd5b5061034761048e366004612751565b610b53565b34801561049f57600080fd5b50610347610bae565b3480156104b457600080fd5b50610347610bd2565b3480156104c957600080fd5b506102ad610bd8565b3480156104de57600080fd5b5061028b6104ed366004612751565b610be1565b3480156104fe57600080fd5b5061030561050d366004612751565b610c60565b34801561051e57600080fd5b50610347610c95565b34801561053357600080fd5b50610347610542366004612751565b610c9b565b34801561055357600080fd5b506103476105623660046125ee565b610cad565b34801561057357600080fd5b5061028b610cf1565b34801561058857600080fd5b5061028b610d3a565b34801561059d57600080fd5b50610305610d8a565b3480156105b257600080fd5b506103056105c136600461278b565b610d99565b3480156105d257600080fd5b506102ad6105e1366004612769565b610db8565b3480156105f257600080fd5b506102d8610de1565b6102ad610609366004612751565b610df0565b34801561061a57600080fd5b50610347610eba565b34801561062f57600080fd5b5061028b61063e3660046126ee565b610ebf565b34801561064f57600080fd5b50610347610f8d565b34801561066457600080fd5b5061028b610673366004612675565b610f92565b34801561068457600080fd5b506102d8610693366004612751565b610fd1565b3480156106a457600080fd5b506103476106b3366004612751565b611072565b3480156106c457600080fd5b50610347611089565b3480156106d957600080fd5b5061028b6106e8366004612769565b6110ad565b3480156106f957600080fd5b506102ad610708366004612769565b6110b7565b34801561071957600080fd5b50610347611187565b34801561072e57600080fd5b506102ad61073d366004612608565b6111ab565b34801561074e57600080fd5b5061028b61075d3660046125ee565b6111d9565b61078e7fa0e5e26b1edd09cd4f80d729dabc97fbad765ce4b02ea8d5794921b5bde3478c6105e16112da565b6107b35760405162461bcd60e51b81526004016107aa90613167565b60405180910390fd5b6107bd82826112de565b5050565b60006107cc82611314565b90505b919050565b6060600280546107e39061340e565b80601f016020809104026020016040519081016040528092919081815260200182805461080f9061340e565b801561085c5780601f106108315761010080835404028352916020019161085c565b820191906000526020600020905b81548152906001019060200180831161083f57829003601f168201915b5050505050905090565b600061087182611339565b61088d5760405162461bcd60e51b81526004016107aa90612f70565b506000908152600660205260409020546001600160a01b031690565b60006108b482610c60565b9050806001600160a01b0316836001600160a01b031614156108e85760405162461bcd60e51b81526004016107aa90613089565b806001600160a01b03166108fa6112da565b6001600160a01b0316148061091657506109168161073d6112da565b6109325760405162461bcd60e51b81526004016107aa90612e4b565b61093c8383611356565b505050565b60105490565b61271081565b61095e6109586112da565b826113c4565b61097a5760405162461bcd60e51b81526004016107aa906130ca565b61093c838383611441565b60009081526020819052604090206001015490565b6109a4828261156e565b600082815260016020526040902061093c90826112c5565b60006109c783610cad565b82106109e55760405162461bcd60e51b81526004016107aa90612b29565b506001600160a01b0382166000908152600e602090815260408083208484529091529020545b92915050565b610a1b8282611592565b600082815260016020526040902061093c90826115d4565b610a3b6112da565b6001600160a01b0316610a4c610d8a565b6001600160a01b031614610a725760405162461bcd60e51b81526004016107aa90612fbc565b47610a7b610d8a565b6001600160a01b03166108fc829081150290604051600060405180830381858888f193505050501580156107bd573d6000803e3d6000fd5b610adf7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6105e16112da565b610afb5760405162461bcd60e51b81526004016107aa906132b0565b610b036115e9565b565b61093c83838360405180602001604052806000815250610f92565b610b2b6109586112da565b610b475760405162461bcd60e51b81526004016107aa90613260565b610b5081611657565b50565b6000610b5d610941565b8210610b7b5760405162461bcd60e51b81526004016107aa9061311b565b60108281548110610b9c57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b7fa0e5e26b1edd09cd4f80d729dabc97fbad765ce4b02ea8d5794921b5bde3478c81565b60185481565b60125460ff1690565b610be96112da565b6001600160a01b0316610bfa610d8a565b6001600160a01b031614610c205760405162461bcd60e51b81526004016107aa90612fbc565b60188190556040517f9779915bd41bb0d61982702aa032799b92230db47734a26fd84e7715b111c93c90610c55908390612a5f565b60405180910390a150565b6000818152600460205260408120546001600160a01b0316806107cc5760405162461bcd60e51b81526004016107aa90612ef2565b60175481565b60009081526019602052604090205490565b60006001600160a01b038216610cd55760405162461bcd60e51b81526004016107aa90612ea8565b506001600160a01b031660009081526005602052604090205490565b610cf96112da565b6001600160a01b0316610d0a610d8a565b6001600160a01b031614610d305760405162461bcd60e51b81526004016107aa90612fbc565b610b0360006116fe565b610d667f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6105e16112da565b610d825760405162461bcd60e51b81526004016107aa90612c71565b610b03611750565b6015546001600160a01b031690565b6000828152600160205260408120610db190836117ab565b9392505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600380546107e39061340e565b600060026014541415610e155760405162461bcd60e51b81526004016107aa90613229565b60026014556019821115610e3b5760405162461bcd60e51b81526004016107aa90612d8b565b61271082610e4960136117b7565b610e539190613369565b1115610e715760405162461bcd60e51b81526004016107aa90612c43565b81601854610e7f9190613395565b3414610e9d5760405162461bcd60e51b81526004016107aa906131de565b610eae610ea86112da565b836117bb565b50600180601455919050565b600081565b610ec76112da565b6001600160a01b0316826001600160a01b03161415610ef85760405162461bcd60e51b81526004016107aa90612d54565b8060076000610f056112da565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610f496112da565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610f819190612a54565b60405180910390a35050565b601981565b610fa3610f9d6112da565b836113c4565b610fbf5760405162461bcd60e51b81526004016107aa906130ca565b610fcb8484848461185f565b50505050565b6060610fdc82611339565b610ff85760405162461bcd60e51b81526004016107aa9061303a565b60006110066107d084613381565b9050600061101382611892565b9050600081511161103c576040518060800160405280605081526020016134d16050913961106a565b600d8161104886611946565b60405160200161105a939291906128e0565b6040516020818303038152906040525b949350505050565b60008181526001602052604081206107cc90611a61565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b610a1b8282611a6c565b60006110c16112da565b6001600160a01b03166110d2610d8a565b6001600160a01b0316146110f85760405162461bcd60e51b81526004016107aa90612fbc565b6096836017546111089190613369565b11156111265760405162461bcd60e51b81526004016107aa90612cce565b6127108361113460136117b7565b61113e9190613369565b111561115c5760405162461bcd60e51b81526004016107aa90612c43565b826017600082825461116e9190613369565b9091555061117e905082846117bb565b50600192915050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6111e16112da565b6001600160a01b03166111f2610d8a565b6001600160a01b0316146112185760405162461bcd60e51b81526004016107aa90612fbc565b6001600160a01b03811661123e5760405162461bcd60e51b81526004016107aa90612bc6565b610b50816116fe565b600033325a84544243804061125d6064836133b4565b40604051602001611275989796959493929190612893565b6040516020818303038152906040528051906020012060405160200161129b9190612a5f565b60408051808303601f190181529190528051602090910120918290555090565b6107bd8282611a8b565b6000610db1836001600160a01b038416611b10565b3390565b816008826005811061130057634e487b7160e01b600052603260045260246000fd5b01908051906020019061093c9291906124ce565b60006001600160e01b0319821663780e9d6360e01b14806107cc57506107cc82611b5a565b6000908152600460205260409020546001600160a01b0316151590565b600081815260066020526040902080546001600160a01b0319166001600160a01b038416908117909155819061138b82610c60565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006113cf82611339565b6113eb5760405162461bcd60e51b81526004016107aa90612dd5565b60006113f683610c60565b9050806001600160a01b0316846001600160a01b031614806114315750836001600160a01b031661142684610866565b6001600160a01b0316145b8061106a575061106a81856111ab565b826001600160a01b031661145482610c60565b6001600160a01b03161461147a5760405162461bcd60e51b81526004016107aa90612ff1565b6001600160a01b0382166114a05760405162461bcd60e51b81526004016107aa90612d10565b6114ab838383611b9a565b6114b6600082611356565b6001600160a01b03831660009081526005602052604081208054600192906114df9084906133b4565b90915550506001600160a01b038216600090815260056020526040812080546001929061150d908490613369565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b61157782610985565b611588816115836112da565b611ba5565b61093c8383611a8b565b61159a6112da565b6001600160a01b0316816001600160a01b0316146115ca5760405162461bcd60e51b81526004016107aa9061330e565b6107bd8282611c09565b6000610db1836001600160a01b038416611c8c565b6115f1610bd8565b61160d5760405162461bcd60e51b81526004016107aa90612afb565b6012805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6116406112da565b60405161164d9190612a0d565b60405180910390a1565b600061166282610c60565b905061167081600084611b9a565b61167b600083611356565b6001600160a01b03811660009081526005602052604081208054600192906116a49084906133b4565b909155505060008281526004602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b601580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611758610bd8565b156117755760405162461bcd60e51b81526004016107aa90612e21565b6012805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586116406112da565b6000610db18383611da9565b5490565b60005b8181101561093c5760006117d260136117b7565b90506117de6016611247565b6000828152601960205260409020556117f78482611de1565b6118016013611ec0565b807f5f7666687319b40936f33c188908d86aea154abd3f4127b4fa0a3f04f303c7da60196000848152602001908152602001600020546040516118449190612a5f565b60405180910390a2508061185781613449565b9150506117be565b61186a848484611441565b61187684848484611ec9565b610fcb5760405162461bcd60e51b81526004016107aa90612b74565b6060600882600581106118b557634e487b7160e01b600052603260045260246000fd5b0180546118c19061340e565b80601f01602080910402602001604051908101604052809291908181526020018280546118ed9061340e565b801561193a5780601f1061190f5761010080835404028352916020019161193a565b820191906000526020600020905b81548152906001019060200180831161191d57829003601f168201915b50505050509050919050565b60608161196b57506040805180820190915260018152600360fc1b60208201526107cf565b8160005b8115611995578061197f81613449565b915061198e9050600a83613381565b915061196f565b60008167ffffffffffffffff8111156119be57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156119e8576020820181803683370190505b5090505b841561106a576119fd6001836133b4565b9150611a0a600a86613464565b611a15906030613369565b60f81b818381518110611a3857634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611a5a600a86613381565b94506119ec565b60006107cc826117b7565b611a7582610985565b611a81816115836112da565b61093c8383611c09565b611a958282610db8565b6107bd576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055611acc6112da565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000611b1c8383611fe4565b611b5257508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610a0b565b506000610a0b565b60006001600160e01b031982166380ac58cd60e01b1480611b8b57506001600160e01b03198216635b5e139f60e01b145b806107cc57506107cc82611ffc565b61093c838383612021565b611baf8282610db8565b6107bd57611bc7816001600160a01b03166014612051565b611bd2836020612051565b604051602001611be3929190612998565b60408051601f198184030181529082905262461bcd60e51b82526107aa91600401612a68565b611c138282610db8565b156107bd576000828152602081815260408083206001600160a01b03851684529091529020805460ff19169055611c486112da565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b60008181526001830160205260408120548015611d9f576000611cb06001836133b4565b8554909150600090611cc4906001906133b4565b9050818114611d45576000866000018281548110611cf257634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080876000018481548110611d2357634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255918252600188019052604090208390555b8554869080611d6457634e487b7160e01b600052603160045260246000fd5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610a0b565b6000915050610a0b565b6000826000018281548110611dce57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b6001600160a01b038216611e075760405162461bcd60e51b81526004016107aa90612f3b565b611e1081611339565b15611e2d5760405162461bcd60e51b81526004016107aa90612c0c565b611e3960008383611b9a565b6001600160a01b0382166000908152600560205260408120805460019290611e62908490613369565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b80546001019055565b6000611edd846001600160a01b0316612203565b15611fd957836001600160a01b031663150b7a02611ef96112da565b8786866040518563ffffffff1660e01b8152600401611f1b9493929190612a21565b602060405180830381600087803b158015611f3557600080fd5b505af1925050508015611f65575060408051601f3d908101601f19168201909252611f62918101906127c8565b60015b611fbf573d808015611f93576040519150601f19603f3d011682016040523d82523d6000602084013e611f98565b606091505b508051611fb75760405162461bcd60e51b81526004016107aa90612b74565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061106a565b506001949350505050565b60009081526001919091016020526040902054151590565b60006001600160e01b03198216635a05180f60e01b14806107cc57506107cc82612209565b61202c83838361222e565b612034610bd8565b1561093c5760405162461bcd60e51b81526004016107aa90612ab0565b60606000612060836002613395565b61206b906002613369565b67ffffffffffffffff81111561209157634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156120bb576020820181803683370190505b509050600360fc1b816000815181106120e457634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061212157634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000612145846002613395565b612150906001613369565b90505b60018111156121e4576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061219257634e487b7160e01b600052603260045260246000fd5b1a60f81b8282815181106121b657634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c936121dd816133f7565b9050612153565b508315610db15760405162461bcd60e51b81526004016107aa90612a7b565b3b151590565b60006001600160e01b03198216637965db0b60e01b14806107cc57506107cc826122b7565b61223983838361093c565b6001600160a01b03831661225557612250816122d0565b612278565b816001600160a01b0316836001600160a01b031614612278576122788382612314565b6001600160a01b0382166122945761228f816123b1565b61093c565b826001600160a01b0316826001600160a01b03161461093c5761093c828261248a565b6001600160e01b031981166301ffc9a760e01b14919050565b601080546000838152601160205260408120829055600182018355919091527f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae6720155565b6000600161232184610cad565b61232b91906133b4565b6000838152600f602052604090205490915080821461237e576001600160a01b0384166000908152600e602090815260408083208584528252808320548484528184208190558352600f90915290208190555b506000918252600f602090815260408084208490556001600160a01b039094168352600e81528383209183525290812055565b6010546000906123c3906001906133b4565b600083815260116020526040812054601080549394509092849081106123f957634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806010838154811061242857634e487b7160e01b600052603260045260246000fd5b600091825260208083209091019290925582815260119091526040808220849055858252812055601080548061246e57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061249583610cad565b6001600160a01b039093166000908152600e602090815260408083208684528252808320859055938252600f9052919091209190915550565b8280546124da9061340e565b90600052602060002090601f0160209004810192826124fc5760008555612542565b82601f1061251557805160ff1916838001178555612542565b82800160010185558215612542579182015b82811115612542578251825591602001919060010190612527565b5061254e929150612552565b5090565b5b8082111561254e5760008155600101612553565b600067ffffffffffffffff80841115612582576125826134a4565b604051601f8501601f1916810160200182811182821017156125a6576125a66134a4565b6040528481529150818385018610156125be57600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b03811681146107cf57600080fd5b6000602082840312156125ff578081fd5b610db1826125d7565b6000806040838503121561261a578081fd5b612623836125d7565b9150612631602084016125d7565b90509250929050565b60008060006060848603121561264e578081fd5b612657846125d7565b9250612665602085016125d7565b9150604084013590509250925092565b6000806000806080858703121561268a578081fd5b612693856125d7565b93506126a1602086016125d7565b925060408501359150606085013567ffffffffffffffff8111156126c3578182fd5b8501601f810187136126d3578182fd5b6126e287823560208401612567565b91505092959194509250565b60008060408385031215612700578182fd5b612709836125d7565b91506020830135801515811461271d578182fd5b809150509250929050565b6000806040838503121561273a578182fd5b612743836125d7565b946020939093013593505050565b600060208284031215612762578081fd5b5035919050565b6000806040838503121561277b578182fd5b82359150612631602084016125d7565b6000806040838503121561279d578182fd5b50508035926020909101359150565b6000602082840312156127bd578081fd5b8135610db1816134ba565b6000602082840312156127d9578081fd5b8151610db1816134ba565b600080604083850312156127f6578182fd5b823567ffffffffffffffff81111561280c578283fd5b8301601f8101851361281c578283fd5b61282b85823560208401612567565b95602094909401359450505050565b600081518084526128528160208601602086016133cb565b601f01601f19169290920160200192915050565b600081516128788185602086016133cb565b9290920192915050565b64173539b7b760d91b815260050190565b6bffffffffffffffffffffffff196060998a1b811682529790981b9096166014880152602887019490945260488601929092526068850152608884015260a883015260c882015260e80190565b83546000908190600281046001808316806128fc57607f831692505b602080841082141561291c57634e487b7160e01b87526022600452602487fd5b81801561293057600181146129415761296d565b60ff1986168952848901965061296d565b61294a8c61335d565b885b868110156129655781548b82015290850190830161294c565b505084890196505b50505050505061298e6129896129838388612866565b86612866565b612882565b9695505050505050565b60007f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000825283516129d08160178501602088016133cb565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612a018160288401602088016133cb565b01602801949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061298e9083018461283a565b901515815260200190565b90815260200190565b600060208252610db1602083018461283a565b6020808252818101527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604082015260600190565b6020808252602b908201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760408201526a1a1a5b19481c185d5cd95960aa1b606082015260800190565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b602080825260149082015273151bdd185b081cdd5c1c1b1e481c995858da195960621b604082015260600190565b6020808252603e908201527f4552433732315072657365744d696e7465725061757365724175746f49643a2060408201527f6d75737420686176652070617573657220726f6c6520746f2070617573650000606082015260800190565b60208082526022908201527f43616e74206d696e74206d6f72652062756c6c7320666f722070726f6d6f746960408201526137b760f11b606082015260800190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602a908201527f43616e6e6f742062756c6b20627579206d6f7265207468616e20746865207072604082015269195cd95d081b1a5b5a5d60b21b606082015260800190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b60208082526051908201527f4552433732315072657365744d696e7465725061757365724175746f49643a2060408201527f6d75737420686176652062617365207572692073657474657220726f6c6520746060820152706f206368616e676520626173652055524960781b608082015260a00190565b6020808252602b908201527f596f75206e65656420746f2073656e6420302e3037657468657220706572206260408201526a1d5b1b0819195cda5c995960aa1b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60208082526030908201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760408201526f1b995c881b9bdc88185c1c1c9bdd995960821b606082015260800190565b602080825260409082018190527f4552433732315072657365744d696e7465725061757365724175746f49643a20908201527f6d75737420686176652070617573657220726f6c6520746f20756e7061757365606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560408201526e103937b632b9903337b91039b2b63360891b606082015260800190565b60009081526020902090565b6000821982111561337c5761337c613478565b500190565b6000826133905761339061348e565b500490565b60008160001904831182151516156133af576133af613478565b500290565b6000828210156133c6576133c6613478565b500390565b60005b838110156133e65781810151838201526020016133ce565b83811115610fcb5750506000910152565b60008161340657613406613478565b506000190190565b60028104600182168061342257607f821691505b6020821081141561344357634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561345d5761345d613478565b5060010190565b6000826134735761347361348e565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610b5057600080fdfe68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d514d624637337a534150564c737a31377239314c4839527a4a335052423253637058356f4172616371507474a264697066735822122000240434aabc4f9975376d4619820b76f1f5184f41d72726df0512637402248264736f6c63430008000033

Deployed Bytecode Sourcemap

204:2645:4:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2329:259;;;;;;;;;;-1:-1:-1;2329:259:4;;;;;:::i;:::-;;:::i;:::-;;3766:246:12;;;;;;;;;;-1:-1:-1;3766:246:12;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2493:98:8;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;4300:217::-;;;;;;;;;;-1:-1:-1;4300:217:8;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;3838:401::-;;;;;;;;;;-1:-1:-1;3838:401:8;;;;;:::i;:::-;;:::i;1533:111:10:-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;439:40:4:-;;;;;;;;;;;;;:::i;5164:330:8:-;;;;;;;;;;-1:-1:-1;5164:330:8;;;;;:::i;:::-;;:::i;3881:121:0:-;;;;;;;;;;-1:-1:-1;3881:121:0;;;;;:::i;:::-;;:::i;1860:193:1:-;;;;;;;;;;-1:-1:-1;1860:193:1;;;;;:::i;:::-;;:::i;1209:253:10:-;;;;;;;;;;-1:-1:-1;1209:253:10;;;;;:::i;:::-;;:::i;2429:202:1:-;;;;;;;;;;-1:-1:-1;2429:202:1;;;;;:::i;:::-;;:::i;2707:134:4:-;;;;;;;;;;;;;:::i;3278:182:12:-;;;;;;;;;;;;;:::i;5560:179:8:-;;;;;;;;;;-1:-1:-1;5560:179:8;;;;;:::i;:::-;;:::i;436:241:9:-;;;;;;;;;;-1:-1:-1;436:241:9;;;;;:::i;:::-;;:::i;1716:230:10:-;;;;;;;;;;-1:-1:-1;1716:230:10;;;;;:::i;:::-;;:::i;1201:80:12:-;;;;;;;;;;;;;:::i;577:28:4:-;;;;;;;;;;;;;:::i;1033:84:24:-;;;;;;;;;;;;;:::i;999:171:4:-;;;;;;;;;;-1:-1:-1;999:171:4;;;;;:::i;:::-;;:::i;2196:235:8:-;;;;;;;;;;-1:-1:-1;2196:235:8;;;;;:::i;:::-;;:::i;533:38:4:-;;;;;;;;;;;;;:::i;2594:107::-;;;;;;;;;;-1:-1:-1;2594:107:4;;;;;:::i;:::-;;:::i;1934:205:8:-;;;;;;;;;;-1:-1:-1;1934:205:8;;;;;:::i;:::-;;:::i;1597:92:23:-;;;;;;;;;;;;;:::i;2894:176:12:-;;;;;;;;;;;;;:::i;965:85:23:-;;;;;;;;;;;;;:::i;1330:143:1:-;;;;;;;;;;-1:-1:-1;1330:143:1;;;;;:::i;:::-;;:::i;2798:137:0:-;;;;;;;;;;-1:-1:-1;2798:137:0;;;;;:::i;:::-;;:::i;2655:102:8:-;;;;;;;;;;;;;:::i;1177:411:4:-;;;;;;:::i;:::-;;:::i;1916:49:0:-;;;;;;;;;;;;;:::i;4584:290:8:-;;;;;;;;;;-1:-1:-1;4584:290:8;;;;;:::i;:::-;;:::i;485:41:4:-;;;;;;;;;;;;;:::i;5805:320:8:-;;;;;;;;;;-1:-1:-1;5805:320:8;;;;;:::i;:::-;;:::i;2823:485::-;;;;;;;;;;-1:-1:-1;2823:485:8;;;;;:::i;:::-;;:::i;1641:132:1:-;;;;;;;;;;-1:-1:-1;1641:132:1;;;;;:::i;:::-;;:::i;1065:62:12:-;;;;;;;;;;;;;:::i;2141:198:1:-;;;;;;;;;;-1:-1:-1;2141:198:1;;;;;:::i;:::-;;:::i;1594:362:4:-;;;;;;;;;;-1:-1:-1;1594:362:4;;;;;:::i;:::-;;:::i;1133:62:12:-;;;;;;;;;;;;;:::i;4940:162:8:-;;;;;;;;;;-1:-1:-1;4940:162:8;;;;;:::i;:::-;;:::i;1838:189:23:-;;;;;;;;;;-1:-1:-1;1838:189:23;;;;;:::i;:::-;;:::i;2329:259:4:-;2418:43;1248:33:12;2448:12:4;:10;:12::i;2418:43::-;2410:137;;;;-1:-1:-1;;;2410:137:4;;;;;;;:::i;:::-;;;;;;;;;2557:24;2569:8;2578:2;2557:11;:24::i;:::-;2329:259;;:::o;3766:246:12:-;3942:4;3969:36;3993:11;3969:23;:36::i;:::-;3962:43;;3766:246;;;;:::o;2493:98:8:-;2547:13;2579:5;2572:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2493:98;:::o;4300:217::-;4376:7;4403:16;4411:7;4403;:16::i;:::-;4395:73;;;;-1:-1:-1;;;4395:73:8;;;;;;;:::i;:::-;-1:-1:-1;4486:24:8;;;;:15;:24;;;;;;-1:-1:-1;;;;;4486:24:8;;4300:217::o;3838:401::-;3918:13;3934:23;3949:7;3934:14;:23::i;:::-;3918:39;;3981:5;-1:-1:-1;;;;;3975:11:8;:2;-1:-1:-1;;;;;3975:11:8;;;3967:57;;;;-1:-1:-1;;;3967:57:8;;;;;;;:::i;:::-;4072:5;-1:-1:-1;;;;;4056:21:8;:12;:10;:12::i;:::-;-1:-1:-1;;;;;4056:21:8;;:62;;;;4081:37;4098:5;4105:12;:10;:12::i;4081:37::-;4035:165;;;;-1:-1:-1;;;4035:165:8;;;;;;;:::i;:::-;4211:21;4220:2;4224:7;4211:8;:21::i;:::-;3838:401;;;:::o;1533:111:10:-;1620:10;:17;1533:111;:::o;439:40:4:-;474:5;439:40;:::o;5164:330:8:-;5353:41;5372:12;:10;:12::i;:::-;5386:7;5353:18;:41::i;:::-;5345:103;;;;-1:-1:-1;;;5345:103:8;;;;;;;:::i;:::-;5459:28;5469:4;5475:2;5479:7;5459:9;:28::i;3881:121:0:-;3947:7;3973:12;;;;;;;;;;:22;;;;3881:121::o;1860:193:1:-;1975:30;1991:4;1997:7;1975:15;:30::i;:::-;2015:18;;;;:12;:18;;;;;:31;;2038:7;2015:22;:31::i;1209:253:10:-;1306:7;1341:23;1358:5;1341:16;:23::i;:::-;1333:5;:31;1325:87;;;;-1:-1:-1;;;1325:87:10;;;;;;;:::i;:::-;-1:-1:-1;;;;;;1429:19:10;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;1209:253;;;;;:::o;2429:202:1:-;2547:33;2566:4;2572:7;2547:18;:33::i;:::-;2590:18;;;;:12;:18;;;;;:34;;2616:7;2590:25;:34::i;2707:134:4:-;1188:12:23;:10;:12::i;:::-;-1:-1:-1;;;;;1177:23:23;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1177:23:23;;1169:68;;;;-1:-1:-1;;;1169:68:23;;;;;;;:::i;:::-;2769:21:4::1;2808:7;:5;:7::i;:::-;-1:-1:-1::0;;;;;2800:25:4::1;:34;2826:7;2800:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;3278:182:12::0;3330:34;1171:24;3351:12;:10;:12::i;3330:34::-;3322:111;;;;-1:-1:-1;;;3322:111:12;;;;;;;:::i;:::-;3443:10;:8;:10::i;:::-;3278:182::o;5560:179:8:-;5693:39;5710:4;5716:2;5720:7;5693:39;;;;;;;;;;;;:16;:39::i;436:241:9:-;552:41;571:12;:10;:12::i;552:41::-;544:102;;;;-1:-1:-1;;;544:102:9;;;;;;;:::i;:::-;656:14;662:7;656:5;:14::i;:::-;436:241;:::o;1716:230:10:-;1791:7;1826:30;:28;:30::i;:::-;1818:5;:38;1810:95;;;;-1:-1:-1;;;1810:95:10;;;;;;;:::i;:::-;1922:10;1933:5;1922:17;;;;;;-1:-1:-1;;;1922:17:10;;;;;;;;;;;;;;;;;1915:24;;1716:230;;;:::o;1201:80:12:-;1248:33;1201:80;:::o;577:28:4:-;;;;:::o;1033:84:24:-;1103:7;;;;1033:84;:::o;999:171:4:-;1188:12:23;:10;:12::i;:::-;-1:-1:-1;;;;;1177:23:23;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1177:23:23;;1169:68;;;;-1:-1:-1;;;1169:68:23;;;;;;;:::i;:::-;1078:13:4::1;:32:::0;;;1125:38:::1;::::0;::::1;::::0;::::1;::::0;1094:16;;1125:38:::1;:::i;:::-;;;;;;;;999:171:::0;:::o;2196:235:8:-;2268:7;2303:16;;;:7;:16;;;;;;-1:-1:-1;;;;;2303:16:8;2337:19;2329:73;;;;-1:-1:-1;;;2329:73:8;;;;;;;:::i;533:38:4:-;;;;:::o;2594:107::-;2648:12;2679:15;;;:6;:15;;;;;;;2594:107::o;1934:205:8:-;2006:7;-1:-1:-1;;;;;2033:19:8;;2025:74;;;;-1:-1:-1;;;2025:74:8;;;;;;;:::i;:::-;-1:-1:-1;;;;;;2116:16:8;;;;;:9;:16;;;;;;;1934:205::o;1597:92:23:-;1188:12;:10;:12::i;:::-;-1:-1:-1;;;;;1177:23:23;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1177:23:23;;1169:68;;;;-1:-1:-1;;;1169:68:23;;;;;;;:::i;:::-;1661:21:::1;1679:1;1661:9;:21::i;2894:176:12:-:0;2944:34;1171:24;2965:12;:10;:12::i;2944:34::-;2936:109;;;;-1:-1:-1;;;2936:109:12;;;;;;;:::i;:::-;3055:8;:6;:8::i;965:85:23:-;1037:6;;-1:-1:-1;;;;;1037:6:23;965:85;:::o;1330:143:1:-;1412:7;1438:18;;;:12;:18;;;;;:28;;1460:5;1438:21;:28::i;:::-;1431:35;1330:143;-1:-1:-1;;;1330:143:1:o;2798:137:0:-;2876:4;2899:12;;;;;;;;;;;-1:-1:-1;;;;;2899:29:0;;;;;;;;;;;;;;;2798:137::o;2655:102:8:-;2711:13;2743:7;2736:14;;;;;:::i;1177:411:4:-;1243:4;1679:1:25;2258:7;;:19;;2250:63;;;;-1:-1:-1;;;2250:63:25;;;;;;;:::i;:::-;1679:1;2388:7;:18;524:2:4::1;1265:22:::0;::::1;;1257:77;;;;-1:-1:-1::0;;;1257:77:4::1;;;;;;;:::i;:::-;474:5;1377:6;1350:25;:15;:23;:25::i;:::-;:34;;;;:::i;:::-;:46;;1342:79;;;;-1:-1:-1::0;;;1342:79:4::1;;;;;;;:::i;:::-;1464:6;1450:13;;:20;;;;:::i;:::-;1437:9;:33;1429:89;;;;-1:-1:-1::0;;;1429:89:4::1;;;;;;;:::i;:::-;1527:32;1538:12;:10;:12::i;:::-;1552:6;1527:10;:32::i;:::-;-1:-1:-1::0;1575:4:4::1;1636:1:25::0;2561:7;:22;1177:411:4;;-1:-1:-1;1177:411:4:o;1916:49:0:-;1961:4;1916:49;:::o;4584:290:8:-;4698:12;:10;:12::i;:::-;-1:-1:-1;;;;;4686:24:8;:8;-1:-1:-1;;;;;4686:24:8;;;4678:62;;;;-1:-1:-1;;;4678:62:8;;;;;;;:::i;:::-;4796:8;4751:18;:32;4770:12;:10;:12::i;:::-;-1:-1:-1;;;;;4751:32:8;;;;;;;;;;;;;;;;;-1:-1:-1;4751:32:8;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;4751:53:8;;;;;;;;;;;4834:12;:10;:12::i;:::-;-1:-1:-1;;;;;4819:48:8;;4858:8;4819:48;;;;;;:::i;:::-;;;;;;;;4584:290;;:::o;485:41:4:-;524:2;485:41;:::o;5805:320:8:-;5974:41;5993:12;:10;:12::i;:::-;6007:7;5974:18;:41::i;:::-;5966:103;;;;-1:-1:-1;;;5966:103:8;;;;;;;:::i;:::-;6079:39;6093:4;6099:2;6103:7;6112:5;6079:13;:39::i;:::-;5805:320;;;;:::o;2823:485::-;2896:13;2929:16;2937:7;2929;:16::i;:::-;2921:76;;;;-1:-1:-1;;;2921:76:8;;;;;;;:::i;:::-;3007:19;3029:12;3037:4;3029:7;:12;:::i;:::-;3007:34;;3052:21;3076;3085:11;3076:8;:21::i;:::-;3052:45;;3138:1;3120:7;3114:21;:25;:187;;;;;;;;;;;;;;;;;;;;;;3167:12;3180:7;3188:18;:7;:16;:18::i;:::-;3149:66;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;3114:187;3107:194;2823:485;-1:-1:-1;;;;2823:485:8:o;1641:132:1:-;1713:7;1739:18;;;:12;:18;;;;;:27;;:25;:27::i;1065:62:12:-;1103:24;1065:62;:::o;2141:198:1:-;2257:31;2274:4;2280:7;2257:16;:31::i;1594:362:4:-;1673:4;1188:12:23;:10;:12::i;:::-;-1:-1:-1;;;;;1177:23:23;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1177:23:23;;1169:68;;;;-1:-1:-1;;;1169:68:23;;;;;;;:::i;:::-;1730:3:4::1;1720:6;1694:23;;:32;;;;:::i;:::-;:39;;1686:86;;;;-1:-1:-1::0;;;1686:86:4::1;;;;;;;:::i;:::-;474:5;1815:6;1788:25;:15;:23;:25::i;:::-;:34;;;;:::i;:::-;:46;;1780:79;;;;-1:-1:-1::0;;;1780:79:4::1;;;;;;;:::i;:::-;1894:6;1867:23;;:33;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;1908:22:4::1;::::0;-1:-1:-1;1919:2:4;1923:6;1908:10:::1;:22::i;:::-;-1:-1:-1::0;1945:4:4::1;1594:362:::0;;;;:::o;1133:62:12:-;1171:24;1133:62;:::o;4940:162:8:-;-1:-1:-1;;;;;5060:25:8;;;5037:4;5060:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4940:162::o;1838:189:23:-;1188:12;:10;:12::i;:::-;-1:-1:-1;;;;;1177:23:23;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1177:23:23;;1169:68;;;;-1:-1:-1;;;1169:68:23;;;;;;;:::i;:::-;-1:-1:-1;;;;;1926:22:23;::::1;1918:73;;;;-1:-1:-1::0;;;1918:73:23::1;;;;;;;:::i;:::-;2001:19;2011:8;2001:9;:19::i;145:300:3:-:0;195:7;279:10;291:9;302;313:12;;327:15;344:12;358:23;;393:16;406:3;344:12;393:16;:::i;:::-;383:27;262:149;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;252:160;;;;;;241:172;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;241:172:3;;;;;;231:183;;241:172;231:183;;;;208:207;;;;-1:-1:-1;231:183:3;145:300::o;6048:110:0:-;6126:25;6137:4;6143:7;6126:10;:25::i;7544:150:14:-;7614:4;7637:50;7642:3;-1:-1:-1;;;;;7662:23:14;;7637:4;:50::i;586:96:5:-;665:10;586:96;:::o;3667:114:8:-;3766:8;3751;3760:2;3751:12;;;;;-1:-1:-1;;;3751:12:8;;;;;;;;;;:23;;;;;;;;;;;;:::i;908:222:10:-;1010:4;-1:-1:-1;;;;;;1033:50:10;;-1:-1:-1;;;1033:50:10;;:90;;;1087:36;1111:11;1087:23;:36::i;7597:125:8:-;7662:4;7685:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7685:16:8;:30;;;7597:125::o;11448:171::-;11522:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;11522:29:8;-1:-1:-1;;;;;11522:29:8;;;;;;;;:24;;11575:23;11522:24;11575:14;:23::i;:::-;-1:-1:-1;;;;;11566:46:8;;;;;;;;;;;11448:171;;:::o;7880:344::-;7973:4;7997:16;8005:7;7997;:16::i;:::-;7989:73;;;;-1:-1:-1;;;7989:73:8;;;;;;;:::i;:::-;8072:13;8088:23;8103:7;8088:14;:23::i;:::-;8072:39;;8140:5;-1:-1:-1;;;;;8129:16:8;:7;-1:-1:-1;;;;;8129:16:8;;:51;;;;8173:7;-1:-1:-1;;;;;8149:31:8;:20;8161:7;8149:11;:20::i;:::-;-1:-1:-1;;;;;8149:31:8;;8129:51;:87;;;;8184:32;8201:5;8208:7;8184:16;:32::i;10777:560::-;10931:4;-1:-1:-1;;;;;10904:31:8;:23;10919:7;10904:14;:23::i;:::-;-1:-1:-1;;;;;10904:31:8;;10896:85;;;;-1:-1:-1;;;10896:85:8;;;;;;;:::i;:::-;-1:-1:-1;;;;;10999:16:8;;10991:65;;;;-1:-1:-1;;;10991:65:8;;;;;;;:::i;:::-;11067:39;11088:4;11094:2;11098:7;11067:20;:39::i;:::-;11168:29;11185:1;11189:7;11168:8;:29::i;:::-;-1:-1:-1;;;;;11208:15:8;;;;;;:9;:15;;;;;:20;;11227:1;;11208:15;:20;;11227:1;;11208:20;:::i;:::-;;;;-1:-1:-1;;;;;;;11238:13:8;;;;;;:9;:13;;;;;:18;;11255:1;;11238:13;:18;;11255:1;;11238:18;:::i;:::-;;;;-1:-1:-1;;11266:16:8;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;11266:21:8;-1:-1:-1;;;;;11266:21:8;;;;;;;;;11303:27;;11266:16;;11303:27;;;;;;;10777:560;;;:::o;4252:145:0:-;4335:18;4348:4;4335:12;:18::i;:::-;2394:30;2405:4;2411:12;:10;:12::i;:::-;2394:10;:30::i;:::-;4365:25:::1;4376:4;4382:7;4365:10;:25::i;5269:214::-:0;5375:12;:10;:12::i;:::-;-1:-1:-1;;;;;5364:23:0;:7;-1:-1:-1;;;;;5364:23:0;;5356:83;;;;-1:-1:-1;;;5356:83:0;;;;;;;:::i;:::-;5450:26;5462:4;5468:7;5450:11;:26::i;7862:156:14:-;7935:4;7958:53;7966:3;-1:-1:-1;;;;;7986:23:14;;7958:7;:53::i;2045:117:24:-;1612:8;:6;:8::i;:::-;1604:41;;;;-1:-1:-1;;;1604:41:24;;;;;;;:::i;:::-;2103:7:::1;:15:::0;;-1:-1:-1;;2103:15:24::1;::::0;;2133:22:::1;2142:12;:10;:12::i;:::-;2133:22;;;;;;:::i;:::-;;;;;;;;2045:117::o:0;10105:348:8:-;10164:13;10180:23;10195:7;10180:14;:23::i;:::-;10164:39;;10214:48;10235:5;10250:1;10254:7;10214:20;:48::i;:::-;10300:29;10317:1;10321:7;10300:8;:29::i;:::-;-1:-1:-1;;;;;10340:16:8;;;;;;:9;:16;;;;;:21;;10360:1;;10340:16;:21;;10360:1;;10340:21;:::i;:::-;;;;-1:-1:-1;;10378:16:8;;;;:7;:16;;;;;;10371:23;;-1:-1:-1;;;;;;10371:23:8;;;10410:36;10386:7;;10378:16;-1:-1:-1;;;;;10410:36:8;;;;;10378:16;;10410:36;10105:348;;:::o;2033:169:23:-;2107:6;;;-1:-1:-1;;;;;2123:17:23;;;-1:-1:-1;;;;;;2123:17:23;;;;;;;2155:40;;2107:6;;;2123:17;2107:6;;2155:40;;2088:16;;2155:40;2033:169;;:::o;1798:115:24:-;1347:8;:6;:8::i;:::-;1346:9;1338:38;;;;-1:-1:-1;;;1338:38:24;;;;;;;:::i;:::-;1857:7:::1;:14:::0;;-1:-1:-1;;1857:14:24::1;1867:4;1857:14;::::0;;1886:20:::1;1893:12;:10;:12::i;8802:156:14:-:0;8876:7;8926:22;8930:3;8942:5;8926:3;:22::i;772:112:6:-;863:14;;772:112::o;1962:360:4:-;2037:9;2032:283;2056:6;2052:1;:10;2032:283;;;2083:15;2101:25;:15;:23;:25::i;:::-;2083:43;;2156:22;:13;:20;:22::i;:::-;2138:15;;;;:6;:15;;;;;:40;2190:22;2196:6;2145:7;2190:5;:22::i;:::-;2224:27;:15;:25;:27::i;:::-;2281:7;2269:37;2290:6;:15;2297:7;2290:15;;;;;;;;;;;;2269:37;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;2064:3:4;;;;:::i;:::-;;;;2032:283;;6987:307:8;7138:28;7148:4;7154:2;7158:7;7138:9;:28::i;:::-;7184:48;7207:4;7213:2;7217:7;7226:5;7184:22;:48::i;:::-;7176:111;;;;-1:-1:-1;;;7176:111:8;;;;;;;:::i;3549:112::-;3610:13;3642:8;3651:2;3642:12;;;;;-1:-1:-1;;;3642:12:8;;;;;;;;;;3635:19;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3549:112;;;:::o;275:703:26:-;331:13;548:10;544:51;;-1:-1:-1;574:10:26;;;;;;;;;;;;-1:-1:-1;;;574:10:26;;;;;;544:51;619:5;604:12;658:75;665:9;;658:75;;690:8;;;;:::i;:::-;;-1:-1:-1;712:10:26;;-1:-1:-1;720:2:26;712:10;;:::i;:::-;;;658:75;;;742:19;774:6;764:17;;;;;;-1:-1:-1;;;764:17:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;764:17:26;;742:39;;791:150;798:10;;791:150;;824:11;834:1;824:11;;:::i;:::-;;-1:-1:-1;892:10:26;900:2;892:5;:10;:::i;:::-;879:24;;:2;:24;:::i;:::-;866:39;;849:6;856;849:14;;;;;;-1:-1:-1;;;849:14:26;;;;;;;;;;;;:56;-1:-1:-1;;;;;849:56:26;;;;;;;;-1:-1:-1;919:11:26;928:2;919:11;;:::i;:::-;;;791:150;;8345:115:14;8408:7;8434:19;8442:3;8434:7;:19::i;4631:147:0:-;4715:18;4728:4;4715:12;:18::i;:::-;2394:30;2405:4;2411:12;:10;:12::i;2394:30::-;4745:26:::1;4757:4;4763:7;4745:11;:26::i;6536:224::-:0;6610:22;6618:4;6624:7;6610;:22::i;:::-;6605:149;;6648:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6648:29:0;;;;;;;;;:36;;-1:-1:-1;;6648:36:0;6680:4;6648:36;;;6730:12;:10;:12::i;:::-;-1:-1:-1;;;;;6703:40:0;6721:7;-1:-1:-1;;;;;6703:40:0;6715:4;6703:40;;;;;;;;;;6536:224;;:::o;1629:404:14:-;1692:4;1713:21;1723:3;1728:5;1713:9;:21::i;:::-;1708:319;;-1:-1:-1;1750:23:14;;;;;;;;:11;:23;;;;;;;;;;;;;1930:18;;1908:19;;;:12;;;:19;;;;;;:40;;;;1962:11;;1708:319;-1:-1:-1;2011:5:14;2004:12;;1575:300:8;1677:4;-1:-1:-1;;;;;;1712:40:8;;-1:-1:-1;;;1712:40:8;;:104;;-1:-1:-1;;;;;;;1768:48:8;;-1:-1:-1;;;1768:48:8;1712:104;:156;;;;1832:36;1856:11;1832:23;:36::i;3466:233:12:-;3647:45;3674:4;3680:2;3684:7;3647:26;:45::i;3216:484:0:-;3296:22;3304:4;3310:7;3296;:22::i;:::-;3291:403;;3479:41;3507:7;-1:-1:-1;;;;;3479:41:0;3517:2;3479:19;:41::i;:::-;3591:38;3619:4;3626:2;3591:19;:38::i;:::-;3386:265;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3386:265:0;;;;;;;;;;-1:-1:-1;;;3334:349:0;;;;;;;:::i;6766:225::-;6840:22;6848:4;6854:7;6840;:22::i;:::-;6836:149;;;6910:5;6878:12;;;;;;;;;;;-1:-1:-1;;;;;6878:29:0;;;;;;;;;:37;;-1:-1:-1;;6878:37:0;;;6961:12;:10;:12::i;:::-;-1:-1:-1;;;;;6934:40:0;6952:7;-1:-1:-1;;;;;6934:40:0;6946:4;6934:40;;;;;;;;;;6766:225;;:::o;2201:1388:14:-;2267:4;2404:19;;;:12;;;:19;;;;;;2438:15;;2434:1149;;2807:21;2831:14;2844:1;2831:10;:14;:::i;:::-;2879:18;;2807:38;;-1:-1:-1;2859:17:14;;2879:22;;2900:1;;2879:22;:::i;:::-;2859:42;;2933:13;2920:9;:26;2916:398;;2966:17;2986:3;:11;;2998:9;2986:22;;;;;;-1:-1:-1;;;2986:22:14;;;;;;;;;;;;;;;;;2966:42;;3137:9;3108:3;:11;;3120:13;3108:26;;;;;;-1:-1:-1;;;3108:26:14;;;;;;;;;;;;;;;;;;;;:38;;;;3220:23;;;:12;;;:23;;;;;:36;;;2916:398;3392:17;;:3;;:17;;;-1:-1:-1;;;3392:17:14;;;;;;;;;;;;;;;;;;;;;;;;;;3484:3;:12;;:19;3497:5;3484:19;;;;;;;;;;;3477:26;;;3525:4;3518:11;;;;;;;2434:1149;3567:5;3560:12;;;;;4327:118;4394:7;4420:3;:11;;4432:5;4420:18;;;;;;-1:-1:-1;;;4420:18:14;;;;;;;;;;;;;;;;;4413:25;;4327:118;;;;:::o;9516:372:8:-;-1:-1:-1;;;;;9595:16:8;;9587:61;;;;-1:-1:-1;;;9587:61:8;;;;;;;:::i;:::-;9667:16;9675:7;9667;:16::i;:::-;9666:17;9658:58;;;;-1:-1:-1;;;9658:58:8;;;;;;;:::i;:::-;9727:45;9756:1;9760:2;9764:7;9727:20;:45::i;:::-;-1:-1:-1;;;;;9783:13:8;;;;;;:9;:13;;;;;:18;;9800:1;;9783:13;:18;;9800:1;;9783:18;:::i;:::-;;;;-1:-1:-1;;9811:16:8;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9811:21:8;-1:-1:-1;;;;;9811:21:8;;;;;;;;9848:33;;9811:16;;;9848:33;;9811:16;;9848:33;9516:372;;:::o;890:123:6:-;977:19;;995:1;977:19;;;890:123::o;12173:778:8:-;12323:4;12343:15;:2;-1:-1:-1;;;;;12343:13:8;;:15::i;:::-;12339:606;;;12394:2;-1:-1:-1;;;;;12378:36:8;;12415:12;:10;:12::i;:::-;12429:4;12435:7;12444:5;12378:72;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12378:72:8;;;;;;;;-1:-1:-1;;12378:72:8;;;;;;;;;;;;:::i;:::-;;;12374:519;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12617:13:8;;12613:266;;12659:60;;-1:-1:-1;;;12659:60:8;;;;;;;:::i;12613:266::-;12831:6;12825:13;12816:6;12812:2;12808:15;12801:38;12374:519;-1:-1:-1;;;;;;12500:51:8;-1:-1:-1;;;12500:51:8;;-1:-1:-1;12493:58:8;;12339:606;-1:-1:-1;12930:4:8;12173:778;;;;;;:::o;3670:127:14:-;3743:4;3766:19;;;:12;;;;;:19;;;;;;:24;;;3670:127::o;533:212:1:-;618:4;-1:-1:-1;;;;;;641:57:1;;-1:-1:-1;;;641:57:1;;:97;;;702:36;726:11;702:23;:36::i;576:267:11:-;715:45;742:4;748:2;752:7;715:26;:45::i;:::-;780:8;:6;:8::i;:::-;779:9;771:65;;;;-1:-1:-1;;;771:65:11;;;;;;;:::i;1535:441:26:-;1610:13;1635:19;1667:10;1671:6;1667:1;:10;:::i;:::-;:14;;1680:1;1667:14;:::i;:::-;1657:25;;;;;;-1:-1:-1;;;1657:25:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1657:25:26;;1635:47;;-1:-1:-1;;;1692:6:26;1699:1;1692:9;;;;;;-1:-1:-1;;;1692:9:26;;;;;;;;;;;;:15;-1:-1:-1;;;;;1692:15:26;;;;;;;;;-1:-1:-1;;;1717:6:26;1724:1;1717:9;;;;;;-1:-1:-1;;;1717:9:26;;;;;;;;;;;;:15;-1:-1:-1;;;;;1717:15:26;;;;;;;;-1:-1:-1;1747:9:26;1759:10;1763:6;1759:1;:10;:::i;:::-;:14;;1772:1;1759:14;:::i;:::-;1747:26;;1742:132;1779:1;1775;:5;1742:132;;;-1:-1:-1;;;1826:5:26;1834:3;1826:11;1813:25;;;;;-1:-1:-1;;;1813:25:26;;;;;;;;;;;;1801:6;1808:1;1801:9;;;;;;-1:-1:-1;;;1801:9:26;;;;;;;;;;;;:37;-1:-1:-1;;;;;1801:37:26;;;;;;;;-1:-1:-1;1862:1:26;1852:11;;;;;1782:3;;;:::i;:::-;;;1742:132;;;-1:-1:-1;1891:10:26;;1883:55;;;;-1:-1:-1;;;1883:55:26;;;;;;;:::i;717:377:2:-;1033:20;1079:8;;;717:377::o;2509:202:0:-;2594:4;-1:-1:-1;;;;;;2617:47:0;;-1:-1:-1;;;2617:47:0;;:87;;;2668:36;2692:11;2668:23;:36::i;2542:572:10:-;2681:45;2708:4;2714:2;2718:7;2681:26;:45::i;:::-;-1:-1:-1;;;;;2741:18:10;;2737:183;;2775:40;2807:7;2775:31;:40::i;:::-;2737:183;;;2844:2;-1:-1:-1;;;;;2836:10:10;:4;-1:-1:-1;;;;;2836:10:10;;2832:88;;2862:47;2895:4;2901:7;2862:32;:47::i;:::-;-1:-1:-1;;;;;2933:16:10;;2929:179;;2965:45;3002:7;2965:36;:45::i;:::-;2929:179;;;3037:4;-1:-1:-1;;;;;3031:10:10;:2;-1:-1:-1;;;;;3031:10:10;;3027:81;;3057:40;3085:2;3089:7;3057:27;:40::i;762:155:7:-;-1:-1:-1;;;;;;870:40:7;;-1:-1:-1;;;870:40:7;762:155;;;:::o;3820:161:10:-;3923:10;:17;;3896:24;;;;:15;:24;;;;;:44;;;3950:24;;;;;;;;;;;;3820:161::o;4598:970::-;4860:22;4910:1;4885:22;4902:4;4885:16;:22::i;:::-;:26;;;;:::i;:::-;4921:18;4942:26;;;:17;:26;;;;;;4860:51;;-1:-1:-1;5072:28:10;;;5068:323;;-1:-1:-1;;;;;5138:18:10;;5116:19;5138:18;;;:12;:18;;;;;;;;:34;;;;;;;;;5187:30;;;;;;:44;;;5303:30;;:17;:30;;;;;:43;;;5068:323;-1:-1:-1;5484:26:10;;;;:17;:26;;;;;;;;5477:33;;;-1:-1:-1;;;;;5527:18:10;;;;;:12;:18;;;;;:34;;;;;;;5520:41;4598:970::o;5856:1061::-;6130:10;:17;6105:22;;6130:21;;6150:1;;6130:21;:::i;:::-;6161:18;6182:24;;;:15;:24;;;;;;6550:10;:26;;6105:46;;-1:-1:-1;6182:24:10;;6105:46;;6550:26;;;;-1:-1:-1;;;6550:26:10;;;;;;;;;;;;;;;;;6528:48;;6612:11;6587:10;6598;6587:22;;;;;;-1:-1:-1;;;6587:22:10;;;;;;;;;;;;;;;;;;;;:36;;;;6691:28;;;:15;:28;;;;;;;:41;;;6860:24;;;;;6853:31;6894:10;:16;;;;;-1:-1:-1;;;6894:16:10;;;;;;;;;;;;;;;;;;;;;;;;;;5856:1061;;;;:::o;3408:217::-;3492:14;3509:20;3526:2;3509:16;:20::i;:::-;-1:-1:-1;;;;;3539:16:10;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;3583:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;3408:217:10:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:607:27;;110:18;151:2;143:6;140:14;137:2;;;157:18;;:::i;:::-;206:2;200:9;279:2;256:17;;-1:-1:-1;;252:31:27;240:44;;286:4;236:55;306:18;;;326:22;;;303:46;300:2;;;352:18;;:::i;:::-;388:2;381:22;436;;;421:6;-1:-1:-1;421:6:27;473:16;;;470:25;-1:-1:-1;467:2:27;;;508:1;505;498:12;467:2;558:6;553:3;546:4;538:6;534:17;521:44;613:1;606:4;597:6;589;585:19;581:30;574:41;;;90:531;;;;;:::o;626:175::-;696:20;;-1:-1:-1;;;;;745:31:27;;735:42;;725:2;;791:1;788;781:12;806:198;;918:2;906:9;897:7;893:23;889:32;886:2;;;939:6;931;924:22;886:2;967:31;988:9;967:31;:::i;1009:274::-;;;1138:2;1126:9;1117:7;1113:23;1109:32;1106:2;;;1159:6;1151;1144:22;1106:2;1187:31;1208:9;1187:31;:::i;:::-;1177:41;;1237:40;1273:2;1262:9;1258:18;1237:40;:::i;:::-;1227:50;;1096:187;;;;;:::o;1288:342::-;;;;1434:2;1422:9;1413:7;1409:23;1405:32;1402:2;;;1455:6;1447;1440:22;1402:2;1483:31;1504:9;1483:31;:::i;:::-;1473:41;;1533:40;1569:2;1558:9;1554:18;1533:40;:::i;:::-;1523:50;;1620:2;1609:9;1605:18;1592:32;1582:42;;1392:238;;;;;:::o;1635:702::-;;;;;1807:3;1795:9;1786:7;1782:23;1778:33;1775:2;;;1829:6;1821;1814:22;1775:2;1857:31;1878:9;1857:31;:::i;:::-;1847:41;;1907:40;1943:2;1932:9;1928:18;1907:40;:::i;:::-;1897:50;;1994:2;1983:9;1979:18;1966:32;1956:42;;2049:2;2038:9;2034:18;2021:32;2076:18;2068:6;2065:30;2062:2;;;2113:6;2105;2098:22;2062:2;2141:22;;2194:4;2186:13;;2182:27;-1:-1:-1;2172:2:27;;2228:6;2220;2213:22;2172:2;2256:75;2323:7;2318:2;2305:16;2300:2;2296;2292:11;2256:75;:::i;:::-;2246:85;;;1765:572;;;;;;;:::o;2342:369::-;;;2468:2;2456:9;2447:7;2443:23;2439:32;2436:2;;;2489:6;2481;2474:22;2436:2;2517:31;2538:9;2517:31;:::i;:::-;2507:41;;2598:2;2587:9;2583:18;2570:32;2645:5;2638:13;2631:21;2624:5;2621:32;2611:2;;2672:6;2664;2657:22;2611:2;2700:5;2690:15;;;2426:285;;;;;:::o;2716:266::-;;;2845:2;2833:9;2824:7;2820:23;2816:32;2813:2;;;2866:6;2858;2851:22;2813:2;2894:31;2915:9;2894:31;:::i;:::-;2884:41;2972:2;2957:18;;;;2944:32;;-1:-1:-1;;;2803:179:27:o;2987:190::-;;3099:2;3087:9;3078:7;3074:23;3070:32;3067:2;;;3120:6;3112;3105:22;3067:2;-1:-1:-1;3148:23:27;;3057:120;-1:-1:-1;3057:120:27:o;3182:266::-;;;3311:2;3299:9;3290:7;3286:23;3282:32;3279:2;;;3332:6;3324;3317:22;3279:2;3373:9;3360:23;3350:33;;3402:40;3438:2;3427:9;3423:18;3402:40;:::i;3453:258::-;;;3582:2;3570:9;3561:7;3557:23;3553:32;3550:2;;;3603:6;3595;3588:22;3550:2;-1:-1:-1;;3631:23:27;;;3701:2;3686:18;;;3673:32;;-1:-1:-1;3540:171:27:o;3716:257::-;;3827:2;3815:9;3806:7;3802:23;3798:32;3795:2;;;3848:6;3840;3833:22;3795:2;3892:9;3879:23;3911:32;3937:5;3911:32;:::i;3978:261::-;;4100:2;4088:9;4079:7;4075:23;4071:32;4068:2;;;4121:6;4113;4106:22;4068:2;4158:9;4152:16;4177:32;4203:5;4177:32;:::i;4244:554::-;;;4383:2;4371:9;4362:7;4358:23;4354:32;4351:2;;;4404:6;4396;4389:22;4351:2;4449:9;4436:23;4482:18;4474:6;4471:30;4468:2;;;4519:6;4511;4504:22;4468:2;4547:22;;4600:4;4592:13;;4588:27;-1:-1:-1;4578:2:27;;4634:6;4626;4619:22;4578:2;4662:77;4731:7;4726:2;4713:16;4706:4;4702:2;4698:13;4662:77;:::i;:::-;4652:87;4786:4;4771:20;;;;4758:34;;-1:-1:-1;;;;4341:457:27:o;5269:259::-;;5350:5;5344:12;5377:6;5372:3;5365:19;5393:63;5449:6;5442:4;5437:3;5433:14;5426:4;5419:5;5415:16;5393:63;:::i;:::-;5510:2;5489:15;-1:-1:-1;;5485:29:27;5476:39;;;;5517:4;5472:50;;5320:208;-1:-1:-1;;5320:208:27:o;5533:187::-;;5615:5;5609:12;5630:52;5675:6;5670:3;5663:4;5656:5;5652:16;5630:52;:::i;:::-;5698:16;;;;;5585:135;-1:-1:-1;;5585:135:27:o;5725:120::-;-1:-1:-1;;;5792:20:27;;5837:1;5828:11;;5782:63::o;5850:728::-;-1:-1:-1;;6245:2:27;6241:15;;;6237:24;;6225:37;;6296:15;;;;6292:24;;;6287:2;6278:12;;6271:46;6342:2;6333:12;;6326:28;;;;6379:2;6370:12;;6363:28;;;;6416:3;6407:13;;6400:29;6454:3;6445:13;;6438:29;6492:3;6483:13;;6476:29;6530:3;6521:13;;6514:29;6568:3;6559:13;;6165:413::o;6583:1392::-;6966:13;;6583:1392;;;;7039:1;7024:17;;7060:1;7096:18;;;;7123:2;;7177:4;7169:6;7165:17;7155:27;;7123:2;7203;7251;7243:6;7240:14;7220:18;7217:38;7214:2;;;-1:-1:-1;;;7278:33:27;;7334:4;7331:1;7324:15;7364:4;7285:3;7352:17;7214:2;7395:18;7422:104;;;;7540:1;7535:324;;;;7388:471;;7422:104;-1:-1:-1;;7455:24:27;;7443:37;;7500:16;;;;-1:-1:-1;7422:104:27;;7535:324;7571:39;7603:6;7571:39;:::i;:::-;7632:3;7648:165;7662:6;7659:1;7656:13;7648:165;;;7740:14;;7727:11;;;7720:35;7783:16;;;;7677:10;;7648:165;;;7652:3;;7842:6;7837:3;7833:16;7826:23;;7388:471;;;;;;;7875:94;7907:61;7935:32;7963:3;7955:6;7935:32;:::i;:::-;7927:6;7907:61;:::i;:::-;7875:94;:::i;:::-;7868:101;6916:1059;-1:-1:-1;;;;;;6916:1059:27:o;7980:786::-;;8391:25;8386:3;8379:38;8446:6;8440:13;8462:62;8517:6;8512:2;8507:3;8503:12;8496:4;8488:6;8484:17;8462:62;:::i;:::-;-1:-1:-1;;;8583:2:27;8543:16;;;8575:11;;;8568:40;8633:13;;8655:63;8633:13;8704:2;8696:11;;8689:4;8677:17;;8655:63;:::i;:::-;8738:17;8757:2;8734:26;;8369:397;-1:-1:-1;;;;8369:397:27:o;8771:203::-;-1:-1:-1;;;;;8935:32:27;;;;8917:51;;8905:2;8890:18;;8872:102::o;8979:490::-;-1:-1:-1;;;;;9248:15:27;;;9230:34;;9300:15;;9295:2;9280:18;;9273:43;9347:2;9332:18;;9325:34;;;9395:3;9390:2;9375:18;;9368:31;;;8979:490;;9416:47;;9443:19;;9435:6;9416:47;:::i;9474:187::-;9639:14;;9632:22;9614:41;;9602:2;9587:18;;9569:92::o;9666:177::-;9812:25;;;9800:2;9785:18;;9767:76::o;9848:221::-;;9997:2;9986:9;9979:21;10017:46;10059:2;10048:9;10044:18;10036:6;10017:46;:::i;10074:356::-;10276:2;10258:21;;;10295:18;;;10288:30;10354:34;10349:2;10334:18;;10327:62;10421:2;10406:18;;10248:182::o;10435:407::-;10637:2;10619:21;;;10676:2;10656:18;;;10649:30;10715:34;10710:2;10695:18;;10688:62;-1:-1:-1;;;10781:2:27;10766:18;;10759:41;10832:3;10817:19;;10609:233::o;10847:344::-;11049:2;11031:21;;;11088:2;11068:18;;;11061:30;-1:-1:-1;;;11122:2:27;11107:18;;11100:50;11182:2;11167:18;;11021:170::o;11196:407::-;11398:2;11380:21;;;11437:2;11417:18;;;11410:30;11476:34;11471:2;11456:18;;11449:62;-1:-1:-1;;;11542:2:27;11527:18;;11520:41;11593:3;11578:19;;11370:233::o;11608:414::-;11810:2;11792:21;;;11849:2;11829:18;;;11822:30;11888:34;11883:2;11868:18;;11861:62;-1:-1:-1;;;11954:2:27;11939:18;;11932:48;12012:3;11997:19;;11782:240::o;12027:402::-;12229:2;12211:21;;;12268:2;12248:18;;;12241:30;12307:34;12302:2;12287:18;;12280:62;-1:-1:-1;;;12373:2:27;12358:18;;12351:36;12419:3;12404:19;;12201:228::o;12434:352::-;12636:2;12618:21;;;12675:2;12655:18;;;12648:30;12714;12709:2;12694:18;;12687:58;12777:2;12762:18;;12608:178::o;12791:344::-;12993:2;12975:21;;;13032:2;13012:18;;;13005:30;-1:-1:-1;;;13066:2:27;13051:18;;13044:50;13126:2;13111:18;;12965:170::o;13140:426::-;13342:2;13324:21;;;13381:2;13361:18;;;13354:30;13420:34;13415:2;13400:18;;13393:62;13491:32;13486:2;13471:18;;13464:60;13556:3;13541:19;;13314:252::o;13571:398::-;13773:2;13755:21;;;13812:2;13792:18;;;13785:30;13851:34;13846:2;13831:18;;13824:62;-1:-1:-1;;;13917:2:27;13902:18;;13895:32;13959:3;13944:19;;13745:224::o;13974:400::-;14176:2;14158:21;;;14215:2;14195:18;;;14188:30;14254:34;14249:2;14234:18;;14227:62;-1:-1:-1;;;14320:2:27;14305:18;;14298:34;14364:3;14349:19;;14148:226::o;14379:349::-;14581:2;14563:21;;;14620:2;14600:18;;;14593:30;14659:27;14654:2;14639:18;;14632:55;14719:2;14704:18;;14553:175::o;14733:406::-;14935:2;14917:21;;;14974:2;14954:18;;;14947:30;15013:34;15008:2;14993:18;;14986:62;-1:-1:-1;;;15079:2:27;15064:18;;15057:40;15129:3;15114:19;;14907:232::o;15144:408::-;15346:2;15328:21;;;15385:2;15365:18;;;15358:30;15424:34;15419:2;15404:18;;15397:62;-1:-1:-1;;;15490:2:27;15475:18;;15468:42;15542:3;15527:19;;15318:234::o;15557:340::-;15759:2;15741:21;;;15798:2;15778:18;;;15771:30;-1:-1:-1;;;15832:2:27;15817:18;;15810:46;15888:2;15873:18;;15731:166::o;15902:420::-;16104:2;16086:21;;;16143:2;16123:18;;;16116:30;16182:34;16177:2;16162:18;;16155:62;16253:26;16248:2;16233:18;;16226:54;16312:3;16297:19;;16076:246::o;16327:406::-;16529:2;16511:21;;;16568:2;16548:18;;;16541:30;16607:34;16602:2;16587:18;;16580:62;-1:-1:-1;;;16673:2:27;16658:18;;16651:40;16723:3;16708:19;;16501:232::o;16738:405::-;16940:2;16922:21;;;16979:2;16959:18;;;16952:30;17018:34;17013:2;16998:18;;16991:62;-1:-1:-1;;;17084:2:27;17069:18;;17062:39;17133:3;17118:19;;16912:231::o;17148:356::-;17350:2;17332:21;;;17369:18;;;17362:30;17428:34;17423:2;17408:18;;17401:62;17495:2;17480:18;;17322:182::o;17509:408::-;17711:2;17693:21;;;17750:2;17730:18;;;17723:30;17789:34;17784:2;17769:18;;17762:62;-1:-1:-1;;;17855:2:27;17840:18;;17833:42;17907:3;17892:19;;17683:234::o;17922:356::-;18124:2;18106:21;;;18143:18;;;18136:30;18202:34;18197:2;18182:18;;18175:62;18269:2;18254:18;;18096:182::o;18283:405::-;18485:2;18467:21;;;18524:2;18504:18;;;18497:30;18563:34;18558:2;18543:18;;18536:62;-1:-1:-1;;;18629:2:27;18614:18;;18607:39;18678:3;18663:19;;18457:231::o;18693:411::-;18895:2;18877:21;;;18934:2;18914:18;;;18907:30;18973:34;18968:2;18953:18;;18946:62;-1:-1:-1;;;19039:2:27;19024:18;;19017:45;19094:3;19079:19;;18867:237::o;19109:397::-;19311:2;19293:21;;;19350:2;19330:18;;;19323:30;19389:34;19384:2;19369:18;;19362:62;-1:-1:-1;;;19455:2:27;19440:18;;19433:31;19496:3;19481:19;;19283:223::o;19511:413::-;19713:2;19695:21;;;19752:2;19732:18;;;19725:30;19791:34;19786:2;19771:18;;19764:62;-1:-1:-1;;;19857:2:27;19842:18;;19835:47;19914:3;19899:19;;19685:239::o;19929:408::-;20131:2;20113:21;;;20170:2;20150:18;;;20143:30;20209:34;20204:2;20189:18;;20182:62;-1:-1:-1;;;20275:2:27;20260:18;;20253:42;20327:3;20312:19;;20103:234::o;20342:485::-;20544:2;20526:21;;;20583:2;20563:18;;;20556:30;20622:34;20617:2;20602:18;;20595:62;20693:34;20688:2;20673:18;;20666:62;-1:-1:-1;;;20759:3:27;20744:19;;20737:48;20817:3;20802:19;;20516:311::o;20832:407::-;21034:2;21016:21;;;21073:2;21053:18;;;21046:30;21112:34;21107:2;21092:18;;21085:62;-1:-1:-1;;;21178:2:27;21163:18;;21156:41;21229:3;21214:19;;21006:233::o;21244:355::-;21446:2;21428:21;;;21485:2;21465:18;;;21458:30;21524:33;21519:2;21504:18;;21497:61;21590:2;21575:18;;21418:181::o;21604:412::-;21806:2;21788:21;;;21845:2;21825:18;;;21818:30;21884:34;21879:2;21864:18;;21857:62;-1:-1:-1;;;21950:2:27;21935:18;;21928:46;22006:3;21991:19;;21778:238::o;22021:428::-;22223:2;22205:21;;;22262:2;22242:18;;;22235:30;;;22301:34;22281:18;;;22274:62;22372:34;22367:2;22352:18;;22345:62;22439:3;22424:19;;22195:254::o;22454:411::-;22656:2;22638:21;;;22695:2;22675:18;;;22668:30;22734:34;22729:2;22714:18;;22707:62;-1:-1:-1;;;22800:2:27;22785:18;;22778:45;22855:3;22840:19;;22628:237::o;23052:129::-;;23120:17;;;23170:4;23154:21;;;23110:71::o;23186:128::-;;23257:1;23253:6;23250:1;23247:13;23244:2;;;23263:18;;:::i;:::-;-1:-1:-1;23299:9:27;;23234:80::o;23319:120::-;;23385:1;23375:2;;23390:18;;:::i;:::-;-1:-1:-1;23424:9:27;;23365:74::o;23444:168::-;;23550:1;23546;23542:6;23538:14;23535:1;23532:21;23527:1;23520:9;23513:17;23509:45;23506:2;;;23557:18;;:::i;:::-;-1:-1:-1;23597:9:27;;23496:116::o;23617:125::-;;23685:1;23682;23679:8;23676:2;;;23690:18;;:::i;:::-;-1:-1:-1;23727:9:27;;23666:76::o;23747:258::-;23819:1;23829:113;23843:6;23840:1;23837:13;23829:113;;;23919:11;;;23913:18;23900:11;;;23893:39;23865:2;23858:10;23829:113;;;23960:6;23957:1;23954:13;23951:2;;;-1:-1:-1;;23995:1:27;23977:16;;23970:27;23800:205::o;24010:136::-;;24077:5;24067:2;;24086:18;;:::i;:::-;-1:-1:-1;;;24122:18:27;;24057:89::o;24151:380::-;24236:1;24226:12;;24283:1;24273:12;;;24294:2;;24348:4;24340:6;24336:17;24326:27;;24294:2;24401;24393:6;24390:14;24370:18;24367:38;24364:2;;;24447:10;24442:3;24438:20;24435:1;24428:31;24482:4;24479:1;24472:15;24510:4;24507:1;24500:15;24364:2;;24206:325;;;:::o;24536:135::-;;-1:-1:-1;;24596:17:27;;24593:2;;;24616:18;;:::i;:::-;-1:-1:-1;24663:1:27;24652:13;;24583:88::o;24676:112::-;;24734:1;24724:2;;24739:18;;:::i;:::-;-1:-1:-1;24773:9:27;;24714:74::o;24793:127::-;24854:10;24849:3;24845:20;24842:1;24835:31;24885:4;24882:1;24875:15;24909:4;24906:1;24899:15;24925:127;24986:10;24981:3;24977:20;24974:1;24967:31;25017:4;25014:1;25007:15;25041:4;25038:1;25031:15;25057:127;25118:10;25113:3;25109:20;25106:1;25099:31;25149:4;25146:1;25139:15;25173:4;25170:1;25163:15;25189:133;-1:-1:-1;;;;;;25265:32:27;;25255:43;;25245:2;;25312:1;25309;25302:12

Swarm Source

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