ETH Price: $2,287.77 (-5.48%)

Contract

0xfF55B2815A86a3C574AE6627F091c056592624c5
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw168918642023-03-23 17:57:47542 days ago1679594267IN
0xfF55B281...6592624c5
0 ETH0.0037814641.89985956
Withdraw164023292023-01-14 3:23:23610 days ago1673666603IN
0xfF55B281...6592624c5
0 ETH0.0019755525.80069915
Withdraw163994142023-01-13 17:38:23611 days ago1673631503IN
0xfF55B281...6592624c5
0 ETH0.0036458240.39699372
Withdraw163021192022-12-31 3:40:11624 days ago1672458011IN
0xfF55B281...6592624c5
0 ETH0.0012010316.15815107
Withdraw162037862022-12-17 10:21:23638 days ago1671272483IN
0xfF55B281...6592624c5
0 ETH0.001275614.13411168
Withdraw155320692022-09-14 8:59:12732 days ago1663145952IN
0xfF55B281...6592624c5
0 ETH0.000501836.55390786
Withdraw155302072022-09-14 1:22:20732 days ago1663118540IN
0xfF55B281...6592624c5
0 ETH0.000451255
Withdraw153599782022-08-17 17:10:49760 days ago1660756249IN
0xfF55B281...6592624c5
0 ETH0.0026877929.78168676
Withdraw153354622022-08-13 20:15:24764 days ago1660421724IN
0xfF55B281...6592624c5
0 ETH0.000631748.25052251
Withdraw153309382022-08-13 3:11:23764 days ago1660360283IN
0xfF55B281...6592624c5
0 ETH0.000504736.59180706
Withdraw152992312022-08-08 3:30:13769 days ago1659929413IN
0xfF55B281...6592624c5
0 ETH0.000382855
Withdraw152350342022-07-29 3:40:47779 days ago1659066047IN
0xfF55B281...6592624c5
0 ETH0.0010648913.90749479
Withdraw152278422022-07-28 0:52:58781 days ago1658969578IN
0xfF55B281...6592624c5
0 ETH0.0014296418.67108277
Withdraw151636662022-07-18 1:35:29790 days ago1658108129IN
0xfF55B281...6592624c5
0 ETH0.0035702339.55934694
Withdraw151546282022-07-16 15:48:36792 days ago1657986516IN
0xfF55B281...6592624c5
0 ETH0.0019346325.26625602
Withdraw151364812022-07-13 20:41:46795 days ago1657744906IN
0xfF55B281...6592624c5
0 ETH0.0016002917.73183091
Withdraw151219742022-07-11 14:56:49797 days ago1657551409IN
0xfF55B281...6592624c5
0 ETH0.0018363123.98215715
Withdraw151077222022-07-09 10:07:33799 days ago1657361253IN
0xfF55B281...6592624c5
0 ETH0.0017726919.64204632
Withdraw151059952022-07-09 3:39:43799 days ago1657337983IN
0xfF55B281...6592624c5
0 ETH0.0010077213.16087716
Withdraw150998422022-07-08 4:42:12800 days ago1657255332IN
0xfF55B281...6592624c5
0 ETH0.0039777444.07478743
Withdraw150957422022-07-07 13:34:50801 days ago1657200890IN
0xfF55B281...6592624c5
0 ETH0.0030715940.11484525
Withdraw150945652022-07-07 9:08:30801 days ago1657184910IN
0xfF55B281...6592624c5
0 ETH0.0012367616.15206428
Withdraw150738692022-07-04 4:23:50804 days ago1656908630IN
0xfF55B281...6592624c5
0 ETH0.0025014432.66875774
Withdraw150674222022-07-03 4:30:27805 days ago1656822627IN
0xfF55B281...6592624c5
0 ETH0.0008980211.72818776
Withdraw150571162022-07-01 14:26:30807 days ago1656685590IN
0xfF55B281...6592624c5
0 ETH0.0020994827.41910473
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DevtMine

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 9 : DevtMine.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.11;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeCast.sol";

