ETH Price: $2,627.30 (+1.42%)

Contract

0x98830a6CC6f8964CeC4FFD65F19EDeBba6fEf865
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve205457282024-08-17 3:42:114 days ago1723866131IN
Star System Labs: PPEPE Token
0 ETH0.000044360.95798476
Approve205180772024-08-13 7:01:118 days ago1723532471IN
Star System Labs: PPEPE Token
0 ETH0.000064291.39501467
Approve197871082024-05-03 4:09:11110 days ago1714709351IN
Star System Labs: PPEPE Token
0 ETH0.000320226.91399454
Approve196336342024-04-11 16:41:35132 days ago1712853695IN
Star System Labs: PPEPE Token
0 ETH0.0014964832.31093046
Transfer194365382024-03-14 23:38:47159 days ago1710459527IN
Star System Labs: PPEPE Token
0 ETH0.0013687639.07627894
Approve191796252024-02-07 23:35:35195 days ago1707348935IN
Star System Labs: PPEPE Token
0 ETH0.0008524435.47256418
Approve183707312023-10-17 14:36:47309 days ago1697553407IN
Star System Labs: PPEPE Token
0 ETH0.0009269420.01397726
Approve183571082023-10-15 16:56:23311 days ago1697388983IN
Star System Labs: PPEPE Token
0 ETH0.000265025.72212418
Approve183433162023-10-13 18:39:35312 days ago1697222375IN
Star System Labs: PPEPE Token
0 ETH0.000185977.73879644
Approve183365352023-10-12 19:51:23313 days ago1697140283IN
Star System Labs: PPEPE Token
0 ETH0.000369847.98533257
Approve183164702023-10-10 0:26:35316 days ago1696897595IN
Star System Labs: PPEPE Token
0 ETH0.000266695.77784491
Transfer183162722023-10-09 23:46:35316 days ago1696895195IN
Star System Labs: PPEPE Token
0 ETH0.000228024.81558309
Approve183152402023-10-09 20:17:11316 days ago1696882631IN
Star System Labs: PPEPE Token
0 ETH0.000235989.82012558
Approve183152242023-10-09 20:13:59316 days ago1696882439IN
Star System Labs: PPEPE Token
0 ETH0.0005700512.30824494
Transfer182920082023-10-06 14:18:35320 days ago1696601915IN
Star System Labs: PPEPE Token
0 ETH0.0003442711.3803248
Approve182840692023-10-05 11:39:47321 days ago1696505987IN
Star System Labs: PPEPE Token
0 ETH0.000266485.77318317
Transfer182649772023-10-02 19:36:11323 days ago1696275371IN
Star System Labs: PPEPE Token
0 ETH0.0013320828.13145633
Transfer182609272023-10-02 6:02:59324 days ago1696226579IN
Star System Labs: PPEPE Token
0 ETH0.000371197.83914893
Approve182559762023-10-01 13:26:59325 days ago1696166819IN
Star System Labs: PPEPE Token
0 ETH0.000351317.58531837
Approve182507002023-09-30 19:46:59325 days ago1696103219IN
Star System Labs: PPEPE Token
0 ETH0.0005350411.55234077
Transfer182380422023-09-29 1:15:59327 days ago1695950159IN
Star System Labs: PPEPE Token
0 ETH0.000334727.06893457
Transfer182303172023-09-27 23:17:11328 days ago1695856631IN
Star System Labs: PPEPE Token
0 ETH0.00037257.14597907
Transfer182303142023-09-27 23:16:35328 days ago1695856595IN
Star System Labs: PPEPE Token
0 ETH0.000265117.5685869
Transfer182303022023-09-27 23:14:11328 days ago1695856451IN
Star System Labs: PPEPE Token
0 ETH0.000399237.65876097
Transfer182302932023-09-27 23:12:23328 days ago1695856343IN
Star System Labs: PPEPE Token
0 ETH0.000405077.77075196
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PrimordialPePe

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 5000 runs

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

import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/math/Math.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";

/**
 * @title PrimordialPePe
 * @dev Contract to manage staking and rewards for Primordial PePe tokens.
 */
