Contract 0x82598888c53123e19385ae08cc8bb14a0790068d 3

Contract Overview

Balance:
0 FTM

FTM Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x85a3eede124bad809828e451f30100eaa5c5312623a155306bb2955d80d9bf1aDeposit243798592021-12-08 18:55:221 hr 2 mins ago0x25b6a5ae758d88cf0da6c990ea8f21104337e617 IN  0x82598888c53123e19385ae08cc8bb14a0790068d0 FTM0.049663914081
0x13d78c69ccaa0438b0a083bb4c0d90ec6bb6b96b308b304bb26333b7fc6bd79bWithdraw All243725362021-12-08 17:10:532 hrs 47 mins ago0x00a9e48de891dd215acbf9dbb1e6dfbd536aa109 IN  0x82598888c53123e19385ae08cc8bb14a0790068d0 FTM0.01222843305
0xa14b57774a4698a305ce39c735f012f23bcd0f51bc7bf762612692c4737a0ba7Deposit243718952021-12-08 17:01:042 hrs 57 mins ago0x082ba975bebe9e4ac50ceb0281396ee089122816 IN  0x82598888c53123e19385ae08cc8bb14a0790068d0 FTM0.070313278955
0xf0f8c6c1c57197f7292b52e49de5273b24f991a3b07ec89071238cda9006b21aDeposit243713122021-12-08 16:52:283 hrs 5 mins ago0xd9dd24b174c3bbb389b0f4c63ebc8c71ec08a744 IN  0x82598888c53123e19385ae08cc8bb14a0790068d0 FTM0.070124699459
0xfb9de2ac4b09551c5d20fc07050836466d862e6284bf67c70ef5caf123be4fe2Withdraw All243696702021-12-08 16:26:503 hrs 31 mins ago0x98db0ea458762d039253687dfae8bd96476d4562 IN  0x82598888c53123e19385ae08cc8bb14a0790068d0 FTM0.012926305018
0x710b9cab754e0b46b1afb103bfd8af05ca50d933677c63eefac0c5ecad595b7eWithdraw All243696632021-12-08 16:26:353 hrs 31 mins ago0x98db0ea458762d039253687dfae8bd96476d4562 IN  0x82598888c53123e19385ae08cc8bb14a0790068d0 FTM0.061714902467
0xab6918b4708e4f39502b748f862647c92617056ebeb4540bfb3e6e272e74525cDeposit243678882021-12-08 16:00:233 hrs 57 mins ago0x082ba975bebe9e4ac50ceb0281396ee089122816 IN  0x82598888c53123e19385ae08cc8bb14a0790068d0 FTM0.075587872806
0x592279036a74423af089bb879b26d4eac713cb14809c48f9ca24e882f4af8480Withdraw All243663942021-12-08 15:39:144 hrs 18 mins ago0x62309a5fd817d6c6ecddd61000ba94a9564b9582 IN  0x82598888c53123e19385ae08cc8bb14a0790068d0 FTM0.057838255984
0xa15a6e027c96943c86ed0f7ce2bcf56fb792631b9fd89dfcc766b587fbe24bd1Deposit243658452021-12-08 15:30:244 hrs 27 mins ago0x40cd504c57a9947794803ef0fe700a5e723950ec IN  0x82598888c53123e19385ae08cc8bb14a0790068d0 FTM0.066348718744
0xda0d942166258ecf53e2265472dc86553a4e2fdbb7796646369c833da37a2b00Deposit243650092021-12-08 15:18:564 hrs 39 mins ago0x2f2d1d846c03120526736f81f60c19e83833bb6c IN  0x82598888c53123e19385ae08cc8bb14a0790068d0 FTM0.072997129533
0x3e9d685d1db939e90c1fdd2ba70fa04964a5a84b4a2caa17c729831bb5976a3eDeposit243616632021-12-08 14:33:215 hrs 24 mins ago0x1334756c3e04b37b7dd32a9c470aa61ad2d60dbc IN  0x82598888c53123e19385ae08cc8bb14a0790068d0 FTM0.091337479833
0x1859545548b99ec461b7e3c94b5100bc3c6f5797b7cfaa4c8c9f34e54a31b72fDeposit243590622021-12-08 13:53:316 hrs 4 mins ago0x9ec397eedd5937be77d8b54f6dd81b119c29d999 IN  0x82598888c53123e19385ae08cc8bb14a0790068d0 FTM0.058967176156
0x029f9d4d43273fc750bf45478a2c06a52b8cd4295e789e95d33cc2100546c335Withdraw All243586052021-12-08 13:46:396 hrs 11 mins ago0x2f2e8c0b1c8546bf94c27630476fac165450e34e IN  0x82598888c53123e19385ae08cc8bb14a0790068d0 FTM0.045915883603
0xe407496f052482b2211de9c47e04b660c9aa719cec925eb5e86a0922263d8dddDeposit243580572021-12-08 13:37:056 hrs 21 mins ago0x3be99af90b5ce71fe6c03d81263bf643556998d4 IN  0x82598888c53123e19385ae08cc8bb14a0790068d0 FTM0.067016956987
0x8e2b78bf6fce05985ef4139e8b32829174fd5e832fcc7688ab3d7a10432dcf29Deposit243570272021-12-08 13:22:136 hrs 35 mins ago0x923d5989154747d62cc20a8f3c3d0a907f150ee8 IN  0x82598888c53123e19385ae08cc8bb14a0790068d0 FTM0.063379441382
0xc2b7184c8ac177d72beba8a6c847dfd0d0a495bf304ab790493816bbcc93dd04Deposit243566032021-12-08 13:16:416 hrs 41 mins ago0x603cef0f3680f0a50d14f102e2184efe79950016 IN  0x82598888c53123e19385ae08cc8bb14a0790068d0 FTM0.061760449932
0x464c906f6f4be2b3db9d08d8a8f571f6157ff5234ee4673d9af613591815bb8cWithdraw All243545082021-12-08 12:46:127 hrs 12 mins ago0x22faad079c806e87c14e9cc59f58195dc0f7974f IN  0x82598888c53123e19385ae08cc8bb14a0790068d0 FTM0.053350110518
0xecc3aa42ae7b308ef42273cc2d701fb56348b3f542918d3ab9e7c87dec62ce01Deposit243536712021-12-08 12:34:457 hrs 23 mins ago0xcccc5812472846b6ac7b89380ba08b02a2102343 IN  0x82598888c53123e19385ae08cc8bb14a0790068d0 FTM0.064028691616
0x5f83ed887ba431cc56407753713166d69cecee6c000ae97357d0731b9b792928Deposit243512102021-12-08 12:00:237 hrs 57 mins ago0x8dfa7dcccd432d34cc76105ce6a6bbf4efc5648e IN  0x82598888c53123e19385ae08cc8bb14a0790068d0 FTM0.076787036961
0x09b5dfeaf5ad71d3f71a1d04d7f6117476f746d0d8914fa7b83c3ff25dd2cb17Deposit243511932021-12-08 12:00:097 hrs 58 mins ago0xa4afcc90767e6f5f735ac66e56a85ebdbec75d94 IN  0x82598888c53123e19385ae08cc8bb14a0790068d0 FTM0.07662708917
0x0f4b3e78269477c15a18315e5028cf838b05a23c89c98d5c6338e7824d0a0748Deposit243504552021-12-08 11:50:128 hrs 8 mins ago0xe542d50768823623704b1b812fd140a26b978ed8 IN  0x82598888c53123e19385ae08cc8bb14a0790068d0 FTM0.081629452996
0x51a19f6d1ca1e173fa11558dd206715b6efd619c00754c83b474ec1311222810Deposit243501582021-12-08 11:44:278 hrs 13 mins ago0xcccc5812472846b6ac7b89380ba08b02a2102343 IN  0x82598888c53123e19385ae08cc8bb14a0790068d0 FTM0.081661381401
0xe175bfe3206d602ea1fb862be407c8bd5fc11ef1a8d1cb80eb193e8d1e90badcDeposit243471952021-12-08 11:00:528 hrs 57 mins ago0xcccc5812472846b6ac7b89380ba08b02a2102343 IN  0x82598888c53123e19385ae08cc8bb14a0790068d0 FTM0.064441441674
0xd462cc8fc378fddd2b4d0fdb613d2d6d278f36386b17fa7234c63eb012e03ff6Deposit243463172021-12-08 10:47:469 hrs 10 mins ago0x96d019b19c1053cc204c15db794425f12a57ee23 IN  0x82598888c53123e19385ae08cc8bb14a0790068d0 FTM0.06675097058
0x1e680822f8506f46a92ed1df3e7725ea512d1050c59896efb6ba92c01bdff9c4Deposit243448282021-12-08 10:19:209 hrs 38 mins ago0xc2a8219448800f5c4187c8408b8566c151ceaee6 IN  0x82598888c53123e19385ae08cc8bb14a0790068d0 FTM0.044457737397
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x1b258ff2225064dc69ee2b43f41632c309934d0132d225ee8731d0b13cca5c9b197625002021-10-22 13:32:4547 days 6 hrs ago 0xe2dca5be87a29dd426d9cfa38cc08681ff3a84e3  Contract Creation0 FTM
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PearAutoCompoundSoloBSC

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

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

