Contract 0x521cea929c0c6935778d59fe22fedbd8f2779f03 1

Txn Hash Method
Block
From
To
Value [Txn Fee]
0xf6949b5b84a1c32c246e5b4872eceb665a02da09566890494f67a5631e0957e6Withdraw168352492022-07-03 7:54:101 hr 1 min ago0xb520820c8cbfd7417af4e3a2566398909f4565ee IN  0x521cea929c0c6935778d59fe22fedbd8f2779f030 AVAX0.0033362705 26.5
0x0e8a6cf505dab1825407c936d49bc9d93f51a76c5588331de8c0a4873fb9234aWithdraw168350992022-07-03 7:49:101 hr 6 mins ago0x989ffc94488fac443d735f3967043570418b4f57 IN  0x521cea929c0c6935778d59fe22fedbd8f2779f030 AVAX0.002463387 26.5
0xb0485e38fd0327edac5dd1b4c28302c10aaf9baa72cc4dd42daf903bdaad33b2Withdraw168337322022-07-03 7:03:211 hr 52 mins ago0x5b05bd4afae9b54d96f5c5c9e260f51caf814ceb IN  0x521cea929c0c6935778d59fe22fedbd8f2779f030 AVAX0.0017077525
0xe2aaec98e0339788ef44574709bf068e2f672c9f4b929aec07385c143d18dd98Withdraw168336652022-07-03 7:01:071 hr 55 mins ago0x792ff7b61041e08aac7bd0295ed8f0e7889276db IN  0x521cea929c0c6935778d59fe22fedbd8f2779f030 AVAX0.002719925 25
0x02ef3dc68ac62fd0c29044771a3d784b2ae404a0a40deaf5432430107c865af2Withdraw168336592022-07-03 7:00:551 hr 55 mins ago0xb520820c8cbfd7417af4e3a2566398909f4565ee IN  0x521cea929c0c6935778d59fe22fedbd8f2779f030 AVAX0.002463387 26.5
0x7d2fd78f08ab3e98ee2ff4e3a4d70687071fad25a4b56eb5de755ba2a970de10Withdraw168336572022-07-03 7:00:511 hr 55 mins ago0xbd73518c1974a4408ebdfac9dfc09a92f7565f4b IN  0x521cea929c0c6935778d59fe22fedbd8f2779f030 AVAX0.0028831205 26.5
0xa564be87f34916d88762bf023b7fcc710380988a93cfa109825e4a3588622f0cWithdraw168336522022-07-03 7:00:391 hr 55 mins ago0xb520820c8cbfd7417af4e3a2566398909f4565ee IN  0x521cea929c0c6935778d59fe22fedbd8f2779f030 AVAX0.002463387 26.5
0xea785b92ed893eae6e192cf9288e9e0d21134ca26f77b2d45dc420316da57b90Withdraw168336412022-07-03 7:00:171 hr 55 mins ago0xb520820c8cbfd7417af4e3a2566398909f4565ee IN  0x521cea929c0c6935778d59fe22fedbd8f2779f030 AVAX0.002463387 26.5
0xb2fcc2753558613b635898fe59f02b20adfdd38d96bca7805c980fac227e1f8dWithdraw168332732022-07-03 6:47:542 hrs 8 mins ago0x46ebcb14d21912c3106db2b8fe67b46c2afaf555 IN  0x521cea929c0c6935778d59fe22fedbd8f2779f030 AVAX0.002555107527.5
0x4c90d6e6d0b4a955326e95ee5a5498d528c883501d6de1bb3eebb4582e6e37a0Withdraw168332522022-07-03 6:47:122 hrs 8 mins ago0x46ebcb14d21912c3106db2b8fe67b46c2afaf555 IN  0x521cea929c0c6935778d59fe22fedbd8f2779f030 AVAX0.003025357527.5
0x3f384f4b84092c46e4b9e968b13a0e50c536897531e726df1ca296a886052656Withdraw168325632022-07-03 6:24:042 hrs 32 mins ago0xa81599eac76045fce181ae0d83a5843c39867ad4 IN  0x521cea929c0c6935778d59fe22fedbd8f2779f030 AVAX0.0028821665 26.5
0xbecc646a8dfc180bf9b6a11e34f76cb99246cc0e2f91d19a8fba013f5e918988Withdraw168325342022-07-03 6:23:062 hrs 33 mins ago0xa81599eac76045fce181ae0d83a5843c39867ad4 IN  0x521cea929c0c6935778d59fe22fedbd8f2779f030 AVAX0.0028831205 26.5
0x8056d7603a845f1727fb63c807b3a0b6be75b0dfe8c3c952e04be14eb8ee6d41Withdraw168323032022-07-03 6:15:242 hrs 40 mins ago0xa81599eac76045fce181ae0d83a5843c39867ad4 IN  0x521cea929c0c6935778d59fe22fedbd8f2779f030 AVAX0.0028784035 26.5
0x4897e565f490699886dcd9ce350355cce70478329a59bea3602279fdb56deaf2Withdraw168321002022-07-03 6:08:352 hrs 47 mins ago0xefec72672b9f15533ea656f60187e9aa3de13897 IN  0x521cea929c0c6935778d59fe22fedbd8f2779f030 AVAX0.0023876765 26.5
0x4f577570f3614144f7932cf3b018cd201dd7de22faae72eda4f65b8d3a98baa6Withdraw168318732022-07-03 6:00:532 hrs 55 mins ago0x465ba1a17d280888ecd7200bd48547d791c39977 IN  0x521cea929c0c6935778d59fe22fedbd8f2779f030 AVAX0.002914576 26.5
0x798f02005a353ec67c8fc0f45eaf235eea59d13f6c9632553638036e29e91140Deposit168318342022-07-03 5:59:352 hrs 56 mins ago0x792ff7b61041e08aac7bd0295ed8f0e7889276db IN  0x521cea929c0c6935778d59fe22fedbd8f2779f030 AVAX0.0030734 25
0x0104558ed593da53eaf1c523e74aa917845a027f200624e296dfa06aeabd1358Withdraw168315272022-07-03 5:49:153 hrs 6 mins ago0x792ff7b61041e08aac7bd0295ed8f0e7889276db IN  0x521cea929c0c6935778d59fe22fedbd8f2779f030 AVAX0.003147425 25
0x06295e980a26b18448627e6824eb3d443cbf1ffed1c7b3450fef1c3f8d4dce20Withdraw168312742022-07-03 5:40:453 hrs 15 mins ago0x792ff7b61041e08aac7bd0295ed8f0e7889276db IN  0x521cea929c0c6935778d59fe22fedbd8f2779f030 AVAX0.00275145 25
0xcf7cc510e72d78f0ff781ddbd9fc689cacc2e8068eddcb9a79637ecb83544c10Deposit168307372022-07-03 5:22:493 hrs 33 mins ago0x5d642f3cecea14f742e63e5f4f8568b9c560b952 IN  0x521cea929c0c6935778d59fe22fedbd8f2779f030 AVAX0.00400361527.5
0xbc4386a07c7e6ba3af5835d612c9f5f521110bc8501e84a3fdae9040852c2bd3Deposit168293922022-07-03 4:38:474 hrs 17 mins ago0x6d8451eb76ca72bf4d5a521664518497bec80042 IN  0x521cea929c0c6935778d59fe22fedbd8f2779f030 AVAX0.003257804 26.5
0x583879ce8cf1b85f348337cb06ec5aaf209e4436fc23bc9dfcc0ca9f0764582dWithdraw168290662022-07-03 4:27:554 hrs 28 mins ago0x6d8451eb76ca72bf4d5a521664518497bec80042 IN  0x521cea929c0c6935778d59fe22fedbd8f2779f030 AVAX0.0032573535 26.5
0xba3fe7375ef455b1b5c83d0e76be7c4a8fb7e54463129432b677d9226ce6a2cbDeposit168290202022-07-03 4:26:234 hrs 29 mins ago0x35bfb87240c0f9afb7ad16aa863a9395efeb0073 IN  0x521cea929c0c6935778d59fe22fedbd8f2779f030 AVAX0.003257804 26.5
0x863c0ab1c3234fb0dfdbce63b3135db4111c0fe350c0126a617c3c25b39ca43aDeposit168287482022-07-03 4:17:074 hrs 39 mins ago0x35bfb87240c0f9afb7ad16aa863a9395efeb0073 IN  0x521cea929c0c6935778d59fe22fedbd8f2779f030 AVAX0.003257804 26.5
0x45517035fd3b07e74d2899b07ad1bd8d09a1a1c69f9f0e00ddfda3664979874fWithdraw168285912022-07-03 4:11:514 hrs 44 mins ago0x35bfb87240c0f9afb7ad16aa863a9395efeb0073 IN  0x521cea929c0c6935778d59fe22fedbd8f2779f030 AVAX0.0032576715 26.5
0x716a1d1681d64fd907adfc5adeb409e889cf6ce2beb31e861448951f6da2bdc9Withdraw168283722022-07-03 4:04:314 hrs 51 mins ago0x6d8451eb76ca72bf4d5a521664518497bec80042 IN  0x521cea929c0c6935778d59fe22fedbd8f2779f030 AVAX0.0029153445 26.5
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x5BaCAB43dE5964B1686fb309fEc03c116Fb46ad5