contract PrimordialPePe is ERC20Burnable, Ownable, AccessControl {

    struct StakedPlanet {
        uint256 tokenId;
        uint256 stakedSince;
        uint256 primordialEmission;
    }

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

    using EnumerableSet for EnumerableSet.AddressSet;
    EnumerableSet.AddressSet private minters;
    EnumerableSet.AddressSet private admins;

    using EnumerableSet for EnumerableSet.UintSet;
    uint256 public constant STAKE_LIMIT = 25;

    bool public minable = false;
    address public allowed_pepe_miner;
    address public allowed_pond_miner;
    uint256 public max_rig_supply = 420690000000000000000000000000000;

    address public primordialplanetsAddress;
    address public constant BURN_ADDRESS = 0x000000000000000000000000000000000000dEaD;
    //User to staked planets
    mapping(address => EnumerableSet.UintSet) private stakedPlanets;
    //Staked Planet to timestamp staked
    mapping(uint256 => uint256) public planetStakeTimes;
    mapping(uint256 => uint256) public planetClaimTimes;

   constructor() ERC20("PrimordialPePe", "PPEPE") {

        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _setupRole(MINTER_ROLE, msg.sender);

        minters.add(msg.sender);
        admins.add(msg.sender);
    }

    /**
     * @notice Stake specified planet IDs.
     * @param _planetIds The planet IDs to stake.
     */
    function stakePlanetByIds(uint256[] memory _planetIds) external {
        require(
            _planetIds.length + stakedPlanets[msg.sender].length() <= STAKE_LIMIT,
            "Can only have a max of 25 planets staked in your solar system!"
        );
        for (uint256 i = 0; i < _planetIds.length; i++) {
            _stakePlanet(_planetIds[i]);
        }
    }

    function unstakePlanetByIds(uint256[] memory _planetIds) public {
        for (uint256 i = 0; i < _planetIds.length; i++) {
            _unstakePlanet(_planetIds[i]);
        }
    }

    function claimRewardsByIds(uint256[] memory _planetIds) external {
        uint256 runningPePeAllowance;

        for (uint256 i = 0; i < _planetIds.length; i++) {
            uint256 thisPlanetId = _planetIds[i];
            require(
                stakedPlanets[msg.sender].contains(thisPlanetId),
                "Can only claim from a planet in your solar system!"
            );
            runningPePeAllowance += getPrimordialOwedToThisPlanet(thisPlanetId);

            planetClaimTimes[thisPlanetId] = block.timestamp;
        }
        _mint(msg.sender, runningPePeAllowance);
    }

    function claimAllRewards() external {
        uint256 runningPePeAllowance;

        for (uint256 i = 0; i < stakedPlanets[msg.sender].length(); i++) {
            uint256 thisPlanetId = stakedPlanets[msg.sender].at(i);
            runningPePeAllowance += getPrimordialOwedToThisPlanet(thisPlanetId);

            planetClaimTimes[thisPlanetId] = block.timestamp;
        }
        _mint(msg.sender, runningPePeAllowance);
    }

    function unstakeAll() external {
        unstakePlanetByIds(stakedPlanets[msg.sender].values());
    }

    function _stakePlanet(uint256 _planetId) internal onlyPlanetOwner(_planetId) {
        //Transfer their token
        IERC721Enumerable(primordialplanetsAddress).transferFrom(
            msg.sender,
            address(this),
            _planetId
        );

        // Add the planet to the owner's solar system
        stakedPlanets[msg.sender].add(_planetId);

        //Set this planetId timestamp to now
        planetStakeTimes[_planetId] = block.timestamp;
        planetClaimTimes[_planetId] = 0;
    }

    function _unstakePlanet(uint256 _planetId)
        internal
        onlyPlanetStaker(_planetId)
    {
        uint256 primordialOwedToThisPlanet = getPrimordialOwedToThisPlanet(_planetId);
        _mint(msg.sender, primordialOwedToThisPlanet);

        IERC721(primordialplanetsAddress).transferFrom(
            address(this),
            msg.sender,
            _planetId
        );

        stakedPlanets[msg.sender].remove(_planetId);
    }

    function mint(address to, uint256 amount) public {
        require(hasRole(MINTER_ROLE, msg.sender), "PrimordialPePe: must have minter role to mint");
        _mint(to, amount);
    }

    // GETTERS

    function getStakedPlanetData(address _address)
        external
        view
        returns (StakedPlanet[] memory)
    {
        uint256[] memory ids = stakedPlanets[_address].values();
        StakedPlanet[] memory stakedPlanet = new StakedPlanet[](ids.length);
        for (uint256 index = 0; index < ids.length; index++) {
            uint256 _planetId = ids[index];
            stakedPlanet[index] = StakedPlanet(
                _planetId,
                planetStakeTimes[_planetId],
                getPlanetPrimordialEmission(_planetId)
            );
        }

        return stakedPlanet;
    }

    function tokensStaked(address _address)
        external
        view
        returns (uint256[] memory)
    {
        return stakedPlanets[_address].values();
    }

    function stakedPlanetQuantity(address _address)
        external
        view
        returns (uint256)
    {
        return stakedPlanets[_address].length();
    }

    function getPrimordialOwedToThisPlanet(uint256 _planetId)
        public
        view
        returns (uint256)
    {
        uint256 elapsedTime = block.timestamp - planetStakeTimes[_planetId];
        uint256 elapsedDays = elapsedTime < 1 days ? 0 : elapsedTime / 1 days;
        uint256 leftoverSeconds = elapsedTime - elapsedDays * 1 days;

        if (planetClaimTimes[_planetId] == 0) {
            return _calculatePrimordial(elapsedDays, leftoverSeconds);
        }

        uint256 elapsedTimeSinceClaim = planetClaimTimes[_planetId] -
            planetStakeTimes[_planetId];
        uint256 elapsedDaysSinceClaim = elapsedTimeSinceClaim < 1 days
            ? 0
            : elapsedTimeSinceClaim / 1 days;
        uint256 leftoverSecondsSinceClaim = elapsedTimeSinceClaim -
            elapsedDaysSinceClaim *
            1 days;

        return
            _calculatePrimordial(elapsedDays, leftoverSeconds) -
            _calculatePrimordial(elapsedDaysSinceClaim, leftoverSecondsSinceClaim);
    }

    function getTotalRewardsForUser(address _address)
        external
        view
        returns (uint256)
    {
        uint256 runningPrimordialTotal;
        uint256[] memory planetIds = stakedPlanets[_address].values();
        for (uint256 i = 0; i < planetIds.length; i++) {
            runningPrimordialTotal += getPrimordialOwedToThisPlanet(planetIds[i]);
        }
        return runningPrimordialTotal;
    }

    function getPlanetPrimordialEmission(uint256 _planetId)
        public
        view
        returns (uint256)
    {
        uint256 elapsedTime = block.timestamp - planetStakeTimes[_planetId];
        uint256 elapsedDays = elapsedTime < 1 days ? 0 : elapsedTime / 1 days;
        return _primordialDailyIncrement(elapsedDays);
    }

    function getMinterCount() public view returns (uint256) {
        return minters.length();
    }

    function getMinter(uint256 index) public view returns (address) {
        require(index < minters.length(), "Index out of range");
        return minters.at(index);
    }

    function getAdminCount() public view returns (uint256) {
        return admins.length();
    }

    function getAdmin(uint256 index) public view returns (address) {
        require(index < admins.length(), "Index out of range");
        return admins.at(index);
    }

    function _calculatePrimordial(uint256 _days, uint256 _leftoverSeconds)
        internal
        pure
        returns (uint256)
    {
        uint256 progressiveDays = Math.min(_days, 100);
        uint256 progressiveReward = progressiveDays == 0
            ? 0
            : (progressiveDays *
                (2525 ether + 25 ether * (progressiveDays - 1) + 2525 ether)) /
                2;

        uint256 dailyIncrement = _primordialDailyIncrement(_days);
        uint256 leftoverReward = _leftoverSeconds > 0
            ? (dailyIncrement * _leftoverSeconds) / 1 days
            : 0;

        if (_days <= 100) {
            return progressiveReward + leftoverReward;
        }
        return progressiveReward + (_days - 100) * 5000 ether + leftoverReward;
    }

    function _primordialDailyIncrement(uint256 _days)
        internal
        pure
        returns (uint256)
    {
        return _days > 100 ? 5000 ether : 2500 ether + _days * 25 ether;
    }

    // ACCESS CONTROL FUNCTIONS

    function grantAdminRole(address account) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "PrimordialPePe: must have admin role to grant new admin");
        grantRole(DEFAULT_ADMIN_ROLE, account);
        admins.add(account);
    }

    function revokeAdminRole(address account) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "PrimordialPePe: must have admin role to revoke admin");
        revokeRole(DEFAULT_ADMIN_ROLE, account);
        admins.remove(account);
    }

    function grantMinterRole(address account) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "PrimordialPePe: must have admin role to grant minter role");
        grantRole(MINTER_ROLE, account);
        minters.add(account);
    }

    function revokeMinterRole(address account) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "PrimordialPePe: must have admin role to revoke minter role");
        revokeRole(MINTER_ROLE, account);
        minters.remove(account);
    }

    // MINING RIG

    function activate() external payable {
        require(allowed_pepe_miner == address(0) || allowed_pond_miner == address(0), "Miners activated");
        require(msg.sender != allowed_pepe_miner, "Miner already activated");
        require(minable == false, "INVALID");

        uint256 mintAmount = 1000000 ether;

        if (allowed_pepe_miner == address(0)) {
            allowed_pepe_miner = msg.sender;
            _mint(allowed_pepe_miner, mintAmount);
        } else {
            allowed_pond_miner = msg.sender;
            _mint(allowed_pond_miner, mintAmount);
            minable = true; 
        }
    }

    function mintSupplyFromMinedLP(
        address miner,
        uint256 value
    ) external payable {
        require(minable == true, "INVALID");
        require(msg.sender == allowed_pepe_miner || msg.sender == allowed_pond_miner, "INVALID");

        uint _supply = totalSupply();
        uint _calculated = _supply + value;

        require(_calculated <= max_rig_supply, "EXCEEDS MAX");
        _mint(miner, value);
    }

    // OWNER FUNCTIONS

    function setAddresses(address _primordialplanetsAddress)
        public
        onlyOwner
    {
        primordialplanetsAddress = _primordialplanetsAddress;
    }

    // MODIFIERS

    modifier onlyPlanetOwner(uint256 _planetId) {
        require(
            IERC721Enumerable(primordialplanetsAddress).ownerOf(_planetId) == msg.sender,
            "Can only stake planets in your domain!"
        );
        _;
    }

    modifier onlyPlanetStaker(uint256 _planetId) {
        require(
            stakedPlanets[msg.sender].contains(_planetId),
            "Can only unstake planets in your solar system!"
        );
        _;
    }
}

File 2 of 18 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/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:
 *
 * ```solidity
 * 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}:
 *
 * ```solidity
 * 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. We recommend using {AccessControlDefaultAdminRules}
 * to enforce additional security measures for this role.
 */
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);
        _;
    }

    /**
     * @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 virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @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 virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(account),
                        " 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 virtual 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.
     *
     * May emit a {RoleGranted} event.
     */
    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.
     *
     * May emit a {RoleRevoked} event.
     */
    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 revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     *
     * May emit a {RoleRevoked} event.
     */
    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.
     *
     * May emit a {RoleGranted} event.
     *
     * [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}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    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);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 3 of 18 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

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 4 of 18 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 5 of 18 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the default value returned by this function, unless
     * it's overridden.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(address from, address to, uint256 amount) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens 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 amount) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}
}

File 6 of 18 : ERC20Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.0;

import "../ERC20.sol";
import "../../../utils/Context.sol";

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        _spendAllowance(account, _msgSender(), amount);
        _burn(account, amount);
    }
}

File 7 of 18 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

File 8 of 18 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 amount) external returns (bool);
}