pragma solidity 0.6.12;

//  _ __   ___  __ _ _ __ ______ _ _ __  
// | '_ \ / _ \/ _` | '__|_  / _` | '_ \ 
// | |_) |  __/ (_| | |   / / (_| | |_) |
// | .__/ \___|\__,_|_|  /___\__,_| .__/ 
// | |                            | |    
// |_|                            |_|    

// https://pearzap.com/

import "./Ownable.sol";
import "./IMasterchef.sol";
import "./SafeERC20.sol";
import "./Pausable.sol";


contract PearAutoCompoundSoloBSC is Ownable, Pausable {
    using SafeERC20 for IERC20;
    using SafeMath for uint256;

    struct UserInfo {
        uint256 shares; // number of shares for a user
        uint256 lastDepositedTime; // keeps track of deposited time for potential penalty
        uint256 pearAtLastUserAction; // keeps track of pear deposited at the last user action
        uint256 lastUserActionTime; // keeps track of the last user action time
    }

    IERC20 public immutable token; // PEAR token

    IMasterChef public immutable masterchef;

    mapping(address => UserInfo) public userInfo;

    uint256 public totalShares;
    uint256 public lastHarvestedTime;
    address public admin;
    address public treasury;

    uint256 public constant MAX_PERFORMANCE_FEE = 500; // 5%
    uint256 public constant MAX_CALL_FEE = 100; // 1%
    uint256 public constant MAX_WITHDRAW_FEE = 100; // 1%
    uint256 public constant MAX_WITHDRAW_FEE_PERIOD = 72 hours; // 3 days

    uint256 public performanceFee = 0; // default 200 = 2%
    uint256 public callFee = 25; // default 25 = 0.25%
    uint256 public withdrawFee = 0; // default 10 = 0.1%
    uint256 public withdrawFeePeriod = 0 hours; // default 72 = 3 days
    uint256 internal masterchefPID = 2; // PID = 2
    address internal referrer = 0xa44A89fA2b31eb689036b0180295DF8b478Ae83f; //PZ giveaway referrer

    event Deposit(address indexed sender, uint256 amount, uint256 shares, uint256 lastDepositedTime);
    event Withdraw(address indexed sender, uint256 amount, uint256 shares);
    event Harvest(address indexed sender, uint256 performanceFee, uint256 callFee);
    event Pause();
    event Unpause();

    /**
     * @notice Constructor
     * @param _token: PEAR token contract
     * @param _masterchef: MasterChef contract
     * @param _admin: address of the admin
     * @param _treasury: address of the treasury (collects fees)
     */
    constructor(
        IERC20 _token,
        IMasterChef _masterchef,
        address _admin,
        address _treasury
    ) public {
        token = _token;
        masterchef = _masterchef;
        admin = _admin;
        treasury = _treasury;

        // Infinite approve
        IERC20(_token).safeApprove(address(_masterchef), uint256(-1));
    }

    /**
     * @notice Checks if the msg.sender is the admin address
     */
    modifier onlyAdmin() {
        require(msg.sender == admin, "admin: wut?");
        _;
    }

    /**
     * @notice Checks if the msg.sender is a contract or a proxy
     */
    modifier notContract() {
        require(!_isContract(msg.sender), "contract not allowed");
        require(msg.sender == tx.origin, "proxy contract not allowed");
        _;
    }

    /**
     * @notice Deposits funds into the PEAR Vault
     * @dev Only possible when contract not paused.
     * @param _amount: number of tokens to deposit (in PEAR)
     */
    function deposit(uint256 _amount) external whenNotPaused notContract {
        require(_amount > 0, "Nothing to deposit");

        uint256 pool = balanceOf();
        // manage pear burn trsf tax
        uint256 balanceBefore = token.balanceOf(address(this));
        token.safeTransferFrom(msg.sender, address(this), _amount);
        _amount = token.balanceOf(address(this)).sub(balanceBefore);
  
        uint256 currentShares = 0;
        if (totalShares != 0) {
            currentShares = (_amount.mul(totalShares)).div(pool);
        } else {
            currentShares = _amount;
        }
        
        UserInfo storage user = userInfo[msg.sender];

        user.shares = user.shares.add(currentShares);
        user.lastDepositedTime = block.timestamp;

        totalShares = totalShares.add(currentShares);

        user.pearAtLastUserAction = user.shares.mul(balanceOf()).div(totalShares);
        user.lastUserActionTime = block.timestamp;

        _earn();

        emit Deposit(msg.sender, _amount, currentShares, block.timestamp);
    }

    /**
     * @notice Withdraws all funds for a user
     */
    function withdrawAll() external notContract {
        withdraw(userInfo[msg.sender].shares);
    }

    /**
     * @notice Reinvests PEAR tokens into MasterChef
     * @dev Only possible when contract not paused.
     */
    function harvest() external notContract whenNotPaused {
        //Call the deposit harvest tokens to this contract
        IMasterChef(masterchef).deposit(masterchefPID, 0, referrer);

        uint256 bal = available();
        uint256 currentPerformanceFee = bal.mul(performanceFee).div(10000);
        token.safeTransfer(treasury, currentPerformanceFee);

        uint256 currentCallFee = bal.mul(callFee).div(10000);
        token.safeTransfer(msg.sender, currentCallFee);

        _earn();

        lastHarvestedTime = block.timestamp;

        emit Harvest(msg.sender, currentPerformanceFee, currentCallFee);
    }

    /**
     * @notice Sets admin address
     * @dev Only callable by the contract owner.
     */
    function setAdmin(address _admin) external onlyOwner {
        require(_admin != address(0), "Cannot be zero address");
        admin = _admin;
    }

    /**
     * @notice Sets treasury address
     * @dev Only callable by the contract owner.
     */
    function setTreasury(address _treasury) external onlyOwner {
        require(_treasury != address(0), "Cannot be zero address");
        treasury = _treasury;
    }

    /**
     * @notice Sets performance fee
     * @dev Only callable by the contract admin.
     */
    function setPerformanceFee(uint256 _performanceFee) external onlyAdmin {
        require(_performanceFee <= MAX_PERFORMANCE_FEE, "performanceFee cannot be more than MAX_PERFORMANCE_FEE");
        performanceFee = _performanceFee;
    }

    /**
     * @notice Sets call fee
     * @dev Only callable by the contract admin.
     */
    function setCallFee(uint256 _callFee) external onlyAdmin {
        require(_callFee <= MAX_CALL_FEE, "callFee cannot be more than MAX_CALL_FEE");
        callFee = _callFee;
    }

    /**
     * @notice Sets withdraw fee
     * @dev Only callable by the contract admin.
     */
    function setWithdrawFee(uint256 _withdrawFee) external onlyAdmin {
        require(_withdrawFee <= MAX_WITHDRAW_FEE, "withdrawFee cannot be more than MAX_WITHDRAW_FEE");
        withdrawFee = _withdrawFee;
    }

    /**
     * @notice Sets withdraw fee period
     * @dev Only callable by the contract admin.
     */
    function setWithdrawFeePeriod(uint256 _withdrawFeePeriod) external onlyAdmin {
        require(
            _withdrawFeePeriod <= MAX_WITHDRAW_FEE_PERIOD,
            "withdrawFeePeriod cannot be more than MAX_WITHDRAW_FEE_PERIOD"
        );
        withdrawFeePeriod = _withdrawFeePeriod;
    }

    /**
     * @notice Withdraws from MasterChef to Vault without caring about rewards.
     * @dev EMERGENCY ONLY. Only callable by the contract admin.
     */
    function emergencyWithdraw() external onlyAdmin {
        IMasterChef(masterchef).emergencyWithdraw(masterchefPID);
    }

    /**
     * @notice Withdraw unexpected tokens sent to the PEAR Vault
     */
    function inCaseTokensGetStuck(address _token) external onlyAdmin {
        require(_token != address(token), "Token cannot be same as deposit token");

        uint256 amount = IERC20(_token).balanceOf(address(this));
        IERC20(_token).safeTransfer(msg.sender, amount);
    }

    /**
     * @notice Triggers stopped state
     * @dev Only possible when contract not paused.
     */
    function pause() external onlyAdmin whenNotPaused {
        _pause();
        emit Pause();
    }

    /**
     * @notice Returns to normal state
     * @dev Only possible when contract is paused.
     */
    function unpause() external onlyAdmin whenPaused {
        _unpause();
        emit Unpause();
    }

    /**
     * @notice Calculates the expected harvest reward from third party
     * @return Expected reward to collect in PEAR
     */
    function calculateHarvestPearRewards() external view returns (uint256) {
        uint256 amount = IMasterChef(masterchef).pendingPear(masterchefPID, address(this));
        amount = amount.add(available());
        uint256 currentCallFee = amount.mul(callFee).div(10000);

        return currentCallFee;
    }

    /**
     * @notice Calculates the total pending rewards that can be restaked
     * @return Returns total pending PEAR rewards
     */
    function calculateTotalPendingPearRewards() external view returns (uint256) {
        uint256 amount = IMasterChef(masterchef).pendingPear(masterchefPID, address(this));
        amount = amount.add(available());

        return amount;
    }

    /**
     * @notice Calculates the price per share
     */
    function getPricePerFullShare() external view returns (uint256) {
        return totalShares == 0 ? 1e18 : balanceOf().mul(1e18).div(totalShares);
    }

    /**
     * @notice Withdraws from funds from the PEAR Vault
     * @param _shares: Number of shares to withdraw
     */
    function withdraw(uint256 _shares) public notContract {
        UserInfo storage user = userInfo[msg.sender];
        require(_shares > 0, "Nothing to withdraw");
        require(_shares <= user.shares, "Withdraw amount exceeds balance");

        uint256 currentAmount = (balanceOf().mul(_shares)).div(totalShares);
        user.shares = user.shares.sub(_shares);
        totalShares = totalShares.sub(_shares);

        uint256 bal = available();
        if (bal < currentAmount) {
            uint256 balWithdraw = currentAmount.sub(bal);
            IMasterChef(masterchef).withdraw(masterchefPID, balWithdraw);
            uint256 balAfter = available();
            uint256 diff = balAfter.sub(bal);
            if (diff < balWithdraw) {
                currentAmount = bal.add(diff);
            }
        }

        if (block.timestamp < user.lastDepositedTime.add(withdrawFeePeriod)) {
            uint256 currentWithdrawFee = currentAmount.mul(withdrawFee).div(10000);
            token.safeTransfer(treasury, currentWithdrawFee);
            currentAmount = currentAmount.sub(currentWithdrawFee);
        }

        if (user.shares > 0) {
            user.pearAtLastUserAction = user.shares.mul(balanceOf()).div(totalShares);
        } else {
            user.pearAtLastUserAction = 0;
        }

        user.lastUserActionTime = block.timestamp;

        token.safeTransfer(msg.sender, currentAmount);

        emit Withdraw(msg.sender, currentAmount, _shares);
    }

    /**
     * @notice Custom logic for how much the vault allows to be borrowed
     * @dev The contract puts 100% of the tokens to work.
     */
    function available() public view returns (uint256) {
        return token.balanceOf(address(this));
    }

    /**
     * @notice Calculates the total underlying tokens
     * @dev It includes tokens held by the contract and held in MasterChef
     */
    function balanceOf() public view returns (uint256) {
        (uint256 amount, ) = IMasterChef(masterchef).userInfo(masterchefPID, address(this));
        return token.balanceOf(address(this)).add(amount);
    }

    /**
     * @notice Deposits tokens into MasterChef to earn staking rewards
     */
    function _earn() internal {
        uint256 bal = available();
        if (bal > 0) {
            IMasterChef(masterchef).deposit(masterchefPID, bal,referrer);
        }
    }

    /**
     * @notice Checks if address is a contract
     * @dev It prevents contract from being targetted
     */
    function _isContract(address addr) internal view returns (bool) {
        uint256 size;
        assembly {
            size := extcodesize(addr)
        }
        return size > 0;
    }
    
    /**
     * @notice Calcultate the pending rewards per user
     * @dev It includes tokens held by the contract and held in MasterChef
     */
    function pendingPerUser(address _userAddress) public view returns (uint256,uint256) {
        UserInfo storage user = userInfo[_userAddress];
        
        //Pending in Masterchef and this contract
        uint256 pending = IMasterChef(masterchef).pendingPear(masterchefPID, address(this));
        pending = pending.add(available());
        pending = pending.mul(1e18);
        //Pending per shares
        pending = pending.div(totalShares);   
        //Pending per user
        pending = pending.mul(user.shares);

        uint256 staked = balanceOf().mul(1e18);
        //Staked per shares
        staked = staked = staked.div(totalShares); 
        //Staked per user
        staked = staked.mul(user.shares);        
        
        //Must be divided by 1e36 in the UI
        return (pending,staked);
    }  
    
}

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

