Contract 0x531b2efAa5776089059c13CC2AF6aBEFbD2fd7b3

Contract Overview

Balance:
0 MATIC

Token:
Txn Hash
Method
Block
From
To
Value [Txn Fee]
0xeb1d7087207c3ea01aff0bb4daa835db37315b287475e516f0422124c01ae361Start261621972022-05-01 19:38:17325 days 13 hrs ago0xf3e0b0b7a57c70cb2876aa6c763eb2668fc8bf20 IN  0x531b2efaa5776089059c13cc2af6abefbd2fd7b30 MATIC0.0022220835
0x980e805173449b0ecc7246cedf6876dd6f112847601c21f0932fe56259189d4dCreate Pool261621952022-05-01 19:37:57325 days 13 hrs ago0xf3e0b0b7a57c70cb2876aa6c763eb2668fc8bf20 IN  0x531b2efaa5776089059c13cc2af6abefbd2fd7b30 MATIC0.0037935835
0x7f9e62171c8594a7b17009304658921465f874699396442bea271b6a3f97b99cCreate Pool261621942022-05-01 19:37:47325 days 13 hrs ago0xf3e0b0b7a57c70cb2876aa6c763eb2668fc8bf20 IN  0x531b2efaa5776089059c13cc2af6abefbd2fd7b30 MATIC0.0044909235
0xfa0f1f74970945193bebae0646c98e9df11126ac2fbdb249ff7d0778bc1104a7Create Pool261621932022-05-01 19:37:37325 days 13 hrs ago0xf3e0b0b7a57c70cb2876aa6c763eb2668fc8bf20 IN  0x531b2efaa5776089059c13cc2af6abefbd2fd7b30 MATIC0.0049905835
0xe43419addf8b3178170616213d4596cc10468bbd4e2e22bcf3d819759a762f14Add Dev Address261621922022-05-01 19:37:27325 days 13 hrs ago0xf3e0b0b7a57c70cb2876aa6c763eb2668fc8bf20 IN  0x531b2efaa5776089059c13cc2af6abefbd2fd7b30 MATIC0.00275509535
0xa89d281ec352d8812f3a2e85cc3c4467b996f5c22beab0746d8c0cd71b16fc6aAdd Dev Address261621912022-05-01 19:37:17325 days 13 hrs ago0xf3e0b0b7a57c70cb2876aa6c763eb2668fc8bf20 IN  0x531b2efaa5776089059c13cc2af6abefbd2fd7b30 MATIC0.0032561935
0x409d10688790fbd7a7829f676c41d2213821a202e10300fa814313a67a516f640x60806040261621822022-05-01 19:35:47325 days 13 hrs ago0xf3e0b0b7a57c70cb2876aa6c763eb2668fc8bf20 IN  Create: Pool0 MATIC0.11225903535
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Pool

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 8 : Pool.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol';
import '@openzeppelin/contracts/utils/math/SafeMath.sol';

