ETH Price: $3,264.67 (+0.86%)

Contract

0x89B533C8D99CC298A7f55a1b1f175e79Be777BA7
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw115357232020-12-27 12:05:431475 days ago1609070743IN
0x89B533C8...9Be777BA7
0 ETH0.0118073886.52319352
Withdraw115316812020-12-26 21:13:251476 days ago1609017205IN
0x89B533C8...9Be777BA7
0 ETH0.0052955154
Withdraw114607492020-12-16 0:01:491487 days ago1608076909IN
0x89B533C8...9Be777BA7
0 ETH0.0082579868.00000145
Withdraw114459452020-12-13 17:13:201489 days ago1607879600IN
0x89B533C8...9Be777BA7
0 ETH0.0044276345.15
Withdraw114371732020-12-12 9:04:091490 days ago1607763849IN
0x89B533C8...9Be777BA7
0 ETH0.0022554923.00000145
Exit114284282020-12-11 0:33:431492 days ago1607646823IN
0x89B533C8...9Be777BA7
0 ETH0.0070559337.0000015
Withdraw114172962020-12-09 7:22:151493 days ago1607498535IN
0x89B533C8...9Be777BA7
0 ETH0.0064376453
Withdraw114161142020-12-09 2:59:101493 days ago1607482750IN
0x89B533C8...9Be777BA7
0 ETH0.0029419530
Withdraw114098922020-12-08 4:13:031494 days ago1607400783IN
0x89B533C8...9Be777BA7
0 ETH0.0046147538
Get Reward114095912020-12-08 3:01:281494 days ago1607396488IN
0x89B533C8...9Be777BA7
0 ETH0.0029175535.09
Exit114093832020-12-08 2:14:131494 days ago1607393653IN
0x89B533C8...9Be777BA7
0 ETH0.0024609318.18
Exit114069032020-12-07 17:01:381495 days ago1607360498IN
0x89B533C8...9Be777BA7
0 ETH0.0032487624.00000145
Withdraw114065702020-12-07 15:48:311495 days ago1607356111IN
0x89B533C8...9Be777BA7
0 ETH0.0047059648.0000014
Stake114042512020-12-07 7:07:161495 days ago1607324836IN
0x89B533C8...9Be777BA7
0 ETH0.0023838722.00000145
Withdraw114041312020-12-07 6:41:481495 days ago1607323308IN
0x89B533C8...9Be777BA7
0 ETH0.0018679413
Stake114031132020-12-07 3:13:161495 days ago1607310796IN
0x89B533C8...9Be777BA7
0 ETH0.0035758133
Withdraw114016802020-12-06 21:42:351496 days ago1607290955IN
0x89B533C8...9Be777BA7
0 ETH0.0014809615.1
Stake114014622020-12-06 20:56:081496 days ago1607288168IN
0x89B533C8...9Be777BA7
0 ETH0.0024922323
Stake114013242020-12-06 20:28:421496 days ago1607286522IN
0x89B533C8...9Be777BA7
0 ETH0.0015495114.3
Stake114005572020-12-06 17:34:241496 days ago1607276064IN
0x89B533C8...9Be777BA7
0 ETH0.0017831620.00000145
Stake113999042020-12-06 15:09:101496 days ago1607267350IN
0x89B533C8...9Be777BA7
0 ETH0.0032500230
Withdraw113998762020-12-06 15:01:251496 days ago1607266885IN
0x89B533C8...9Be777BA7
0 ETH0.0023538424
Withdraw113998062020-12-06 14:45:431496 days ago1607265943IN
0x89B533C8...9Be777BA7
0 ETH0.0021596926
Withdraw113997882020-12-06 14:41:541496 days ago1607265714IN
0x89B533C8...9Be777BA7
0 ETH0.0025490626
Stake113996662020-12-06 14:12:581496 days ago1607263978IN
0x89B533C8...9Be777BA7
0 ETH0.0023833422
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ZZZV4

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

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

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/math/Math.sol";
import "./LPTokenWrapper.sol";

interface MultiplierInterface {
    function getPermanentMultiplier(address account)
        external
        view
        returns (uint256);
}