contract DevtMine is Ownable {
    using SafeERC20 for ERC20;
    using SafeCast for uint256;
    using SafeCast for int256;

    // lock time
    enum Lock {
        twoWeeks,
        oneMonth,
        twoMonths
    }

    uint256 public constant LIFECYCLE = 90 days;

    // Devt token addr
    ERC20 public immutable devt;
    // Dvt token addr (These two addresses can be the same)
    ERC20 public immutable dvt;

    uint256 public endTimestamp;

    uint256 public maxDvtPerSecond;
    uint256 public dvtPerSecond;
    uint256 public totalRewardsEarned;

    //Cumulative revenue per lp token
    uint256 public accDvtPerShare;
    uint256 public totalLpToken;
    uint256 public devtTotalDeposits;
    uint256 public lastRewardTimestamp;

    //Target pledge amount
    uint256 public immutable targetPledgeAmount;

    struct UserInfo {
        uint256 depositAmount;
        uint256 lpAmount;
        uint256 lockedUntil;
        int256 rewardDebt;
        Lock lock;
        bool isDeposit;
    }

    /// @notice user => UserInfo
    mapping(address => UserInfo) public userInfo;

    event Deposit(address indexed user, uint256 amount);
    event Withdraw(address indexed user, uint256 amount);
    event Harvest(address indexed user, uint256 amount);
    event LogUpdateRewards(
        uint256 indexed lastRewardTimestamp,
        uint256 lpSupply,
        uint256 accDvtPerShare
    );

    /// @notice Refresh the development rate according to the ratio of the current pledge amount to the target pledge amount
    function refreshDevtRate() private {
        uint256 util = utilization();
        if (util < 5e16) {
            dvtPerSecond = 0;
        } else if (util < 1e17) {
            // >5%
            // 50%
            dvtPerSecond = (maxDvtPerSecond * 5) / 10;
        } else if (util < (1e17 + 5e16)) {
            // >10%
            // 60%
            dvtPerSecond = (maxDvtPerSecond * 6) / 10;
        } else if (util < 2e17) {
            // >15%
            // 80%
            dvtPerSecond = (maxDvtPerSecond * 8) / 10;
        } else if (util < (2e17 + 5e16)) {
            // >20%
            // 90%
            dvtPerSecond = (maxDvtPerSecond * 9) / 10;
        } else {
            // >25%
            // 100%
            dvtPerSecond = maxDvtPerSecond;
        }
    }

    /// @notice update totalRewardsEarned, update cumulative profit per lp token
    function updateRewards() private {
        if (
            block.timestamp > lastRewardTimestamp &&
            lastRewardTimestamp < endTimestamp &&
            endTimestamp != 0
        ) {
            uint256 lpSupply = totalLpToken;
            if (lpSupply > 0) {
                uint256 timeDelta;
                if (block.timestamp > endTimestamp) {
                    timeDelta = endTimestamp - lastRewardTimestamp;
                    lastRewardTimestamp = endTimestamp;
                } else {
                    timeDelta = block.timestamp - lastRewardTimestamp;
                    lastRewardTimestamp = block.timestamp;
                }
                uint256 dvtReward = timeDelta * dvtPerSecond;
                totalRewardsEarned += dvtReward;
                accDvtPerShare += (dvtReward * 1 ether) / lpSupply;
            }
            emit LogUpdateRewards(
                lastRewardTimestamp,
                lpSupply,
                accDvtPerShare
            );
        }
    }

    constructor(
        address _devt,
        address _dvt,
        address _owner,
        uint256 _targetPledgeAmount
    ) {
        require(_devt != address(0) && _dvt != address(0) && _owner != address(0), "set address is zero");
        require(_targetPledgeAmount != 0,"set targetPledgeAmount is zero" );
        targetPledgeAmount = _targetPledgeAmount;
        devt = ERC20(_devt);
        dvt = ERC20(_dvt);
        transferOwnership(_owner);
    }

    /// @notice Initialize variables
    function init() external onlyOwner {
        require(endTimestamp == 0, "Cannot init again");
        uint256 rewardsAmount;
        if (devt == dvt) {
            rewardsAmount = dvt.balanceOf(address(this)) - devtTotalDeposits;
        } else {
            rewardsAmount = dvt.balanceOf(address(this));
        }

        require(rewardsAmount > 0, "No rewards sent");

        maxDvtPerSecond = rewardsAmount / LIFECYCLE;
        endTimestamp = block.timestamp + LIFECYCLE;
        lastRewardTimestamp = block.timestamp;

        refreshDevtRate();
    }

    /// @notice Get mining utilization
    function utilization() public view returns (uint256 util) {
        util = (devtTotalDeposits * 1 ether) / targetPledgeAmount;
    }

    /// @notice Get mining efficiency bonus for different pledge time
    function getBoost(Lock _lock)
        public
        pure
        returns (uint256 boost, uint256 timelock)
    {
        if (_lock == Lock.twoWeeks) {
            // 20%
            return (2e17, 14 days);
        } else if (_lock == Lock.oneMonth) {
            // 50%
            return (5e17, 30 days);
        } else if (_lock == Lock.twoMonths) {
            // 100%
            return (1e18, 60 days);
        } else {
            revert("Invalid lock value");
        }
    }

    /// @notice Get the user's cumulative revenue as of the current time
    function pendingRewards(address _user)
        external
        view
        returns (uint256 pending)
    {
        UserInfo storage user = userInfo[_user];
        uint256 _accDvtPerShare = accDvtPerShare;
        uint256 lpSupply = totalLpToken;
        if (block.timestamp > lastRewardTimestamp && dvtPerSecond != 0) {
            uint256 timeDelta;
            if (block.timestamp > endTimestamp) {
                timeDelta = endTimestamp - lastRewardTimestamp;
            } else {
                timeDelta = block.timestamp - lastRewardTimestamp;
            }
            uint256 dvtReward = timeDelta * dvtPerSecond;
            _accDvtPerShare += (dvtReward * 1 ether) / lpSupply;
        }

        pending = (((user.lpAmount * _accDvtPerShare) / 1 ether).toInt256() -
            user.rewardDebt).toUint256();
    }

    /// @notice Pledge devt
    function deposit(uint256 _amount, Lock _lock) external {
        require(!userInfo[msg.sender].isDeposit, "Already desposit");
        updateRewards();
        require(endTimestamp != 0, "Not initialized");

        if (_lock == Lock.twoWeeks) {
            // give 1 DAY of grace period
            require(
                block.timestamp + 14 days  - 1 days <= endTimestamp,
                "Less than 2 weeks left"
            );
        } else if (_lock == Lock.oneMonth) {
            // give 2 DAY of grace period
            require(
                block.timestamp + 30 days - 2 days <= endTimestamp,
                "Less than 1 month left"
            );
        } else if (_lock == Lock.twoMonths) {
            // give 3 DAY of grace period
            require(
                block.timestamp + 60 days - 3 days <= endTimestamp,
                "Less than 2 months left"
            );
        } else {
            revert("Invalid lock value");
        }

        (uint256 boost, uint256 timelock) = getBoost(_lock);
        uint256 lpAmount = _amount + (_amount * boost) / 1 ether;
        devtTotalDeposits += _amount;
        totalLpToken += lpAmount;

        userInfo[msg.sender] = UserInfo(
            _amount,
            lpAmount,
            block.timestamp + timelock,
            ((lpAmount * accDvtPerShare) / 1 ether).toInt256(),
            _lock,
            true
        );

        devt.safeTransferFrom(msg.sender, address(this), _amount);

        emit Deposit(msg.sender, _amount);
        refreshDevtRate();
    }

    /// @notice Withdraw the principal and income after maturity
    function withdraw() external {
        updateRewards();
        UserInfo storage user = userInfo[msg.sender];

        require(user.depositAmount > 0, "Position does not exists");

        // anyone can withdraw when mine ends or kill swith was used
        if (block.timestamp < endTimestamp) {
            require(
                block.timestamp >= user.lockedUntil,
                "Position is still locked"
            );
        }

        totalLpToken -= user.lpAmount;
        devtTotalDeposits -= user.depositAmount;

        int256 accumulatedDvt = ((user.lpAmount * accDvtPerShare) / 1 ether)
            .toInt256();
        uint256 _pendingDvt = (accumulatedDvt - user.rewardDebt).toUint256();

        devt.safeTransfer(msg.sender, user.depositAmount);

        // Withdrawal income
        if (_pendingDvt != 0) {
            dvt.safeTransfer(msg.sender, _pendingDvt);
        }

        emit Harvest(msg.sender, _pendingDvt);
        emit Withdraw(msg.sender, user.depositAmount);
        delete userInfo[msg.sender];
        refreshDevtRate();
    }

    /// @notice After the event is over, recover the unearthed dvt
    function recycleLeftovers() external onlyOwner {
        updateRewards();
        require(block.timestamp > endTimestamp, "Will not recycle before end");
        int256 recycleAmount = (LIFECYCLE * maxDvtPerSecond).toInt256() - // rewards originally sent
            (totalRewardsEarned).toInt256(); // rewards distributed to users

        if (recycleAmount > 0){
            dvt.safeTransfer(owner(), uint256(recycleAmount));
        }
            
    }
}

File 2 of 9 : ERC20.sol
// SPDX-License-Identifier: MIT

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.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * 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}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * 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 value {ERC20} uses, unless this function is
     * 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:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, 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}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), 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}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - 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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][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) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * 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:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, 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;
        _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;
        }
        _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 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 3 of 9 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 5 of 9 : SafeCast.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow
 * checks.
 *
 * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can
 * easily result in undesired exploitation or bugs, since developers usually
 * assume that overflows raise errors. `SafeCast` restores this intuition by
 * reverting the transaction when such an operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 *
 * Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing
 * all math on `uint256` and `int256` and then downcasting.
 */
