ETH Price: $2,629.81 (+0.03%)

Contract

0x08A1C30BBB26425c1031ee9E43FA0B9960742539
 
Transaction Hash
Method
Block
From
To
Transfer208700192024-10-01 10:22:231 hr ago1727778143IN
LandX Finance: LNDX Token
0 ETH0.000747914.3403382
Claim Vested Tok...208695662024-10-01 8:51:352 hrs ago1727772695IN
LandX Finance: LNDX Token
0 ETH0.0055716817
Transfer208691372024-10-01 7:25:234 hrs ago1727767523IN
LandX Finance: LNDX Token
0 ETH0.0005539815.80384022
Claim Vested Tok...208667102024-09-30 23:18:1112 hrs ago1727738291IN
LandX Finance: LNDX Token
0 ETH0.001879167.92942671
Transfer208661042024-09-30 21:16:5914 hrs ago1727731019IN
LandX Finance: LNDX Token
0 ETH0.0006275313.25541423
Approve208646722024-09-30 16:29:3519 hrs ago1727713775IN
LandX Finance: LNDX Token
0 ETH0.0010485522.21142755
Transfer208646662024-09-30 16:28:2319 hrs ago1727713703IN
LandX Finance: LNDX Token
0 ETH0.0011104523.45006731
Approve208646412024-09-30 16:23:2319 hrs ago1727713403IN
LandX Finance: LNDX Token
0 ETH0.0006832122.90218806
Approve208646382024-09-30 16:22:4719 hrs ago1727713367IN
LandX Finance: LNDX Token
0 ETH0.0011353724.01997216
Approve208646332024-09-30 16:21:4719 hrs ago1727713307IN
LandX Finance: LNDX Token
0 ETH0.0011706224.94300273
Approve208638562024-09-30 13:45:5921 hrs ago1727703959IN
LandX Finance: LNDX Token
0 ETH0.0003601114.41370323
Approve208635232024-09-30 12:39:1123 hrs ago1727699951IN
LandX Finance: LNDX Token
0 ETH0.0005440811.52521723
Approve208629252024-09-30 10:39:1125 hrs ago1727692751IN
LandX Finance: LNDX Token
0 ETH0.000339327.23017626
Claim Vested Tok...208623612024-09-30 8:46:1126 hrs ago1727685971IN
LandX Finance: LNDX Token
0 ETH0.001555277.47561993
Transfer208609072024-09-30 3:54:4731 hrs ago1727668487IN
LandX Finance: LNDX Token
0 ETH0.000267185.6422612
Approve208604802024-09-30 2:28:5933 hrs ago1727663339IN
LandX Finance: LNDX Token
0 ETH0.000374797.99623221
Approve208601442024-09-30 1:21:2334 hrs ago1727659283IN
LandX Finance: LNDX Token
0 ETH0.000270115.76271618
Transfer208601112024-09-30 1:14:4734 hrs ago1727658887IN
LandX Finance: LNDX Token
0 ETH0.000308566.51616083
Transfer208600662024-09-30 1:05:2334 hrs ago1727658323IN
LandX Finance: LNDX Token
0 ETH0.00032759.34275511
Transfer208600252024-09-30 0:57:1134 hrs ago1727657831IN
LandX Finance: LNDX Token
0 ETH0.000229046.53415451
Approve208596552024-09-29 23:42:5936 hrs ago1727653379IN
LandX Finance: LNDX Token
0 ETH0.000394088.33726593
Transfer208593822024-09-29 22:48:2336 hrs ago1727650103IN
LandX Finance: LNDX Token
0 ETH0.000503239.64910234
Claim Vested Tok...208592572024-09-29 22:23:2337 hrs ago1727648603IN
LandX Finance: LNDX Token
0 ETH0.001920188.40027183
Approve208592092024-09-29 22:13:3537 hrs ago1727648015IN
LandX Finance: LNDX Token
0 ETH0.000204648.19108498
Claim Vested Tok...208591942024-09-29 22:10:3537 hrs ago1727647835IN
LandX Finance: LNDX Token
0 ETH0.001852128.9024704
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
187070472023-12-03 16:27:23302 days ago1701620843  Contract Creation0 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LNDX

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
No with 200 runs

Other Settings:
london EvmVersion, GNU LGPLv3 license
File 1 of 15 : LNDX.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.16;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "./interfaces/IveLNDX.sol";
import "./interfaces/ILNDX.sol";