Contract Name:
VShareRewardPool

Compiler Version
v0.8.14+commit.80d49f37

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 9 : VenomSymbiotSharesRewardPool.sol
// SPDX-License-Identifier: MIT
// Venom-Finance final version 3.0
// https://t.me/VenomFinanceCommunity

pragma solidity >=0.8.14;

import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";


contract VShareRewardPool  is Initializable, OwnableUpgradeable  {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    // operator
    address public operator;

    // Info of each user.
    struct UserInfo {
        uint256 amount; // How many LP tokens the user has provided.
        uint256 rewardDebt; // Reward debt. See explanation below.
    }

    // Info of each pool.
    struct PoolInfo {
        IERC20 token; // Address of LP token contract.
        uint256 allocPoint; // How many allocation points assigned to this pool. tSHAREs to distribute per block.
        uint256 lastRewardTime; // Last time that tSHAREs distribution occurs.
        uint256 accSymbiotPerShare; // Accumulated tSHAREs per share, times 1e18. See below.
        bool isStarted; // if lastRewardTime has passed
    }

    IERC20 public bshare;

    // Info of each pool.
    PoolInfo[] public poolInfo;

    // Info of each user that stakes LP tokens.
    mapping(uint256 => mapping(address => UserInfo)) public userInfo;

    // Total allocation points. Must be the sum of all allocation points in all pools.
    uint256 public totalAllocPoint;

    // The time when tSHARE mining starts.
    uint256 public poolStartTime;

    // The time when tSHARE mining ends.
    uint256 public poolEndTime;

    uint256 public tSharePerSecond; // 60000 SYMBIOT / (370 days * 24h * 60min * 60s)
    uint256 public runningTime; // 370 days
    uint256 public TOTAL_REWARDS;
    bool public ReentrantOn; 
    bool public isHumanOn; 
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;
    uint256 private _status;

    event Deposit(address indexed user, uint256 indexed pid, uint256 amount);
    event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event RewardPaid(address indexed user, uint256 amount);

    // Reentrant guard    
    function setReentrant(bool _ReentrantOn) public onlyOwner { 
        ReentrantOn = _ReentrantOn; 
        }

    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED || !ReentrantOn, "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;
    }

    // isHuman to prevent attack from other contracts

    function setIsHuman(bool _isHumanOn) public onlyOwner { 
        isHumanOn = _isHumanOn; 
        }

    modifier isHuman() {
            require(tx.origin == msg.sender || !isHumanOn, "sorry humans only" )  ;
            _;
        }

    // using openzepplin initializer
     function initialize(address _bshare, uint256 _poolStartTime) public initializer {
        __Ownable_init();
        if (_bshare != address(0)) bshare = IERC20(_bshare);
        runningTime = 370 days;
        poolStartTime = _poolStartTime;
        poolEndTime = poolStartTime + runningTime;
        operator = msg.sender;
        tSharePerSecond = 0.001876876 ether;
        totalAllocPoint = 0;
        isHumanOn = true; 
        ReentrantOn = true; 
        TOTAL_REWARDS = 60000 ether;
        _status = _NOT_ENTERED;
   
    }

    modifier onlyOperator() {
        require(operator == msg.sender, "VShareRewardPool: caller is not the operator");
        _;
    }

    function checkPoolDuplicate(IERC20 _token) internal view {
        uint256 length = poolInfo.length;
        for (uint256 pid = 0; pid < length; ++pid) {
            require(poolInfo[pid].token != _token, "VShareRewardPool: existing pool?");
        }
    }

    // Add a new lp to the pool. Can only be called by the owner.
    function add(uint256 _allocPoint, IERC20 _token, bool _withUpdate, uint256 _lastRewardTime) public onlyOperator {    

        checkPoolDuplicate(_token);
        if (_withUpdate) {
            massUpdatePools();
        }
        if (block.timestamp < poolStartTime) {
            // chef is sleeping
            if (_lastRewardTime == 0) {
                _lastRewardTime = poolStartTime;
            } else {
                if (_lastRewardTime < poolStartTime) {
                    _lastRewardTime = poolStartTime;
                }
            }
        } else {
            // chef is cooking
            if (_lastRewardTime == 0 || _lastRewardTime < block.timestamp) {
                _lastRewardTime = block.timestamp;
            }
        }
        bool _isStarted =
        (_lastRewardTime <= poolStartTime) ||
        (_lastRewardTime <= block.timestamp);
        poolInfo.push(PoolInfo({
            token : _token,
            allocPoint : _allocPoint,
            lastRewardTime : _lastRewardTime,
            accSymbiotPerShare : 0,
            isStarted : _isStarted
            }));
        if (_isStarted) {
            totalAllocPoint = totalAllocPoint.add(_allocPoint);
        }
    }

    // Update the given pool's tSHARE allocation point. Can only be called by the owner.
    function set(uint256 _pid, uint256 _allocPoint) public onlyOperator {
        massUpdatePools();
        PoolInfo storage pool = poolInfo[_pid];
        if (pool.isStarted) {
            totalAllocPoint = totalAllocPoint.sub(pool.allocPoint).add(
                _allocPoint
            );
        }
        pool.allocPoint = _allocPoint;
    }

    // Return accumulate rewards over the given _from to _to block.
    function getGeneratedReward(uint256 _fromTime, uint256 _toTime) public view returns (uint256) {
        if (_fromTime >= _toTime) return 0;
        if (_toTime >= poolEndTime) {
            if (_fromTime >= poolEndTime) return 0;
            if (_fromTime <= poolStartTime) return poolEndTime.sub(poolStartTime).mul(tSharePerSecond);
            return poolEndTime.sub(_fromTime).mul(tSharePerSecond);
        } else {
            if (_toTime <= poolStartTime) return 0;
            if (_fromTime <= poolStartTime) return _toTime.sub(poolStartTime).mul(tSharePerSecond);
            return _toTime.sub(_fromTime).mul(tSharePerSecond);
        }
    }

    // View function to see pending tSHAREs on frontend.
    function pendingShare(uint256 _pid, address _user) external view returns (uint256) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accSymbiotPerShare = pool.accSymbiotPerShare;
        uint256 tokenSupply = pool.token.balanceOf(address(this));
        if (block.timestamp > pool.lastRewardTime && tokenSupply != 0) {
            uint256 _generatedReward = getGeneratedReward(pool.lastRewardTime, block.timestamp);
            uint256 _bshareReward = _generatedReward.mul(pool.allocPoint).div(totalAllocPoint);
            accSymbiotPerShare = accSymbiotPerShare.add(_bshareReward.mul(1e18).div(tokenSupply));
        }
        return user.amount.mul(accSymbiotPerShare).div(1e18).sub(user.rewardDebt);
    }

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

    // Update reward variables of the given pool to be up-to-date.
    function updatePool(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.timestamp <= pool.lastRewardTime) {
            return;
        }
        uint256 tokenSupply = pool.token.balanceOf(address(this));
        if (tokenSupply == 0) {
            pool.lastRewardTime = block.timestamp;
            return;
        }
        if (!pool.isStarted) {
            pool.isStarted = true;
            totalAllocPoint = totalAllocPoint.add(pool.allocPoint);
        }
        if (totalAllocPoint > 0) {
            uint256 _generatedReward = getGeneratedReward(pool.lastRewardTime, block.timestamp);
            uint256 _bshareReward = _generatedReward.mul(pool.allocPoint).div(totalAllocPoint);
            pool.accSymbiotPerShare = pool.accSymbiotPerShare.add(_bshareReward.mul(1e18).div(tokenSupply));
        }
        pool.lastRewardTime = block.timestamp;
    }


    // Deposit LP tokens.
    function deposit(uint256 _pid, uint256 _amount) public isHuman nonReentrant{
        address _sender = msg.sender;
        
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_sender];
        updatePool(_pid);
  

        if (user.amount > 0) {
            uint256 _pending = user.amount.mul(pool.accSymbiotPerShare).div(1e18).sub(user.rewardDebt);
            if (_pending > 0) {
                safeSymbiotTransfer(_sender, _pending);
                emit RewardPaid(_sender, _pending);
            }
        }
        if (_amount > 0) {
            pool.token.safeTransferFrom(_sender, address(this), _amount);
            user.amount = user.amount.add(_amount);
        }
        user.rewardDebt = user.amount.mul(pool.accSymbiotPerShare).div(1e18);
        emit Deposit(_sender, _pid, _amount);
    }

    // Withdraw LP tokens.
    function withdraw(uint256 _pid, uint256 _amount) public isHuman nonReentrant{
        address _sender = msg.sender;
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_sender];
        require(user.amount >= _amount, "withdraw: not good");
        updatePool(_pid);
        uint256 _pending = user.amount.mul(pool.accSymbiotPerShare).div(1e18).sub(user.rewardDebt);
        if (_pending > 0) {
            safeSymbiotTransfer(_sender, _pending);
            emit RewardPaid(_sender, _pending);
        }
        if (_amount > 0) {
            user.amount = user.amount.sub(_amount);
            pool.token.safeTransfer(_sender, _amount);
        }
        user.rewardDebt = user.amount.mul(pool.accSymbiotPerShare).div(1e18);
        emit Withdraw(_sender, _pid, _amount);
    }

    // Withdraw without caring about rewards. EMERGENCY ONLY.
    function emergencyWithdraw(uint256 _pid) public isHuman nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        uint256 _amount = user.amount;
        user.amount = 0;
        user.rewardDebt = 0;
        pool.token.safeTransfer(msg.sender, _amount);
        emit EmergencyWithdraw(msg.sender, _pid, _amount);
    }

    // Safe bshare transfer function, just in case if rounding error causes pool to not have enough tSHAREs.
    function safeSymbiotTransfer(address _to, uint256 _amount) internal {
        uint256 _bshareBal = bshare.balanceOf(address(this));
        if (_bshareBal > 0) {
            if (_amount > _bshareBal) {
                bshare.safeTransfer(_to, _bshareBal);
            } else {
                bshare.safeTransfer(_to, _amount);
            }
        }
    }

    function setOperator(address _operator) external onlyOperator {
        operator = _operator;
    }

    // function governanceRecoverUnsupported(IERC20 _token, uint256 amount, address to) external onlyOperator {
    //     if (block.timestamp < poolEndTime + 360 days) {
    //         // do not allow to drain core token (tSHARE or lps) if less than 360 days after pool ends
    //         require(_token != bshare, "bshare");
    //         uint256 length = poolInfo.length;
    //         for (uint256 pid = 0; pid < length; ++pid) {
    //             PoolInfo storage pool = poolInfo[pid];
    //             require(_token != pool.token, "pool.token");
    //         }
    //     }
    //     _token.safeTransfer(to, amount);
    // }
}