library SafeCast {
    /**
     * @dev Returns the downcasted uint224 from uint256, reverting on
     * overflow (when the input is greater than largest uint224).
     *
     * Counterpart to Solidity's `uint224` operator.
     *
     * Requirements:
     *
     * - input must fit into 224 bits
     */
    function toUint224(uint256 value) internal pure returns (uint224) {
        require(value <= type(uint224).max, "SafeCast: value doesn't fit in 224 bits");
        return uint224(value);
    }

    /**
     * @dev Returns the downcasted uint128 from uint256, reverting on
     * overflow (when the input is greater than largest uint128).
     *
     * Counterpart to Solidity's `uint128` operator.
     *
     * Requirements:
     *
     * - input must fit into 128 bits
     */
    function toUint128(uint256 value) internal pure returns (uint128) {
        require(value <= type(uint128).max, "SafeCast: value doesn't fit in 128 bits");
        return uint128(value);
    }

    /**
     * @dev Returns the downcasted uint96 from uint256, reverting on
     * overflow (when the input is greater than largest uint96).
     *
     * Counterpart to Solidity's `uint96` operator.
     *
     * Requirements:
     *
     * - input must fit into 96 bits
     */
    function toUint96(uint256 value) internal pure returns (uint96) {
        require(value <= type(uint96).max, "SafeCast: value doesn't fit in 96 bits");
        return uint96(value);
    }

    /**
     * @dev Returns the downcasted uint64 from uint256, reverting on
     * overflow (when the input is greater than largest uint64).
     *
     * Counterpart to Solidity's `uint64` operator.
     *
     * Requirements:
     *
     * - input must fit into 64 bits
     */
    function toUint64(uint256 value) internal pure returns (uint64) {
        require(value <= type(uint64).max, "SafeCast: value doesn't fit in 64 bits");
        return uint64(value);
    }

    /**
     * @dev Returns the downcasted uint32 from uint256, reverting on
     * overflow (when the input is greater than largest uint32).
     *
     * Counterpart to Solidity's `uint32` operator.
     *
     * Requirements:
     *
     * - input must fit into 32 bits
     */
    function toUint32(uint256 value) internal pure returns (uint32) {
        require(value <= type(uint32).max, "SafeCast: value doesn't fit in 32 bits");
        return uint32(value);
    }

    /**
     * @dev Returns the downcasted uint16 from uint256, reverting on
     * overflow (when the input is greater than largest uint16).
     *
     * Counterpart to Solidity's `uint16` operator.
     *
     * Requirements:
     *
     * - input must fit into 16 bits
     */
    function toUint16(uint256 value) internal pure returns (uint16) {
        require(value <= type(uint16).max, "SafeCast: value doesn't fit in 16 bits");
        return uint16(value);
    }

    /**
     * @dev Returns the downcasted uint8 from uint256, reverting on
     * overflow (when the input is greater than largest uint8).
     *
     * Counterpart to Solidity's `uint8` operator.
     *
     * Requirements:
     *
     * - input must fit into 8 bits.
     */
    function toUint8(uint256 value) internal pure returns (uint8) {
        require(value <= type(uint8).max, "SafeCast: value doesn't fit in 8 bits");
        return uint8(value);
    }

    /**
     * @dev Converts a signed int256 into an unsigned uint256.
     *
     * Requirements:
     *
     * - input must be greater than or equal to 0.
     */
    function toUint256(int256 value) internal pure returns (uint256) {
        require(value >= 0, "SafeCast: value must be positive");
        return uint256(value);
    }

    /**
     * @dev Returns the downcasted int128 from int256, reverting on
     * overflow (when the input is less than smallest int128 or
     * greater than largest int128).
     *
     * Counterpart to Solidity's `int128` operator.
     *
     * Requirements:
     *
     * - input must fit into 128 bits
     *
     * _Available since v3.1._
     */
    function toInt128(int256 value) internal pure returns (int128) {
        require(value >= type(int128).min && value <= type(int128).max, "SafeCast: value doesn't fit in 128 bits");
        return int128(value);
    }

    /**
     * @dev Returns the downcasted int64 from int256, reverting on
     * overflow (when the input is less than smallest int64 or
     * greater than largest int64).
     *
     * Counterpart to Solidity's `int64` operator.
     *
     * Requirements:
     *
     * - input must fit into 64 bits
     *
     * _Available since v3.1._
     */
    function toInt64(int256 value) internal pure returns (int64) {
        require(value >= type(int64).min && value <= type(int64).max, "SafeCast: value doesn't fit in 64 bits");
        return int64(value);
    }

    /**
     * @dev Returns the downcasted int32 from int256, reverting on
     * overflow (when the input is less than smallest int32 or
     * greater than largest int32).
     *
     * Counterpart to Solidity's `int32` operator.
     *
     * Requirements:
     *
     * - input must fit into 32 bits
     *
     * _Available since v3.1._
     */
    function toInt32(int256 value) internal pure returns (int32) {
        require(value >= type(int32).min && value <= type(int32).max, "SafeCast: value doesn't fit in 32 bits");
        return int32(value);
    }

    /**
     * @dev Returns the downcasted int16 from int256, reverting on
     * overflow (when the input is less than smallest int16 or
     * greater than largest int16).
     *
     * Counterpart to Solidity's `int16` operator.
     *
     * Requirements:
     *
     * - input must fit into 16 bits
     *
     * _Available since v3.1._
     */
    function toInt16(int256 value) internal pure returns (int16) {
        require(value >= type(int16).min && value <= type(int16).max, "SafeCast: value doesn't fit in 16 bits");
        return int16(value);
    }

    /**
     * @dev Returns the downcasted int8 from int256, reverting on
     * overflow (when the input is less than smallest int8 or
     * greater than largest int8).
     *
     * Counterpart to Solidity's `int8` operator.
     *
     * Requirements:
     *
     * - input must fit into 8 bits.
     *
     * _Available since v3.1._
     */
    function toInt8(int256 value) internal pure returns (int8) {
        require(value >= type(int8).min && value <= type(int8).max, "SafeCast: value doesn't fit in 8 bits");
        return int8(value);
    }

    /**
     * @dev Converts an unsigned uint256 into a signed int256.
     *
     * Requirements:
     *
     * - input must be less than or equal to maxInt256.
     */
    function toInt256(uint256 value) internal pure returns (int256) {
        // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive
        require(value <= uint256(type(int256).max), "SafeCast: value doesn't fit in an int256");
        return int256(value);
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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 `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, 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 `sender` to `recipient` 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 sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

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

File 7 of 9 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT

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 9 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_devt","type":"address"},{"internalType":"address","name":"_dvt","type":"address"},{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_targetPledgeAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Harvest","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"lastRewardTimestamp","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lpSupply","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"accDvtPerShare","type":"uint256"}],"name":"LogUpdateRewards","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"LIFECYCLE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"accDvtPerShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"enum DevtMine.Lock","name":"_lock","type":"uint8"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devt","outputs":[{"internalType":"contract ERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devtTotalDeposits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dvt","outputs":[{"internalType":"contract ERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dvtPerSecond","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum DevtMine.Lock","name":"_lock","type":"uint8"}],"name":"getBoost","outputs":[{"internalType":"uint256","name":"boost","type":"uint256"},{"internalType":"uint256","name":"timelock","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"init","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastRewardTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxDvtPerSecond","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"pendingRewards","outputs":[{"internalType":"uint256","name":"pending","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"recycleLeftovers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"targetPledgeAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalLpToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalRewardsEarned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"depositAmount","type":"uint256"},{"internalType":"uint256","name":"lpAmount","type":"uint256"},{"internalType":"uint256","name":"lockedUntil","type":"uint256"},{"internalType":"int256","name":"rewardDebt","type":"int256"},{"internalType":"enum DevtMine.Lock","name":"lock","type":"uint8"},{"internalType":"bool","name":"isDeposit","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"utilization","outputs":[{"internalType":"uint256","name":"util","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e06040523480156200001157600080fd5b506040516200347a3803806200347a8339818101604052810190620000379190620004c0565b620000576200004b6200021060201b60201c565b6200021860201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614158015620000c25750600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b8015620000fc5750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b6200013e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001359062000593565b60405180910390fd5b600081141562000185576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200017c9062000605565b60405180910390fd5b8060c081815250508373ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250508273ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff16815250506200020682620002dc60201b60201c565b5050505062000731565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002ec6200021060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000312620003f260201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200036b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003629062000677565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415620003de576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003d5906200070f565b60405180910390fd5b620003ef816200021860201b60201c565b50565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200044d8262000420565b9050919050565b6200045f8162000440565b81146200046b57600080fd5b50565b6000815190506200047f8162000454565b92915050565b6000819050919050565b6200049a8162000485565b8114620004a657600080fd5b50565b600081519050620004ba816200048f565b92915050565b60008060008060808587031215620004dd57620004dc6200041b565b5b6000620004ed878288016200046e565b945050602062000500878288016200046e565b935050604062000513878288016200046e565b92505060606200052687828801620004a9565b91505092959194509250565b600082825260208201905092915050565b7f7365742061646472657373206973207a65726f00000000000000000000000000600082015250565b60006200057b60138362000532565b9150620005888262000543565b602082019050919050565b60006020820190508181036000830152620005ae816200056c565b9050919050565b7f73657420746172676574506c65646765416d6f756e74206973207a65726f0000600082015250565b6000620005ed601e8362000532565b9150620005fa82620005b5565b602082019050919050565b600060208201905081810360008301526200062081620005de565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006200065f60208362000532565b91506200066c8262000627565b602082019050919050565b60006020820190508181036000830152620006928162000650565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000620006f760268362000532565b9150620007048262000699565b604082019050919050565b600060208201905081810360008301526200072a81620006e8565b9050919050565b60805160a05160c051612cda620007a060003960008181610b1f01526114800152600081816104fd015281816109a101528181610b4301528181611239015281816112b0015261135b01526000818161094e01528181610fdf0152818161115201526112700152612cda6000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c806382c8693f116100c3578063e1c7392a1161007c578063e1c7392a1461034e578063e8622e6714610358578063ea21cd9214610376578063f15576a614610394578063f2fde38b146103b2578063f8077fae146103ce5761014d565b806382c8693f1461029a5780638da5cb5b146102b8578063a85adeab146102d6578063bc168ecb146102f4578063cdbf81dd14610312578063ce1606d3146103305761014d565b80633ccfd60b116101155780633ccfd60b14610210578063477af9ba1461021a578063637331c514610238578063654cfdff14610256578063715018a6146102725780637a9dcd511461027c5761014d565b806301f39acd146101525780630a4a3c9f1461015c578063107cb2491461018d5780631959a002146101ab57806331d7a262146101e0575b600080fd5b61015a6103ec565b005b61017660048036038101906101719190611d28565b610545565b604051610184929190611d6e565b60405180910390f35b610195610650565b6040516101a29190611d97565b60405180910390f35b6101c560048036038101906101c09190611e10565b610656565b6040516101d796959493929190611ee8565b60405180910390f35b6101fa60048036038101906101f59190611e10565b6106ac565b6040516102079190611d97565b60405180910390f35b6102186107d8565b005b610222610b1d565b60405161022f9190611d97565b60405180910390f35b610240610b41565b60405161024d9190611fa8565b60405180910390f35b610270600480360381019061026b9190611fef565b610b65565b005b61027a611081565b005b610284611109565b6040516102919190611d97565b60405180910390f35b6102a261110f565b6040516102af9190611d97565b60405180910390f35b6102c0611115565b6040516102cd919061203e565b60405180910390f35b6102de61113e565b6040516102eb9190611d97565b60405180910390f35b6102fc611144565b6040516103099190611d97565b60405180910390f35b61031a61114a565b6040516103279190611d97565b60405180910390f35b610338611150565b6040516103459190611fa8565b60405180910390f35b610356611174565b005b610360611475565b60405161036d9190611d97565b60405180910390f35b61037e61147c565b60405161038b9190611d97565b60405180910390f35b61039c6114c4565b6040516103a99190611d97565b60405180910390f35b6103cc60048036038101906103c79190611e10565b6114ca565b005b6103d66115c2565b6040516103e39190611d97565b60405180910390f35b6103f46115c8565b73ffffffffffffffffffffffffffffffffffffffff16610412611115565b73ffffffffffffffffffffffffffffffffffffffff1614610468576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161045f906120b6565b60405180910390fd5b6104706115d0565b60015442116104b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104ab90612122565b60405180910390fd5b60006104c16004546116f3565b6104da6002546276a7006104d59190612171565b6116f3565b6104e491906121cb565b90506000811315610542576105416104fa611115565b827f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166117609092919063ffffffff16565b5b50565b6000806000600281111561055c5761055b611e56565b5b83600281111561056f5761056e611e56565b5b141561058b576702c68af0bb140000621275009150915061064b565b6001600281111561059f5761059e611e56565b5b8360028111156105b2576105b1611e56565b5b14156105ce576706f05b59d3b2000062278d009150915061064b565b6002808111156105e1576105e0611e56565b5b8360028111156105f4576105f3611e56565b5b141561061057670de0b6b3a7640000624f1a009150915061064b565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610642906122ab565b60405180910390fd5b915091565b60075481565b60096020528060005260406000206000915090508060000154908060010154908060020154908060030154908060040160009054906101000a900460ff16908060040160019054906101000a900460ff16905086565b600080600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000600554905060006006549050600854421180156107125750600060035414155b1561078c57600060015442111561073a5760085460015461073391906122cb565b905061074b565b6008544261074891906122cb565b90505b60006003548261075b9190612171565b905082670de0b6b3a7640000826107729190612171565b61077c919061232e565b84610787919061235f565b935050505b6107ce83600301546107bf670de0b6b3a76400008587600101546107b09190612171565b6107ba919061232e565b6116f3565b6107c991906121cb565b6117e6565b9350505050919050565b6107e06115d0565b6000600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600081600001541161086a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086190612401565b60405180910390fd5b6001544210156108bc5780600201544210156108bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b29061246d565b60405180910390fd5b5b8060010154600660008282546108d291906122cb565b925050819055508060000154600760008282546108ef91906122cb565b925050819055506000610925670de0b6b3a764000060055484600101546109169190612171565b610920919061232e565b6116f3565b9050600061094183600301548361093c91906121cb565b6117e6565b90506109923384600001547f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166117609092919063ffffffff16565b600081146109e6576109e533827f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166117609092919063ffffffff16565b5b3373ffffffffffffffffffffffffffffffffffffffff167fc9695243a805adb74c91f28311176c65b417e842d5699893cef56d18bfa48cba82604051610a2c9190611d97565b60405180910390a23373ffffffffffffffffffffffffffffffffffffffff167f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a94243648460000154604051610a7e9190611d97565b60405180910390a2600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000808201600090556001820160009055600282016000905560038201600090556004820160006101000a81549060ff02191690556004820160016101000a81549060ff02191690555050610b18611833565b505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060040160019054906101000a900460ff1615610bf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bec906124d9565b60405180910390fd5b610bfd6115d0565b60006001541415610c43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3a90612545565b60405180910390fd5b60006002811115610c5757610c56611e56565b5b816002811115610c6a57610c69611e56565b5b1415610cd657600154620151806212750042610c86919061235f565b610c9091906122cb565b1115610cd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc8906125b1565b60405180910390fd5b610e38565b60016002811115610cea57610ce9611e56565b5b816002811115610cfd57610cfc611e56565b5b1415610d69576001546202a30062278d0042610d19919061235f565b610d2391906122cb565b1115610d64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5b9061261d565b60405180910390fd5b610e37565b600280811115610d7c57610d7b611e56565b5b816002811115610d8f57610d8e611e56565b5b1415610dfb576001546203f480624f1a0042610dab919061235f565b610db591906122cb565b1115610df6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ded90612689565b60405180910390fd5b610e36565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2d906122ab565b60405180910390fd5b5b5b600080610e4483610545565b915091506000670de0b6b3a76400008386610e5f9190612171565b610e69919061232e565b85610e74919061235f565b90508460076000828254610e88919061235f565b925050819055508060066000828254610ea1919061235f565b925050819055506040518060c001604052808681526020018281526020018342610ecb919061235f565b8152602001610ef9670de0b6b3a764000060055485610eea9190612171565b610ef4919061232e565b6116f3565b8152602001856002811115610f1157610f10611e56565b5b815260200160011515815250600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000820151816000015560208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a81548160ff02191690836002811115610faf57610fae611e56565b5b021790555060a08201518160040160016101000a81548160ff0219169083151502179055509050506110243330877f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16611944909392919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c8660405161106a9190611d97565b60405180910390a261107a611833565b5050505050565b6110896115c8565b73ffffffffffffffffffffffffffffffffffffffff166110a7611115565b73ffffffffffffffffffffffffffffffffffffffff16146110fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f4906120b6565b60405180910390fd5b61110760006119cd565b565b60055481565b60025481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60015481565b60065481565b60035481565b7f000000000000000000000000000000000000000000000000000000000000000081565b61117c6115c8565b73ffffffffffffffffffffffffffffffffffffffff1661119a611115565b73ffffffffffffffffffffffffffffffffffffffff16146111f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e7906120b6565b60405180910390fd5b600060015414611235576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122c906126f5565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff161415611359576007547f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611307919061203e565b602060405180830381865afa158015611324573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611348919061272a565b61135291906122cb565b90506113f6565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016113b2919061203e565b602060405180830381865afa1580156113cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f3919061272a565b90505b60008111611439576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611430906127a3565b60405180910390fd5b6276a70081611448919061232e565b6002819055506276a7004261145d919061235f565b60018190555042600881905550611472611833565b50565b6276a70081565b60007f0000000000000000000000000000000000000000000000000000000000000000670de0b6b3a76400006007546114b59190612171565b6114bf919061232e565b905090565b60045481565b6114d26115c8565b73ffffffffffffffffffffffffffffffffffffffff166114f0611115565b73ffffffffffffffffffffffffffffffffffffffff1614611546576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153d906120b6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ad90612835565b60405180910390fd5b6115bf816119cd565b50565b60085481565b600033905090565b600854421180156115e45750600154600854105b80156115f35750600060015414155b156116f1576000600654905060008111156116b15760006001544211156116345760085460015461162491906122cb565b905060015460088190555061164c565b6008544261164291906122cb565b9050426008819055505b60006003548261165c9190612171565b90508060046000828254611670919061235f565b9250508190555082670de0b6b3a76400008261168c9190612171565b611696919061232e565b600560008282546116a7919061235f565b9250508190555050505b6008547f46fa466115eb42eb54d375f82faa91f2a3d06d3dc2d7ed4a4f936cda1b561efc826005546040516116e7929190611d6e565b60405180910390a2505b565b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821115611758576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174f906128c7565b60405180910390fd5b819050919050565b6117e18363a9059cbb60e01b848460405160240161177f9291906128e7565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611a91565b505050565b60008082121561182b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118229061295c565b60405180910390fd5b819050919050565b600061183d61147c565b905066b1a2bc2ec5000081101561185b576000600381905550611941565b67016345785d8a000081101561189157600a600560025461187c9190612171565b611886919061232e565b600381905550611940565b670214e8348c4f00008110156118c757600a60066002546118b29190612171565b6118bc919061232e565b60038190555061193f565b6702c68af0bb1400008110156118fd57600a60086002546118e89190612171565b6118f2919061232e565b60038190555061193e565b6703782dace9d9000081101561193357600a600960025461191e9190612171565b611928919061232e565b60038190555061193d565b6002546003819055505b5b5b5b5b50565b6119c7846323b872dd60e01b8585856040516024016119659392919061297c565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611a91565b50505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000611af3826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16611b589092919063ffffffff16565b9050600081511115611b535780806020019051810190611b1391906129df565b611b52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4990612a7e565b60405180910390fd5b5b505050565b6060611b678484600085611b70565b90509392505050565b606082471015611bb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bac90612b10565b60405180910390fd5b611bbe85611c84565b611bfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf490612b7c565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051611c269190612c16565b60006040518083038185875af1925050503d8060008114611c63576040519150601f19603f3d011682016040523d82523d6000602084013e611c68565b606091505b5091509150611c78828286611c97565b92505050949350505050565b600080823b905060008111915050919050565b60608315611ca757829050611cf7565b600083511115611cba5782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cee9190612c82565b60405180910390fd5b9392505050565b600080fd5b60038110611d1057600080fd5b50565b600081359050611d2281611d03565b92915050565b600060208284031215611d3e57611d3d611cfe565b5b6000611d4c84828501611d13565b91505092915050565b6000819050919050565b611d6881611d55565b82525050565b6000604082019050611d836000830185611d5f565b611d906020830184611d5f565b9392505050565b6000602082019050611dac6000830184611d5f565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611ddd82611db2565b9050919050565b611ded81611dd2565b8114611df857600080fd5b50565b600081359050611e0a81611de4565b92915050565b600060208284031215611e2657611e25611cfe565b5b6000611e3484828501611dfb565b91505092915050565b6000819050919050565b611e5081611e3d565b82525050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60038110611e9657611e95611e56565b5b50565b6000819050611ea782611e85565b919050565b6000611eb782611e99565b9050919050565b611ec781611eac565b82525050565b60008115159050919050565b611ee281611ecd565b82525050565b600060c082019050611efd6000830189611d5f565b611f0a6020830188611d5f565b611f176040830187611d5f565b611f246060830186611e47565b611f316080830185611ebe565b611f3e60a0830184611ed9565b979650505050505050565b6000819050919050565b6000611f6e611f69611f6484611db2565b611f49565b611db2565b9050919050565b6000611f8082611f53565b9050919050565b6000611f9282611f75565b9050919050565b611fa281611f87565b82525050565b6000602082019050611fbd6000830184611f99565b92915050565b611fcc81611d55565b8114611fd757600080fd5b50565b600081359050611fe981611fc3565b92915050565b6000806040838503121561200657612005611cfe565b5b600061201485828601611fda565b925050602061202585828601611d13565b9150509250929050565b61203881611dd2565b82525050565b6000602082019050612053600083018461202f565b92915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006120a0602083612059565b91506120ab8261206a565b602082019050919050565b600060208201905081810360008301526120cf81612093565b9050919050565b7f57696c6c206e6f742072656379636c65206265666f726520656e640000000000600082015250565b600061210c601b83612059565b9150612117826120d6565b602082019050919050565b6000602082019050818103600083015261213b816120ff565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061217c82611d55565b915061218783611d55565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156121c0576121bf612142565b5b828202905092915050565b60006121d682611e3d565b91506121e183611e3d565b9250827f80000000000000000000000000000000000000000000000000000000000000000182126000841215161561221c5761221b612142565b5b827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01821360008412161561225457612253612142565b5b828203905092915050565b7f496e76616c6964206c6f636b2076616c75650000000000000000000000000000600082015250565b6000612295601283612059565b91506122a08261225f565b602082019050919050565b600060208201905081810360008301526122c481612288565b9050919050565b60006122d682611d55565b91506122e183611d55565b9250828210156122f4576122f3612142565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061233982611d55565b915061234483611d55565b925082612354576123536122ff565b5b828204905092915050565b600061236a82611d55565b915061237583611d55565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156123aa576123a9612142565b5b828201905092915050565b7f506f736974696f6e20646f6573206e6f74206578697374730000000000000000600082015250565b60006123eb601883612059565b91506123f6826123b5565b602082019050919050565b6000602082019050818103600083015261241a816123de565b9050919050565b7f506f736974696f6e206973207374696c6c206c6f636b65640000000000000000600082015250565b6000612457601883612059565b915061246282612421565b602082019050919050565b600060208201905081810360008301526124868161244a565b9050919050565b7f416c726561647920646573706f73697400000000000000000000000000000000600082015250565b60006124c3601083612059565b91506124ce8261248d565b602082019050919050565b600060208201905081810360008301526124f2816124b6565b9050919050565b7f4e6f7420696e697469616c697a65640000000000000000000000000000000000600082015250565b600061252f600f83612059565b915061253a826124f9565b602082019050919050565b6000602082019050818103600083015261255e81612522565b9050919050565b7f4c657373207468616e2032207765656b73206c65667400000000000000000000600082015250565b600061259b601683612059565b91506125a682612565565b602082019050919050565b600060208201905081810360008301526125ca8161258e565b9050919050565b7f4c657373207468616e2031206d6f6e7468206c65667400000000000000000000600082015250565b6000612607601683612059565b9150612612826125d1565b602082019050919050565b60006020820190508181036000830152612636816125fa565b9050919050565b7f4c657373207468616e2032206d6f6e746873206c656674000000000000000000600082015250565b6000612673601783612059565b915061267e8261263d565b602082019050919050565b600060208201905081810360008301526126a281612666565b9050919050565b7f43616e6e6f7420696e697420616761696e000000000000000000000000000000600082015250565b60006126df601183612059565b91506126ea826126a9565b602082019050919050565b6000602082019050818103600083015261270e816126d2565b9050919050565b60008151905061272481611fc3565b92915050565b6000602082840312156127405761273f611cfe565b5b600061274e84828501612715565b91505092915050565b7f4e6f20726577617264732073656e740000000000000000000000000000000000600082015250565b600061278d600f83612059565b915061279882612757565b602082019050919050565b600060208201905081810360008301526127bc81612780565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061281f602683612059565b915061282a826127c3565b604082019050919050565b6000602082019050818103600083015261284e81612812565b9050919050565b7f53616665436173743a2076616c756520646f65736e27742066697420696e206160008201527f6e20696e74323536000000000000000000000000000000000000000000000000602082015250565b60006128b1602883612059565b91506128bc82612855565b604082019050919050565b600060208201905081810360008301526128e0816128a4565b9050919050565b60006040820190506128fc600083018561202f565b6129096020830184611d5f565b9392505050565b7f53616665436173743a2076616c7565206d75737420626520706f736974697665600082015250565b6000612946602083612059565b915061295182612910565b602082019050919050565b6000602082019050818103600083015261297581612939565b9050919050565b6000606082019050612991600083018661202f565b61299e602083018561202f565b6129ab6040830184611d5f565b949350505050565b6129bc81611ecd565b81146129c757600080fd5b50565b6000815190506129d9816129b3565b92915050565b6000602082840312156129f5576129f4611cfe565b5b6000612a03848285016129ca565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000612a68602a83612059565b9150612a7382612a0c565b604082019050919050565b60006020820190508181036000830152612a9781612a5b565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000612afa602683612059565b9150612b0582612a9e565b604082019050919050565b60006020820190508181036000830152612b2981612aed565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000612b66601d83612059565b9150612b7182612b30565b602082019050919050565b60006020820190508181036000830152612b9581612b59565b9050919050565b600081519050919050565b600081905092915050565b60005b83811015612bd0578082015181840152602081019050612bb5565b83811115612bdf576000848401525b50505050565b6000612bf082612b9c565b612bfa8185612ba7565b9350612c0a818560208601612bb2565b80840191505092915050565b6000612c228284612be5565b915081905092915050565b600081519050919050565b6000601f19601f8301169050919050565b6000612c5482612c2d565b612c5e8185612059565b9350612c6e818560208601612bb2565b612c7781612c38565b840191505092915050565b60006020820190508181036000830152612c9c8184612c49565b90509291505056fea2646970667358221220dbd009717cff1897dd6cec69b00d5e42c50921434435f29139d159a9287062bf64736f6c634300080b0033000000000000000000000000b5c578947de0fd71303f71f2c3d41767438bd0de000000000000000000000000b5c578947de0fd71303f71f2c3d41767438bd0de000000000000000000000000411c02983e75ba87f2d71fdda884d6a97d6f4290000000000000000000000000000000000000000000108b2a2c28029094000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061014d5760003560e01c806382c8693f116100c3578063e1c7392a1161007c578063e1c7392a1461034e578063e8622e6714610358578063ea21cd9214610376578063f15576a614610394578063f2fde38b146103b2578063f8077fae146103ce5761014d565b806382c8693f1461029a5780638da5cb5b146102b8578063a85adeab146102d6578063bc168ecb146102f4578063cdbf81dd14610312578063ce1606d3146103305761014d565b80633ccfd60b116101155780633ccfd60b14610210578063477af9ba1461021a578063637331c514610238578063654cfdff14610256578063715018a6146102725780637a9dcd511461027c5761014d565b806301f39acd146101525780630a4a3c9f1461015c578063107cb2491461018d5780631959a002146101ab57806331d7a262146101e0575b600080fd5b61015a6103ec565b005b61017660048036038101906101719190611d28565b610545565b604051610184929190611d6e565b60405180910390f35b610195610650565b6040516101a29190611d97565b60405180910390f35b6101c560048036038101906101c09190611e10565b610656565b6040516101d796959493929190611ee8565b60405180910390f35b6101fa60048036038101906101f59190611e10565b6106ac565b6040516102079190611d97565b60405180910390f35b6102186107d8565b005b610222610b1d565b60405161022f9190611d97565b60405180910390f35b610240610b41565b60405161024d9190611fa8565b60405180910390f35b610270600480360381019061026b9190611fef565b610b65565b005b61027a611081565b005b610284611109565b6040516102919190611d97565b60405180910390f35b6102a261110f565b6040516102af9190611d97565b60405180910390f35b6102c0611115565b6040516102cd919061203e565b60405180910390f35b6102de61113e565b6040516102eb9190611d97565b60405180910390f35b6102fc611144565b6040516103099190611d97565b60405180910390f35b61031a61114a565b6040516103279190611d97565b60405180910390f35b610338611150565b6040516103459190611fa8565b60405180910390f35b610356611174565b005b610360611475565b60405161036d9190611d97565b60405180910390f35b61037e61147c565b60405161038b9190611d97565b60405180910390f35b61039c6114c4565b6040516103a99190611d97565b60405180910390f35b6103cc60048036038101906103c79190611e10565b6114ca565b005b6103d66115c2565b6040516103e39190611d97565b60405180910390f35b6103f46115c8565b73ffffffffffffffffffffffffffffffffffffffff16610412611115565b73ffffffffffffffffffffffffffffffffffffffff1614610468576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161045f906120b6565b60405180910390fd5b6104706115d0565b60015442116104b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104ab90612122565b60405180910390fd5b60006104c16004546116f3565b6104da6002546276a7006104d59190612171565b6116f3565b6104e491906121cb565b90506000811315610542576105416104fa611115565b827f000000000000000000000000b5c578947de0fd71303f71f2c3d41767438bd0de73ffffffffffffffffffffffffffffffffffffffff166117609092919063ffffffff16565b5b50565b6000806000600281111561055c5761055b611e56565b5b83600281111561056f5761056e611e56565b5b141561058b576702c68af0bb140000621275009150915061064b565b6001600281111561059f5761059e611e56565b5b8360028111156105b2576105b1611e56565b5b14156105ce576706f05b59d3b2000062278d009150915061064b565b6002808111156105e1576105e0611e56565b5b8360028111156105f4576105f3611e56565b5b141561061057670de0b6b3a7640000624f1a009150915061064b565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610642906122ab565b60405180910390fd5b915091565b60075481565b60096020528060005260406000206000915090508060000154908060010154908060020154908060030154908060040160009054906101000a900460ff16908060040160019054906101000a900460ff16905086565b600080600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000600554905060006006549050600854421180156107125750600060035414155b1561078c57600060015442111561073a5760085460015461073391906122cb565b905061074b565b6008544261074891906122cb565b90505b60006003548261075b9190612171565b905082670de0b6b3a7640000826107729190612171565b61077c919061232e565b84610787919061235f565b935050505b6107ce83600301546107bf670de0b6b3a76400008587600101546107b09190612171565b6107ba919061232e565b6116f3565b6107c991906121cb565b6117e6565b9350505050919050565b6107e06115d0565b6000600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600081600001541161086a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086190612401565b60405180910390fd5b6001544210156108bc5780600201544210156108bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b29061246d565b60405180910390fd5b5b8060010154600660008282546108d291906122cb565b925050819055508060000154600760008282546108ef91906122cb565b925050819055506000610925670de0b6b3a764000060055484600101546109169190612171565b610920919061232e565b6116f3565b9050600061094183600301548361093c91906121cb565b6117e6565b90506109923384600001547f000000000000000000000000b5c578947de0fd71303f71f2c3d41767438bd0de73ffffffffffffffffffffffffffffffffffffffff166117609092919063ffffffff16565b600081146109e6576109e533827f000000000000000000000000b5c578947de0fd71303f71f2c3d41767438bd0de73ffffffffffffffffffffffffffffffffffffffff166117609092919063ffffffff16565b5b3373ffffffffffffffffffffffffffffffffffffffff167fc9695243a805adb74c91f28311176c65b417e842d5699893cef56d18bfa48cba82604051610a2c9190611d97565b60405180910390a23373ffffffffffffffffffffffffffffffffffffffff167f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a94243648460000154604051610a7e9190611d97565b60405180910390a2600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000808201600090556001820160009055600282016000905560038201600090556004820160006101000a81549060ff02191690556004820160016101000a81549060ff02191690555050610b18611833565b505050565b7f000000000000000000000000000000000000000000108b2a2c2802909400000081565b7f000000000000000000000000b5c578947de0fd71303f71f2c3d41767438bd0de81565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060040160019054906101000a900460ff1615610bf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bec906124d9565b60405180910390fd5b610bfd6115d0565b60006001541415610c43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3a90612545565b60405180910390fd5b60006002811115610c5757610c56611e56565b5b816002811115610c6a57610c69611e56565b5b1415610cd657600154620151806212750042610c86919061235f565b610c9091906122cb565b1115610cd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc8906125b1565b60405180910390fd5b610e38565b60016002811115610cea57610ce9611e56565b5b816002811115610cfd57610cfc611e56565b5b1415610d69576001546202a30062278d0042610d19919061235f565b610d2391906122cb565b1115610d64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5b9061261d565b60405180910390fd5b610e37565b600280811115610d7c57610d7b611e56565b5b816002811115610d8f57610d8e611e56565b5b1415610dfb576001546203f480624f1a0042610dab919061235f565b610db591906122cb565b1115610df6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ded90612689565b60405180910390fd5b610e36565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2d906122ab565b60405180910390fd5b5b5b600080610e4483610545565b915091506000670de0b6b3a76400008386610e5f9190612171565b610e69919061232e565b85610e74919061235f565b90508460076000828254610e88919061235f565b925050819055508060066000828254610ea1919061235f565b925050819055506040518060c001604052808681526020018281526020018342610ecb919061235f565b8152602001610ef9670de0b6b3a764000060055485610eea9190612171565b610ef4919061232e565b6116f3565b8152602001856002811115610f1157610f10611e56565b5b815260200160011515815250600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000820151816000015560208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a81548160ff02191690836002811115610faf57610fae611e56565b5b021790555060a08201518160040160016101000a81548160ff0219169083151502179055509050506110243330877f000000000000000000000000b5c578947de0fd71303f71f2c3d41767438bd0de73ffffffffffffffffffffffffffffffffffffffff16611944909392919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c8660405161106a9190611d97565b60405180910390a261107a611833565b5050505050565b6110896115c8565b73ffffffffffffffffffffffffffffffffffffffff166110a7611115565b73ffffffffffffffffffffffffffffffffffffffff16146110fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f4906120b6565b60405180910390fd5b61110760006119cd565b565b60055481565b60025481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60015481565b60065481565b60035481565b7f000000000000000000000000b5c578947de0fd71303f71f2c3d41767438bd0de81565b61117c6115c8565b73ffffffffffffffffffffffffffffffffffffffff1661119a611115565b73ffffffffffffffffffffffffffffffffffffffff16146111f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e7906120b6565b60405180910390fd5b600060015414611235576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122c906126f5565b60405180910390fd5b60007f000000000000000000000000b5c578947de0fd71303f71f2c3d41767438bd0de73ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000b5c578947de0fd71303f71f2c3d41767438bd0de73ffffffffffffffffffffffffffffffffffffffff161415611359576007547f000000000000000000000000b5c578947de0fd71303f71f2c3d41767438bd0de73ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611307919061203e565b602060405180830381865afa158015611324573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611348919061272a565b61135291906122cb565b90506113f6565b7f000000000000000000000000b5c578947de0fd71303f71f2c3d41767438bd0de73ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016113b2919061203e565b602060405180830381865afa1580156113cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f3919061272a565b90505b60008111611439576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611430906127a3565b60405180910390fd5b6276a70081611448919061232e565b6002819055506276a7004261145d919061235f565b60018190555042600881905550611472611833565b50565b6276a70081565b60007f000000000000000000000000000000000000000000108b2a2c28029094000000670de0b6b3a76400006007546114b59190612171565b6114bf919061232e565b905090565b60045481565b6114d26115c8565b73ffffffffffffffffffffffffffffffffffffffff166114f0611115565b73ffffffffffffffffffffffffffffffffffffffff1614611546576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153d906120b6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ad90612835565b60405180910390fd5b6115bf816119cd565b50565b60085481565b600033905090565b600854421180156115e45750600154600854105b80156115f35750600060015414155b156116f1576000600654905060008111156116b15760006001544211156116345760085460015461162491906122cb565b905060015460088190555061164c565b6008544261164291906122cb565b9050426008819055505b60006003548261165c9190612171565b90508060046000828254611670919061235f565b9250508190555082670de0b6b3a76400008261168c9190612171565b611696919061232e565b600560008282546116a7919061235f565b9250508190555050505b6008547f46fa466115eb42eb54d375f82faa91f2a3d06d3dc2d7ed4a4f936cda1b561efc826005546040516116e7929190611d6e565b60405180910390a2505b565b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821115611758576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174f906128c7565b60405180910390fd5b819050919050565b6117e18363a9059cbb60e01b848460405160240161177f9291906128e7565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611a91565b505050565b60008082121561182b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118229061295c565b60405180910390fd5b819050919050565b600061183d61147c565b905066b1a2bc2ec5000081101561185b576000600381905550611941565b67016345785d8a000081101561189157600a600560025461187c9190612171565b611886919061232e565b600381905550611940565b670214e8348c4f00008110156118c757600a60066002546118b29190612171565b6118bc919061232e565b60038190555061193f565b6702c68af0bb1400008110156118fd57600a60086002546118e89190612171565b6118f2919061232e565b60038190555061193e565b6703782dace9d9000081101561193357600a600960025461191e9190612171565b611928919061232e565b60038190555061193d565b6002546003819055505b5b5b5b5b50565b6119c7846323b872dd60e01b8585856040516024016119659392919061297c565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611a91565b50505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000611af3826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16611b589092919063ffffffff16565b9050600081511115611b535780806020019051810190611b1391906129df565b611b52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4990612a7e565b60405180910390fd5b5b505050565b6060611b678484600085611b70565b90509392505050565b606082471015611bb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bac90612b10565b60405180910390fd5b611bbe85611c84565b611bfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf490612b7c565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051611c269190612c16565b60006040518083038185875af1925050503d8060008114611c63576040519150601f19603f3d011682016040523d82523d6000602084013e611c68565b606091505b5091509150611c78828286611c97565b92505050949350505050565b600080823b905060008111915050919050565b60608315611ca757829050611cf7565b600083511115611cba5782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cee9190612c82565b60405180910390fd5b9392505050565b600080fd5b60038110611d1057600080fd5b50565b600081359050611d2281611d03565b92915050565b600060208284031215611d3e57611d3d611cfe565b5b6000611d4c84828501611d13565b91505092915050565b6000819050919050565b611d6881611d55565b82525050565b6000604082019050611d836000830185611d5f565b611d906020830184611d5f565b9392505050565b6000602082019050611dac6000830184611d5f565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611ddd82611db2565b9050919050565b611ded81611dd2565b8114611df857600080fd5b50565b600081359050611e0a81611de4565b92915050565b600060208284031215611e2657611e25611cfe565b5b6000611e3484828501611dfb565b91505092915050565b6000819050919050565b611e5081611e3d565b82525050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60038110611e9657611e95611e56565b5b50565b6000819050611ea782611e85565b919050565b6000611eb782611e99565b9050919050565b611ec781611eac565b82525050565b60008115159050919050565b611ee281611ecd565b82525050565b600060c082019050611efd6000830189611d5f565b611f0a6020830188611d5f565b611f176040830187611d5f565b611f246060830186611e47565b611f316080830185611ebe565b611f3e60a0830184611ed9565b979650505050505050565b6000819050919050565b6000611f6e611f69611f6484611db2565b611f49565b611db2565b9050919050565b6000611f8082611f53565b9050919050565b6000611f9282611f75565b9050919050565b611fa281611f87565b82525050565b6000602082019050611fbd6000830184611f99565b92915050565b611fcc81611d55565b8114611fd757600080fd5b50565b600081359050611fe981611fc3565b92915050565b6000806040838503121561200657612005611cfe565b5b600061201485828601611fda565b925050602061202585828601611d13565b9150509250929050565b61203881611dd2565b82525050565b6000602082019050612053600083018461202f565b92915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006120a0602083612059565b91506120ab8261206a565b602082019050919050565b600060208201905081810360008301526120cf81612093565b9050919050565b7f57696c6c206e6f742072656379636c65206265666f726520656e640000000000600082015250565b600061210c601b83612059565b9150612117826120d6565b602082019050919050565b6000602082019050818103600083015261213b816120ff565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061217c82611d55565b915061218783611d55565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156121c0576121bf612142565b5b828202905092915050565b60006121d682611e3d565b91506121e183611e3d565b9250827f80000000000000000000000000000000000000000000000000000000000000000182126000841215161561221c5761221b612142565b5b827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01821360008412161561225457612253612142565b5b828203905092915050565b7f496e76616c6964206c6f636b2076616c75650000000000000000000000000000600082015250565b6000612295601283612059565b91506122a08261225f565b602082019050919050565b600060208201905081810360008301526122c481612288565b9050919050565b60006122d682611d55565b91506122e183611d55565b9250828210156122f4576122f3612142565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061233982611d55565b915061234483611d55565b925082612354576123536122ff565b5b828204905092915050565b600061236a82611d55565b915061237583611d55565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156123aa576123a9612142565b5b828201905092915050565b7f506f736974696f6e20646f6573206e6f74206578697374730000000000000000600082015250565b60006123eb601883612059565b91506123f6826123b5565b602082019050919050565b6000602082019050818103600083015261241a816123de565b9050919050565b7f506f736974696f6e206973207374696c6c206c6f636b65640000000000000000600082015250565b6000612457601883612059565b915061246282612421565b602082019050919050565b600060208201905081810360008301526124868161244a565b9050919050565b7f416c726561647920646573706f73697400000000000000000000000000000000600082015250565b60006124c3601083612059565b91506124ce8261248d565b602082019050919050565b600060208201905081810360008301526124f2816124b6565b9050919050565b7f4e6f7420696e697469616c697a65640000000000000000000000000000000000600082015250565b600061252f600f83612059565b915061253a826124f9565b602082019050919050565b6000602082019050818103600083015261255e81612522565b9050919050565b7f4c657373207468616e2032207765656b73206c65667400000000000000000000600082015250565b600061259b601683612059565b91506125a682612565565b602082019050919050565b600060208201905081810360008301526125ca8161258e565b9050919050565b7f4c657373207468616e2031206d6f6e7468206c65667400000000000000000000600082015250565b6000612607601683612059565b9150612612826125d1565b602082019050919050565b60006020820190508181036000830152612636816125fa565b9050919050565b7f4c657373207468616e2032206d6f6e746873206c656674000000000000000000600082015250565b6000612673601783612059565b915061267e8261263d565b602082019050919050565b600060208201905081810360008301526126a281612666565b9050919050565b7f43616e6e6f7420696e697420616761696e000000000000000000000000000000600082015250565b60006126df601183612059565b91506126ea826126a9565b602082019050919050565b6000602082019050818103600083015261270e816126d2565b9050919050565b60008151905061272481611fc3565b92915050565b6000602082840312156127405761273f611cfe565b5b600061274e84828501612715565b91505092915050565b7f4e6f20726577617264732073656e740000000000000000000000000000000000600082015250565b600061278d600f83612059565b915061279882612757565b602082019050919050565b600060208201905081810360008301526127bc81612780565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061281f602683612059565b915061282a826127c3565b604082019050919050565b6000602082019050818103600083015261284e81612812565b9050919050565b7f53616665436173743a2076616c756520646f65736e27742066697420696e206160008201527f6e20696e74323536000000000000000000000000000000000000000000000000602082015250565b60006128b1602883612059565b91506128bc82612855565b604082019050919050565b600060208201905081810360008301526128e0816128a4565b9050919050565b60006040820190506128fc600083018561202f565b6129096020830184611d5f565b9392505050565b7f53616665436173743a2076616c7565206d75737420626520706f736974697665600082015250565b6000612946602083612059565b915061295182612910565b602082019050919050565b6000602082019050818103600083015261297581612939565b9050919050565b6000606082019050612991600083018661202f565b61299e602083018561202f565b6129ab6040830184611d5f565b949350505050565b6129bc81611ecd565b81146129c757600080fd5b50565b6000815190506129d9816129b3565b92915050565b6000602082840312156129f5576129f4611cfe565b5b6000612a03848285016129ca565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000612a68602a83612059565b9150612a7382612a0c565b604082019050919050565b60006020820190508181036000830152612a9781612a5b565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000612afa602683612059565b9150612b0582612a9e565b604082019050919050565b60006020820190508181036000830152612b2981612aed565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000612b66601d83612059565b9150612b7182612b30565b602082019050919050565b60006020820190508181036000830152612b9581612b59565b9050919050565b600081519050919050565b600081905092915050565b60005b83811015612bd0578082015181840152602081019050612bb5565b83811115612bdf576000848401525b50505050565b6000612bf082612b9c565b612bfa8185612ba7565b9350612c0a818560208601612bb2565b80840191505092915050565b6000612c228284612be5565b915081905092915050565b600081519050919050565b6000601f19601f8301169050919050565b6000612c5482612c2d565b612c5e8185612059565b9350612c6e818560208601612bb2565b612c7781612c38565b840191505092915050565b60006020820190508181036000830152612c9c8184612c49565b90509291505056fea2646970667358221220dbd009717cff1897dd6cec69b00d5e42c50921434435f29139d159a9287062bf64736f6c634300080b0033

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

000000000000000000000000b5c578947de0fd71303f71f2c3d41767438bd0de000000000000000000000000b5c578947de0fd71303f71f2c3d41767438bd0de000000000000000000000000411c02983e75ba87f2d71fdda884d6a97d6f4290000000000000000000000000000000000000000000108b2a2c28029094000000

-----Decoded View---------------
Arg [0] : _devt (address): 0xB5c578947de0fd71303F71F2C3d41767438bD0de
Arg [1] : _dvt (address): 0xB5c578947de0fd71303F71F2C3d41767438bD0de
Arg [2] : _owner (address): 0x411C02983e75bA87f2D71FDDa884d6A97D6f4290
Arg [3] : _targetPledgeAmount (uint256): 20000000000000000000000000

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000b5c578947de0fd71303f71f2c3d41767438bd0de
Arg [1] : 000000000000000000000000b5c578947de0fd71303f71f2c3d41767438bd0de
Arg [2] : 000000000000000000000000411c02983e75ba87f2d71fdda884d6a97d6f4290
Arg [3] : 000000000000000000000000000000000000000000108b2a2c28029094000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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