contract LNDX is ILNDX, ERC20, Ownable, AccessControl {
    enum StakePeriods {
        MONTHS_3,
        MONTHS_12,
        MONTHS_48
    }

    struct Grant {
        uint256 createdTime;
        uint256 startTime;
        uint256 amount;
        uint256 vestingDuration;
        uint256 daysClaimed;
        uint256 totalClaimed;
        address recipient;
        uint256 veLndxClaimed;
        uint256 remainingVeLndx;
        uint256 remainingRewards;
        uint256 remainingFee;
    }

    struct Stake {
        address staker;
        uint256 amount;
        uint256 startTime;
        uint256 endTime;
        uint256 veLndxClaimed;
        bool unstaked;
    }

    struct RewardVesting {
        uint256 amountVested;
        uint256 vestingStartedAt;
        uint256 lastVestedAt;
        uint256 daysClaimed;
    }

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

    uint256 public constant MAX_MINTABLE_AMOUNT = 80000000000000;
    uint256 public constant MAX_REWARD_AMOUNT = 15600000000000;
    uint256 public totalGranted = 0;

    address usdc;
    address veLNDX;
   
    mapping(StakePeriods => uint8) public coefficients;

    mapping(uint256 => Stake) public stakes;
    uint256 public stakesCount;

    mapping(address => Grant) public grants;

    mapping(address => uint256) public feePerGrant;
    mapping(address => uint256) public rewardsPerGrant;

    mapping(uint256 => uint256) public feePerStake;
    mapping(uint256 => uint256) public rewardsPerStake;

    uint256 public feeSharesPerToken;
    uint256 public feeNotDistributed;

    uint256 public rewardSharesPerToken;
    uint256 public rewardNotDistributed;

    uint256 public totalStaked;
    uint256 public totalLocked;

    mapping (address => uint256[2]) public stakerClaimed;
    mapping (address => uint256) public staked;

    uint16 public rewardVestingDuration; // reward vesting duration in days;

    RewardVesting public rewardVested;

    event GrantAdded(address recipient, uint256 amount, uint256 cliffEndAt, uint256 vestingEndAt);
    event GrantTokensClaimed(address recipient, uint256 amountClaimed);

    event Staked(address user, uint256 amount, uint256 stakeId, uint256 endAt);
    event Unstaked(address user, uint256 amount, uint256 stakeId);

    constructor(
        address _usdc,
        address _veLNDX,
        uint16 _rewardVestingDuration
    ) ERC20("LandX Governance Token", "LNDX") {
        require(_usdc != address(0), "zero address is not allowed");
        require(_veLNDX != address(0), "zero address is not allowed");
        _grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
        usdc = _usdc;
        veLNDX = _veLNDX;
        coefficients[StakePeriods.MONTHS_3] = 25;
        coefficients[StakePeriods.MONTHS_12] = 50;
        coefficients[StakePeriods.MONTHS_48] = 100;

        if (_rewardVestingDuration == 0) {
            rewardVestingDuration = 1825; // 5 years = 1825 days
        } else {
            rewardVestingDuration = _rewardVestingDuration;
        }
    }

    /**
        LNDX Vesting logic
    */
   function grantLNDX(
        address recipient,
        uint256 amount,
        uint256 cliffInMonths,
        uint256 vestingDurationInMonths
    ) external onlyOwner {
        _rewardsToDistribute();
        require(
            (totalGranted + amount) <= (MAX_MINTABLE_AMOUNT - MAX_REWARD_AMOUNT),
            "Mint limit amount exceeded"
        );
        if (cliffInMonths == 0 && vestingDurationInMonths == 0) {
            _mint(recipient, amount);
             totalGranted += amount;
            return;
        }

        require(grants[recipient].amount == 0, "grant already exists");
        require(cliffInMonths <= 60, "cliff greater than 5 year");
        require(vestingDurationInMonths <= 60, "duration greater than 5 years");
        uint256 totalPeriod = cliffInMonths + vestingDurationInMonths;

        uint8 coefficient;
        if (totalPeriod >= 48) {
            coefficient = coefficients[StakePeriods.MONTHS_48];
        }
        else if (totalPeriod >= 12) {
            coefficient = coefficients[StakePeriods.MONTHS_12];
        } else {
            coefficient = coefficients[StakePeriods.MONTHS_3];
        }

        _mint(address(this), amount);
        totalGranted += amount;
        totalLocked += amount;

        uint256 veLNDXAmount = (amount * coefficient) / 100;

        IveLNDX(veLNDX).mint(recipient, veLNDXAmount);

        rewardsPerGrant[recipient] = rewardSharesPerToken * veLNDXAmount / 1e6;
        feePerGrant[recipient] = feeSharesPerToken * veLNDXAmount / 1e6;

        uint256 startTime = block.timestamp +
            (30 days * uint256(cliffInMonths));

        Grant memory grant = Grant({
            createdTime: block.timestamp,
            startTime: startTime,
            amount: amount,
            vestingDuration: vestingDurationInMonths * 30,
            daysClaimed: 0,
            totalClaimed: 0,
            recipient: recipient,
            veLndxClaimed: veLNDXAmount,
            remainingVeLndx: veLNDXAmount,
            remainingRewards: 0,
            remainingFee: 0
        });

        grants[recipient] = grant;
        emit GrantAdded(recipient, amount, startTime, startTime + vestingDurationInMonths * 30 * 1 days);
    }

    function claimVestedTokens() external {
        uint256 daysVested;
        uint256 amountVested;
        (daysVested, amountVested) = calculateGrantClaim(msg.sender);
        require(amountVested > 0, "wait one day or vested is 0");
        _rewardsToDistribute();
        Grant storage grant = grants[msg.sender];
        grant.daysClaimed += daysVested;
        grant.totalClaimed += amountVested;
        uint256 veLNDXAmount = (amountVested * grant.veLndxClaimed) /
            grant.amount;

         if (grant.totalClaimed == grant.amount) {
            veLNDXAmount = grant.remainingVeLndx;
         }

        IveLNDX(veLNDX).burn(msg.sender, veLNDXAmount);

        totalLocked -= amountVested;
        uint256 totalFee = computeGrantFee(msg.sender);
        uint256 fee = (grant.totalClaimed * totalFee) / grant.amount;
       
        uint256 totalRewards = computeGrantReward(msg.sender);
        uint256 rewards = (grant.totalClaimed * totalRewards) / grant.amount;

        grant.remainingVeLndx -= veLNDXAmount;
        grant.remainingRewards = totalRewards - rewards;
        grant.remainingFee = totalFee - fee;
        rewardsPerGrant[msg.sender]  = grant.remainingVeLndx * rewardSharesPerToken / 1e6;
        feePerGrant[msg.sender]  = grant.remainingVeLndx * feeSharesPerToken / 1e6;
        IERC20(usdc).transfer(msg.sender, fee);
        _transfer(address(this), grant.recipient,  amountVested + rewards);
        emit GrantTokensClaimed(grant.recipient, amountVested);
    }

    function computeGrantReward(address recipient)
        public
        view
        returns (uint256)
    {
        Grant storage grant = grants[recipient];
        return
            (grant.remainingVeLndx * rewardSharesPerToken) /
            1e6 -
            rewardsPerGrant[recipient] + grant.remainingRewards;
    }

    function computeGrantFee(address recipient) public view returns (uint256) {
        Grant storage grant = grants[recipient];
        return
            (grant.remainingVeLndx  * feeSharesPerToken) /
            1e6 -
            feePerGrant[recipient] +  grant.remainingFee;
    }

    function _rewardsToDistribute() internal {
      if (rewardVested.amountVested >= MAX_REWARD_AMOUNT) {
            return;
        }

        if (rewardVested.vestingStartedAt == 0) {
            rewardVested.vestingStartedAt = block.timestamp;
        }

         if (rewardVested.lastVestedAt == 0) {
            rewardVested.lastVestedAt = block.timestamp;
        }

        uint256 elapsedDays = (block.timestamp - rewardVested.lastVestedAt) / 1 days;

        uint256 amountVested = 0;

        if (elapsedDays > 0) {
            uint256 amountVestedPerDay = MAX_REWARD_AMOUNT / uint256(rewardVestingDuration);
            amountVested = amountVestedPerDay * elapsedDays;

            if ((amountVested + rewardVested.amountVested) > MAX_REWARD_AMOUNT) {
                amountVested = MAX_REWARD_AMOUNT - rewardVested.amountVested;
                elapsedDays = rewardVestingDuration - rewardVested.daysClaimed;
            }
                
                rewardVested.daysClaimed += elapsedDays;
                rewardVested.amountVested += amountVested;
                rewardVested.lastVestedAt = block.timestamp;

                 _mint(address(this), amountVested);

                 uint256 tokensCount = IERC20(veLNDX).totalSupply();
                if (tokensCount == 0) {
                    rewardNotDistributed += amountVested;
                    return;
                }
                rewardSharesPerToken +=
                    (1e6 * (amountVested + rewardNotDistributed)) /
                    tokensCount;
                rewardNotDistributed = 0;
        }
    }

    function calculateGrantClaim(address _recipient) public view returns (uint256, uint256)  {
        Grant storage grant = grants[_recipient];
        require(grant.totalClaimed < grant.amount, "grant fully claimed");
        // For grants created with a future start date, that hasn't been reached, return 0, 0
        if (block.timestamp < grant.startTime) {
            return (0, 0);
        }

        // Check cliff was reached
        uint256 elapsedDays = (block.timestamp - grant.startTime) / 1 days;

        // If over vesting duration, all tokens vested
        if (elapsedDays >= grant.vestingDuration) {
            uint256 remainingGrant = grant.amount - grant.totalClaimed;
            return (grant.vestingDuration - grant.daysClaimed, remainingGrant);
        } else {
            uint256 daysVested = elapsedDays - grant.daysClaimed;
            uint256 amountVestedPerDay = grant.amount / grant.vestingDuration;
            uint256 amountVested = daysVested * amountVestedPerDay;
            return (daysVested, amountVested);
        }
    }

    /**
    Staking logic
    */
     function feeToDistribute(uint256 amount)
        external
        onlyRole(FEE_DISTRIBUTOR)
    {
        uint256 tokensCount = IERC20(veLNDX).totalSupply();
        if (tokensCount == 0) {
            feeNotDistributed += amount;
            return;
        }
        feeSharesPerToken += (1e6 * (amount + feeNotDistributed)) / tokensCount;
        feeNotDistributed = 0;
    }

    function stakeLNDX(uint256 amount, StakePeriods period) external {
        require(coefficients[period] != 0, "wrong period");
        _transfer(msg.sender, address(this), amount);
        uint256 mintAmount = (amount * coefficients[period]) / 100; //veLNDX amount to mint
        IveLNDX(veLNDX).mint(msg.sender, mintAmount);
        _rewardsToDistribute();
        Stake memory stake = Stake({
            staker: msg.sender,
            amount: amount,
            startTime: block.timestamp,
            endTime: _calculateEndDate(period),
            unstaked: false,
            veLndxClaimed: mintAmount
        });
        stakesCount++;
        stakes[stakesCount] = stake;

        totalStaked += amount;
        staked[msg.sender] += amount;

        feePerStake[stakesCount] += (feeSharesPerToken * mintAmount) / 1e6;
        rewardsPerStake[stakesCount] +=
            (rewardSharesPerToken * mintAmount) /
            1e6;

        emit Staked(msg.sender, amount, stakesCount, stake.endTime);
    }

    function unstake(uint256 stakeID) external {
        require(stakes[stakeID].staker == msg.sender, "not staker");
        require(stakes[stakeID].unstaked == false, "already unstaked");
        require(stakes[stakeID].endTime <= block.timestamp, "too early");

        Stake storage s = stakes[stakeID];
        totalStaked -= s.amount;
        staked[msg.sender] -= s.amount;

        _rewardsToDistribute();

        uint256 rewards = computeStakeReward(stakeID);
        uint256 fee = computeStakeFee(stakeID);

        stakerClaimed[s.staker][0] += fee;
        stakerClaimed[s.staker][1] += rewards;

        s.unstaked = true;

        rewardsPerStake[stakeID] = 0;
        feePerStake[stakeID] = 0;

        _transfer(address(this), msg.sender, s.amount + rewards);
        IveLNDX(veLNDX).burn(msg.sender, s.veLndxClaimed);
        IERC20(usdc).transfer(msg.sender, fee);
        emit Unstaked(msg.sender, s.amount, stakeID);
    }

    function _rewardsToDistributePreview() internal  view returns (uint256){
      if (rewardVested.amountVested >= MAX_REWARD_AMOUNT) {
            return 0;
        }

        uint256 vestingStartedAt = rewardVested.vestingStartedAt;
        uint256 lastVestedAt = rewardVested.lastVestedAt;

        if (vestingStartedAt == 0) {
              vestingStartedAt = block.timestamp;
        }

         if (lastVestedAt == 0) {
            lastVestedAt = block.timestamp;
        }

        uint256 elapsedDays = (block.timestamp - lastVestedAt) / 1 days;

        uint256 amountVested = 0;

        if (elapsedDays > 0) {
            uint256 amountVestedPerDay = MAX_REWARD_AMOUNT / uint256(rewardVestingDuration);
            amountVested = amountVestedPerDay * elapsedDays;

            if ((amountVested + rewardVested.amountVested) > MAX_REWARD_AMOUNT) {
                amountVested = MAX_REWARD_AMOUNT - rewardVested.amountVested;
                elapsedDays = rewardVestingDuration - rewardVested.daysClaimed;
            }

                 uint256 tokensCount = IERC20(veLNDX).totalSupply();
                 uint256  _rewardNotDistributed = rewardNotDistributed;
                if (tokensCount == 0) {
                    _rewardNotDistributed += amountVested;
                    return 0;
                }
                return (rewardSharesPerToken +
                    (1e6 * (amountVested + _rewardNotDistributed)) /
                    tokensCount);
        }
        return rewardSharesPerToken;
    }

    function unstakePreview(uint256 stakeID)
        external
        view
        returns (
            uint256,
            uint256,
            uint256
        )
    {
        require(stakes[stakeID].unstaked == false, "already unstaked");

        Stake storage s = stakes[stakeID];
        uint256 _rewardSharesPerToken = _rewardsToDistributePreview();

        uint256 rewards = (s.veLndxClaimed * _rewardSharesPerToken) / 1e6 - rewardsPerStake[stakeID];
        uint256 fee = computeStakeFee(stakeID);

        return (s.amount, fee, rewards);
    }

    function computeStakeReward(uint256 stakeID) public view returns (uint256) {
        Stake storage stake = stakes[stakeID];
        return
            (stake.veLndxClaimed * rewardSharesPerToken) /
            1e6 -
            rewardsPerStake[stakeID];
    }

    function computeStakeFee(uint256 stakeID) public view returns (uint256) {
        Stake storage stake = stakes[stakeID];
        return
            (stake.veLndxClaimed * feeSharesPerToken) /
            1e6 -
            feePerStake[stakeID];
    }

    function _calculateEndDate(StakePeriods period)
        internal
        view
        returns (uint256)
    {
        if (period == StakePeriods.MONTHS_3) {
            return (block.timestamp + 90 days);
        }
        if (period == StakePeriods.MONTHS_12) {
            return (block.timestamp + 365 days);
        }
        if (period == StakePeriods.MONTHS_48) {
            return (block.timestamp + 4 * 365 days);
        }
        return 0;
    }

    function decimals() public pure override returns (uint8) {
        return 6;
    }

    function renounceOwnership() public view override onlyOwner {
        revert ("can 't renounceOwnership here");
    }
}

File 2 of 15 : 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 15 : 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 15 : 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 15 : 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 15 : 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 7 of 15 : 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 15 : 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 9 of 15 : 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 10 of 15 : 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 11 of 15 : 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 12 of 15 : 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 13 of 15 : 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 14 of 15 : ILNDX.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.16;

interface ILNDX {
    function feeToDistribute(uint256 amount) external;
}

File 15 of 15 : IveLNDX.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.16;

interface IveLNDX {
    function mint(address account, uint256 amount) external;

    function burn(address account, uint256 amount) external;
}