File 2 of 9 : Initializable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (proxy/utils/Initializable.sol)

pragma solidity ^0.8.0;

import "../../utils/AddressUpgradeable.sol";

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 *
 * [CAUTION]
 * ====
 * Avoid leaving a contract uninitialized.
 *
 * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
 * contract, which may impact the proxy. To initialize the implementation contract, you can either invoke the
 * initializer manually, or you can include a constructor to automatically mark it as initialized when it is deployed:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * /// @custom:oz-upgrades-unsafe-allow constructor
 * constructor() initializer {}
 * ```
 * ====
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        // If the contract is initializing we ignore whether _initialized is set in order to support multiple
        // inheritance patterns, but we only do this in the context of a constructor, because in other contexts the
        // contract may have been reentered.
        require(_initializing ? _isConstructor() : !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }

    /**
     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
     * {initializer} modifier, directly or indirectly.
     */
    modifier onlyInitializing() {
        require(_initializing, "Initializable: contract is not initializing");
        _;
    }

    function _isConstructor() private view returns (bool) {
        return !AddressUpgradeable.isContract(address(this));
    }
}

File 3 of 9 : OwnableUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/ContextUpgradeable.sol";
import "../proxy/utils/Initializable.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 OwnableUpgradeable is Initializable, ContextUpgradeable {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function __Ownable_init() internal onlyInitializing {
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal onlyInitializing {
        _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);
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}

File 4 of 9 : 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 5 of 9 : 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 6 of 9 : 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 7 of 9 : AddressUpgradeable.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 AddressUpgradeable {
    /**
     * @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 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);
            }
        }
    }
}

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

pragma solidity ^0.8.0;
import "../proxy/utils/Initializable.sol";

/**
 * @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 ContextUpgradeable is Initializable {
    function __Context_init() internal onlyInitializing {
    }

    function __Context_init_unchained() internal onlyInitializing {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}

File 9 of 9 : 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": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"ReentrantOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_REWARDS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"},{"internalType":"uint256","name":"_lastRewardTime","type":"uint256"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"bshare","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fromTime","type":"uint256"},{"internalType":"uint256","name":"_toTime","type":"uint256"}],"name":"getGeneratedReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_bshare","type":"address"},{"internalType":"uint256","name":"_poolStartTime","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isHumanOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardTime","type":"uint256"},{"internalType":"uint256","name":"accSymbiotPerShare","type":"uint256"},{"internalType":"bool","name":"isStarted","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"runningTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isHumanOn","type":"bool"}],"name":"setIsHuman","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"}],"name":"setOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_ReentrantOn","type":"bool"}],"name":"setReentrant","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tSharePerSecond","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":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50611bc7806100206000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c806374536093116100f9578063b3ab15fb11610097578063cd6dc68711610071578063cd6dc687146103db578063cf4b55cb146103ee578063e2bbb15814610401578063f2fde38b1461041457600080fd5b8063b3ab15fb146103a8578063bec1d22e146103bb578063c8a3aefb146103ce57600080fd5b8063943f013d116100d3578063943f013d1461037057806396805e54146103795780639beb31df1461038c5780639e63d2611461039f57600080fd5b806374536093146102f65780638da5cb5b1461031857806393f1a40b1461032957600080fd5b806351eb05a6116101665780635f96dc11116101405780635f96dc11146102d4578063630b5ba1146102dd5780636e271dd5146102e5578063715018a6146102ee57600080fd5b806351eb05a6146102835780635312ea8e14610296578063570ca735146102a957600080fd5b80631ab06ee5116101a25780631ab06ee514610235578063224386171461024a578063231f0c6a1461025d578063441a3e701461027057600080fd5b806309cf6091146101c95780631526fe27146101e557806317caf6f11461022c575b600080fd5b6101d2606e5481565b6040519081526020015b60405180910390f35b6101f86101f33660046117c1565b610427565b604080516001600160a01b03909616865260208601949094529284019190915260608301521515608082015260a0016101dc565b6101d260695481565b6102486102433660046117da565b610475565b005b61024861025836600461180a565b610513565b6101d261026b3660046117da565b610550565b61024861027e3660046117da565b610615565b6102486102913660046117c1565b610843565b6102486102a43660046117c1565b61099b565b6065546102bc906001600160a01b031681565b6040516001600160a01b0390911681526020016101dc565b6101d2606a5481565b610248610aad565b6101d2606b5481565b610248610ad8565b606f5461030890610100900460ff1681565b60405190151581526020016101dc565b6033546001600160a01b03166102bc565b61035b61033736600461183c565b60686020908152600092835260408084209091529082529020805460019091015482565b604080519283526020830191909152016101dc565b6101d2606d5481565b61024861038736600461186c565b610b0e565b6066546102bc906001600160a01b031681565b6101d2606c5481565b6102486103b63660046118b4565b610cef565b6102486103c936600461180a565b610d3b565b606f546103089060ff1681565b6102486103e93660046118d1565b610d7f565b6101d26103fc36600461183c565b610ecf565b61024861040f3660046117da565b61102b565b6102486104223660046118b4565b611211565b6067818154811061043757600080fd5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0390931694509092909160ff1685565b6065546001600160a01b031633146104a85760405162461bcd60e51b815260040161049f906118fd565b60405180910390fd5b6104b0610aad565b6000606783815481106104c5576104c5611949565b60009182526020909120600590910201600481015490915060ff161561050c576105088261050283600101546069546112ac90919063ffffffff16565b906112bf565b6069555b6001015550565b6033546001600160a01b0316331461053d5760405162461bcd60e51b815260040161049f9061195f565b606f805460ff1916911515919091179055565b60008183106105615750600061060f565b606b5482106105c957606b54831061057b5750600061060f565b606a5483116105ae576105a7606c546105a1606a54606b546112ac90919063ffffffff16565b906112cb565b905061060f565b6105a7606c546105a185606b546112ac90919063ffffffff16565b606a5482116105da5750600061060f565b606a5483116105fe576105a7606c546105a1606a54856112ac90919063ffffffff16565b606c546105a7906105a184866112ac565b92915050565b3233148061062b5750606f54610100900460ff16155b6106475760405162461bcd60e51b815260040161049f90611994565b600260705414158061065c5750606f5460ff16155b6106785760405162461bcd60e51b815260040161049f906119bf565b60026070556067805433916000918590811061069657610696611949565b600091825260208083208784526068825260408085206001600160a01b0388168652909252922080546005909202909201925084111561070d5760405162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015260640161049f565b61071685610843565b6000610753826001015461074d670de0b6b3a7640000610747876003015487600001546112cb90919063ffffffff16565b906112d7565b906112ac565b905080156107a95761076584826112e3565b836001600160a01b03167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040516107a091815260200190565b60405180910390a25b84156107d35781546107bb90866112ac565b825582546107d3906001600160a01b0316858761138a565b600383015482546107f191670de0b6b3a764000091610747916112cb565b600183015560405185815286906001600160a01b038616907ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689060200160405180910390a35050600160705550505050565b60006067828154811061085857610858611949565b9060005260206000209060050201905080600201544211610877575050565b80546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156108bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e391906119f6565b9050806000036108f857504260029091015550565b600482015460ff166109295760048201805460ff19166001908117909155820154606954610925916112bf565b6069555b60695415610990576000610941836002015442610550565b905060006109626069546107478660010154856112cb90919063ffffffff16565b905061098861097d8461074784670de0b6b3a76400006112cb565b6003860154906112bf565b600385015550505b504260029091015550565b323314806109b15750606f54610100900460ff16155b6109cd5760405162461bcd60e51b815260040161049f90611994565b60026070541415806109e25750606f5460ff16155b6109fe5760405162461bcd60e51b815260040161049f906119bf565b6002607081905550600060678281548110610a1b57610a1b611949565b600091825260208083208584526068825260408085203380875293528420805485825560018201959095556005909302018054909450919291610a6b916001600160a01b0391909116908361138a565b604051818152849033907fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959060200160405180910390a3505060016070555050565b60675460005b81811015610ad457610ac481610843565b610acd81611a25565b9050610ab3565b5050565b6033546001600160a01b03163314610b025760405162461bcd60e51b815260040161049f9061195f565b610b0c60006113ed565b565b6065546001600160a01b03163314610b385760405162461bcd60e51b815260040161049f906118fd565b610b418361143f565b8115610b4f57610b4f610aad565b606a54421015610b7e5780600003610b6a5750606a54610b92565b606a54811015610b795750606a545b610b92565b801580610b8a57504281105b15610b925750425b6000606a5482111580610ba55750428211155b6040805160a0810182526001600160a01b03878116825260208201898152928201868152600060608401818152861580156080870190815260678054600181018255945295517f9787eeb91fe3101235e4a76063c7023ecb40f923f97916639c598592fa30d6ae600590940293840180546001600160a01b031916919096161790945594517f9787eeb91fe3101235e4a76063c7023ecb40f923f97916639c598592fa30d6af82015590517f9787eeb91fe3101235e4a76063c7023ecb40f923f97916639c598592fa30d6b082015592517f9787eeb91fe3101235e4a76063c7023ecb40f923f97916639c598592fa30d6b184015590517f9787eeb91fe3101235e4a76063c7023ecb40f923f97916639c598592fa30d6b2909201805460ff191692151592909217909155909150610ce857606954610ce490866112bf565b6069555b5050505050565b6065546001600160a01b03163314610d195760405162461bcd60e51b815260040161049f906118fd565b606580546001600160a01b0319166001600160a01b0392909216919091179055565b6033546001600160a01b03163314610d655760405162461bcd60e51b815260040161049f9061195f565b606f80549115156101000261ff0019909216919091179055565b600054610100900460ff16610d9a5760005460ff1615610d9e565b303b155b610e015760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161049f565b600054610100900460ff16158015610e23576000805461ffff19166101011790555b610e2b6114e1565b6001600160a01b03831615610e5657606680546001600160a01b0319166001600160a01b0385161790555b6301e7cb00606d819055606a839055610e6f9083611a3e565b606b55606580546001600160a01b031916331790556606ab023f447800606c556000606955606f805461010161ffff19909116179055690cb49b44ba602d800000606e5560016070558015610eca576000805461ff00191690555b505050565b60008060678481548110610ee557610ee5611949565b600091825260208083208784526068825260408085206001600160a01b03898116875293528085206005949094029091016003810154815492516370a0823160e01b815230600482015291965093949291909116906370a0823190602401602060405180830381865afa158015610f60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f8491906119f6565b9050836002015442118015610f9857508015155b15610ff5576000610fad856002015442610550565b90506000610fce6069546107478860010154856112cb90919063ffffffff16565b9050610ff0610fe98461074784670de0b6b3a76400006112cb565b85906112bf565b935050505b611020836001015461074d670de0b6b3a76400006107478688600001546112cb90919063ffffffff16565b979650505050505050565b323314806110415750606f54610100900460ff16155b61105d5760405162461bcd60e51b815260040161049f90611994565b60026070541415806110725750606f5460ff16155b61108e5760405162461bcd60e51b815260040161049f906119bf565b6002607055606780543391600091859081106110ac576110ac611949565b600091825260208083208784526068825260408085206001600160a01b03881686529092529220600590910290910191506110e685610843565b80541561117657600061111e826001015461074d670de0b6b3a7640000610747876003015487600001546112cb90919063ffffffff16565b905080156111745761113084826112e3565b836001600160a01b03167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e04868260405161116b91815260200190565b60405180910390a25b505b83156111a2578154611193906001600160a01b0316843087611510565b805461119f90856112bf565b81555b600382015481546111c091670de0b6b3a764000091610747916112cb565b600182015560405184815285906001600160a01b038516907f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159060200160405180910390a350506001607055505050565b6033546001600160a01b0316331461123b5760405162461bcd60e51b815260040161049f9061195f565b6001600160a01b0381166112a05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161049f565b6112a9816113ed565b50565b60006112b88284611a56565b9392505050565b60006112b88284611a3e565b60006112b88284611a6d565b60006112b88284611a8c565b6066546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa15801561132c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061135091906119f6565b90508015610eca578082111561137757606654610eca906001600160a01b0316848361138a565b606654610eca906001600160a01b031684845b6040516001600160a01b038316602482015260448101829052610eca90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261154e565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60675460005b81811015610eca57826001600160a01b03166067828154811061146a5761146a611949565b60009182526020909120600590910201546001600160a01b0316036114d15760405162461bcd60e51b815260206004820181905260248201527f565368617265526577617264506f6f6c3a206578697374696e6720706f6f6c3f604482015260640161049f565b6114da81611a25565b9050611445565b600054610100900460ff166115085760405162461bcd60e51b815260040161049f90611aae565b610b0c611620565b6040516001600160a01b03808516602483015283166044820152606481018290526115489085906323b872dd60e01b906084016113b6565b50505050565b60006115a3826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166116509092919063ffffffff16565b805190915015610eca57808060200190518101906115c19190611af9565b610eca5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161049f565b600054610100900460ff166116475760405162461bcd60e51b815260040161049f90611aae565b610b0c336113ed565b606061165f8484600085611667565b949350505050565b6060824710156116c85760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161049f565b6001600160a01b0385163b61171f5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161049f565b600080866001600160a01b0316858760405161173b9190611b42565b60006040518083038185875af1925050503d8060008114611778576040519150601f19603f3d011682016040523d82523d6000602084013e61177d565b606091505b5091509150611020828286606083156117975750816112b8565b8251156117a75782518084602001fd5b8160405162461bcd60e51b815260040161049f9190611b5e565b6000602082840312156117d357600080fd5b5035919050565b600080604083850312156117ed57600080fd5b50508035926020909101359150565b80151581146112a957600080fd5b60006020828403121561181c57600080fd5b81356112b8816117fc565b6001600160a01b03811681146112a957600080fd5b6000806040838503121561184f57600080fd5b82359150602083013561186181611827565b809150509250929050565b6000806000806080858703121561188257600080fd5b84359350602085013561189481611827565b925060408501356118a4816117fc565b9396929550929360600135925050565b6000602082840312156118c657600080fd5b81356112b881611827565b600080604083850312156118e457600080fd5b82356118ef81611827565b946020939093013593505050565b6020808252602c908201527f565368617265526577617264506f6f6c3a2063616c6c6572206973206e6f742060408201526b3a34329037b832b930ba37b960a11b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b602080825260119082015270736f7272792068756d616e73206f6e6c7960781b604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b600060208284031215611a0857600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b600060018201611a3757611a37611a0f565b5060010190565b60008219821115611a5157611a51611a0f565b500190565b600082821015611a6857611a68611a0f565b500390565b6000816000190483118215151615611a8757611a87611a0f565b500290565b600082611aa957634e487b7160e01b600052601260045260246000fd5b500490565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b600060208284031215611b0b57600080fd5b81516112b8816117fc565b60005b83811015611b31578181015183820152602001611b19565b838111156115485750506000910152565b60008251611b54818460208701611b16565b9190910192915050565b6020815260008251806020840152611b7d816040850160208701611b16565b601f01601f1916919091016040019291505056fea2646970667358221220b8d82c726d6bde2cf3013af8062cdf12357b14e48dab06006e34f81ad64e941864736f6c634300080e0033

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.