Contract 0xcadc8cb26c8c7cb46500e61171b5f27e9bd7889d 3

 

Contract Overview

Pancake Bunny: Bunny Pool
Balance:
0 BNB

BNB Value:
$0.00

Token:
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x4de25cbdce1559fbc07a9b5edead892247920c112280beb491a7debe0deac5f5Withdraw All112184022021-09-25 9:18:344 mins ago0xd21275291373a932c05df01587a33e9ff762e3a3 IN  Pancake Bunny: Bunny Pool0 BNB0.0015698
0x9e1c1bf88fc0bfed05d88a58cf223ead3700a9bb3235a953550594a85d714f23Withdraw All112183272021-09-25 9:14:498 mins ago0x43cc06044c2537c027f61afe2e41eabccdf36b30 IN  Pancake Bunny: Bunny Pool0 BNB0.0016448
0x3d0f8886bf86cb6bf0a961e119105b72e9d0b3b190e28311573ebfd9e56d5630Withdraw All112170532021-09-25 8:11:001 hr 12 mins ago0xe9bf41fef2ac15fcb1f34bd2294d0b2194f9abdc IN  Pancake Bunny: Bunny Pool0 BNB0.0015698
0x9fa2d3c3752437eed604f80268af680d8abc8eb402aabbc496a39e3e9aa656cbGet Reward112168282021-09-25 7:59:111 hr 24 mins ago0xcdb74395472e05e1c8f2addbbe48b0aae0a0d39b IN  Pancake Bunny: Bunny Pool0 BNB0.00022103
0x21bd55f85fb86daa9899f465513bb347b822db7e628f92d668e12742a3be8d75Withdraw All112168082021-09-25 7:58:111 hr 25 mins ago0xcdb74395472e05e1c8f2addbbe48b0aae0a0d39b IN  Pancake Bunny: Bunny Pool0 BNB0.0016448
0x6bd504038c65a017332c13c5ded6635c7192c7e043479173bdfa634d2f9d224cWithdraw All112167042021-09-25 7:52:591 hr 30 mins ago0xa74fec107d99b6e2ce33be3c675af549b4a31288 IN  Pancake Bunny: Bunny Pool0 BNB0.0015698
0x44318bcfa717ea148d17d1072cf70332d703e99b1eade24685279151e2590229Withdraw All112162462021-09-25 7:30:041 hr 53 mins ago0x4ebfc0ccff5d16de574711126433978b9a4320dd IN  Pancake Bunny: Bunny Pool0 BNB0.0014948
0x1593f89310193a6b5bc085d109eb4aa04eb2f91966fac5f2097efd6f1950b505Withdraw All112155842021-09-25 6:56:582 hrs 26 mins ago0x98c3cdd30eb1554c0bb1e1620368d549becbb5af IN  Pancake Bunny: Bunny Pool0 BNB0.0015158
0x2af9e1ee3aad3ecd62cfd7de34e08c79ee27d30a37c91909d007d5089223955fWithdraw All112146622021-09-25 6:10:503 hrs 12 mins ago0x4c703374cb878fd51615c38a190b8731eca11085 IN  Pancake Bunny: Bunny Pool0 BNB0.0016448
0x262c734638c4710f4c43a145b7078c9fca04261771d21deebccdfe45bb6d0879Withdraw All112136462021-09-25 5:19:184 hrs 4 mins ago0x7e34136187ae2adb360a8bdd805cfc69e05790d8 IN  Pancake Bunny: Bunny Pool0 BNB0.0015158
0xfabdeb57d68543c49b04deb95835e10593e009f507556ef8856d12a57ad50ae9Withdraw All112131352021-09-25 4:53:454 hrs 29 mins ago0xfe274704c9a4768e538c64608072a83caec01171 IN  Pancake Bunny: Bunny Pool0 BNB0.0015698
0xfd918ec6cf4b4c2d56daeb594a5daaf9be8c4cce8e1df50b3719da970acf6ad3Withdraw All112130022021-09-25 4:47:034 hrs 36 mins ago0xda179069e1800c1420a3c82ca92dd04c5a0d017c IN  Pancake Bunny: Bunny Pool0 BNB0.001677696
0x156b2d67b7dc064e4724d6988b1cd927bb1e61f51ed48d7875b35865a86f0652Withdraw All112129492021-09-25 4:44:174 hrs 39 mins ago0x674d6d82fff02664762ebd5bd426b29ba547565d IN  Pancake Bunny: Bunny Pool0 BNB0.00042164
0xfc774b7c91e4a0a1f343a1873922bd9c5ff15eb4df08e48d84623d0977c13835Withdraw All112123192021-09-25 4:12:375 hrs 10 mins ago0xbb05433bf310d97a263a89a9c3a8f9440058575f IN  Pancake Bunny: Bunny Pool0 BNB0.0015698
0xa6b6129de66504e86d6ee822a608763b72a769f3ed19c9dc2c0222eebf459635Withdraw All112111362021-09-25 3:13:036 hrs 10 mins ago0xe23ac5d6a93193b6efeb8b808556a3918b9aee48 IN  Pancake Bunny: Bunny Pool0 BNB0.0015698
0xd3037221febd58d32c11176a892309bfdcdd4b665664de2c1aa38eec18445854Withdraw All112088532021-09-25 1:18:268 hrs 4 mins ago0x3dcbb335b2b75c1473377eabe391db655b3bbeff IN  Pancake Bunny: Bunny Pool0 BNB0.0014948
0x31f1d40353defbead340a60da16bdac9fb64e7f02f5e0946eddbb6d53f97583cWithdraw All112080612021-09-25 0:38:208 hrs 45 mins ago0x6fb19e97e2cefd9d38c3f0ed8bbd8f60753cf5e1 IN  Pancake Bunny: Bunny Pool0 BNB0.0016448
0xc12ae8fe84a7b5af8fc7b4a16f3e10009ed141f395bcb4cf933dfda7b565c7fbWithdraw All112074092021-09-25 0:05:419 hrs 17 mins ago0x204c43a954c4e8c487eccf47d66dd1d5971340f5 IN  Pancake Bunny: Bunny Pool0 BNB0.00049664
0x0578b009b89844aa2d53782e0c258e6d268ae3292ec8fc238c22f3b67d315a12Withdraw All112071862021-09-24 23:54:329 hrs 28 mins ago0xdffa0be294ab9bcdc583dbd3a60043732b69f35e IN  Pancake Bunny: Bunny Pool0 BNB0.0014408
0x2f806fa66a41ab9680fed70bd2a12eb643186187ab225755db691ca4ec3ab9ebWithdraw All112065342021-09-24 23:21:5610 hrs 1 min ago0xa2f0a40ca553135f211078ad2bc45871a703a109 IN  Pancake Bunny: Bunny Pool0 BNB0.0014948
0x18bad604b3d2723a2d5ac3667536c981ecb8b7f87fe6b5a01b64e34804746f10Withdraw All112052042021-09-24 22:15:0811 hrs 8 mins ago0x65186a4a2e24fe0362c0a56d2b18824ce1a1d9a0 IN  Pancake Bunny: Bunny Pool0 BNB0.0015158
0xc89c52f1b9182bdb1c6839272f0b5b2c20b17a23b8194c33fdc252e739cdefd3Withdraw All112046652021-09-24 21:48:1111 hrs 35 mins ago0xfe3746cf9b1cd85f924de709e8a3d722c2a1e11a IN  Pancake Bunny: Bunny Pool0 BNB0.0016448
0x2914abe16ecea0f727a5a8b992d24474a81a2876df83f94fcae3782a56c61225Withdraw All112041802021-09-24 21:23:5411 hrs 59 mins ago0x53c843315944c0dce2678977aced6e5395d68b4a IN  Pancake Bunny: Bunny Pool0 BNB0.0015698
0x30b8607c98ac495d8bcdf22d8a0eafc14876a44cb361f4c0f6f794e4c678e0adWithdraw All112037832021-09-24 21:04:0012 hrs 19 mins ago0x85daff890d7ffc020b180090d2aa16e0099855be IN  Pancake Bunny: Bunny Pool0 BNB0.0015158
0x4fbd1989cc3ef4ba970eaa648afb3fabf57c9657bb425a1047568e4295a55a59Withdraw All112035632021-09-24 20:52:5412 hrs 30 mins ago0xdff6fcb61830420eea61871d2879a547b1f49d41 IN  Pancake Bunny: Bunny Pool0 BNB0.0015698
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xf361f8cefd32e253ac4e1eaf65145f483f0cc067afc9162e8af4a33dada2fcd082208682021-06-12 2:27:53105 days 6 hrs ago BSC: Token Hub Pancake Bunny: Bunny Pool0.006 BNB
0x66fa3c1b0c53d34fab11721814494d7e3ee79ecd3026fb30399be8a5e83288dd54712692021-03-07 11:56:24201 days 21 hrs ago Pancake Bunny: Bunny Pool Pancake Bunny: BUNNY Token0 BNB
0x66fa3c1b0c53d34fab11721814494d7e3ee79ecd3026fb30399be8a5e83288dd54712692021-03-07 11:56:24201 days 21 hrs ago Pancake Bunny: Bunny Minter Pancake Bunny: Bunny Pool0 BNB
0x66fa3c1b0c53d34fab11721814494d7e3ee79ecd3026fb30399be8a5e83288dd54712692021-03-07 11:56:24201 days 21 hrs ago Pancake Bunny: Bunny Pool PancakeSwap: BUNNY0 BNB
0x66fa3c1b0c53d34fab11721814494d7e3ee79ecd3026fb30399be8a5e83288dd54712692021-03-07 11:56:24201 days 21 hrs ago Pancake Bunny: Bunny Minter Pancake Bunny: Bunny Pool0 BNB
0x49d21bf507f0a4820462ec74ba1a1cfd16f616d5d74452e7b774f6ae4c2383fc54712682021-03-07 11:56:21201 days 21 hrs ago Pancake Bunny: Bunny Pool PancakeSwap: Router0 BNB
0x49d21bf507f0a4820462ec74ba1a1cfd16f616d5d74452e7b774f6ae4c2383fc54712682021-03-07 11:56:21201 days 21 hrs ago Pancake Bunny: Bunny Pool PancakeSwap: Router0 BNB
0x49d21bf507f0a4820462ec74ba1a1cfd16f616d5d74452e7b774f6ae4c2383fc54712682021-03-07 11:56:21201 days 21 hrs ago Pancake Bunny: Bunny Pool PancakeSwap: Router0 BNB
0x5f840ab64f1093eb51ee461354ad808568ae878e0baa7c8be1b13696057f399f54712372021-03-07 11:54:48201 days 21 hrs ago Pancake Bunny: Bunny Pool Pancake Bunny: BUNNY Token0 BNB
0x5f840ab64f1093eb51ee461354ad808568ae878e0baa7c8be1b13696057f399f54712372021-03-07 11:54:48201 days 21 hrs ago Pancake Bunny: Bunny Minter Pancake Bunny: Bunny Pool0 BNB
0x5f840ab64f1093eb51ee461354ad808568ae878e0baa7c8be1b13696057f399f54712372021-03-07 11:54:48201 days 21 hrs ago Pancake Bunny: Bunny Pool PancakeSwap: BUNNY0 BNB
0x5f840ab64f1093eb51ee461354ad808568ae878e0baa7c8be1b13696057f399f54712372021-03-07 11:54:48201 days 21 hrs ago Pancake Bunny: Bunny Minter Pancake Bunny: Bunny Pool0 BNB
0x1a8a9ec6123312d632f0a3969266b8bfd53ade9daa501a765448060e6e90715254712272021-03-07 11:54:18201 days 21 hrs ago Pancake Bunny: Bunny Pool Pancake Bunny: BUNNY Token0 BNB
0x1a8a9ec6123312d632f0a3969266b8bfd53ade9daa501a765448060e6e90715254712272021-03-07 11:54:18201 days 21 hrs ago Pancake Bunny: Bunny Minter Pancake Bunny: Bunny Pool0 BNB
0x1a8a9ec6123312d632f0a3969266b8bfd53ade9daa501a765448060e6e90715254712272021-03-07 11:54:18201 days 21 hrs ago Pancake Bunny: Bunny Pool PancakeSwap: BUNNY0 BNB
0x1a8a9ec6123312d632f0a3969266b8bfd53ade9daa501a765448060e6e90715254712272021-03-07 11:54:18201 days 21 hrs ago Pancake Bunny: Bunny Minter Pancake Bunny: Bunny Pool0 BNB
0x9bdd72418c76998db7aeeb9991e5cfaf8250e157e0179c96fc6a61c7e536728954712242021-03-07 11:54:09201 days 21 hrs ago Pancake Bunny: Bunny Pool Pancake Bunny: BUNNY Token0 BNB
0xa1bce29c5c8b9cacaf27211a16d654998a8de60ffd87259b73f34579173e77a454711822021-03-07 11:52:03201 days 21 hrs ago Pancake Bunny: Bunny Pool Pancake Bunny: BUNNY Token0 BNB
0xa1bce29c5c8b9cacaf27211a16d654998a8de60ffd87259b73f34579173e77a454711822021-03-07 11:52:03201 days 21 hrs ago Pancake Bunny: Bunny Minter Pancake Bunny: Bunny Pool0 BNB
0xa1bce29c5c8b9cacaf27211a16d654998a8de60ffd87259b73f34579173e77a454711822021-03-07 11:52:03201 days 21 hrs ago Pancake Bunny: Bunny Pool PancakeSwap: BUNNY0 BNB
0xa1bce29c5c8b9cacaf27211a16d654998a8de60ffd87259b73f34579173e77a454711822021-03-07 11:52:03201 days 21 hrs ago Pancake Bunny: Bunny Minter Pancake Bunny: Bunny Pool0 BNB
0xd673ef83d379847b282f78989e8066cd42e1f0f11d1094b25413aa96b49ad07154711762021-03-07 11:51:45201 days 21 hrs ago Pancake Bunny: Bunny Pool Pancake Bunny: BUNNY Token0 BNB
0xd673ef83d379847b282f78989e8066cd42e1f0f11d1094b25413aa96b49ad07154711762021-03-07 11:51:45201 days 21 hrs ago Pancake Bunny: Bunny Minter Pancake Bunny: Bunny Pool0 BNB
0xd673ef83d379847b282f78989e8066cd42e1f0f11d1094b25413aa96b49ad07154711762021-03-07 11:51:45201 days 21 hrs ago Pancake Bunny: Bunny Pool PancakeSwap: BUNNY0 BNB
0xd673ef83d379847b282f78989e8066cd42e1f0f11d1094b25413aa96b49ad07154711762021-03-07 11:51:45201 days 21 hrs ago Pancake Bunny: Bunny Minter Pancake Bunny: Bunny Pool0 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BunnyPool

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
istanbul EvmVersion, MIT license, Audited