contract ZZZV4 is LPTokenWrapper, Ownable {
    using SafeERC20 for IERC20;
    IERC20 public rewardToken;
    IERC20 public multiplierToken;
    MultiplierInterface public multiplier = MultiplierInterface(address(0));
    uint256 public DURATION;
    uint256 public periodFinish;
    uint256 public rewardRate;
    uint256 public lastUpdateTime;
    uint256 public rewardPerTokenStored;
    uint256 public deployedTime;
    uint256 public multiplierDiscountRange;
    uint256 public boostLevelOneCost;
    uint256 public boostLevelTwoCost;
    uint256 public boostLevelThreeCost;
    uint256 public boostLevelFourCost;
    uint256 public boostLevelFiveCost;
    uint256 public boostLevelSixCost;
    uint256 public boostLevelOneBonus;
    uint256 public boostLevelTwoBonus;
    uint256 public boostLevelThreeBonus;
    uint256 public boostLevelFourBonus;
    uint256 public boostLevelFiveBonus;
    uint256 public boostLevelSixBonus;

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

    event RewardAdded(uint256 reward);
    event Staked(address indexed user, uint256 amount);
    event Withdrawn(address indexed user, uint256 amount);
    event RewardPaid(address indexed user, uint256 reward);
    event Boost(uint256 level);

    constructor(
        uint256 _duration,
        uint256 _multiplierDiscountRange,
        address _stakingToken,
        address _rewardToken,
        address _multiplierToken,
        uint256 _startTime,
        address _multiplierAddr
    ) public LPTokenWrapper(_startTime) {
        setStakingToken(_stakingToken);
        rewardToken = IERC20(_rewardToken);
        multiplierToken = IERC20(_multiplierToken);
        deployedTime = block.timestamp;
        multiplier = MultiplierInterface(_multiplierAddr);
        multiplierDiscountRange = _multiplierDiscountRange;
        DURATION = _duration;
    }

    function setOwner(address _newOwner) external onlyOwner {
        super.transferOwnership(_newOwner);
    }

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

    // Returns the current rate of rewards per token (doh)
    function rewardPerToken() public view returns (uint256) {
        // Do not distribute rewards before games begin
        if (block.timestamp < startTime) {
            return 0;
        }
        if (_totalSupply == 0) {
            return rewardPerTokenStored;
        }
        // Effective total supply takes into account all the multipliers bought.
        uint256 effectiveTotalSupply = _totalSupply.add(_totalSupplyAccounting);
        return
            rewardPerTokenStored.add(
                lastTimeRewardApplicable()
                    .sub(lastUpdateTime)
                    .mul(rewardRate)
                    .mul(1e18)
                    .div(effectiveTotalSupply)
            );
    }

    // Returns the current reward tokens that the user can claim.
    function earned(address account) public view returns (uint256) {
        // Each user has it's own effective balance which is just the staked balance multiplied by boost level multiplier.
        uint256 effectiveBalance = _balances[account].add(
            _balancesAccounting[account]
        );
        return
            effectiveBalance
                .mul(rewardPerToken().sub(userRewardPerTokenPaid[account]))
                .div(1e18)
                .add(rewards[account]);
    }

    // Staking function which updates the user balances in the parent contract
    function stake(uint256 amount) public override {
        updateReward(msg.sender);
        require(amount > 0, "Cannot stake 0");
        super.stake(amount);

        // Users that have bought multipliers will have an extra balance added to their stake according to the boost multiplier.
        if (boostLevel[msg.sender] > 0) {
            uint256 prevBalancesAccounting = _balancesAccounting[msg.sender];
            // Calculate and set user's new accounting balance
            uint256 accTotalMultiplier = getTotalMultiplier(msg.sender);
            uint256 newBalancesAccounting = _balances[msg.sender]
                .mul(accTotalMultiplier)
                .div(1e18)
                .sub(_balances[msg.sender]);
            _balancesAccounting[msg.sender] = newBalancesAccounting;
            // Adjust total accounting supply accordingly
            uint256 diffBalancesAccounting = newBalancesAccounting.sub(
                prevBalancesAccounting
            );
            _totalSupplyAccounting = _totalSupplyAccounting.add(
                diffBalancesAccounting
            );
        }

        emit Staked(msg.sender, amount);
    }

    // Withdraw function to remove stake from the pool
    function withdraw(uint256 amount) public override {
        require(amount > 0, "Cannot withdraw 0");
        updateReward(msg.sender);
        uint256 tax = amount.mul(1).div(100);
        stakingToken.safeTransfer(devFund, tax);
        stakingToken.safeTransfer(msg.sender, amount.sub(tax));
        super.withdraw(amount);

        // Users who have bought multipliers will have their accounting balances readjusted.
        if (boostLevel[msg.sender] > 0) {
            // The previous extra balance user had
            uint256 prevBalancesAccounting = _balancesAccounting[msg.sender];
            // Calculate and set user's new accounting balance
            uint256 accTotalMultiplier = getTotalMultiplier(msg.sender);
            uint256 newBalancesAccounting = _balances[msg.sender]
                .mul(accTotalMultiplier)
                .div(1e18)
                .sub(_balances[msg.sender]);
            _balancesAccounting[msg.sender] = newBalancesAccounting;
            // Subtract the withdrawn amount from the accounting balance
            // If all tokens are withdrawn the balance will be 0.
            uint256 diffBalancesAccounting = prevBalancesAccounting.sub(
                newBalancesAccounting
            );
            _totalSupplyAccounting = _totalSupplyAccounting.sub(
                diffBalancesAccounting
            );
        }

        emit Withdrawn(msg.sender, amount);
    }

    // Get the earned rewards and withdraw staked tokens
    function exit() external {
        getReward();
        withdraw(balanceOf(msg.sender));
    }

    // Sends out the reward tokens to the user.
    function getReward() public {
        updateReward(msg.sender);
        uint256 reward = earned(msg.sender);
        if (reward > 0) {
            rewards[msg.sender] = 0;
            rewardToken.safeTransfer(msg.sender, reward.mul(96).div(100));
            rewardToken.safeTransfer(devFund, reward.mul(4).div(100));
            emit RewardPaid(msg.sender, reward);
        }
    }

    // Called to start the pool with the reward amount it should distribute
    // The reward period will be the duration of the pool.
    function notifyRewardAmount(uint256 reward) external onlyOwner {
        updateRewardPerTokenStored();
        if (block.timestamp >= periodFinish) {
            rewardRate = reward.div(DURATION);
        } else {
            uint256 remaining = periodFinish.sub(block.timestamp);
            uint256 leftover = remaining.mul(rewardRate);
            rewardRate = reward.add(leftover).div(DURATION);
        }
        lastUpdateTime = block.timestamp;
        periodFinish = block.timestamp.add(DURATION);
        emit RewardAdded(reward);
    }

    // Notify the reward amount without updating time;
    function notifyRewardAmountWithoutUpdateTime(uint256 reward)
        external
        onlyOwner
    {
        updateRewardPerTokenStored();
        if (block.timestamp >= periodFinish) {
            rewardRate = reward.div(DURATION);
        } else {
            uint256 remaining = periodFinish.sub(block.timestamp);
            uint256 leftover = remaining.mul(rewardRate);
            rewardRate = reward.add(leftover).div(DURATION);
        }
        emit RewardAdded(reward);
    }

    // Returns the users current multiplier level
    function getLevel(address account) external view returns (uint256) {
        return boostLevel[account];
    }

    // Return the amount spent on multipliers, used for subtracting for future purchases.
    function getSpent(address account) external view returns (uint256) {
        return spentMultiplierTokens[account];
    }

    // Calculate the cost for purchasing a boost.
    function calculateCost(uint256 level) public view returns (uint256) {
        uint256 cycles = calculateCycle(
            deployedTime,
            block.timestamp,
            multiplierDiscountRange
        );
        // Cap it to 5 times
        if (cycles > 5) {
            cycles = 5;
        }
        if (level == 1) {
            return boostLevelOneCost.mul(9**cycles).div(10**cycles);
        } else if (level == 2) {
            return boostLevelTwoCost.mul(9**cycles).div(10**cycles);
        } else if (level == 3) {
            return boostLevelThreeCost.mul(9**cycles).div(10**cycles);
        } else if (level == 4) {
            return boostLevelFourCost.mul(9**cycles).div(10**cycles);
        } else if (level == 5) {
            return boostLevelFiveCost.mul(9**cycles).div(10**cycles);
        } else if (level == 6) {
            return boostLevelSixCost.mul(9**cycles).div(10**cycles);
        }
    }

    // Purchase a multiplier level, same level cannot be purchased twice.
    function purchase(uint256 level) external {
        require(
            boostLevel[msg.sender] <= level,
            "Cannot downgrade level or same level"
        );
        uint256 cost = calculateCost(level);
        // Cost will be reduced by the amount already spent on multipliers.
        uint256 finalCost = cost.sub(spentMultiplierTokens[msg.sender]);

        multiplierToken.safeTransferFrom(msg.sender, devFund, finalCost);

        // Update balances and level
        spentMultiplierTokens[msg.sender] = spentMultiplierTokens[msg.sender]
            .add(finalCost);
        boostLevel[msg.sender] = level;

        // If user has staked balances, then set their new accounting balance
        if (_balances[msg.sender] > 0) {
            // Get the previous accounting balance
            uint256 prevBalancesAccounting = _balancesAccounting[msg.sender];
            // Get the new multiplier
            uint256 accTotalMultiplier = getTotalMultiplier(msg.sender);
            // Calculate new accounting  balance
            uint256 newBalancesAccounting = _balances[msg.sender]
                .mul(accTotalMultiplier)
                .div(1e18)
                .sub(_balances[msg.sender]);
            // Set the accounting balance
            _balancesAccounting[msg.sender] = newBalancesAccounting;
            // Get the difference for adjusting the total accounting balance
            uint256 diffBalancesAccounting = newBalancesAccounting.sub(
                prevBalancesAccounting
            );
            // Adjust the global accounting balance.
            _totalSupplyAccounting = _totalSupplyAccounting.add(
                diffBalancesAccounting
            );
        }

        emit Boost(level);
    }

    // Returns the multiplier for user.
    function getTotalMultiplier(address account) public view returns (uint256) {
        uint256 zzzMultiplier = multiplier.getPermanentMultiplier(account);
        uint256 boostMultiplier;
        if (boostLevel[account] == 1) {
            boostMultiplier = boostLevelOneBonus;
        } else if (boostLevel[account] == 2) {
            boostMultiplier = boostLevelTwoBonus;
        } else if (boostLevel[account] == 3) {
            boostMultiplier = boostLevelThreeBonus;
        } else if (boostLevel[account] == 4) {
            boostMultiplier = boostLevelFourBonus;
        } else if (boostLevel[account] == 5) {
            boostMultiplier = boostLevelFiveBonus;
        } else if (boostLevel[account] == 6) {
            boostMultiplier = boostLevelSixBonus;
        }
        return zzzMultiplier.add(boostMultiplier).add(1 * 10**18);
    }

    // Ejects any remaining tokens from the pool.
    // Callable only after the pool has started and the pools reward distribution period has finished.
    function eject() external onlyOwner {
        require(
            startTime < block.timestamp && block.timestamp >= periodFinish,
            "Cannot eject before period finishes or pool has started"
        );
        uint256 currBalance = rewardToken.balanceOf(address(this));
        rewardToken.safeTransfer(msg.sender, currBalance);
    }

    // Forcefully retire a pool
    // Only sets the period finish to 0
    // This will prevent more rewards from being disbursed
    function kill() external onlyOwner {
        periodFinish = block.timestamp;
    }

    function updateRewardPerTokenStored() internal {
        rewardPerTokenStored = rewardPerToken();
        lastUpdateTime = lastTimeRewardApplicable();
    }

    function updateReward(address account) internal {
        updateRewardPerTokenStored();
        rewards[account] = earned(account);
        userRewardPerTokenPaid[account] = rewardPerTokenStored;
    }

    function changeBoostLevels(
        uint256 _boostLevelOneCost,
        uint256 _boostLevelTwoCost,
        uint256 _boostLevelThreeCost,
        uint256 _boostLevelFourCost,
        uint256 _boostLevelFiveCost,
        uint256 _boostLevelSixCost,
        uint256 _boostLevelOneBonus,
        uint256 _boostLevelTwoBonus,
        uint256 _boostLevelThreeBonus,
        uint256 _boostLevelFourBonus,
        uint256 _boostLevelFiveBonus,
        uint256 _boostLevelSixBonus
    ) public onlyOwner {
        boostLevelOneCost = _boostLevelOneCost;
        boostLevelTwoCost = _boostLevelTwoCost;
        boostLevelThreeCost = _boostLevelThreeCost;
        boostLevelFourCost = _boostLevelFourCost;
        boostLevelFiveCost = _boostLevelFiveCost;
        boostLevelSixCost = _boostLevelSixCost;

        boostLevelOneBonus = _boostLevelOneBonus;
        boostLevelTwoBonus = _boostLevelTwoBonus;
        boostLevelThreeBonus = _boostLevelThreeBonus;
        boostLevelFourBonus = _boostLevelFourBonus;
        boostLevelFiveBonus = _boostLevelFiveBonus;
        boostLevelSixBonus = _boostLevelSixBonus;
    }

    function calculateCycle(
        uint256 _deployedTime,
        uint256 _currentTime,
        uint256 _duration
    ) public pure returns (uint256) {
        uint256 cycles = (_currentTime.sub(_deployedTime)).div(_duration);
        return cycles;
    }
}

File 2 of 9 : LPTokenWrapper.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;

// Using these will cause _mint to be not found in Pool
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";

contract LPTokenWrapper {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    IERC20 public stakingToken;
    uint256 public startTime;
    address public devFund = 0x3249f8c62640DC8ae2F4Ed14CD03bCA9C6Af98B2;
    // Developer fund
    uint256 public _totalSupply;
    mapping(address => uint256) public _balances;
    uint256 public _totalSupplyAccounting;
    mapping(address => uint256) public _balancesAccounting;

    constructor(uint256 _startTime) public {
        startTime = _startTime;
    }

    // Returns the total staked tokens within the contract
    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }

    // Returns staking balance of the account
    function balanceOf(address account) public view returns (uint256) {
        return _balances[account];
    }

    // Set the staking token for the contract
    function setStakingToken(address stakingTokenAddress) internal {
        stakingToken = IERC20(stakingTokenAddress);
    }

    // Stake funds into the pool
    function stake(uint256 amount) public virtual {
        // Increment sender's balances and total supply
        _balances[msg.sender] = _balances[msg.sender].add(amount);
        _totalSupply = _totalSupply.add(amount);

        // Transfer funds
        stakingToken.safeTransferFrom(msg.sender, address(this), amount);
    }

    // Align balances for the user
    function withdraw(uint256 amount) public virtual {
        _totalSupply = _totalSupply.sub(amount);
        _balances[msg.sender] = _balances[msg.sender].sub(amount);
    }
}

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

pragma solidity ^0.6.0;

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

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

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

pragma solidity ^0.6.0;

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

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

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

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

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

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

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

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

pragma solidity ^0.6.0;

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

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

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

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

pragma solidity ^0.6.0;

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

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

pragma solidity ^0.6.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

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

pragma solidity ^0.6.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.6.2;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies in 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");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

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

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

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

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "evmVersion": "istanbul",
  "libraries": {
    "": {}
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_duration","type":"uint256"},{"internalType":"uint256","name":"_multiplierDiscountRange","type":"uint256"},{"internalType":"address","name":"_stakingToken","type":"address"},{"internalType":"address","name":"_rewardToken","type":"address"},{"internalType":"address","name":"_multiplierToken","type":"address"},{"internalType":"uint256","name":"_startTime","type":"uint256"},{"internalType":"address","name":"_multiplierAddr","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"level","type":"uint256"}],"name":"Boost","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":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[],"name":"DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_balances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_balancesAccounting","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_totalSupplyAccounting","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"boostLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"boostLevelFiveBonus","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"boostLevelFiveCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"boostLevelFourBonus","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"boostLevelFourCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"boostLevelOneBonus","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"boostLevelOneCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"boostLevelSixBonus","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"boostLevelSixCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"boostLevelThreeBonus","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"boostLevelThreeCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"boostLevelTwoBonus","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"boostLevelTwoCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"level","type":"uint256"}],"name":"calculateCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_deployedTime","type":"uint256"},{"internalType":"uint256","name":"_currentTime","type":"uint256"},{"internalType":"uint256","name":"_duration","type":"uint256"}],"name":"calculateCycle","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"_boostLevelOneCost","type":"uint256"},{"internalType":"uint256","name":"_boostLevelTwoCost","type":"uint256"},{"internalType":"uint256","name":"_boostLevelThreeCost","type":"uint256"},{"internalType":"uint256","name":"_boostLevelFourCost","type":"uint256"},{"internalType":"uint256","name":"_boostLevelFiveCost","type":"uint256"},{"internalType":"uint256","name":"_boostLevelSixCost","type":"uint256"},{"internalType":"uint256","name":"_boostLevelOneBonus","type":"uint256"},{"internalType":"uint256","name":"_boostLevelTwoBonus","type":"uint256"},{"internalType":"uint256","name":"_boostLevelThreeBonus","type":"uint256"},{"internalType":"uint256","name":"_boostLevelFourBonus","type":"uint256"},{"internalType":"uint256","name":"_boostLevelFiveBonus","type":"uint256"},{"internalType":"uint256","name":"_boostLevelSixBonus","type":"uint256"}],"name":"changeBoostLevels","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deployedTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devFund","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"eject","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getSpent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getTotalMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"kill","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"multiplier","outputs":[{"internalType":"contract MultiplierInterface","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"multiplierDiscountRange","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"multiplierToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"reward","type":"uint256"}],"name":"notifyRewardAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"reward","type":"uint256"}],"name":"notifyRewardAmountWithoutUpdateTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"level","type":"uint256"}],"name":"purchase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"spentMultiplierTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052733249f8c62640dc8ae2f4ed14cd03bca9c6af98b2600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550348015620000a857600080fd5b5060405162003f1838038062003f18833981810160405260e0811015620000ce57600080fd5b8101908080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190505050818060018190555050600062000136620002cb60201b60201c565b905080600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350620001e685620002d360201b60201c565b83600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055504260108190555080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508560118190555086600b819055505050505050505062000316565b600033905090565b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b613bf280620003266000396000f3fe608060405234801561001057600080fd5b50600436106103825760003560e01c806372f702f3116101de578063ad1d5af41161010f578063df2671cf116100ad578063ebe2b12b1161007c578063ebe2b12b14610d86578063efef39a114610da4578063f2fde38b14610dd2578063f7c618c114610e1657610382565b8063df2671cf14610cae578063e14b441a14610d06578063e64d75bc14610d5e578063e9fad8ee14610d7c57610382565b8063cd3daf9d116100e9578063cd3daf9d14610c36578063d87190a914610c54578063dd51bca114610c72578063df136d6514610c9057610382565b8063ad1d5af414610b23578063bbd2697c14610bc0578063c8f33c9114610c1857610382565b806383a1b1511161017c57806393a1c2841161015657806393a1c28414610a4d578063a1ebfbd214610a81578063a3b78f8314610a9f578063a694fc3a14610af557610382565b806383a1b151146109a35780638b876347146109c15780638da5cb5b14610a1957610382565b80637ccea678116101b85780637ccea6781461090557806380faa57d14610923578063817c89661461094157806382e94ac51461099957610382565b806372f702f31461089557806378e97925146108c95780637b0a47ee146108e757610382565b80633c6b16ab116102b8578063461ac0191161025657806365d0d8741161023057806365d0d874146107bd5780636ebcf607146107db57806370a0823114610833578063715018a61461088b57610382565b8063461ac019146107055780634af18f4f14610723578063510be0141461076557610382565b806341c0e1b51161029257806341c0e1b51461068b57806342603602146106955780634390d2a8146106b357806344579cc9146106e757610382565b80633c6b16ab146106355780633d18b912146106635780633eaaf86b1461066d57610382565b80631a700268116103255780631e487eaf116102ff5780631e487eaf1461057357806322643a461461059157806322e6179b146105e95780632e1a7d4d1461060757610382565b80631a700268146104f35780631b3ed722146105215780631be052891461055557610382565b80630aae105d116103615780630aae105d1461045557806313af40351461047357806316589b6c146104b757806318160ddd146104d557610382565b80628cc2621461038757806301e492df146103df5780630700037d146103fd575b600080fd5b6103c96004803603602081101561039d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610e4a565b6040518082815260200191505060405180910390f35b6103e7610fbe565b6040518082815260200191505060405180910390f35b61043f6004803603602081101561041357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610fc4565b6040518082815260200191505060405180910390f35b61045d610fdc565b6040518082815260200191505060405180910390f35b6104b56004803603602081101561048957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610fe2565b005b6104bf6110b8565b6040518082815260200191505060405180910390f35b6104dd6110be565b6040518082815260200191505060405180910390f35b61051f6004803603602081101561050957600080fd5b81019080803590602001909291905050506110c8565b005b61052961125f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61055d611285565b6040518082815260200191505060405180910390f35b61057b61128b565b6040518082815260200191505060405180910390f35b6105d3600480360360208110156105a757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611291565b6040518082815260200191505060405180910390f35b6105f16112a8565b6040518082815260200191505060405180910390f35b6106336004803603602081101561061d57600080fd5b81019080803590602001909291905050506112ae565b005b6106616004803603602081101561064b57600080fd5b8101908080359060200190929190505050611652565b005b61066b61180b565b005b6106756119c9565b6040518082815260200191505060405180910390f35b6106936119cf565b005b61069d611aa2565b6040518082815260200191505060405180910390f35b6106bb611aa8565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106ef611ace565b6040518082815260200191505060405180910390f35b61070d611ad4565b6040518082815260200191505060405180910390f35b61074f6004803603602081101561073957600080fd5b8101908080359060200190929190505050611ada565b6040518082815260200191505060405180910390f35b6107a76004803603602081101561077b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611c77565b6040518082815260200191505060405180910390f35b6107c5611c8f565b6040518082815260200191505060405180910390f35b61081d600480360360208110156107f157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611c95565b6040518082815260200191505060405180910390f35b6108756004803603602081101561084957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611cad565b6040518082815260200191505060405180910390f35b610893611cf6565b005b61089d611e81565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6108d1611ea5565b6040518082815260200191505060405180910390f35b6108ef611eab565b6040518082815260200191505060405180910390f35b61090d611eb1565b6040518082815260200191505060405180910390f35b61092b611eb7565b6040518082815260200191505060405180910390f35b6109836004803603602081101561095757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611eca565b6040518082815260200191505060405180910390f35b6109a1611f13565b005b6109ab61215d565b6040518082815260200191505060405180910390f35b610a03600480360360208110156109d757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612163565b6040518082815260200191505060405180910390f35b610a2161217b565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610a556121a5565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610a896121cb565b6040518082815260200191505060405180910390f35b610adf60048036036060811015610ab557600080fd5b810190808035906020019092919080359060200190929190803590602001909291905050506121d1565b6040518082815260200191505060405180910390f35b610b2160048036036020811015610b0b57600080fd5b8101908080359060200190929190505050612206565b005b610bbe6004803603610180811015610b3a57600080fd5b810190808035906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190929190803590602001909291905050506124b4565b005b610c0260048036036020811015610bd657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506125e0565b6040518082815260200191505060405180910390f35b610c206125f8565b6040518082815260200191505060405180910390f35b610c3e6125fe565b6040518082815260200191505060405180910390f35b610c5c6126ba565b6040518082815260200191505060405180910390f35b610c7a6126c0565b6040518082815260200191505060405180910390f35b610c986126c6565b6040518082815260200191505060405180910390f35b610cf060048036036020811015610cc457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506126cc565b6040518082815260200191505060405180910390f35b610d4860048036036020811015610d1c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506129ba565b6040518082815260200191505060405180910390f35b610d66612a03565b6040518082815260200191505060405180910390f35b610d84612a09565b005b610d8e612a24565b6040518082815260200191505060405180910390f35b610dd060048036036020811015610dba57600080fd5b8101908080359060200190929190505050612a2a565b005b610e1460048036036020811015610de857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612e80565b005b610e1e613090565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b600080610ede600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546130b690919063ffffffff16565b9050610fb6601f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610fa8670de0b6b3a7640000610f9a610f8b601e60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610f7d6125fe565b61313e90919063ffffffff16565b8661318890919063ffffffff16565b61320e90919063ffffffff16565b6130b690919063ffffffff16565b915050919050565b60125481565b601f6020528060005260406000206000915090505481565b60155481565b610fea613258565b73ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146110ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6110b581612e80565b50565b601a5481565b6000600354905090565b6110d0613258565b73ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611192576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b61119a613260565b600c5442106111c3576111b8600b548261320e90919063ffffffff16565b600d81905550611225565b60006111da42600c5461313e90919063ffffffff16565b905060006111f3600d548361318890919063ffffffff16565b905061121c600b5461120e83866130b690919063ffffffff16565b61320e90919063ffffffff16565b600d8190555050505b7fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d816040518082815260200191505060405180910390a150565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b5481565b60165481565b602080528060005260406000206000915090505481565b60175481565b60008111611324576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e6e6f74207769746864726177203000000000000000000000000000000081525060200191505060405180910390fd5b61132d3361327e565b6000611356606461134860018561318890919063ffffffff16565b61320e90919063ffffffff16565b90506113c5600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168260008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661331b9092919063ffffffff16565b611422336113dc838561313e90919063ffffffff16565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661331b9092919063ffffffff16565b61142b826133bd565b6000602160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115611600576000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060006114c2336126cc565b90506000611583600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611575670de0b6b3a764000061156786600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461318890919063ffffffff16565b61320e90919063ffffffff16565b61313e90919063ffffffff16565b905080600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060006115de828561313e90919063ffffffff16565b90506115f58160055461313e90919063ffffffff16565b600581905550505050505b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5836040518082815260200191505060405180910390a25050565b61165a613258565b73ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461171c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b611724613260565b600c54421061174d57611742600b548261320e90919063ffffffff16565b600d819055506117af565b600061176442600c5461313e90919063ffffffff16565b9050600061177d600d548361318890919063ffffffff16565b90506117a6600b5461179883866130b690919063ffffffff16565b61320e90919063ffffffff16565b600d8190555050505b42600e819055506117cb600b54426130b690919063ffffffff16565b600c819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d816040518082815260200191505060405180910390a150565b6118143361327e565b600061181f33610e4a565b905060008111156119c6576000601f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506118e23361189a606461188c60608661318890919063ffffffff16565b61320e90919063ffffffff16565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661331b9092919063ffffffff16565b611977600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661192f606461192160048661318890919063ffffffff16565b61320e90919063ffffffff16565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661331b9092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b50565b60035481565b6119d7613258565b73ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611a99576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b42600c81905550565b60135481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60185481565b60105481565b600080611aec601054426011546121d1565b90506005811115611afc57600590505b6001831415611b3a57611b3281600a0a611b248360090a60125461318890919063ffffffff16565b61320e90919063ffffffff16565b915050611c72565b6002831415611b7857611b7081600a0a611b628360090a60135461318890919063ffffffff16565b61320e90919063ffffffff16565b915050611c72565b6003831415611bb657611bae81600a0a611ba08360090a60145461318890919063ffffffff16565b61320e90919063ffffffff16565b915050611c72565b6004831415611bf457611bec81600a0a611bde8360090a60155461318890919063ffffffff16565b61320e90919063ffffffff16565b915050611c72565b6005831415611c3257611c2a81600a0a611c1c8360090a60165461318890919063ffffffff16565b61320e90919063ffffffff16565b915050611c72565b6006831415611c7057611c6881600a0a611c5a8360090a60175461318890919063ffffffff16565b61320e90919063ffffffff16565b915050611c72565b505b919050565b60066020528060005260406000206000915090505481565b60055481565b60046020528060005260406000206000915090505481565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611cfe613258565b73ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611dc0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60015481565b600d5481565b601c5481565b6000611ec542600c54613470565b905090565b6000602160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611f1b613258565b73ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611fdd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b42600154108015611ff05750600c544210155b612045576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526037815260200180613b626037913960400191505060405180910390fd5b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156120d057600080fd5b505afa1580156120e4573d6000803e3d6000fd5b505050506040513d60208110156120fa57600080fd5b8101908080519060200190929190505050905061215a3382600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661331b9092919063ffffffff16565b50565b601b5481565b601e6020528060005260406000206000915090505481565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601d5481565b6000806121f9836121eb878761313e90919063ffffffff16565b61320e90919063ffffffff16565b9050809150509392505050565b61220f3361327e565b60008111612285576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e6e6f74207374616b65203000000000000000000000000000000000000081525060200191505060405180910390fd5b61228e81613489565b6000602160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115612463576000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000612325336126cc565b905060006123e6600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546123d8670de0b6b3a76400006123ca86600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461318890919063ffffffff16565b61320e90919063ffffffff16565b61313e90919063ffffffff16565b905080600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000612441848361313e90919063ffffffff16565b9050612458816005546130b690919063ffffffff16565b600581905550505050505b3373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d826040518082815260200191505060405180910390a250565b6124bc613258565b73ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461257e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8b6012819055508a60138190555089601481905550886015819055508760168190555086601781905550856018819055508460198190555083601a8190555082601b8190555081601c8190555080601d81905550505050505050505050505050565b60216020528060005260406000206000915090505481565b600e5481565b600060015442101561261357600090506126b7565b6000600354141561262857600f5490506126b7565b60006126416005546003546130b690919063ffffffff16565b90506126b36126a282612694670de0b6b3a7640000612686600d54612678600e5461266a611eb7565b61313e90919063ffffffff16565b61318890919063ffffffff16565b61318890919063ffffffff16565b61320e90919063ffffffff16565b600f546130b690919063ffffffff16565b9150505b90565b60145481565b60115481565b600f5481565b600080600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166347469420846040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561275857600080fd5b505afa15801561276c573d6000803e3d6000fd5b505050506040513d602081101561278257600080fd5b8101908080519060200190929190505050905060006001602160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414156127e9576018549050612984565b6002602160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054141561283b576019549050612983565b6003602160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054141561288d57601a549050612982565b6004602160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414156128df57601b549050612981565b6005602160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054141561293157601c549050612980565b6006602160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054141561297f57601d5490505b5b5b5b5b5b6129b1670de0b6b3a76400006129a383856130b690919063ffffffff16565b6130b690919063ffffffff16565b92505050919050565b6000602060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60195481565b612a1161180b565b612a22612a1d33611cad565b6112ae565b565b600c5481565b80602160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115612ac2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180613b996024913960400191505060405180910390fd5b6000612acd82611ada565b90506000612b23602060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548361313e90919063ffffffff16565b9050612b9633600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613589909392919063ffffffff16565b612be881602060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546130b690919063ffffffff16565b602060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555082602160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115612e44576000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000612d06336126cc565b90506000612dc7600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612db9670de0b6b3a7640000612dab86600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461318890919063ffffffff16565b61320e90919063ffffffff16565b61313e90919063ffffffff16565b905080600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000612e22848361313e90919063ffffffff16565b9050612e39816005546130b690919063ffffffff16565b600581905550505050505b7f70b27848abfd4ab169b72857464ef4ae0e45c29525a4deb12dfbb56467295594836040518082815260200191505060405180910390a1505050565b612e88613258565b73ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612f4a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612fd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180613af16026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080828401905083811015613134576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600061318083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061364a565b905092915050565b60008083141561319b5760009050613208565b60008284029050828482816131ac57fe5b0414613203576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180613b176021913960400191505060405180910390fd5b809150505b92915050565b600061325083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061370a565b905092915050565b600033905090565b6132686125fe565b600f81905550613276611eb7565b600e81905550565b613286613260565b61328f81610e4a565b601f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600f54601e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b6133b88363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506137d0565b505050565b6133d28160035461313e90919063ffffffff16565b60038190555061342a81600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461313e90919063ffffffff16565b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b600081831061347f5781613481565b825b905092915050565b6134db81600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546130b690919063ffffffff16565b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550613533816003546130b690919063ffffffff16565b60038190555061358633308360008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613589909392919063ffffffff16565b50565b613644846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506137d0565b50505050565b60008383111582906136f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156136bc5780820151818401526020810190506136a1565b50505050905090810190601f1680156136e95780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b600080831182906137b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561377b578082015181840152602081019050613760565b50505050905090810190601f1680156137a85780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816137c257fe5b049050809150509392505050565b6060613832826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166138bf9092919063ffffffff16565b90506000815111156138ba5780806020019051602081101561385357600080fd5b81019080805190602001909291905050506138b9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180613b38602a913960400191505060405180910390fd5b5b505050565b60606138ce84846000856138d7565b90509392505050565b60606138e285613add565b613954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106139a45780518252602082019150602081019050602083039250613981565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613a06576040519150601f19603f3d011682016040523d82523d6000602084013e613a0b565b606091505b50915091508115613a20578092505050613ad5565b600081511115613a335780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613a9a578082015181840152602081019050613a7f565b50505050905090810190601f168015613ac75780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b949350505050565b600080823b90506000811191505091905056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656443616e6e6f7420656a656374206265666f726520706572696f642066696e6973686573206f7220706f6f6c20686173207374617274656443616e6e6f7420646f776e6772616465206c6576656c206f722073616d65206c6576656ca264697066735822122090cac276201a118460cbf06901b99196767f65253f85bf731b00bfb9558e57c364736f6c634300060c003300000000000000000000000000000000000000000000000000000000000fd200000000000000000000000000000000000000000000000000000000000000a8c0000000000000000000000000c75f15ada581219c95485c578e124df3985e4ce000000000000000000000000066b3037aa8dd64c3ef1aee13a4d1f2509f672d1c00000000000000000000000066b3037aa8dd64c3ef1aee13a4d1f2509f672d1c000000000000000000000000000000000000000000000000000000005fb0330300000000000000000000000064912352749e2be98c374b93a57f301f95cf1bff

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106103825760003560e01c806372f702f3116101de578063ad1d5af41161010f578063df2671cf116100ad578063ebe2b12b1161007c578063ebe2b12b14610d86578063efef39a114610da4578063f2fde38b14610dd2578063f7c618c114610e1657610382565b8063df2671cf14610cae578063e14b441a14610d06578063e64d75bc14610d5e578063e9fad8ee14610d7c57610382565b8063cd3daf9d116100e9578063cd3daf9d14610c36578063d87190a914610c54578063dd51bca114610c72578063df136d6514610c9057610382565b8063ad1d5af414610b23578063bbd2697c14610bc0578063c8f33c9114610c1857610382565b806383a1b1511161017c57806393a1c2841161015657806393a1c28414610a4d578063a1ebfbd214610a81578063a3b78f8314610a9f578063a694fc3a14610af557610382565b806383a1b151146109a35780638b876347146109c15780638da5cb5b14610a1957610382565b80637ccea678116101b85780637ccea6781461090557806380faa57d14610923578063817c89661461094157806382e94ac51461099957610382565b806372f702f31461089557806378e97925146108c95780637b0a47ee146108e757610382565b80633c6b16ab116102b8578063461ac0191161025657806365d0d8741161023057806365d0d874146107bd5780636ebcf607146107db57806370a0823114610833578063715018a61461088b57610382565b8063461ac019146107055780634af18f4f14610723578063510be0141461076557610382565b806341c0e1b51161029257806341c0e1b51461068b57806342603602146106955780634390d2a8146106b357806344579cc9146106e757610382565b80633c6b16ab146106355780633d18b912146106635780633eaaf86b1461066d57610382565b80631a700268116103255780631e487eaf116102ff5780631e487eaf1461057357806322643a461461059157806322e6179b146105e95780632e1a7d4d1461060757610382565b80631a700268146104f35780631b3ed722146105215780631be052891461055557610382565b80630aae105d116103615780630aae105d1461045557806313af40351461047357806316589b6c146104b757806318160ddd146104d557610382565b80628cc2621461038757806301e492df146103df5780630700037d146103fd575b600080fd5b6103c96004803603602081101561039d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610e4a565b6040518082815260200191505060405180910390f35b6103e7610fbe565b6040518082815260200191505060405180910390f35b61043f6004803603602081101561041357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610fc4565b6040518082815260200191505060405180910390f35b61045d610fdc565b6040518082815260200191505060405180910390f35b6104b56004803603602081101561048957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610fe2565b005b6104bf6110b8565b6040518082815260200191505060405180910390f35b6104dd6110be565b6040518082815260200191505060405180910390f35b61051f6004803603602081101561050957600080fd5b81019080803590602001909291905050506110c8565b005b61052961125f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61055d611285565b6040518082815260200191505060405180910390f35b61057b61128b565b6040518082815260200191505060405180910390f35b6105d3600480360360208110156105a757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611291565b6040518082815260200191505060405180910390f35b6105f16112a8565b6040518082815260200191505060405180910390f35b6106336004803603602081101561061d57600080fd5b81019080803590602001909291905050506112ae565b005b6106616004803603602081101561064b57600080fd5b8101908080359060200190929190505050611652565b005b61066b61180b565b005b6106756119c9565b6040518082815260200191505060405180910390f35b6106936119cf565b005b61069d611aa2565b6040518082815260200191505060405180910390f35b6106bb611aa8565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106ef611ace565b6040518082815260200191505060405180910390f35b61070d611ad4565b6040518082815260200191505060405180910390f35b61074f6004803603602081101561073957600080fd5b8101908080359060200190929190505050611ada565b6040518082815260200191505060405180910390f35b6107a76004803603602081101561077b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611c77565b6040518082815260200191505060405180910390f35b6107c5611c8f565b6040518082815260200191505060405180910390f35b61081d600480360360208110156107f157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611c95565b6040518082815260200191505060405180910390f35b6108756004803603602081101561084957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611cad565b6040518082815260200191505060405180910390f35b610893611cf6565b005b61089d611e81565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6108d1611ea5565b6040518082815260200191505060405180910390f35b6108ef611eab565b6040518082815260200191505060405180910390f35b61090d611eb1565b6040518082815260200191505060405180910390f35b61092b611eb7565b6040518082815260200191505060405180910390f35b6109836004803603602081101561095757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611eca565b6040518082815260200191505060405180910390f35b6109a1611f13565b005b6109ab61215d565b6040518082815260200191505060405180910390f35b610a03600480360360208110156109d757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612163565b6040518082815260200191505060405180910390f35b610a2161217b565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610a556121a5565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610a896121cb565b6040518082815260200191505060405180910390f35b610adf60048036036060811015610ab557600080fd5b810190808035906020019092919080359060200190929190803590602001909291905050506121d1565b6040518082815260200191505060405180910390f35b610b2160048036036020811015610b0b57600080fd5b8101908080359060200190929190505050612206565b005b610bbe6004803603610180811015610b3a57600080fd5b810190808035906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190929190803590602001909291905050506124b4565b005b610c0260048036036020811015610bd657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506125e0565b6040518082815260200191505060405180910390f35b610c206125f8565b6040518082815260200191505060405180910390f35b610c3e6125fe565b6040518082815260200191505060405180910390f35b610c5c6126ba565b6040518082815260200191505060405180910390f35b610c7a6126c0565b6040518082815260200191505060405180910390f35b610c986126c6565b6040518082815260200191505060405180910390f35b610cf060048036036020811015610cc457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506126cc565b6040518082815260200191505060405180910390f35b610d4860048036036020811015610d1c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506129ba565b6040518082815260200191505060405180910390f35b610d66612a03565b6040518082815260200191505060405180910390f35b610d84612a09565b005b610d8e612a24565b6040518082815260200191505060405180910390f35b610dd060048036036020811015610dba57600080fd5b8101908080359060200190929190505050612a2a565b005b610e1460048036036020811015610de857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612e80565b005b610e1e613090565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b600080610ede600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546130b690919063ffffffff16565b9050610fb6601f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610fa8670de0b6b3a7640000610f9a610f8b601e60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610f7d6125fe565b61313e90919063ffffffff16565b8661318890919063ffffffff16565b61320e90919063ffffffff16565b6130b690919063ffffffff16565b915050919050565b60125481565b601f6020528060005260406000206000915090505481565b60155481565b610fea613258565b73ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146110ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6110b581612e80565b50565b601a5481565b6000600354905090565b6110d0613258565b73ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611192576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b61119a613260565b600c5442106111c3576111b8600b548261320e90919063ffffffff16565b600d81905550611225565b60006111da42600c5461313e90919063ffffffff16565b905060006111f3600d548361318890919063ffffffff16565b905061121c600b5461120e83866130b690919063ffffffff16565b61320e90919063ffffffff16565b600d8190555050505b7fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d816040518082815260200191505060405180910390a150565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b5481565b60165481565b602080528060005260406000206000915090505481565b60175481565b60008111611324576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e6e6f74207769746864726177203000000000000000000000000000000081525060200191505060405180910390fd5b61132d3361327e565b6000611356606461134860018561318890919063ffffffff16565b61320e90919063ffffffff16565b90506113c5600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168260008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661331b9092919063ffffffff16565b611422336113dc838561313e90919063ffffffff16565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661331b9092919063ffffffff16565b61142b826133bd565b6000602160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115611600576000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060006114c2336126cc565b90506000611583600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611575670de0b6b3a764000061156786600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461318890919063ffffffff16565b61320e90919063ffffffff16565b61313e90919063ffffffff16565b905080600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060006115de828561313e90919063ffffffff16565b90506115f58160055461313e90919063ffffffff16565b600581905550505050505b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5836040518082815260200191505060405180910390a25050565b61165a613258565b73ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461171c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b611724613260565b600c54421061174d57611742600b548261320e90919063ffffffff16565b600d819055506117af565b600061176442600c5461313e90919063ffffffff16565b9050600061177d600d548361318890919063ffffffff16565b90506117a6600b5461179883866130b690919063ffffffff16565b61320e90919063ffffffff16565b600d8190555050505b42600e819055506117cb600b54426130b690919063ffffffff16565b600c819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d816040518082815260200191505060405180910390a150565b6118143361327e565b600061181f33610e4a565b905060008111156119c6576000601f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506118e23361189a606461188c60608661318890919063ffffffff16565b61320e90919063ffffffff16565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661331b9092919063ffffffff16565b611977600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661192f606461192160048661318890919063ffffffff16565b61320e90919063ffffffff16565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661331b9092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b50565b60035481565b6119d7613258565b73ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611a99576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b42600c81905550565b60135481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60185481565b60105481565b600080611aec601054426011546121d1565b90506005811115611afc57600590505b6001831415611b3a57611b3281600a0a611b248360090a60125461318890919063ffffffff16565b61320e90919063ffffffff16565b915050611c72565b6002831415611b7857611b7081600a0a611b628360090a60135461318890919063ffffffff16565b61320e90919063ffffffff16565b915050611c72565b6003831415611bb657611bae81600a0a611ba08360090a60145461318890919063ffffffff16565b61320e90919063ffffffff16565b915050611c72565b6004831415611bf457611bec81600a0a611bde8360090a60155461318890919063ffffffff16565b61320e90919063ffffffff16565b915050611c72565b6005831415611c3257611c2a81600a0a611c1c8360090a60165461318890919063ffffffff16565b61320e90919063ffffffff16565b915050611c72565b6006831415611c7057611c6881600a0a611c5a8360090a60175461318890919063ffffffff16565b61320e90919063ffffffff16565b915050611c72565b505b919050565b60066020528060005260406000206000915090505481565b60055481565b60046020528060005260406000206000915090505481565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611cfe613258565b73ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611dc0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60015481565b600d5481565b601c5481565b6000611ec542600c54613470565b905090565b6000602160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611f1b613258565b73ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611fdd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b42600154108015611ff05750600c544210155b612045576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526037815260200180613b626037913960400191505060405180910390fd5b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156120d057600080fd5b505afa1580156120e4573d6000803e3d6000fd5b505050506040513d60208110156120fa57600080fd5b8101908080519060200190929190505050905061215a3382600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661331b9092919063ffffffff16565b50565b601b5481565b601e6020528060005260406000206000915090505481565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601d5481565b6000806121f9836121eb878761313e90919063ffffffff16565b61320e90919063ffffffff16565b9050809150509392505050565b61220f3361327e565b60008111612285576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e6e6f74207374616b65203000000000000000000000000000000000000081525060200191505060405180910390fd5b61228e81613489565b6000602160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115612463576000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000612325336126cc565b905060006123e6600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546123d8670de0b6b3a76400006123ca86600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461318890919063ffffffff16565b61320e90919063ffffffff16565b61313e90919063ffffffff16565b905080600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000612441848361313e90919063ffffffff16565b9050612458816005546130b690919063ffffffff16565b600581905550505050505b3373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d826040518082815260200191505060405180910390a250565b6124bc613258565b73ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461257e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8b6012819055508a60138190555089601481905550886015819055508760168190555086601781905550856018819055508460198190555083601a8190555082601b8190555081601c8190555080601d81905550505050505050505050505050565b60216020528060005260406000206000915090505481565b600e5481565b600060015442101561261357600090506126b7565b6000600354141561262857600f5490506126b7565b60006126416005546003546130b690919063ffffffff16565b90506126b36126a282612694670de0b6b3a7640000612686600d54612678600e5461266a611eb7565b61313e90919063ffffffff16565b61318890919063ffffffff16565b61318890919063ffffffff16565b61320e90919063ffffffff16565b600f546130b690919063ffffffff16565b9150505b90565b60145481565b60115481565b600f5481565b600080600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166347469420846040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561275857600080fd5b505afa15801561276c573d6000803e3d6000fd5b505050506040513d602081101561278257600080fd5b8101908080519060200190929190505050905060006001602160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414156127e9576018549050612984565b6002602160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054141561283b576019549050612983565b6003602160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054141561288d57601a549050612982565b6004602160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414156128df57601b549050612981565b6005602160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054141561293157601c549050612980565b6006602160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054141561297f57601d5490505b5b5b5b5b5b6129b1670de0b6b3a76400006129a383856130b690919063ffffffff16565b6130b690919063ffffffff16565b92505050919050565b6000602060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60195481565b612a1161180b565b612a22612a1d33611cad565b6112ae565b565b600c5481565b80602160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115612ac2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180613b996024913960400191505060405180910390fd5b6000612acd82611ada565b90506000612b23602060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548361313e90919063ffffffff16565b9050612b9633600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613589909392919063ffffffff16565b612be881602060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546130b690919063ffffffff16565b602060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555082602160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115612e44576000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000612d06336126cc565b90506000612dc7600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612db9670de0b6b3a7640000612dab86600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461318890919063ffffffff16565b61320e90919063ffffffff16565b61313e90919063ffffffff16565b905080600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000612e22848361313e90919063ffffffff16565b9050612e39816005546130b690919063ffffffff16565b600581905550505050505b7f70b27848abfd4ab169b72857464ef4ae0e45c29525a4deb12dfbb56467295594836040518082815260200191505060405180910390a1505050565b612e88613258565b73ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612f4a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612fd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180613af16026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080828401905083811015613134576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600061318083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061364a565b905092915050565b60008083141561319b5760009050613208565b60008284029050828482816131ac57fe5b0414613203576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180613b176021913960400191505060405180910390fd5b809150505b92915050565b600061325083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061370a565b905092915050565b600033905090565b6132686125fe565b600f81905550613276611eb7565b600e81905550565b613286613260565b61328f81610e4a565b601f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600f54601e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b6133b88363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506137d0565b505050565b6133d28160035461313e90919063ffffffff16565b60038190555061342a81600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461313e90919063ffffffff16565b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b600081831061347f5781613481565b825b905092915050565b6134db81600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546130b690919063ffffffff16565b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550613533816003546130b690919063ffffffff16565b60038190555061358633308360008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613589909392919063ffffffff16565b50565b613644846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506137d0565b50505050565b60008383111582906136f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156136bc5780820151818401526020810190506136a1565b50505050905090810190601f1680156136e95780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b600080831182906137b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561377b578082015181840152602081019050613760565b50505050905090810190601f1680156137a85780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816137c257fe5b049050809150509392505050565b6060613832826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166138bf9092919063ffffffff16565b90506000815111156138ba5780806020019051602081101561385357600080fd5b81019080805190602001909291905050506138b9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180613b38602a913960400191505060405180910390fd5b5b505050565b60606138ce84846000856138d7565b90509392505050565b60606138e285613add565b613954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106139a45780518252602082019150602081019050602083039250613981565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613a06576040519150601f19603f3d011682016040523d82523d6000602084013e613a0b565b606091505b50915091508115613a20578092505050613ad5565b600081511115613a335780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613a9a578082015181840152602081019050613a7f565b50505050905090810190601f168015613ac75780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b949350505050565b600080823b90506000811191505091905056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656443616e6e6f7420656a656374206265666f726520706572696f642066696e6973686573206f7220706f6f6c20686173207374617274656443616e6e6f7420646f776e6772616465206c6576656c206f722073616d65206c6576656ca264697066735822122090cac276201a118460cbf06901b99196767f65253f85bf731b00bfb9558e57c364736f6c634300060c0033

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

00000000000000000000000000000000000000000000000000000000000fd200000000000000000000000000000000000000000000000000000000000000a8c0000000000000000000000000c75f15ada581219c95485c578e124df3985e4ce000000000000000000000000066b3037aa8dd64c3ef1aee13a4d1f2509f672d1c00000000000000000000000066b3037aa8dd64c3ef1aee13a4d1f2509f672d1c000000000000000000000000000000000000000000000000000000005fb0330300000000000000000000000064912352749e2be98c374b93a57f301f95cf1bff

-----Decoded View---------------
Arg [0] : _duration (uint256): 1036800
Arg [1] : _multiplierDiscountRange (uint256): 43200
Arg [2] : _stakingToken (address): 0xc75F15AdA581219c95485c578E124df3985e4CE0
Arg [3] : _rewardToken (address): 0x66B3037aa8Dd64c3eF1AEE13a4D1F2509F672D1C
Arg [4] : _multiplierToken (address): 0x66B3037aa8Dd64c3eF1AEE13a4D1F2509F672D1C
Arg [5] : _startTime (uint256): 1605382915
Arg [6] : _multiplierAddr (address): 0x64912352749E2BE98c374B93A57F301f95cF1bfF

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000fd200
Arg [1] : 000000000000000000000000000000000000000000000000000000000000a8c0
Arg [2] : 000000000000000000000000c75f15ada581219c95485c578e124df3985e4ce0
Arg [3] : 00000000000000000000000066b3037aa8dd64c3ef1aee13a4d1f2509f672d1c
Arg [4] : 00000000000000000000000066b3037aa8dd64c3ef1aee13a4d1f2509f672d1c
Arg [5] : 000000000000000000000000000000000000000000000000000000005fb03303
Arg [6] : 00000000000000000000000064912352749e2be98c374b93a57f301f95cf1bff


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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