Settings
{
  "evmVersion": "london",
  "libraries": {},
  "metadata": {
    "bytecodeHash": "ipfs",
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "remappings": [],
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_usdc","type":"address"},{"internalType":"address","name":"_veLNDX","type":"address"},{"internalType":"uint16","name":"_rewardVestingDuration","type":"uint16"}],"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":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"cliffEndAt","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"vestingEndAt","type":"uint256"}],"name":"GrantAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountClaimed","type":"uint256"}],"name":"GrantTokensClaimed","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":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"stakeId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"endAt","type":"uint256"}],"name":"Staked","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"stakeId","type":"uint256"}],"name":"Unstaked","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FEE_DISTRIBUTOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINTABLE_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_REWARD_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"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":"address","name":"_recipient","type":"address"}],"name":"calculateGrantClaim","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimVestedTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum LNDX.StakePeriods","name":"","type":"uint8"}],"name":"coefficients","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"computeGrantFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"computeGrantReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"stakeID","type":"uint256"}],"name":"computeStakeFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"stakeID","type":"uint256"}],"name":"computeStakeReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","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":[],"name":"feeNotDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"feePerGrant","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"feePerStake","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeSharesPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"feeToDistribute","outputs":[],"stateMutability":"nonpayable","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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"cliffInMonths","type":"uint256"},{"internalType":"uint256","name":"vestingDurationInMonths","type":"uint256"}],"name":"grantLNDX","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":"address","name":"","type":"address"}],"name":"grants","outputs":[{"internalType":"uint256","name":"createdTime","type":"uint256"},{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"vestingDuration","type":"uint256"},{"internalType":"uint256","name":"daysClaimed","type":"uint256"},{"internalType":"uint256","name":"totalClaimed","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"veLndxClaimed","type":"uint256"},{"internalType":"uint256","name":"remainingVeLndx","type":"uint256"},{"internalType":"uint256","name":"remainingRewards","type":"uint256"},{"internalType":"uint256","name":"remainingFee","type":"uint256"}],"stateMutability":"view","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":"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":[],"name":"renounceOwnership","outputs":[],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardNotDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardSharesPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardVested","outputs":[{"internalType":"uint256","name":"amountVested","type":"uint256"},{"internalType":"uint256","name":"vestingStartedAt","type":"uint256"},{"internalType":"uint256","name":"lastVestedAt","type":"uint256"},{"internalType":"uint256","name":"daysClaimed","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardVestingDuration","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewardsPerGrant","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewardsPerStake","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"enum LNDX.StakePeriods","name":"period","type":"uint8"}],"name":"stakeLNDX","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"staked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"stakerClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"stakes","outputs":[{"internalType":"address","name":"staker","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"endTime","type":"uint256"},{"internalType":"uint256","name":"veLndxClaimed","type":"uint256"},{"internalType":"bool","name":"unstaked","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakesCount","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":[],"name":"totalGranted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalLocked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalStaked","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":[{"internalType":"uint256","name":"stakeID","type":"uint256"}],"name":"unstake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"stakeID","type":"uint256"}],"name":"unstakePreview","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

608060405260006007553480156200001657600080fd5b506040516200617c3803806200617c83398181016040528101906200003c91906200069c565b6040518060400160405280601681526020017f4c616e645820476f7665726e616e636520546f6b656e000000000000000000008152506040518060400160405280600481526020017f4c4e4458000000000000000000000000000000000000000000000000000000008152508160039081620000b9919062000972565b508060049081620000cb919062000972565b505050620000ee620000e2620003c860201b60201c565b620003d060201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160362000160576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001579062000aba565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620001d2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001c99062000aba565b60405180910390fd5b620001e76000801b336200049660201b60201c565b82600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506019600a600080600281111562000285576200028462000adc565b5b60028111156200029a576200029962000adc565b5b815260200190815260200160002060006101000a81548160ff021916908360ff1602179055506032600a600060016002811115620002dd57620002dc62000adc565b5b6002811115620002f257620002f162000adc565b5b815260200190815260200160002060006101000a81548160ff021916908360ff1602179055506064600a600060028081111562000334576200033362000adc565b5b600281111562000349576200034862000adc565b5b815260200190815260200160002060006101000a81548160ff021916908360ff16021790555060008161ffff1603620003a157610721601a60006101000a81548161ffff021916908361ffff160217905550620003bf565b80601a60006101000a81548161ffff021916908361ffff1602179055505b50505062000b0b565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620004a882826200058860201b60201c565b620005845760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555062000529620003c860201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200062582620005f8565b9050919050565b620006378162000618565b81146200064357600080fd5b50565b60008151905062000657816200062c565b92915050565b600061ffff82169050919050565b62000676816200065d565b81146200068257600080fd5b50565b60008151905062000696816200066b565b92915050565b600080600060608486031215620006b857620006b7620005f3565b5b6000620006c88682870162000646565b9350506020620006db8682870162000646565b9250506040620006ee8682870162000685565b9150509250925092565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200077a57607f821691505b60208210810362000790576200078f62000732565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620007fa7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620007bb565b620008068683620007bb565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620008536200084d62000847846200081e565b62000828565b6200081e565b9050919050565b6000819050919050565b6200086f8362000832565b620008876200087e826200085a565b848454620007c8565b825550505050565b600090565b6200089e6200088f565b620008ab81848462000864565b505050565b5b81811015620008d357620008c760008262000894565b600181019050620008b1565b5050565b601f8211156200092257620008ec8162000796565b620008f784620007ab565b8101602085101562000907578190505b6200091f6200091685620007ab565b830182620008b0565b50505b505050565b600082821c905092915050565b6000620009476000198460080262000927565b1980831691505092915050565b600062000962838362000934565b9150826002028217905092915050565b6200097d82620006f8565b67ffffffffffffffff81111562000999576200099862000703565b5b620009a5825462000761565b620009b2828285620008d7565b600060209050601f831160018114620009ea5760008415620009d5578287015190505b620009e1858262000954565b86555062000a51565b601f198416620009fa8662000796565b60005b8281101562000a2457848901518255600182019150602085019450602081019050620009fd565b8683101562000a44578489015162000a40601f89168262000934565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f7a65726f2061646472657373206973206e6f7420616c6c6f7765640000000000600082015250565b600062000aa2601b8362000a59565b915062000aaf8262000a6a565b602082019050919050565b6000602082019050818103600083015262000ad58162000a93565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6156618062000b1b6000396000f3fe608060405234801561001057600080fd5b50600436106103425760003560e01c80637a8f0aec116101b8578063c5f1994111610104578063e5331f17116100a2578063f0c0bd701161007c578063f0c0bd7014610ab1578063f2fde38b14610acf578063f8d2007b14610aeb578063fd75b8d414610b0957610342565b8063e5331f1714610a59578063e74f3fbb14610a77578063ecd09d4b14610a8157610342565b8063d5a44f86116100de578063d5a44f86146109a6578063dd62ed3e146109db578063de05de9814610a0b578063e0f0c53114610a2957610342565b8063c5f199411461093e578063d252661e1461096e578063d547741f1461098a57610342565b8063a04f6b4b11610171578063a9059cbb1161014b578063a9059cbb14610874578063ad724170146108a4578063aeabe27d146108d4578063b869cea31461090457610342565b8063a04f6b4b14610808578063a217fddf14610826578063a457c2d71461084457610342565b80637a8f0aec14610730578063817b1cd21461074e5780638da5cb5b1461076c57806391d148541461078a57806395d89b41146107ba57806398807d84146107d857610342565b8063313ce5671161029257806356891412116102305780636910dcce1161020a5780636910dcce146106a85780636b329b3e146106c657806370a08231146106f6578063715018a61461072657610342565b806356891412146106505780635baaa4881461066e57806368e83e981461068c57610342565b80633b919ba81161026c5780633b919ba8146105c35780633f772204146105e157806347d79ad6146105ff57806350445abf1461062f57610342565b8063313ce5671461055957806336568abe14610577578063395093511461059357610342565b806323b872dd116102ff5780632be39007116102d95780632be39007146104c15780632d409843146104f15780632e17de78146105215780632f2ff15d1461053d57610342565b806323b872dd1461044557806323f9cc0c14610475578063248a9ca31461049157610342565b806301ffc9a71461034757806306fdde0314610377578063095ea7b3146103955780630fa3a376146103c557806318160ddd146103f55780631d5dd82a14610413575b600080fd5b610361600480360381019061035c9190613f3a565b610b3a565b60405161036e9190613f82565b60405180910390f35b61037f610bb4565b60405161038c919061402d565b60405180910390f35b6103af60048036038101906103aa91906140e3565b610c46565b6040516103bc9190613f82565b60405180910390f35b6103df60048036038101906103da9190614148565b610c69565b6040516103ec9190614191565b60405180910390f35b6103fd610c89565b60405161040a91906141bb565b60405180910390f35b61042d600480360381019061042891906141d6565b610c93565b60405161043c93929190614203565b60405180910390f35b61045f600480360381019061045a919061423a565b610d89565b60405161046c9190613f82565b60405180910390f35b61048f600480360381019061048a91906141d6565b610db8565b005b6104ab60048036038101906104a691906142c3565b610eeb565b6040516104b891906142ff565b60405180910390f35b6104db60048036038101906104d691906141d6565b610f0b565b6040516104e891906141bb565b60405180910390f35b61050b600480360381019061050691906141d6565b610f69565b60405161051891906141bb565b60405180910390f35b61053b600480360381019061053691906141d6565b610f81565b005b6105576004803603810190610552919061431a565b611496565b005b6105616114b7565b60405161056e9190614191565b60405180910390f35b610591600480360381019061058c919061431a565b6114c0565b005b6105ad60048036038101906105a891906140e3565b611543565b6040516105ba9190613f82565b60405180910390f35b6105cb61157a565b6040516105d891906141bb565b60405180910390f35b6105e9611580565b6040516105f691906141bb565b60405180910390f35b610619600480360381019061061491906140e3565b61158a565b60405161062691906141bb565b60405180910390f35b6106376115b2565b604051610647949392919061435a565b60405180910390f35b6106586115d0565b60405161066591906141bb565b60405180910390f35b6106766115d6565b60405161068391906141bb565b60405180910390f35b6106a660048036038101906106a1919061439f565b6115dc565b005b6106b06119c3565b6040516106bd91906142ff565b60405180910390f35b6106e060048036038101906106db91906143df565b6119e7565b6040516106ed91906141bb565b60405180910390f35b610710600480360381019061070b91906143df565b6119ff565b60405161071d91906141bb565b60405180910390f35b61072e611a47565b005b610738611a8a565b60405161074591906141bb565b60405180910390f35b610756611a90565b60405161076391906141bb565b60405180910390f35b610774611a96565b604051610781919061441b565b60405180910390f35b6107a4600480360381019061079f919061431a565b611ac0565b6040516107b19190613f82565b60405180910390f35b6107c2611b2b565b6040516107cf919061402d565b60405180910390f35b6107f260048036038101906107ed91906143df565b611bbd565b6040516107ff91906141bb565b60405180910390f35b610810611bd5565b60405161081d91906141bb565b60405180910390f35b61082e611bdf565b60405161083b91906142ff565b60405180910390f35b61085e600480360381019061085991906140e3565b611be6565b60405161086b9190613f82565b60405180910390f35b61088e600480360381019061088991906140e3565b611c5d565b60405161089b9190613f82565b60405180910390f35b6108be60048036038101906108b991906141d6565b611c80565b6040516108cb91906141bb565b60405180910390f35b6108ee60048036038101906108e991906141d6565b611cde565b6040516108fb91906141bb565b60405180910390f35b61091e600480360381019061091991906143df565b611cf6565b6040516109359b9a99989796959493929190614436565b60405180910390f35b610958600480360381019061095391906143df565b611d70565b60405161096591906141bb565b60405180910390f35b610988600480360381019061098391906144e1565b611e35565b005b6109a4600480360381019061099f919061431a565b612495565b005b6109c060048036038101906109bb91906141d6565b6124b6565b6040516109d296959493929190614548565b60405180910390f35b6109f560048036038101906109f091906145a9565b61251f565b604051610a0291906141bb565b60405180910390f35b610a136125a6565b604051610a209190614606565b60405180910390f35b610a436004803603810190610a3e91906143df565b6125ba565b604051610a5091906141bb565b60405180910390f35b610a6161267f565b604051610a6e91906141bb565b60405180910390f35b610a7f612685565b005b610a9b6004803603810190610a9691906143df565b612aea565b604051610aa891906141bb565b60405180910390f35b610ab9612b02565b604051610ac691906141bb565b60405180910390f35b610ae96004803603810190610ae491906143df565b612b08565b005b610af3612b8b565b604051610b0091906141bb565b60405180910390f35b610b236004803603810190610b1e91906143df565b612b91565b604051610b31929190614621565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610bad5750610bac82612ced565b5b9050919050565b606060038054610bc390614679565b80601f0160208091040260200160405190810160405280929190818152602001828054610bef90614679565b8015610c3c5780601f10610c1157610100808354040283529160200191610c3c565b820191906000526020600020905b815481529060010190602001808311610c1f57829003601f168201915b5050505050905090565b600080610c51612d57565b9050610c5e818585612d5f565b600191505092915050565b600a6020528060005260406000206000915054906101000a900460ff1681565b6000600254905090565b6000806000801515600b600086815260200190815260200160002060050160009054906101000a900460ff16151514610d01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf8906146f6565b60405180910390fd5b6000600b600086815260200190815260200160002090506000610d22612f28565b905060006011600088815260200190815260200160002054620f4240838560040154610d4e9190614745565b610d5891906147ce565b610d6291906147ff565b90506000610d6f88611c80565b905083600101548183965096509650505050509193909250565b600080610d94612d57565b9050610da185828561313f565b610dac8585856131cb565b60019150509392505050565b7f2174eddbd3dd5d6d1f8771fcfe11e56dde5a1c380f4e4ee908e41262add3ef0c610de281613441565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e759190614848565b905060008103610e9e578260136000828254610e919190614875565b9250508190555050610ee7565b8060135484610ead9190614875565b620f4240610ebb9190614745565b610ec591906147ce565b60126000828254610ed69190614875565b925050819055506000601381905550505b5050565b600060066000838152602001908152602001600020600101549050919050565b600080600b600084815260200190815260200160002090506011600084815260200190815260200160002054620f42406014548360040154610f4d9190614745565b610f5791906147ce565b610f6191906147ff565b915050919050565b60116020528060005260406000206000915090505481565b3373ffffffffffffffffffffffffffffffffffffffff16600b600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611025576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101c906148f5565b60405180910390fd5b60001515600b600083815260200190815260200160002060050160009054906101000a900460ff1615151461108f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611086906146f6565b60405180910390fd5b42600b60008381526020019081526020016000206003015411156110e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110df90614961565b60405180910390fd5b6000600b6000838152602001908152602001600020905080600101546016600082825461111591906147ff565b925050819055508060010154601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461116f91906147ff565b9250508190555061117e613455565b600061118983610f0b565b9050600061119684611c80565b905080601860008560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006002811061120f5761120e614981565b5b01600082825461121f9190614875565b9250508190555081601860008560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060016002811061129d5761129c614981565b5b0160008282546112ad9190614875565b9250508190555060018360050160006101000a81548160ff021916908315150217905550600060116000868152602001908152602001600020819055506000601060008681526020019081526020016000208190555061131d30338486600101546113189190614875565b6131cb565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac3385600401546040518363ffffffff1660e01b815260040161137e9291906149b0565b600060405180830381600087803b15801561139857600080fd5b505af11580156113ac573d6000803e3d6000fd5b50505050600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b815260040161140d9291906149b0565b6020604051808303816000875af115801561142c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114509190614a05565b507f7fc4727e062e336010f2c282598ef5f14facb3de68cf8195c2f23e1454b2b74e3384600101548660405161148893929190614a32565b60405180910390a150505050565b61149f82610eeb565b6114a881613441565b6114b283836136b6565b505050565b60006006905090565b6114c8612d57565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611535576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152c90614adb565b60405180910390fd5b61153f8282613797565b5050565b60008061154e612d57565b905061156f818585611560858961251f565b61156a9190614875565b612d5f565b600191505092915050565b60075481565b6548c27395000081565b601860205281600052604060002081600281106115a657600080fd5b01600091509150505481565b601b8060000154908060010154908060020154908060030154905084565b60175481565b60155481565b6000600a60008360028111156115f5576115f4614afb565b5b600281111561160757611606614afb565b5b815260200190815260200160002060009054906101000a900460ff1660ff1603611666576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165d90614b76565b60405180910390fd5b6116713330846131cb565b60006064600a600084600281111561168c5761168b614afb565b5b600281111561169e5761169d614afb565b5b815260200190815260200160002060009054906101000a900460ff1660ff16846116c89190614745565b6116d291906147ce565b9050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1933836040518363ffffffff1660e01b81526004016117319291906149b0565b600060405180830381600087803b15801561174b57600080fd5b505af115801561175f573d6000803e3d6000fd5b5050505061176b613455565b60006040518060c001604052803373ffffffffffffffffffffffffffffffffffffffff1681526020018581526020014281526020016117a985613879565b8152602001838152602001600015158152509050600c60008154809291906117d090614b96565b919050555080600b6000600c54815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001015560408201518160020155606082015181600301556080820151816004015560a08201518160050160006101000a81548160ff021916908315150217905550905050836016600082825461188f9190614875565b9250508190555083601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118e59190614875565b92505081905550620f4240826012546118fe9190614745565b61190891906147ce565b60106000600c548152602001908152602001600020600082825461192c9190614875565b92505081905550620f4240826014546119459190614745565b61194f91906147ce565b60116000600c54815260200190815260200160002060008282546119739190614875565b925050819055507fb4caaf29adda3eefee3ad552a8e85058589bf834c7466cae4ee58787f70589ed3385600c5484606001516040516119b59493929190614bde565b60405180910390a150505050565b7f2174eddbd3dd5d6d1f8771fcfe11e56dde5a1c380f4e4ee908e41262add3ef0c81565b600f6020528060005260406000206000915090505481565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611a4f61394b565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8190614c6f565b60405180910390fd5b60145481565b60165481565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060048054611b3a90614679565b80601f0160208091040260200160405190810160405280929190818152602001828054611b6690614679565b8015611bb35780601f10611b8857610100808354040283529160200191611bb3565b820191906000526020600020905b815481529060010190602001808311611b9657829003601f168201915b5050505050905090565b60196020528060005260406000206000915090505481565b650e302875600081565b6000801b81565b600080611bf1612d57565b90506000611bff828661251f565b905083811015611c44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3b90614d01565b60405180910390fd5b611c518286868403612d5f565b60019250505092915050565b600080611c68612d57565b9050611c758185856131cb565b600191505092915050565b600080600b600084815260200190815260200160002090506010600084815260200190815260200160002054620f42406012548360040154611cc29190614745565b611ccc91906147ce565b611cd691906147ff565b915050919050565b60106020528060005260406000206000915090505481565b600d6020528060005260406000206000915090508060000154908060010154908060020154908060030154908060040154908060050154908060060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169080600701549080600801549080600901549080600a015490508b565b600080600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905080600a0154600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054620f42406012548460080154611e0f9190614745565b611e1991906147ce565b611e2391906147ff565b611e2d9190614875565b915050919050565b611e3d61394b565b611e45613455565b650e30287560006548c273950000611e5d91906147ff565b83600754611e6b9190614875565b1115611eac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea390614d6d565b60405180910390fd5b600082148015611ebc5750600081145b15611ee957611ecb84846139c9565b8260076000828254611edd9190614875565b9250508190555061248f565b6000600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206002015414611f6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6590614dd9565b60405180910390fd5b603c821115611fb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa990614e45565b60405180910390fd5b603c811115611ff6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fed90614eb1565b60405180910390fd5b600081836120049190614875565b905060006030821061205c57600a600060028081111561202757612026614afb565b5b600281111561203957612038614afb565b5b815260200190815260200160002060009054906101000a900460ff1690506120fa565b600c82106120b157600a60006001600281111561207c5761207b614afb565b5b600281111561208e5761208d614afb565b5b815260200190815260200160002060009054906101000a900460ff1690506120f9565b600a60008060028111156120c8576120c7614afb565b5b60028111156120da576120d9614afb565b5b815260200190815260200160002060009054906101000a900460ff1690505b5b61210430866139c9565b84600760008282546121169190614875565b92505081905550846017600082825461212f9190614875565b92505081905550600060648260ff16876121499190614745565b61215391906147ce565b9050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1988836040518363ffffffff1660e01b81526004016121b29291906149b0565b600060405180830381600087803b1580156121cc57600080fd5b505af11580156121e0573d6000803e3d6000fd5b50505050620f4240816014546121f69190614745565b61220091906147ce565b600f60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550620f4240816012546122559190614745565b61225f91906147ce565b600e60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060008562278d006122b39190614745565b426122be9190614875565b90506000604051806101600160405280428152602001838152602001898152602001601e886122ed9190614745565b815260200160008152602001600081526020018a73ffffffffffffffffffffffffffffffffffffffff168152602001848152602001848152602001600081526020016000815250905080600d60008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015560a0820151816005015560c08201518160060160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060e082015181600701556101008201518160080155610120820151816009015561014082015181600a01559050507f3825c9f0e797b55ed34e25729c69017c2204a435451c529e6bd56cadffcfd51d89898462015180601e8b61245c9190614745565b6124669190614745565b866124719190614875565b6040516124819493929190614bde565b60405180910390a150505050505b50505050565b61249e82610eeb565b6124a781613441565b6124b18383613797565b505050565b600b6020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154908060040154908060050160009054906101000a900460ff16905086565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b601a60009054906101000a900461ffff1681565b600080600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508060090154600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054620f424060145484600801546126599190614745565b61266391906147ce565b61266d91906147ff565b6126779190614875565b915050919050565b600c5481565b60008061269133612b91565b8092508193505050600081116126dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d390614f1d565b60405180910390fd5b6126e4613455565b6000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508281600401600082825461273b9190614875565b92505081905550818160050160008282546127569190614875565b92505081905550600081600201548260070154846127749190614745565b61277e91906147ce565b9050816002015482600501540361279757816008015490505b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac33836040518363ffffffff1660e01b81526004016127f49291906149b0565b600060405180830381600087803b15801561280e57600080fd5b505af1158015612822573d6000803e3d6000fd5b50505050826017600082825461283891906147ff565b92505081905550600061284a33611d70565b9050600083600201548285600501546128639190614745565b61286d91906147ce565b9050600061287a336125ba565b9050600085600201548287600501546128939190614745565b61289d91906147ce565b9050848660080160008282546128b391906147ff565b9250508190555080826128c691906147ff565b866009018190555082846128da91906147ff565b86600a0181905550620f424060145487600801546128f89190614745565b61290291906147ce565b600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550620f4240601254876008015461295b9190614745565b61296591906147ce565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33856040518363ffffffff1660e01b8152600401612a059291906149b0565b6020604051808303816000875af1158015612a24573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a489190614a05565b50612a83308760060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16838a612a7e9190614875565b6131cb565b7fc6cbb4aa8681b18644bf64921eea8f2b9f44cbd58d64fc07a110bfccc20382968660060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1688604051612ad89291906149b0565b60405180910390a15050505050505050565b600e6020528060005260406000206000915090505481565b60135481565b612b1061394b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612b7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7690614faf565b60405180910390fd5b612b8881613b1f565b50565b60125481565b6000806000600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508060020154816005015410612c21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c189061501b565b60405180910390fd5b8060010154421015612c3a576000809250925050612ce8565b600062015180826001015442612c5091906147ff565b612c5a91906147ce565b905081600301548110612ca057600082600501548360020154612c7d91906147ff565b905082600401548360030154612c9391906147ff565b8194509450505050612ce8565b6000826004015482612cb291906147ff565b9050600083600301548460020154612cca91906147ce565b905060008183612cda9190614745565b905082819650965050505050505b915091565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612dce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dc5906150ad565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612e3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e349061513f565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051612f1b91906141bb565b60405180910390a3505050565b6000650e3028756000601b6000015410612f45576000905061313c565b6000601b6001015490506000601b60020154905060008203612f65574291505b60008103612f71574290505b6000620151808242612f8391906147ff565b612f8d91906147ce565b9050600080821115613132576000601a60009054906101000a900461ffff1661ffff16650e3028756000612fc191906147ce565b90508281612fcf9190614745565b9150650e3028756000601b6000015483612fe99190614875565b111561303057601b60000154650e302875600061300691906147ff565b9150601b60030154601a60009054906101000a900461ffff1661ffff1661302d91906147ff565b92505b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561309f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130c39190614848565b905060006015549050600082036130f25783816130e09190614875565b9050600097505050505050505061313c565b8181856130ff9190614875565b620f424061310d9190614745565b61311791906147ce565b6014546131249190614875565b97505050505050505061313c565b6014549450505050505b90565b600061314b848461251f565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146131c557818110156131b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131ae906151ab565b60405180910390fd5b6131c48484848403612d5f565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361323a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132319061523d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036132a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132a0906152cf565b60405180910390fd5b6132b4838383613be5565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561333a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161333190615361565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161342891906141bb565b60405180910390a361343b848484613bea565b50505050565b6134528161344d612d57565b613bef565b50565b650e3028756000601b6000015410156136b4576000601b60010154036134805742601b600101819055505b6000601b60020154036134985742601b600201819055505b600062015180601b60020154426134af91906147ff565b6134b991906147ce565b90506000808211156136b1576000601a60009054906101000a900461ffff1661ffff16650e30287560006134ed91906147ce565b905082816134fb9190614745565b9150650e3028756000601b60000154836135159190614875565b111561355c57601b60000154650e302875600061353291906147ff565b9150601b60030154601a60009054906101000a900461ffff1661ffff1661355991906147ff565b92505b82601b60030160008282546135719190614875565b9250508190555081601b600001600082825461358d9190614875565b9250508190555042601b600201819055506135a830836139c9565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613617573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061363b9190614848565b9050600081036136675782601560008282546136579190614875565b92505081905550505050506136b4565b80601554846136769190614875565b620f42406136849190614745565b61368e91906147ce565b6014600082825461369f9190614875565b92505081905550600060158190555050505b50505b565b6136c08282611ac0565b6137935760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550613738612d57565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6137a18282611ac0565b156138755760006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061381a612d57565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600080600281111561388e5761388d614afb565b5b8260028111156138a1576138a0614afb565b5b036138bc576276a700426138b59190614875565b9050613946565b600160028111156138d0576138cf614afb565b5b8260028111156138e3576138e2614afb565b5b036138ff576301e13380426138f89190614875565b9050613946565b60028081111561391257613911614afb565b5b82600281111561392557613924614afb565b5b0361394157630784ce004261393a9190614875565b9050613946565b600090505b919050565b613953612d57565b73ffffffffffffffffffffffffffffffffffffffff16613971611a96565b73ffffffffffffffffffffffffffffffffffffffff16146139c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139be906153cd565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603613a38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a2f90615439565b60405180910390fd5b613a4460008383613be5565b8060026000828254613a569190614875565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051613b0791906141bb565b60405180910390a3613b1b60008383613bea565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b505050565b505050565b613bf98282611ac0565b613c7057613c0681613c74565b613c148360001c6020613ca1565b604051602001613c2592919061552d565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c67919061402d565b60405180910390fd5b5050565b6060613c9a8273ffffffffffffffffffffffffffffffffffffffff16601460ff16613ca1565b9050919050565b606060006002836002613cb49190614745565b613cbe9190614875565b67ffffffffffffffff811115613cd757613cd6615567565b5b6040519080825280601f01601f191660200182016040528015613d095781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110613d4157613d40614981565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110613da557613da4614981565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002613de59190614745565b613def9190614875565b90505b6001811115613e8f577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613e3157613e30614981565b5b1a60f81b828281518110613e4857613e47614981565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080613e8890615596565b9050613df2565b5060008414613ed3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613eca9061560b565b60405180910390fd5b8091505092915050565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613f1781613ee2565b8114613f2257600080fd5b50565b600081359050613f3481613f0e565b92915050565b600060208284031215613f5057613f4f613edd565b5b6000613f5e84828501613f25565b91505092915050565b60008115159050919050565b613f7c81613f67565b82525050565b6000602082019050613f976000830184613f73565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613fd7578082015181840152602081019050613fbc565b60008484015250505050565b6000601f19601f8301169050919050565b6000613fff82613f9d565b6140098185613fa8565b9350614019818560208601613fb9565b61402281613fe3565b840191505092915050565b600060208201905081810360008301526140478184613ff4565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061407a8261404f565b9050919050565b61408a8161406f565b811461409557600080fd5b50565b6000813590506140a781614081565b92915050565b6000819050919050565b6140c0816140ad565b81146140cb57600080fd5b50565b6000813590506140dd816140b7565b92915050565b600080604083850312156140fa576140f9613edd565b5b600061410885828601614098565b9250506020614119858286016140ce565b9150509250929050565b6003811061413057600080fd5b50565b60008135905061414281614123565b92915050565b60006020828403121561415e5761415d613edd565b5b600061416c84828501614133565b91505092915050565b600060ff82169050919050565b61418b81614175565b82525050565b60006020820190506141a66000830184614182565b92915050565b6141b5816140ad565b82525050565b60006020820190506141d060008301846141ac565b92915050565b6000602082840312156141ec576141eb613edd565b5b60006141fa848285016140ce565b91505092915050565b600060608201905061421860008301866141ac565b61422560208301856141ac565b61423260408301846141ac565b949350505050565b60008060006060848603121561425357614252613edd565b5b600061426186828701614098565b935050602061427286828701614098565b9250506040614283868287016140ce565b9150509250925092565b6000819050919050565b6142a08161428d565b81146142ab57600080fd5b50565b6000813590506142bd81614297565b92915050565b6000602082840312156142d9576142d8613edd565b5b60006142e7848285016142ae565b91505092915050565b6142f98161428d565b82525050565b600060208201905061431460008301846142f0565b92915050565b6000806040838503121561433157614330613edd565b5b600061433f858286016142ae565b925050602061435085828601614098565b9150509250929050565b600060808201905061436f60008301876141ac565b61437c60208301866141ac565b61438960408301856141ac565b61439660608301846141ac565b95945050505050565b600080604083850312156143b6576143b5613edd565b5b60006143c4858286016140ce565b92505060206143d585828601614133565b9150509250929050565b6000602082840312156143f5576143f4613edd565b5b600061440384828501614098565b91505092915050565b6144158161406f565b82525050565b6000602082019050614430600083018461440c565b92915050565b60006101608201905061444c600083018e6141ac565b614459602083018d6141ac565b614466604083018c6141ac565b614473606083018b6141ac565b614480608083018a6141ac565b61448d60a08301896141ac565b61449a60c083018861440c565b6144a760e08301876141ac565b6144b56101008301866141ac565b6144c36101208301856141ac565b6144d16101408301846141ac565b9c9b505050505050505050505050565b600080600080608085870312156144fb576144fa613edd565b5b600061450987828801614098565b945050602061451a878288016140ce565b935050604061452b878288016140ce565b925050606061453c878288016140ce565b91505092959194509250565b600060c08201905061455d600083018961440c565b61456a60208301886141ac565b61457760408301876141ac565b61458460608301866141ac565b61459160808301856141ac565b61459e60a0830184613f73565b979650505050505050565b600080604083850312156145c0576145bf613edd565b5b60006145ce85828601614098565b92505060206145df85828601614098565b9150509250929050565b600061ffff82169050919050565b614600816145e9565b82525050565b600060208201905061461b60008301846145f7565b92915050565b600060408201905061463660008301856141ac565b61464360208301846141ac565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061469157607f821691505b6020821081036146a4576146a361464a565b5b50919050565b7f616c726561647920756e7374616b656400000000000000000000000000000000600082015250565b60006146e0601083613fa8565b91506146eb826146aa565b602082019050919050565b6000602082019050818103600083015261470f816146d3565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614750826140ad565b915061475b836140ad565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561479457614793614716565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006147d9826140ad565b91506147e4836140ad565b9250826147f4576147f361479f565b5b828204905092915050565b600061480a826140ad565b9150614815836140ad565b925082820390508181111561482d5761482c614716565b5b92915050565b600081519050614842816140b7565b92915050565b60006020828403121561485e5761485d613edd565b5b600061486c84828501614833565b91505092915050565b6000614880826140ad565b915061488b836140ad565b92508282019050808211156148a3576148a2614716565b5b92915050565b7f6e6f74207374616b657200000000000000000000000000000000000000000000600082015250565b60006148df600a83613fa8565b91506148ea826148a9565b602082019050919050565b6000602082019050818103600083015261490e816148d2565b9050919050565b7f746f6f206561726c790000000000000000000000000000000000000000000000600082015250565b600061494b600983613fa8565b915061495682614915565b602082019050919050565b6000602082019050818103600083015261497a8161493e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006040820190506149c5600083018561440c565b6149d260208301846141ac565b9392505050565b6149e281613f67565b81146149ed57600080fd5b50565b6000815190506149ff816149d9565b92915050565b600060208284031215614a1b57614a1a613edd565b5b6000614a29848285016149f0565b91505092915050565b6000606082019050614a47600083018661440c565b614a5460208301856141ac565b614a6160408301846141ac565b949350505050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000614ac5602f83613fa8565b9150614ad082614a69565b604082019050919050565b60006020820190508181036000830152614af481614ab8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f77726f6e6720706572696f640000000000000000000000000000000000000000600082015250565b6000614b60600c83613fa8565b9150614b6b82614b2a565b602082019050919050565b60006020820190508181036000830152614b8f81614b53565b9050919050565b6000614ba1826140ad565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614bd357614bd2614716565b5b600182019050919050565b6000608082019050614bf3600083018761440c565b614c0060208301866141ac565b614c0d60408301856141ac565b614c1a60608301846141ac565b95945050505050565b7f63616e2027742072656e6f756e63654f776e6572736869702068657265000000600082015250565b6000614c59601d83613fa8565b9150614c6482614c23565b602082019050919050565b60006020820190508181036000830152614c8881614c4c565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000614ceb602583613fa8565b9150614cf682614c8f565b604082019050919050565b60006020820190508181036000830152614d1a81614cde565b9050919050565b7f4d696e74206c696d697420616d6f756e74206578636565646564000000000000600082015250565b6000614d57601a83613fa8565b9150614d6282614d21565b602082019050919050565b60006020820190508181036000830152614d8681614d4a565b9050919050565b7f6772616e7420616c726561647920657869737473000000000000000000000000600082015250565b6000614dc3601483613fa8565b9150614dce82614d8d565b602082019050919050565b60006020820190508181036000830152614df281614db6565b9050919050565b7f636c6966662067726561746572207468616e2035207965617200000000000000600082015250565b6000614e2f601983613fa8565b9150614e3a82614df9565b602082019050919050565b60006020820190508181036000830152614e5e81614e22565b9050919050565b7f6475726174696f6e2067726561746572207468616e2035207965617273000000600082015250565b6000614e9b601d83613fa8565b9150614ea682614e65565b602082019050919050565b60006020820190508181036000830152614eca81614e8e565b9050919050565b7f77616974206f6e6520646179206f722076657374656420697320300000000000600082015250565b6000614f07601b83613fa8565b9150614f1282614ed1565b602082019050919050565b60006020820190508181036000830152614f3681614efa565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614f99602683613fa8565b9150614fa482614f3d565b604082019050919050565b60006020820190508181036000830152614fc881614f8c565b9050919050565b7f6772616e742066756c6c7920636c61696d656400000000000000000000000000600082015250565b6000615005601383613fa8565b915061501082614fcf565b602082019050919050565b6000602082019050818103600083015261503481614ff8565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615097602483613fa8565b91506150a28261503b565b604082019050919050565b600060208201905081810360008301526150c68161508a565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000615129602283613fa8565b9150615134826150cd565b604082019050919050565b600060208201905081810360008301526151588161511c565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000615195601d83613fa8565b91506151a08261515f565b602082019050919050565b600060208201905081810360008301526151c481615188565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000615227602583613fa8565b9150615232826151cb565b604082019050919050565b600060208201905081810360008301526152568161521a565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006152b9602383613fa8565b91506152c48261525d565b604082019050919050565b600060208201905081810360008301526152e8816152ac565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b600061534b602683613fa8565b9150615356826152ef565b604082019050919050565b6000602082019050818103600083015261537a8161533e565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006153b7602083613fa8565b91506153c282615381565b602082019050919050565b600060208201905081810360008301526153e6816153aa565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000615423601f83613fa8565b915061542e826153ed565b602082019050919050565b6000602082019050818103600083015261545281615416565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b600061549a601783615459565b91506154a582615464565b601782019050919050565b60006154bb82613f9d565b6154c58185615459565b93506154d5818560208601613fb9565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000615517601183615459565b9150615522826154e1565b601182019050919050565b60006155388261548d565b915061554482856154b0565b915061554f8261550a565b915061555b82846154b0565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006155a1826140ad565b9150600082036155b4576155b3614716565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b60006155f5602083613fa8565b9150615600826155bf565b602082019050919050565b60006020820190508181036000830152615624816155e8565b905091905056fea2646970667358221220343acc41a7daf4e063ce4d2545607f308b55f942d63cab259ebef77ebd2566fe64736f6c63430008100033000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000ffe9664fb1ffa7325ad7ce389e0a8d1eff4712660000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106103425760003560e01c80637a8f0aec116101b8578063c5f1994111610104578063e5331f17116100a2578063f0c0bd701161007c578063f0c0bd7014610ab1578063f2fde38b14610acf578063f8d2007b14610aeb578063fd75b8d414610b0957610342565b8063e5331f1714610a59578063e74f3fbb14610a77578063ecd09d4b14610a8157610342565b8063d5a44f86116100de578063d5a44f86146109a6578063dd62ed3e146109db578063de05de9814610a0b578063e0f0c53114610a2957610342565b8063c5f199411461093e578063d252661e1461096e578063d547741f1461098a57610342565b8063a04f6b4b11610171578063a9059cbb1161014b578063a9059cbb14610874578063ad724170146108a4578063aeabe27d146108d4578063b869cea31461090457610342565b8063a04f6b4b14610808578063a217fddf14610826578063a457c2d71461084457610342565b80637a8f0aec14610730578063817b1cd21461074e5780638da5cb5b1461076c57806391d148541461078a57806395d89b41146107ba57806398807d84146107d857610342565b8063313ce5671161029257806356891412116102305780636910dcce1161020a5780636910dcce146106a85780636b329b3e146106c657806370a08231146106f6578063715018a61461072657610342565b806356891412146106505780635baaa4881461066e57806368e83e981461068c57610342565b80633b919ba81161026c5780633b919ba8146105c35780633f772204146105e157806347d79ad6146105ff57806350445abf1461062f57610342565b8063313ce5671461055957806336568abe14610577578063395093511461059357610342565b806323b872dd116102ff5780632be39007116102d95780632be39007146104c15780632d409843146104f15780632e17de78146105215780632f2ff15d1461053d57610342565b806323b872dd1461044557806323f9cc0c14610475578063248a9ca31461049157610342565b806301ffc9a71461034757806306fdde0314610377578063095ea7b3146103955780630fa3a376146103c557806318160ddd146103f55780631d5dd82a14610413575b600080fd5b610361600480360381019061035c9190613f3a565b610b3a565b60405161036e9190613f82565b60405180910390f35b61037f610bb4565b60405161038c919061402d565b60405180910390f35b6103af60048036038101906103aa91906140e3565b610c46565b6040516103bc9190613f82565b60405180910390f35b6103df60048036038101906103da9190614148565b610c69565b6040516103ec9190614191565b60405180910390f35b6103fd610c89565b60405161040a91906141bb565b60405180910390f35b61042d600480360381019061042891906141d6565b610c93565b60405161043c93929190614203565b60405180910390f35b61045f600480360381019061045a919061423a565b610d89565b60405161046c9190613f82565b60405180910390f35b61048f600480360381019061048a91906141d6565b610db8565b005b6104ab60048036038101906104a691906142c3565b610eeb565b6040516104b891906142ff565b60405180910390f35b6104db60048036038101906104d691906141d6565b610f0b565b6040516104e891906141bb565b60405180910390f35b61050b600480360381019061050691906141d6565b610f69565b60405161051891906141bb565b60405180910390f35b61053b600480360381019061053691906141d6565b610f81565b005b6105576004803603810190610552919061431a565b611496565b005b6105616114b7565b60405161056e9190614191565b60405180910390f35b610591600480360381019061058c919061431a565b6114c0565b005b6105ad60048036038101906105a891906140e3565b611543565b6040516105ba9190613f82565b60405180910390f35b6105cb61157a565b6040516105d891906141bb565b60405180910390f35b6105e9611580565b6040516105f691906141bb565b60405180910390f35b610619600480360381019061061491906140e3565b61158a565b60405161062691906141bb565b60405180910390f35b6106376115b2565b604051610647949392919061435a565b60405180910390f35b6106586115d0565b60405161066591906141bb565b60405180910390f35b6106766115d6565b60405161068391906141bb565b60405180910390f35b6106a660048036038101906106a1919061439f565b6115dc565b005b6106b06119c3565b6040516106bd91906142ff565b60405180910390f35b6106e060048036038101906106db91906143df565b6119e7565b6040516106ed91906141bb565b60405180910390f35b610710600480360381019061070b91906143df565b6119ff565b60405161071d91906141bb565b60405180910390f35b61072e611a47565b005b610738611a8a565b60405161074591906141bb565b60405180910390f35b610756611a90565b60405161076391906141bb565b60405180910390f35b610774611a96565b604051610781919061441b565b60405180910390f35b6107a4600480360381019061079f919061431a565b611ac0565b6040516107b19190613f82565b60405180910390f35b6107c2611b2b565b6040516107cf919061402d565b60405180910390f35b6107f260048036038101906107ed91906143df565b611bbd565b6040516107ff91906141bb565b60405180910390f35b610810611bd5565b60405161081d91906141bb565b60405180910390f35b61082e611bdf565b60405161083b91906142ff565b60405180910390f35b61085e600480360381019061085991906140e3565b611be6565b60405161086b9190613f82565b60405180910390f35b61088e600480360381019061088991906140e3565b611c5d565b60405161089b9190613f82565b60405180910390f35b6108be60048036038101906108b991906141d6565b611c80565b6040516108cb91906141bb565b60405180910390f35b6108ee60048036038101906108e991906141d6565b611cde565b6040516108fb91906141bb565b60405180910390f35b61091e600480360381019061091991906143df565b611cf6565b6040516109359b9a99989796959493929190614436565b60405180910390f35b610958600480360381019061095391906143df565b611d70565b60405161096591906141bb565b60405180910390f35b610988600480360381019061098391906144e1565b611e35565b005b6109a4600480360381019061099f919061431a565b612495565b005b6109c060048036038101906109bb91906141d6565b6124b6565b6040516109d296959493929190614548565b60405180910390f35b6109f560048036038101906109f091906145a9565b61251f565b604051610a0291906141bb565b60405180910390f35b610a136125a6565b604051610a209190614606565b60405180910390f35b610a436004803603810190610a3e91906143df565b6125ba565b604051610a5091906141bb565b60405180910390f35b610a6161267f565b604051610a6e91906141bb565b60405180910390f35b610a7f612685565b005b610a9b6004803603810190610a9691906143df565b612aea565b604051610aa891906141bb565b60405180910390f35b610ab9612b02565b604051610ac691906141bb565b60405180910390f35b610ae96004803603810190610ae491906143df565b612b08565b005b610af3612b8b565b604051610b0091906141bb565b60405180910390f35b610b236004803603810190610b1e91906143df565b612b91565b604051610b31929190614621565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610bad5750610bac82612ced565b5b9050919050565b606060038054610bc390614679565b80601f0160208091040260200160405190810160405280929190818152602001828054610bef90614679565b8015610c3c5780601f10610c1157610100808354040283529160200191610c3c565b820191906000526020600020905b815481529060010190602001808311610c1f57829003601f168201915b5050505050905090565b600080610c51612d57565b9050610c5e818585612d5f565b600191505092915050565b600a6020528060005260406000206000915054906101000a900460ff1681565b6000600254905090565b6000806000801515600b600086815260200190815260200160002060050160009054906101000a900460ff16151514610d01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf8906146f6565b60405180910390fd5b6000600b600086815260200190815260200160002090506000610d22612f28565b905060006011600088815260200190815260200160002054620f4240838560040154610d4e9190614745565b610d5891906147ce565b610d6291906147ff565b90506000610d6f88611c80565b905083600101548183965096509650505050509193909250565b600080610d94612d57565b9050610da185828561313f565b610dac8585856131cb565b60019150509392505050565b7f2174eddbd3dd5d6d1f8771fcfe11e56dde5a1c380f4e4ee908e41262add3ef0c610de281613441565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e759190614848565b905060008103610e9e578260136000828254610e919190614875565b9250508190555050610ee7565b8060135484610ead9190614875565b620f4240610ebb9190614745565b610ec591906147ce565b60126000828254610ed69190614875565b925050819055506000601381905550505b5050565b600060066000838152602001908152602001600020600101549050919050565b600080600b600084815260200190815260200160002090506011600084815260200190815260200160002054620f42406014548360040154610f4d9190614745565b610f5791906147ce565b610f6191906147ff565b915050919050565b60116020528060005260406000206000915090505481565b3373ffffffffffffffffffffffffffffffffffffffff16600b600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611025576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101c906148f5565b60405180910390fd5b60001515600b600083815260200190815260200160002060050160009054906101000a900460ff1615151461108f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611086906146f6565b60405180910390fd5b42600b60008381526020019081526020016000206003015411156110e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110df90614961565b60405180910390fd5b6000600b6000838152602001908152602001600020905080600101546016600082825461111591906147ff565b925050819055508060010154601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461116f91906147ff565b9250508190555061117e613455565b600061118983610f0b565b9050600061119684611c80565b905080601860008560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006002811061120f5761120e614981565b5b01600082825461121f9190614875565b9250508190555081601860008560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060016002811061129d5761129c614981565b5b0160008282546112ad9190614875565b9250508190555060018360050160006101000a81548160ff021916908315150217905550600060116000868152602001908152602001600020819055506000601060008681526020019081526020016000208190555061131d30338486600101546113189190614875565b6131cb565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac3385600401546040518363ffffffff1660e01b815260040161137e9291906149b0565b600060405180830381600087803b15801561139857600080fd5b505af11580156113ac573d6000803e3d6000fd5b50505050600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b815260040161140d9291906149b0565b6020604051808303816000875af115801561142c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114509190614a05565b507f7fc4727e062e336010f2c282598ef5f14facb3de68cf8195c2f23e1454b2b74e3384600101548660405161148893929190614a32565b60405180910390a150505050565b61149f82610eeb565b6114a881613441565b6114b283836136b6565b505050565b60006006905090565b6114c8612d57565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611535576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152c90614adb565b60405180910390fd5b61153f8282613797565b5050565b60008061154e612d57565b905061156f818585611560858961251f565b61156a9190614875565b612d5f565b600191505092915050565b60075481565b6548c27395000081565b601860205281600052604060002081600281106115a657600080fd5b01600091509150505481565b601b8060000154908060010154908060020154908060030154905084565b60175481565b60155481565b6000600a60008360028111156115f5576115f4614afb565b5b600281111561160757611606614afb565b5b815260200190815260200160002060009054906101000a900460ff1660ff1603611666576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165d90614b76565b60405180910390fd5b6116713330846131cb565b60006064600a600084600281111561168c5761168b614afb565b5b600281111561169e5761169d614afb565b5b815260200190815260200160002060009054906101000a900460ff1660ff16846116c89190614745565b6116d291906147ce565b9050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1933836040518363ffffffff1660e01b81526004016117319291906149b0565b600060405180830381600087803b15801561174b57600080fd5b505af115801561175f573d6000803e3d6000fd5b5050505061176b613455565b60006040518060c001604052803373ffffffffffffffffffffffffffffffffffffffff1681526020018581526020014281526020016117a985613879565b8152602001838152602001600015158152509050600c60008154809291906117d090614b96565b919050555080600b6000600c54815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001015560408201518160020155606082015181600301556080820151816004015560a08201518160050160006101000a81548160ff021916908315150217905550905050836016600082825461188f9190614875565b9250508190555083601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118e59190614875565b92505081905550620f4240826012546118fe9190614745565b61190891906147ce565b60106000600c548152602001908152602001600020600082825461192c9190614875565b92505081905550620f4240826014546119459190614745565b61194f91906147ce565b60116000600c54815260200190815260200160002060008282546119739190614875565b925050819055507fb4caaf29adda3eefee3ad552a8e85058589bf834c7466cae4ee58787f70589ed3385600c5484606001516040516119b59493929190614bde565b60405180910390a150505050565b7f2174eddbd3dd5d6d1f8771fcfe11e56dde5a1c380f4e4ee908e41262add3ef0c81565b600f6020528060005260406000206000915090505481565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611a4f61394b565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8190614c6f565b60405180910390fd5b60145481565b60165481565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060048054611b3a90614679565b80601f0160208091040260200160405190810160405280929190818152602001828054611b6690614679565b8015611bb35780601f10611b8857610100808354040283529160200191611bb3565b820191906000526020600020905b815481529060010190602001808311611b9657829003601f168201915b5050505050905090565b60196020528060005260406000206000915090505481565b650e302875600081565b6000801b81565b600080611bf1612d57565b90506000611bff828661251f565b905083811015611c44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3b90614d01565b60405180910390fd5b611c518286868403612d5f565b60019250505092915050565b600080611c68612d57565b9050611c758185856131cb565b600191505092915050565b600080600b600084815260200190815260200160002090506010600084815260200190815260200160002054620f42406012548360040154611cc29190614745565b611ccc91906147ce565b611cd691906147ff565b915050919050565b60106020528060005260406000206000915090505481565b600d6020528060005260406000206000915090508060000154908060010154908060020154908060030154908060040154908060050154908060060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169080600701549080600801549080600901549080600a015490508b565b600080600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905080600a0154600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054620f42406012548460080154611e0f9190614745565b611e1991906147ce565b611e2391906147ff565b611e2d9190614875565b915050919050565b611e3d61394b565b611e45613455565b650e30287560006548c273950000611e5d91906147ff565b83600754611e6b9190614875565b1115611eac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea390614d6d565b60405180910390fd5b600082148015611ebc5750600081145b15611ee957611ecb84846139c9565b8260076000828254611edd9190614875565b9250508190555061248f565b6000600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206002015414611f6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6590614dd9565b60405180910390fd5b603c821115611fb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa990614e45565b60405180910390fd5b603c811115611ff6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fed90614eb1565b60405180910390fd5b600081836120049190614875565b905060006030821061205c57600a600060028081111561202757612026614afb565b5b600281111561203957612038614afb565b5b815260200190815260200160002060009054906101000a900460ff1690506120fa565b600c82106120b157600a60006001600281111561207c5761207b614afb565b5b600281111561208e5761208d614afb565b5b815260200190815260200160002060009054906101000a900460ff1690506120f9565b600a60008060028111156120c8576120c7614afb565b5b60028111156120da576120d9614afb565b5b815260200190815260200160002060009054906101000a900460ff1690505b5b61210430866139c9565b84600760008282546121169190614875565b92505081905550846017600082825461212f9190614875565b92505081905550600060648260ff16876121499190614745565b61215391906147ce565b9050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1988836040518363ffffffff1660e01b81526004016121b29291906149b0565b600060405180830381600087803b1580156121cc57600080fd5b505af11580156121e0573d6000803e3d6000fd5b50505050620f4240816014546121f69190614745565b61220091906147ce565b600f60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550620f4240816012546122559190614745565b61225f91906147ce565b600e60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060008562278d006122b39190614745565b426122be9190614875565b90506000604051806101600160405280428152602001838152602001898152602001601e886122ed9190614745565b815260200160008152602001600081526020018a73ffffffffffffffffffffffffffffffffffffffff168152602001848152602001848152602001600081526020016000815250905080600d60008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015560a0820151816005015560c08201518160060160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060e082015181600701556101008201518160080155610120820151816009015561014082015181600a01559050507f3825c9f0e797b55ed34e25729c69017c2204a435451c529e6bd56cadffcfd51d89898462015180601e8b61245c9190614745565b6124669190614745565b866124719190614875565b6040516124819493929190614bde565b60405180910390a150505050505b50505050565b61249e82610eeb565b6124a781613441565b6124b18383613797565b505050565b600b6020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154908060040154908060050160009054906101000a900460ff16905086565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b601a60009054906101000a900461ffff1681565b600080600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508060090154600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054620f424060145484600801546126599190614745565b61266391906147ce565b61266d91906147ff565b6126779190614875565b915050919050565b600c5481565b60008061269133612b91565b8092508193505050600081116126dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d390614f1d565b60405180910390fd5b6126e4613455565b6000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508281600401600082825461273b9190614875565b92505081905550818160050160008282546127569190614875565b92505081905550600081600201548260070154846127749190614745565b61277e91906147ce565b9050816002015482600501540361279757816008015490505b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac33836040518363ffffffff1660e01b81526004016127f49291906149b0565b600060405180830381600087803b15801561280e57600080fd5b505af1158015612822573d6000803e3d6000fd5b50505050826017600082825461283891906147ff565b92505081905550600061284a33611d70565b9050600083600201548285600501546128639190614745565b61286d91906147ce565b9050600061287a336125ba565b9050600085600201548287600501546128939190614745565b61289d91906147ce565b9050848660080160008282546128b391906147ff565b9250508190555080826128c691906147ff565b866009018190555082846128da91906147ff565b86600a0181905550620f424060145487600801546128f89190614745565b61290291906147ce565b600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550620f4240601254876008015461295b9190614745565b61296591906147ce565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33856040518363ffffffff1660e01b8152600401612a059291906149b0565b6020604051808303816000875af1158015612a24573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a489190614a05565b50612a83308760060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16838a612a7e9190614875565b6131cb565b7fc6cbb4aa8681b18644bf64921eea8f2b9f44cbd58d64fc07a110bfccc20382968660060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1688604051612ad89291906149b0565b60405180910390a15050505050505050565b600e6020528060005260406000206000915090505481565b60135481565b612b1061394b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612b7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7690614faf565b60405180910390fd5b612b8881613b1f565b50565b60125481565b6000806000600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508060020154816005015410612c21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c189061501b565b60405180910390fd5b8060010154421015612c3a576000809250925050612ce8565b600062015180826001015442612c5091906147ff565b612c5a91906147ce565b905081600301548110612ca057600082600501548360020154612c7d91906147ff565b905082600401548360030154612c9391906147ff565b8194509450505050612ce8565b6000826004015482612cb291906147ff565b9050600083600301548460020154612cca91906147ce565b905060008183612cda9190614745565b905082819650965050505050505b915091565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612dce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dc5906150ad565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612e3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e349061513f565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051612f1b91906141bb565b60405180910390a3505050565b6000650e3028756000601b6000015410612f45576000905061313c565b6000601b6001015490506000601b60020154905060008203612f65574291505b60008103612f71574290505b6000620151808242612f8391906147ff565b612f8d91906147ce565b9050600080821115613132576000601a60009054906101000a900461ffff1661ffff16650e3028756000612fc191906147ce565b90508281612fcf9190614745565b9150650e3028756000601b6000015483612fe99190614875565b111561303057601b60000154650e302875600061300691906147ff565b9150601b60030154601a60009054906101000a900461ffff1661ffff1661302d91906147ff565b92505b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561309f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130c39190614848565b905060006015549050600082036130f25783816130e09190614875565b9050600097505050505050505061313c565b8181856130ff9190614875565b620f424061310d9190614745565b61311791906147ce565b6014546131249190614875565b97505050505050505061313c565b6014549450505050505b90565b600061314b848461251f565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146131c557818110156131b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131ae906151ab565b60405180910390fd5b6131c48484848403612d5f565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361323a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132319061523d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036132a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132a0906152cf565b60405180910390fd5b6132b4838383613be5565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561333a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161333190615361565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161342891906141bb565b60405180910390a361343b848484613bea565b50505050565b6134528161344d612d57565b613bef565b50565b650e3028756000601b6000015410156136b4576000601b60010154036134805742601b600101819055505b6000601b60020154036134985742601b600201819055505b600062015180601b60020154426134af91906147ff565b6134b991906147ce565b90506000808211156136b1576000601a60009054906101000a900461ffff1661ffff16650e30287560006134ed91906147ce565b905082816134fb9190614745565b9150650e3028756000601b60000154836135159190614875565b111561355c57601b60000154650e302875600061353291906147ff565b9150601b60030154601a60009054906101000a900461ffff1661ffff1661355991906147ff565b92505b82601b60030160008282546135719190614875565b9250508190555081601b600001600082825461358d9190614875565b9250508190555042601b600201819055506135a830836139c9565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613617573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061363b9190614848565b9050600081036136675782601560008282546136579190614875565b92505081905550505050506136b4565b80601554846136769190614875565b620f42406136849190614745565b61368e91906147ce565b6014600082825461369f9190614875565b92505081905550600060158190555050505b50505b565b6136c08282611ac0565b6137935760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550613738612d57565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6137a18282611ac0565b156138755760006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061381a612d57565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600080600281111561388e5761388d614afb565b5b8260028111156138a1576138a0614afb565b5b036138bc576276a700426138b59190614875565b9050613946565b600160028111156138d0576138cf614afb565b5b8260028111156138e3576138e2614afb565b5b036138ff576301e13380426138f89190614875565b9050613946565b60028081111561391257613911614afb565b5b82600281111561392557613924614afb565b5b0361394157630784ce004261393a9190614875565b9050613946565b600090505b919050565b613953612d57565b73ffffffffffffffffffffffffffffffffffffffff16613971611a96565b73ffffffffffffffffffffffffffffffffffffffff16146139c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139be906153cd565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603613a38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a2f90615439565b60405180910390fd5b613a4460008383613be5565b8060026000828254613a569190614875565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051613b0791906141bb565b60405180910390a3613b1b60008383613bea565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b505050565b505050565b613bf98282611ac0565b613c7057613c0681613c74565b613c148360001c6020613ca1565b604051602001613c2592919061552d565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c67919061402d565b60405180910390fd5b5050565b6060613c9a8273ffffffffffffffffffffffffffffffffffffffff16601460ff16613ca1565b9050919050565b606060006002836002613cb49190614745565b613cbe9190614875565b67ffffffffffffffff811115613cd757613cd6615567565b5b6040519080825280601f01601f191660200182016040528015613d095781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110613d4157613d40614981565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110613da557613da4614981565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002613de59190614745565b613def9190614875565b90505b6001811115613e8f577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613e3157613e30614981565b5b1a60f81b828281518110613e4857613e47614981565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080613e8890615596565b9050613df2565b5060008414613ed3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613eca9061560b565b60405180910390fd5b8091505092915050565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613f1781613ee2565b8114613f2257600080fd5b50565b600081359050613f3481613f0e565b92915050565b600060208284031215613f5057613f4f613edd565b5b6000613f5e84828501613f25565b91505092915050565b60008115159050919050565b613f7c81613f67565b82525050565b6000602082019050613f976000830184613f73565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613fd7578082015181840152602081019050613fbc565b60008484015250505050565b6000601f19601f8301169050919050565b6000613fff82613f9d565b6140098185613fa8565b9350614019818560208601613fb9565b61402281613fe3565b840191505092915050565b600060208201905081810360008301526140478184613ff4565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061407a8261404f565b9050919050565b61408a8161406f565b811461409557600080fd5b50565b6000813590506140a781614081565b92915050565b6000819050919050565b6140c0816140ad565b81146140cb57600080fd5b50565b6000813590506140dd816140b7565b92915050565b600080604083850312156140fa576140f9613edd565b5b600061410885828601614098565b9250506020614119858286016140ce565b9150509250929050565b6003811061413057600080fd5b50565b60008135905061414281614123565b92915050565b60006020828403121561415e5761415d613edd565b5b600061416c84828501614133565b91505092915050565b600060ff82169050919050565b61418b81614175565b82525050565b60006020820190506141a66000830184614182565b92915050565b6141b5816140ad565b82525050565b60006020820190506141d060008301846141ac565b92915050565b6000602082840312156141ec576141eb613edd565b5b60006141fa848285016140ce565b91505092915050565b600060608201905061421860008301866141ac565b61422560208301856141ac565b61423260408301846141ac565b949350505050565b60008060006060848603121561425357614252613edd565b5b600061426186828701614098565b935050602061427286828701614098565b9250506040614283868287016140ce565b9150509250925092565b6000819050919050565b6142a08161428d565b81146142ab57600080fd5b50565b6000813590506142bd81614297565b92915050565b6000602082840312156142d9576142d8613edd565b5b60006142e7848285016142ae565b91505092915050565b6142f98161428d565b82525050565b600060208201905061431460008301846142f0565b92915050565b6000806040838503121561433157614330613edd565b5b600061433f858286016142ae565b925050602061435085828601614098565b9150509250929050565b600060808201905061436f60008301876141ac565b61437c60208301866141ac565b61438960408301856141ac565b61439660608301846141ac565b95945050505050565b600080604083850312156143b6576143b5613edd565b5b60006143c4858286016140ce565b92505060206143d585828601614133565b9150509250929050565b6000602082840312156143f5576143f4613edd565b5b600061440384828501614098565b91505092915050565b6144158161406f565b82525050565b6000602082019050614430600083018461440c565b92915050565b60006101608201905061444c600083018e6141ac565b614459602083018d6141ac565b614466604083018c6141ac565b614473606083018b6141ac565b614480608083018a6141ac565b61448d60a08301896141ac565b61449a60c083018861440c565b6144a760e08301876141ac565b6144b56101008301866141ac565b6144c36101208301856141ac565b6144d16101408301846141ac565b9c9b505050505050505050505050565b600080600080608085870312156144fb576144fa613edd565b5b600061450987828801614098565b945050602061451a878288016140ce565b935050604061452b878288016140ce565b925050606061453c878288016140ce565b91505092959194509250565b600060c08201905061455d600083018961440c565b61456a60208301886141ac565b61457760408301876141ac565b61458460608301866141ac565b61459160808301856141ac565b61459e60a0830184613f73565b979650505050505050565b600080604083850312156145c0576145bf613edd565b5b60006145ce85828601614098565b92505060206145df85828601614098565b9150509250929050565b600061ffff82169050919050565b614600816145e9565b82525050565b600060208201905061461b60008301846145f7565b92915050565b600060408201905061463660008301856141ac565b61464360208301846141ac565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061469157607f821691505b6020821081036146a4576146a361464a565b5b50919050565b7f616c726561647920756e7374616b656400000000000000000000000000000000600082015250565b60006146e0601083613fa8565b91506146eb826146aa565b602082019050919050565b6000602082019050818103600083015261470f816146d3565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614750826140ad565b915061475b836140ad565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561479457614793614716565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006147d9826140ad565b91506147e4836140ad565b9250826147f4576147f361479f565b5b828204905092915050565b600061480a826140ad565b9150614815836140ad565b925082820390508181111561482d5761482c614716565b5b92915050565b600081519050614842816140b7565b92915050565b60006020828403121561485e5761485d613edd565b5b600061486c84828501614833565b91505092915050565b6000614880826140ad565b915061488b836140ad565b92508282019050808211156148a3576148a2614716565b5b92915050565b7f6e6f74207374616b657200000000000000000000000000000000000000000000600082015250565b60006148df600a83613fa8565b91506148ea826148a9565b602082019050919050565b6000602082019050818103600083015261490e816148d2565b9050919050565b7f746f6f206561726c790000000000000000000000000000000000000000000000600082015250565b600061494b600983613fa8565b915061495682614915565b602082019050919050565b6000602082019050818103600083015261497a8161493e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006040820190506149c5600083018561440c565b6149d260208301846141ac565b9392505050565b6149e281613f67565b81146149ed57600080fd5b50565b6000815190506149ff816149d9565b92915050565b600060208284031215614a1b57614a1a613edd565b5b6000614a29848285016149f0565b91505092915050565b6000606082019050614a47600083018661440c565b614a5460208301856141ac565b614a6160408301846141ac565b949350505050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000614ac5602f83613fa8565b9150614ad082614a69565b604082019050919050565b60006020820190508181036000830152614af481614ab8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f77726f6e6720706572696f640000000000000000000000000000000000000000600082015250565b6000614b60600c83613fa8565b9150614b6b82614b2a565b602082019050919050565b60006020820190508181036000830152614b8f81614b53565b9050919050565b6000614ba1826140ad565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614bd357614bd2614716565b5b600182019050919050565b6000608082019050614bf3600083018761440c565b614c0060208301866141ac565b614c0d60408301856141ac565b614c1a60608301846141ac565b95945050505050565b7f63616e2027742072656e6f756e63654f776e6572736869702068657265000000600082015250565b6000614c59601d83613fa8565b9150614c6482614c23565b602082019050919050565b60006020820190508181036000830152614c8881614c4c565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000614ceb602583613fa8565b9150614cf682614c8f565b604082019050919050565b60006020820190508181036000830152614d1a81614cde565b9050919050565b7f4d696e74206c696d697420616d6f756e74206578636565646564000000000000600082015250565b6000614d57601a83613fa8565b9150614d6282614d21565b602082019050919050565b60006020820190508181036000830152614d8681614d4a565b9050919050565b7f6772616e7420616c726561647920657869737473000000000000000000000000600082015250565b6000614dc3601483613fa8565b9150614dce82614d8d565b602082019050919050565b60006020820190508181036000830152614df281614db6565b9050919050565b7f636c6966662067726561746572207468616e2035207965617200000000000000600082015250565b6000614e2f601983613fa8565b9150614e3a82614df9565b602082019050919050565b60006020820190508181036000830152614e5e81614e22565b9050919050565b7f6475726174696f6e2067726561746572207468616e2035207965617273000000600082015250565b6000614e9b601d83613fa8565b9150614ea682614e65565b602082019050919050565b60006020820190508181036000830152614eca81614e8e565b9050919050565b7f77616974206f6e6520646179206f722076657374656420697320300000000000600082015250565b6000614f07601b83613fa8565b9150614f1282614ed1565b602082019050919050565b60006020820190508181036000830152614f3681614efa565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614f99602683613fa8565b9150614fa482614f3d565b604082019050919050565b60006020820190508181036000830152614fc881614f8c565b9050919050565b7f6772616e742066756c6c7920636c61696d656400000000000000000000000000600082015250565b6000615005601383613fa8565b915061501082614fcf565b602082019050919050565b6000602082019050818103600083015261503481614ff8565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615097602483613fa8565b91506150a28261503b565b604082019050919050565b600060208201905081810360008301526150c68161508a565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000615129602283613fa8565b9150615134826150cd565b604082019050919050565b600060208201905081810360008301526151588161511c565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000615195601d83613fa8565b91506151a08261515f565b602082019050919050565b600060208201905081810360008301526151c481615188565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000615227602583613fa8565b9150615232826151cb565b604082019050919050565b600060208201905081810360008301526152568161521a565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006152b9602383613fa8565b91506152c48261525d565b604082019050919050565b600060208201905081810360008301526152e8816152ac565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b600061534b602683613fa8565b9150615356826152ef565b604082019050919050565b6000602082019050818103600083015261537a8161533e565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006153b7602083613fa8565b91506153c282615381565b602082019050919050565b600060208201905081810360008301526153e6816153aa565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000615423601f83613fa8565b915061542e826153ed565b602082019050919050565b6000602082019050818103600083015261545281615416565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b600061549a601783615459565b91506154a582615464565b601782019050919050565b60006154bb82613f9d565b6154c58185615459565b93506154d5818560208601613fb9565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000615517601183615459565b9150615522826154e1565b601182019050919050565b60006155388261548d565b915061554482856154b0565b915061554f8261550a565b915061555b82846154b0565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006155a1826140ad565b9150600082036155b4576155b3614716565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b60006155f5602083613fa8565b9150615600826155bf565b602082019050919050565b60006020820190508181036000830152615624816155e8565b905091905056fea2646970667358221220343acc41a7daf4e063ce4d2545607f308b55f942d63cab259ebef77ebd2566fe64736f6c63430008100033

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

000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000ffe9664fb1ffa7325ad7ce389e0a8d1eff4712660000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _usdc (address): 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
Arg [1] : _veLNDX (address): 0xffE9664FB1Ffa7325Ad7Ce389e0a8d1efF471266
Arg [2] : _rewardVestingDuration (uint16): 0

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
Arg [1] : 000000000000000000000000ffe9664fb1ffa7325ad7ce389e0a8d1eff471266
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000


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

Bridging the agriculture financing gap, LandX provides upfront capital to farmers in return for a percentage of their future harvests. The financing is secured by the underlying farmland, offering investors an opportunity to earn sustainable yield backed by tangible assets.

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ 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.