Contract Source Code (Solidity Multiple files format)Audit Report

File 1 of 17: BunnyPool.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
pragma experimental ABIEncoderV2;

import "./Math.sol";
import "./SafeMath.sol";
import "./SafeBEP20.sol";
import "./ReentrancyGuard.sol";

import "./RewardsDistributionRecipient.sol";
import "./IStakingRewards.sol";
import "./Pausable.sol";
import "./IStrategy.sol";
import "./IStrategyHelper.sol";
import "./IPancakeRouter02.sol";

interface IPresale {
    function totalBalance() view external returns(uint);
    function flipToken() view external returns(address);
}

contract BunnyPool is IStrategy, RewardsDistributionRecipient, ReentrancyGuard, Pausable {
    using SafeMath for uint256;
    using SafeBEP20 for IBEP20;

    /* ========== STATE VARIABLES ========== */

    IBEP20 public rewardsToken; // bunny/bnb flip
    IBEP20 public constant stakingToken = IBEP20(0xC9849E6fdB743d08fAeE3E34dd2D1bc69EA11a51);   // bunny
    uint256 public periodFinish = 0;
    uint256 public rewardRate = 0;
    uint256 public rewardsDuration = 90 days;
    uint256 public lastUpdateTime;
    uint256 public rewardPerTokenStored;

    mapping(address => uint256) public userRewardPerTokenPaid;
    mapping(address => uint256) public rewards;

    uint256 private _totalSupply;
    mapping(address => uint256) private _balances;

    mapping(address => bool) private _stakePermission;

    /* ========== PRESALE ============== */
    address private constant presaleContract = 0x641414e2a04c8f8EbBf49eD47cc87dccbA42BF07;
    address private constant deadAddress = 0x000000000000000000000000000000000000dEaD;
    mapping(address => uint256) private _presaleBalance;
    uint private constant timestamp2HoursAfterPresaleEnds = 1605585600 + (2 hours);
    uint private constant timestamp90DaysAfterPresaleEnds = 1605585600 + (90 days);

    /* ========== BUNNY HELPER ========= */
    IStrategyHelper public helper = IStrategyHelper(0xA84c09C1a2cF4918CaEf625682B429398b97A1a0);
    IPancakeRouter02 private constant ROUTER = IPancakeRouter02(0x05fF2B0DB69458A0750badebc4f9e13aDd608C7F);

    /* ========== CONSTRUCTOR ========== */

    constructor() public {
        rewardsDistribution = msg.sender;

        _stakePermission[msg.sender] = true;
        _stakePermission[presaleContract] = true;

        stakingToken.safeApprove(address(ROUTER), uint(~0));
    }

    /* ========== VIEWS ========== */

    function totalSupply() external view returns (uint256) {
        return _totalSupply;
    }

    function balance() override external view returns (uint) {
        return _totalSupply;
    }

    function balanceOf(address account) override external view returns (uint256) {
        return _balances[account];
    }

    function presaleBalanceOf(address account) external view returns(uint256) {
        return _presaleBalance[account];
    }

    function principalOf(address account) override external view returns (uint256) {
        return _balances[account];
    }

    function withdrawableBalanceOf(address account) override public view returns (uint) {
        if (block.timestamp > timestamp90DaysAfterPresaleEnds) {
            // unlock all presale bunny after 90 days of presale
            return _balances[account];
        } else if (block.timestamp < timestamp2HoursAfterPresaleEnds) {
            return _balances[account].sub(_presaleBalance[account]);
        } else {
            uint soldInPresale = IPresale(presaleContract).totalBalance().div(2).mul(3); // mint 150% of presale for making flip token
            uint bunnySupply = stakingToken.totalSupply().sub(stakingToken.balanceOf(deadAddress));
            if (soldInPresale >= bunnySupply) {
                return _balances[account].sub(_presaleBalance[account]);
            }
            uint bunnyNewMint = bunnySupply.sub(soldInPresale);
            if (bunnyNewMint >= soldInPresale) {
                return _balances[account];
            }

            uint lockedRatio = (soldInPresale.sub(bunnyNewMint)).mul(1e18).div(soldInPresale);
            uint lockedBalance = _presaleBalance[account].mul(lockedRatio).div(1e18);
            return _balances[account].sub(lockedBalance);
        }
    }

    function profitOf(address account) override public view returns (uint _usd, uint _bunny, uint _bnb) {
        _usd = 0;
        _bunny = 0;
        _bnb = helper.tvlInBNB(address(rewardsToken), earned(account));
    }

    function tvl() override public view returns (uint) {
        uint price = helper.tokenPriceInBNB(address(stakingToken));
        return _totalSupply.mul(price).div(1e18);
    }

    function apy() override public view returns(uint _usd, uint _bunny, uint _bnb) {
        uint tokenDecimals = 1e18;
        uint __totalSupply = _totalSupply;
        if (__totalSupply == 0) {
            __totalSupply = tokenDecimals;
        }

        uint rewardPerTokenPerSecond = rewardRate.mul(tokenDecimals).div(__totalSupply);
        uint bunnyPrice = helper.tokenPriceInBNB(address(stakingToken));
        uint flipPrice = helper.tvlInBNB(address(rewardsToken), 1e18);

        _usd = 0;
        _bunny = 0;
        _bnb = rewardPerTokenPerSecond.mul(365 days).mul(flipPrice).div(bunnyPrice);
    }

    function lastTimeRewardApplicable() public view returns (uint256) {
        return Math.min(block.timestamp, periodFinish);
    }

    function rewardPerToken() public view returns (uint256) {
        if (_totalSupply == 0) {
            return rewardPerTokenStored;
        }
        return
        rewardPerTokenStored.add(
            lastTimeRewardApplicable().sub(lastUpdateTime).mul(rewardRate).mul(1e18).div(_totalSupply)
        );
    }

    function earned(address account) public view returns (uint256) {
        return _balances[account].mul(rewardPerToken().sub(userRewardPerTokenPaid[account])).div(1e18).add(rewards[account]);
    }

    function getRewardForDuration() external view returns (uint256) {
        return rewardRate.mul(rewardsDuration);
    }

    /* ========== MUTATIVE FUNCTIONS ========== */
    function _deposit(uint256 amount, address _to) private nonReentrant notPaused updateReward(_to) {
        require(amount > 0, "amount");
        _totalSupply = _totalSupply.add(amount);
        _balances[_to] = _balances[_to].add(amount);
        stakingToken.safeTransferFrom(msg.sender, address(this), amount);
        emit Staked(_to, amount);
    }

    function deposit(uint256 amount) override public {
        _deposit(amount, msg.sender);
    }

    function depositAll() override external {
        deposit(stakingToken.balanceOf(msg.sender));
    }

    function withdraw(uint256 amount) override public nonReentrant updateReward(msg.sender) {
        require(amount > 0, "amount");
        require(amount <= withdrawableBalanceOf(msg.sender), "locked");
        _totalSupply = _totalSupply.sub(amount);
        _balances[msg.sender] = _balances[msg.sender].sub(amount);
        stakingToken.safeTransfer(msg.sender, amount);
        emit Withdrawn(msg.sender, amount);
    }

    function withdrawAll() override external {
        uint _withdraw = withdrawableBalanceOf(msg.sender);
        if (_withdraw > 0) {
            withdraw(_withdraw);
        }
        getReward();
    }

    function getReward() override public nonReentrant updateReward(msg.sender) {
        uint256 reward = rewards[msg.sender];
        if (reward > 0) {
            rewards[msg.sender] = 0;
            reward = _flipToWBNB(reward);
            IBEP20(ROUTER.WETH()).safeTransfer(msg.sender, reward);
            emit RewardPaid(msg.sender, reward);
        }
    }

    function _flipToWBNB(uint amount) private returns(uint reward) {
        address wbnb = ROUTER.WETH();
        (uint rewardBunny,) = ROUTER.removeLiquidity(
            address(stakingToken), wbnb,
            amount, 0, 0, address(this), block.timestamp);
        address[] memory path = new address[](2);
        path[0] = address(stakingToken);
        path[1] = wbnb;
        ROUTER.swapExactTokensForTokens(rewardBunny, 0, path, address(this), block.timestamp);

        reward = IBEP20(wbnb).balanceOf(address(this));
    }

    function harvest() override external {}

    function info(address account) override external view returns(UserInfo memory) {
        UserInfo memory userInfo;

        userInfo.balance = _balances[account];
        userInfo.principal = _balances[account];
        userInfo.available = withdrawableBalanceOf(account);

        Profit memory profit;
        (uint usd, uint bunny, uint bnb) = profitOf(account);
        profit.usd = usd;
        profit.bunny = bunny;
        profit.bnb = bnb;
        userInfo.profit = profit;

        userInfo.poolTVL = tvl();

        APY memory poolAPY;
        (usd, bunny, bnb) = apy();
        poolAPY.usd = usd;
        poolAPY.bunny = bunny;
        poolAPY.bnb = bnb;
        userInfo.poolAPY = poolAPY;

        return userInfo;
    }

    /* ========== RESTRICTED FUNCTIONS ========== */
    function setRewardsToken(address _rewardsToken) external onlyOwner {
        require(address(rewardsToken) == address(0), "set rewards token already");

        rewardsToken = IBEP20(_rewardsToken);
        IBEP20(_rewardsToken).safeApprove(address(ROUTER), uint(~0));
    }

    function setHelper(IStrategyHelper _helper) external onlyOwner {
        require(address(_helper) != address(0), "zero address");
        helper = _helper;
    }

    function setStakePermission(address _address, bool permission) external onlyOwner {
        _stakePermission[_address] = permission;
    }

    function stakeTo(uint256 amount, address _to) external canStakeTo {
        _deposit(amount, _to);
        if (msg.sender == presaleContract) {
            _presaleBalance[_to] = _presaleBalance[_to].add(amount);
        }
    }

    function notifyRewardAmount(uint256 reward) override external onlyRewardsDistribution updateReward(address(0)) {
        if (block.timestamp >= periodFinish) {
            rewardRate = reward.div(rewardsDuration);
        } else {
            uint256 remaining = periodFinish.sub(block.timestamp);
            uint256 leftover = remaining.mul(rewardRate);
            rewardRate = reward.add(leftover).div(rewardsDuration);
        }

        // Ensure the provided reward amount is not more than the balance in the contract.
        // This keeps the reward rate in the right range, preventing overflows due to
        // very high values of rewardRate in the earned and rewardsPerToken functions;
        // Reward + leftover must be less than 2^256 / 10^18 to avoid overflow.
        uint _balance = rewardsToken.balanceOf(address(this));
        require(rewardRate <= _balance.div(rewardsDuration), "reward");

        lastUpdateTime = block.timestamp;
        periodFinish = block.timestamp.add(rewardsDuration);
        emit RewardAdded(reward);
    }

    function recoverBEP20(address tokenAddress, uint256 tokenAmount) external onlyOwner {
        require(tokenAddress != address(stakingToken) && tokenAddress != address(rewardsToken), "tokenAddress");
        IBEP20(tokenAddress).safeTransfer(owner(), tokenAmount);
        emit Recovered(tokenAddress, tokenAmount);
    }

    function setRewardsDuration(uint256 _rewardsDuration) external onlyOwner {
        require(periodFinish == 0 || block.timestamp > periodFinish, "period");
        rewardsDuration = _rewardsDuration;
        emit RewardsDurationUpdated(rewardsDuration);
    }

    /* ========== MODIFIERS ========== */

    modifier updateReward(address account) {
        rewardPerTokenStored = rewardPerToken();
        lastUpdateTime = lastTimeRewardApplicable();
        if (account != address(0)) {
            rewards[account] = earned(account);
            userRewardPerTokenPaid[account] = rewardPerTokenStored;
        }
        _;
    }

    modifier canStakeTo() {
        require(_stakePermission[msg.sender], 'auth');
        _;
    }

    /* ========== EVENTS ========== */

    event RewardAdded(uint256 reward);
    event Staked(address indexed user, uint256 amount);
    event Withdrawn(address indexed user, uint256 amount);
    event RewardPaid(address indexed user, uint256 reward);
    event RewardsDurationUpdated(uint256 newDuration);
    event Recovered(address token, uint256 amount);
}