contract Pool is Ownable, ReentrancyGuard {
	using SafeMath for uint;
	using SafeERC20 for IERC20;
	mapping(uint => mapping(address => UserInfo)) public users; // Info of each user that stakes tokens.
	PoolInfo[] public pools; // Info of each user that stakes tokens.
	DevWallet[] public devWallets;
 IERC20 public tokenEarn;
	address public burnAddress;
	bool public started = false;
	bool public finished = false;
	uint public tokenPerBlock;
 uint public rewardTokensLeft;
	uint public poolRewardAmount;
 uint public tokensToBurn = 0;
	uint public endRewardBlockNumber = 1;
	uint public startBlock = 1;
	uint public totalAllocPoint = 0;
	event eventDeposit(address indexed user, uint indexed poolID, uint amount);
	event eventWithdraw(address indexed user, uint indexed poolID, uint amount);
	event eventEmergencyWithdraw(address indexed user, uint indexed poolID, uint amount);
 event eventAddDevAddress(address indexed devAddress, uint indexed sharePercent);

	struct UserInfo {
		uint amount;
		uint rewardDebt;
	}

	struct PoolInfo {
		IERC20 tokenDeposit;
		uint allocPoint;
		uint lastRewardBlock;
		uint accTokenPerShare;
		uint feeDeposit;
	}

 struct DevWallet {
  address devAddress;
  uint sharePercent;
 }

	constructor(IERC20 _tokenEarn, address _burnAddress,	uint _tokenPerBlock,	uint _poolRewardAmount) {
		tokenEarn = _tokenEarn;
		burnAddress = _burnAddress;
		poolRewardAmount = _poolRewardAmount;
		rewardTokensLeft = poolRewardAmount;
		tokenPerBlock = _tokenPerBlock;
	}

	function getMultiplier(uint _from, uint _to) public pure returns (uint) {
  return _to.sub(_from);
	}

	function getRewardBlockNumber() public view returns (uint) {
		if (block.number > endRewardBlockNumber) return endRewardBlockNumber;
		return block.number;
	}

 function getTokensToBeBurned() public view returns (uint) {
  if (!started || startBlock > block.number) return 0;
  uint rewardBlockNumber = getRewardBlockNumber();
  if (block.number > rewardBlockNumber) return tokensToBurn;
  uint tokensToBurnTemp = tokensToBurn;
  for (uint poolID = 0; poolID < pools.length; poolID++) {
   PoolInfo memory pool = pools[poolID];
	 	if (getPoolSupply(poolID) == 0) {
    uint multiplier = getMultiplier(pool.lastRewardBlock, rewardBlockNumber);
    uint tokenReward = multiplier.mul(tokenPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
    tokensToBurnTemp = tokensToBurnTemp.add(tokenReward);
   }
		}
  return tokensToBurnTemp;
 }

 function getDistributedTokens() public view returns (uint) {
  if (!started || startBlock > block.number) return 0;
  uint rewardBlockNumber = getRewardBlockNumber();
  if (block.number > rewardBlockNumber) return poolRewardAmount;
  uint multiplier = getMultiplier(startBlock, rewardBlockNumber);
  return tokenPerBlock.mul(multiplier);
 }

 function getTokensToBeDistributed() public view returns (uint) {
  uint distributedTokens = getDistributedTokens();
  return poolRewardAmount.sub(distributedTokens);
 }

	function getPoolSupply(uint _poolID) public view returns (uint) {
		PoolInfo memory pool = pools[_poolID];
		if (address(tokenEarn) == address(pool.tokenDeposit)) return pool.tokenDeposit.balanceOf(address(this)).sub(rewardTokensLeft);
		return pool.tokenDeposit.balanceOf(address(this));
	}

	function pendingTokens(uint _poolID, address _user) external view returns (uint) {
		PoolInfo storage pool = pools[_poolID];
		UserInfo storage user = users[_poolID][_user];
		uint accTokenPerShare = pool.accTokenPerShare;
		uint blockNumber = getRewardBlockNumber();
		uint lpSupply = getPoolSupply(_poolID);
 	if (block.number > pool.lastRewardBlock && lpSupply != 0) {
			uint multiplier = getMultiplier(pool.lastRewardBlock, blockNumber);
			uint tokenReward = multiplier.mul(tokenPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
			accTokenPerShare = accTokenPerShare.add(tokenReward.mul(1e12).div(lpSupply));
		}
		return user.amount.mul(accTokenPerShare).div(1e12).sub(user.rewardDebt);
	}

	function updateAllPools() public {
		if (!started || finished) return;
		for (uint poolID = 0; poolID < pools.length; poolID++) updatePool(poolID);
		uint blockNumber = getRewardBlockNumber();
		if (block.number > blockNumber) finished = true;
	}

	function updatePool(uint _poolID) internal {
		if(!started || finished) return;
		PoolInfo storage pool = pools[_poolID];
		if (block.number <= pool.lastRewardBlock)	return;
		uint blockNumber = getRewardBlockNumber();
  if (pool.allocPoint == 0) {
			pool.lastRewardBlock = blockNumber;
			return;
		}
		uint lpSupply = getPoolSupply(_poolID);
  uint multiplier = getMultiplier(pool.lastRewardBlock, blockNumber);
		uint tokenReward = multiplier.mul(tokenPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
  if (lpSupply == 0) {
   tokensToBurn = tokensToBurn.add(tokenReward);
   pool.lastRewardBlock = blockNumber;
   return;
  }
  rewardTokensLeft = rewardTokensLeft.sub(tokenReward);
		pool.accTokenPerShare = pool.accTokenPerShare.add(tokenReward.mul(1e12).div(lpSupply));
		pool.lastRewardBlock = blockNumber;
	}

	function deposit(uint _poolID, uint _amount) public nonReentrant {
		PoolInfo storage pool = pools[_poolID];
		UserInfo storage user = users[_poolID][msg.sender];
		updateAllPools();
		if (user.amount > 0) {
			uint pending = user.amount.mul(pool.accTokenPerShare).div(1e12).sub(user.rewardDebt);
			if (pending > 0) safeTokenTransfer(msg.sender, pending);
		}
		if (_amount > 0) {
			pool.tokenDeposit.safeTransferFrom(msg.sender, address(this), _amount);
			if (pool.feeDeposit > 0) {
				uint depositFee = _amount.mul(pool.feeDeposit).div(10000);
    for (uint i = 0; i < devWallets.length; i++) pool.tokenDeposit.safeTransfer(devWallets[i].devAddress, depositFee * devWallets[i].sharePercent / 10000);
    user.amount = user.amount.add(_amount).sub(depositFee);
			} else user.amount = user.amount.add(_amount);
		}
		user.rewardDebt = user.amount.mul(pool.accTokenPerShare).div(1e12);
		emit eventDeposit(msg.sender, _poolID, _amount);
	}

	function withdraw(uint _poolID, uint _amount) public nonReentrant {
		PoolInfo storage pool = pools[_poolID];
		UserInfo storage user = users[_poolID][msg.sender];
		require(user.amount >= _amount, 'withdraw: Amount is too big');
		updateAllPools();
		uint pending = user.amount.mul(pool.accTokenPerShare).div(1e12).sub(user.rewardDebt);
		if (pending > 0) safeTokenTransfer(msg.sender, pending);
		if (_amount > 0) {
			user.amount = user.amount.sub(_amount);
			pool.tokenDeposit.safeTransfer(address(msg.sender), _amount);
		}
		user.rewardDebt = user.amount.mul(pool.accTokenPerShare).div(1e12);
		emit eventWithdraw(msg.sender, _poolID, _amount);
	}

	function emergencyWithdraw(uint _poolID) public nonReentrant {
		PoolInfo storage pool = pools[_poolID];
		UserInfo storage user = users[_poolID][msg.sender];
		uint amount = user.amount;
		user.amount = 0;
		user.rewardDebt = 0;
		pool.tokenDeposit.safeTransfer(address(msg.sender), amount);
		emit eventEmergencyWithdraw(msg.sender, _poolID, amount);
	}

	function safeTokenTransfer(address _to, uint _amount) internal {
  uint tokenBal = tokenEarn.balanceOf(address(this));
  bool transferSuccess = false;
  if (_amount > tokenBal) transferSuccess = tokenEarn.transfer(_to, tokenBal);
  else transferSuccess = tokenEarn.transfer(_to, _amount);
  require(transferSuccess, 'safeTokenTransfer: transfer failed');
 }

	function createPool(uint _allocPoint, IERC20 _lpToken, uint16 _depositFeeBP) public onlyOwner {
		uint lastRewardBlock = block.number > startBlock ? block.number : startBlock;
		totalAllocPoint = totalAllocPoint.add(_allocPoint);
		pools.push(PoolInfo({ tokenDeposit: _lpToken, allocPoint: _allocPoint, lastRewardBlock: lastRewardBlock, accTokenPerShare: 0, feeDeposit: _depositFeeBP }));
	}

	function start(uint _offsetInBlockNumber) public onlyOwner {
		require(!started, 'start: already started');
		startBlock = block.number.add(_offsetInBlockNumber);
		uint blocks = poolRewardAmount.div(tokenPerBlock);
		endRewardBlockNumber = startBlock.add(blocks);
		for (uint poolID = 0; poolID < pools.length; poolID++) pools[poolID].lastRewardBlock = startBlock;
		updateAllPools();
		started = true;
	}

	function burnRemainingTokens() external onlyOwner {
		require(finished, 'burnRemainingTokens: not yet finished');
		require(rewardTokensLeft > 0, 'burnRemainingTokens: no tokens to burn');
		tokenEarn.safeTransfer(burnAddress, tokensToBurn);
	}

 function addDevAddress(address _devAddress, uint _sharePercent) public onlyOwner {
  uint totalShare;
  for (uint i = 0; i < devWallets.length; i++) totalShare += devWallets[i].sharePercent;
  require(totalShare + _sharePercent <= 10000, 'addDevAddress: Share exceeds 100 percent');
  devWallets.push(DevWallet(_devAddress, _sharePercent));
  emit eventAddDevAddress(_devAddress, _sharePercent);
 }
}

File 2 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 8 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 4 of 8 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 5 of 8 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 6 of 8 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

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

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

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

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

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

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

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

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

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

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * 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) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

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

File 7 of 8 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 8 of 8 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_tokenEarn","type":"address"},{"internalType":"address","name":"_burnAddress","type":"address"},{"internalType":"uint256","name":"_tokenPerBlock","type":"uint256"},{"internalType":"uint256","name":"_poolRewardAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"devAddress","type":"address"},{"indexed":true,"internalType":"uint256","name":"sharePercent","type":"uint256"}],"name":"eventAddDevAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"poolID","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"eventDeposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"poolID","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"eventEmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"poolID","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"eventWithdraw","type":"event"},{"inputs":[{"internalType":"address","name":"_devAddress","type":"address"},{"internalType":"uint256","name":"_sharePercent","type":"uint256"}],"name":"addDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnRemainingTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"}],"name":"createPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_poolID","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"devWallets","outputs":[{"internalType":"address","name":"devAddress","type":"address"},{"internalType":"uint256","name":"sharePercent","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_poolID","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endRewardBlockNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"finished","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDistributedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"_poolID","type":"uint256"}],"name":"getPoolSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRewardBlockNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTokensToBeBurned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTokensToBeDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_poolID","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolRewardAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"pools","outputs":[{"internalType":"contract IERC20","name":"tokenDeposit","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accTokenPerShare","type":"uint256"},{"internalType":"uint256","name":"feeDeposit","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardTokensLeft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_offsetInBlockNumber","type":"uint256"}],"name":"start","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"started","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenEarn","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensToBurn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"updateAllPools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"users","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_poolID","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600660146101000a81548160ff0219169083151502179055506000600660156101000a81548160ff0219169083151502179055506000600a556001600b556001600c556000600d553480156200005b57600080fd5b50604051620038c5380380620038c5833981810160405281019062000081919062000301565b620000a1620000956200014b60201b60201c565b6200015360201b60201c565b6001808190555083600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600981905550600954600881905550816007819055505050505062000373565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000249826200021c565b9050919050565b60006200025d826200023c565b9050919050565b6200026f8162000250565b81146200027b57600080fd5b50565b6000815190506200028f8162000264565b92915050565b620002a0816200023c565b8114620002ac57600080fd5b50565b600081519050620002c08162000295565b92915050565b6000819050919050565b620002db81620002c6565b8114620002e757600080fd5b50565b600081519050620002fb81620002d0565b92915050565b600080600080608085870312156200031e576200031d62000217565b5b60006200032e878288016200027e565b94505060206200034187828801620002af565b93505060406200035487828801620002ea565b92505060606200036787828801620002ea565b91505092959194509250565b61354280620003836000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c806383408d731161010f578063bef4876b116100a2578063f145ff2311610071578063f145ff2314610555578063f2fde38b14610573578063f574d9c21461058f578063ffcd4263146105ad576101f0565b8063bef4876b146104e1578063ce87f339146104ff578063df8d56001461051b578063e2bbb15814610539576101f0565b806395805dad116100de57806395805dad14610456578063ac4afa3814610472578063b9d02df4146104a6578063b9ec7d74146104d7576101f0565b806383408d73146103e05780638da5cb5b146103ea5780638dbb1e3a1461040857806391c082a514610438576101f0565b806345cecdf8116101875780635312ea8e116101565780635312ea8e1461037e578063701fbafe1461039a57806370d5ae05146103b8578063715018a6146103d6576101f0565b806345cecdf8146102e157806348cd4cb1146103115780634d8196c31461032f57806350133ee61461034d576101f0565b80632b1060c9116101c35780632b1060c91461026b578063415e4ee3146102895780634198709a146102a7578063441a3e70146102c5576101f0565b806317caf6f1146101f55780631bc9a488146102135780631f2698ab1461022f5780631fa35eea1461024d575b600080fd5b6101fd6105dd565b60405161020a919061270f565b60405180910390f35b61022d60048036038101906102289190612805565b6105e3565b005b610237610775565b6040516102449190612873565b60405180910390f35b610255610788565b604051610262919061270f565b60405180910390f35b6102736107a5565b604051610280919061270f565b60405180910390f35b6102916107ab565b60405161029e919061270f565b60405180910390f35b6102af610958565b6040516102bc919061270f565b60405180910390f35b6102df60048036038101906102da919061288e565b61095e565b005b6102fb60048036038101906102f691906128ce565b610be3565b604051610308919061270f565b60405180910390f35b610319610e0d565b604051610326919061270f565b60405180910390f35b610337610e13565b604051610344919061270f565b60405180910390f35b610367600480360381019061036291906128ce565b610e3b565b60405161037592919061290a565b60405180910390f35b610398600480360381019061039391906128ce565b610e8f565b005b6103a261101e565b6040516103af9190612992565b60405180910390f35b6103c0611044565b6040516103cd91906129ad565b60405180910390f35b6103de61106a565b005b6103e86110f2565b005b6103f2611275565b6040516103ff91906129ad565b60405180910390f35b610422600480360381019061041d919061288e565b61129e565b60405161042f919061270f565b60405180910390f35b6104406112bb565b60405161044d919061270f565b60405180910390f35b610470600480360381019061046b91906128ce565b6112c1565b005b61048c600480360381019061048791906128ce565b611453565b60405161049d9594939291906129c8565b60405180910390f35b6104c060048036038101906104bb9190612a47565b6114b9565b6040516104ce929190612a87565b60405180910390f35b6104df6114ea565b005b6104e9611577565b6040516104f69190612873565b60405180910390f35b61051960048036038101906105149190612ab0565b61158a565b005b6105236117a4565b604051610530919061270f565b60405180910390f35b610553600480360381019061054e919061288e565b6117aa565b005b61055d611b61565b60405161056a919061270f565b60405180910390f35b61058d60048036038101906105889190612af0565b611bda565b005b610597611cd1565b6040516105a4919061270f565b60405180910390f35b6105c760048036038101906105c29190612a47565b611cd7565b6040516105d4919061270f565b60405180910390f35b600d5481565b6105eb611e74565b73ffffffffffffffffffffffffffffffffffffffff16610609611275565b73ffffffffffffffffffffffffffffffffffffffff161461065f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161065690612b7a565b60405180910390fd5b6000600c54431161067257600c54610674565b435b905061068b84600d54611e7c90919063ffffffff16565b600d8190555060036040518060a001604052808573ffffffffffffffffffffffffffffffffffffffff168152602001868152602001838152602001600081526020018461ffff16815250908060018154018082558091505060019003906000526020600020906005020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155604082015181600201556060820151816003015560808201518160040155505050505050565b600660149054906101000a900460ff1681565b6000600b5443111561079e57600b5490506107a2565b4390505b90565b60095481565b6000600660149054906101000a900460ff1615806107ca575043600c54115b156107d85760009050610955565b60006107e2610788565b9050804311156107f757600a54915050610955565b6000600a54905060005b60038054905081101561094e5760006003828154811061082457610823612b9a565b5b90600052602060002090600502016040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600182015481526020016002820154815260200160038201548152602001600482015481525050905060006108c883610be3565b0361093a5760006108dd82604001518661129e565b90506000610920600d54610912856020015161090460075487611e9290919063ffffffff16565b611e9290919063ffffffff16565b611ea890919063ffffffff16565b90506109358186611e7c90919063ffffffff16565b945050505b50808061094690612bf8565b915050610801565b5080925050505b90565b60075481565b6002600154036109a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099a90612c8c565b60405180910390fd5b60026001819055506000600383815481106109c1576109c0612b9a565b5b9060005260206000209060050201905060006002600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508281600001541015610a6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6390612cf8565b60405180910390fd5b610a746114ea565b6000610abe8260010154610ab064e8d4a51000610aa287600301548760000154611e9290919063ffffffff16565b611ea890919063ffffffff16565b611ebe90919063ffffffff16565b90506000811115610ad457610ad33382611ed4565b5b6000841115610b4c57610af4848360000154611ebe90919063ffffffff16565b8260000181905550610b4b33858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661210e9092919063ffffffff16565b5b610b7e64e8d4a51000610b7085600301548560000154611e9290919063ffffffff16565b611ea890919063ffffffff16565b8260010181905550843373ffffffffffffffffffffffffffffffffffffffff167f2ee30e20a9a85158a9dfc739d79189175f8af2e8c9d7cbe8cab9efa8a565709986604051610bcd919061270f565b60405180910390a3505050600180819055505050565b60008060038381548110610bfa57610bf9612b9a565b5b90600052602060002090600502016040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820154815260200160028201548152602001600382015481526020016004820154815250509050806000015173ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610d8657610d7e600854826000015173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610d2f91906129ad565b602060405180830381865afa158015610d4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d709190612d2d565b611ebe90919063ffffffff16565b915050610e08565b806000015173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610dc391906129ad565b602060405180830381865afa158015610de0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e049190612d2d565b9150505b919050565b600c5481565b600080610e1e611b61565b9050610e3581600954611ebe90919063ffffffff16565b91505090565b60048181548110610e4b57600080fd5b90600052602060002090600202016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154905082565b600260015403610ed4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecb90612c8c565b60405180910390fd5b6002600181905550600060038281548110610ef257610ef1612b9a565b5b9060005260206000209060050201905060006002600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000816000015490506000826000018190555060008260010181905550610fc233828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661210e9092919063ffffffff16565b833373ffffffffffffffffffffffffffffffffffffffff167ffda9fc1f433929160f4066fc23e8f4faabce941ef7296e3f36373dedbf17b41d83604051611009919061270f565b60405180910390a35050506001808190555050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611072611e74565b73ffffffffffffffffffffffffffffffffffffffff16611090611275565b73ffffffffffffffffffffffffffffffffffffffff16146110e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110dd90612b7a565b60405180910390fd5b6110f06000612194565b565b6110fa611e74565b73ffffffffffffffffffffffffffffffffffffffff16611118611275565b73ffffffffffffffffffffffffffffffffffffffff161461116e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116590612b7a565b60405180910390fd5b600660159054906101000a900460ff166111bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b490612dcc565b60405180910390fd5b600060085411611202576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f990612e5e565b60405180910390fd5b611273600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600a54600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661210e9092919063ffffffff16565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006112b38383611ebe90919063ffffffff16565b905092915050565b600b5481565b6112c9611e74565b73ffffffffffffffffffffffffffffffffffffffff166112e7611275565b73ffffffffffffffffffffffffffffffffffffffff161461133d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133490612b7a565b60405180910390fd5b600660149054906101000a900460ff161561138d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138490612eca565b60405180910390fd5b6113a08143611e7c90919063ffffffff16565b600c8190555060006113bf600754600954611ea890919063ffffffff16565b90506113d681600c54611e7c90919063ffffffff16565b600b8190555060005b60038054905081101561142b57600c546003828154811061140357611402612b9a565b5b906000526020600020906005020160020181905550808061142390612bf8565b9150506113df565b506114346114ea565b6001600660146101000a81548160ff0219169083151502179055505050565b6003818154811061146357600080fd5b90600052602060002090600502016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154908060040154905085565b6002602052816000526040600020602052806000526040600020600091509150508060000154908060010154905082565b600660149054906101000a900460ff1615806115125750600660159054906101000a900460ff165b6115755760005b6003805490508110156115425761152f81612258565b808061153a90612bf8565b915050611519565b50600061154d610788565b905080431115611573576001600660156101000a81548160ff0219169083151502179055505b505b565b600660159054906101000a900460ff1681565b611592611e74565b73ffffffffffffffffffffffffffffffffffffffff166115b0611275565b73ffffffffffffffffffffffffffffffffffffffff1614611606576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fd90612b7a565b60405180910390fd5b600080600090505b600480549050811015611661576004818154811061162f5761162e612b9a565b5b9060005260206000209060020201600101548261164c9190612eea565b9150808061165990612bf8565b91505061160e565b5061271082826116719190612eea565b11156116b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a990612fb2565b60405180910390fd5b600460405180604001604052808573ffffffffffffffffffffffffffffffffffffffff16815260200184815250908060018154018082558091505060019003906000526020600020906002020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101555050818373ffffffffffffffffffffffffffffffffffffffff167f45c19855aec8e1a197c1adbb13ac63a08381bd872c69a5e38fa4dbb2b65e945360405160405180910390a3505050565b60085481565b6002600154036117ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e690612c8c565b60405180910390fd5b600260018190555060006003838154811061180d5761180c612b9a565b5b9060005260206000209060050201905060006002600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506118796114ea565b6000816000015411156118e85760006118d082600101546118c264e8d4a510006118b487600301548760000154611e9290919063ffffffff16565b611ea890919063ffffffff16565b611ebe90919063ffffffff16565b905060008111156118e6576118e53382611ed4565b5b505b6000831115611acb576119423330858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166123f0909392919063ffffffff16565b600082600401541115611aaa57600061197c61271061196e856004015487611e9290919063ffffffff16565b611ea890919063ffffffff16565b905060005b600480549050811015611a7257611a5f600482815481106119a5576119a4612b9a565b5b906000526020600020906002020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710600484815481106119ee576119ed612b9a565b5b90600052602060002090600202016001015485611a0b9190612fd2565b611a15919061305b565b8660000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661210e9092919063ffffffff16565b8080611a6a90612bf8565b915050611981565b50611a9c81611a8e868560000154611e7c90919063ffffffff16565b611ebe90919063ffffffff16565b826000018190555050611aca565b611ac1838260000154611e7c90919063ffffffff16565b81600001819055505b5b611afd64e8d4a51000611aef84600301548460000154611e9290919063ffffffff16565b611ea890919063ffffffff16565b8160010181905550833373ffffffffffffffffffffffffffffffffffffffff167fc27cdd62c15bb01e02047fa68cc5735f1115f3e4c56faa54cab3dd384428cd3385604051611b4c919061270f565b60405180910390a35050600180819055505050565b6000600660149054906101000a900460ff161580611b80575043600c54115b15611b8e5760009050611bd7565b6000611b98610788565b905080431115611bad57600954915050611bd7565b6000611bbb600c548361129e565b9050611bd281600754611e9290919063ffffffff16565b925050505b90565b611be2611e74565b73ffffffffffffffffffffffffffffffffffffffff16611c00611275565b73ffffffffffffffffffffffffffffffffffffffff1614611c56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4d90612b7a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611cc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbc906130fe565b60405180910390fd5b611cce81612194565b50565b600a5481565b60008060038481548110611cee57611ced612b9a565b5b9060005260206000209060050201905060006002600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000826003015490506000611d65610788565b90506000611d7288610be3565b9050846002015443118015611d88575060008114155b15611e23576000611d9d86600201548461129e565b90506000611de0600d54611dd28960010154611dc460075487611e9290919063ffffffff16565b611e9290919063ffffffff16565b611ea890919063ffffffff16565b9050611e1e611e0f84611e0164e8d4a5100085611e9290919063ffffffff16565b611ea890919063ffffffff16565b86611e7c90919063ffffffff16565b945050505b611e678460010154611e5964e8d4a51000611e4b878960000154611e9290919063ffffffff16565b611ea890919063ffffffff16565b611ebe90919063ffffffff16565b9550505050505092915050565b600033905090565b60008183611e8a9190612eea565b905092915050565b60008183611ea09190612fd2565b905092915050565b60008183611eb6919061305b565b905092915050565b60008183611ecc919061311e565b905092915050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611f3191906129ad565b602060405180830381865afa158015611f4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f729190612d2d565b905060008183111561202557600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85846040518363ffffffff1660e01b8152600401611fdb92919061290a565b6020604051808303816000875af1158015611ffa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061201e919061317e565b90506120c8565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85856040518363ffffffff1660e01b815260040161208292919061290a565b6020604051808303816000875af11580156120a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120c5919061317e565b90505b80612108576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ff9061321d565b60405180910390fd5b50505050565b61218f8363a9059cbb60e01b848460405160240161212d92919061290a565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612479565b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600660149054906101000a900460ff1615806122805750600660159054906101000a900460ff165b6123ed5760006003828154811061229a57612299612b9a565b5b90600052602060002090600502019050806002015443116122bb57506123ed565b60006122c5610788565b905060008260010154036122e35780826002018190555050506123ed565b60006122ee84610be3565b9050600061230084600201548461129e565b90506000612343600d54612335876001015461232760075487611e9290919063ffffffff16565b611e9290919063ffffffff16565b611ea890919063ffffffff16565b90506000830361237b5761236281600a54611e7c90919063ffffffff16565b600a8190555083856002018190555050505050506123ed565b61239081600854611ebe90919063ffffffff16565b6008819055506123d66123c3846123b564e8d4a5100085611e9290919063ffffffff16565b611ea890919063ffffffff16565b8660030154611e7c90919063ffffffff16565b856003018190555083856002018190555050505050505b50565b612473846323b872dd60e01b8585856040516024016124119392919061323d565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612479565b50505050565b60006124db826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166125409092919063ffffffff16565b905060008151111561253b57808060200190518101906124fb919061317e565b61253a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612531906132e6565b60405180910390fd5b5b505050565b606061254f8484600085612558565b90509392505050565b60608247101561259d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259490613378565b60405180910390fd5b6125a68561266c565b6125e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125dc906133e4565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161260e919061347e565b60006040518083038185875af1925050503d806000811461264b576040519150601f19603f3d011682016040523d82523d6000602084013e612650565b606091505b509150915061266082828661268f565b92505050949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060831561269f578290506126ef565b6000835111156126b25782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e691906134ea565b60405180910390fd5b9392505050565b6000819050919050565b612709816126f6565b82525050565b60006020820190506127246000830184612700565b92915050565b600080fd5b612738816126f6565b811461274357600080fd5b50565b6000813590506127558161272f565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006127868261275b565b9050919050565b60006127988261277b565b9050919050565b6127a88161278d565b81146127b357600080fd5b50565b6000813590506127c58161279f565b92915050565b600061ffff82169050919050565b6127e2816127cb565b81146127ed57600080fd5b50565b6000813590506127ff816127d9565b92915050565b60008060006060848603121561281e5761281d61272a565b5b600061282c86828701612746565b935050602061283d868287016127b6565b925050604061284e868287016127f0565b9150509250925092565b60008115159050919050565b61286d81612858565b82525050565b60006020820190506128886000830184612864565b92915050565b600080604083850312156128a5576128a461272a565b5b60006128b385828601612746565b92505060206128c485828601612746565b9150509250929050565b6000602082840312156128e4576128e361272a565b5b60006128f284828501612746565b91505092915050565b6129048161277b565b82525050565b600060408201905061291f60008301856128fb565b61292c6020830184612700565b9392505050565b6000819050919050565b600061295861295361294e8461275b565b612933565b61275b565b9050919050565b600061296a8261293d565b9050919050565b600061297c8261295f565b9050919050565b61298c81612971565b82525050565b60006020820190506129a76000830184612983565b92915050565b60006020820190506129c260008301846128fb565b92915050565b600060a0820190506129dd6000830188612983565b6129ea6020830187612700565b6129f76040830186612700565b612a046060830185612700565b612a116080830184612700565b9695505050505050565b612a248161277b565b8114612a2f57600080fd5b50565b600081359050612a4181612a1b565b92915050565b60008060408385031215612a5e57612a5d61272a565b5b6000612a6c85828601612746565b9250506020612a7d85828601612a32565b9150509250929050565b6000604082019050612a9c6000830185612700565b612aa96020830184612700565b9392505050565b60008060408385031215612ac757612ac661272a565b5b6000612ad585828601612a32565b9250506020612ae685828601612746565b9150509250929050565b600060208284031215612b0657612b0561272a565b5b6000612b1484828501612a32565b91505092915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612b64602083612b1d565b9150612b6f82612b2e565b602082019050919050565b60006020820190508181036000830152612b9381612b57565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612c03826126f6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612c3557612c34612bc9565b5b600182019050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000612c76601f83612b1d565b9150612c8182612c40565b602082019050919050565b60006020820190508181036000830152612ca581612c69565b9050919050565b7f77697468647261773a20416d6f756e7420697320746f6f206269670000000000600082015250565b6000612ce2601b83612b1d565b9150612ced82612cac565b602082019050919050565b60006020820190508181036000830152612d1181612cd5565b9050919050565b600081519050612d278161272f565b92915050565b600060208284031215612d4357612d4261272a565b5b6000612d5184828501612d18565b91505092915050565b7f6275726e52656d61696e696e67546f6b656e733a206e6f74207965742066696e60008201527f6973686564000000000000000000000000000000000000000000000000000000602082015250565b6000612db6602583612b1d565b9150612dc182612d5a565b604082019050919050565b60006020820190508181036000830152612de581612da9565b9050919050565b7f6275726e52656d61696e696e67546f6b656e733a206e6f20746f6b656e73207460008201527f6f206275726e0000000000000000000000000000000000000000000000000000602082015250565b6000612e48602683612b1d565b9150612e5382612dec565b604082019050919050565b60006020820190508181036000830152612e7781612e3b565b9050919050565b7f73746172743a20616c7265616479207374617274656400000000000000000000600082015250565b6000612eb4601683612b1d565b9150612ebf82612e7e565b602082019050919050565b60006020820190508181036000830152612ee381612ea7565b9050919050565b6000612ef5826126f6565b9150612f00836126f6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612f3557612f34612bc9565b5b828201905092915050565b7f616464446576416464726573733a20536861726520657863656564732031303060008201527f2070657263656e74000000000000000000000000000000000000000000000000602082015250565b6000612f9c602883612b1d565b9150612fa782612f40565b604082019050919050565b60006020820190508181036000830152612fcb81612f8f565b9050919050565b6000612fdd826126f6565b9150612fe8836126f6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561302157613020612bc9565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613066826126f6565b9150613071836126f6565b9250826130815761308061302c565b5b828204905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006130e8602683612b1d565b91506130f38261308c565b604082019050919050565b60006020820190508181036000830152613117816130db565b9050919050565b6000613129826126f6565b9150613134836126f6565b92508282101561314757613146612bc9565b5b828203905092915050565b61315b81612858565b811461316657600080fd5b50565b60008151905061317881613152565b92915050565b6000602082840312156131945761319361272a565b5b60006131a284828501613169565b91505092915050565b7f73616665546f6b656e5472616e736665723a207472616e73666572206661696c60008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b6000613207602283612b1d565b9150613212826131ab565b604082019050919050565b60006020820190508181036000830152613236816131fa565b9050919050565b600060608201905061325260008301866128fb565b61325f60208301856128fb565b61326c6040830184612700565b949350505050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b60006132d0602a83612b1d565b91506132db82613274565b604082019050919050565b600060208201905081810360008301526132ff816132c3565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000613362602683612b1d565b915061336d82613306565b604082019050919050565b6000602082019050818103600083015261339181613355565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b60006133ce601d83612b1d565b91506133d982613398565b602082019050919050565b600060208201905081810360008301526133fd816133c1565b9050919050565b600081519050919050565b600081905092915050565b60005b8381101561343857808201518184015260208101905061341d565b83811115613447576000848401525b50505050565b600061345882613404565b613462818561340f565b935061347281856020860161341a565b80840191505092915050565b600061348a828461344d565b915081905092915050565b600081519050919050565b6000601f19601f8301169050919050565b60006134bc82613495565b6134c68185612b1d565b93506134d681856020860161341a565b6134df816134a0565b840191505092915050565b6000602082019050818103600083015261350481846134b1565b90509291505056fea2646970667358221220f4c2594c9f8f3b3b369ffa74bfb288ac7b5a8a397529d7c3b43716cec479aa1564736f6c634300080d00330000000000000000000000009b6452d8ee8b79605f3f73d04f5f43d7a9df59a3000000000000000000000000000000000000000000000000000000000000dead000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000000000000000000000000000008ac7230489e80000

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

0000000000000000000000009b6452d8ee8b79605f3f73d04f5f43d7a9df59a3000000000000000000000000000000000000000000000000000000000000dead000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000000000000000000000000000008ac7230489e80000

-----Decoded View---------------
Arg [0] : _tokenEarn (address): 0x9b6452d8ee8b79605f3f73d04f5f43d7a9df59a3
Arg [1] : _burnAddress (address): 0x000000000000000000000000000000000000dead
Arg [2] : _tokenPerBlock (uint256): 100000000000000000
Arg [3] : _poolRewardAmount (uint256): 10000000000000000000

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000009b6452d8ee8b79605f3f73d04f5f43d7a9df59a3
Arg [1] : 000000000000000000000000000000000000000000000000000000000000dead
Arg [2] : 000000000000000000000000000000000000000000000000016345785d8a0000
Arg [3] : 0000000000000000000000000000000000000000000000008ac7230489e80000


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading