Contract 0x685E82D0c7BAd2400bAe5eaB890bb600c8C5Da2c

 

Contract Overview

Balance:
0 BNB

BNB Value:
$0.00

Token:
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x4795b00b3d9a5fdf37f240cc1eba056a644b35880d7cd585384960da28b0b428Withdraw145080692022-01-19 18:12:381 day 19 hrs ago0x2fca661c0a563a4f3af1511c80d8391a4a5de79d IN  0x685e82d0c7bad2400bae5eab890bb600c8c5da2c0 BNB0.000630756
0x177d699eb1fc219ed16c88de41ede25b511ac69212a1359f147be6bb8079f1eaDeposit145080542022-01-19 18:11:531 day 19 hrs ago0x2fca661c0a563a4f3af1511c80d8391a4a5de79d IN  0x685e82d0c7bad2400bae5eab890bb600c8c5da2c0 BNB0.000700077
0x3c1addc6fd66bd2f42d9119b1ff3688e71b6c3f247a9a0bb3c58f54f186d9b36Emergency Withdr...143394222022-01-13 20:43:467 days 17 hrs ago0x2b5ec6cfe4b433a3cffaf99fc5afb19ea460046a IN  0x685e82d0c7bad2400bae5eab890bb600c8c5da2c0 BNB0.00105
0x986b4af9eb669aae2ab4c183ed8eadc5cc087615eb1aae354d49f471dd008b4bEmergency Withdr...143393882022-01-13 20:42:047 days 17 hrs ago0x2b5ec6cfe4b433a3cffaf99fc5afb19ea460046a IN  0x685e82d0c7bad2400bae5eab890bb600c8c5da2c0 BNB0.00026414
0x7d2a5f0ceb32119621e2bfa5653333049694d4530547c4a36ba4f2c90706540dEmergency Withdr...143393752022-01-13 20:41:257 days 17 hrs ago0x2b5ec6cfe4b433a3cffaf99fc5afb19ea460046a IN  0x685e82d0c7bad2400bae5eab890bb600c8c5da2c0 BNB0.00026414
0x4201bccd5804b93c6040b440ce1717adfb519d5343047bad0b3a2ff71cb5645bEmergency Withdr...143393642022-01-13 20:40:527 days 17 hrs ago0x2b5ec6cfe4b433a3cffaf99fc5afb19ea460046a IN  0x685e82d0c7bad2400bae5eab890bb600c8c5da2c0 BNB0.00026414
0x8e3afa77e012e548ff961cce0000575e9bd6ad5938cb9409811041c7f249ca39Emergency Withdr...143393342022-01-13 20:39:227 days 17 hrs ago0x2b5ec6cfe4b433a3cffaf99fc5afb19ea460046a IN  0x685e82d0c7bad2400bae5eab890bb600c8c5da2c0 BNB0.00026414
0xf4537a55ada056ac789e2be92c511567dcd682121c871ea6471005a180f4383bEmergency Withdr...143393312022-01-13 20:39:137 days 17 hrs ago0x2b5ec6cfe4b433a3cffaf99fc5afb19ea460046a IN  0x685e82d0c7bad2400bae5eab890bb600c8c5da2c0 BNB0.00026414
0xe29c0e2d74c15172d51ad78373076a9745d807d19709c0011931e7dde4f916e6Emergency Withdr...143393242022-01-13 20:38:527 days 17 hrs ago0x2b5ec6cfe4b433a3cffaf99fc5afb19ea460046a IN  0x685e82d0c7bad2400bae5eab890bb600c8c5da2c0 BNB0.00026414
0x7fdd0f618c1e43a265507064c336a1ab86349e0259d3f61946d8bf681dfb648dEmergency Withdr...143393212022-01-13 20:38:437 days 17 hrs ago0x2b5ec6cfe4b433a3cffaf99fc5afb19ea460046a IN  0x685e82d0c7bad2400bae5eab890bb600c8c5da2c0 BNB0.00026414
0xd05680517a4f5eb5ba4004d93d9a40ad828a1adeb19c68e0bce874c25058b751Emergency Withdr...143393182022-01-13 20:38:347 days 17 hrs ago0x2b5ec6cfe4b433a3cffaf99fc5afb19ea460046a IN  0x685e82d0c7bad2400bae5eab890bb600c8c5da2c0 BNB0.00026414
0xf8173ec0ba6f0f6524ad95de8fb27200da3c89eab50c4140953dfa588b1025feEmergency Withdr...143393152022-01-13 20:38:257 days 17 hrs ago0x2b5ec6cfe4b433a3cffaf99fc5afb19ea460046a IN  0x685e82d0c7bad2400bae5eab890bb600c8c5da2c0 BNB0.00026414
0x6804fa650c39839e36d6679844fe5e85ecff8c2c3801df6f5b68863b695cdd8eEmergency Withdr...143392702022-01-13 20:36:107 days 17 hrs ago0x2b5ec6cfe4b433a3cffaf99fc5afb19ea460046a IN  0x685e82d0c7bad2400bae5eab890bb600c8c5da2c0 BNB0.00026414
0x9c8aa3fe1f9cad39c166fc89f1315a03b2861eb91888b453982f0187bae70180Emergency Withdr...143391932022-01-13 20:32:197 days 17 hrs ago0x2b5ec6cfe4b433a3cffaf99fc5afb19ea460046a IN  0x685e82d0c7bad2400bae5eab890bb600c8c5da2c0 BNB0.00026414
0x1601352f45ff97b6e781a51a2abbf5a30a93a23c4c880ca5ec7381beeba5133cEmergency Withdr...143391372022-01-13 20:29:317 days 17 hrs ago0x2b5ec6cfe4b433a3cffaf99fc5afb19ea460046a IN  0x685e82d0c7bad2400bae5eab890bb600c8c5da2c0 BNB0.00026414
0xd64ba4df8b602e4378bb854dd19f28d61f8e44fac9a85f7a2dd2e39ebeb48319Emergency Withdr...143385412022-01-13 19:59:427 days 17 hrs ago0x3cd6a664dc693beacfafdf62f428c69161c2162a IN  0x685e82d0c7bad2400bae5eab890bb600c8c5da2c0 BNB0.000202515
0xa6d4b8980514cae27efd3fefec1b4785956107b603214b00766998c64dc69adaTransfer Ownersh...142437882022-01-10 12:51:0011 days 1 hr ago0x5137a106eaf110bd238c53b9b4da4a0dfd938d55 IN  0x685e82d0c7bad2400bae5eab890bb600c8c5da2c0 BNB0.00015478
0x7c888a4877d9eb09472b132f5281c3c78dff9af2eefdf2b9ad7b922c7b93901eDeposit142399112022-01-10 9:37:0911 days 4 hrs ago0xec08eff77496601be56c11028a516366dbf03f13 IN  0x685e82d0c7bad2400bae5eab890bb600c8c5da2c0 BNB0.000347333
0x515bffd114e191d77c4729534d45d674ed3a983857dde8440bf957457277cdaeDeposit142398942022-01-10 9:36:1811 days 4 hrs ago0xec08eff77496601be56c11028a516366dbf03f13 IN  0x685e82d0c7bad2400bae5eab890bb600c8c5da2c0 BNB0.000909993
0x04ece64577ac913a421feb956815364e04993587bcd9a697ff19fd0f22bb1690Add142137992022-01-09 11:50:3512 days 2 hrs ago0x5137a106eaf110bd238c53b9b4da4a0dfd938d55 IN  0x685e82d0c7bad2400bae5eab890bb600c8c5da2c0 BNB0.00080684
0xb2f5ae3789082e786db2c2429fbfdc9b32081934d31c95128991e5b19b594051Add142137912022-01-09 11:50:1112 days 2 hrs ago0x5137a106eaf110bd238c53b9b4da4a0dfd938d55 IN  0x685e82d0c7bad2400bae5eab890bb600c8c5da2c0 BNB0.00080684
0xe9b3f04cb76aa9f7752a536a9a7d24f37d13d63a0c6a2cb809a49f8eeb35024bAdd142137862022-01-09 11:49:5612 days 2 hrs ago0x5137a106eaf110bd238c53b9b4da4a0dfd938d55 IN  0x685e82d0c7bad2400bae5eab890bb600c8c5da2c0 BNB0.00080678
0x2df3fc5eda3d6a08d61f98167c096aa4b697bd7ca08d8ec590e11ed616a47597Add142137792022-01-09 11:49:3512 days 2 hrs ago0x5137a106eaf110bd238c53b9b4da4a0dfd938d55 IN  0x685e82d0c7bad2400bae5eab890bb600c8c5da2c0 BNB0.00080684
0x128c5cff4fdc518384656e306fbb5494bf38518d642a0fd3f182a96b17310a49Add142137662022-01-09 11:48:5612 days 2 hrs ago0x5137a106eaf110bd238c53b9b4da4a0dfd938d55 IN  0x685e82d0c7bad2400bae5eab890bb600c8c5da2c0 BNB0.00080684
0x7f1bf1f0f80791403b5e5e610179d15ddab81a8d0ac6a831da9e38cb09d2fc81Add142137602022-01-09 11:48:3812 days 2 hrs ago0x5137a106eaf110bd238c53b9b4da4a0dfd938d55 IN  0x685e82d0c7bad2400bae5eab890bb600c8c5da2c0 BNB0.00080678
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MasterChef

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 1 of 13: MasterChef.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

import "./ScarceToken.sol";
import "./SafeBEP20.sol";
import "./ReentrancyGuard.sol";
import "./Distributor.sol";