File 9 of 18 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

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);

    /**
     * @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 10 of 18 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * 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;

    /**
     * @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 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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * 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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

File 11 of 18 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

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 12 of 18 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

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 13 of 18 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

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 14 of 18 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1, "Math: mulDiv overflow");

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);
        }
    }
}

File 15 of 18 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 16 of 18 : SignedMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

File 17 of 18 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";
import "./math/SignedMath.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toString(int256 value) internal pure returns (string memory) {
        return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value))));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @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] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

File 18 of 18 : EnumerableSet.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/structs/EnumerableSet.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.

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.
 *
 * ```solidity
 * 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.
 *
 * [WARNING]
 * ====
 * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure
 * unusable.
 * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an
 * array of EnumerableSet.
 * ====
 */
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) {
        bytes32[] memory store = _values(set._inner);
        bytes32[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // 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;

        /// @solidity memory-safe-assembly
        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 in 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;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 5000
  },
  "viaIR": true,
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

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":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BURN_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"STAKE_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"activate","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowed_pepe_miner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowed_pond_miner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimAllRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_planetIds","type":"uint256[]"}],"name":"claimRewardsByIds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAdminCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getMinter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMinterCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_planetId","type":"uint256"}],"name":"getPlanetPrimordialEmission","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_planetId","type":"uint256"}],"name":"getPrimordialOwedToThisPlanet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"address","name":"_address","type":"address"}],"name":"getStakedPlanetData","outputs":[{"components":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"stakedSince","type":"uint256"},{"internalType":"uint256","name":"primordialEmission","type":"uint256"}],"internalType":"struct PrimordialPePe.StakedPlanet[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getTotalRewardsForUser","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"grantAdminRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"grantMinterRole","outputs":[],"stateMutability":"nonpayable","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":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"max_rig_supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"miner","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"mintSupplyFromMinedLP","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"planetClaimTimes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"planetStakeTimes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"primordialplanetsAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"address","name":"account","type":"address"}],"name":"revokeAdminRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"revokeMinterRole","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":"_primordialplanetsAddress","type":"address"}],"name":"setAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_planetIds","type":"uint256[]"}],"name":"stakePlanetByIds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"stakedPlanetQuantity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"address","name":"_address","type":"address"}],"name":"tokensStaked","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unstakeAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_planetIds","type":"uint256[]"}],"name":"unstakePlanetByIds","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080346200046b576001600160401b0390604090808201838111828210176200036d578252600e81526020906d5072696d6f726469616c5065506560901b82820152825193838501858110828211176200036d57845260059081865264505045504560d81b848701528251908082116200036d5760038054926001958685811c9516801562000460575b888610146200044a578190601f95868111620003f6575b5088908683116001146200038f5760009262000383575b505060001982841b1c191690861b1781555b87519182116200036d5760049283548681811c9116801562000362575b888210146200034d5781811162000304575b50869083116001146200029757829394959697986000936200028b575b505082861b92600019911b1c19161790555b8054336001600160a01b0319821681179092556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a360ff199081600b5416600b556d14bddab3e51a57cff87a50000000600d5560008052600683528360002033600052835260ff8460002054161562000250575b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a69283600052600681528460002033600052815260ff8560002054161562000211575b84620001f63362000470565b50620002023362000510565b50516132df9081620005848239f35b83600052600681528460002090336000525283600020918254161790553390339060008051602062003863833981519152600080a438808080620001ea565b60008052600683528360002033600052835283600020818382541617905533336000600080516020620038638339815191528180a4620001a7565b01519150388062000115565b90601f1983169184600052876000209260005b818110620002ee5750998488999a9b9896979810620002d3575b50505050811b01905562000127565b01519060f884600019921b161c1916905538808080620002c4565b8b830151855593880193918901918901620002aa565b846000528760002082808601881c8201928a871062000343575b01871c019087905b82811062000336575050620000f8565b6000815501879062000326565b925081926200031e565b602285634e487b7160e01b6000525260246000fd5b90607f1690620000e6565b634e487b7160e01b600052604160045260246000fd5b015190503880620000b7565b90889350601f19831691856000528a6000209260005b8c828210620003df5750508411620003c6575b505050811b018155620000c9565b015160001983861b60f8161c19169055388080620003b8565b8385015186558c97909501949384019301620003a5565b909150836000528860002086808501891c8201928b861062000440575b918a9186959493018a1c01915b82811062000430575050620000a0565b600081558594508a910162000420565b9250819262000413565b634e487b7160e01b600052602260045260246000fd5b94607f169462000089565b600080fd5b6000818152600860205260408120546200050b5760075468010000000000000000811015620004f7576001810180600755811015620004e3577fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880182905560075491815260086020526040902055600190565b634e487b7160e01b82526032600452602482fd5b634e487b7160e01b82526041600452602482fd5b905090565b6000818152600a60205260408120546200050b5760095468010000000000000000811015620004f7576001810180600955811015620004e3577f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af01829055600954918152600a602052604090205560019056fe608060408181526004918236101561001657600080fd5b600092833560e01c91826301ffc9a714611d9757508163026b049614611d7757816306fdde0314611c82578163095ea7b314611c585781630b83a72714611beb5781630f15f4c014611a77578163111fd88b14611a1357816318160ddd146119f45781631a05d10e146119cc57816320ca5184146119b05781632121505d14611989578163214443511461171857816323b872dd146116db578163248a9ca3146116b05781632cf01b55146116035781632e22f4cb146115cc5781632f2ff15d14611521578163313ce5671461150557816335322f37146114a157816336568abe1461140157816339509351146113b25781633dd1eb611461125857816340c10f191461118a57816342966c681461116c5781635372b2f6146110ad5781635b7121f81461103657816365e523c914610eb65781636650331214610e0857816369e2f0fb14610cae5781636a5373b614610c9757816370a0823114610c61578163715018a614610bee578163791879ef14610bca57816379cc679014610b9a57816381d3c43514610b435781638b7bf3eb14610b245781638da5cb5b14610afc5781638dbb94eb14610add57816391d1485414610a9757816395d89b41146109945781639a19c7b0146108635781639aa3afef1461083b578163a217fddf14610820578163a457c2d714610762578163a9059cbb14610731578163ad003bef1461063a578163afa18e1114610612578163b1b11ffa146105f3578163c634b78e146104ba578163d53913931461047f578163d547741f14610440578163d5ac295214610415578163dd62ed3e146103cc578163e7f3e708146103a4578163f2fde38b146102ac575063fccc28131461028d57600080fd5b346102a857816003193601126102a8576020905161dead8152f35b5080fd5b9050346103a05760206003193601126103a0576102c7611e84565b906102d0612361565b6001600160a01b03809216928315610337575050600554827fffffffffffffffffffffffff0000000000000000000000000000000000000000821617600555167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b906020608492519162461bcd60e51b8352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152fd5b8280fd5b5050346102a857816003193601126102a8576020906001600160a01b03600c54169051908152f35b5050346102a857806003193601126102a857806020926103ea611e84565b6103f2611e9f565b6001600160a01b0391821683526001865283832091168252845220549051908152f35b5050346102a857816003193601126102a8576020906001600160a01b03600b5460081c169051908152f35b919050346103a057806003193601126103a05761047c91356104776001610465611e9f565b93838752600660205286200154611fb5565b6122ea565b80f35b5050346102a857816003193601126102a857602090517f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a68152f35b839150346102a857602092836003193601126103a0576104d8611e84565b9183805260068552818420338552855260ff82852054161561058c575082938361053e94526006815261051060018387200154611fb5565b848052600681526001600160a01b03828620931692838652815260ff828620541615610542575b5050612c62565b5080f35b8480526006815281852090838652528320600160ff198254161790553381847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d8180a48380610537565b84608492519162461bcd60e51b8352820152603760248201527f5072696d6f726469616c506550653a206d75737420686176652061646d696e2060448201527f726f6c6520746f206772616e74206e65772061646d696e0000000000000000006064820152fd5b5050346102a857816003193601126102a857602090600d549051908152f35b9050346103a05760206003193601126103a05760209282913581526010845220549051908152f35b82843461072e5761064a36611f36565b9181825b84518110156107235761066181866128e1565b5191338552602090600f82526106898486882060019160005201602052604060002054151590565b156106bb576106b692916106a86011926106a287612f8c565b906123b9565b9487525242848620556128d2565b61064e565b6084888387519162461bcd60e51b8352820152603260248201527f43616e206f6e6c7920636c61696d2066726f6d206120706c616e657420696e2060448201527f796f757220736f6c61722073797374656d2100000000000000000000000000006064820152fd5b8361047c8333612afc565b80fd5b5050346102a857806003193601126102a85760209061075b610751611e84565b60243590336123dc565b5160018152f35b9050823461072e578260031936011261072e5761077d611e84565b91836024359233815260016020528181206001600160a01b03861682526020522054908282106107b75760208561075b8585038733612590565b608490602086519162461bcd60e51b8352820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152fd5b5050346102a857816003193601126102a85751908152602090f35b9050346103a05760206003193601126103a05760209282913581526011845220549051908152f35b839150346102a857602092836003193601126103a057610881611e84565b9183805260068552818420338552855260ff82852054161561092d575082938361053e9452600681526108b960018387200154611fb5565b848052600681526001600160a01b03828620931692838652815260ff82862054166108e6575b5050612e07565b848052600681528185209083865252832060ff1981541690553381847ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b8180a483806108df565b84608492519162461bcd60e51b8352820152603460248201527f5072696d6f726469616c506550653a206d75737420686176652061646d696e2060448201527f726f6c6520746f207265766f6b652061646d696e0000000000000000000000006064820152fd5b8383346102a857816003193601126102a857805191809380549160019083821c92828516948515610a8d575b6020958686108114610a7a57858952908115610a5657506001146109fe575b6109fa87876109f0828c0383611efb565b5191829182611e58565b0390f35b81529295507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b828410610a4357505050826109fa946109f0928201019486806109df565b8054868501880152928601928101610a25565b60ff19168887015250505050151560051b83010192506109f0826109fa86806109df565b602484602285634e487b7160e01b835252fd5b93607f16936109c0565b9050346103a057816003193601126103a0578160209360ff92610ab8611e9f565b90358252600686526001600160a01b0383832091168252855220541690519015158152f35b5050346102a857816003193601126102a8576020906007549051908152f35b5050346102a857816003193601126102a8576020906001600160a01b03600554169051908152f35b5050346102a857816003193601126102a8576020906009549051908152f35b833461072e57602060031936011261072e576001600160a01b03610b65611e84565b610b6d612361565b167fffffffffffffffffffffffff0000000000000000000000000000000000000000600e541617600e5580f35b5050346102a85760031936011261072e5761047c610bb6611e84565b60243590610bc58233836126c4565b61275c565b5050346102a857816003193601126102a85760209060ff600b541690519015158152f35b833461072e578060031936011261072e57610c07612361565b806001600160a01b036005547fffffffffffffffffffffffff00000000000000000000000000000000000000008116600555167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b5050346102a85760206003193601126102a857806020926001600160a01b03610c88611e84565b16815280845220549051908152f35b833461072e5761047c610ca936611f36565b6128f5565b919050346103a05760209081600319360112610e0457610ccc611e84565b9284805260068352818520338652835260ff828620541615610d9d57509061053e92917f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a69182865260068152610d2760018388200154611fb5565b828652600681526001600160a01b03828720941693848752815260ff8287205416610d55575b505050612d1d565b828652600681528186209084875252842060ff1981541690558133917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b8680a4388080610d4d565b82608492519162461bcd60e51b8352820152603a60248201527f5072696d6f726469616c506550653a206d75737420686176652061646d696e2060448201527f726f6c6520746f207265766f6b65206d696e74657220726f6c650000000000006064820152fd5b8380fd5b82843461072e576020908160031936011261072e57610e25611e84565b916001600160a01b038293168252600f8152838220918451808484829654938481520190845284842092845b86828210610ea057505050610e6892500384611efb565b925b8251841015610e9957610e8d610e93916106a2610e8787876128e1565b51612f8c565b936128d2565b92610e6a565b8451908152f35b8554845260019586019589955093019201610e51565b82843461072e576020806003193601126102a8576001600160a01b03610eda611e84565b168252600f8152828220918351808484829654938481520190845284842092845b8682821061102057505050610f1292500384611efb565b825191601f19610f39610f2485611f1e565b94610f3188519687611efb565b808652611f1e565b0181835b828110610ffa57505050815b8451811015610fac5780610f60610fa792876128e1565b518085526010845287852054610f7582613075565b90895192610f8284611edf565b83528583015288820152610f9682876128e1565b52610fa181866128e1565b506128d2565b610f49565b509250835192808401908085528351809252808686019401925b828110610fd35785850386f35b83518051865280830151868401528701518786015260609094019392810192600101610fc6565b875161100581611edf565b85815285838201528589820152828288010152018290610f3d565b8554845260019586019589955093019201610efb565b82843461072e57602060031936011261072e57823592600754841061105a816130ae565b1561109a575060209260076001600160a01b0392527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880154169051908152f35b906032602492634e487b7160e01b835252fd5b839150826003193601126102a8576110c3611e84565b602435916110fc600b546110de600160ff831615151461325e565b6001600160a01b03809160081c16331490811561115e575b5061325e565b611108836002546123b9565b600d541061111b57509061047c91612afc565b606490602086519162461bcd60e51b8352820152600b60248201527f45584345454453204d41580000000000000000000000000000000000000000006044820152fd5b9050600c54163314876110f6565b8390346102a85760206003193601126102a85761047c90353361275c565b9050346103a057816003193601126103a0576111a4611e84565b917f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a68452600660205280842033855260205260ff8185205416156111ef578361047c60243585612afc565b906020608492519162461bcd60e51b8352820152602d60248201527f5072696d6f726469616c506550653a206d7573742068617665206d696e74657260448201527f20726f6c6520746f206d696e74000000000000000000000000000000000000006064820152fd5b919050346103a05760209081600319360112610e0457611276611e84565b9284805260068352818520338652835260ff82862054161561134b57509061053e92917f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a691828652600681526112d160018388200154611fb5565b828652600681526001600160a01b03828720941693848752815260ff828720541615611300575b505050612be0565b8286526006815281862090848752528420600160ff198254161790558133917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d8680a43880806112f8565b82608492519162461bcd60e51b8352820152603960248201527f5072696d6f726469616c506550653a206d75737420686176652061646d696e2060448201527f726f6c6520746f206772616e74206d696e74657220726f6c65000000000000006064820152fd5b5050346102a857806003193601126102a85761075b6020926113fa6113d5611e84565b91338152600186528481206001600160a01b03841682528652846024359120546123b9565b9033612590565b839150346102a857826003193601126102a85761141c611e9f565b90336001600160a01b03831603611438579061047c91356122ea565b608490602085519162461bcd60e51b8352820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c6600000000000000000000000000000000006064820152fd5b5050346102a857816003193601126102a857338252602090600f82528083209051918281835491828152019285528185209185905b8282106114ee578661047c87610ca981890382611efb565b8354855293840193600193840193909101906114d6565b5050346102a857816003193601126102a8576020905160128152f35b9050346103a057816003193601126103a057359061153d611e9f565b90828452600660205261155560018286200154611fb5565b82845260066020526001600160a01b0381852092169182855260205260ff818520541615611581578380f35b82845260066020528084208285526020528320600160ff1982541617905533917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d8480a43880808380f35b5050346102a85760206003193601126102a857806020926001600160a01b036115f3611e84565b168152600f845220549051908152f35b82843461072e576020908160031936011261072e5782906001600160a01b0361162a611e84565b168152600f8352818120908251808584549182815201908194845286842090845b81811061169c5750505081611661910382611efb565b83519485948186019282875251809352850193925b82811061168557505050500390f35b835185528695509381019392810192600101611676565b82548452928801926001928301920161164b565b9050346103a05760206003193601126103a05781602093600192358152600685522001549051908152f35b5050346102a85760606003193601126102a85760209061075b6116fc611e84565b611704611e9f565b604435916117138333836126c4565b6123dc565b82843461072e5761172836611f36565b91825193338352600f601961174660209783895285872054906123b9565b1161192157835b855181101561191d5761176081876128e1565b516001600160a01b0380600e54169086517f6352211e00000000000000000000000000000000000000000000000000000000815283878201526024918b828481875afa918215611913578a926118d7575b50339116036118705750803b1561186c5785517f23b872dd00000000000000000000000000000000000000000000000000000000815233868201908152306020820152604081018490529091889183919082908490829060600103925af18015611862579061184e939291611853575b5033875283895261183481878920612cb4565b5086526010885242858720556011885285858120556128d2565b61174d565b61185c90611eb5565b89611821565b86513d89823e3d90fd5b8680fd5b8560266084928c8a519362461bcd60e51b85528401528201527f43616e206f6e6c79207374616b6520706c616e65747320696e20796f7572206460448201527f6f6d61696e2100000000000000000000000000000000000000000000000000006064820152fd5b9091508b81813d831161190c575b6118ef8183611efb565b810103126119085751818116810361190857908c6117b1565b8980fd5b503d6118e5565b89513d8c823e3d90fd5b8480f35b5084608492519162461bcd60e51b8352820152603e60248201527f43616e206f6e6c7920686176652061206d6178206f6620323520706c616e657460448201527f73207374616b656420696e20796f757220736f6c61722073797374656d2100006064820152fd5b82843461072e57602060031936011261072e57506119a960209235612f8c565b9051908152f35b5050346102a857816003193601126102a8576020905160198152f35b5050346102a857816003193601126102a8576020906001600160a01b03600e54169051908152f35b5050346102a857816003193601126102a8576020906002549051908152f35b82843461072e57602060031936011261072e578235926009548410611a37816130ae565b1561109a575060209260096001600160a01b0392527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0154169051908152f35b919050826003193601126103a057600b546001600160a01b0392838260081c1692831593848015611bdf575b15611b9c573314611b5957505060ff611abd91161561325e565b15611b155761047c90600b547fffffffffffffffffffffff0000000000000000000000000000000000000000ff74ffffffffffffffffffffffffffffffffffffffff003360081b1691161780600b5560081c16612a4e565b50337fffffffffffffffffffffffff0000000000000000000000000000000000000000600c541617600c55611b4933612a4e565b600160ff19600b541617600b5580f35b906020606492519162461bcd60e51b8352820152601760248201527f4d696e657220616c7265616479206163746976617465640000000000000000006044820152fd5b606483602084519162461bcd60e51b8352820152601060248201527f4d696e65727320616374697661746564000000000000000000000000000000006044820152fd5b5085600c541615611aa3565b5050346102a857816003193601126102a85781805b3382526020600f81528383208054831015611c4d578291611c3a611c29611c4895601194612bc8565b90549060031b1c976106a289612f8c565b9685525242848420556128d2565b611c00565b8361047c8733612afc565b5050346102a857806003193601126102a85760209061075b611c78611e84565b6024359033612590565b919050346103a057826003193601126103a057805191836003549060019082821c928281168015611d6d575b6020958686108214611d5a5750848852908115611d385750600114611cdf575b6109fa86866109f0828b0383611efb565b929550600383527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b828410611d2557505050826109fa946109f0928201019438611cce565b8054868501880152928601928101611d08565b60ff191687860152505050151560051b83010192506109f0826109fa38611cce565b836022602492634e487b7160e01b835252fd5b93607f1693611cae565b82843461072e57602060031936011261072e57506119a960209235613075565b8491346103a05760206003193601126103a057357fffffffff0000000000000000000000000000000000000000000000000000000081168091036103a057602092507f7965db0b000000000000000000000000000000000000000000000000000000008114908115611e0b575b5015158152f35b7f01ffc9a70000000000000000000000000000000000000000000000000000000091501483611e04565b60005b838110611e485750506000910152565b8181015183820152602001611e38565b601f19601f60409360208452611e7d8151809281602088015260208888019101611e35565b0116010190565b600435906001600160a01b0382168203611e9a57565b600080fd5b602435906001600160a01b0382168203611e9a57565b67ffffffffffffffff8111611ec957604052565b634e487b7160e01b600052604160045260246000fd5b6060810190811067ffffffffffffffff821117611ec957604052565b90601f601f19910116810190811067ffffffffffffffff821117611ec957604052565b67ffffffffffffffff8111611ec95760051b60200190565b602080600319830112611e9a576004359167ffffffffffffffff8311611e9a5780602384011215611e9a578260040135611f6f81611f1e565b93611f7d6040519586611efb565b81855260248486019260051b820101928311611e9a57602401905b828210611fa6575050505090565b81358152908301908301611f98565b600081815260209060068252604092838220338352835260ff848320541615611fde5750505050565b33908451611feb81611edf565b602a815284810191863684378151156122d657603083538151936001948510156122c2576078602184015360295b85811161224b5750612209578651936080850185811067ffffffffffffffff8211176121f5578852604285528685019560603688378551156121e1576030875385518210156121e15790607860218701536041915b818311612166575050506121245793859361210a936120fb6048946120c67f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000996121209b519a8b978801525180926037880190611e35565b8401917f206973206d697373696e6720726f6c6520000000000000000000000000000000603784015251809386840190611e35565b01036028810185520183611efb565b5191829162461bcd60e51b835260048301611e58565b0390fd5b60648587519062461bcd60e51b825280600483015260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b909192600f811660108110156121cd577f3031323334353637383961626364656600000000000000000000000000000000901a6121a385896128ab565b5360041c9280156121b95760001901919061206e565b602482634e487b7160e01b81526011600452fd5b602483634e487b7160e01b81526032600452fd5b80634e487b7160e01b602492526032600452fd5b602487634e487b7160e01b81526041600452fd5b60648688519062461bcd60e51b825280600483015260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b90600f811660108110156122ae577f3031323334353637383961626364656600000000000000000000000000000000901a61228683866128ab565b5360041c90801561229a5760001901612019565b602487634e487b7160e01b81526011600452fd5b602488634e487b7160e01b81526032600452fd5b602486634e487b7160e01b81526032600452fd5b602485634e487b7160e01b81526032600452fd5b9060009180835260066020526001600160a01b036040842092169182845260205260ff60408420541661231c57505050565b8083526006602052604083208284526020526040832060ff1981541690557ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b339380a4565b6001600160a01b0360055416330361237557565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b919082018092116123c657565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0380911691821561252657169182156124bc5760008281528060205260408120549180831061245257604082827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef958760209652828652038282205586815220818154019055604051908152a3565b608460405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152fd5b6001600160a01b0380911691821561265b57169182156125f15760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260018252604060002085600052825280604060002055604051908152a3565b608460405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152fd5b906001600160a01b03808316600052600160205260406000209082166000526020526040600020549260001984036126fd575b50505050565b8084106127185761270f930391612590565b388080806126f7565b606460405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152fd5b6001600160a01b0316801561282e576000918183528260205260408320548181106127c457817fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef926020928587528684520360408620558060025403600255604051908152a3565b608460405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152fd5b818102929181159184041417156123c657565b9081518110156128bc570160200190565b634e487b7160e01b600052603260045260246000fd5b60001981146123c65760010190565b80518210156128bc5760209160051b010190565b60005b8151811015612a4a5761290b81836128e1565b51336000908152600f6020818152604080842085855260010182529283902054156129e15761294261293c85612f8c565b33612afc565b6001600160a01b03600e5416803b15611e9a5783517f23b872dd00000000000000000000000000000000000000000000000000000000815230600482015233602482015260448101869052906000908290606490829084905af180156129d657916129c296959391610fa195936129c7575b503360005252600020612eb0565b6128f8565b6129d090611eb5565b386129b4565b84513d6000823e3d90fd5b60849083519062461bcd60e51b82526004820152602e60248201527f43616e206f6e6c7920756e7374616b6520706c616e65747320696e20796f757260448201527f20736f6c61722073797374656d210000000000000000000000000000000000006064820152fd5b5050565b6001600160a01b03168015612ab85760025469d3c21bcecceda10000008082018092116123c65760207fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9160009360025584845283825260408420818154019055604051908152a3565b606460405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152fd5b6001600160a01b0316908115612ab8577fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef602082612b3e6000946002546123b9565b60025584845283825260408420818154019055604051908152a3565b6007548110156128bc5760076000527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880190600090565b6009548110156128bc5760096000527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0190600090565b80548210156128bc5760005260206000200190600090565b600081815260086020526040812054612c5d5760075468010000000000000000811015612c49579082612c35612c1e84600160409601600755612b5a565b81939154906000199060031b92831b921b19161790565b905560075492815260086020522055600190565b602482634e487b7160e01b81526041600452fd5b905090565b6000818152600a6020526040812054612c5d5760095468010000000000000000811015612c49579082612ca0612c1e84600160409601600955612b91565b9055600954928152600a6020522055600190565b6000828152600182016020526040902054612d095780549068010000000000000000821015611ec95782612cf2612c1e846001809601855584612bc8565b905580549260005201602052604060002055600190565b5050600090565b919082039182116123c657565b6000818152600860205260408120549091908015612e025760001990818101818111612dee5760075490838201918211612dda57808203612da6575b5050506007548015612d9257810190612d7182612b5a565b909182549160031b1b19169055600755815260086020526040812055600190565b602484634e487b7160e01b81526031600452fd5b612dc4612db5612c1e93612b5a565b90549060031b1c928392612b5a565b9055845260086020526040842055388080612d59565b602486634e487b7160e01b81526011600452fd5b602485634e487b7160e01b81526011600452fd5b505090565b6000818152600a60205260408120549091908015612e025760001990818101818111612dee5760095490838201918211612dda57808203612e7c575b5050506009548015612d9257810190612e5b82612b91565b909182549160031b1b191690556009558152600a6020526040812055600190565b612e9a612e8b612c1e93612b91565b90549060031b1c928392612b91565b90558452600a6020526040842055388080612e43565b90600182019060009281845282602052604084205490811515600014612f85576000199182810181811161229a57825490848201918211612f7157808203612f3c575b50505080548015612f2857820191612f0b8383612bc8565b909182549160031b1b191690555582526020526040812055600190565b602486634e487b7160e01b81526031600452fd5b612f5c612f4c612c1e9386612bc8565b90549060031b1c92839286612bc8565b90558652846020526040862055388080612ef3565b602488634e487b7160e01b81526011600452fd5b5050505090565b6000908082526010602052612fa5604083205442612d10565b90620151808083101561306c5783925b81840290848204831485151715612dda5790612fd091612d10565b91808552601160205260408520541561305f578452601160205261300260408520546010602052604086205490612d10565b8181101561305657845b82860292868404148615171561304257506130399261303361303f96959361303393612d10565b926130f9565b90612d10565b90565b80634e487b7160e01b602492526011600452fd5b8181049461300c565b50509061303f92506130f9565b80830492612fb5565b600052601060205261308c60406000205442612d10565b62015180808210156130a457505061303f6000613210565b61303f9104613210565b156130b557565b606460405162461bcd60e51b815260206004820152601260248201527f496e646578206f7574206f662072616e676500000000000000000000000000006044820152fd5b90606482101561320957815b600090806131aa5750506000905b61311c83613210565b600082156131a15750620151809161313391612898565b04905b6064831115613197577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9c83019283116123c65769010f0cf064dd59200000928381029381850414901517156123c65761303f92613192916123b9565b6123b9565b61303f92506123b9565b91505090613136565b6000198101918183116130425768015af1d78b58c400009280840293840403613042576888e16a09fa05540000928084018094116121b957690111c2d413f40aa800000180931161304257509061320091612898565b60011c90613113565b6064613105565b6000606482111561322b57505069010f0cf064dd5920000090565b68015af1d78b58c40000918281029281840414901517156130425768878678326eac900000918201809211613042575090565b1561326557565b606460405162461bcd60e51b815260206004820152600760248201527f494e56414c4944000000000000000000000000000000000000000000000000006044820152fdfea264697066735822122030740e631270f0903b71d597c4da3e2462fc7dc423b2a741abc49e48639aaf4e64736f6c634300081200332f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d