pragma solidity ^0.6.2;

/**
 * @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) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

pragma solidity ^0.6.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 GSN 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 payable) {
        return msg.sender;
    }

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

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

pragma solidity ^0.6.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 5 of 9: IMasterchef.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

interface IMasterChef {

    function deposit(uint256 _pid, uint256 _amount, address _referrer) external;

    function withdraw(uint256 _pid, uint256 _amount) external;

    function pendingPear(uint256 _pid, address _user) external view returns (uint256);

    function userInfo(uint256 _pid, address _user) external view returns (uint256, uint256);

    function emergencyWithdraw(uint256 _pid) external;
}

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

pragma solidity ^0.6.0;

import "./Context.sol";
/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
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 () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

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

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

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

pragma solidity ^0.6.0;

import "./Context.sol";

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

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

    bool private _paused;

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

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

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

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

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

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

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

pragma solidity ^0.6.0;

import "./IERC20.sol";
import "./SafeMath.sol";
import "./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 SafeMath for uint256;
    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'
        // solhint-disable-next-line max-line-length
        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).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _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
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

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

pragma solidity ^0.6.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when 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.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

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

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

        return c;
    }

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"contract IMasterChef","name":"_masterchef","type":"address"},{"internalType":"address","name":"_admin","type":"address"},{"internalType":"address","name":"_treasury","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastDepositedTime","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"performanceFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"callFee","type":"uint256"}],"name":"Harvest","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":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpause","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"MAX_CALL_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PERFORMANCE_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WITHDRAW_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WITHDRAW_FEE_PERIOD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"available","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"calculateHarvestPearRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"calculateTotalPendingPearRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"callFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getPricePerFullShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"inCaseTokensGetStuck","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastHarvestedTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"masterchef","outputs":[{"internalType":"contract IMasterChef","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"}],"name":"pendingPerUser","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"performanceFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_admin","type":"address"}],"name":"setAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_callFee","type":"uint256"}],"name":"setCallFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_performanceFee","type":"uint256"}],"name":"setPerformanceFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_withdrawFee","type":"uint256"}],"name":"setWithdrawFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_withdrawFeePeriod","type":"uint256"}],"name":"setWithdrawFeePeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","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":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"shares","type":"uint256"},{"internalType":"uint256","name":"lastDepositedTime","type":"uint256"},{"internalType":"uint256","name":"pearAtLastUserAction","type":"uint256"},{"internalType":"uint256","name":"lastUserActionTime","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_shares","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawFeePeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60c060405260006006819055601960075560088190556009556002600a55600b80546001600160a01b03191673a44a89fa2b31eb689036b0180295df8b478ae83f1790553480156200005057600080fd5b5060405162002f5238038062002f52833981810160405260808110156200007657600080fd5b508051602082015160408301516060909301519192909160006200009962000162565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506000805460ff60a01b191690556001600160601b0319606085811b821660805284901b1660a052600480546001600160a01b038481166001600160a01b031992831617909255600580548484169216919091179055620001589085168460001962001ed862000166602090811b91909117901c565b5050505062000551565b3390565b801580620001f0575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015620001c057600080fd5b505afa158015620001d5573d6000803e3d6000fd5b505050506040513d6020811015620001ec57600080fd5b5051155b6200022d5760405162461bcd60e51b815260040180806020018281038252603681526020018062002f1c6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b17909152620002859185916200028a16565b505050565b6060620002e6826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166200034660201b62001ff0179092919060201c565b80519091501562000285578080602001905160208110156200030757600080fd5b5051620002855760405162461bcd60e51b815260040180806020018281038252602a81526020018062002ef2602a913960400191505060405180910390fd5b60606200035784846000856200035f565b949350505050565b60606200036c8562000517565b620003be576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310620003ff5780518252601f199092019160209182019101620003de565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811462000463576040519150601f19603f3d011682016040523d82523d6000602084013e62000468565b606091505b509150915081156200047e579150620003579050565b8051156200048f5780518082602001fd5b8360405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620004db578181015183820152602001620004c1565b50505050905090810190601f168015620005095780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159062000357575050151592915050565b60805160601c60a05160601c61291d620005d5600039806108365280610afb5280610ce45280610f49528061125652806113d75280611adc5280611e92528061228f52508061093852806109b45280610d7e5280610dd35280610e49528061131f528061183d52806118e352806119115280611bab5280611eb6525061291d6000f3fe608060405234801561001057600080fd5b506004361061023d5760003560e01c80637a7672fe1161013b578063d4b0de2f116100b8578063f0f442601161007c578063f0f44260146104c3578063f2fde38b146104e9578063f851a4401461050f578063fb1db27814610517578063fc0c546a1461051f5761023d565b8063d4b0de2f146102ca578063db2e21bc14610485578063def68a9c1461048d578063df10b4e6146104b3578063e941fa78146104bb5761023d565b806390321e1a116100ff57806390321e1a14610433578063b60f05311461043b578063b6ac642a14610443578063b6b55f2514610460578063bdca91651461047d5761023d565b80637a7672fe1461040b5780638456cb5914610413578063853828b61461041b57806387788782146104235780638da5cb5b1461042b5761023d565b80634641257d116101c9578063704b6c021161018d578063704b6c02146103b057806370897b23146103d6578063715018a6146103f3578063722713f7146103fb57806377c7b8fc146104035761023d565b80634641257d1461032157806348a0d754146103295780635c975abb1461033157806361d027b31461034d5780636521a1bf146103715761023d565b80632cfc5f01116102105780632cfc5f01146102e45780632e1a7d4d146102ec5780633a98ef39146103095780633f4ba83a14610311578063441aa2e6146103195761023d565b80631959a002146102425780631efac1b81461028e57806326465826146102ad5780632ad5a53f146102ca575b600080fd5b6102686004803603602081101561025857600080fd5b50356001600160a01b0316610527565b604080519485526020850193909352838301919091526060830152519081900360800190f35b6102ab600480360360208110156102a457600080fd5b503561054f565b005b6102ab600480360360208110156102c357600080fd5b50356105e3565b6102d2610675565b60408051918252519081900360200190f35b6102d261067a565b6102ab6004803603602081101561030257600080fd5b5035610681565b6102d2610a1b565b6102ab610a21565b6102d2610af6565b6102ab610bb6565b6102d2610e45565b610339610ee5565b604080519115158252519081900360200190f35b610355610ef5565b604080516001600160a01b039092168252519081900360200190f35b6103976004803603602081101561038757600080fd5b50356001600160a01b0316610f04565b6040805192835260208301919091528051918290030190f35b6102ab600480360360208110156103c657600080fd5b50356001600160a01b031661104e565b6102ab600480360360208110156103ec57600080fd5b503561111c565b6102ab6111af565b6102d2611251565b6102d2611398565b6102d26113d2565b6102ab6114ab565b6102ab61157d565b6102d261163b565b610355611641565b6102d2611650565b6102d2611656565b6102ab6004803603602081101561045957600080fd5b503561165c565b6102ab6004803603602081101561047657600080fd5b50356116ee565b6102d2611a87565b6102ab611a8d565b6102ab600480360360208110156104a357600080fd5b50356001600160a01b0316611b5c565b6102d2611caf565b6102d2611cb5565b6102ab600480360360208110156104d957600080fd5b50356001600160a01b0316611cbb565b6102ab600480360360208110156104ff57600080fd5b50356001600160a01b0316611d89565b610355611e81565b610355611e90565b610355611eb4565b6001602081905260009182526040909120805491810154600282015460039092015490919084565b6004546001600160a01b0316331461059c576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b6203f4808111156105de5760405162461bcd60e51b815260040180806020018281038252603d81526020018061281b603d913960400191505060405180910390fd5b600955565b6004546001600160a01b03163314610630576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b60648111156106705760405162461bcd60e51b815260040180806020018281038252602881526020018061277c6028913960400191505060405180910390fd5b600755565b606481565b6203f48081565b61068a33612007565b156106d3576040805162461bcd60e51b815260206004820152601460248201527318dbdb9d1c9858dd081b9bdd08185b1b1bddd95960621b604482015290519081900360640190fd5b333214610724576040805162461bcd60e51b815260206004820152601a6024820152791c1c9bde1e4818dbdb9d1c9858dd081b9bdd08185b1b1bddd95960321b604482015290519081900360640190fd5b3360009081526001602052604090208161077b576040805162461bcd60e51b81526020600482015260136024820152724e6f7468696e6720746f20776974686472617760681b604482015290519081900360640190fd5b80548211156107d1576040805162461bcd60e51b815260206004820152601f60248201527f576974686472617720616d6f756e7420657863656564732062616c616e636500604482015290519081900360640190fd5b60006107f16002546107eb856107e5611251565b9061200d565b9061206f565b825490915061080090846120b1565b825560025461080f90846120b1565b600255600061081c610e45565b9050818110156108ef57600061083283836120b1565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663441a3e70600a54836040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b1580156108a457600080fd5b505af11580156108b8573d6000803e3d6000fd5b5050505060006108c6610e45565b905060006108d482856120b1565b9050828110156108eb576108e884826120f3565b94505b5050505b6009546001840154610900916120f3565b42101561096f5760006109246127106107eb6008548661200d90919063ffffffff16565b600554909150610961906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811691168361214d565b61096b83826120b1565b9250505b8254156109995761098f6002546107eb610987611251565b86549061200d565b60028401556109a1565b600060028401555b4260038401556109db6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016338461214d565b6040805183815260208101869052815133927ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568928290030190a250505050565b60025481565b6004546001600160a01b03163314610a6e576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b600054600160a01b900460ff16610ac3576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b610acb61219f565b6040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663981bd7b8600a54306040518363ffffffff1660e01b815260040180838152602001826001600160a01b031681526020019250505060206040518083038186803b158015610b7057600080fd5b505afa158015610b84573d6000803e3d6000fd5b505050506040513d6020811015610b9a57600080fd5b50519050610bb0610ba9610e45565b82906120f3565b91505090565b610bbf33612007565b15610c08576040805162461bcd60e51b815260206004820152601460248201527318dbdb9d1c9858dd081b9bdd08185b1b1bddd95960621b604482015290519081900360640190fd5b333214610c59576040805162461bcd60e51b815260206004820152601a6024820152791c1c9bde1e4818dbdb9d1c9858dd081b9bdd08185b1b1bddd95960321b604482015290519081900360640190fd5b600054600160a01b900460ff1615610cab576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b600a54600b5460408051638dbdbe6d60e01b815260048101939093526000602484018190526001600160a01b03928316604485015290517f000000000000000000000000000000000000000000000000000000000000000090921692638dbdbe6d926064808301939282900301818387803b158015610d2957600080fd5b505af1158015610d3d573d6000803e3d6000fd5b505050506000610d4b610e45565b90506000610d6a6127106107eb6006548561200d90919063ffffffff16565b600554909150610da7906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811691168361214d565b6000610dc46127106107eb6007548661200d90919063ffffffff16565b9050610dfa6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016338361214d565b610e02612247565b426003556040805183815260208101839052815133927f71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae0660924954928290030190a2505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610eb457600080fd5b505afa158015610ec8573d6000803e3d6000fd5b505050506040513d6020811015610ede57600080fd5b5051905090565b600054600160a01b900460ff1690565b6005546001600160a01b031681565b6001600160a01b038082166000908152600160209081526040808320600a5482516313037af760e31b81526004810191909152306024820152915193948594919385937f00000000000000000000000000000000000000000000000000000000000000009092169263981bd7b8926044808201939291829003018186803b158015610f8e57600080fd5b505afa158015610fa2573d6000803e3d6000fd5b505050506040513d6020811015610fb857600080fd5b50519050610fc7610ba9610e45565b9050610fdb81670de0b6b3a764000061200d565b9050610ff26002548261206f90919063ffffffff16565b825490915061100290829061200d565b9050600061101a670de0b6b3a76400006107e5611251565b90506110316002548261206f90919063ffffffff16565b835490915061104190829061200d565b9194509092505050915091565b6110566122f4565b6000546001600160a01b039081169116146110a6576040805162461bcd60e51b815260206004820181905260248201526000805160206127fb833981519152604482015290519081900360640190fd5b6001600160a01b0381166110fa576040805162461bcd60e51b815260206004820152601660248201527543616e6e6f74206265207a65726f206164647265737360501b604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b03163314611169576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b6101f48111156111aa5760405162461bcd60e51b81526004018080602001828103825260368152602001806127a46036913960400191505060405180910390fd5b600655565b6111b76122f4565b6000546001600160a01b03908116911614611207576040805162461bcd60e51b815260206004820181905260248201526000805160206127fb833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166393f1a40b600a54306040518363ffffffff1660e01b815260040180838152602001826001600160a01b0316815260200192505050604080518083038186803b1580156112ca57600080fd5b505afa1580156112de573d6000803e3d6000fd5b505050506040513d60408110156112f457600080fd5b5051604080516370a0823160e01b81523060048201529051919250610bb09183916001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916370a0823191602480820192602092909190829003018186803b15801561136657600080fd5b505afa15801561137a573d6000803e3d6000fd5b505050506040513d602081101561139057600080fd5b5051906120f3565b60006002546000146113c3576113be6002546107eb670de0b6b3a76400006107e5611251565b6113cd565b670de0b6b3a76400005b905090565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663981bd7b8600a54306040518363ffffffff1660e01b815260040180838152602001826001600160a01b031681526020019250505060206040518083038186803b15801561144c57600080fd5b505afa158015611460573d6000803e3d6000fd5b505050506040513d602081101561147657600080fd5b50519050611485610ba9610e45565b905060006114a46127106107eb6007548561200d90919063ffffffff16565b9250505090565b6004546001600160a01b031633146114f8576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b600054600160a01b900460ff161561154a576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6115526122f8565b6040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b61158633612007565b156115cf576040805162461bcd60e51b815260206004820152601460248201527318dbdb9d1c9858dd081b9bdd08185b1b1bddd95960621b604482015290519081900360640190fd5b333214611620576040805162461bcd60e51b815260206004820152601a6024820152791c1c9bde1e4818dbdb9d1c9858dd081b9bdd08185b1b1bddd95960321b604482015290519081900360640190fd5b3360009081526001602052604090205461163990610681565b565b60065481565b6000546001600160a01b031690565b60075481565b60035481565b6004546001600160a01b031633146116a9576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b60648111156116e95760405162461bcd60e51b81526004018080602001828103825260308152602001806128826030913960400191505060405180910390fd5b600855565b600054600160a01b900460ff1615611740576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b61174933612007565b15611792576040805162461bcd60e51b815260206004820152601460248201527318dbdb9d1c9858dd081b9bdd08185b1b1bddd95960621b604482015290519081900360640190fd5b3332146117e3576040805162461bcd60e51b815260206004820152601a6024820152791c1c9bde1e4818dbdb9d1c9858dd081b9bdd08185b1b1bddd95960321b604482015290519081900360640190fd5b6000811161182d576040805162461bcd60e51b8152602060048201526012602482015271139bdd1a1a5b99c81d1bc819195c1bdcda5d60721b604482015290519081900360640190fd5b6000611837611251565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156118a857600080fd5b505afa1580156118bc573d6000803e3d6000fd5b505050506040513d60208110156118d257600080fd5b5051905061190b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016333086612386565b6119ae817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561197c57600080fd5b505afa158015611990573d6000803e3d6000fd5b505050506040513d60208110156119a657600080fd5b5051906120b1565b925060006002546000146119dc576119d5836107eb6002548761200d90919063ffffffff16565b90506119df565b50825b33600090815260016020526040902080546119fa90836120f3565b8155426001820155600254611a0f90836120f3565b6002819055611a2b906107eb611a23611251565b84549061200d565b6002820155426003820155611a3e612247565b60408051868152602081018490524281830152905133917f36af321ec8d3c75236829c5317affd40ddb308863a1236d2d277a4025cccee1e919081900360600190a25050505050565b6101f481565b6004546001600160a01b03163314611ada576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635312ea8e600a546040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015611b4257600080fd5b505af1158015611b56573d6000803e3d6000fd5b50505050565b6004546001600160a01b03163314611ba9576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b03161415611c1a5760405162461bcd60e51b81526004018080602001828103825260258152602001806127576025913960400191505060405180910390fd5b6000816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611c6957600080fd5b505afa158015611c7d573d6000803e3d6000fd5b505050506040513d6020811015611c9357600080fd5b50519050611cab6001600160a01b038316338361214d565b5050565b60095481565b60085481565b611cc36122f4565b6000546001600160a01b03908116911614611d13576040805162461bcd60e51b815260206004820181905260248201526000805160206127fb833981519152604482015290519081900360640190fd5b6001600160a01b038116611d67576040805162461bcd60e51b815260206004820152601660248201527543616e6e6f74206265207a65726f206164647265737360501b604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b611d916122f4565b6000546001600160a01b03908116911614611de1576040805162461bcd60e51b815260206004820181905260248201526000805160206127fb833981519152604482015290519081900360640190fd5b6001600160a01b038116611e265760405162461bcd60e51b81526004018080602001828103825260268152602001806127316026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031681565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b801580611f5e575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015611f3057600080fd5b505afa158015611f44573d6000803e3d6000fd5b505050506040513d6020811015611f5a57600080fd5b5051155b611f995760405162461bcd60e51b81526004018080602001828103825260368152602001806128b26036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052611feb9084906123dc565b505050565b6060611fff848460008561248d565b949350505050565b3b151590565b60008261201c57506000612069565b8282028284828161202957fe5b04146120665760405162461bcd60e51b81526004018080602001828103825260218152602001806127da6021913960400191505060405180910390fd5b90505b92915050565b600061206683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612638565b600061206683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061269d565b600082820183811015612066576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611feb9084906123dc565b600054600160a01b900460ff166121f4576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61222a6122f4565b604080516001600160a01b039092168252519081900360200190a1565b6000612251610e45565b905080156122f157600a54600b5460408051638dbdbe6d60e01b81526004810193909352602483018490526001600160a01b039182166044840152517f000000000000000000000000000000000000000000000000000000000000000090911691638dbdbe6d91606480830192600092919082900301818387803b1580156122d857600080fd5b505af11580156122ec573d6000803e3d6000fd5b505050505b50565b3390565b600054600160a01b900460ff161561234a576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861222a6122f4565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611b569085905b6060612431826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611ff09092919063ffffffff16565b805190915015611feb5780806020019051602081101561245057600080fd5b5051611feb5760405162461bcd60e51b815260040180806020018281038252602a815260200180612858602a913960400191505060405180910390fd5b6060612498856126f7565b6124e9576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106125285780518252601f199092019160209182019101612509565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461258a576040519150601f19603f3d011682016040523d82523d6000602084013e61258f565b606091505b509150915081156125a3579150611fff9050565b8051156125b35780518082602001fd5b8360405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156125fd5781810151838201526020016125e5565b50505050905090810190601f16801561262a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b600081836126875760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156125fd5781810151838201526020016125e5565b50600083858161269357fe5b0495945050505050565b600081848411156126ef5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156125fd5781810151838201526020016125e5565b505050900390565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611fff57505015159291505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373546f6b656e2063616e6e6f742062652073616d65206173206465706f73697420746f6b656e63616c6c4665652063616e6e6f74206265206d6f7265207468616e204d41585f43414c4c5f464545706572666f726d616e63654665652063616e6e6f74206265206d6f7265207468616e204d41585f504552464f524d414e43455f464545536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65727769746864726177466565506572696f642063616e6e6f74206265206d6f7265207468616e204d41585f57495448445241575f4645455f504552494f445361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656477697468647261774665652063616e6e6f74206265206d6f7265207468616e204d41585f57495448445241575f4645455361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a264697066735822122057b21c7382a0e38e3950adf1782258762addfcff03a9b43e6a1252e6fb44774b64736f6c634300060c00335361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e63650000000000000000000000007c10108d4b7f4bd659ee57a53b30df928244b3540000000000000000000000008c7c3c72205459e4190d9d3b80a51921f2678383000000000000000000000000f301911451e7fdb9900a65cb7acd6ded9e915a1d000000000000000000000000f301911451e7fdb9900a65cb7acd6ded9e915a1d

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

0000000000000000000000007c10108d4b7f4bd659ee57a53b30df928244b3540000000000000000000000008c7c3c72205459e4190d9d3b80a51921f2678383000000000000000000000000f301911451e7fdb9900a65cb7acd6ded9e915a1d000000000000000000000000f301911451e7fdb9900a65cb7acd6ded9e915a1d

-----Decoded View---------------
Arg [0] : _token (address): 0x7c10108d4b7f4bd659ee57a53b30df928244b354
Arg [1] : _masterchef (address): 0x8c7c3c72205459e4190d9d3b80a51921f2678383
Arg [2] : _admin (address): 0xf301911451e7fdb9900a65cb7acd6ded9e915a1d
Arg [3] : _treasury (address): 0xf301911451e7fdb9900a65cb7acd6ded9e915a1d

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000007c10108d4b7f4bd659ee57a53b30df928244b354
Arg [1] : 0000000000000000000000008c7c3c72205459e4190d9d3b80a51921f2678383
Arg [2] : 000000000000000000000000f301911451e7fdb9900a65cb7acd6ded9e915a1d
Arg [3] : 000000000000000000000000f301911451e7fdb9900a65cb7acd6ded9e915a1d


Deployed ByteCode Sourcemap

441:12666:5:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1011:44;;;;;;;;;;;;;;;;-1:-1:-1;1011:44:5;-1:-1:-1;;;;;1011:44:5;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6890:295;;;;;;;;;;;;;;;;-1:-1:-1;6890:295:5;;:::i;:::-;;6285:179;;;;;;;;;;;;;;;;-1:-1:-1;6285:179:5;;:::i;1249:42::-;;;:::i;:::-;;;;;;;;;;;;;;;;1361:58;;;:::i;9449:1480::-;;;;;;;;;;;;;;;;-1:-1:-1;9449:1480:5;;:::i;1062:26::-;;;:::i;8161:100::-;;;:::i;8858:241::-;;;:::i;4698:619::-;;;:::i;11082:105::-;;;:::i;1073:78:6:-;;;:::i;:::-;;;;;;;;;;;;;;;;;;1158:23:5;;;:::i;:::-;;;;-1:-1:-1;;;;;1158:23:5;;;;;;;;;;;;;;12280:818;;;;;;;;;;;;;;;;-1:-1:-1;12280:818:5;-1:-1:-1;;;;;12280:818:5;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;5422:149;;;;;;;;;;;;;;;;-1:-1:-1;5422:149:5;-1:-1:-1;;;;;5422:149:5;;:::i;5950:235::-;;;;;;;;;;;;;;;;-1:-1:-1;5950:235:5;;:::i;1737:148:4:-;;;:::i;11338:210:5:-;;;:::i;9167:152::-;;;:::i;8404:309::-;;;:::i;7952:97::-;;;:::i;4473:98::-;;;:::i;1436:33::-;;;:::i;1095:79:4:-;;;:::i;1495:27:5:-;;;:::i;1094:32::-;;;:::i;6568:211::-;;;;;;;;;;;;;;;;-1:-1:-1;6568:211:5;;:::i;3350:1055::-;;;;;;;;;;;;;;;;-1:-1:-1;3350:1055:5;;:::i;1188:49::-;;;:::i;7352:121::-;;;:::i;7560:280::-;;;;;;;;;;;;;;;;-1:-1:-1;7560:280:5;-1:-1:-1;;;;;7560:280:5;;:::i;1607:42::-;;;:::i;1550:30::-;;;:::i;5679:164::-;;;;;;;;;;;;;;;;-1:-1:-1;5679:164:5;-1:-1:-1;;;;;5679:164:5;;:::i;2040:244:4:-;;;;;;;;;;;;;;;;-1:-1:-1;2040:244:4;-1:-1:-1;;;;;2040:244:4;;:::i;1132:20:5:-;;;:::i;965:39::-;;;:::i;915:29::-;;;:::i;1011:44::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;6890:295::-;2859:5;;-1:-1:-1;;;;;2859:5:5;2845:10;:19;2837:43;;;;;-1:-1:-1;;;2837:43:5;;;;;;;;;;;;-1:-1:-1;;;2837:43:5;;;;;;;;;;;;;;;1411:8:::1;6998:18;:45;;6977:153;;;;-1:-1:-1::0;;;6977:153:5::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7140:17;:38:::0;6890:295::o;6285:179::-;2859:5;;-1:-1:-1;;;;;2859:5:5;2845:10;:19;2837:43;;;;;-1:-1:-1;;;2837:43:5;;;;;;;;;;;;-1:-1:-1;;;2837:43:5;;;;;;;;;;;;;;;1288:3:::1;6360:8;:24;;6352:77;;;;-1:-1:-1::0;;;6352:77:5::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6439:7;:18:::0;6285:179::o;1249:42::-;1288:3;1249:42;:::o;1361:58::-;1411:8;1361:58;:::o;9449:1480::-;3027:23;3039:10;3027:11;:23::i;:::-;3026:24;3018:57;;;;;-1:-1:-1;;;3018:57:5;;;;;;;;;;;;-1:-1:-1;;;3018:57:5;;;;;;;;;;;;;;;3093:10;3107:9;3093:23;3085:62;;;;;-1:-1:-1;;;3085:62:5;;;;;;;;;;;;-1:-1:-1;;;3085:62:5;;;;;;;;;;;;;;;9546:10:::1;9513:21;9537:20:::0;;;:8:::1;:20;::::0;;;;9575:11;9567:43:::1;;;::::0;;-1:-1:-1;;;9567:43:5;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;9567:43:5;;;;;;;;;;;;;::::1;;9639:11:::0;;9628:22;::::1;;9620:66;;;::::0;;-1:-1:-1;;;9620:66:5;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;9697:21;9721:43;9752:11;;9722:24;9738:7;9722:11;:9;:11::i;:::-;:15:::0;::::1;:24::i;:::-;9721:30:::0;::::1;:43::i;:::-;9788:11:::0;;9697:67;;-1:-1:-1;9788:24:5::1;::::0;9804:7;9788:15:::1;:24::i;:::-;9774:38:::0;;9836:11:::1;::::0;:24:::1;::::0;9852:7;9836:15:::1;:24::i;:::-;9822:11;:38:::0;9871:11:::1;9885;:9;:11::i;:::-;9871:25;;9916:13;9910:3;:19;9906:357;;;9945:19;9967:22;:13:::0;9985:3;9967:17:::1;:22::i;:::-;9945:44;;10015:10;-1:-1:-1::0;;;;;10003:32:5::1;;10036:13;;10051:11;10003:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;10077:16;10096:11;:9;:11::i;:::-;10077:30:::0;-1:-1:-1;10121:12:5::1;10136:17;10077:30:::0;10149:3;10136:12:::1;:17::i;:::-;10121:32;;10178:11;10171:4;:18;10167:86;;;10225:13;:3:::0;10233:4;10225:7:::1;:13::i;:::-;10209:29;;10167:86;9906:357;;;;10322:17;::::0;10295:22:::1;::::0;::::1;::::0;:45:::1;::::0;:26:::1;:45::i;:::-;10277:15;:63;10273:293;;;10356:26;10385:41;10420:5;10385:30;10403:11;;10385:13;:17;;:30;;;;:::i;:41::-;10459:8;::::0;10356:70;;-1:-1:-1;10440:48:5::1;::::0;-1:-1:-1;;;;;10440:5:5::1;:18:::0;::::1;::::0;10459:8:::1;10356:70:::0;10440:18:::1;:48::i;:::-;10518:37;:13:::0;10536:18;10518:17:::1;:37::i;:::-;10502:53;;10273:293;;10580:11:::0;;:15;10576:179:::1;;10639:45;10672:11;;10639:28;10655:11;:9;:11::i;:::-;10639::::0;;;:15:::1;:28::i;:45::-;10611:25;::::0;::::1;:73:::0;10576:179:::1;;;10743:1;10715:25;::::0;::::1;:29:::0;10576:179:::1;10791:15;10765:23;::::0;::::1;:41:::0;10817:45:::1;-1:-1:-1::0;;;;;10817:5:5::1;:18;10836:10;10848:13:::0;10817:18:::1;:45::i;:::-;10878:44;::::0;;;;;::::1;::::0;::::1;::::0;;;;;10887:10:::1;::::0;10878:44:::1;::::0;;;;;;::::1;3157:1;;;9449:1480:::0;:::o;1062:26::-;;;;:::o;8161:100::-;2859:5;;-1:-1:-1;;;;;2859:5:5;2845:10;:19;2837:43;;;;;-1:-1:-1;;;2837:43:5;;;;;;;;;;;;-1:-1:-1;;;2837:43:5;;;;;;;;;;;;;;;1667:7:6::1;::::0;-1:-1:-1;;;1667:7:6;::::1;;;1659:40;;;::::0;;-1:-1:-1;;;1659:40:6;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;1659:40:6;;;;;;;;;;;;;::::1;;8220:10:5::2;:8;:10::i;:::-;8245:9;::::0;::::2;::::0;;;::::2;8161:100::o:0;8858:241::-;8925:7;8944:14;8973:10;-1:-1:-1;;;;;8961:35:5;;8997:13;;9020:4;8961:65;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8961:65:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8961:65:5;;-1:-1:-1;9045:23:5;9056:11;:9;:11::i;:::-;9045:6;;:10;:23::i;:::-;9036:32;-1:-1:-1;;8858:241:5;:::o;4698:619::-;3027:23;3039:10;3027:11;:23::i;:::-;3026:24;3018:57;;;;;-1:-1:-1;;;3018:57:5;;;;;;;;;;;;-1:-1:-1;;;3018:57:5;;;;;;;;;;;;;;;3093:10;3107:9;3093:23;3085:62;;;;;-1:-1:-1;;;3085:62:5;;;;;;;;;;;;-1:-1:-1;;;3085:62:5;;;;;;;;;;;;;;;1391:7:6::1;::::0;-1:-1:-1;;;1391:7:6;::::1;;;1390:8;1382:37;;;::::0;;-1:-1:-1;;;1382:37:6;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;1382:37:6;;;;;;;;;;;;;::::1;;4853:13:5::2;::::0;4871:8:::2;::::0;4821:59:::2;::::0;;-1:-1:-1;;;4821:59:5;;::::2;::::0;::::2;::::0;;;;-1:-1:-1;4821:59:5;;;;;;-1:-1:-1;;;;;4871:8:5;;::::2;4821:59:::0;;;;;;4833:10:::2;4821:31:::0;;::::2;::::0;::::2;::::0;:59;;;;;-1:-1:-1;4821:59:5;;;;;-1:-1:-1;4821:31:5;:59;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;4891:11;4905;:9;:11::i;:::-;4891:25;;4926:29;4958:34;4986:5;4958:23;4966:14;;4958:3;:7;;:23;;;;:::i;:34::-;5021:8;::::0;4926:66;;-1:-1:-1;5002:51:5::2;::::0;-1:-1:-1;;;;;5002:5:5::2;:18:::0;::::2;::::0;5021:8:::2;4926:66:::0;5002:18:::2;:51::i;:::-;5064:22;5089:27;5110:5;5089:16;5097:7;;5089:3;:7;;:16;;;;:::i;:27::-;5064:52:::0;-1:-1:-1;5126:46:5::2;-1:-1:-1::0;;;;;5126:5:5::2;:18;5145:10;5064:52:::0;5126:18:::2;:46::i;:::-;5183:7;:5;:7::i;:::-;5221:15;5201:17;:35:::0;5252:58:::2;::::0;;;;;::::2;::::0;::::2;::::0;;;;;5260:10:::2;::::0;5252:58:::2;::::0;;;;;;::::2;1430:1:6;;;4698:619:5:o:0;11082:105::-;11124:7;11150:5;-1:-1:-1;;;;;11150:15:5;;11174:4;11150:30;;;;;;;;;;;;;-1:-1:-1;;;;;11150:30:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11150:30:5;;-1:-1:-1;11082:105:5;:::o;1073:78:6:-;1112:4;1136:7;-1:-1:-1;;;1136:7:6;;;;;1073:78::o;1158:23:5:-;;;-1:-1:-1;;;;;1158:23:5;;:::o;12280:818::-;-1:-1:-1;;;;;12398:22:5;;;12347:7;12398:22;;;:8;:22;;;;;;;;12543:13;;12507:65;;-1:-1:-1;;;12507:65:5;;;;;;;;;12566:4;12507:65;;;;;;12347:7;;;;12398:22;;12347:7;;12519:10;12507:35;;;;;;:65;;;;;12398:22;12507:65;;;;;;:35;:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12507:65:5;;-1:-1:-1;12592:24:5;12604:11;:9;:11::i;12592:24::-;12582:34;-1:-1:-1;12636:17:5;12582:34;12648:4;12636:11;:17::i;:::-;12626:27;;12702:24;12714:11;;12702:7;:11;;:24;;;;:::i;:::-;12788:11;;12692:34;;-1:-1:-1;12776:24:5;;12692:34;;12776:11;:24::i;:::-;12766:34;;12811:14;12828:21;12844:4;12828:11;:9;:11::i;:21::-;12811:38;;12905:23;12916:11;;12905:6;:10;;:23;;;;:::i;:::-;12985:11;;12896:32;;-1:-1:-1;12974:23:5;;12896:32;;12974:10;:23::i;:::-;13076:7;;-1:-1:-1;12965:32:5;;-1:-1:-1;;;12280:818:5;;;:::o;5422:149::-;1317:12:4;:10;:12::i;:::-;1307:6;;-1:-1:-1;;;;;1307:6:4;;;:22;;;1299:67;;;;;-1:-1:-1;;;1299:67:4;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1299:67:4;;;;;;;;;;;;;;;-1:-1:-1;;;;;5493:20:5;::::1;5485:55;;;::::0;;-1:-1:-1;;;5485:55:5;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;5485:55:5;;;;;;;;;;;;;::::1;;5550:5;:14:::0;;-1:-1:-1;;;;;;5550:14:5::1;-1:-1:-1::0;;;;;5550:14:5;;;::::1;::::0;;;::::1;::::0;;5422:149::o;5950:235::-;2859:5;;-1:-1:-1;;;;;2859:5:5;2845:10;:19;2837:43;;;;;-1:-1:-1;;;2837:43:5;;;;;;;;;;;;-1:-1:-1;;;2837:43:5;;;;;;;;;;;;;;;1234:3:::1;6039:15;:38;;6031:105;;;;-1:-1:-1::0;;;6031:105:5::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6146:14;:32:::0;5950:235::o;1737:148:4:-;1317:12;:10;:12::i;:::-;1307:6;;-1:-1:-1;;;;;1307:6:4;;;:22;;;1299:67;;;;;-1:-1:-1;;;1299:67:4;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1299:67:4;;;;;;;;;;;;;;;1844:1:::1;1828:6:::0;;1807:40:::1;::::0;-1:-1:-1;;;;;1828:6:4;;::::1;::::0;1807:40:::1;::::0;1844:1;;1807:40:::1;1875:1;1858:19:::0;;-1:-1:-1;;;;;;1858:19:4::1;::::0;;1737:148::o;11338:210:5:-;11380:7;11400:14;11432:10;-1:-1:-1;;;;;11420:32:5;;11453:13;;11476:4;11420:62;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;11420:62:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11420:62:5;;11499:30;;-1:-1:-1;;;11499:30:5;;11523:4;11499:30;;;;;;11420:62;;-1:-1:-1;11499:42:5;;11420:62;;-1:-1:-1;;;;;11499:5:5;:15;;;;:30;;;;;11420:62;;11499:30;;;;;;;;:15;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11499:30:5;;:34;:42::i;9167:152::-;9222:7;9248:11;;9263:1;9248:16;:64;;9274:38;9300:11;;9274:21;9290:4;9274:11;:9;:11::i;:38::-;9248:64;;;9267:4;9248:64;9241:71;;9167:152;:::o;8404:309::-;8466:7;8485:14;8514:10;-1:-1:-1;;;;;8502:35:5;;8538:13;;8561:4;8502:65;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8502:65:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8502:65:5;;-1:-1:-1;8586:23:5;8597:11;:9;:11::i;8586:23::-;8577:32;;8619:22;8644:30;8668:5;8644:19;8655:7;;8644:6;:10;;:19;;;;:::i;:30::-;8619:55;-1:-1:-1;;;8404:309:5;:::o;7952:97::-;2859:5;;-1:-1:-1;;;;;2859:5:5;2845:10;:19;2837:43;;;;;-1:-1:-1;;;2837:43:5;;;;;;;;;;;;-1:-1:-1;;;2837:43:5;;;;;;;;;;;;;;;1391:7:6::1;::::0;-1:-1:-1;;;1391:7:6;::::1;;;1390:8;1382:37;;;::::0;;-1:-1:-1;;;1382:37:6;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;1382:37:6;;;;;;;;;;;;;::::1;;8012:8:5::2;:6;:8::i;:::-;8035:7;::::0;::::2;::::0;;;::::2;7952:97::o:0;4473:98::-;3027:23;3039:10;3027:11;:23::i;:::-;3026:24;3018:57;;;;;-1:-1:-1;;;3018:57:5;;;;;;;;;;;;-1:-1:-1;;;3018:57:5;;;;;;;;;;;;;;;3093:10;3107:9;3093:23;3085:62;;;;;-1:-1:-1;;;3085:62:5;;;;;;;;;;;;-1:-1:-1;;;3085:62:5;;;;;;;;;;;;;;;4545:10:::1;4536:20;::::0;;;:8:::1;:20;::::0;;;;:27;4527:37:::1;::::0;:8:::1;:37::i;:::-;4473:98::o:0;1436:33::-;;;;:::o;1095:79:4:-;1133:7;1160:6;-1:-1:-1;;;;;1160:6:4;1095:79;:::o;1495:27:5:-;;;;:::o;1094:32::-;;;;:::o;6568:211::-;2859:5;;-1:-1:-1;;;;;2859:5:5;2845:10;:19;2837:43;;;;;-1:-1:-1;;;2837:43:5;;;;;;;;;;;;-1:-1:-1;;;2837:43:5;;;;;;;;;;;;;;;1346:3:::1;6651:12;:32;;6643:93;;;;-1:-1:-1::0;;;6643:93:5::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6746:11;:26:::0;6568:211::o;3350:1055::-;1391:7:6;;-1:-1:-1;;;1391:7:6;;;;1390:8;1382:37;;;;;-1:-1:-1;;;1382:37:6;;;;;;;;;;;;-1:-1:-1;;;1382:37:6;;;;;;;;;;;;;;;3027:23:5::1;3039:10;3027:11;:23::i;:::-;3026:24;3018:57;;;::::0;;-1:-1:-1;;;3018:57:5;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;3018:57:5;;;;;;;;;;;;;::::1;;3093:10;3107:9;3093:23;3085:62;;;::::0;;-1:-1:-1;;;3085:62:5;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;3085:62:5;;;;;;;;;;;;;::::1;;3447:1:::2;3437:7;:11;3429:42;;;::::0;;-1:-1:-1;;;3429:42:5;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;3429:42:5;;;;;;;;;;;;;::::2;;3482:12;3497:11;:9;:11::i;:::-;3482:26;;3555:21;3579:5;-1:-1:-1::0;;;;;3579:15:5::2;;3603:4;3579:30;;;;;;;;;;;;;-1:-1:-1::0;;;;;3579:30:5::2;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;3579:30:5;;-1:-1:-1;3619:58:5::2;-1:-1:-1::0;;;;;3619:5:5::2;:22;3642:10;3662:4;3669:7:::0;3619:22:::2;:58::i;:::-;3697:49;3732:13;3697:5;-1:-1:-1::0;;;;;3697:15:5::2;;3721:4;3697:30;;;;;;;;;;;;;-1:-1:-1::0;;;;;3697:30:5::2;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;3697:30:5;;:34:::2;:49::i;:::-;3687:59;;3759:21;3798:11;;3813:1;3798:16;3794:153;;3846:36;3877:4;3847:24;3859:11;;3847:7;:11;;:24;;;;:::i;3846:36::-;3830:52;;3794:153;;;-1:-1:-1::0;3929:7:5;3794:153:::2;3998:10;3965:21;3989:20:::0;;;:8:::2;:20;::::0;;;;4034:11;;:30:::2;::::0;4050:13;4034:15:::2;:30::i;:::-;4020:44:::0;;4099:15:::2;4074:22;::::0;::::2;:40:::0;4139:11:::2;::::0;:30:::2;::::0;4155:13;4139:15:::2;:30::i;:::-;4125:11;:44:::0;;;4208:45:::2;::::0;:28:::2;4224:11;:9;:11::i;:::-;4208::::0;;;:15:::2;:28::i;:45::-;4180:25;::::0;::::2;:73:::0;4289:15:::2;4263:23;::::0;::::2;:41:::0;4315:7:::2;:5;:7::i;:::-;4338:60;::::0;;;;;::::2;::::0;::::2;::::0;;;4382:15:::2;4338:60:::0;;;;;;4346:10:::2;::::0;4338:60:::2;::::0;;;;;;;;::::2;3157:1;;;;3350:1055:::0;:::o;1188:49::-;1234:3;1188:49;:::o;7352:121::-;2859:5;;-1:-1:-1;;;;;2859:5:5;2845:10;:19;2837:43;;;;;-1:-1:-1;;;2837:43:5;;;;;;;;;;;;-1:-1:-1;;;2837:43:5;;;;;;;;;;;;;;;7422:10:::1;-1:-1:-1::0;;;;;7410:41:5::1;;7452:13;;7410:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;7352:121::o:0;7560:280::-;2859:5;;-1:-1:-1;;;;;2859:5:5;2845:10;:19;2837:43;;;;;-1:-1:-1;;;2837:43:5;;;;;;;;;;;;-1:-1:-1;;;2837:43:5;;;;;;;;;;;;;;;7661:5:::1;-1:-1:-1::0;;;;;7643:24:5::1;:6;-1:-1:-1::0;;;;;7643:24:5::1;;;7635:74;;;;-1:-1:-1::0;;;7635:74:5::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7720:14;7744:6;-1:-1:-1::0;;;;;7737:24:5::1;;7770:4;7737:39;;;;;;;;;;;;;-1:-1:-1::0;;;;;7737:39:5::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;7737:39:5;;-1:-1:-1;7786:47:5::1;-1:-1:-1::0;;;;;7786:27:5;::::1;7814:10;7737:39:::0;7786:27:::1;:47::i;:::-;2890:1;7560:280:::0;:::o;1607:42::-;;;;:::o;1550:30::-;;;;:::o;5679:164::-;1317:12:4;:10;:12::i;:::-;1307:6;;-1:-1:-1;;;;;1307:6:4;;;:22;;;1299:67;;;;;-1:-1:-1;;;1299:67:4;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1299:67:4;;;;;;;;;;;;;;;-1:-1:-1;;;;;5756:23:5;::::1;5748:58;;;::::0;;-1:-1:-1;;;5748:58:5;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;5748:58:5;;;;;;;;;;;;;::::1;;5816:8;:20:::0;;-1:-1:-1;;;;;;5816:20:5::1;-1:-1:-1::0;;;;;5816:20:5;;;::::1;::::0;;;::::1;::::0;;5679:164::o;2040:244:4:-;1317:12;:10;:12::i;:::-;1307:6;;-1:-1:-1;;;;;1307:6:4;;;:22;;;1299:67;;;;;-1:-1:-1;;;1299:67:4;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1299:67:4;;;;;;;;;;;;;;;-1:-1:-1;;;;;2129:22:4;::::1;2121:73;;;;-1:-1:-1::0;;;2121:73:4::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2231:6;::::0;;2210:38:::1;::::0;-1:-1:-1;;;;;2210:38:4;;::::1;::::0;2231:6;::::1;::::0;2210:38:::1;::::0;::::1;2259:6;:17:::0;;-1:-1:-1;;;;;;2259:17:4::1;-1:-1:-1::0;;;;;2259:17:4;;;::::1;::::0;;;::::1;::::0;;2040:244::o;1132:20:5:-;;;-1:-1:-1;;;;;1132:20:5;;:::o;965:39::-;;;:::o;915:29::-;;;:::o;1357:622:7:-;1727:10;;;1726:62;;-1:-1:-1;1743:39:7;;;-1:-1:-1;;;1743:39:7;;1767:4;1743:39;;;;-1:-1:-1;;;;;1743:39:7;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1743:39:7;:44;1726:62;1718:152;;;;-1:-1:-1;;;1718:152:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1908:62;;;-1:-1:-1;;;;;1908:62:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1908:62:7;-1:-1:-1;;;1908:62:7;;;1881:90;;1901:5;;1881:19;:90::i;:::-;1357:622;;;:::o;3858:196:0:-;3961:12;3993:53;4016:6;4024:4;4030:1;4033:12;3993:22;:53::i;:::-;3986:60;3858:196;-1:-1:-1;;;;3858:196:0:o;11939:185:5:-;12066:17;12109:8;;;11939:185::o;2256:471:8:-;2314:7;2559:6;2555:47;;-1:-1:-1;2589:1:8;2582:8;;2555:47;2626:5;;;2630:1;2626;:5;:1;2650:5;;;;;:10;2642:56;;;;-1:-1:-1;;;2642:56:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2718:1;-1:-1:-1;2256:471:8;;;;;:::o;3203:132::-;3261:7;3288:39;3292:1;3295;3288:39;;;;;;;;;;;;;;;;;:3;:39::i;1366:136::-;1424:7;1451:43;1455:1;1458;1451:43;;;;;;;;;;;;;;;;;:3;:43::i;902:181::-;960:7;992:5;;;1016:6;;;;1008:46;;;;;-1:-1:-1;;;1008:46:8;;;;;;;;;;;;;;;;;;;;;;;;;;;698:177:7;808:58;;;-1:-1:-1;;;;;808:58:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;808:58:7;-1:-1:-1;;;808:58:7;;;781:86;;801:5;;781:19;:86::i;2122:120:6:-;1667:7;;-1:-1:-1;;;1667:7:6;;;;1659:40;;;;;-1:-1:-1;;;1659:40:6;;;;;;;;;;;;-1:-1:-1;;;1659:40:6;;;;;;;;;;;;;;;2191:5:::1;2181:15:::0;;-1:-1:-1;;;;2181:15:6::1;::::0;;2212:22:::1;2221:12;:10;:12::i;:::-;2212:22;::::0;;-1:-1:-1;;;;;2212:22:6;;::::1;::::0;;;;;;;::::1;::::0;;::::1;2122:120::o:0;11641:175:5:-;11677:11;11691;:9;:11::i;:::-;11677:25;-1:-1:-1;11716:7:5;;11712:98;;11771:13;;11790:8;;11739:60;;;-1:-1:-1;;;11739:60:5;;;;;;;;;;;;;;;-1:-1:-1;;;;;11790:8:5;;;11739:60;;;;;11751:10;11739:31;;;;;;:60;;;;;-1:-1:-1;;11739:60:5;;;;;;;-1:-1:-1;11739:31:5;:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11712:98;11641:175;:::o;605:106:1:-;693:10;605:106;:::o;1863:118:6:-;1391:7;;-1:-1:-1;;;1391:7:6;;;;1390:8;1382:37;;;;;-1:-1:-1;;;1382:37:6;;;;;;;;;;;;-1:-1:-1;;;1382:37:6;;;;;;;;;;;;;;;1923:7:::1;:14:::0;;-1:-1:-1;;;;1923:14:6::1;-1:-1:-1::0;;;1923:14:6::1;::::0;;1953:20:::1;1960:12;:10;:12::i;883:205:7:-:0;1011:68;;;-1:-1:-1;;;;;1011:68:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1011:68:7;-1:-1:-1;;;1011:68:7;;;984:96;;1004:5;;3003:761;3427:23;3453:69;3481:4;3453:69;;;;;;;;;;;;;;;;;3461:5;-1:-1:-1;;;;;3453:27:7;;;:69;;;;;:::i;:::-;3537:17;;3427:95;;-1:-1:-1;3537:21:7;3533:224;;3679:10;3668:30;;;;;;;;;;;;;;;-1:-1:-1;3668:30:7;3660:85;;;;-1:-1:-1;;;3660:85:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5235:979:0;5365:12;5398:18;5409:6;5398:10;:18::i;:::-;5390:60;;;;;-1:-1:-1;;;5390:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;5524:12;5538:23;5565:6;-1:-1:-1;;;;;5565:11:0;5585:8;5596:4;5565:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5565:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5523:78;;;;5616:7;5612:595;;;5647:10;-1:-1:-1;5640:17:0;;-1:-1:-1;5640:17:0;5612:595;5761:17;;:21;5757:439;;6024:10;6018:17;6085:15;6072:10;6068:2;6064:19;6057:44;5972:148;6167:12;6160:20;;-1:-1:-1;;;6160:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3831:278:8;3917:7;3952:12;3945:5;3937:28;;;;-1:-1:-1;;;3937:28:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3976:9;3992:1;3988;:5;;;;;;;3831:278;-1:-1:-1;;;;;3831:278:8:o;1805:192::-;1891:7;1927:12;1919:6;;;;1911:29;;;;-1:-1:-1;;;1911:29:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1963:5:8;;;1805:192::o;743:619:0:-;803:4;1271:20;;1114:66;1311:23;;;;;;:42;;-1:-1:-1;;1338:15:0;;;1303:51;-1:-1:-1;;743:619:0:o

Swarm Source

ipfs://57b21c7382a0e38e3950adf1782258762addfcff03a9b43e6a1252e6fb44774b
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Validator ID :
0 FTM

Amount Staked
0

Amount Delegated
0

Staking Total
0

Staking Start Epoch
0

Staking Start Time
0

Proof of Importance
0

Origination Score
0

Validation Score
0

Active
0

Online
0

Downtime
0 s
Address Amount claimed Rewards Created On Epoch Created On
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.