// MasterChef is the master of Scarce. He can make Scarce and he is a fair guy.
//
// Note that it's ownable and the owner wields tremendous power. The ownership
// will be transferred to a governance smart contract once SRC is sufficiently
// distributed and the community can show to govern itself.
//
// Have fun reading it. Hopefully it's bug-free. God bless.
contract MasterChef is Ownable, ReentrancyGuard {
    using SafeMath for uint256;
    using SafeBEP20 for IBEP20;

    // Info of each user.
    struct UserInfo {
        uint256 amount;     // How many LP tokens the user has provided.
        uint256 rewardDebt; // Reward debt. See explanation below.
        //
        // We do some fancy math here. Basically, any point in time, the amount of SRCs
        // entitled to a user but is pending to be distributed is:
        //
        //   pending reward = (user.amount * pool.accSrcPerShare) - user.rewardDebt
        //
        // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens:
        //   1. The pool's `accSrcPerShare` (and `lastRewardBlock`) gets updated.
        //   2. User receives the pending reward sent to his/her address.
        //   3. User's `amount` gets updated.
        //   4. User's `rewardDebt` gets updated.
    }

    // Info of each pool.
    struct PoolInfo {
        IBEP20 lpToken;           // Address of LP token contract.
        uint256 allocPoint;       // How many allocation points assigned to this pool. SRCs to distribute per block.
        uint256 lastRewardBlock;  // Last block number that SRCs distribution occurs.
        uint256 accSrcPerShare; // Accumulated SRCs per share, times 1e12. See below.
        uint16 depositFeeBP;     // Deposit fee in basis points
        uint16 withdrawalFeeBP;     // Deposit fee in basis points
    }

    // The SCARCE TOKEN!
    ScarceToken public src;
    // The Distributor contract, where SRCs are awaiting their new owners.
    Distributor public dst;
    // Dev address.
    address public devAddr;
    // Deposit Fee address
    address public feeAddress;
    // SRC tokens distributed per block.
    uint256 public srcPerBlock;
    // Percentage of supply in the Distributor to be used in srcPerBlock calculation.
    uint256 public emissionPercentage;

    // Info of each pool.
    PoolInfo[] public poolInfo;
    // Info of each user that stakes LP tokens.
    mapping (uint256 => mapping (address => UserInfo)) public userInfo;
    // Total allocation poitns. Must be the sum of all allocation points in all pools.
    uint256 public totalAllocPoint = 0;
    // The block number when SRC mining starts.
    uint256 public startBlock;
    // Tracker for one time setting of startBlock after deployment.
    bool public startBlockInit;
    // Max deposit fee: 5%.
    uint16 public constant MAXIMUM_DEPOSIT_FEE_BP = 500;
    // Max withdrawal fee: 5%.
    uint16 public constant MAXIMUM_WITHDRAWAL_FEE_BP = 500;
    // Index for last update on rewardsperblock
    uint256 public RewardsUpdatedIndex = 0;
    // Pool Exists Mapper
    mapping(IBEP20 => bool) public poolExistence;
    // Pool ID Tracker Mapper
    mapping(IBEP20 => uint256) public poolIdForLpAddress;

    event Deposit(address indexed user, uint256 indexed pid, uint256 amount);
    event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event SetFeeAddress(address indexed user, address indexed _feeAddress);
    event SetDevAddress(address indexed user, address indexed _devAddress);
    event SetEmissionPercentage(address indexed caller, uint256 previousPercentage, uint256 newPercentage);
    event EmissionRateUpdated(address indexed caller, uint256 previousAmount, uint256 newAmount);

    constructor(
        ScarceToken _src,
        Distributor _dst,
        address _devAddr,
        address _feeAddress,
        uint256 _emissionPercentage
    ) public {
        src = _src;
        dst = _dst;
        devAddr = _devAddr;
        feeAddress = _feeAddress;
        emissionPercentage = _emissionPercentage;
        startBlock = 99999999;

    }

    function poolLength() external view returns (uint256) {
        return poolInfo.length;
    }

    function getPoolIdForLpToken(IBEP20 _lpToken) external view returns (uint256) {
        require(poolExistence[_lpToken] != false, "getPoolIdForLpToken: do not exist");
        return poolIdForLpAddress[_lpToken];
    }

    // Modifier to check Duplicate pools
    modifier nonDuplicated(IBEP20 _lpToken) {
        require(poolExistence[_lpToken] == false, "nonDuplicated: duplicated");
        _;
    }

    // Add a new lp to the pool. Can only be called by the owner.
    // XXX DO NOT add the same LP token more than once. Rewards will be messed up if you do.
    // Added check for deposit fee to make it impossible to set values higher then 5%.
    // Added check for withdrawal fee to make it impossible to set values higher then 5%.
    function add(uint256 _allocPoint, IBEP20 _lpToken, uint16 _depositFeeBP, uint16 _withdrawalFeeBP, bool _withUpdate) public onlyOwner {
        require(_depositFeeBP <= MAXIMUM_DEPOSIT_FEE_BP, "add: invalid deposit fee basis points");
        require(_withdrawalFeeBP <= MAXIMUM_WITHDRAWAL_FEE_BP, "add: invalid withdrawal fee basis points");
        if (_withUpdate) {
            massUpdatePools();
        }
        uint256 lastRewardBlock = block.number > startBlock ? block.number : startBlock;
        totalAllocPoint = totalAllocPoint.add(_allocPoint);
        poolExistence[_lpToken] = true;
        poolInfo.push(PoolInfo({
            lpToken: _lpToken,
            allocPoint: _allocPoint,
            lastRewardBlock: lastRewardBlock,
            accSrcPerShare: 0,
            depositFeeBP: _depositFeeBP,
            withdrawalFeeBP: _withdrawalFeeBP
        }));
        poolIdForLpAddress[_lpToken] = poolInfo.length - 1;
    }

    // Update the given pool's SRC allocation point. Can only be called by the owner.
    // Added check for deposit fee to make it impossible to set values higher then 5%.
    // Added check for withdrawal fee to make it impossible to set values higher then 5%.
    function set(uint256 _pid, uint256 _allocPoint, uint16 _depositFeeBP, uint16 _withdrawalFeeBP, bool _withUpdate) public onlyOwner {
        require(_depositFeeBP <= MAXIMUM_DEPOSIT_FEE_BP, "add: invalid deposit fee basis points");
        require(_withdrawalFeeBP <= MAXIMUM_WITHDRAWAL_FEE_BP, "add: invalid withdrawal fee basis points");
        if (_withUpdate) {
            massUpdatePools();
        }
        totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint);
        poolInfo[_pid].allocPoint = _allocPoint;
        poolInfo[_pid].depositFeeBP = _depositFeeBP;
        poolInfo[_pid].withdrawalFeeBP = _withdrawalFeeBP;
        if (poolInfo[_pid].lastRewardBlock == 99999999) {
            poolInfo[_pid].lastRewardBlock = startBlock;
        }
    }

    // Return reward multiplier over the given _from to _to block.
    function getMultiplier(uint256 _from, uint256 _to) public pure returns (uint256) {
        return _to.sub(_from);
    }

    // View function to see pending SRCs on frontend.
    function pendingSrc(uint256 _pid, address _user) external view returns (uint256) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accSrcPerShare = pool.accSrcPerShare;
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (block.number > pool.lastRewardBlock && lpSupply != 0) {
            uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
            uint256 srcReward = multiplier.mul(srcPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
            accSrcPerShare = accSrcPerShare.add(srcReward.mul(1e12).div(lpSupply));
        }
        return user.amount.mul(accSrcPerShare).div(1e12).sub(user.rewardDebt);
    }

    // Update reward variables for all pools. Be careful of gas spending!
    function massUpdatePools() public {
        uint256 length = poolInfo.length;
        for (uint256 pid = 0; pid < length; ++pid) {
            updatePool(pid);
        }
    }

    // Update reward variables of the given pool to be up-to-date.
    function updatePool(uint256 _pid) public {
        updateEmissionRate();
        PoolInfo storage pool = poolInfo[_pid];
        if (block.number <= pool.lastRewardBlock) {
            return;
        }
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (lpSupply == 0) {
            pool.lastRewardBlock = block.number;
            return;
        }
        uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
        uint256 srcReward = multiplier.mul(srcPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
        dst.Distribute(devAddr, srcReward.div(40));
        dst.Distribute(address(this), srcReward);
        pool.accSrcPerShare = pool.accSrcPerShare.add(srcReward.mul(1e12).div(lpSupply));
        pool.lastRewardBlock = block.number;
    }

    // Deposit LP tokens to MasterChef for SRC allocation.
    function deposit(uint256 _pid, uint256 _amount) public nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        updatePool(_pid);
        if (user.amount > 0) {
            uint256 pending = user.amount.mul(pool.accSrcPerShare).div(1e12).sub(user.rewardDebt);
            if(pending > 0) {
                safeSrcTransfer(msg.sender, pending);
            }
        }
        if (_amount > 0) {
            pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount);
            if (pool.depositFeeBP > 0) {
                uint256 depositFee = _amount.mul(pool.depositFeeBP).div(10000);
                user.amount = user.amount.add(_amount).sub(depositFee);
                pool.lpToken.safeTransfer(feeAddress, depositFee);
            } else {
                user.amount = user.amount.add(_amount);
            }
        }
        user.rewardDebt = user.amount.mul(pool.accSrcPerShare).div(1e12);
        emit Deposit(msg.sender, _pid, _amount);
    }

    // Withdraw LP tokens from MasterChef.
    function withdraw(uint256 _pid, uint256 _amount) public nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        require(user.amount >= _amount, "withdraw: not good");
        updatePool(_pid);
        uint256 pending = user.amount.mul(pool.accSrcPerShare).div(1e12).sub(user.rewardDebt);
        if(pending > 0) {
            safeSrcTransfer(msg.sender, pending);
        }
        if(_amount > 0) {
            if (pool.withdrawalFeeBP > 0) {
                uint256 withdrawalFee = _amount.mul(pool.withdrawalFeeBP).div(10000);
                uint256 netAmount = _amount.sub(withdrawalFee);
                pool.lpToken.safeTransfer(feeAddress, withdrawalFee);
                user.amount = user.amount.sub(_amount);
                pool.lpToken.safeTransfer(address(msg.sender), netAmount);
            } else {
            user.amount = user.amount.sub(_amount);
            pool.lpToken.safeTransfer(address(msg.sender), _amount);
            }
        }
        user.rewardDebt = user.amount.mul(pool.accSrcPerShare).div(1e12);
        emit Withdraw(msg.sender, _pid, _amount);
    }

    // Withdraw without caring about rewards. EMERGENCY ONLY.
    function emergencyWithdraw(uint256 _pid) public nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        if (pool.withdrawalFeeBP > 0) {
            uint256 withdrawalFee = user.amount.mul(pool.withdrawalFeeBP).div(10000);
            uint256 netAmount = user.amount.sub(withdrawalFee);
            pool.lpToken.safeTransfer(feeAddress, withdrawalFee);
            pool.lpToken.safeTransfer(address(msg.sender), netAmount);
        } else {
        pool.lpToken.safeTransfer(address(msg.sender), user.amount);
        }
        emit EmergencyWithdraw(msg.sender, _pid, user.amount);
        user.amount = 0;
        user.rewardDebt = 0;
    }



    // Safe scarce transfer function, just in case if rounding error causes pool to not have enough SRCs.
    function safeSrcTransfer(address _to, uint256 _amount) internal {
        uint256 srcBal = src.balanceOf(address(this));
        bool transferSuccess = false;
        if (_amount > srcBal) {
            transferSuccess = src.transfer(_to, srcBal);
        } else {
            transferSuccess = src.transfer(_to, _amount);
        }
        require(transferSuccess, "safeSrcTransfer: transfer failed.");
    }
    

    // Update dev address by the previous dev.
    function setDevAddress(address _devaddr) public {
        require(_devaddr != address(0), "dev: invalid address");
        require(msg.sender == devAddr, "dev: wut?");
        devAddr = _devaddr;
        emit SetDevAddress(msg.sender, _devaddr);
    }

    // Update fee address by the previous fee address.
    function setFeeAddress(address _feeAddress) public {
        require(_feeAddress != address(0), "fee: invalid address");
        require(msg.sender == feeAddress, "fee: wut?");
        feeAddress = _feeAddress;
        emit SetFeeAddress(msg.sender, _feeAddress);
    }

    // One time setting of start block and update to every pool.lastRewardBlock already created so the rewards begin at the correct block. can only be called once.
    function setStartblock(uint256 _startBlock) public onlyOwner {
        require (startBlockInit == false,"Already initialized!");
        startBlock = _startBlock;
        uint256 length = poolInfo.length;
        for (uint256 pid = 0; pid < length; ++pid) {
            PoolInfo storage pool = poolInfo[pid];
            pool.lastRewardBlock = startBlock;
        }
        startBlockInit = true;
    }

    // Update percentage of supply in the Distributor to be distributed per block.
    function setEmissionPercentage (uint256 _emissionPercentage) public {
        require(emissionPercentage > 0, "emissionPercentage: must be between 5 and 0.0001 percent.");
        require(emissionPercentage < 50001, "emissionPercentage: must be between 5 and 0.0001 percent.");
        require(msg.sender == devAddr, "dev: wut?");
        uint256 previousEmissionPercentage = emissionPercentage;
        emissionPercentage = _emissionPercentage;
        uint256 newemissionPercentage = _emissionPercentage;
        massUpdatePools();
        emit SetEmissionPercentage(msg.sender, previousEmissionPercentage, newemissionPercentage);
    }

    // Update emission rate to be certain percentage of total supply stored in the Distributor, calculated with emissionPercentage
    function updateEmissionRate() public {
        if(block.number <= RewardsUpdatedIndex) { // only update rewards once per block when using e.g. massUpdatePools()
            return;
        }
        uint256 previousEmissionRate = srcPerBlock;
        uint256 newEmissionRate = src.balanceOf(address(dst)).mul(emissionPercentage).div(1e6);
        srcPerBlock = newEmissionRate;
        RewardsUpdatedIndex = block.number;
        emit EmissionRateUpdated(msg.sender, previousEmissionRate, newEmissionRate);
    }
}

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