Deployed Bytecode

0x608060408181526004918236101561001657600080fd5b600092833560e01c91826301ffc9a714611d9757508163026b049614611d7757816306fdde0314611c82578163095ea7b314611c585781630b83a72714611beb5781630f15f4c014611a77578163111fd88b14611a1357816318160ddd146119f45781631a05d10e146119cc57816320ca5184146119b05781632121505d14611989578163214443511461171857816323b872dd146116db578163248a9ca3146116b05781632cf01b55146116035781632e22f4cb146115cc5781632f2ff15d14611521578163313ce5671461150557816335322f37146114a157816336568abe1461140157816339509351146113b25781633dd1eb611461125857816340c10f191461118a57816342966c681461116c5781635372b2f6146110ad5781635b7121f81461103657816365e523c914610eb65781636650331214610e0857816369e2f0fb14610cae5781636a5373b614610c9757816370a0823114610c61578163715018a614610bee578163791879ef14610bca57816379cc679014610b9a57816381d3c43514610b435781638b7bf3eb14610b245781638da5cb5b14610afc5781638dbb94eb14610add57816391d1485414610a9757816395d89b41146109945781639a19c7b0146108635781639aa3afef1461083b578163a217fddf14610820578163a457c2d714610762578163a9059cbb14610731578163ad003bef1461063a578163afa18e1114610612578163b1b11ffa146105f3578163c634b78e146104ba578163d53913931461047f578163d547741f14610440578163d5ac295214610415578163dd62ed3e146103cc578163e7f3e708146103a4578163f2fde38b146102ac575063fccc28131461028d57600080fd5b346102a857816003193601126102a8576020905161dead8152f35b5080fd5b9050346103a05760206003193601126103a0576102c7611e84565b906102d0612361565b6001600160a01b03809216928315610337575050600554827fffffffffffffffffffffffff0000000000000000000000000000000000000000821617600555167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b906020608492519162461bcd60e51b8352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152fd5b8280fd5b5050346102a857816003193601126102a8576020906001600160a01b03600c54169051908152f35b5050346102a857806003193601126102a857806020926103ea611e84565b6103f2611e9f565b6001600160a01b0391821683526001865283832091168252845220549051908152f35b5050346102a857816003193601126102a8576020906001600160a01b03600b5460081c169051908152f35b919050346103a057806003193601126103a05761047c91356104776001610465611e9f565b93838752600660205286200154611fb5565b6122ea565b80f35b5050346102a857816003193601126102a857602090517f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a68152f35b839150346102a857602092836003193601126103a0576104d8611e84565b9183805260068552818420338552855260ff82852054161561058c575082938361053e94526006815261051060018387200154611fb5565b848052600681526001600160a01b03828620931692838652815260ff828620541615610542575b5050612c62565b5080f35b8480526006815281852090838652528320600160ff198254161790553381847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d8180a48380610537565b84608492519162461bcd60e51b8352820152603760248201527f5072696d6f726469616c506550653a206d75737420686176652061646d696e2060448201527f726f6c6520746f206772616e74206e65772061646d696e0000000000000000006064820152fd5b5050346102a857816003193601126102a857602090600d549051908152f35b9050346103a05760206003193601126103a05760209282913581526010845220549051908152f35b82843461072e5761064a36611f36565b9181825b84518110156107235761066181866128e1565b5191338552602090600f82526106898486882060019160005201602052604060002054151590565b156106bb576106b692916106a86011926106a287612f8c565b906123b9565b9487525242848620556128d2565b61064e565b6084888387519162461bcd60e51b8352820152603260248201527f43616e206f6e6c7920636c61696d2066726f6d206120706c616e657420696e2060448201527f796f757220736f6c61722073797374656d2100000000000000000000000000006064820152fd5b8361047c8333612afc565b80fd5b5050346102a857806003193601126102a85760209061075b610751611e84565b60243590336123dc565b5160018152f35b9050823461072e578260031936011261072e5761077d611e84565b91836024359233815260016020528181206001600160a01b03861682526020522054908282106107b75760208561075b8585038733612590565b608490602086519162461bcd60e51b8352820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152fd5b5050346102a857816003193601126102a85751908152602090f35b9050346103a05760206003193601126103a05760209282913581526011845220549051908152f35b839150346102a857602092836003193601126103a057610881611e84565b9183805260068552818420338552855260ff82852054161561092d575082938361053e9452600681526108b960018387200154611fb5565b848052600681526001600160a01b03828620931692838652815260ff82862054166108e6575b5050612e07565b848052600681528185209083865252832060ff1981541690553381847ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b8180a483806108df565b84608492519162461bcd60e51b8352820152603460248201527f5072696d6f726469616c506550653a206d75737420686176652061646d696e2060448201527f726f6c6520746f207265766f6b652061646d696e0000000000000000000000006064820152fd5b8383346102a857816003193601126102a857805191809380549160019083821c92828516948515610a8d575b6020958686108114610a7a57858952908115610a5657506001146109fe575b6109fa87876109f0828c0383611efb565b5191829182611e58565b0390f35b81529295507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b828410610a4357505050826109fa946109f0928201019486806109df565b8054868501880152928601928101610a25565b60ff19168887015250505050151560051b83010192506109f0826109fa86806109df565b602484602285634e487b7160e01b835252fd5b93607f16936109c0565b9050346103a057816003193601126103a0578160209360ff92610ab8611e9f565b90358252600686526001600160a01b0383832091168252855220541690519015158152f35b5050346102a857816003193601126102a8576020906007549051908152f35b5050346102a857816003193601126102a8576020906001600160a01b03600554169051908152f35b5050346102a857816003193601126102a8576020906009549051908152f35b833461072e57602060031936011261072e576001600160a01b03610b65611e84565b610b6d612361565b167fffffffffffffffffffffffff0000000000000000000000000000000000000000600e541617600e5580f35b5050346102a85760031936011261072e5761047c610bb6611e84565b60243590610bc58233836126c4565b61275c565b5050346102a857816003193601126102a85760209060ff600b541690519015158152f35b833461072e578060031936011261072e57610c07612361565b806001600160a01b036005547fffffffffffffffffffffffff00000000000000000000000000000000000000008116600555167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b5050346102a85760206003193601126102a857806020926001600160a01b03610c88611e84565b16815280845220549051908152f35b833461072e5761047c610ca936611f36565b6128f5565b919050346103a05760209081600319360112610e0457610ccc611e84565b9284805260068352818520338652835260ff828620541615610d9d57509061053e92917f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a69182865260068152610d2760018388200154611fb5565b828652600681526001600160a01b03828720941693848752815260ff8287205416610d55575b505050612d1d565b828652600681528186209084875252842060ff1981541690558133917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b8680a4388080610d4d565b82608492519162461bcd60e51b8352820152603a60248201527f5072696d6f726469616c506550653a206d75737420686176652061646d696e2060448201527f726f6c6520746f207265766f6b65206d696e74657220726f6c650000000000006064820152fd5b8380fd5b82843461072e576020908160031936011261072e57610e25611e84565b916001600160a01b038293168252600f8152838220918451808484829654938481520190845284842092845b86828210610ea057505050610e6892500384611efb565b925b8251841015610e9957610e8d610e93916106a2610e8787876128e1565b51612f8c565b936128d2565b92610e6a565b8451908152f35b8554845260019586019589955093019201610e51565b82843461072e576020806003193601126102a8576001600160a01b03610eda611e84565b168252600f8152828220918351808484829654938481520190845284842092845b8682821061102057505050610f1292500384611efb565b825191601f19610f39610f2485611f1e565b94610f3188519687611efb565b808652611f1e565b0181835b828110610ffa57505050815b8451811015610fac5780610f60610fa792876128e1565b518085526010845287852054610f7582613075565b90895192610f8284611edf565b83528583015288820152610f9682876128e1565b52610fa181866128e1565b506128d2565b610f49565b509250835192808401908085528351809252808686019401925b828110610fd35785850386f35b83518051865280830151868401528701518786015260609094019392810192600101610fc6565b875161100581611edf565b85815285838201528589820152828288010152018290610f3d565b8554845260019586019589955093019201610efb565b82843461072e57602060031936011261072e57823592600754841061105a816130ae565b1561109a575060209260076001600160a01b0392527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880154169051908152f35b906032602492634e487b7160e01b835252fd5b839150826003193601126102a8576110c3611e84565b602435916110fc600b546110de600160ff831615151461325e565b6001600160a01b03809160081c16331490811561115e575b5061325e565b611108836002546123b9565b600d541061111b57509061047c91612afc565b606490602086519162461bcd60e51b8352820152600b60248201527f45584345454453204d41580000000000000000000000000000000000000000006044820152fd5b9050600c54163314876110f6565b8390346102a85760206003193601126102a85761047c90353361275c565b9050346103a057816003193601126103a0576111a4611e84565b917f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a68452600660205280842033855260205260ff8185205416156111ef578361047c60243585612afc565b906020608492519162461bcd60e51b8352820152602d60248201527f5072696d6f726469616c506550653a206d7573742068617665206d696e74657260448201527f20726f6c6520746f206d696e74000000000000000000000000000000000000006064820152fd5b919050346103a05760209081600319360112610e0457611276611e84565b9284805260068352818520338652835260ff82862054161561134b57509061053e92917f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a691828652600681526112d160018388200154611fb5565b828652600681526001600160a01b03828720941693848752815260ff828720541615611300575b505050612be0565b8286526006815281862090848752528420600160ff198254161790558133917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d8680a43880806112f8565b82608492519162461bcd60e51b8352820152603960248201527f5072696d6f726469616c506550653a206d75737420686176652061646d696e2060448201527f726f6c6520746f206772616e74206d696e74657220726f6c65000000000000006064820152fd5b5050346102a857806003193601126102a85761075b6020926113fa6113d5611e84565b91338152600186528481206001600160a01b03841682528652846024359120546123b9565b9033612590565b839150346102a857826003193601126102a85761141c611e9f565b90336001600160a01b03831603611438579061047c91356122ea565b608490602085519162461bcd60e51b8352820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c6600000000000000000000000000000000006064820152fd5b5050346102a857816003193601126102a857338252602090600f82528083209051918281835491828152019285528185209185905b8282106114ee578661047c87610ca981890382611efb565b8354855293840193600193840193909101906114d6565b5050346102a857816003193601126102a8576020905160128152f35b9050346103a057816003193601126103a057359061153d611e9f565b90828452600660205261155560018286200154611fb5565b82845260066020526001600160a01b0381852092169182855260205260ff818520541615611581578380f35b82845260066020528084208285526020528320600160ff1982541617905533917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d8480a43880808380f35b5050346102a85760206003193601126102a857806020926001600160a01b036115f3611e84565b168152600f845220549051908152f35b82843461072e576020908160031936011261072e5782906001600160a01b0361162a611e84565b168152600f8352818120908251808584549182815201908194845286842090845b81811061169c5750505081611661910382611efb565b83519485948186019282875251809352850193925b82811061168557505050500390f35b835185528695509381019392810192600101611676565b82548452928801926001928301920161164b565b9050346103a05760206003193601126103a05781602093600192358152600685522001549051908152f35b5050346102a85760606003193601126102a85760209061075b6116fc611e84565b611704611e9f565b604435916117138333836126c4565b6123dc565b82843461072e5761172836611f36565b91825193338352600f601961174660209783895285872054906123b9565b1161192157835b855181101561191d5761176081876128e1565b516001600160a01b0380600e54169086517f6352211e00000000000000000000000000000000000000000000000000000000815283878201526024918b828481875afa918215611913578a926118d7575b50339116036118705750803b1561186c5785517f23b872dd00000000000000000000000000000000000000000000000000000000815233868201908152306020820152604081018490529091889183919082908490829060600103925af18015611862579061184e939291611853575b5033875283895261183481878920612cb4565b5086526010885242858720556011885285858120556128d2565b61174d565b61185c90611eb5565b89611821565b86513d89823e3d90fd5b8680fd5b8560266084928c8a519362461bcd60e51b85528401528201527f43616e206f6e6c79207374616b6520706c616e65747320696e20796f7572206460448201527f6f6d61696e2100000000000000000000000000000000000000000000000000006064820152fd5b9091508b81813d831161190c575b6118ef8183611efb565b810103126119085751818116810361190857908c6117b1565b8980fd5b503d6118e5565b89513d8c823e3d90fd5b8480f35b5084608492519162461bcd60e51b8352820152603e60248201527f43616e206f6e6c7920686176652061206d6178206f6620323520706c616e657460448201527f73207374616b656420696e20796f757220736f6c61722073797374656d2100006064820152fd5b82843461072e57602060031936011261072e57506119a960209235612f8c565b9051908152f35b5050346102a857816003193601126102a8576020905160198152f35b5050346102a857816003193601126102a8576020906001600160a01b03600e54169051908152f35b5050346102a857816003193601126102a8576020906002549051908152f35b82843461072e57602060031936011261072e578235926009548410611a37816130ae565b1561109a575060209260096001600160a01b0392527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0154169051908152f35b919050826003193601126103a057600b546001600160a01b0392838260081c1692831593848015611bdf575b15611b9c573314611b5957505060ff611abd91161561325e565b15611b155761047c90600b547fffffffffffffffffffffff0000000000000000000000000000000000000000ff74ffffffffffffffffffffffffffffffffffffffff003360081b1691161780600b5560081c16612a4e565b50337fffffffffffffffffffffffff0000000000000000000000000000000000000000600c541617600c55611b4933612a4e565b600160ff19600b541617600b5580f35b906020606492519162461bcd60e51b8352820152601760248201527f4d696e657220616c7265616479206163746976617465640000000000000000006044820152fd5b606483602084519162461bcd60e51b8352820152601060248201527f4d696e65727320616374697661746564000000000000000000000000000000006044820152fd5b5085600c541615611aa3565b5050346102a857816003193601126102a85781805b3382526020600f81528383208054831015611c4d578291611c3a611c29611c4895601194612bc8565b90549060031b1c976106a289612f8c565b9685525242848420556128d2565b611c00565b8361047c8733612afc565b5050346102a857806003193601126102a85760209061075b611c78611e84565b6024359033612590565b919050346103a057826003193601126103a057805191836003549060019082821c928281168015611d6d575b6020958686108214611d5a5750848852908115611d385750600114611cdf575b6109fa86866109f0828b0383611efb565b929550600383527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b828410611d2557505050826109fa946109f0928201019438611cce565b8054868501880152928601928101611d08565b60ff191687860152505050151560051b83010192506109f0826109fa38611cce565b836022602492634e487b7160e01b835252fd5b93607f1693611cae565b82843461072e57602060031936011261072e57506119a960209235613075565b8491346103a05760206003193601126103a057357fffffffff0000000000000000000000000000000000000000000000000000000081168091036103a057602092507f7965db0b000000000000000000000000000000000000000000000000000000008114908115611e0b575b5015158152f35b7f01ffc9a70000000000000000000000000000000000000000000000000000000091501483611e04565b60005b838110611e485750506000910152565b8181015183820152602001611e38565b601f19601f60409360208452611e7d8151809281602088015260208888019101611e35565b0116010190565b600435906001600160a01b0382168203611e9a57565b600080fd5b602435906001600160a01b0382168203611e9a57565b67ffffffffffffffff8111611ec957604052565b634e487b7160e01b600052604160045260246000fd5b6060810190811067ffffffffffffffff821117611ec957604052565b90601f601f19910116810190811067ffffffffffffffff821117611ec957604052565b67ffffffffffffffff8111611ec95760051b60200190565b602080600319830112611e9a576004359167ffffffffffffffff8311611e9a5780602384011215611e9a578260040135611f6f81611f1e565b93611f7d6040519586611efb565b81855260248486019260051b820101928311611e9a57602401905b828210611fa6575050505090565b81358152908301908301611f98565b600081815260209060068252604092838220338352835260ff848320541615611fde5750505050565b33908451611feb81611edf565b602a815284810191863684378151156122d657603083538151936001948510156122c2576078602184015360295b85811161224b5750612209578651936080850185811067ffffffffffffffff8211176121f5578852604285528685019560603688378551156121e1576030875385518210156121e15790607860218701536041915b818311612166575050506121245793859361210a936120fb6048946120c67f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000996121209b519a8b978801525180926037880190611e35565b8401917f206973206d697373696e6720726f6c6520000000000000000000000000000000603784015251809386840190611e35565b01036028810185520183611efb565b5191829162461bcd60e51b835260048301611e58565b0390fd5b60648587519062461bcd60e51b825280600483015260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b909192600f811660108110156121cd577f3031323334353637383961626364656600000000000000000000000000000000901a6121a385896128ab565b5360041c9280156121b95760001901919061206e565b602482634e487b7160e01b81526011600452fd5b602483634e487b7160e01b81526032600452fd5b80634e487b7160e01b602492526032600452fd5b602487634e487b7160e01b81526041600452fd5b60648688519062461bcd60e51b825280600483015260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b90600f811660108110156122ae577f3031323334353637383961626364656600000000000000000000000000000000901a61228683866128ab565b5360041c90801561229a5760001901612019565b602487634e487b7160e01b81526011600452fd5b602488634e487b7160e01b81526032600452fd5b602486634e487b7160e01b81526032600452fd5b602485634e487b7160e01b81526032600452fd5b9060009180835260066020526001600160a01b036040842092169182845260205260ff60408420541661231c57505050565b8083526006602052604083208284526020526040832060ff1981541690557ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b339380a4565b6001600160a01b0360055416330361237557565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b919082018092116123c657565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0380911691821561252657169182156124bc5760008281528060205260408120549180831061245257604082827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef958760209652828652038282205586815220818154019055604051908152a3565b608460405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152fd5b6001600160a01b0380911691821561265b57169182156125f15760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260018252604060002085600052825280604060002055604051908152a3565b608460405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152fd5b906001600160a01b03808316600052600160205260406000209082166000526020526040600020549260001984036126fd575b50505050565b8084106127185761270f930391612590565b388080806126f7565b606460405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152fd5b6001600160a01b0316801561282e576000918183528260205260408320548181106127c457817fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef926020928587528684520360408620558060025403600255604051908152a3565b608460405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152fd5b818102929181159184041417156123c657565b9081518110156128bc570160200190565b634e487b7160e01b600052603260045260246000fd5b60001981146123c65760010190565b80518210156128bc5760209160051b010190565b60005b8151811015612a4a5761290b81836128e1565b51336000908152600f6020818152604080842085855260010182529283902054156129e15761294261293c85612f8c565b33612afc565b6001600160a01b03600e5416803b15611e9a5783517f23b872dd00000000000000000000000000000000000000000000000000000000815230600482015233602482015260448101869052906000908290606490829084905af180156129d657916129c296959391610fa195936129c7575b503360005252600020612eb0565b6128f8565b6129d090611eb5565b386129b4565b84513d6000823e3d90fd5b60849083519062461bcd60e51b82526004820152602e60248201527f43616e206f6e6c7920756e7374616b6520706c616e65747320696e20796f757260448201527f20736f6c61722073797374656d210000000000000000000000000000000000006064820152fd5b5050565b6001600160a01b03168015612ab85760025469d3c21bcecceda10000008082018092116123c65760207fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9160009360025584845283825260408420818154019055604051908152a3565b606460405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152fd5b6001600160a01b0316908115612ab8577fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef602082612b3e6000946002546123b9565b60025584845283825260408420818154019055604051908152a3565b6007548110156128bc5760076000527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880190600090565b6009548110156128bc5760096000527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0190600090565b80548210156128bc5760005260206000200190600090565b600081815260086020526040812054612c5d5760075468010000000000000000811015612c49579082612c35612c1e84600160409601600755612b5a565b81939154906000199060031b92831b921b19161790565b905560075492815260086020522055600190565b602482634e487b7160e01b81526041600452fd5b905090565b6000818152600a6020526040812054612c5d5760095468010000000000000000811015612c49579082612ca0612c1e84600160409601600955612b91565b9055600954928152600a6020522055600190565b6000828152600182016020526040902054612d095780549068010000000000000000821015611ec95782612cf2612c1e846001809601855584612bc8565b905580549260005201602052604060002055600190565b5050600090565b919082039182116123c657565b6000818152600860205260408120549091908015612e025760001990818101818111612dee5760075490838201918211612dda57808203612da6575b5050506007548015612d9257810190612d7182612b5a565b909182549160031b1b19169055600755815260086020526040812055600190565b602484634e487b7160e01b81526031600452fd5b612dc4612db5612c1e93612b5a565b90549060031b1c928392612b5a565b9055845260086020526040842055388080612d59565b602486634e487b7160e01b81526011600452fd5b602485634e487b7160e01b81526011600452fd5b505090565b6000818152600a60205260408120549091908015612e025760001990818101818111612dee5760095490838201918211612dda57808203612e7c575b5050506009548015612d9257810190612e5b82612b91565b909182549160031b1b191690556009558152600a6020526040812055600190565b612e9a612e8b612c1e93612b91565b90549060031b1c928392612b91565b90558452600a6020526040842055388080612e43565b90600182019060009281845282602052604084205490811515600014612f85576000199182810181811161229a57825490848201918211612f7157808203612f3c575b50505080548015612f2857820191612f0b8383612bc8565b909182549160031b1b191690555582526020526040812055600190565b602486634e487b7160e01b81526031600452fd5b612f5c612f4c612c1e9386612bc8565b90549060031b1c92839286612bc8565b90558652846020526040862055388080612ef3565b602488634e487b7160e01b81526011600452fd5b5050505090565b6000908082526010602052612fa5604083205442612d10565b90620151808083101561306c5783925b81840290848204831485151715612dda5790612fd091612d10565b91808552601160205260408520541561305f578452601160205261300260408520546010602052604086205490612d10565b8181101561305657845b82860292868404148615171561304257506130399261303361303f96959361303393612d10565b926130f9565b90612d10565b90565b80634e487b7160e01b602492526011600452fd5b8181049461300c565b50509061303f92506130f9565b80830492612fb5565b600052601060205261308c60406000205442612d10565b62015180808210156130a457505061303f6000613210565b61303f9104613210565b156130b557565b606460405162461bcd60e51b815260206004820152601260248201527f496e646578206f7574206f662072616e676500000000000000000000000000006044820152fd5b90606482101561320957815b600090806131aa5750506000905b61311c83613210565b600082156131a15750620151809161313391612898565b04905b6064831115613197577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9c83019283116123c65769010f0cf064dd59200000928381029381850414901517156123c65761303f92613192916123b9565b6123b9565b61303f92506123b9565b91505090613136565b6000198101918183116130425768015af1d78b58c400009280840293840403613042576888e16a09fa05540000928084018094116121b957690111c2d413f40aa800000180931161304257509061320091612898565b60011c90613113565b6064613105565b6000606482111561322b57505069010f0cf064dd5920000090565b68015af1d78b58c40000918281029281840414901517156130425768878678326eac900000918201809211613042575090565b1561326557565b606460405162461bcd60e51b815260206004820152600760248201527f494e56414c4944000000000000000000000000000000000000000000000000006044820152fdfea264697066735822122030740e631270f0903b71d597c4da3e2462fc7dc423b2a741abc49e48639aaf4e64736f6c63430008120033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

OVERVIEW

Introducing a new era for meme tokens by adding real value and utility, our project hinges on $PPEPE and $SDIV tokens. $PPEPE represents innovation and fun, acting as a pathway to $SDIV, which provides stable earnings in wrapped bitcoin through a unique dividend system.

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.