File 2 of 17: 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 17: Context.sol
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity >=0.4.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.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor() internal {}

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view 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 17: IBEP20.sol
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity >=0.4.0;

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

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

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

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

    /**
     * @dev Returns the bep token owner.
     */
    function getOwner() external view returns (address);

    /**
     * @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 17: IBunnyMinter.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;

interface IBunnyMinter {
    function isMinter(address) view external returns(bool);
    function amountBunnyToMint(uint bnbProfit) view external returns(uint);
    function amountBunnyToMintForBunnyBNB(uint amount, uint duration) view external returns(uint);
    function withdrawalFee(uint amount, uint depositedAt) view external returns(uint);
    function performanceFee(uint profit) view external returns(uint);
    function mintFor(address flip, uint _withdrawalFee, uint _performanceFee, address to, uint depositedAt) external;
    function mintForBunnyBNB(uint amount, uint duration, address to) external;
}

File 6 of 17: IPancakeRouter01.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.2;

interface IPancakeRouter01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
    external
    payable
    returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
    external
    returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
    external
    returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
    external
    payable
    returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

File 7 of 17: IPancakeRouter02.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2;

import './IPancakeRouter01.sol';

interface IPancakeRouter02 is IPancakeRouter01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

File 8 of 17: IStakingRewards.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;

interface IStakingRewards {
    function stakeTo(uint256 amount, address _to) external;
    function notifyRewardAmount(uint256 reward) external;
}

File 9 of 17: IStrategy.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
pragma experimental ABIEncoderV2;

/*
  ___                      _   _
 | _ )_  _ _ _  _ _ _  _  | | | |
 | _ \ || | ' \| ' \ || | |_| |_|
 |___/\_,_|_||_|_||_\_, | (_) (_)
                    |__/

*
* MIT License
* ===========
*
* Copyright (c) 2020 BunnyFinance
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
*/

struct Profit {
    uint usd;
    uint bunny;
    uint bnb;
}

struct APY {
    uint usd;
    uint bunny;
    uint bnb;
}

struct UserInfo {
    uint balance;
    uint principal;
    uint available;
    Profit profit;
    uint poolTVL;
    APY poolAPY;
}

interface IStrategy {
    function deposit(uint _amount) external;
    function depositAll() external;
    function withdraw(uint256 _amount) external;    // BUNNY STAKING POOL ONLY
    function withdrawAll() external;
    function getReward() external;                  // BUNNY STAKING POOL ONLY
    function harvest() external;

    function balance() external view returns (uint);
    function balanceOf(address account) external view returns(uint);
    function principalOf(address account) external view returns (uint);
    function withdrawableBalanceOf(address account) external view returns (uint);   // BUNNY STAKING POOL ONLY
    function profitOf(address account) external view returns (uint _usd, uint _bunny, uint _bnb);
    function tvl() external view returns (uint);    // in USD
    function apy() external view returns(uint _usd, uint _bunny, uint _bnb);

    function info(address account) external view returns(UserInfo memory);
}

File 10 of 17: IStrategyHelper.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;

/*
  ___                      _   _
 | _ )_  _ _ _  _ _ _  _  | | | |
 | _ \ || | ' \| ' \ || | |_| |_|
 |___/\_,_|_||_|_||_\_, | (_) (_)
                    |__/

*
* MIT License
* ===========
*
* Copyright (c) 2020 BunnyFinance
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
*/

import "./IBunnyMinter.sol";

interface IStrategyHelper {
    function tokenPriceInBNB(address _token) view external returns(uint);
    function cakePriceInBNB() view external returns(uint);
    function bnbPriceInUSD() view external returns(uint);
    function profitOf(IBunnyMinter minter, address _flip, uint amount) external view returns (uint _usd, uint _bunny, uint _bnb);

    function tvl(address _flip, uint amount) external view returns (uint);    // in USD
    function tvlInBNB(address _flip, uint amount) external view returns (uint);    // in BNB
    function apy(IBunnyMinter minter, uint pid) external view returns(uint _usd, uint _bunny, uint _bnb);
}

File 11 of 17: Math.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

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

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

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