pragma solidity >=0.6.2 <0.8.0;

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

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

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

        // 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");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

pragma solidity >=0.6.0 <0.8.0;

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

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

File 4 of 13: Distributor.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

import "./ScarceToken.sol";

contract Distributor is Context, Ownable {
        using SafeMath for uint256;
        ScarceToken public src;

        // Tracker for one time setting of Token contract.
        bool public SrcInit;

        event SetSrcAddress(address indexed user, ScarceToken indexed _srcAddress);

        constructor (
            ScarceToken _src
        ) public {
        src = _src;
        }

        receive () external payable {}

        function Distribute (address to, uint256 amount) public onlyOwner {
            bool transferSuccess = false;
            transferSuccess = src.transfer (to, amount);
            require(transferSuccess, "safeSrcDistribute: transfer failed.");
            
        }

        // Update Token address.
        function setSrcAddress(ScarceToken _srcaddr) public onlyOwner {
        require (SrcInit == false,"Already initialized!");
            src = _srcaddr;
            SrcInit = true;
            emit SetSrcAddress(msg.sender, _srcaddr);
    }

        

} 

File 5 of 13: IBEP20.sol
// SPDX-License-Identifier: MIT

/**
 *Submitted for verification at BscScan.com on 2020-09-02
*/

pragma solidity >=0.4.0 <0.8.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 6 of 13: IPancakeFactory.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.5.16;


interface IPancakeFactory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

    function createPair(address tokenA, address tokenB) external returns (address pair);

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

File 7 of 13: IPancakePair.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.5.0;

interface IPancakePair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

File 8 of 13: IPancakeRouter.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: contracts\interfaces\IPancakeRouter02.sol

pragma solidity >=0.6.2;

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

pragma solidity >=0.6.0 <0.8.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.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

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

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

File 10 of 13: ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.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].
 */
abstract 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 11 of 13: SafeBEP20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.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 12 of 13: SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.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, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

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

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

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

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

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        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) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        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, reverting 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) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

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

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

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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);
        return a / b;
    }

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

File 13 of 13: ScarceToken.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

import "./Context.sol";
import "./IBEP20.sol";
import "./Ownable.sol";
import "./SafeMath.sol";
import "./IPancakeFactory.sol";
import "./IPancakePair.sol";
import "./IPancakeRouter.sol";