File 12 of 17: Ownable.sol
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity >=0.4.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 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 onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), 'Ownable: new owner is the zero address');
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 13 of 17: Pausable.sol
/*
   ____            __   __        __   _
  / __/__ __ ___  / /_ / /  ___  / /_ (_)__ __
 _\ \ / // // _ \/ __// _ \/ -_)/ __// / \ \ /
/___/ \_, //_//_/\__//_//_/\__/ \__//_/ /_\_\
     /___/

* Docs: https://docs.synthetix.io/
*
*
* MIT License
* ===========
*
* Copyright (c) 2020 Synthetix
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.6.2;

import "./Ownable.sol";

abstract contract Pausable is Ownable {
    uint public lastPauseTime;
    bool public paused;

    event PauseChanged(bool isPaused);

    modifier notPaused {
        require(!paused, "This action cannot be performed while the contract is paused");
        _;
    }

    constructor() internal {
        require(owner() != address(0), "Owner must be set");
    }

    function setPaused(bool _paused) external onlyOwner {
        if (_paused == paused) {
            return;
        }

        paused = _paused;
        if (paused) {
            lastPauseTime = now;
        }

        emit PauseChanged(paused);
    }
}

File 14 of 17: ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

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

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

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 15 of 17: RewardsDistributionRecipient.sol
/*
   ____            __   __        __   _
  / __/__ __ ___  / /_ / /  ___  / /_ (_)__ __
 _\ \ / // // _ \/ __// _ \/ -_)/ __// / \ \ /
/___/ \_, //_//_/\__//_//_/\__/ \__//_/ /_\_\
     /___/

* Docs: https://docs.synthetix.io/
*
*
* MIT License
* ===========
*
* Copyright (c) 2020 Synthetix
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.6.2;

import "./Ownable.sol";

abstract contract RewardsDistributionRecipient is Ownable {
    address public rewardsDistribution;

    modifier onlyRewardsDistribution() {
        require(msg.sender == rewardsDistribution, "onlyRewardsDistribution");
        _;
    }

    function notifyRewardAmount(uint256 reward) virtual external;

    function setRewardsDistribution(address _rewardsDistribution) external onlyOwner {
        rewardsDistribution = _rewardsDistribution;
    }
}

File 16 of 17: SafeBEP20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import './IBEP20.sol';
import './SafeMath.sol';
import './Address.sol';

/**
 * @title SafeBEP20
 * @dev Wrappers around BEP20 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 SafeBEP20 for IBEP20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeBEP20 {
    using SafeMath for uint256;
    using Address for address;

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

    function safeTransferFrom(
        IBEP20 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
     * {IBEP20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IBEP20 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),
            'SafeBEP20: approve from non-zero to non-zero allowance'
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IBEP20 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(
        IBEP20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(
            value,
            'SafeBEP20: 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(IBEP20 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, 'SafeBEP20: low-level call failed');
        if (returndata.length > 0) {
            // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), 'SafeBEP20: BEP20 operation did not succeed');
        }
    }
}

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

pragma solidity >=0.4.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;
    }

    function min(uint256 x, uint256 y) internal pure returns (uint256 z) {
        z = x < y ? x : y;
    }

    // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method)
    function sqrt(uint256 y) internal pure returns (uint256 z) {
        if (y > 3) {
            z = y;
            uint256 x = y / 2 + 1;
            while (x < z) {
                z = x;
                x = (y / x + x) / 2;
            }
        } else if (y != 0) {
            z = 1;
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"isPaused","type":"bool"}],"name":"PauseChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Recovered","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newDuration","type":"uint256"}],"name":"RewardsDurationUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[],"name":"apy","outputs":[{"internalType":"uint256","name":"_usd","type":"uint256"},{"internalType":"uint256","name":"_bunny","type":"uint256"},{"internalType":"uint256","name":"_bnb","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"depositAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getRewardForDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"helper","outputs":[{"internalType":"contract IStrategyHelper","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"info","outputs":[{"components":[{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"principal","type":"uint256"},{"internalType":"uint256","name":"available","type":"uint256"},{"components":[{"internalType":"uint256","name":"usd","type":"uint256"},{"internalType":"uint256","name":"bunny","type":"uint256"},{"internalType":"uint256","name":"bnb","type":"uint256"}],"internalType":"struct Profit","name":"profit","type":"tuple"},{"internalType":"uint256","name":"poolTVL","type":"uint256"},{"components":[{"internalType":"uint256","name":"usd","type":"uint256"},{"internalType":"uint256","name":"bunny","type":"uint256"},{"internalType":"uint256","name":"bnb","type":"uint256"}],"internalType":"struct APY","name":"poolAPY","type":"tuple"}],"internalType":"struct UserInfo","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastPauseTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"reward","type":"uint256"}],"name":"notifyRewardAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"presaleBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"principalOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"profitOf","outputs":[{"internalType":"uint256","name":"_usd","type":"uint256"},{"internalType":"uint256","name":"_bunny","type":"uint256"},{"internalType":"uint256","name":"_bnb","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"recoverBEP20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsDistribution","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsToken","outputs":[{"internalType":"contract IBEP20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IStrategyHelper","name":"_helper","type":"address"}],"name":"setHelper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_paused","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_rewardsDistribution","type":"address"}],"name":"setRewardsDistribution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardsDuration","type":"uint256"}],"name":"setRewardsDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_rewardsToken","type":"address"}],"name":"setRewardsToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"permission","type":"bool"}],"name":"setStakePermission","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"stakeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingToken","outputs":[{"internalType":"contract IBEP20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","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":"tvl","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"withdrawableBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

6080604052600060058190556006556276a700600755601080546001600160a01b03191673a84c09c1a2cf4918caef625682b429398b97a1a01790553480156200004857600080fd5b50600062000055620001a1565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060016002556000620000b0620001a5565b6001600160a01b03161415620000e35760405162461bcd60e51b8152600401620000da90620005f2565b60405180910390fd5b600180546001600160a01b0319163390811782556000908152600e602090815260408220805460ff19908116851790915573641414e2a04c8f8ebbf49ed47cc87dccba42bf079092527fd1de07c05a281378a78e3b94fb256e2a4e794a171dde19b669997bbaf9dfee80805490921690921790556200019b9073c9849e6fdb743d08faee3e34dd2d1bc69ea11a51907305ff2b0db69458a0750badebc4f9e13add608c7f9060001990620018bd620001b4821b17901c565b62000687565b3390565b6000546001600160a01b031690565b801580620002435750604051636eb1769f60e11b81526001600160a01b0384169063dd62ed3e90620001ed9030908690600401620004e3565b60206040518083038186803b1580156200020657600080fd5b505afa1580156200021b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002419190620004ac565b155b620002625760405162461bcd60e51b8152600401620000da9062000595565b620002bd8363095ea7b360e01b848460405160240162000284929190620004fd565b60408051808303601f190181529190526020810180516001600160e01b0319939093166001600160e01b0393841617905290620002c216565b505050565b60606200031e826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166200035e60201b620019bc179092919060201c565b805190915015620002bd57808060200190518101906200033f919062000483565b620002bd5760405162461bcd60e51b8152600401620000da906200054b565b60606200036f848460008562000377565b949350505050565b6060620003848562000449565b620003a35760405162461bcd60e51b8152600401620000da906200061d565b60006060866001600160a01b03168587604051620003c29190620004c5565b60006040518083038185875af1925050503d806000811462000401576040519150601f19603f3d011682016040523d82523d6000602084013e62000406565b606091505b509150915081156200041c5791506200036f9050565b8051156200042d5780518082602001fd5b8360405162461bcd60e51b8152600401620000da919062000516565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906200036f575050151592915050565b60006020828403121562000495578081fd5b81518015158114620004a5578182fd5b9392505050565b600060208284031215620004be578081fd5b5051919050565b60008251620004d981846020870162000654565b9190910192915050565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b03929092168252602082015260400190565b60006020825282518060208401526200053781604085016020870162000654565b601f01601f19169190910160400192915050565b6020808252602a908201527f5361666542455032303a204245503230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b60208082526036908201527f5361666542455032303a20617070726f76652066726f6d206e6f6e2d7a65726f60408201527f20746f206e6f6e2d7a65726f20616c6c6f77616e636500000000000000000000606082015260800190565b60208082526011908201527013dddb995c881b5d5cdd081899481cd95d607a1b604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b60005b838110156200067157818101518382015260200162000657565b8381111562000681576000848401525b50505050565b612ab080620006976000396000f3fe608060405234801561001057600080fd5b506004361061027e5760003560e01c806372f702f31161015c578063cc1a378f116100ce578063df136d6511610087578063df136d65146104b4578063dfc6fbaa146104bc578063e5328e06146104cf578063ebe2b12b146104d7578063efa08806146104df578063f2fde38b146104f25761027e565b8063cc1a378f14610463578063cd3daf9d14610476578063d1af0c7d1461047e578063d7e3433b14610486578063de320cc114610499578063de5f6268146104ac5761027e565b80638da5cb5b116101205780638da5cb5b1461042557806391b4ded91461042d578063986ccc7f14610435578063b69ef8a8146102f4578063b6b55f2514610448578063c8f33c911461045b5761027e565b806372f702f3146103f25780637b0a47ee146103fa57806380faa57d14610402578063853828b61461040a5780638b876347146104125761027e565b80633c6b16ab116101f557806354d39b34116101b957806354d39b34146103a75780635c975abb146103ba57806361e20a1c146103cf57806363b0e66a146103e257806370a08231146103cf578063715018a6146103ea5761027e565b80633c6b16ab1461035c5780633d18b9121461036f5780633fc6df6e146103775780634641257d1461038c57806354198ce9146103945761027e565b8063197621431161024757806319762143146102fc5780631c1f78eb1461030f5780632e1a7d4d14610317578063386a95251461032a5780633aa6c4f9146103325780633bcfc4b8146103455761027e565b80628cc262146102835780630700037d146102ac5780630aae7a6b146102bf57806316c38b3c146102df57806318160ddd146102f4575b600080fd5b61029661029136600461224b565b610505565b6040516102a39190612955565b60405180910390f35b6102966102ba36600461224b565b610585565b6102d26102cd36600461224b565b610597565b6040516102a391906128fe565b6102f26102ed36600461237b565b61064b565b005b6102966106ff565b6102f261030a36600461224b565b610706565b61029661075d565b6102f26103253660046123b3565b61077b565b6102966108eb565b61029661034036600461224b565b6108f1565b61034d610c08565b6040516102a3939291906129ce565b6102f261036a3660046123b3565b610d9d565b6102f2610f96565b61037f611124565b6040516102a3919061245f565b6102f2611133565b61034d6103a236600461224b565b611135565b6102f26103b53660046123e3565b6111d9565b6103c261126f565b6040516102a3919061250a565b6102966103dd36600461224b565b611278565b61037f611293565b6102f26112a2565b61037f611321565b610296611339565b61029661133f565b6102f261134d565b61029661042036600461224b565b611371565b61037f611383565b610296611392565b6102f261044336600461224b565b611398565b6102f26104563660046123b3565b611415565b61029661141f565b6102f26104713660046123b3565b611425565b6102966114bb565b61037f611503565b6102f2610494366004612283565b611517565b6102f26104a736600461224b565b611577565b6102f2611621565b6102966116ac565b6102966104ca36600461224b565b6116b2565b6102966116cd565b61029661178f565b6102f26104ed3660046122bb565b611795565b6102f261050036600461224b565b61187f565b6001600160a01b0381166000908152600b6020908152604080832054600a90925282205461057d919061057790670de0b6b3a764000090610571906105529061054c6114bb565b906119d3565b6001600160a01b0388166000908152600d602052604090205490611a1e565b90611a58565b90611a9a565b90505b919050565b600b6020526000908152604090205481565b61059f6121e9565b6105a76121e9565b6001600160a01b0383166000818152600d602081815260408320548086529390925281528201526105d7836108f1565b60408201526105e461222a565b60008060006105f287611135565b828752602087018290526040870181905260608801879052919450925090506106196116cd565b608086015261062661222a565b61062e610c08565b9183526020830152604082015260a0860152509295945050505050565b610653611abf565b6000546001600160a01b039081169116146106895760405162461bcd60e51b81526004016106809061271d565b60405180910390fd5b60045460ff161515811515141561069f576106fc565b6004805460ff1916821515179081905560ff16156106bc57426003555b6004546040517f8fb6c181ee25a520cf3dd6565006ef91229fcfe5a989566c2a3b8c115570cec5916106f39160ff9091169061250a565b60405180910390a15b50565b600c545b90565b61070e611abf565b6000546001600160a01b0390811691161461073b5760405162461bcd60e51b81526004016106809061271d565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000610776600754600654611a1e90919063ffffffff16565b905090565b60028054141561079d5760405162461bcd60e51b8152600401610680906128c7565b60028055336107aa6114bb565b6009556107b561133f565b6008556001600160a01b038116156107fc576107d081610505565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b6000821161081c5760405162461bcd60e51b815260040161068090612666565b610825336108f1565b8211156108445760405162461bcd60e51b81526004016106809061279e565b600c5461085190836119d3565b600c55336000908152600d602052604090205461086e90836119d3565b336000818152600d60205260409020919091556108a19073c9849e6fdb743d08faee3e34dd2d1bc69ea11a519084611ac3565b336001600160a01b03167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5836040516108da9190612955565b60405180910390a250506001600255565b60075481565b6000636029f1c042111561091e57506001600160a01b0381166000908152600d6020526040902054610580565b635fb366e042101561095f576001600160a01b0382166000908152600f6020908152604080832054600d90925290912054610958916119d3565b9050610580565b60006109f660036109f0600273641414e2a04c8f8ebbf49ed47cc87dccba42bf076001600160a01b031663ad7a672f6040518163ffffffff1660e01b815260040160206040518083038186803b1580156109b857600080fd5b505afa1580156109cc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057191906123cb565b90611a1e565b6040516370a0823160e01b8152909150600090610b0e9073c9849e6fdb743d08faee3e34dd2d1bc69ea11a51906370a0823190610a399061dead9060040161245f565b60206040518083038186803b158015610a5157600080fd5b505afa158015610a65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8991906123cb565b73c9849e6fdb743d08faee3e34dd2d1bc69ea11a516001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610ad657600080fd5b505afa158015610aea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054c91906123cb565b9050808210610b4e576001600160a01b0384166000908152600f6020908152604080832054600d90925290912054610b45916119d3565b92505050610580565b6000610b5a82846119d3565b9050828110610b8557505050506001600160a01b0381166000908152600d6020526040902054610580565b6000610ba184610571670de0b6b3a76400006109f083876119d3565b6001600160a01b0387166000908152600f602052604081205491925090610bd690670de0b6b3a7640000906105719085611a1e565b6001600160a01b0388166000908152600d6020526040902054909150610bfc90826119d3565b95505050505050610580565b600c5460009081908190670de0b6b3a76400009080610c245750805b6000610c3f8261057185600654611a1e90919063ffffffff16565b601054604051638e333ce560e01b81529192506000916001600160a01b0390911690638e333ce590610c899073c9849e6fdb743d08faee3e34dd2d1bc69ea11a519060040161245f565b60206040518083038186803b158015610ca157600080fd5b505afa158015610cb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd991906123cb565b60105460048054604051632fd6d7f760e01b81529394506000936001600160a01b0393841693632fd6d7f793610d2293610100900490911691670de0b6b3a764000091016124f1565b60206040518083038186803b158015610d3a57600080fd5b505afa158015610d4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d7291906123cb565b600098508897509050610d9182610571836109f0876301e13380611a1e565b95505050505050909192565b6001546001600160a01b03163314610dc75760405162461bcd60e51b815260040161068090612859565b6000610dd16114bb565b600955610ddc61133f565b6008556001600160a01b03811615610e2357610df781610505565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b6005544210610e4257600754610e3a908390611a58565b600655610e85565b600554600090610e5290426119d3565b90506000610e6b60065483611a1e90919063ffffffff16565b600754909150610e7f906105718684611a9a565b60065550505b600480546040516370a0823160e01b81526000926101009092046001600160a01b0316916370a0823191610ebb9130910161245f565b60206040518083038186803b158015610ed357600080fd5b505afa158015610ee7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0b91906123cb565b9050610f2260075482611a5890919063ffffffff16565b6006541115610f435760405162461bcd60e51b81526004016106809061260f565b426008819055600754610f569190611a9a565b6005556040517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d90610f89908590612955565b60405180910390a1505050565b600280541415610fb85760405162461bcd60e51b8152600401610680906128c7565b6002805533610fc56114bb565b600955610fd061133f565b6008556001600160a01b0381161561101757610feb81610505565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b336000908152600b6020526040902054801561111b57336000908152600b602052604081205561104681611ae2565b90506110e233827305ff2b0db69458a0750badebc4f9e13add608c7f6001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561109a57600080fd5b505afa1580156110ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d29190612267565b6001600160a01b03169190611ac3565b336001600160a01b03167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040516108da9190612955565b50506001600255565b6001546001600160a01b031681565b565b601054600454600091829182916001600160a01b0390811691632fd6d7f7916101009091041661116487610505565b6040518363ffffffff1660e01b81526004016111819291906124f1565b60206040518083038186803b15801561119957600080fd5b505afa1580156111ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d191906123cb565b929491935050565b336000908152600e602052604090205460ff166112085760405162461bcd60e51b81526004016106809061281b565b6112128282611dc1565b3373641414e2a04c8f8ebbf49ed47cc87dccba42bf07141561126b576001600160a01b0381166000908152600f60205260409020546112519083611a9a565b6001600160a01b0382166000908152600f60205260409020555b5050565b60045460ff1681565b6001600160a01b03166000908152600d602052604090205490565b6010546001600160a01b031681565b6112aa611abf565b6000546001600160a01b039081169116146112d75760405162461bcd60e51b81526004016106809061271d565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b73c9849e6fdb743d08faee3e34dd2d1bc69ea11a5181565b60065481565b600061077642600554611f3c565b6000611358336108f1565b90508015611369576113698161077b565b6106fc610f96565b600a6020526000908152604090205481565b6000546001600160a01b031690565b60035481565b6113a0611abf565b6000546001600160a01b039081169116146113cd5760405162461bcd60e51b81526004016106809061271d565b6001600160a01b0381166113f35760405162461bcd60e51b815260040161068090612778565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b6106fc8133611dc1565b60085481565b61142d611abf565b6000546001600160a01b0390811691161461145a5760405162461bcd60e51b81526004016106809061271d565b600554158061146a575060055442115b6114865760405162461bcd60e51b815260040161068090612839565b60078190556040517ffb46ca5a5e06d4540d6387b930a7c978bce0db5f449ec6b3f5d07c6e1d44f2d3906106f3908390612955565b6000600c54600014156114d15750600954610703565b6107766114fa600c54610571670de0b6b3a76400006109f06006546109f060085461054c61133f565b60095490611a9a565b60045461010090046001600160a01b031681565b61151f611abf565b6000546001600160a01b0390811691161461154c5760405162461bcd60e51b81526004016106809061271d565b6001600160a01b03919091166000908152600e60205260409020805460ff1916911515919091179055565b61157f611abf565b6000546001600160a01b039081169116146115ac5760405162461bcd60e51b81526004016106809061271d565b60045461010090046001600160a01b0316156115da5760405162461bcd60e51b81526004016106809061262f565b60048054610100600160a81b0319166101006001600160a01b038416908102919091179091556106fc907305ff2b0db69458a0750badebc4f9e13add608c7f6000196118bd565b6040516370a0823160e01b81526111339073c9849e6fdb743d08faee3e34dd2d1bc69ea11a51906370a082319061165c90339060040161245f565b60206040518083038186803b15801561167457600080fd5b505afa158015611688573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061045691906123cb565b60095481565b6001600160a01b03166000908152600f602052604090205490565b601054604051638e333ce560e01b815260009182916001600160a01b0390911690638e333ce5906117169073c9849e6fdb743d08faee3e34dd2d1bc69ea11a519060040161245f565b60206040518083038186803b15801561172e57600080fd5b505afa158015611742573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176691906123cb565b9050611789670de0b6b3a764000061057183600c54611a1e90919063ffffffff16565b91505090565b60055481565b61179d611abf565b6000546001600160a01b039081169116146117ca5760405162461bcd60e51b81526004016106809061271d565b6001600160a01b03821673c9849e6fdb743d08faee3e34dd2d1bc69ea11a511480159061180a57506004546001600160a01b038381166101009092041614155b6118265760405162461bcd60e51b815260040161068090612752565b611842611831611383565b6001600160a01b0384169083611ac3565b7f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa2882826040516118739291906124f1565b60405180910390a15050565b611887611abf565b6000546001600160a01b039081169116146118b45760405162461bcd60e51b81526004016106809061271d565b6106fc81611f52565b8015806119455750604051636eb1769f60e11b81526001600160a01b0384169063dd62ed3e906118f39030908690600401612473565b60206040518083038186803b15801561190b57600080fd5b505afa15801561191f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061194391906123cb565b155b6119615760405162461bcd60e51b8152600401610680906126c7565b6119b78363095ea7b360e01b84846040516024016119809291906124f1565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611fd3565b505050565b60606119cb8484600085612062565b949350505050565b6000611a1583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612126565b90505b92915050565b600082611a2d57506000611a18565b82820282848281611a3a57fe5b0414611a155760405162461bcd60e51b815260040161068090612686565b6000611a1583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612152565b600082820183811015611a155760405162461bcd60e51b8152600401610680906125d8565b3390565b6119b78363a9059cbb60e01b84846040516024016119809291906124f1565b6000807305ff2b0db69458a0750badebc4f9e13add608c7f6001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015611b3257600080fd5b505afa158015611b46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b6a9190612267565b604051635d5155ef60e11b81529091506000907305ff2b0db69458a0750badebc4f9e13add608c7f9063baa2abde90611bc79073c9849e6fdb743d08faee3e34dd2d1bc69ea11a51908690899087908190309042906004016124b1565b6040805180830381600087803b158015611be057600080fd5b505af1158015611bf4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c189190612407565b5060408051600280825260608083018452939450909160208301908036833701905050905073c9849e6fdb743d08faee3e34dd2d1bc69ea11a5181600081518110611c5f57fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508281600181518110611c8d57fe5b6001600160a01b03909216602092830291909101909101526040516338ed173960e01b81527305ff2b0db69458a0750badebc4f9e13add608c7f906338ed173990611ce590859060009086903090429060040161295e565b600060405180830381600087803b158015611cff57600080fd5b505af1158015611d13573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d3b91908101906122e6565b506040516370a0823160e01b81526001600160a01b038416906370a0823190611d6890309060040161245f565b60206040518083038186803b158015611d8057600080fd5b505afa158015611d94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611db891906123cb565b95945050505050565b600280541415611de35760405162461bcd60e51b8152600401610680906128c7565b6002805560045460ff1615611e0a5760405162461bcd60e51b8152600401610680906127be565b80611e136114bb565b600955611e1e61133f565b6008556001600160a01b03811615611e6557611e3981610505565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b60008311611e855760405162461bcd60e51b815260040161068090612666565b600c54611e929084611a9a565b600c556001600160a01b0382166000908152600d6020526040902054611eb89084611a9a565b6001600160a01b0383166000908152600d6020526040902055611ef173c9849e6fdb743d08faee3e34dd2d1bc69ea11a51333086612189565b816001600160a01b03167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d84604051611f2a9190612955565b60405180910390a25050600160025550565b6000818310611f4b5781611a15565b5090919050565b6001600160a01b038116611f785760405162461bcd60e51b815260040161068090612592565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6060612028826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166119bc9092919063ffffffff16565b8051909150156119b757808060200190518101906120469190612397565b6119b75760405162461bcd60e51b815260040161068090612548565b606061206d856121b0565b6120895760405162461bcd60e51b815260040161068090612890565b60006060866001600160a01b031685876040516120a69190612443565b60006040518083038185875af1925050503d80600081146120e3576040519150601f19603f3d011682016040523d82523d6000602084013e6120e8565b606091505b509150915081156120fc5791506119cb9050565b80511561210c5780518082602001fd5b8360405162461bcd60e51b81526004016106809190612515565b6000818484111561214a5760405162461bcd60e51b81526004016106809190612515565b505050900390565b600081836121735760405162461bcd60e51b81526004016106809190612515565b50600083858161217f57fe5b0495945050505050565b6121aa846323b872dd60e01b8585856040516024016119809392919061248d565b50505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906119cb575050151592915050565b6040518060c0016040528060008152602001600081526020016000815260200161221161222a565b81526020016000815260200161222561222a565b905290565b60405180606001604052806000815260200160008152602001600081525090565b60006020828403121561225c578081fd5b8135611a1581612a57565b600060208284031215612278578081fd5b8151611a1581612a57565b60008060408385031215612295578081fd5b82356122a081612a57565b915060208301356122b081612a6c565b809150509250929050565b600080604083850312156122cd578182fd5b82356122d881612a57565b946020939093013593505050565b600060208083850312156122f8578182fd5b825167ffffffffffffffff81111561230e578283fd5b8301601f8101851361231e578283fd5b805161233161232c82612a0b565b6129e4565b818152838101908385018584028501860189101561234d578687fd5b8694505b8385101561236f578051835260019490940193918501918501612351565b50979650505050505050565b60006020828403121561238c578081fd5b8135611a1581612a6c565b6000602082840312156123a8578081fd5b8151611a1581612a6c565b6000602082840312156123c4578081fd5b5035919050565b6000602082840312156123dc578081fd5b5051919050565b600080604083850312156123f5578182fd5b8235915060208301356122b081612a57565b60008060408385031215612419578182fd5b505080516020909101519092909150565b8051825260208082015190830152604090810151910152565b60008251612455818460208701612a2b565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b039788168152958716602087015260408601949094526060850192909252608084015290921660a082015260c081019190915260e00190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b6000602082528251806020840152612534816040850160208701612a2b565b601f01601f19169190910160400192915050565b6020808252602a908201527f5361666542455032303a204245503230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252600690820152651c995dd85c9960d21b604082015260600190565b60208082526019908201527f736574207265776172647320746f6b656e20616c726561647900000000000000604082015260600190565b602080825260069082015265185b5bdd5b9d60d21b604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b60208082526036908201527f5361666542455032303a20617070726f76652066726f6d206e6f6e2d7a65726f60408201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600c908201526b746f6b656e4164647265737360a01b604082015260600190565b6020808252600c908201526b7a65726f206164647265737360a01b604082015260600190565b6020808252600690820152651b1bd8dad95960d21b604082015260600190565b6020808252603c908201527f5468697320616374696f6e2063616e6e6f7420626520706572666f726d65642060408201527f7768696c652074686520636f6e74726163742069732070617573656400000000606082015260800190565b6020808252600490820152630c2eae8d60e31b604082015260600190565b6020808252600690820152651c195c9a5bd960d21b604082015260600190565b60208082526017908201527f6f6e6c7952657761726473446973747269627574696f6e000000000000000000604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6000610140820190508251825260208301516020830152604083015160408301526060830151612931606084018261242a565b50608083015160c083015260a083015161294e60e084018261242a565b5092915050565b90815260200190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b818110156129ad5784516001600160a01b031683529383019391830191600101612988565b50506001600160a01b03969096166060850152505050608001529392505050565b9283526020830191909152604082015260600190565b60405181810167ffffffffffffffff81118282101715612a0357600080fd5b604052919050565b600067ffffffffffffffff821115612a21578081fd5b5060209081020190565b60005b83811015612a46578181015183820152602001612a2e565b838111156121aa5750506000910152565b6001600160a01b03811681146106fc57600080fd5b80151581146106fc57600080fdfea26469706673582212205fb7674fb6f9979987e0c32181ecf613d97a75a94a551fcfe8060e2c3c71657464736f6c634300060c0033

Deployed ByteCode Sourcemap

529:11713:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5620:196;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1151:42;;;;;;:::i;:::-;;:::i;8142:733::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;1797:250:12:-;;;;;;:::i;:::-;;:::i;:::-;;2359:91:1;;;:::i;1737:140:14:-;;;;;;:::i;:::-;;:::i;5822:119:1:-;;;:::i;6562:421::-;;;;;;:::i;:::-;;:::i;965:40::-;;;:::i;2935:1208::-;;;;;;:::i;:::-;;:::i;4554:609::-;;;:::i;:::-;;;;;;;;;:::i;9759:1057::-;;;;;;:::i;:::-;;:::i;7196:360::-;;;:::i;1491:34:14:-;;;:::i;:::-;;;;;;;:::i;8097:39:1:-;;;:::i;4149:217::-;;;;;;:::i;:::-;;:::i;9525:228::-;;;;;;:::i;:::-;;:::i;1502:18:12:-;;;:::i;:::-;;;;;;;:::i;2808:121:1:-;;;;;;:::i;:::-;;:::i;1834:91::-;;;:::i;1698:137:11:-;;;:::i;788:88:1:-;;;:::i;930:29::-;;;:::i;5169:129::-;;;:::i;6989:201::-;;;:::i;1088:57::-;;;;;;:::i;:::-;;:::i;1075:77:11:-;;;:::i;1471:25:12:-;;;:::i;9214:161:1:-;;;;;;:::i;:::-;;:::i;6356:94::-;;;;;;:::i;:::-;;:::i;1011:29::-;;;:::i;11148:258::-;;;;;;:::i;:::-;;:::i;5304:310::-;;;:::i;738:26::-;;;:::i;9381:138::-;;;;;;:::i;:::-;;:::i;8934:274::-;;;;;;:::i;:::-;;:::i;6456:100::-;;;:::i;1046:35::-;;;:::i;2680:122::-;;;;;;:::i;:::-;;:::i;4372:176::-;;;:::i;893:31::-;;;:::i;10822:320::-;;;;;;:::i;:::-;;:::i;1984:107:11:-;;;;;;:::i;:::-;;:::i;5620:196:1:-;-1:-1:-1;;;;;5792:16:1;;5674:7;5792:16;;;:7;:16;;;;;;;;;5744:22;:31;;;;;;5700:109;;5792:16;5700:87;;5782:4;;5700:77;;5723:53;;:16;:14;:16::i;:::-;:20;;:53::i;:::-;-1:-1:-1;;;;;5700:18:1;;;;;;:9;:18;;;;;;;:22;:77::i;:::-;:81;;:87::i;:::-;:91;;:109::i;:::-;5693:116;;5620:196;;;;:::o;1151:42::-;;;;;;;;;;;;;:::o;8142:733::-;8204:15;;:::i;:::-;8231:24;;:::i;:::-;-1:-1:-1;;;;;8285:18:1;;;;;;:9;:18;;;;;;;;8266:37;;;8334:18;;;;;;8313;;:39;8383:30;8295:7;8383:21;:30::i;:::-;8362:18;;;:51;8424:20;;:::i;:::-;8455:8;8465:10;8477:8;8489:17;8498:7;8489:8;:17::i;:::-;8516:16;;;8542:12;;;:20;;;8572:10;;;:16;;;8598:15;;;:24;;;8454:52;;-1:-1:-1;8454:52:1;-1:-1:-1;8454:52:1;-1:-1:-1;8652:5:1;:3;:5::i;:::-;8633:16;;;:24;8668:18;;:::i;:::-;8716:5;:3;:5::i;:::-;8731:17;;;8758:13;;;:21;8789:11;;;:17;8816:16;;;:26;-1:-1:-1;8816:16:1;;8142:733;-1:-1:-1;;;;;8142:733:1:o;1797:250:12:-;1289:12:11;:10;:12::i;:::-;1279:6;;-1:-1:-1;;;;;1279:6:11;;;:22;;;1271:67;;;;-1:-1:-1;;;1271:67:11;;;;;;;:::i;:::-;;;;;;;;;1874:6:12::1;::::0;::::1;;1863:17;;::::0;::::1;;;1859:54;;;1896:7;;1859:54;1923:6;:16:::0;;-1:-1:-1;;1923:16:12::1;::::0;::::1;;;::::0;;;;::::1;1953:6;1949:56;;;1991:3;1975:13;:19:::0;1949:56:::1;2033:6;::::0;2020:20:::1;::::0;::::1;::::0;::::1;::::0;2033:6:::1;::::0;;::::1;::::0;2020:20:::1;:::i;:::-;;;;;;;;1348:1:11;1797:250:12::0;:::o;2359:91:1:-;2431:12;;2359:91;;:::o;1737:140:14:-;1289:12:11;:10;:12::i;:::-;1279:6;;-1:-1:-1;;;;;1279:6:11;;;:22;;;1271:67;;;;-1:-1:-1;;;1271:67:11;;;;;;;:::i;:::-;1828:19:14::1;:42:::0;;-1:-1:-1;;;;;;1828:42:14::1;-1:-1:-1::0;;;;;1828:42:14;;;::::1;::::0;;;::::1;::::0;;1737:140::o;5822:119:1:-;5877:7;5903:31;5918:15;;5903:10;;:14;;:31;;;;:::i;:::-;5896:38;;5822:119;:::o;6562:421::-;1671:1:13;2260:7;;:19;;2252:63;;;;-1:-1:-1;;;2252:63:13;;;;;;;:::i;:::-;1671:1;2390:18;;6638:10:1::1;11527:16;:14;:16::i;:::-;11504:20;:39:::0;11570:26:::1;:24;:26::i;:::-;11553:14;:43:::0;-1:-1:-1;;;;;11610:21:1;::::1;::::0;11606:154:::1;;11666:15;11673:7;11666:6;:15::i;:::-;-1:-1:-1::0;;;;;11647:16:1;::::1;;::::0;;;:7:::1;:16;::::0;;;;;;;:34;;;;11729:20:::1;::::0;11695:22:::1;:31:::0;;;;;;:54;11606:154:::1;6677:1:::2;6668:6;:10;6660:29;;;;-1:-1:-1::0;;;6660:29:1::2;;;;;;;:::i;:::-;6717:33;6739:10;6717:21;:33::i;:::-;6707:6;:43;;6699:62;;;;-1:-1:-1::0;;;6699:62:1::2;;;;;;;:::i;:::-;6786:12;::::0;:24:::2;::::0;6803:6;6786:16:::2;:24::i;:::-;6771:12;:39:::0;6854:10:::2;6844:21;::::0;;;:9:::2;:21;::::0;;;;;:33:::2;::::0;6870:6;6844:25:::2;:33::i;:::-;6830:10;6820:21;::::0;;;:9:::2;:21;::::0;;;;:57;;;;6887:45:::2;::::0;833:42:::2;::::0;6925:6;6887:25:::2;:45::i;:::-;6957:10;-1:-1:-1::0;;;;;6947:29:1::2;;6969:6;6947:29;;;;;;:::i;:::-;;;;;;;;-1:-1:-1::0;;1628:1:13;2563:7;:22;6562:421:1:o;965:40::-;;;;:::o;2935:1208::-;3013:4;1761:22;3033:15;:49;3029:1108;;;-1:-1:-1;;;;;;3170:18:1;;;;;;:9;:18;;;;;;3163:25;;3029:1108;1677:22;3209:15;:49;3205:932;;;-1:-1:-1;;;;;3304:24:1;;;;;;:15;:24;;;;;;;;;3281:9;:18;;;;;;;:48;;:22;:48::i;:::-;3274:55;;;;3205:932;3360:18;3381:54;3433:1;3381:47;3426:1;1429:42;-1:-1:-1;;;;;3381:38:1;;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:47::-;:51;;:54::i;:::-;3545:35;;-1:-1:-1;;;3545:35:1;;3360:75;;-1:-1:-1;3495:16:1;;3514:67;;833:42;;3545:22;;:35;;1516:42;;3545:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;833:42;-1:-1:-1;;;;;3514:24:1;;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:67::-;3495:86;;3616:11;3599:13;:28;3595:122;;-1:-1:-1;;;;;3677:24:1;;;;;;:15;:24;;;;;;;;;3654:9;:18;;;;;;;:48;;:22;:48::i;:::-;3647:55;;;;;;3595:122;3730:17;3750:30;:11;3766:13;3750:15;:30::i;:::-;3730:50;;3814:13;3798:12;:29;3794:93;;-1:-1:-1;;;;;;;;;3854:18:1;;;;;;:9;:18;;;;;;3847:25;;3794:93;3901:16;3920:62;3968:13;3920:43;3958:4;3921:31;3968:13;3939:12;3921:17;:31::i;3920:62::-;-1:-1:-1;;;;;4017:24:1;;3996:18;4017:24;;;:15;:24;;;;;;3901:81;;-1:-1:-1;3996:18:1;4017:51;;4063:4;;4017:41;;3901:81;4017:28;:41::i;:51::-;-1:-1:-1;;;;;4089:18:1;;;;;;:9;:18;;;;;;3996:72;;-1:-1:-1;4089:37:1;;3996:72;4089:22;:37::i;:::-;4082:44;;;;;;;;;4554:609;4699:12;;4598:9;;;;;;4664:4;;4725:18;4721:78;;-1:-1:-1;4775:13:1;4721:78;4809:28;4840:48;4874:13;4840:29;4855:13;4840:10;;:14;;:29;;;;:::i;:48::-;4916:6;;:45;;-1:-1:-1;;;4916:45:1;;4809:79;;-1:-1:-1;4898:15:1;;-1:-1:-1;;;;;4916:6:1;;;;:22;;:45;;833:42;;4916:45;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4988:6;;5012:12;;;4988:44;;-1:-1:-1;;;4988:44:1;;4898:63;;-1:-1:-1;4971:14:1;;-1:-1:-1;;;;;4988:6:1;;;;:15;;:44;;:6;5012:12;;;;;;5027:4;;4988:44;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5050:1;;-1:-1:-1;5050:1:1;;-1:-1:-1;4971:61:1;-1:-1:-1;5088:68:1;5145:10;5088:52;4971:61;5088:37;:23;5116:8;5088:27;:37::i;:68::-;5081:75;;4554:609;;;;;;;;:::o;9759:1057::-;1599:19:14;;-1:-1:-1;;;;;1599:19:14;1585:10;:33;1577:69;;;;-1:-1:-1;;;1577:69:14;;;;;;;:::i;:::-;9866:1:1::1;11527:16;:14;:16::i;:::-;11504:20;:39:::0;11570:26:::1;:24;:26::i;:::-;11553:14;:43:::0;-1:-1:-1;;;;;11610:21:1;::::1;::::0;11606:154:::1;;11666:15;11673:7;11666:6;:15::i;:::-;-1:-1:-1::0;;;;;11647:16:1;::::1;;::::0;;;:7:::1;:16;::::0;;;;;;;:34;;;;11729:20:::1;::::0;11695:22:::1;:31:::0;;;;;;:54;11606:154:::1;9903:12:::2;;9884:15;:31;9880:312;;9955:15;::::0;9944:27:::2;::::0;:6;;:10:::2;:27::i;:::-;9931:10;:40:::0;9880:312:::2;;;10022:12;::::0;10002:17:::2;::::0;10022:33:::2;::::0;10039:15:::2;10022:16;:33::i;:::-;10002:53;;10069:16;10088:25;10102:10;;10088:9;:13;;:25;;;;:::i;:::-;10165:15;::::0;10069:44;;-1:-1:-1;10140:41:1::2;::::0;:20:::2;:6:::0;10069:44;10140:10:::2;:20::i;:41::-;10127:10;:54:::0;-1:-1:-1;;9880:312:1::2;10562:12;::::0;;:37:::2;::::0;-1:-1:-1;;;10562:37:1;;10546:13:::2;::::0;10562:12:::2;::::0;;::::2;-1:-1:-1::0;;;;;10562:12:1::2;::::0;:22:::2;::::0;:37:::2;::::0;10593:4:::2;::::0;10562:37:::2;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;10546:53;;10631:29;10644:15;;10631:8;:12;;:29;;;;:::i;:::-;10617:10;;:43;;10609:62;;;;-1:-1:-1::0;;;10609:62:1::2;;;;;;;:::i;:::-;10699:15;10682:14;:32:::0;;;10759:15:::2;::::0;10739:36:::2;::::0;10699:15;10739:19:::2;:36::i;:::-;10724:12;:51:::0;10790:19:::2;::::0;::::2;::::0;::::2;::::0;10802:6;;10790:19:::2;:::i;:::-;;;;;;;;11769:1;1656::14::1;9759:1057:1::0;:::o;7196:360::-;1671:1:13;2260:7;;:19;;2252:63;;;;-1:-1:-1;;;2252:63:13;;;;;;;:::i;:::-;1671:1;2390:18;;7259:10:1::1;11527:16;:14;:16::i;:::-;11504:20;:39:::0;11570:26:::1;:24;:26::i;:::-;11553:14;:43:::0;-1:-1:-1;;;;;11610:21:1;::::1;::::0;11606:154:::1;;11666:15;11673:7;11666:6;:15::i;:::-;-1:-1:-1::0;;;;;11647:16:1;::::1;;::::0;;;:7:::1;:16;::::0;;;;;;;:34;;;;11729:20:::1;::::0;11695:22:::1;:31:::0;;;;;;:54;11606:154:::1;7306:10:::2;7281:14;7298:19:::0;;;:7:::2;:19;::::0;;;;;7331:10;;7327:223:::2;;7365:10;7379:1;7357:19:::0;;;:7:::2;:19;::::0;;;;:23;7403:19:::2;7415:6:::0;7403:11:::2;:19::i;:::-;7394:28;;7436:54;7471:10;7483:6;1991:42;-1:-1:-1::0;;;;;7443:11:1::2;;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;7436:34:1::2;::::0;:54;:34:::2;:54::i;:::-;7520:10;-1:-1:-1::0;;;;;7509:30:1::2;;7532:6;7509:30;;;;;;:::i;7327:223::-;-1:-1:-1::0;;1628:1:13;2563:7;:22;7196:360:1:o;1491:34:14:-;;;-1:-1:-1;;;;;1491:34:14;;:::o;8097:39:1:-;:::o;4149:217::-;4304:6;;4328:12;;4214:9;;;;;;-1:-1:-1;;;;;4304:6:1;;;;:15;;:6;4328:12;;;;4343:15;4350:7;4343:6;:15::i;:::-;4304:55;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4149:217;;;;-1:-1:-1;;4149:217:1:o;9525:228::-;11840:10;11823:28;;;;:16;:28;;;;;;;;11815:45;;;;-1:-1:-1;;;11815:45:1;;;;;;;:::i;:::-;9601:21:::1;9610:6;9618:3;9601:8;:21::i;:::-;9636:10;1429:42;9636:29;9632:115;;;-1:-1:-1::0;;;;;9704:20:1;::::1;;::::0;;;:15:::1;:20;::::0;;;;;:32:::1;::::0;9729:6;9704:24:::1;:32::i;:::-;-1:-1:-1::0;;;;;9681:20:1;::::1;;::::0;;;:15:::1;:20;::::0;;;;:55;9632:115:::1;9525:228:::0;;:::o;1502:18:12:-;;;;;;:::o;2808:121:1:-;-1:-1:-1;;;;;2904:18:1;2878:7;2904:18;;;:9;:18;;;;;;;2808:121::o;1834:91::-;;;-1:-1:-1;;;;;1834:91:1;;:::o;1698:137:11:-;1289:12;:10;:12::i;:::-;1279:6;;-1:-1:-1;;;;;1279:6:11;;;:22;;;1271:67;;;;-1:-1:-1;;;1271:67:11;;;;;;;:::i;:::-;1796:1:::1;1780:6:::0;;1759:40:::1;::::0;-1:-1:-1;;;;;1780:6:11;;::::1;::::0;1759:40:::1;::::0;1796:1;;1759:40:::1;1826:1;1809:19:::0;;-1:-1:-1;;;;;;1809:19:11::1;::::0;;1698:137::o;788:88:1:-;833:42;788:88;:::o;930:29::-;;;;:::o;5169:129::-;5226:7;5252:39;5261:15;5278:12;;5252:8;:39::i;6989:201::-;7040:14;7057:33;7079:10;7057:21;:33::i;:::-;7040:50;-1:-1:-1;7104:13:1;;7100:63;;7133:19;7142:9;7133:8;:19::i;:::-;7172:11;:9;:11::i;1088:57::-;;;;;;;;;;;;;:::o;1075:77:11:-;1113:7;1139:6;-1:-1:-1;;;;;1139:6:11;1075:77;:::o;1471:25:12:-;;;;:::o;9214:161:1:-;1289:12:11;:10;:12::i;:::-;1279:6;;-1:-1:-1;;;;;1279:6:11;;;:22;;;1271:67;;;;-1:-1:-1;;;1271:67:11;;;;;;;:::i;:::-;-1:-1:-1;;;;;9295:30:1;::::1;9287:55;;;;-1:-1:-1::0;;;9287:55:1::1;;;;;;;:::i;:::-;9352:6;:16:::0;;-1:-1:-1;;;;;;9352:16:1::1;-1:-1:-1::0;;;;;9352:16:1;;;::::1;::::0;;;::::1;::::0;;9214:161::o;6356:94::-;6415:28;6424:6;6432:10;6415:8;:28::i;1011:29::-;;;;:::o;11148:258::-;1289:12:11;:10;:12::i;:::-;1279:6;;-1:-1:-1;;;;;1279:6:11;;;:22;;;1271:67;;;;-1:-1:-1;;;1271:67:11;;;;;;;:::i;:::-;11239:12:1::1;::::0;:17;;:51:::1;;;11278:12;;11260:15;:30;11239:51;11231:70;;;;-1:-1:-1::0;;;11231:70:1::1;;;;;;;:::i;:::-;11311:15;:34:::0;;;11360:39:::1;::::0;::::1;::::0;::::1;::::0;11329:16;;11360:39:::1;:::i;5304:310::-:0;5351:7;5374:12;;5390:1;5374:17;5370:75;;;-1:-1:-1;5414:20:1;;5407:27;;5370:75;5469:138;5507:90;5584:12;;5507:72;5574:4;5507:62;5558:10;;5507:46;5538:14;;5507:26;:24;:26::i;:90::-;5469:20;;;:24;:138::i;738:26::-;;;;;;-1:-1:-1;;;;;738:26:1;;:::o;9381:138::-;1289:12:11;:10;:12::i;:::-;1279:6;;-1:-1:-1;;;;;1279:6:11;;;:22;;;1271:67;;;;-1:-1:-1;;;1271:67:11;;;;;;;:::i;:::-;-1:-1:-1;;;;;9473:26:1;;;::::1;;::::0;;;:16:::1;:26;::::0;;;;:39;;-1:-1:-1;;9473:39:1::1;::::0;::::1;;::::0;;;::::1;::::0;;9381:138::o;8934:274::-;1289:12:11;:10;:12::i;:::-;1279:6;;-1:-1:-1;;;;;1279:6:11;;;:22;;;1271:67;;;;-1:-1:-1;;;1271:67:11;;;;;;;:::i;:::-;9027:12:1::1;::::0;::::1;::::0;::::1;-1:-1:-1::0;;;;;9027:12:1::1;9019:35:::0;9011:73:::1;;;;-1:-1:-1::0;;;9011:73:1::1;;;;;;;:::i;:::-;9095:12;:36:::0;;-1:-1:-1;;;;;;9095:36:1::1;;-1:-1:-1::0;;;;;9095:36:1;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;9141:60:::1;::::0;1991:42:::1;-1:-1:-1::0;;9141:33:1::1;:60::i;6456:100::-:0;6514:34;;-1:-1:-1;;;6514:34:1;;6506:43;;833:42;;6514:22;;:34;;6537:10;;6514:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;1046:35::-;;;;:::o;2680:122::-;-1:-1:-1;;;;;2771:24:1;2745:7;2771:24;;;:15;:24;;;;;;;2680:122::o;4372:176::-;4446:6;;:45;;-1:-1:-1;;;4446:45:1;;4417:4;;;;-1:-1:-1;;;;;4446:6:1;;;;:22;;:45;;833:42;;4446:45;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4433:58;;4508:33;4536:4;4508:23;4525:5;4508:12;;:16;;:23;;;;:::i;:33::-;4501:40;;;4372:176;:::o;893:31::-;;;;:::o;10822:320::-;1289:12:11;:10;:12::i;:::-;1279:6;;-1:-1:-1;;;;;1279:6:11;;;:22;;;1271:67;;;;-1:-1:-1;;;1271:67:11;;;;;;;:::i;:::-;-1:-1:-1;;;;;10924:37:1;::::1;833:42;10924:37;::::0;::::1;::::0;:78:::1;;-1:-1:-1::0;10989:12:1::1;::::0;-1:-1:-1;;;;;10965:37:1;;::::1;10989:12;::::0;;::::1;;10965:37;;10924:78;10916:103;;;;-1:-1:-1::0;;;10916:103:1::1;;;;;;;:::i;:::-;11029:55;11063:7;:5;:7::i;:::-;-1:-1:-1::0;;;;;11029:33:1;::::1;::::0;11072:11;11029:33:::1;:55::i;:::-;11099:36;11109:12;11123:11;11099:36;;;;;;;:::i;:::-;;;;;;;;10822:320:::0;;:::o;1984:107:11:-;1289:12;:10;:12::i;:::-;1279:6;;-1:-1:-1;;;;;1279:6:11;;;:22;;;1271:67;;;;-1:-1:-1;;;1271:67:11;;;;;;;:::i;:::-;2056:28:::1;2075:8;2056:18;:28::i;1389:656:15:-:0;1797:10;;;1796:62;;-1:-1:-1;1813:39:15;;-1:-1:-1;;;1813:39:15;;-1:-1:-1;;;;;1813:15:15;;;;;:39;;1837:4;;1844:7;;1813:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:44;1796:62;1775:163;;;;-1:-1:-1;;;1775:163:15;;;;;;;:::i;:::-;1948:90;1968:5;1998:22;;;2022:7;2031:5;1975:62;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1975:62:15;;;;;;;;;;;;;;-1:-1:-1;;;;;1975:62:15;-1:-1:-1;;;;;;1975:62:15;;;;;;;;;;1948:19;:90::i;:::-;1389:656;;;:::o;3790:224:0:-;3923:12;3954:53;3977:6;3985:4;3991:1;3994:12;3954:22;:53::i;:::-;3947:60;3790:224;-1:-1:-1;;;;3790:224:0:o;1322:134:16:-;1380:7;1406:43;1410:1;1413;1406:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;1399:50;;1322:134;;;;;:::o;2211:459::-;2269:7;2510:6;2506:45;;-1:-1:-1;2539:1:16;2532:8;;2506:45;2573:5;;;2577:1;2573;:5;:1;2596:5;;;;;:10;2588:56;;;;-1:-1:-1;;;2588:56:16;;;;;;;:::i;3132:130::-;3190:7;3216:39;3220:1;3223;3216:39;;;;;;;;;;;;;;;;;:3;:39::i;875:176::-;933:7;964:5;;;987:6;;;;979:46;;;;-1:-1:-1;;;979:46:16;;;;;;;:::i;780:96:2:-;859:10;780:96;:::o;677:205:15:-;789:86;809:5;839:23;;;864:2;868:5;816:58;;;;;;;;;:::i;7562:529:1:-;7612:11;7635:12;1991:42;-1:-1:-1;;;;;7650:11:1;;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7695:122;;-1:-1:-1;;;7695:122:1;;7635:28;;-1:-1:-1;7674:16:1;;1991:42;;7695:22;;:122;;833:42;;7635:28;;7772:6;;7674:16;;;;7794:4;;7801:15;;7695:122;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;7851:16:1;;;7865:1;7851:16;;;7827:21;7851:16;;;;;7673:144;;-1:-1:-1;7851:16:1;;;;;;;;;;;;-1:-1:-1;7851:16:1;7827:40;;833:42;7877:4;7882:1;7877:7;;;;;;;;;;;;;:31;-1:-1:-1;;;;;7877:31:1;;;-1:-1:-1;;;;;7877:31:1;;;;;7928:4;7918;7923:1;7918:7;;;;;;;;-1:-1:-1;;;;;7918:14:1;;;:7;;;;;;;;;;;:14;7942:85;;-1:-1:-1;;;7942:85:1;;1991:42;;7942:31;;:85;;7974:11;;7987:1;;7990:4;;8004;;8011:15;;7942:85;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7942:85:1;;;;;;;;;;;;:::i;:::-;-1:-1:-1;8047:37:1;;-1:-1:-1;;;8047:37:1;;-1:-1:-1;;;;;8047:22:1;;;;;:37;;8078:4;;8047:37;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8038:46;7562:529;-1:-1:-1;;;;;7562:529:1:o;5998:352::-;1671:1:13;2260:7;;:19;;2252:63;;;;-1:-1:-1;;;2252:63:13;;;;;;;:::i;:::-;1671:1;2390:18;;1605:6:12::1;::::0;::::1;;1604:7;1596:80;;;;-1:-1:-1::0;;;1596:80:12::1;;;;;;;:::i;:::-;6089:3:1::2;11527:16;:14;:16::i;:::-;11504:20;:39:::0;11570:26:::2;:24;:26::i;:::-;11553:14;:43:::0;-1:-1:-1;;;;;11610:21:1;::::2;::::0;11606:154:::2;;11666:15;11673:7;11666:6;:15::i;:::-;-1:-1:-1::0;;;;;11647:16:1;::::2;;::::0;;;:7:::2;:16;::::0;;;;;;;:34;;;;11729:20:::2;::::0;11695:22:::2;:31:::0;;;;;;:54;11606:154:::2;6121:1:::3;6112:6;:10;6104:29;;;;-1:-1:-1::0;;;6104:29:1::3;;;;;;;:::i;:::-;6158:12;::::0;:24:::3;::::0;6175:6;6158:16:::3;:24::i;:::-;6143:12;:39:::0;-1:-1:-1;;;;;6209:14:1;::::3;;::::0;;;:9:::3;:14;::::0;;;;;:26:::3;::::0;6228:6;6209:18:::3;:26::i;:::-;-1:-1:-1::0;;;;;6192:14:1;::::3;;::::0;;;:9:::3;:14;::::0;;;;:43;6245:64:::3;833:42;6275:10;6295:4;6302:6:::0;6245:29:::3;:64::i;:::-;6331:3;-1:-1:-1::0;;;;;6324:19:1::3;;6336:6;6324:19;;;;;;:::i;:::-;;;;;;;;-1:-1:-1::0;;1628:1:13;2563:7;:22;-1:-1:-1;5998:352:1:o;391:104:10:-;449:7;479:1;475;:5;:13;;487:1;475:13;;;-1:-1:-1;483:1:10;;391:104;-1:-1:-1;391:104:10:o;2192:225:11:-;-1:-1:-1;;;;;2265:22:11;;2257:73;;;;-1:-1:-1;;;2257:73:11;;;;;;;:::i;:::-;2366:6;;;2345:38;;-1:-1:-1;;;;;2345:38:11;;;;2366:6;;;2345:38;;;2393:6;:17;;-1:-1:-1;;;;;;2393:17:11;-1:-1:-1;;;;;2393:17:11;;;;;;;;;;2192:225::o;3145:763:15:-;3564:23;3590:69;3618:4;3590:69;;;;;;;;;;;;;;;;;3598:5;-1:-1:-1;;;;;3590:27:15;;;:69;;;;;:::i;:::-;3673:17;;3564:95;;-1:-1:-1;3673:21:15;3669:233;;3825:10;3814:30;;;;;;;;;;;;:::i;:::-;3806:85;;;;-1:-1:-1;;;3806:85:15;;;;;;;:::i;5235:994:0:-;5403:12;5435:18;5446:6;5435:10;:18::i;:::-;5427:60;;;;-1:-1:-1;;;5427:60:0;;;;;;;:::i;:::-;5558:12;5572:23;5599:6;-1:-1:-1;;;;;5599:11:0;5618:8;5628:4;5599:34;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5557:76;;;;5647:7;5643:580;;;5677:10;-1:-1:-1;5670:17:0;;-1:-1:-1;5670:17:0;5643:580;5788:17;;:21;5784:429;;6046:10;6040:17;6106:15;6093:10;6089:2;6085:19;6078:44;5995:145;6185:12;6178:20;;-1:-1:-1;;;6178:20:0;;;;;;;;:::i;1747:217:16:-;1863:7;1898:12;1890:6;;;;1882:29;;;;-1:-1:-1;;;1882:29:16;;;;;;;;:::i;:::-;-1:-1:-1;;;1933:5:16;;;1747:217::o;3744:302::-;3860:7;3894:12;3887:5;3879:28;;;;-1:-1:-1;;;3879:28:16;;;;;;;;:::i;:::-;;3917:9;3933:1;3929;:5;;;;;;;3744:302;-1:-1:-1;;;;;3744:302:16:o;888:241:15:-;1026:96;1046:5;1076:27;;;1105:4;1111:2;1115:5;1053:68;;;;;;;;;;:::i;1026:96::-;888:241;;;;:::o;718:630:0:-;778:4;1251:20;;1084:66;1298:23;;;;;;:42;;-1:-1:-1;;1325:15:0;;;1290:51;-1:-1:-1;;718:630:0:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;1760:241::-;;1864:2;1852:9;1843:7;1839:23;1835:32;1832:2;;;-1:-1;;1870:12;1832:2;85:6;72:20;97:33;124:5;97:33;:::i;2008:263::-;;2123:2;2111:9;2102:7;2098:23;2094:32;2091:2;;;-1:-1;;2129:12;2091:2;226:6;220:13;238:33;265:5;238:33;:::i;2278:360::-;;;2396:2;2384:9;2375:7;2371:23;2367:32;2364:2;;;-1:-1;;2402:12;2364:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;2454:63;-1:-1;2554:2;2590:22;;1095:20;1120:30;1095:20;1120:30;:::i;:::-;2562:60;;;;2358:280;;;;;:::o;2645:366::-;;;2766:2;2754:9;2745:7;2741:23;2737:32;2734:2;;;-1:-1;;2772:12;2734:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;2824:63;2924:2;2963:22;;;;1549:20;;-1:-1;;;2728:283::o;3018:392::-;;3158:2;;3146:9;3137:7;3133:23;3129:32;3126:2;;;-1:-1;;3164:12;3126:2;3215:17;3209:24;3253:18;3245:6;3242:30;3239:2;;;-1:-1;;3275:12;3239:2;3362:22;;422:4;410:17;;406:27;-1:-1;396:2;;-1:-1;;437:12;396:2;477:6;471:13;499:80;514:64;571:6;514:64;:::i;:::-;499:80;:::i;:::-;607:21;;;664:14;;;;639:17;;;753;;;744:27;;;;741:36;-1:-1;738:2;;;-1:-1;;780:12;738:2;-1:-1;806:10;;800:217;825:6;822:1;819:13;800:217;;;1697:13;;893:61;;847:1;840:9;;;;;968:14;;;;996;;800:217;;;-1:-1;3295:99;3120:290;-1:-1;;;;;;;3120:290::o;3417:235::-;;3518:2;3506:9;3497:7;3493:23;3489:32;3486:2;;;-1:-1;;3524:12;3486:2;1108:6;1095:20;1120:30;1144:5;1120:30;:::i;3659:257::-;;3771:2;3759:9;3750:7;3746:23;3742:32;3739:2;;;-1:-1;;3777:12;3739:2;1243:6;1237:13;1255:30;1279:5;1255:30;:::i;4219:241::-;;4323:2;4311:9;4302:7;4298:23;4294:32;4291:2;;;-1:-1;;4329:12;4291:2;-1:-1;1549:20;;4285:175;-1:-1;4285:175::o;4467:263::-;;4582:2;4570:9;4561:7;4557:23;4553:32;4550:2;;;-1:-1;;4588:12;4550:2;-1:-1;1697:13;;4544:186;-1:-1;4544:186::o;4737:366::-;;;4858:2;4846:9;4837:7;4833:23;4829:32;4826:2;;;-1:-1;;4864:12;4826:2;1562:6;1549:20;4916:63;;5016:2;5059:9;5055:22;72:20;97:33;124:5;97:33;:::i;5110:399::-;;;5242:2;5230:9;5221:7;5217:23;5213:32;5210:2;;;-1:-1;;5248:12;5210:2;-1:-1;;1697:13;;5411:2;5461:22;;;1697:13;;;;;-1:-1;5204:305::o;14531:611::-;14721:23;;17126:37;;14893:4;14882:16;;;14876:23;14953:14;;;17126:37;15046:4;15035:16;;;15029:23;15106:14;;17126:37;14629:513::o;17295:271::-;;7077:5;31873:12;7188:52;7233:6;7228:3;7221:4;7214:5;7210:16;7188:52;:::i;:::-;7252:16;;;;;17429:137;-1:-1;;17429:137::o;17573:222::-;-1:-1;;;;;33172:54;;;;5908:37;;17700:2;17685:18;;17671:124::o;18047:333::-;-1:-1;;;;;33172:54;;;5908:37;;33172:54;;18366:2;18351:18;;5908:37;18202:2;18187:18;;18173:207::o;18387:444::-;-1:-1;;;;;33172:54;;;5908:37;;33172:54;;;;18734:2;18719:18;;5908:37;18817:2;18802:18;;17126:37;;;;18570:2;18555:18;;18541:290::o;18838:924::-;-1:-1;;;;;33172:54;;;5908:37;;33172:54;;;19314:2;19299:18;;5908:37;19397:2;19382:18;;17126:37;;;;19488:2;19473:18;;7703:58;;;;19579:3;19564:19;;7703:58;33172:54;;;33183:42;19648:19;;5908:37;19747:3;19732:19;;17126:37;;;;19149:3;19134:19;;19120:642::o;19769:385::-;-1:-1;;;;;33172:54;;;;5908:37;;20140:2;20125:18;;7703:58;19950:2;19935:18;;19921:233::o;20501:210::-;32962:13;;32955:21;6871:34;;20622:2;20607:18;;20593:118::o;21254:310::-;;21401:2;21422:17;21415:47;8103:5;31873:12;32417:6;21401:2;21390:9;21386:18;32405:19;8197:52;8242:6;32445:14;21390:9;32445:14;21401:2;8223:5;8219:16;8197:52;:::i;:::-;34924:7;34908:14;-1:-1;;34904:28;8261:39;;;;32445:14;8261:39;;21372:192;-1:-1;;21372:192::o;21571:416::-;21771:2;21785:47;;;8537:2;21756:18;;;32405:19;8573:34;32445:14;;;8553:55;-1:-1;;;8628:12;;;8621:34;8674:12;;;21742:245::o;21994:416::-;22194:2;22208:47;;;8925:2;22179:18;;;32405:19;8961:34;32445:14;;;8941:55;-1:-1;;;9016:12;;;9009:30;9058:12;;;22165:245::o;22417:416::-;22617:2;22631:47;;;9309:2;22602:18;;;32405:19;9345:29;32445:14;;;9325:50;9394:12;;;22588:245::o;22840:416::-;23040:2;23054:47;;;9645:1;23025:18;;;32405:19;-1:-1;;;32445:14;;;9660:29;9708:12;;;23011:245::o;23263:416::-;23463:2;23477:47;;;9959:2;23448:18;;;32405:19;9995:27;32445:14;;;9975:48;10042:12;;;23434:245::o;23686:416::-;23886:2;23900:47;;;10293:1;23871:18;;;32405:19;-1:-1;;;32445:14;;;10308:29;10356:12;;;23857:245::o;24109:416::-;24309:2;24323:47;;;10607:2;24294:18;;;32405:19;10643:34;32445:14;;;10623:55;-1:-1;;;10698:12;;;10691:25;10735:12;;;24280:245::o;24532:416::-;24732:2;24746:47;;;10986:2;24717:18;;;32405:19;11022:34;32445:14;;;11002:55;-1:-1;;;11077:12;;;11070:46;11135:12;;;24703:245::o;24955:416::-;25155:2;25169:47;;;25140:18;;;32405:19;11422:34;32445:14;;;11402:55;11476:12;;;25126:245::o;25378:416::-;25578:2;25592:47;;;11727:2;25563:18;;;32405:19;-1:-1;;;32445:14;;;11743:35;11797:12;;;25549:245::o;25801:416::-;26001:2;26015:47;;;12048:2;25986:18;;;32405:19;-1:-1;;;32445:14;;;12064:35;12118:12;;;25972:245::o;26224:416::-;26424:2;26438:47;;;12369:1;26409:18;;;32405:19;-1:-1;;;32445:14;;;12384:29;12432:12;;;26395:245::o;26647:416::-;26847:2;26861:47;;;12683:2;26832:18;;;32405:19;12719:34;32445:14;;;12699:55;12788:30;12774:12;;;12767:52;12838:12;;;26818:245::o;27070:416::-;27270:2;27284:47;;;13089:1;27255:18;;;32405:19;-1:-1;;;32445:14;;;13104:27;13150:12;;;27241:245::o;27493:416::-;27693:2;27707:47;;;13401:1;27678:18;;;32405:19;-1:-1;;;32445:14;;;13416:29;13464:12;;;27664:245::o;27916:416::-;28116:2;28130:47;;;13715:2;28101:18;;;32405:19;13751:25;32445:14;;;13731:46;13796:12;;;28087:245::o;28339:416::-;28539:2;28553:47;;;14047:2;28524:18;;;32405:19;14083:31;32445:14;;;14063:52;14134:12;;;28510:245::o;28762:416::-;28962:2;28976:47;;;14385:2;28947:18;;;32405:19;14421:33;32445:14;;;14401:54;14474:12;;;28933:245::o;29185:327::-;;29364:3;29353:9;29349:19;29341:27;;16073:16;16067:23;17133:3;17126:37;16243:4;16236:5;16232:16;16226:23;16243:4;16307:3;16303:14;17126:37;16402:4;16395:5;16391:16;16385:23;16402:4;16466:3;16462:14;17126:37;16558:4;16551:5;16547:16;16541:23;16570:111;16558:4;16670:3;16666:14;16652:12;16570:111;:::i;:::-;;16763:4;16756:5;16752:16;16746:23;16832:4;16827:3;16823:14;17126:37;16920:4;16913:5;16909:16;16903:23;16932:105;17031:4;17026:3;17022:14;17008:12;16932:105;:::i;:::-;;29335:177;;;;:::o;29519:222::-;17126:37;;;29646:2;29631:18;;29617:124::o;29748:832::-;;30045:3;30034:9;30030:19;17156:5;17133:3;17126:37;30218:2;34143:24;30218:2;30207:9;30203:18;7703:58;30045:3;30255:2;30244:9;30240:18;30233:48;30295:108;6301:5;31873:12;32417:6;32412:3;32405:19;32445:14;30034:9;32445:14;6313:93;;30218:2;6477:5;31727:14;6489:21;;-1:-1;6516:260;6541:6;6538:1;6535:13;6516:260;;;6602:13;;-1:-1;;;;;33172:54;5908:37;;32260:14;;;;5670;;;;3253:18;6556:9;6516:260;;;-1:-1;;;;;;;33172:54;;;;30482:2;30467:18;;5908:37;-1:-1;;;30565:3;30550:19;17126:37;30287:116;30016:564;-1:-1;;;30016:564::o;30587:444::-;17126:37;;;30934:2;30919:18;;17126:37;;;;31017:2;31002:18;;17126:37;30770:2;30755:18;;30741:290::o;31038:256::-;31100:2;31094:9;31126:17;;;31201:18;31186:34;;31222:22;;;31183:62;31180:2;;;31258:1;;31248:12;31180:2;31100;31267:22;31078:216;;-1:-1;31078:216::o;31301:304::-;;31460:18;31452:6;31449:30;31446:2;;;-1:-1;;31482:12;31446:2;-1:-1;31527:4;31515:17;;;31580:15;;31383:222::o;34564:268::-;34629:1;34636:101;34650:6;34647:1;34644:13;34636:101;;;34717:11;;;34711:18;34698:11;;;34691:39;34672:2;34665:10;34636:101;;;34752:6;34749:1;34746:13;34743:2;;;-1:-1;;34629:1;34799:16;;34792:27;34613:219::o;34945:117::-;-1:-1;;;;;33172:54;;35004:35;;34994:2;;35053:1;;35043:12;35069:111;35150:5;32962:13;32955:21;35128:5;35125:32;35115:2;;35171:1;;35161:12

Swarm Source

ipfs://5fb7674fb6f9979987e0c32181ecf613d97a75a94a551fcfe8060e2c3c716574
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
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.