// SRC Token with Governance.
contract ScarceToken is Context, IBEP20, Ownable {
    using SafeMath for uint256;
    mapping (address => uint256) private _tOwned; //balances
    mapping (address => bool) private _isExcludedFromFee;
    mapping (address => mapping (address => uint256)) private _allowances;
    mapping (address => bool) public _isExcludedFromAutoLiquidity;

    address public constant _burnAddress = 0x000000000000000000000000000000000000dEaD;
    
    address public _feeAddress;
    address public _tokenDistContract;

    uint256 private _tTotal = 50000*10**18;
    uint256 private _tFeeTotal;

    string private constant _name     = "Scarce Protocol";
    string private constant _symbol   = "SRC";
    uint8  private constant _decimals = 18;

    // transfer fee
    uint256 public  _taxFee       = 0; // tax fee is reflections
    uint256 public  _liquidityFee = 0; // ZERO tax for transfering tokens
    uint256 public  _burnFee = 0;

    // buy fee
    uint256 public  _taxFeeBuy       = 0;
    uint256 public  _liquidityFeeBuy = 0;
    uint256 public  _burnFeeBuy = 0;

    // sell fee
    uint256 public  _taxFeeSell       = 10;
    uint256 public  _liquidityFeeSell = 4;
    uint256 public  _burnFeeSell = 1;

    uint256 public  _minTokenBalance = _tTotal.div(200);
    
    // auto liquidity
    IPancakeRouter02 public PancakeRouter;
    address public PancakePair;
    address public PancakePairBusd;
    bool inSwapAndLiquify;
    bool public swapAndLiquifyEnabled = true;
    event MinTokensBeforeSwapUpdated(uint256 minTokensBeforeSwap);
    event SwapAndLiquifyEnabledUpdated(bool enabled);
    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 bnbReceived,
        uint256 tokensIntoLiquidity
    );
    
    modifier lockTheSwap {
        inSwapAndLiquify = true;
        _;
        inSwapAndLiquify = false;
    }

    // Tracker for one time setting of Pancakerouter if things go wrong during deployment.
    bool public RouterInit;
    // Tracker for one time setting of Pancakepairs.
    bool public PairsInit;

    constructor (
        address feeAddress,
        address tokenDistContract
    ) public {
        _tOwned[_msgSender()] = _tTotal;
        _feeAddress = feeAddress;
        _tokenDistContract = tokenDistContract;
        
        // pancakeswap
        IPancakeRouter02 _PancakeRouter = IPancakeRouter02(0x10ED43C718714eb63d5aA57B78B54704E256024E);
        PancakePair = IPancakeFactory(_PancakeRouter.factory()).createPair(address(this), _PancakeRouter.WETH());
        PancakeRouter = _PancakeRouter;
        
        // exclude system contracts
        _isExcludedFromFee[owner()]       = true;
        _isExcludedFromFee[address(this)] = true;
        _isExcludedFromFee[_tokenDistContract] = true;

        _isExcludedFromAutoLiquidity[PancakePair]            = true;
        _isExcludedFromAutoLiquidity[PancakePairBusd]            = true;
        _isExcludedFromAutoLiquidity[address(PancakeRouter)] = true;
        _isExcludedFromAutoLiquidity[_tokenDistContract] = true;

        emit Transfer(address(0), _msgSender(), _tTotal);
    }

    function getOwner() external override view returns (address) {
        return owner();
    }

    function name() public view override returns (string memory) {
        return _name;
    }

    function symbol() public view override returns (string memory) {
        return _symbol;
    }

    function decimals() public view override returns (uint8) {
        return _decimals;
    }

    function totalSupply() public view override returns (uint256) {
        // to reflect burned amount in total supply
        // return _tTotal - balanceOf(_burnAddress);

        return _tTotal;
    }

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

    function transfer(address recipient, uint256 amount) public override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    function allowance(address owner, address spender) public view override returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) public override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount, 'BEP20: transfer amount exceeds allowance'));
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, 'BEP20: decreased allowance below zero'));
        return true;
    }

    function totalFees() public view returns (uint256) {
        return _tFeeTotal;
    }

    function setExcludedFromFee(address account, bool e) external onlyOwner {
        _isExcludedFromFee[account] = e;
    }

    function setMinTokenBalance(uint256 minTokenBalance) external onlyOwner {
        _minTokenBalance = minTokenBalance;
    }

    function setFeesTransfer(uint taxFee, uint liquidityFee, uint burnFee) external onlyOwner {
        require(taxFee <= 15, "invalid deposit tax fee basis points");
        require(liquidityFee <= 10, "invalid deposit liquidity fee basis points");
        require(burnFee <= 5, "invalid deposit burn fee basis points");
        _taxFee       = taxFee;
        _liquidityFee = liquidityFee;
        _burnFee      = burnFee;
        
    }

    function setFeesBuy(uint taxFee, uint liquidityFee, uint burnFee) external onlyOwner {
        require(taxFee <= 15, "invalid deposit tax fee basis points");
        require(liquidityFee <= 10, "invalid deposit liquidity fee basis points");
        require(burnFee <= 5, "invalid deposit burn fee basis points");
        _taxFeeBuy       = taxFee;
        _liquidityFeeBuy = liquidityFee;
        _burnFeeBuy      = burnFee;
    }

    function setFeesSell(uint taxFee, uint liquidityFee, uint burnFee) external onlyOwner {
        require(taxFee <= 15, "invalid deposit tax fee basis points");
        require(liquidityFee <= 10, "invalid deposit liquidity fee basis points");
        require(burnFee <= 5, "invalid deposit burn fee basis points");
        _taxFeeSell       = taxFee;
        _liquidityFeeSell = liquidityFee;
        _burnFeeSell      = burnFee;
    }

    function setAddresses(address feeAddress, address tokenDistContract) external onlyOwner {
        _feeAddress       = feeAddress;
        _tokenDistContract = tokenDistContract;
    }

    function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner {
        swapAndLiquifyEnabled = _enabled;
        emit SwapAndLiquifyEnabledUpdated(_enabled);
    }
    
    receive() external payable {}

    function setPancakeRouter(address r) external onlyOwner {
    require (RouterInit == false,"Already initialized!");
        IPancakeRouter02 _PancakeRouter = IPancakeRouter02(r);
        PancakeRouter = _PancakeRouter;
        RouterInit = true;
    }

    function setPancakePairs(address p, address pbusd) external onlyOwner {
        require (PairsInit == false,"Already initialized!");
        PancakePair = p;
        PancakePairBusd = pbusd;
        PairsInit = true;
    }

    function setExcludedFromAutoLiquidity(address a, bool b) external onlyOwner {
        _isExcludedFromAutoLiquidity[a] = b;
    }
    
    function _getTValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256) {
        uint256 tFee       = calculateFee(tAmount, _taxFee);
        uint256 tLiquidity = calculateFee(tAmount, _liquidityFee);
        uint256 tBurn      = calculateFee(tAmount, _burnFee);
        uint256 tTransferAmount = tAmount.sub(tFee).sub(tLiquidity).sub(tBurn);
        return (tTransferAmount, tFee, tLiquidity, tBurn);
    }
    
    function takeTransactionFee(address sender, address to, uint256 tAmount) private {
        if (tAmount == 0) { return; }

        _tOwned[to] = _tOwned[to].add(tAmount);

        emit Transfer(sender, to, tAmount);
    }
    
    function calculateFee(uint256 amount, uint256 fee) private pure returns (uint256) {
        return amount.mul(fee).div(100);
    }
    
    function isExcludedFromFee(address account) public view returns(bool) {
        return _isExcludedFromFee[account];
    }

    function _approve(address owner, address spender, uint256 amount) private {
        require(owner != address(0), "BEP20: approve from the zero address");
        require(spender != address(0), "BEP20: approve to the zero address");

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

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) private {
        require(from != address(0), "BEP20: transfer from the zero address");
        require(to != address(0), "BEP20: transfer to the zero address");
        require(amount > 0, "Transfer amount must be greater than zero");

        /*
            - swapAndLiquify will be initiated when token balance of this contract
            has accumulated enough over the minimum number of tokens required.
            - don't get caught in a circular liquidity event.
            - don't swapAndLiquify if sender is Pancake pair.
        */
        uint256 contractTokenBalance = balanceOf(address(this));
        
        bool isOverMinTokenBalance = contractTokenBalance >= _minTokenBalance;
        if (
            isOverMinTokenBalance &&
            !inSwapAndLiquify &&
            !_isExcludedFromAutoLiquidity[from] &&
            swapAndLiquifyEnabled
        ) {
            contractTokenBalance = _minTokenBalance;
            swapAndLiquify(contractTokenBalance);
        }

        
        bool takeFee = true;
        if (_isExcludedFromFee[from] || _isExcludedFromFee[to]) {
            takeFee = false;
        }
        _tokenTransfer(from, to, amount, takeFee);
    }

    function swapAndLiquify(uint256 contractTokenBalance) private lockTheSwap {
        // split contract balance into halves
        uint256 half      = contractTokenBalance.div(2);
        uint256 otherHalf = contractTokenBalance.sub(half);

        uint256 initialBalance = address(this).balance;

        swapTokensForBnb(half);

        uint256 bnbForLiquidity = address(this).balance.sub(initialBalance);
        
        (uint256 tokenAdded, uint256 bnbAdded) = addLiquidity(otherHalf, bnbForLiquidity);
        
        emit SwapAndLiquify(half, bnbAdded, tokenAdded);
    }

    function swapTokensForBnb(uint256 tokenAmount) private {
        // generate the Pancake pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = PancakeRouter.WETH();

        _approve(address(this), address(PancakeRouter), tokenAmount);

        // make the swap
        PancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of BNB
            path,
            address(this),
            block.timestamp
        );
    }

    function addLiquidity(uint256 tokenAmount, uint256 bnbAmount) private returns (uint256, uint256) {
        // approve token transfer to cover all possible scenarios
        _approve(address(this), address(PancakeRouter), tokenAmount);

        // add the liquidity
        (uint amountToken, uint amountETH, ) = PancakeRouter.addLiquidityETH{value: bnbAmount}(
            address(this),
            tokenAmount,
            0, // slippage is unavoidable
            0, // slippage is unavoidable
            _feeAddress,
            block.timestamp
        );
        return (uint256(amountToken), uint256(amountETH));
    }

    function _tokenTransfer(address sender, address recipient, uint256 amount, bool takeFee) private {
        uint256 previousTaxFee       = _taxFee;
        uint256 previousLiquidityFee = _liquidityFee;
        uint256 previousBurnFee      = _burnFee;
        
        bool isBuy  = (sender == PancakePair || sender == PancakePairBusd) && recipient != address(PancakeRouter);
        bool isSell = recipient == PancakePair || recipient == PancakePairBusd;
        
        if (!takeFee) {
            _taxFee       = 0;
            _liquidityFee = 0;
            _burnFee      = 0;

        } else if (isBuy) { 
            _taxFee       = _taxFeeBuy;
            _liquidityFee = _liquidityFeeBuy;
            _burnFee      = _burnFeeBuy;

        } else if (isSell) { 
            _taxFee       = _taxFeeSell;
            _liquidityFee = _liquidityFeeSell;
            _burnFee      = _burnFeeSell;
        }
        
        _transferStandard(sender, recipient, amount);
        
        if (!takeFee || isBuy || isSell) {
            _taxFee       = previousTaxFee;
            _liquidityFee = previousLiquidityFee;
            _burnFee      = previousBurnFee;
        }
    }

    function _transferStandard(address sender, address recipient, uint256 tAmount) private {
        (uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity, uint256 tBurn) = _getTValues(tAmount);

        _tOwned[sender] = _tOwned[sender].sub(tAmount);
        _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);

        takeTransactionFee(sender, _tokenDistContract, tFee);
        takeTransactionFee(sender, address(this), tLiquidity);
        takeTransactionFee(sender, _burnAddress, tBurn);
        _tFeeTotal = _tFeeTotal.add(tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }   
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract ScarceToken","name":"_src","type":"address"},{"internalType":"contract Distributor","name":"_dst","type":"address"},{"internalType":"address","name":"_devAddr","type":"address"},{"internalType":"address","name":"_feeAddress","type":"address"},{"internalType":"uint256","name":"_emissionPercentage","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"EmissionRateUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"_devAddress","type":"address"}],"name":"SetDevAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousPercentage","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newPercentage","type":"uint256"}],"name":"SetEmissionPercentage","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"_feeAddress","type":"address"}],"name":"SetFeeAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"MAXIMUM_DEPOSIT_FEE_BP","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAXIMUM_WITHDRAWAL_FEE_BP","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RewardsUpdatedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IBEP20","name":"_lpToken","type":"address"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"},{"internalType":"uint16","name":"_withdrawalFeeBP","type":"uint16"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dst","outputs":[{"internalType":"contract Distributor","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emissionPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"contract IBEP20","name":"_lpToken","type":"address"}],"name":"getPoolIdForLpToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingSrc","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IBEP20","name":"","type":"address"}],"name":"poolExistence","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IBEP20","name":"","type":"address"}],"name":"poolIdForLpAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IBEP20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accSrcPerShare","type":"uint256"},{"internalType":"uint16","name":"depositFeeBP","type":"uint16"},{"internalType":"uint16","name":"withdrawalFeeBP","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"},{"internalType":"uint16","name":"_withdrawalFeeBP","type":"uint16"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devaddr","type":"address"}],"name":"setDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_emissionPercentage","type":"uint256"}],"name":"setEmissionPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeAddress","type":"address"}],"name":"setFeeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startBlock","type":"uint256"}],"name":"setStartblock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"src","outputs":[{"internalType":"contract ScarceToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"srcPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startBlockInit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","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":"updateEmissionRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600a556000600d5534801561001a57600080fd5b50604051612621380380612621833981810160405260a081101561003d57600080fd5b508051602082015160408301516060840151608090940151929391929091906000610066610112565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060018055600280546001600160a01b03199081166001600160a01b039788161790915560038054821695871695909517909455600480548516938616939093179092556005805490931693169290921790556007556305f5e0ff600b55610116565b3390565b6124fc806101256000396000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c8063630b5ba1116101255780639d677ec1116100ad578063d48532b31161007c578063d48532b3146105aa578063da09c72c146105b2578063e0541695146105ba578063e2bbb158146105c2578063f2fde38b146105e557610211565b80639d677ec11461053a578063b3e4a0ae14610542578063cbd258b51461055e578063d0d41fe11461058457610211565b80638da5cb5b116100f45780638da5cb5b146104a45780638dbb1e3a146104ac57806393f1a40b146104cf578063955c9b931461045f5780639bf62f7e1461051457610211565b8063630b5ba11461044f578063715018a61461045757806375819a1e1461045f5780638705fcd41461047e57610211565b80633a6a1f40116101a85780634a7fa021116101775780634a7fa021146103b15780634f65c3db146103f057806351eb05a61461040d5780635312ea8e1461042a5780635c93dd361461044757610211565b80633a6a1f4014610376578063412753581461037e578063441a3e701461038657806348cd4cb1146103a957610211565b8063190f39f0116101e4578063190f39f0146102c55780631d2401a4146102eb5780631d97e4fc1461030a5780632e7dc6af1461035257610211565b8063081e3eda146102165780631526fe2714610230578063175a381a1461029157806317caf6f1146102bd575b600080fd5b61021e61060b565b60408051918252519081900360200190f35b61024d6004803603602081101561024657600080fd5b5035610611565b604080516001600160a01b039097168752602087019590955285850193909352606085019190915261ffff90811660808501521660a0830152519081900360c00190f35b61021e600480360360408110156102a757600080fd5b50803590602001356001600160a01b0316610667565b61021e6107d9565b61021e600480360360208110156102db57600080fd5b50356001600160a01b03166107df565b6103086004803603602081101561030157600080fd5b5035610852565b005b610308600480360360a081101561032057600080fd5b508035906001600160a01b036020820135169061ffff6040820135811691606081013590911690608001351515610970565b61035a610c17565b604080516001600160a01b039092168252519081900360200190f35b61021e610c26565b61035a610c2c565b6103086004803603604081101561039c57600080fd5b5080359060200135610c3b565b61021e610e83565b610308600480360360a08110156103c757600080fd5b5080359060208101359061ffff6040820135811691606081013590911690608001351515610e89565b6103086004803603602081101561040657600080fd5b50356110b2565b6103086004803603602081101561042357600080fd5b50356111b7565b6103086004803603602081101561044057600080fd5b50356113e0565b61021e611565565b61030861156b565b61030861158e565b61046761163a565b6040805161ffff9092168252519081900360200190f35b6103086004803603602081101561049457600080fd5b50356001600160a01b0316611640565b61035a611729565b61021e600480360360408110156104c257600080fd5b5080359060200135611738565b6104fb600480360360408110156104e557600080fd5b50803590602001356001600160a01b031661174b565b6040805192835260208301919091528051918290030190f35b61021e6004803603602081101561052a57600080fd5b50356001600160a01b031661176f565b610308611781565b61054a611875565b604080519115158252519081900360200190f35b61054a6004803603602081101561057457600080fd5b50356001600160a01b031661187e565b6103086004803603602081101561059a57600080fd5b50356001600160a01b0316611893565b61035a61197c565b61035a61198b565b61021e61199a565b610308600480360360408110156105d857600080fd5b50803590602001356119a0565b610308600480360360208110156105fb57600080fd5b50356001600160a01b0316611b7c565b60085490565b6008818154811061061e57fe5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0390931694509092909161ffff808216916201000090041686565b6000806008848154811061067757fe5b600091825260208083208784526009825260408085206001600160a01b0389811687529084528186206005959095029092016003810154815483516370a0823160e01b815230600482015293519298509596909590949316926370a082319260248082019391829003018186803b1580156106f157600080fd5b505afa158015610705573d6000803e3d6000fd5b505050506040513d602081101561071b57600080fd5b505160028501549091504311801561073257508015155b1561079e576000610747856002015443611738565b9050600061077a600a54610774886001015461076e60065487611c7e90919063ffffffff16565b90611c7e565b90611cd7565b9050610799610792846107748464e8d4a51000611c7e565b8590611d3e565b935050505b6107cc83600101546107c664e8d4a51000610774868860000154611c7e90919063ffffffff16565b90611d98565b9450505050505b92915050565b600a5481565b6001600160a01b0381166000908152600e602052604081205460ff166108365760405162461bcd60e51b81526004018080602001828103825260218152602001806124856021913960400191505060405180910390fd5b506001600160a01b03166000908152600f602052604090205490565b6000600754116108935760405162461bcd60e51b815260040180806020018281038252603981526020018061242c6039913960400191505060405180910390fd5b61c351600754106108d55760405162461bcd60e51b815260040180806020018281038252603981526020018061242c6039913960400191505060405180910390fd5b6004546001600160a01b03163314610920576040805162461bcd60e51b81526020600482015260096024820152686465763a207775743f60b81b604482015290519081900360640190fd5b60078054908290558161093161156b565b6040805183815260208101839052815133927f8cff8cb788072e331fe2dbe48837f0ed3af83a29f1cde264da83469f1c8571c4928290030190a2505050565b610978611df5565b6001600160a01b0316610989611729565b6001600160a01b0316146109d2576040805162461bcd60e51b81526020600482018190526024820152600080516020612465833981519152604482015290519081900360640190fd5b6101f461ffff84161115610a175760405162461bcd60e51b81526004018080602001828103825260258152602001806123486025913960400191505060405180910390fd5b6101f461ffff83161115610a5c5760405162461bcd60e51b81526004018080602001828103825260288152602001806123e36028913960400191505060405180910390fd5b8015610a6a57610a6a61156b565b6000600b544311610a7d57600b54610a7f565b435b600a54909150610a8f9087611d3e565b600a556001600160a01b039485166000818152600e602090815260408083208054600160ff199091168117909155815160c0810183528581528084019b8c528083019687526060810185815261ffff9a8b1660808301908152998b1660a0830190815260088054948501815580885292517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee3600590950294850180546001600160a01b03191691909e1617909c559b517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee483015595517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee582015599517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee68b015595517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee79099018054985161ffff199099169988169990991763ffff00001916620100009890971697909702959095179096555494835250600f90925220600019919091019055565b6002546001600160a01b031681565b600d5481565b6005546001600160a01b031681565b60026001541415610c93576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600181905550600060088381548110610caa57fe5b600091825260208083208684526009825260408085203386529092529220805460059092029092019250831115610d1d576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b610d26846111b7565b6000610d5482600101546107c664e8d4a5100061077487600301548760000154611c7e90919063ffffffff16565b90508015610d6657610d663382611df9565b8315610e2157600483015462010000900461ffff1615610dfd576004830154600090610da5906127109061077490889062010000900461ffff16611c7e565b90506000610db38683611d98565b6005548654919250610dd2916001600160a01b03908116911684611fcc565b8354610dde9087611d98565b84558454610df6906001600160a01b03163383611fcc565b5050610e21565b8154610e099085611d98565b82558254610e21906001600160a01b03163386611fcc565b60038301548254610e3c9164e8d4a510009161077491611c7e565b6001830155604080518581529051869133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a3505060018055505050565b600b5481565b610e91611df5565b6001600160a01b0316610ea2611729565b6001600160a01b031614610eeb576040805162461bcd60e51b81526020600482018190526024820152600080516020612465833981519152604482015290519081900360640190fd5b6101f461ffff84161115610f305760405162461bcd60e51b81526004018080602001828103825260258152602001806123486025913960400191505060405180910390fd5b6101f461ffff83161115610f755760405162461bcd60e51b81526004018080602001828103825260288152602001806123e36028913960400191505060405180910390fd5b8015610f8357610f8361156b565b610fc084610fba60088881548110610f9757fe5b906000526020600020906005020160010154600a54611d9890919063ffffffff16565b90611d3e565b600a819055508360088681548110610fd457fe5b9060005260206000209060050201600101819055508260088681548110610ff757fe5b906000526020600020906005020160040160006101000a81548161ffff021916908361ffff160217905550816008868154811061103057fe5b906000526020600020906005020160040160026101000a81548161ffff021916908361ffff1602179055506008858154811061106857fe5b9060005260206000209060050201600201546305f5e0ff14156110ab57600b546008868154811061109557fe5b9060005260206000209060050201600201819055505b5050505050565b6110ba611df5565b6001600160a01b03166110cb611729565b6001600160a01b031614611114576040805162461bcd60e51b81526020600482018190526024820152600080516020612465833981519152604482015290519081900360640190fd5b600c5460ff1615611163576040805162461bcd60e51b8152602060048201526014602482015273416c726561647920696e697469616c697a65642160601b604482015290519081900360640190fd5b600b81905560085460005b818110156111a55760006008828154811061118557fe5b60009182526020909120600b54600590920201600201555060010161116e565b5050600c805460ff1916600117905550565b6111bf611781565b6000600882815481106111ce57fe5b90600052602060002090600502019050806002015443116111ef57506113dd565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561123957600080fd5b505afa15801561124d573d6000803e3d6000fd5b505050506040513d602081101561126357600080fd5b50519050806112795750436002909101556113dd565b6000611289836002015443611738565b905060006112b0600a54610774866001015461076e60065487611c7e90919063ffffffff16565b6003546004549192506001600160a01b039081169163c1d32ad591166112d7846028611cd7565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561131d57600080fd5b505af1158015611331573d6000803e3d6000fd5b50506003546040805163c1d32ad560e01b81523060048201526024810186905290516001600160a01b03909216935063c1d32ad5925060448082019260009290919082900301818387803b15801561138857600080fd5b505af115801561139c573d6000803e3d6000fd5b505050506113ca6113bf8461077464e8d4a5100085611c7e90919063ffffffff16565b600386015490611d3e565b6003850155505043600290920191909155505b50565b60026001541415611438576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260018190555060006008828154811061144f57fe5b600091825260208083208584526009825260408085203386529092529220600591909102909101600481015490925062010000900461ffff161561150157600482015481546000916114b39161271091610774919062010000900461ffff16611c7e565b82549091506000906114c59083611d98565b60055485549192506114e4916001600160a01b03908116911684611fcc565b83546114fa906001600160a01b03163383611fcc565b505061151c565b8054825461151c916001600160a01b03909116903390611fcc565b80546040805191825251849133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a3600080825560019182015580555050565b60075481565b60085460005b8181101561158a57611582816111b7565b600101611571565b5050565b611596611df5565b6001600160a01b03166115a7611729565b6001600160a01b0316146115f0576040805162461bcd60e51b81526020600482018190526024820152600080516020612465833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6101f481565b6001600160a01b038116611692576040805162461bcd60e51b81526020600482015260146024820152736665653a20696e76616c6964206164647265737360601b604482015290519081900360640190fd5b6005546001600160a01b031633146116dd576040805162461bcd60e51b81526020600482015260096024820152686665653a207775743f60b81b604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b03831690811790915560405133907fd44190acf9d04bdb5d3a1aafff7e6dee8b40b93dfb8c5d3f0eea4b9f4539c3f790600090a350565b6000546001600160a01b031690565b60006117448284611d98565b9392505050565b60096020908152600092835260408084209091529082529020805460019091015482565b600f6020526000908152604090205481565b600d54431161178f57611873565b600654600754600254600354604080516370a0823160e01b81526001600160a01b039283166004820152905160009461182794620f4240946107749492939116916370a08231916024808301926020929190829003018186803b1580156117f557600080fd5b505afa158015611809573d6000803e3d6000fd5b505050506040513d602081101561181f57600080fd5b505190611c7e565b600681905543600d556040805184815260208101839052815192935033927feedc6338c9c1ad8f3cd6c90dd09dbe98dbd57e610d3e59a17996d07acb0d9511929181900390910190a250505b565b600c5460ff1681565b600e6020526000908152604090205460ff1681565b6001600160a01b0381166118e5576040805162461bcd60e51b81526020600482015260146024820152736465763a20696e76616c6964206164647265737360601b604482015290519081900360640190fd5b6004546001600160a01b03163314611930576040805162461bcd60e51b81526020600482015260096024820152686465763a207775743f60b81b604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b03831690811790915560405133907f618c54559e94f1499a808aad71ee8729f8e74e8c48e979616328ce493a1a52e790600090a350565b6003546001600160a01b031681565b6004546001600160a01b031681565b60065481565b600260015414156119f8576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600181905550600060088381548110611a0f57fe5b60009182526020808320868452600982526040808520338652909252922060059091029091019150611a40846111b7565b805415611a89576000611a7582600101546107c664e8d4a5100061077487600301548760000154611c7e90919063ffffffff16565b90508015611a8757611a873382611df9565b505b8215611b1b578154611aa6906001600160a01b0316333086612023565b600482015461ffff1615611b0c576004820154600090611ad3906127109061077490879061ffff16611c7e565b8254909150611ae89082906107c69087611d3e565b82556005548354611b06916001600160a01b03918216911683611fcc565b50611b1b565b8054611b189084611d3e565b81555b60038201548154611b369164e8d4a510009161077491611c7e565b6001820155604080518481529051859133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a35050600180555050565b611b84611df5565b6001600160a01b0316611b95611729565b6001600160a01b031614611bde576040805162461bcd60e51b81526020600482018190526024820152600080516020612465833981519152604482015290519081900360640190fd5b6001600160a01b038116611c235760405162461bcd60e51b81526004018080602001828103825260268152602001806123976026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600082611c8d575060006107d3565b82820282848281611c9a57fe5b04146117445760405162461bcd60e51b815260040180806020018281038252602181526020018061240b6021913960400191505060405180910390fd5b6000808211611d2d576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381611d3657fe5b049392505050565b600082820183811015611744576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600082821115611def576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b3390565b600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015611e4457600080fd5b505afa158015611e58573d6000803e3d6000fd5b505050506040513d6020811015611e6e57600080fd5b50519050600081831115611f05576002546040805163a9059cbb60e01b81526001600160a01b038781166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015611ed257600080fd5b505af1158015611ee6573d6000803e3d6000fd5b505050506040513d6020811015611efc57600080fd5b50519050611f8a565b6002546040805163a9059cbb60e01b81526001600160a01b038781166004830152602482018790529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015611f5b57600080fd5b505af1158015611f6f573d6000803e3d6000fd5b505050506040513d6020811015611f8557600080fd5b505190505b80611fc65760405162461bcd60e51b81526004018080602001828103825260218152602001806124a66021913960400191505060405180910390fd5b50505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261201e908490612079565b505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611fc69085905b60606120ce826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661212a9092919063ffffffff16565b80519091501561201e578080602001905160208110156120ed57600080fd5b505161201e5760405162461bcd60e51b815260040180806020018281038252602a81526020018061236d602a913960400191505060405180910390fd5b60606121398484600085612141565b949350505050565b6060824710156121825760405162461bcd60e51b81526004018080602001828103825260268152602001806123bd6026913960400191505060405180910390fd5b61218b8561229d565b6121dc576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061221b5780518252601f1990920191602091820191016121fc565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461227d576040519150601f19603f3d011682016040523d82523d6000602084013e612282565b606091505b50915091506122928282866122a3565b979650505050505050565b3b151590565b606083156122b2575081611744565b8251156122c25782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561230c5781810151838201526020016122f4565b50505050905090810190601f1680156123395780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe6164643a20696e76616c6964206465706f7369742066656520626173697320706f696e74735361666542455032303a204245503230206f7065726174696f6e20646964206e6f7420737563636565644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c6164643a20696e76616c6964207769746864726177616c2066656520626173697320706f696e7473536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77656d697373696f6e50657263656e746167653a206d757374206265206265747765656e203520616e6420302e303030312070657263656e742e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572676574506f6f6c4964466f724c70546f6b656e3a20646f206e6f74206578697374736166655372635472616e736665723a207472616e73666572206661696c65642ea2646970667358221220533f286c99cf74952349eb90c309e84efa510a8620611ac522c9283a06c419e664736f6c634300060c0033000000000000000000000000f43eddaa306191088358aa45cf20dd4f9ed9bd69000000000000000000000000603b1b98f49f817ad793f970af1830e79d427a680000000000000000000000005137a106eaf110bd238c53b9b4da4a0dfd938d5500000000000000000000000032aee2b6c985506ded390121bea054bc3d7656600000000000000000000000000000000000000000000000000000000000000032

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

000000000000000000000000f43eddaa306191088358aa45cf20dd4f9ed9bd69000000000000000000000000603b1b98f49f817ad793f970af1830e79d427a680000000000000000000000005137a106eaf110bd238c53b9b4da4a0dfd938d5500000000000000000000000032aee2b6c985506ded390121bea054bc3d7656600000000000000000000000000000000000000000000000000000000000000032

-----Decoded View---------------
Arg [0] : _src (address): 0xf43eddaa306191088358aa45cf20dd4f9ed9bd69
Arg [1] : _dst (address): 0x603b1b98f49f817ad793f970af1830e79d427a68
Arg [2] : _devAddr (address): 0x5137a106eaf110bd238c53b9b4da4a0dfd938d55
Arg [3] : _feeAddress (address): 0x32aee2b6c985506ded390121bea054bc3d765660
Arg [4] : _emissionPercentage (uint256): 50

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000f43eddaa306191088358aa45cf20dd4f9ed9bd69
Arg [1] : 000000000000000000000000603b1b98f49f817ad793f970af1830e79d427a68
Arg [2] : 0000000000000000000000005137a106eaf110bd238c53b9b4da4a0dfd938d55
Arg [3] : 00000000000000000000000032aee2b6c985506ded390121bea054bc3d765660
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000032


Deployed ByteCode Sourcemap

557:15328:7:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4465:95;;;:::i;:::-;;;;;;;;;;;;;;;;2560:26;;;;;;;;;;;;;;;;-1:-1:-1;2560:26:7;;:::i;:::-;;;;-1:-1:-1;;;;;2560:26:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7624:750;;;;;;;;;;;;;;;;-1:-1:-1;7624:750:7;;;;;;-1:-1:-1;;;;;7624:750:7;;:::i;2803:34::-;;;:::i;4568:221::-;;;;;;;;;;;;;;;;-1:-1:-1;4568:221:7;-1:-1:-1;;;;;4568:221:7;;:::i;14574:647::-;;;;;;;;;;;;;;;;-1:-1:-1;14574:647:7;;:::i;:::-;;5328:960;;;;;;;;;;;;;;;;-1:-1:-1;5328:960:7;;;-1:-1:-1;;;;;5328:960:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;2085:22::-;;;:::i;:::-;;;;-1:-1:-1;;;;;2085:22:7;;;;;;;;;;;;;;3256:38;;;:::i;2297:25::-;;;:::i;10716:1188::-;;;;;;;;;;;;;;;;-1:-1:-1;10716:1188:7;;;;;;;:::i;2893:25::-;;;:::i;6562:802::-;;;;;;;;;;;;;;;;-1:-1:-1;6562:802:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;14071:411::-;;;;;;;;;;;;;;;;-1:-1:-1;14071:411:7;;:::i;8713:815::-;;;;;;;;;;;;;;;;-1:-1:-1;8713:815:7;;:::i;11975:730::-;;;;;;;;;;;;;;;;-1:-1:-1;11975:730:7;;:::i;2491:33::-;;;:::i;8457:180::-;;;:::i;1710:145:8:-;;;:::i;3146:54:7:-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;13624:274;;;;;;;;;;;;;;;;-1:-1:-1;13624:274:7;-1:-1:-1;;;;;13624:274:7;;:::i;1078:85:8:-;;;:::i;7440:121:7:-;;;;;;;;;;;;;;;;-1:-1:-1;7440:121:7;;;;;;;:::i;2642:66::-;;;;;;;;;;;;;;;;-1:-1:-1;2642:66:7;;;;;;-1:-1:-1;;;;;2642:66:7;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;3410:52;;;;;;;;;;;;;;;;-1:-1:-1;3410:52:7;-1:-1:-1;;;;;3410:52:7;;:::i;15361:521::-;;;:::i;2994:26::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;3328:44;;;;;;;;;;;;;;;;-1:-1:-1;3328:44:7;-1:-1:-1;;;;;3328:44:7;;:::i;13304:256::-;;;;;;;;;;;;;;;;-1:-1:-1;13304:256:7;-1:-1:-1;;;;;13304:256:7;;:::i;2190:22::-;;;:::i;2240:::-;;;:::i;2371:26::-;;;:::i;9596:1068::-;;;;;;;;;;;;;;;;-1:-1:-1;9596:1068:7;;;;;;;:::i;2004:240:8:-;;;;;;;;;;;;;;;;-1:-1:-1;2004:240:8;-1:-1:-1;;;;;2004:240:8;;:::i;4465:95:7:-;4537:8;:15;4465:95;:::o;2560:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2560:26:7;;;;-1:-1:-1;2560:26:7;;;;;;;;;;;;;;:::o;7624:750::-;7696:7;7716:21;7740:8;7749:4;7740:14;;;;;;;;;;;;;;;;7789;;;:8;:14;;;;;;-1:-1:-1;;;;;7789:21:7;;;;;;;;;;;7740:14;;;;;;;;7846:19;;;;7895:12;;:37;;-1:-1:-1;;;7895:37:7;;7926:4;7895:37;;;;;;7740:14;;-1:-1:-1;7789:21:7;;7846:19;;7740:14;;7895:12;;;:22;;:37;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7895:37:7;7962:20;;;;7895:37;;-1:-1:-1;7947:12:7;:35;:52;;;;-1:-1:-1;7986:13:7;;;7947:52;7943:344;;;8016:18;8037:49;8051:4;:20;;;8073:12;8037:13;:49::i;:::-;8016:70;;8101:17;8121:69;8174:15;;8121:48;8153:4;:15;;;8121:27;8136:11;;8121:10;:14;;:27;;;;:::i;:::-;:31;;:48::i;:::-;:52;;:69::i;:::-;8101:89;-1:-1:-1;8222:53:7;8241:33;8265:8;8241:19;8101:89;8255:4;8241:13;:19::i;:33::-;8222:14;;:18;:53::i;:::-;8205:70;;7943:344;;;8304:62;8350:4;:15;;;8304:41;8340:4;8304:31;8320:14;8304:4;:11;;;:15;;:31;;;;:::i;:41::-;:45;;:62::i;:::-;8297:69;;;;;;7624:750;;;;;:::o;2803:34::-;;;;:::o;4568:221::-;-1:-1:-1;;;;;4665:23:7;;4637:7;4665:23;;;:13;:23;;;;;;;;4657:78;;;;-1:-1:-1;;;4657:78:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;4753:28:7;;;;;:18;:28;;;;;;;4568:221::o;14574:647::-;14682:1;14661:18;;:22;14653:92;;;;-1:-1:-1;;;14653:92:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14785:5;14764:18;;:26;14756:96;;;;-1:-1:-1;;;14756:96:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14885:7;;-1:-1:-1;;;;;14885:7:7;14871:10;:21;14863:43;;;;;-1:-1:-1;;;14863:43:7;;;;;;;;;;;;-1:-1:-1;;;14863:43:7;;;;;;;;;;;;;;;14954:18;;;14983:40;;;;15004:19;15096:17;:15;:17::i;:::-;15129:84;;;;;;;;;;;;;;15151:10;;15129:84;;;;;;;;14574:647;;;:::o;5328:960::-;1301:12:8;:10;:12::i;:::-;-1:-1:-1;;;;;1290:23:8;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1290:23:8;;1282:68;;;;;-1:-1:-1;;;1282:68:8;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1282:68:8;;;;;;;;;;;;;;;3104:3:7::1;5480:39;::::0;::::1;;;5472:89;;;;-1:-1:-1::0;;;5472:89:7::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3197:3;5580:45;::::0;::::1;;;5572:98;;;;-1:-1:-1::0;;;5572:98:7::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5685:11;5681:61;;;5713:17;:15;:17::i;:::-;5752:23;5793:10;;5778:12;:25;:53;;5821:10;;5778:53;;;5806:12;5778:53;5860:15;::::0;5752:79;;-1:-1:-1;5860:32:7::1;::::0;5880:11;5860:19:::1;:32::i;:::-;5842:15;:50:::0;-1:-1:-1;;;;;5903:23:7;;::::1;;::::0;;;:13:::1;:23;::::0;;;;;;;:30;;5929:4:::1;-1:-1:-1::0;;5903:30:7;;::::1;::::0;::::1;::::0;;;5958:260;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;;;;;;;;;;;;;;::::1;::::0;;::::1;::::0;;;;;;;;::::1;::::0;;;;;;5944:8:::1;:275:::0;;;;::::1;::::0;;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;5944:275:7::1;::::0;;;::::1;;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5944:275:7;;::::1;::::0;;::::1;::::0;;;::::1;-1:-1:-1::0;;5944:275:7::1;::::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;;6261:15;6230:28;;;-1:-1:-1;6230:18:7::1;:28:::0;;;;-1:-1:-1;;6261:19:7;;;;6230:50;;5328:960::o;2085:22::-;;;-1:-1:-1;;;;;2085:22:7;;:::o;3256:38::-;;;;:::o;2297:25::-;;;-1:-1:-1;;;;;2297:25:7;;:::o;10716:1188::-;1721:1:9;2327:7;;:19;;2319:63;;;;;-1:-1:-1;;;2319:63:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;1721:1;2460:7;:18;;;;10796:21:7::1;10820:8;10829:4;10820:14;;;;;;;;;::::0;;;::::1;::::0;;;10869;;;:8:::1;:14:::0;;;;;;10884:10:::1;10869:26:::0;;;;;;;10914:11;;10820:14:::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;10914:22:7;-1:-1:-1;10914:22:7::1;10906:53;;;::::0;;-1:-1:-1;;;10906:53:7;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;10906:53:7;;;;;;;;;;;;;::::1;;10970:16;10981:4;10970:10;:16::i;:::-;10997:15;11015:67;11066:4;:15;;;11015:46;11056:4;11015:36;11031:4;:19;;;11015:4;:11;;;:15;;:36;;;;:::i;:67::-;10997:85:::0;-1:-1:-1;11096:11:7;;11093:79:::1;;11124:36;11140:10;11152:7;11124:15;:36::i;:::-;11185:11:::0;;11182:589:::1;;11217:20;::::0;::::1;::::0;;;::::1;;;:24:::0;11213:547:::1;;11298:20;::::0;::::1;::::0;11262:21:::1;::::0;11286:44:::1;::::0;11324:5:::1;::::0;11286:33:::1;::::0;:7;;11298:20;;::::1;;;11286:11;:33::i;:44::-;11262:68:::0;-1:-1:-1;11349:17:7::1;11369:26;:7:::0;11262:68;11369:11:::1;:26::i;:::-;11440:10;::::0;11414:12;;11349:46;;-1:-1:-1;11414:52:7::1;::::0;-1:-1:-1;;;;;11414:12:7;;::::1;::::0;11440:10:::1;11452:13:::0;11414:25:::1;:52::i;:::-;11499:11:::0;;:24:::1;::::0;11515:7;11499:15:::1;:24::i;:::-;11485:38:::0;;11542:12;;:57:::1;::::0;-1:-1:-1;;;;;11542:12:7::1;11576:10;11589:9:::0;11542:25:::1;:57::i;:::-;11213:547;;;;;11650:11:::0;;:24:::1;::::0;11666:7;11650:15:::1;:24::i;:::-;11636:38:::0;;11689:12;;:55:::1;::::0;-1:-1:-1;;;;;11689:12:7::1;11723:10;11736:7:::0;11689:25:::1;:55::i;:::-;11815:19;::::0;::::1;::::0;11799:11;;:46:::1;::::0;11840:4:::1;::::0;11799:36:::1;::::0;:15:::1;:36::i;:46::-;11781:15;::::0;::::1;:64:::0;11861:35:::1;::::0;;;;;;;11882:4;;11870:10:::1;::::0;11861:35:::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;;1677:1:9;2639:22;;-1:-1:-1;;;10716:1188:7:o;2893:25::-;;;;:::o;6562:802::-;1301:12:8;:10;:12::i;:::-;-1:-1:-1;;;;;1290:23:8;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1290:23:8;;1282:68;;;;;-1:-1:-1;;;1282:68:8;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1282:68:8;;;;;;;;;;;;;;;3104:3:7::1;6711:39;::::0;::::1;;;6703:89;;;;-1:-1:-1::0;;;6703:89:7::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3197:3;6811:45;::::0;::::1;;;6803:98;;;;-1:-1:-1::0;;;6803:98:7::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6916:11;6912:61;;;6944:17;:15;:17::i;:::-;7001:63;7052:11;7001:46;7021:8;7030:4;7021:14;;;;;;;;;;;;;;;;;;:25;;;7001:15;;:19;;:46;;;;:::i;:::-;:50:::0;::::1;:63::i;:::-;6983:15;:81;;;;7103:11;7075:8;7084:4;7075:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;7155:13;7125:8;7134:4;7125:14;;;;;;;;;;;;;;;;;;:27;;;:43;;;;;;;;;;;;;;;;;;7212:16;7179:8;7188:4;7179:14;;;;;;;;;;;;;;;;;;:30;;;:49;;;;;;;;;;;;;;;;;;7243:8;7252:4;7243:14;;;;;;;;;;;;;;;;;;:30;;;7277:8;7243:42;7239:118;;;7335:10;;7302:8;7311:4;7302:14;;;;;;;;;;;;;;;;;;:30;;:43;;;;7239:118;6562:802:::0;;;;;:::o;14071:411::-;1301:12:8;:10;:12::i;:::-;-1:-1:-1;;;;;1290:23:8;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1290:23:8;;1282:68;;;;;-1:-1:-1;;;1282:68:8;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1282:68:8;;;;;;;;;;;;;;;14152:14:7::1;::::0;::::1;;:23;14143:56;;;::::0;;-1:-1:-1;;;14143:56:7;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;14143:56:7;;;;;;;;;;;;;::::1;;14210:10;:24:::0;;;14262:8:::1;:15:::0;14245:14:::1;14288:155;14316:6;14310:3;:12;14288:155;;;14346:21;14370:8;14379:3;14370:13;;;;;;;;;::::0;;;::::1;::::0;;;14421:10:::1;::::0;14370:13:::1;::::0;;::::1;;14398:20;;:33:::0;-1:-1:-1;14324:5:7::1;;14288:155;;;-1:-1:-1::0;;14453:14:7::1;:21:::0;;-1:-1:-1;;14453:21:7::1;14470:4;14453:21;::::0;;-1:-1:-1;14071:411:7:o;8713:815::-;8765:20;:18;:20::i;:::-;8796:21;8820:8;8829:4;8820:14;;;;;;;;;;;;;;;;;;8796:38;;8865:4;:20;;;8849:12;:36;8845:75;;8902:7;;;8845:75;8949:12;;:37;;;-1:-1:-1;;;8949:37:7;;8980:4;8949:37;;;;;;8930:16;;-1:-1:-1;;;;;8949:12:7;;:22;;:37;;;;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8949:37:7;;-1:-1:-1;9001:13:7;8997:102;;-1:-1:-1;9054:12:7;9031:20;;;;:35;9081:7;;8997:102;9109:18;9130:49;9144:4;:20;;;9166:12;9130:13;:49::i;:::-;9109:70;;9190:17;9210:69;9263:15;;9210:48;9242:4;:15;;;9210:27;9225:11;;9210:10;:14;;:27;;;;:::i;:69::-;9290:3;;9305:7;;9190:89;;-1:-1:-1;;;;;;9290:3:7;;;;:14;;9305:7;9314:17;9190:89;9328:2;9314:13;:17::i;:::-;9290:42;;;;;;;;;;;;;-1:-1:-1;;;;;9290:42:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;9343:3:7;;:40;;;-1:-1:-1;;;9343:40:7;;9366:4;9343:40;;;;;;;;;;;;-1:-1:-1;;;;;9343:3:7;;;;-1:-1:-1;9343:14:7;;-1:-1:-1;9343:40:7;;;;;:3;;:40;;;;;;;;:3;;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9416:58;9440:33;9464:8;9440:19;9454:4;9440:9;:13;;:19;;;;:::i;:33::-;9416:19;;;;;:23;:58::i;:::-;9394:19;;;:80;-1:-1:-1;;9508:12:7;9485:20;;;;:35;;;;-1:-1:-1;8713:815:7;;:::o;11975:730::-;1721:1:9;2327:7;;:19;;2319:63;;;;;-1:-1:-1;;;2319:63:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;1721:1;2460:7;:18;;;;12047:21:7::1;12071:8;12080:4;12071:14;;;;;;;;;::::0;;;::::1;::::0;;;12120;;;:8:::1;:14:::0;;;;;;12135:10:::1;12120:26:::0;;;;;;;12071:14:::1;::::0;;;::::1;::::0;;::::1;12161:20;::::0;::::1;::::0;12071:14;;-1:-1:-1;12161:20:7;;::::1;;;:24:::0;12157:421:::1;;12242:20;::::0;::::1;::::0;12226:11;;12202:21:::1;::::0;12226:48:::1;::::0;12268:5:::1;::::0;12226:37:::1;::::0;:11;12242:20;;::::1;;;12226:15;:37::i;:48::-;12309:11:::0;;12202:72;;-1:-1:-1;12289:17:7::1;::::0;12309:30:::1;::::0;12202:72;12309:15:::1;:30::i;:::-;12380:10;::::0;12354:12;;12289:50;;-1:-1:-1;12354:52:7::1;::::0;-1:-1:-1;;;;;12354:12:7;;::::1;::::0;12380:10:::1;12392:13:::0;12354:25:::1;:52::i;:::-;12421:12:::0;;:57:::1;::::0;-1:-1:-1;;;;;12421:12:7::1;12455:10;12468:9:::0;12421:25:::1;:57::i;:::-;12157:421;;;;;12554:11:::0;;12507:12;;:59:::1;::::0;-1:-1:-1;;;;;12507:12:7;;::::1;::::0;12541:10:::1;::::0;12507:25:::1;:59::i;:::-;12629:11:::0;;12593:48:::1;::::0;;;;;;12623:4;;12611:10:::1;::::0;12593:48:::1;::::0;;;;::::1;::::0;;::::1;12666:1;12652:15:::0;;;12678::::1;::::0;;::::1;:19:::0;2639:22:9;;-1:-1:-1;;11975:730:7:o;2491:33::-;;;;:::o;8457:180::-;8519:8;:15;8502:14;8545:85;8573:6;8567:3;:12;8545:85;;;8603:15;8614:3;8603:10;:15::i;:::-;8581:5;;8545:85;;;;8457:180;:::o;1710:145:8:-;1301:12;:10;:12::i;:::-;-1:-1:-1;;;;;1290:23:8;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1290:23:8;;1282:68;;;;;-1:-1:-1;;;1282:68:8;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1282:68:8;;;;;;;;;;;;;;;1816:1:::1;1800:6:::0;;1779:40:::1;::::0;-1:-1:-1;;;;;1800:6:8;;::::1;::::0;1779:40:::1;::::0;1816:1;;1779:40:::1;1846:1;1829:19:::0;;-1:-1:-1;;;;;;1829:19:8::1;::::0;;1710:145::o;3146:54:7:-;3197:3;3146:54;:::o;13624:274::-;-1:-1:-1;;;;;13694:25:7;;13686:58;;;;;-1:-1:-1;;;13686:58:7;;;;;;;;;;;;-1:-1:-1;;;13686:58:7;;;;;;;;;;;;;;;13777:10;;-1:-1:-1;;;;;13777:10:7;13763;:24;13755:46;;;;;-1:-1:-1;;;13755:46:7;;;;;;;;;;;;-1:-1:-1;;;13755:46:7;;;;;;;;;;;;;;;13812:10;:24;;-1:-1:-1;;;;;;13812:24:7;-1:-1:-1;;;;;13812:24:7;;;;;;;;13852:38;;13866:10;;13852:38;;-1:-1:-1;;13852:38:7;13624:274;:::o;1078:85:8:-;1124:7;1150:6;-1:-1:-1;;;;;1150:6:8;1078:85;:::o;7440:121:7:-;7512:7;7539:14;:3;7547:5;7539:7;:14::i;:::-;7532:21;7440:121;-1:-1:-1;;;7440:121:7:o;2642:66::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;3410:52::-;;;;;;;;;;;;;:::o;15361:521::-;15428:19;;15412:12;:35;15409:145;;15536:7;;15409:145;15595:11;;15675:18;;15643:3;;15665;;15643:27;;;-1:-1:-1;;;15643:27:7;;-1:-1:-1;;;;;15665:3:7;;;15643:27;;;;;;15564:28;;15643:60;;15699:3;;15643:51;;15675:18;;15643:3;;;:13;;:27;;;;;;;;;;;;;;:3;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15643:27:7;;:31;:51::i;:60::-;15714:11;:29;;;15776:12;15754:19;:34;15804:70;;;;;;;;;;;;;;15617:86;;-1:-1:-1;15824:10:7;;15804:70;;;;;;;;;;;15361:521;;;:::o;2994:26::-;;;;;;:::o;3328:44::-;;;;;;;;;;;;;;;:::o;13304:256::-;-1:-1:-1;;;;;13371:22:7;;13363:55;;;;;-1:-1:-1;;;13363:55:7;;;;;;;;;;;;-1:-1:-1;;;13363:55:7;;;;;;;;;;;;;;;13451:7;;-1:-1:-1;;;;;13451:7:7;13437:10;:21;13429:43;;;;;-1:-1:-1;;;13429:43:7;;;;;;;;;;;;-1:-1:-1;;;13429:43:7;;;;;;;;;;;;;;;13483:7;:18;;-1:-1:-1;;;;;;13483:18:7;-1:-1:-1;;;;;13483:18:7;;;;;;;;13517:35;;13531:10;;13517:35;;-1:-1:-1;;13517:35:7;13304:256;:::o;2190:22::-;;;-1:-1:-1;;;;;2190:22:7;;:::o;2240:::-;;;-1:-1:-1;;;;;2240:22:7;;:::o;2371:26::-;;;;:::o;9596:1068::-;1721:1:9;2327:7;;:19;;2319:63;;;;;-1:-1:-1;;;2319:63:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;1721:1;2460:7;:18;;;;9675:21:7::1;9699:8;9708:4;9699:14;;;;;;;;;::::0;;;::::1;::::0;;;9748;;;:8:::1;:14:::0;;;;;;9763:10:::1;9748:26:::0;;;;;;;9699:14:::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;9785:16:7::1;9757:4:::0;9785:10:::1;:16::i;:::-;9816:11:::0;;:15;9812:234:::1;;9848:15;9866:67;9917:4;:15;;;9866:46;9907:4;9866:36;9882:4;:19;;;9866:4;:11;;;:15;;:36;;;;:::i;:67::-;9848:85:::0;-1:-1:-1;9951:11:7;;9948:87:::1;;9983:36;9999:10;10011:7;9983:15;:36::i;:::-;9812:234;;10060:11:::0;;10056:476:::1;;10088:12:::0;;:74:::1;::::0;-1:-1:-1;;;;;10088:12:7::1;10126:10;10147:4;10154:7:::0;10088:29:::1;:74::i;:::-;10181:17;::::0;::::1;::::0;::::1;;:21:::0;10177:344:::1;;10256:17;::::0;::::1;::::0;10223:18:::1;::::0;10244:41:::1;::::0;10279:5:::1;::::0;10244:30:::1;::::0;:7;;10256:17:::1;;10244:11;:30::i;:41::-;10318:11:::0;;10223:62;;-1:-1:-1;10318:40:7::1;::::0;10223:62;;10318:24:::1;::::0;10334:7;10318:15:::1;:24::i;:40::-;10304:54:::0;;10403:10:::1;::::0;10377:12;;:49:::1;::::0;-1:-1:-1;;;;;10377:12:7;;::::1;::::0;10403:10:::1;10415::::0;10377:25:::1;:49::i;:::-;10177:344;;;;10481:11:::0;;:24:::1;::::0;10497:7;10481:15:::1;:24::i;:::-;10467:38:::0;;10177:344:::1;10576:19;::::0;::::1;::::0;10560:11;;:46:::1;::::0;10601:4:::1;::::0;10560:36:::1;::::0;:15:::1;:36::i;:46::-;10542:15;::::0;::::1;:64:::0;10622:34:::1;::::0;;;;;;;10642:4;;10630:10:::1;::::0;10622:34:::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;;1677:1:9;2639:22;;-1:-1:-1;;9596:1068:7:o;2004:240:8:-;1301:12;:10;:12::i;:::-;-1:-1:-1;;;;;1290:23:8;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1290:23:8;;1282:68;;;;;-1:-1:-1;;;1282:68:8;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1282:68:8;;;;;;;;;;;;;;;-1:-1:-1;;;;;2092:22:8;::::1;2084:73;;;;-1:-1:-1::0;;;2084:73:8::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2193:6;::::0;;2172:38:::1;::::0;-1:-1:-1;;;;;2172:38:8;;::::1;::::0;2193:6;::::1;::::0;2172:38:::1;::::0;::::1;2220:6;:17:::0;;-1:-1:-1;;;;;;2220:17:8::1;-1:-1:-1::0;;;;;2220:17:8;;;::::1;::::0;;;::::1;::::0;;2004:240::o;3538:215:11:-;3596:7;3619:6;3615:20;;-1:-1:-1;3634:1:11;3627:8;;3615:20;3657:5;;;3661:1;3657;:5;:1;3680:5;;;;;:10;3672:56;;;;-1:-1:-1;;;3672:56:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4217:150;4275:7;4306:1;4302;:5;4294:44;;;;;-1:-1:-1;;;4294:44:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;4359:1;4355;:5;;;;;;;4217:150;-1:-1:-1;;;4217:150:11:o;2690:175::-;2748:7;2779:5;;;2802:6;;;;2794:46;;;;;-1:-1:-1;;;2794:46:11;;;;;;;;;;;;;;;;;;;;;;;;;;;3136:155;3194:7;3226:1;3221;:6;;3213:49;;;;;-1:-1:-1;;;3213:49:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3279:5:11;;;3136:155::o;598:104:1:-;685:10;598:104;:::o;12824:418:7:-;12916:3;;:28;;;-1:-1:-1;;;12916:28:7;;12938:4;12916:28;;;;;;12899:14;;-1:-1:-1;;;;;12916:3:7;;:13;;:28;;;;;;;;;;;;;;:3;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12916:28:7;;-1:-1:-1;12955:20:7;12998:16;;;12994:169;;;13049:3;;:25;;;-1:-1:-1;;;13049:25:7;;-1:-1:-1;;;;;13049:25:7;;;;;;;;;;;;;;;:3;;;;;:12;;:25;;;;;;;;;;;;;;:3;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13049:25:7;;-1:-1:-1;12994:169:7;;;13125:3;;:26;;;-1:-1:-1;;;13125:26:7;;-1:-1:-1;;;;;13125:26:7;;;;;;;;;;;;;;;:3;;;;;:12;;:26;;;;;;;;;;;;;;:3;;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13125:26:7;;-1:-1:-1;12994:169:7;13181:15;13173:61;;;;-1:-1:-1;;;13173:61:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12824:418;;;;:::o;706:177:10:-;816:58;;;-1:-1:-1;;;;;816:58:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;816:58:10;-1:-1:-1;;;816:58:10;;;789:86;;809:5;;789:19;:86::i;:::-;706:177;;;:::o;891:205::-;1019:68;;;-1:-1:-1;;;;;1019:68:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1019:68:10;-1:-1:-1;;;1019:68:10;;;992:96;;1012:5;;3011:761;3435:23;3461:69;3489:4;3461:69;;;;;;;;;;;;;;;;;3469:5;-1:-1:-1;;;;;3461:27:10;;;:69;;;;;:::i;:::-;3545:17;;3435:95;;-1:-1:-1;3545:21:10;3541:224;;3687:10;3676:30;;;;;;;;;;;;;;;-1:-1:-1;3676:30:10;3668:85;;;;-1:-1:-1;;;3668:85:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3669:195:0;3772:12;3804:52;3826:6;3834:4;3840:1;3843:12;3804:21;:52::i;:::-;3797:59;3669:195;-1:-1:-1;;;;3669:195:0:o;4721:530::-;4848:12;4906:5;4881:21;:30;;4873:81;;;;-1:-1:-1;;;4873:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4973:18;4984:6;4973:10;:18::i;:::-;4965:60;;;;;-1:-1:-1;;;4965:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;5099:12;5113:23;5140:6;-1:-1:-1;;;;;5140:11:0;5160:5;5168:4;5140:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5140:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5098:75;;;;5191:52;5209:7;5218:10;5230:12;5191:17;:52::i;:::-;5184:59;4721:530;-1:-1:-1;;;;;;;4721:530:0:o;751:422::-;1118:20;1157:8;;;751:422::o;7261:742::-;7376:12;7405:7;7401:595;;;-1:-1:-1;7436:10:0;7429:17;;7401:595;7550:17;;:21;7546:439;;7813:10;7807:17;7874:15;7861:10;7857:2;7853:19;7846:44;7761:148;7956:12;7949:20;;-1:-1:-1;;;7949:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://533f286c99cf74952349eb90c309e84efa510a8620611ac522c9283a06c419e6
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.