ETH Price: $3,117.45 (-1.57%)
Gas: 3.67 Gwei
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw217240762025-01-28 16:00:2325 hrs ago1738080023IN
0x77f400a7...28d8aF48b
0 ETH0.0009866110.82819985
Withdraw217005062025-01-25 9:04:354 days ago1737795875IN
0x77f400a7...28d8aF48b
0 ETH0.000407395.8567001
Withdraw216999912025-01-25 7:20:354 days ago1737789635IN
0x77f400a7...28d8aF48b
0 ETH0.000416485.25972827
Withdraw216945032025-01-24 12:56:595 days ago1737723419IN
0x77f400a7...28d8aF48b
0 ETH0.0017229418.90957445
Withdraw216746152025-01-21 18:20:477 days ago1737483647IN
0x77f400a7...28d8aF48b
0 ETH0.002486327.28750632
Withdraw215824702025-01-08 21:33:1120 days ago1736371991IN
0x77f400a7...28d8aF48b
0 ETH0.000814458.08674274
Withdraw215755282025-01-07 22:17:4721 days ago1736288267IN
0x77f400a7...28d8aF48b
0 ETH0.0010271211.27285798
Withdraw213903832024-12-13 1:43:3547 days ago1734054215IN
0x77f400a7...28d8aF48b
0 ETH0.0012265912.1788545
Withdraw213587642024-12-08 15:47:3552 days ago1733672855IN
0x77f400a7...28d8aF48b
0 ETH0.0013154313.06095567
Withdraw213536752024-12-07 22:45:1152 days ago1733611511IN
0x77f400a7...28d8aF48b
0 ETH0.0012636511.67721917
Withdraw213349452024-12-05 7:56:5955 days ago1733385419IN
0x77f400a7...28d8aF48b
0 ETH0.0009695117.15949508
Withdraw213349432024-12-05 7:56:3555 days ago1733385395IN
0x77f400a7...28d8aF48b
0 ETH0.0010746219.01994029
Withdraw213349092024-12-05 7:49:4755 days ago1733384987IN
0x77f400a7...28d8aF48b
0 ETH0.0010528218.63408644
Withdraw213349032024-12-05 7:48:3555 days ago1733384915IN
0x77f400a7...28d8aF48b
0 ETH0.0010281618.19755884
Withdraw213349022024-12-05 7:48:2355 days ago1733384903IN
0x77f400a7...28d8aF48b
0 ETH0.0010555218.68189234
Withdraw213348822024-12-05 7:44:2355 days ago1733384663IN
0x77f400a7...28d8aF48b
0 ETH0.000979617.33815649
Withdraw213348722024-12-05 7:42:2355 days ago1733384543IN
0x77f400a7...28d8aF48b
0 ETH0.0010134817.93770952
Withdraw213348632024-12-05 7:40:3555 days ago1733384435IN
0x77f400a7...28d8aF48b
0 ETH0.0009893317.51030307
Withdraw213348612024-12-05 7:40:1155 days ago1733384411IN
0x77f400a7...28d8aF48b
0 ETH0.0010478418.54589628
Withdraw213348472024-12-05 7:37:2355 days ago1733384243IN
0x77f400a7...28d8aF48b
0 ETH0.0009642417.06629116
Withdraw213348352024-12-05 7:34:5955 days ago1733384099IN
0x77f400a7...28d8aF48b
0 ETH0.0009282816.42985855
Withdraw213200042024-12-03 5:51:3557 days ago1733205095IN
0x77f400a7...28d8aF48b
0 ETH0.0019372916.4452463
Withdraw213033532024-11-30 22:03:3559 days ago1733004215IN
0x77f400a7...28d8aF48b
0 ETH0.0011777214.87556758
Withdraw212877512024-11-28 17:40:4762 days ago1732815647IN
0x77f400a7...28d8aF48b
0 ETH0.0011003413.89609382
Withdraw212870352024-11-28 15:17:1162 days ago1732807031IN
0x77f400a7...28d8aF48b
0 ETH0.001679216.67286325
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
THORWallet_Staking_V2

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 2000000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

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

// combined from
// https://github.com/Thorstarter/thorstarter-contracts/blob/main/contracts/Staking.sol
// and:
// https://github.com/goosedefi/goose-contracts/blob/master/contracts/MasterChefV2.sol
// which was audited

pragma solidity ^0.8.4;

import "./IERC20.sol";
import "./SafeERC20.sol";
import "./Ownable.sol";
import "./Multicall.sol";
import "./ReentrancyGuard.sol";

contract THORWallet_Staking_V2 is Ownable, Multicall, ReentrancyGuard {
    using SafeERC20 for IERC20;

    /// @notice Info of each Staking user.
    /// `amount` LP token amount the user has provided.
    /// `rewardOffset` The amount of token which needs to be subtracted at the next harvesting event.
    struct UserInfo {
        uint256 amount;
        uint256 rewardOffset;
    }

    /// @notice Info of each Staking pool.
    /// `lpToken` The address of LP token contract.
    /// `allocPoint` The amount of allocation points assigned to the pool.
    /// Also known as the amount of token to distribute per block.
    struct PoolInfo {
        IERC20 lpToken;
        uint256 accRewardPerShare;
        uint256 lastRewardBlock;
        uint256 allocPoint;
    }

    // The amount of rewardTokens entitled to a user but is pending to be distributed is:
    //
    //   pending reward = (user.amount * pool.accRewardPerShare) - user.rewardOffset
    //
    // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens:
    //   1. The pool's `accRewardPerShare` (and `lastRewardBlock`) gets updated.
    //   2. User receives the pending reward sent to his/her address.
    //   3. User's `amount` gets updated.
    //   4. User's `rewardOffset` gets updated.

    /// @notice Address of token contract.
    IERC20 public rewardToken;
    address public rewardOwner;

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

    /// @notice Info of each user that stakes LP tokens.
    mapping (uint256 => mapping (address => UserInfo)) public userInfo;
    /// @dev Total allocation points. Must be the sum of all allocation points in all pools.
    uint256 public totalAllocPoint = 0;

    uint256 public rewardPerBlock = 0;
    uint256 private constant ACC_PRECISION = 1e12;

    event Deposit(address indexed user, uint256 indexed pid, uint256 amount, address indexed to);
    event Withdraw(address indexed user, uint256 indexed pid, uint256 amount, address indexed to);
    event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount, address indexed to);
    event Harvest(address indexed user, uint256 indexed pid, uint256 amount);
    event LogPoolAddition(uint256 indexed pid, uint256 allocPoint, IERC20 indexed lpToken);
    event LogSetPool(uint256 indexed pid, uint256 allocPoint);
    event LogUpdatePool(uint256 indexed pid, uint256 lastRewardBlock, uint256 lpSupply, uint256 accRewardPerShare);

    /// @param _rewardToken The reward token contract address.
    constructor(IERC20 _rewardToken, address _rewardOwner, uint256 _rewardPerBlock) Ownable() {
        rewardToken = _rewardToken;
        rewardOwner = _rewardOwner;
        rewardPerBlock = _rewardPerBlock;
    }

    /// @notice Sets the reward token.
    function setRewardToken(IERC20 _rewardToken) public onlyOwner {
        rewardToken = _rewardToken;
    }

    /// @notice Sets the reward owner.
    function setRewardOwner(address _rewardOwner) public onlyOwner {
        rewardOwner = _rewardOwner;
    }

    /// @notice Adjusts the reward per block.
    function setRewardsPerBlock(uint256 _rewardPerBlock) public onlyOwner {
        rewardPerBlock = _rewardPerBlock;
    }

    /// @notice Returns the number of Staking pools.
    function poolLength() public view returns (uint256 pools) {
        pools = poolInfo.length;
    }

    mapping(IERC20 => bool) public poolExistence;

    /// @notice Add a new LP to the pool. Can only be called by the owner.
    /// DO NOT add the same LP token more than once. Rewards will be messed up if you do.
    /// @param _allocPoint AP of the new pool.
    /// @param _lpToken Address of the LP ERC-20 token.
    function addPool(uint256 _allocPoint, IERC20 _lpToken, bool _withUpdate) public onlyOwner {
        require(!poolExistence[_lpToken], "Staking: duplicated pool");
        if (_withUpdate) {
            massUpdatePools();
        }
        totalAllocPoint = totalAllocPoint + _allocPoint;

        poolExistence[_lpToken] = true;
        poolInfo.push(PoolInfo({
            lpToken : _lpToken,
            allocPoint: _allocPoint,
            lastRewardBlock: block.number,
            accRewardPerShare: 0
        }));

        emit LogPoolAddition(poolInfo.length - 1, _allocPoint, _lpToken);
    }

    /// @notice Update the given pool's token allocation point. Can only be called by the owner.
    /// @param _pid The index of the pool. See `poolInfo`.
    /// @param _allocPoint New AP of the pool.
    function set(uint256 _pid, uint256 _allocPoint, bool _withUpdate) public onlyOwner {
        if (_withUpdate) {
            massUpdatePools();
        }
        totalAllocPoint = totalAllocPoint - poolInfo[_pid].allocPoint + _allocPoint;
        poolInfo[_pid].allocPoint = _allocPoint;

        emit LogSetPool(_pid, _allocPoint);
    }

    /// @notice View function to see pending token reward on frontend.
    /// @param _pid The index of the pool. See `poolInfo`.
    /// @param _user Address of user.
    /// @return pending token reward for a given user.
    function pendingRewards(uint256 _pid, address _user) external view returns (uint256) {
        PoolInfo memory pool = poolInfo[_pid];
        UserInfo memory user = userInfo[_pid][_user];
        uint256 accRewardPerShare = pool.accRewardPerShare;
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (block.number > pool.lastRewardBlock && lpSupply != 0) {
            uint256 blocks = block.number - pool.lastRewardBlock;
            uint256 reward = (blocks * rewardPerBlock * pool.allocPoint) / totalAllocPoint;
            accRewardPerShare = accRewardPerShare + ((reward * ACC_PRECISION) / lpSupply);
        }
        uint256 accumulatedReward = (user.amount * accRewardPerShare) / ACC_PRECISION;
        return accumulatedReward - user.rewardOffset;
    }

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

    function massUpdatePoolsByIds(uint256[] calldata pids) external {
        for (uint256 i = 0; i < pids.length; ++i) {
            updatePool(pids[i]);
        }
    }

    /// @notice Update reward variables of the given pool.
    /// @param pid The index of the pool. See `poolInfo`.
    function updatePool(uint256 pid) public {
        PoolInfo storage pool = poolInfo[pid];
        if (block.number <= pool.lastRewardBlock) {
            return;
        }
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (lpSupply == 0 || pool.allocPoint == 0) {
            pool.lastRewardBlock = block.number;
            return;
        }
        uint256 blocks = block.number - pool.lastRewardBlock;
        uint256 reward = (blocks * rewardPerBlock * pool.allocPoint) / totalAllocPoint;
        pool.accRewardPerShare = pool.accRewardPerShare + ((reward * ACC_PRECISION) / lpSupply);
        pool.lastRewardBlock = block.number;

        emit LogUpdatePool(pid, pool.lastRewardBlock, lpSupply, pool.accRewardPerShare);
    }

    /// @notice Deposit LP tokens to Staking for reward token allocation.
    /// @param pid The index of the pool. See `poolInfo`.
    /// @param amount LP token amount to deposit.
    /// @param to The receiver of `amount` deposit benefit.
    function deposit(uint256 pid, uint256 amount, address to) public nonReentrant {
        updatePool(pid);
        PoolInfo memory pool = poolInfo[pid];
        UserInfo storage user = userInfo[pid][msg.sender];

        // harvest
        uint256 accumulatedReward = (user.amount * pool.accRewardPerShare) / ACC_PRECISION;
        uint256 pendingReward = accumulatedReward - user.rewardOffset;

        if (pendingReward > 0) {
            rewardToken.safeTransferFrom(rewardOwner, to, pendingReward);
        }

        if (amount > 0) {
            pool.lpToken.safeTransferFrom(address(msg.sender), address(this), amount);
            user.amount = user.amount + amount;
        }
        user.rewardOffset = (user.amount * pool.accRewardPerShare) / ACC_PRECISION;

        emit Deposit(msg.sender, pid, amount, to);
    }

    /// @notice Withdraw LP tokens from Staking.
    /// @param pid The index of the pool. See `poolInfo`.
    /// @param amount LP token amount to withdraw.
    /// @param to Receiver of the LP tokens.
    function withdraw(uint256 pid, uint256 amount, address to) public nonReentrant {
        updatePool(pid);
        PoolInfo memory pool = poolInfo[pid];
        UserInfo storage user = userInfo[pid][msg.sender];
        require(user.amount >= amount, "withdraw: not good");

        // harvest
        uint256 accumulatedReward = (user.amount * pool.accRewardPerShare) / ACC_PRECISION;
        uint256 pendingReward = accumulatedReward - user.rewardOffset;
        if (pendingReward > 0) {
            rewardToken.safeTransferFrom(rewardOwner, to, pendingReward);
        }

        if (amount > 0) {
            user.amount = user.amount - amount;
            pool.lpToken.safeTransfer(to, amount);
        }
        user.rewardOffset = (user.amount * pool.accRewardPerShare) / ACC_PRECISION;

        emit Withdraw(msg.sender, pid, amount, to);
    }

    /// @notice Harvest proceeds for transaction sender to `to`.
    /// @param pid The index of the pool. See `poolInfo`.
    /// @param to Receiver of token rewards.
    function harvest(uint256 pid, address to) public {
        updatePool(pid);
        PoolInfo memory pool = poolInfo[pid];
        UserInfo storage user = userInfo[pid][msg.sender];

        uint256 accumulatedReward = (user.amount * pool.accRewardPerShare) / ACC_PRECISION;
        uint256 pendingReward = accumulatedReward - user.rewardOffset;
        user.rewardOffset = accumulatedReward;
        if (pendingReward > 0) {
            rewardToken.safeTransferFrom(rewardOwner, to, pendingReward);
        }

        emit Harvest(msg.sender, pid, pendingReward);
    }

    /// @notice Withdraw without caring about rewards. EMERGENCY ONLY.
    /// @param pid The index of the pool. See `poolInfo`.
    /// @param to Receiver of the LP tokens.
    function emergencyWithdraw(uint256 pid, address to) public {
        PoolInfo memory pool = poolInfo[pid];
        UserInfo storage user = userInfo[pid][msg.sender];

        uint256 amount = user.amount;

        user.amount = 0;
        user.rewardOffset = 0;
        pool.lpToken.safeTransfer(to, amount);

        emit EmergencyWithdraw(msg.sender, pid, amount, to);
    }
}

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

pragma solidity ^0.8.0;

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

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

        (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);
    }

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

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

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

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 4 of 8: IERC20.sol
// SPDX-License-Identifier: MIT

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 `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

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

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

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

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

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

File 5 of 8: Multicall.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./Address.sol";

/**
 * @dev Provides a function to batch together multiple calls in a single external call.
 *
 * _Available since v4.1._
 */
abstract contract Multicall {
    /**
     * @dev Receives and executes a batch of function calls on this contract.
     */
    function multicall(bytes[] calldata data) external returns (bytes[] memory results) {
        results = new bytes[](data.length);
        for (uint256 i = 0; i < data.length; i++) {
            results[i] = Address.functionDelegateCall(address(this), data[i]);
        }
        return results;
    }
}

File 6 of 8: Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./Context.sol";

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 7 of 8: ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

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 make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

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

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./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");
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_rewardToken","type":"address"},{"internalType":"address","name":"_rewardOwner","type":"address"},{"internalType":"uint256","name":"_rewardPerBlock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"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"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"EmergencyWithdraw","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":"Harvest","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"allocPoint","type":"uint256"},{"indexed":true,"internalType":"contract IERC20","name":"lpToken","type":"address"}],"name":"LogPoolAddition","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"allocPoint","type":"uint256"}],"name":"LogSetPool","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lpSupply","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"accRewardPerShare","type":"uint256"}],"name":"LogUpdatePool","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"addPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"pid","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"pid","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"pid","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"pids","type":"uint256[]"}],"name":"massUpdatePoolsByIds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicall","outputs":[{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"name":"poolExistence","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"accRewardPerShare","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"allocPoint","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"pools","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_rewardOwner","type":"address"}],"name":"setRewardOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_rewardToken","type":"address"}],"name":"setRewardToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardPerBlock","type":"uint256"}],"name":"setRewardsPerBlock","outputs":[],"stateMutability":"nonpayable","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":"rewardOffset","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"pid","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600060065560006007553480156200001b57600080fd5b506040516200249a3803806200249a8339810160408190526200003e91620000ef565b620000493362000086565b60018055600280546001600160a01b039485166001600160a01b031991821617909155600380549390941692169190911790915560075562000137565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0381168114620000ec57600080fd5b50565b6000806000606084860312156200010557600080fd5b83516200011281620000d6565b60208501519093506200012581620000d6565b80925050604084015190509250925092565b61235380620001476000396000f3fe608060405234801561001057600080fd5b50600436106101a35760003560e01c806385049c39116100ee578063a1003b2911610097578063d18df53c11610071578063d18df53c146103e8578063d444d327146103fb578063f2fde38b1461040e578063f7c618c11461042157600080fd5b8063a1003b2914610382578063ac9650d814610395578063cbd258b5146103b557600080fd5b80638da5cb5b116100c85780638da5cb5b1461030a5780638dbdbe6d1461032857806393f1a40b1461033b57600080fd5b806385049c39146102a95780638ae39cac146102ee5780638aee8127146102f757600080fd5b80634809b4291161015057806364482f791161012a57806364482f791461027b578063715018a61461028e5780637abceffd1461029657600080fd5b80634809b4291461024d57806351eb05a614610260578063630b5ba11461027357600080fd5b806317caf6f11161018157806317caf6f11461021e57806318fccc76146102275780632f940c701461023a57600080fd5b8063081e3eda146101a85780630ad58d2f146101bf5780631526fe27146101d4575b600080fd5b6004545b6040519081526020015b60405180910390f35b6101d26101cd366004611e29565b610441565b005b6101e76101e2366004611e62565b6106d1565b6040805173ffffffffffffffffffffffffffffffffffffffff909516855260208501939093529183015260608201526080016101b6565b6101ac60065481565b6101d2610235366004611e7b565b610722565b6101d2610248366004611e7b565b610858565b6101d261025b366004611eab565b610963565b6101d261026e366004611e62565b610a2b565b6101d2610bd6565b6101d2610289366004611ed6565b610bff565b6101d2610d39565b6101d26102a4366004611f04565b610dc6565b6003546102c99073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101b6565b6101ac60075481565b6101d2610305366004611eab565b611086565b60005473ffffffffffffffffffffffffffffffffffffffff166102c9565b6101d2610336366004611e29565b61114e565b61036d610349366004611e7b565b60056020908152600092835260408084209091529082529020805460019091015482565b604080519283526020830191909152016101b6565b6101d2610390366004611e62565b61135c565b6103a86103a3366004611f87565b6113e2565b6040516101b6919061203f565b6103d86103c3366004611eab565b60086020526000908152604090205460ff1681565b60405190151581526020016101b6565b6101ac6103f6366004611e7b565b6114d7565b6101d2610409366004611f87565b6116b8565b6101d261041c366004611eab565b6116f9565b6002546102c99073ffffffffffffffffffffffffffffffffffffffff1681565b600260015414156104b3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026001556104c183610a2b565b6000600484815481106104d6576104d66120bf565b60009182526020808320604080516080810182526004909402909101805473ffffffffffffffffffffffffffffffffffffffff168452600181015484840152600281015484830152600301546060840152878452600582528084203385529091529091208054919250908411156105a9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f77697468647261773a206e6f7420676f6f64000000000000000000000000000060448201526064016104aa565b600064e8d4a51000836020015183600001546105c5919061211d565b6105cf919061215a565b905060008260010154826105e39190612195565b90508015610616576003546002546106169173ffffffffffffffffffffffffffffffffffffffff91821691168784611826565b851561064e578254610629908790612195565b8355835161064e9073ffffffffffffffffffffffffffffffffffffffff168688611908565b6020840151835464e8d4a51000916106659161211d565b61066f919061215a565b600184015560405186815273ffffffffffffffffffffffffffffffffffffffff861690889033907f8166bf25f8a2b7ed3c85049207da4358d16edbed977d23fa2ee6f0dde3ec2132906020015b60405180910390a45050600180555050505050565b600481815481106106e157600080fd5b6000918252602090912060049091020180546001820154600283015460039093015473ffffffffffffffffffffffffffffffffffffffff9092169350919084565b61072b82610a2b565b600060048381548110610740576107406120bf565b60009182526020808320604080516080810182526004909402909101805473ffffffffffffffffffffffffffffffffffffffff168452600181015484840190815260028201548584015260039091015460608501528785526005835281852033865290925283209051815492945090929164e8d4a51000916107c19161211d565b6107cb919061215a565b905060008260010154826107df9190612195565b6001840183905590508015610819576003546002546108199173ffffffffffffffffffffffffffffffffffffffff91821691168784611826565b604051818152869033907f71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae06609249549060200160405180910390a3505050505050565b60006004838154811061086d5761086d6120bf565b60009182526020808320604080516080810182526004909402909101805473ffffffffffffffffffffffffffffffffffffffff9081168552600180830154868601526002830154868501526003909201546060860152888652600584528286203387529093529084208054858255918101949094558251929450916108f491168583611908565b8373ffffffffffffffffffffffffffffffffffffffff16853373ffffffffffffffffffffffffffffffffffffffff167f2cac5e20e1541d836381527a43f651851e302817b71dc8e810284e69210c1c6b8460405161095491815260200190565b60405180910390a45050505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146109e4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104aa565b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600060048281548110610a4057610a406120bf565b9060005260206000209060040201905080600201544311610a5f575050565b80546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015610acd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af191906121ac565b9050801580610b0257506003820154155b15610b1257504360029091015550565b6000826002015443610b249190612195565b90506000600654846003015460075484610b3e919061211d565b610b48919061211d565b610b52919061215a565b905082610b6464e8d4a510008361211d565b610b6e919061215a565b8460010154610b7d91906121c5565b600185018190554360028601819055604080519182526020820186905281019190915285907fcb7325664a4a3b7c7223eefc492a97ca4fdf94d46884621e5a8fae5a04b2b9d29060600160405180910390a25050505050565b60005b600454811015610bfc57610bec81610a2b565b610bf5816121dd565b9050610bd9565b50565b60005473ffffffffffffffffffffffffffffffffffffffff163314610c80576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104aa565b8015610c8e57610c8e610bd6565b8160048481548110610ca257610ca26120bf565b906000526020600020906004020160030154600654610cc19190612195565b610ccb91906121c5565b6006819055508160048481548110610ce557610ce56120bf565b906000526020600020906004020160030181905550827f942cc7e17a17c164bd977f32ab8c54265d5b9d481e4e352bf874f1e568874e7c83604051610d2c91815260200190565b60405180910390a2505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610dba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104aa565b610dc4600061195e565b565b60005473ffffffffffffffffffffffffffffffffffffffff163314610e47576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104aa565b73ffffffffffffffffffffffffffffffffffffffff821660009081526008602052604090205460ff1615610ed7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f5374616b696e673a206475706c69636174656420706f6f6c000000000000000060448201526064016104aa565b8015610ee557610ee5610bd6565b82600654610ef391906121c5565b60065573ffffffffffffffffffffffffffffffffffffffff8281166000818152600860209081526040808320805460017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009091168117909155815160808101835285815292830184815243928401928352606084018a81526004805480850182559681905294517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b96860296870180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169190991617909755517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c85015590517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19d84015593517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19e9092019190915554909161104e91612195565b6040518581527f4710feb78e3bce8d2e3ca2989a8eb2f8bcd32a6a55b4535942c180fc4d2e29529060200160405180910390a3505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314611107576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104aa565b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600260015414156111bb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016104aa565b60026001556111c983610a2b565b6000600484815481106111de576111de6120bf565b60009182526020808320604080516080810182526004909402909101805473ffffffffffffffffffffffffffffffffffffffff168452600181015484840190815260028201548584015260039091015460608501528885526005835281852033865290925283209051815492945090929164e8d4a510009161125f9161211d565b611269919061215a565b9050600082600101548261127d9190612195565b905080156112b0576003546002546112b09173ffffffffffffffffffffffffffffffffffffffff91821691168784611826565b85156112ea5783516112da9073ffffffffffffffffffffffffffffffffffffffff16333089611826565b82546112e79087906121c5565b83555b6020840151835464e8d4a51000916113019161211d565b61130b919061215a565b600184015560405186815273ffffffffffffffffffffffffffffffffffffffff861690889033907f02d7e648dd130fc184d383e55bb126ac4c9c60e8f94bf05acdf557ba2d540b47906020016106bc565b60005473ffffffffffffffffffffffffffffffffffffffff1633146113dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104aa565b600755565b60608167ffffffffffffffff8111156113fd576113fd612216565b60405190808252806020026020018201604052801561143057816020015b606081526020019060019003908161141b5790505b50905060005b828110156114d0576114a030858584818110611454576114546120bf565b90506020028101906114669190612245565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506119d392505050565b8282815181106114b2576114b26120bf565b602002602001018190525080806114c8906121dd565b915050611436565b5092915050565b600080600484815481106114ed576114ed6120bf565b60009182526020808320604080516080810182526004948502909201805473ffffffffffffffffffffffffffffffffffffffff908116845260018083015485870190815260028401548686015260039093015460608601528b8852600586528388208b8316895286528388208451808601865281548152910154958101959095529051835192517f70a08231000000000000000000000000000000000000000000000000000000008152309681019690965292965092949193919216906370a0823190602401602060405180830381865afa1580156115d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f491906121ac565b905083604001514311801561160857508015155b1561167857600084604001514361161f9190612195565b90506000600654866060015160075484611639919061211d565b611643919061211d565b61164d919061215a565b90508261165f64e8d4a510008361211d565b611669919061215a565b61167390856121c5565b935050505b600064e8d4a51000838560000151611690919061211d565b61169a919061215a565b90508360200151816116ac9190612195565b98975050505050505050565b60005b818110156116f4576116e48383838181106116d8576116d86120bf565b90506020020135610a2b565b6116ed816121dd565b90506116bb565b505050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461177a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104aa565b73ffffffffffffffffffffffffffffffffffffffff811661181d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016104aa565b610bfc8161195e565b60405173ffffffffffffffffffffffffffffffffffffffff808516602483015283166044820152606481018290526119029085907f23b872dd00000000000000000000000000000000000000000000000000000000906084015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526119ff565b50505050565b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526116f49084907fa9059cbb0000000000000000000000000000000000000000000000000000000090606401611880565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60606119f883836040518060600160405280602781526020016122f760279139611b0b565b9392505050565b6000611a61826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16611c1d9092919063ffffffff16565b8051909150156116f45780806020019051810190611a7f91906122aa565b6116f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016104aa565b6060833b611b9b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60448201527f6e7472616374000000000000000000000000000000000000000000000000000060648201526084016104aa565b6000808573ffffffffffffffffffffffffffffffffffffffff1685604051611bc391906122c7565b600060405180830381855af49150503d8060008114611bfe576040519150601f19603f3d011682016040523d82523d6000602084013e611c03565b606091505b5091509150611c13828286611c34565b9695505050505050565b6060611c2c8484600085611c87565b949350505050565b60608315611c435750816119f8565b825115611c535782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104aa91906122e3565b606082471015611d19576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016104aa565b843b611d81576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016104aa565b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051611daa91906122c7565b60006040518083038185875af1925050503d8060008114611de7576040519150601f19603f3d011682016040523d82523d6000602084013e611dec565b606091505b5091509150611dfc828286611c34565b979650505050505050565b73ffffffffffffffffffffffffffffffffffffffff81168114610bfc57600080fd5b600080600060608486031215611e3e57600080fd5b83359250602084013591506040840135611e5781611e07565b809150509250925092565b600060208284031215611e7457600080fd5b5035919050565b60008060408385031215611e8e57600080fd5b823591506020830135611ea081611e07565b809150509250929050565b600060208284031215611ebd57600080fd5b81356119f881611e07565b8015158114610bfc57600080fd5b600080600060608486031215611eeb57600080fd5b83359250602084013591506040840135611e5781611ec8565b600080600060608486031215611f1957600080fd5b833592506020840135611f2b81611e07565b91506040840135611e5781611ec8565b60008083601f840112611f4d57600080fd5b50813567ffffffffffffffff811115611f6557600080fd5b6020830191508360208260051b8501011115611f8057600080fd5b9250929050565b60008060208385031215611f9a57600080fd5b823567ffffffffffffffff811115611fb157600080fd5b611fbd85828601611f3b565b90969095509350505050565b60005b83811015611fe4578181015183820152602001611fcc565b838111156119025750506000910152565b6000815180845261200d816020860160208601611fc9565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b828110156120b2577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08886030184526120a0858351611ff5565b94509285019290850190600101612066565b5092979650505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612155576121556120ee565b500290565b600082612190577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b6000828210156121a7576121a76120ee565b500390565b6000602082840312156121be57600080fd5b5051919050565b600082198211156121d8576121d86120ee565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561220f5761220f6120ee565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261227a57600080fd5b83018035915067ffffffffffffffff82111561229557600080fd5b602001915036819003821315611f8057600080fd5b6000602082840312156122bc57600080fd5b81516119f881611ec8565b600082516122d9818460208701611fc9565b9190910192915050565b6020815260006119f86020830184611ff556fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212204f8418a82ac100b5fbe22c7dc5a6ca94a976ed60f74b426cd7f28c5eae97c07064736f6c634300080a0033000000000000000000000000108a850856db3f85d0269a2693d896b394c8032500000000000000000000000069102b434be1d245961e7a1114b6e49a2d1283f200000000000000000000000000000000000000000000000000005af3107a4000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101a35760003560e01c806385049c39116100ee578063a1003b2911610097578063d18df53c11610071578063d18df53c146103e8578063d444d327146103fb578063f2fde38b1461040e578063f7c618c11461042157600080fd5b8063a1003b2914610382578063ac9650d814610395578063cbd258b5146103b557600080fd5b80638da5cb5b116100c85780638da5cb5b1461030a5780638dbdbe6d1461032857806393f1a40b1461033b57600080fd5b806385049c39146102a95780638ae39cac146102ee5780638aee8127146102f757600080fd5b80634809b4291161015057806364482f791161012a57806364482f791461027b578063715018a61461028e5780637abceffd1461029657600080fd5b80634809b4291461024d57806351eb05a614610260578063630b5ba11461027357600080fd5b806317caf6f11161018157806317caf6f11461021e57806318fccc76146102275780632f940c701461023a57600080fd5b8063081e3eda146101a85780630ad58d2f146101bf5780631526fe27146101d4575b600080fd5b6004545b6040519081526020015b60405180910390f35b6101d26101cd366004611e29565b610441565b005b6101e76101e2366004611e62565b6106d1565b6040805173ffffffffffffffffffffffffffffffffffffffff909516855260208501939093529183015260608201526080016101b6565b6101ac60065481565b6101d2610235366004611e7b565b610722565b6101d2610248366004611e7b565b610858565b6101d261025b366004611eab565b610963565b6101d261026e366004611e62565b610a2b565b6101d2610bd6565b6101d2610289366004611ed6565b610bff565b6101d2610d39565b6101d26102a4366004611f04565b610dc6565b6003546102c99073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101b6565b6101ac60075481565b6101d2610305366004611eab565b611086565b60005473ffffffffffffffffffffffffffffffffffffffff166102c9565b6101d2610336366004611e29565b61114e565b61036d610349366004611e7b565b60056020908152600092835260408084209091529082529020805460019091015482565b604080519283526020830191909152016101b6565b6101d2610390366004611e62565b61135c565b6103a86103a3366004611f87565b6113e2565b6040516101b6919061203f565b6103d86103c3366004611eab565b60086020526000908152604090205460ff1681565b60405190151581526020016101b6565b6101ac6103f6366004611e7b565b6114d7565b6101d2610409366004611f87565b6116b8565b6101d261041c366004611eab565b6116f9565b6002546102c99073ffffffffffffffffffffffffffffffffffffffff1681565b600260015414156104b3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026001556104c183610a2b565b6000600484815481106104d6576104d66120bf565b60009182526020808320604080516080810182526004909402909101805473ffffffffffffffffffffffffffffffffffffffff168452600181015484840152600281015484830152600301546060840152878452600582528084203385529091529091208054919250908411156105a9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f77697468647261773a206e6f7420676f6f64000000000000000000000000000060448201526064016104aa565b600064e8d4a51000836020015183600001546105c5919061211d565b6105cf919061215a565b905060008260010154826105e39190612195565b90508015610616576003546002546106169173ffffffffffffffffffffffffffffffffffffffff91821691168784611826565b851561064e578254610629908790612195565b8355835161064e9073ffffffffffffffffffffffffffffffffffffffff168688611908565b6020840151835464e8d4a51000916106659161211d565b61066f919061215a565b600184015560405186815273ffffffffffffffffffffffffffffffffffffffff861690889033907f8166bf25f8a2b7ed3c85049207da4358d16edbed977d23fa2ee6f0dde3ec2132906020015b60405180910390a45050600180555050505050565b600481815481106106e157600080fd5b6000918252602090912060049091020180546001820154600283015460039093015473ffffffffffffffffffffffffffffffffffffffff9092169350919084565b61072b82610a2b565b600060048381548110610740576107406120bf565b60009182526020808320604080516080810182526004909402909101805473ffffffffffffffffffffffffffffffffffffffff168452600181015484840190815260028201548584015260039091015460608501528785526005835281852033865290925283209051815492945090929164e8d4a51000916107c19161211d565b6107cb919061215a565b905060008260010154826107df9190612195565b6001840183905590508015610819576003546002546108199173ffffffffffffffffffffffffffffffffffffffff91821691168784611826565b604051818152869033907f71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae06609249549060200160405180910390a3505050505050565b60006004838154811061086d5761086d6120bf565b60009182526020808320604080516080810182526004909402909101805473ffffffffffffffffffffffffffffffffffffffff9081168552600180830154868601526002830154868501526003909201546060860152888652600584528286203387529093529084208054858255918101949094558251929450916108f491168583611908565b8373ffffffffffffffffffffffffffffffffffffffff16853373ffffffffffffffffffffffffffffffffffffffff167f2cac5e20e1541d836381527a43f651851e302817b71dc8e810284e69210c1c6b8460405161095491815260200190565b60405180910390a45050505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146109e4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104aa565b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600060048281548110610a4057610a406120bf565b9060005260206000209060040201905080600201544311610a5f575050565b80546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015610acd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af191906121ac565b9050801580610b0257506003820154155b15610b1257504360029091015550565b6000826002015443610b249190612195565b90506000600654846003015460075484610b3e919061211d565b610b48919061211d565b610b52919061215a565b905082610b6464e8d4a510008361211d565b610b6e919061215a565b8460010154610b7d91906121c5565b600185018190554360028601819055604080519182526020820186905281019190915285907fcb7325664a4a3b7c7223eefc492a97ca4fdf94d46884621e5a8fae5a04b2b9d29060600160405180910390a25050505050565b60005b600454811015610bfc57610bec81610a2b565b610bf5816121dd565b9050610bd9565b50565b60005473ffffffffffffffffffffffffffffffffffffffff163314610c80576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104aa565b8015610c8e57610c8e610bd6565b8160048481548110610ca257610ca26120bf565b906000526020600020906004020160030154600654610cc19190612195565b610ccb91906121c5565b6006819055508160048481548110610ce557610ce56120bf565b906000526020600020906004020160030181905550827f942cc7e17a17c164bd977f32ab8c54265d5b9d481e4e352bf874f1e568874e7c83604051610d2c91815260200190565b60405180910390a2505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610dba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104aa565b610dc4600061195e565b565b60005473ffffffffffffffffffffffffffffffffffffffff163314610e47576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104aa565b73ffffffffffffffffffffffffffffffffffffffff821660009081526008602052604090205460ff1615610ed7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f5374616b696e673a206475706c69636174656420706f6f6c000000000000000060448201526064016104aa565b8015610ee557610ee5610bd6565b82600654610ef391906121c5565b60065573ffffffffffffffffffffffffffffffffffffffff8281166000818152600860209081526040808320805460017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009091168117909155815160808101835285815292830184815243928401928352606084018a81526004805480850182559681905294517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b96860296870180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169190991617909755517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c85015590517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19d84015593517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19e9092019190915554909161104e91612195565b6040518581527f4710feb78e3bce8d2e3ca2989a8eb2f8bcd32a6a55b4535942c180fc4d2e29529060200160405180910390a3505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314611107576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104aa565b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600260015414156111bb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016104aa565b60026001556111c983610a2b565b6000600484815481106111de576111de6120bf565b60009182526020808320604080516080810182526004909402909101805473ffffffffffffffffffffffffffffffffffffffff168452600181015484840190815260028201548584015260039091015460608501528885526005835281852033865290925283209051815492945090929164e8d4a510009161125f9161211d565b611269919061215a565b9050600082600101548261127d9190612195565b905080156112b0576003546002546112b09173ffffffffffffffffffffffffffffffffffffffff91821691168784611826565b85156112ea5783516112da9073ffffffffffffffffffffffffffffffffffffffff16333089611826565b82546112e79087906121c5565b83555b6020840151835464e8d4a51000916113019161211d565b61130b919061215a565b600184015560405186815273ffffffffffffffffffffffffffffffffffffffff861690889033907f02d7e648dd130fc184d383e55bb126ac4c9c60e8f94bf05acdf557ba2d540b47906020016106bc565b60005473ffffffffffffffffffffffffffffffffffffffff1633146113dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104aa565b600755565b60608167ffffffffffffffff8111156113fd576113fd612216565b60405190808252806020026020018201604052801561143057816020015b606081526020019060019003908161141b5790505b50905060005b828110156114d0576114a030858584818110611454576114546120bf565b90506020028101906114669190612245565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506119d392505050565b8282815181106114b2576114b26120bf565b602002602001018190525080806114c8906121dd565b915050611436565b5092915050565b600080600484815481106114ed576114ed6120bf565b60009182526020808320604080516080810182526004948502909201805473ffffffffffffffffffffffffffffffffffffffff908116845260018083015485870190815260028401548686015260039093015460608601528b8852600586528388208b8316895286528388208451808601865281548152910154958101959095529051835192517f70a08231000000000000000000000000000000000000000000000000000000008152309681019690965292965092949193919216906370a0823190602401602060405180830381865afa1580156115d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f491906121ac565b905083604001514311801561160857508015155b1561167857600084604001514361161f9190612195565b90506000600654866060015160075484611639919061211d565b611643919061211d565b61164d919061215a565b90508261165f64e8d4a510008361211d565b611669919061215a565b61167390856121c5565b935050505b600064e8d4a51000838560000151611690919061211d565b61169a919061215a565b90508360200151816116ac9190612195565b98975050505050505050565b60005b818110156116f4576116e48383838181106116d8576116d86120bf565b90506020020135610a2b565b6116ed816121dd565b90506116bb565b505050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461177a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104aa565b73ffffffffffffffffffffffffffffffffffffffff811661181d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016104aa565b610bfc8161195e565b60405173ffffffffffffffffffffffffffffffffffffffff808516602483015283166044820152606481018290526119029085907f23b872dd00000000000000000000000000000000000000000000000000000000906084015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526119ff565b50505050565b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526116f49084907fa9059cbb0000000000000000000000000000000000000000000000000000000090606401611880565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60606119f883836040518060600160405280602781526020016122f760279139611b0b565b9392505050565b6000611a61826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16611c1d9092919063ffffffff16565b8051909150156116f45780806020019051810190611a7f91906122aa565b6116f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016104aa565b6060833b611b9b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60448201527f6e7472616374000000000000000000000000000000000000000000000000000060648201526084016104aa565b6000808573ffffffffffffffffffffffffffffffffffffffff1685604051611bc391906122c7565b600060405180830381855af49150503d8060008114611bfe576040519150601f19603f3d011682016040523d82523d6000602084013e611c03565b606091505b5091509150611c13828286611c34565b9695505050505050565b6060611c2c8484600085611c87565b949350505050565b60608315611c435750816119f8565b825115611c535782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104aa91906122e3565b606082471015611d19576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016104aa565b843b611d81576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016104aa565b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051611daa91906122c7565b60006040518083038185875af1925050503d8060008114611de7576040519150601f19603f3d011682016040523d82523d6000602084013e611dec565b606091505b5091509150611dfc828286611c34565b979650505050505050565b73ffffffffffffffffffffffffffffffffffffffff81168114610bfc57600080fd5b600080600060608486031215611e3e57600080fd5b83359250602084013591506040840135611e5781611e07565b809150509250925092565b600060208284031215611e7457600080fd5b5035919050565b60008060408385031215611e8e57600080fd5b823591506020830135611ea081611e07565b809150509250929050565b600060208284031215611ebd57600080fd5b81356119f881611e07565b8015158114610bfc57600080fd5b600080600060608486031215611eeb57600080fd5b83359250602084013591506040840135611e5781611ec8565b600080600060608486031215611f1957600080fd5b833592506020840135611f2b81611e07565b91506040840135611e5781611ec8565b60008083601f840112611f4d57600080fd5b50813567ffffffffffffffff811115611f6557600080fd5b6020830191508360208260051b8501011115611f8057600080fd5b9250929050565b60008060208385031215611f9a57600080fd5b823567ffffffffffffffff811115611fb157600080fd5b611fbd85828601611f3b565b90969095509350505050565b60005b83811015611fe4578181015183820152602001611fcc565b838111156119025750506000910152565b6000815180845261200d816020860160208601611fc9565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b828110156120b2577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08886030184526120a0858351611ff5565b94509285019290850190600101612066565b5092979650505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612155576121556120ee565b500290565b600082612190577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b6000828210156121a7576121a76120ee565b500390565b6000602082840312156121be57600080fd5b5051919050565b600082198211156121d8576121d86120ee565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561220f5761220f6120ee565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261227a57600080fd5b83018035915067ffffffffffffffff82111561229557600080fd5b602001915036819003821315611f8057600080fd5b6000602082840312156122bc57600080fd5b81516119f881611ec8565b600082516122d9818460208701611fc9565b9190910192915050565b6020815260006119f86020830184611ff556fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212204f8418a82ac100b5fbe22c7dc5a6ca94a976ed60f74b426cd7f28c5eae97c07064736f6c634300080a0033

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

000000000000000000000000108a850856db3f85d0269a2693d896b394c8032500000000000000000000000069102b434be1d245961e7a1114b6e49a2d1283f200000000000000000000000000000000000000000000000000005af3107a4000

-----Decoded View---------------
Arg [0] : _rewardToken (address): 0x108a850856Db3f85d0269a2693D896B394C80325
Arg [1] : _rewardOwner (address): 0x69102B434be1D245961E7a1114b6e49a2d1283f2
Arg [2] : _rewardPerBlock (uint256): 100000000000000

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000108a850856db3f85d0269a2693d896b394c80325
Arg [1] : 00000000000000000000000069102b434be1d245961e7a1114b6e49a2d1283f2
Arg [2] : 00000000000000000000000000000000000000000000000000005af3107a4000


Deployed Bytecode Sourcemap

412:10577:7:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3706:98;3782:8;:15;3706:98;;;160:25:8;;;148:2;133:18;3706:98:7;;;;;;;;8837:851;;;;;;:::i;:::-;;:::i;:::-;;1859:26;;;;;;:::i;:::-;;:::i;:::-;;;;1203:42:8;1191:55;;;1173:74;;1278:2;1263:18;;1256:34;;;;1306:18;;;1299:34;1364:2;1349:18;;1342:34;1160:3;1145:19;1859:26:7;928:454:8;2114:34:7;;;;;;9862:569;;;;;;:::i;:::-;;:::i;10611:376::-;;;;;;:::i;:::-;;:::i;3370:106::-;;;;;;:::i;:::-;;:::i;6800:756::-;;;;;;:::i;:::-;;:::i;6371:134::-;;;:::i;4938:337::-;;;;;;:::i;:::-;;:::i;1598:92:4:-;;;:::i;4129:600:7:-;;;;;;:::i;:::-;;:::i;1783:26::-;;;;;;;;;;;;3109:42:8;3097:55;;;3079:74;;3067:2;3052:18;1783:26:7;2933:226:8;2155:33:7;;;;;;3220:105;;;;;;:::i;:::-;;:::i;966:85:4:-;1012:7;1038:6;;;966:85;;7804:824:7;;;;;;:::i;:::-;;:::i;1949:66::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3604:25:8;;;3660:2;3645:18;;3638:34;;;;3577:18;1949:66:7;3430:248:8;3528:119:7;;;;;;:::i;:::-;;:::i;337:300:3:-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;3810:44:7:-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;6135:14:8;;6128:22;6110:41;;6098:2;6083:18;3810:44:7;5970:187:8;5504:787:7;;;;;;:::i;:::-;;:::i;6511:166::-;;;;;;:::i;:::-;;:::i;1839:189:4:-;;;;;;:::i;:::-;;:::i;1752:25:7:-;;;;;;;;;8837:851;1680:1:5;2259:7;;:19;;2251:63;;;;;;;7058:2:8;2251:63:5;;;7040:21:8;7097:2;7077:18;;;7070:30;7136:33;7116:18;;;7109:61;7187:18;;2251:63:5;;;;;;;;;1680:1;2389:7;:18;8926:15:7::1;8937:3:::0;8926:10:::1;:15::i;:::-;8951:20;8974:8;8983:3;8974:13;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;8951:36:::1;::::0;;::::1;::::0;::::1;::::0;;8974:13:::1;::::0;;::::1;::::0;;::::1;8951:36:::0;;::::1;;::::0;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;::::1;::::0;;;;;::::1;;::::0;;;;;9021:13;;;:8:::1;:13:::0;;;;;9035:10:::1;9021:25:::0;;;;;;;;9064:11;;8951:36;;-1:-1:-1;9021:25:7;9064:21;-1:-1:-1;9064:21:7::1;9056:52;;;::::0;::::1;::::0;;7607:2:8;9056:52:7::1;::::0;::::1;7589:21:8::0;7646:2;7626:18;;;7619:30;7685:20;7665:18;;;7658:48;7723:18;;9056:52:7::1;7405:342:8::0;9056:52:7::1;9138:25;2235:4;9181;:22;;;9167:4;:11;;;:36;;;;:::i;:::-;9166:54;;;;:::i;:::-;9138:82;;9230:21;9274:4;:17;;;9254;:37;;;;:::i;:::-;9230:61:::0;-1:-1:-1;9305:17:7;;9301:108:::1;;9367:11;::::0;9338::::1;::::0;:60:::1;::::0;9367:11:::1;9338::::0;;::::1;::::0;9367::::1;9380:2:::0;9384:13;9338:28:::1;:60::i;:::-;9423:10:::0;;9419:126:::1;;9463:11:::0;;:20:::1;::::0;9477:6;;9463:20:::1;:::i;:::-;9449:34:::0;;9497:12;;:37:::1;::::0;:25:::1;;9523:2:::0;9527:6;9497:25:::1;:37::i;:::-;9589:22;::::0;::::1;::::0;9575:11;;2235:4:::1;::::0;9575:36:::1;::::0;::::1;:::i;:::-;9574:54;;;;:::i;:::-;9554:17;::::0;::::1;:74:::0;9644:37:::1;::::0;160:25:8;;;9644:37:7::1;::::0;::::1;::::0;9665:3;;9653:10:::1;::::0;9644:37:::1;::::0;148:2:8;133:18;9644:37:7::1;;;;;;;;-1:-1:-1::0;;1637:1:5;2562:22;;-1:-1:-1;;;;;8837:851:7:o;1859:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1859:26:7;;;:::o;9862:569::-;9921:15;9932:3;9921:10;:15::i;:::-;9946:20;9969:8;9978:3;9969:13;;;;;;;;:::i;:::-;;;;;;;;;9946:36;;;;;;;;9969:13;;;;;;;9946:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10016:13;;;:8;:13;;;;;10030:10;10016:25;;;;;;;10095:22;;10081:11;;9946:36;;-1:-1:-1;10016:25:7;;9969:13;2235:4;;10081:36;;;:::i;:::-;10080:54;;;;:::i;:::-;10052:82;;10144:21;10188:4;:17;;;10168;:37;;;;:::i;:::-;10215:17;;;:37;;;10144:61;-1:-1:-1;10266:17:7;;10262:108;;10328:11;;10299;;:60;;10328:11;10299;;;;10328;10341:2;10345:13;10299:28;:60::i;:::-;10385:39;;160:25:8;;;10405:3:7;;10393:10;;10385:39;;148:2:8;133:18;10385:39:7;;;;;;;9911:520;;;;9862:569;;:::o;10611:376::-;10680:20;10703:8;10712:3;10703:13;;;;;;;;:::i;:::-;;;;;;;;;10680:36;;;;;;;;10703:13;;;;;;;10680:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10750:13;;;:8;:13;;;;;10764:10;10750:25;;;;;;;;10803:11;;10825:15;;;10850:17;;;:21;;;;10881:12;;10680:36;;-1:-1:-1;10803:11:7;10881:37;;:25;10907:2;10803:11;10881:25;:37::i;:::-;10977:2;10934:46;;10964:3;10952:10;10934:46;;;10969:6;10934:46;;;;160:25:8;;148:2;133:18;;14:177;10934:46:7;;;;;;;;10670:317;;;10611:376;;:::o;3370:106::-;1012:7:4;1038:6;1178:23;1038:6;665:10:1;1178:23:4;1170:68;;;;;;;8785:2:8;1170:68:4;;;8767:21:8;;;8804:18;;;8797:30;8863:34;8843:18;;;8836:62;8915:18;;1170:68:4;8583:356:8;1170:68:4;3443:11:7::1;:26:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;3370:106::o;6800:756::-;6850:21;6874:8;6883:3;6874:13;;;;;;;;:::i;:::-;;;;;;;;;;;6850:37;;6917:4;:20;;;6901:12;:36;6897:73;;6953:7;6800:756;:::o;6897:73::-;6998:12;;:37;;;;;7029:4;6998:37;;;3079:74:8;6979:16:7;;6998:12;;;:22;;3052:18:8;;6998:37:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6979:56;-1:-1:-1;7049:13:7;;;:37;;-1:-1:-1;7066:15:7;;;;:20;7049:37;7045:123;;;-1:-1:-1;7125:12:7;7102:20;;;;:35;-1:-1:-1;6800:756:7:o;7045:123::-;7177:14;7209:4;:20;;;7194:12;:35;;;;:::i;:::-;7177:52;;7239:14;7302:15;;7283:4;:15;;;7266:14;;7257:6;:23;;;;:::i;:::-;:41;;;;:::i;:::-;7256:61;;;;:::i;:::-;7239:78;-1:-1:-1;7405:8:7;7379:22;2235:4;7239:78;7379:22;:::i;:::-;7378:35;;;;:::i;:::-;7352:4;:22;;;:62;;;;:::i;:::-;7327:22;;;:87;;;7447:12;7424:20;;;:35;;;7475:74;;;9468:25:8;;;9524:2;9509:18;;9502:34;;;9552:18;;9545:34;;;;7489:3:7;;7475:74;;9456:2:8;9441:18;7475:74:7;;;;;;;6840:716;;;;6800:756;:::o;6371:134::-;6420:9;6415:84;6439:8;:15;6435:19;;6415:84;;;6475:13;6486:1;6475:10;:13::i;:::-;6456:3;;;:::i;:::-;;;6415:84;;;;6371:134::o;4938:337::-;1012:7:4;1038:6;1178:23;1038:6;665:10:1;1178:23:4;1170:68;;;;;;;8785:2:8;1170:68:4;;;8767:21:8;;;8804:18;;;8797:30;8863:34;8843:18;;;8836:62;8915:18;;1170:68:4;8583:356:8;1170:68:4;5035:11:7::1;5031:59;;;5062:17;:15;:17::i;:::-;5163:11;5135:8;5144:4;5135:14;;;;;;;;:::i;:::-;;;;;;;;;;;:25;;;5117:15;;:43;;;;:::i;:::-;:57;;;;:::i;:::-;5099:15;:75;;;;5212:11;5184:8;5193:4;5184:14;;;;;;;;:::i;:::-;;;;;;;;;;;:25;;:39;;;;5250:4;5239:29;5256:11;5239:29;;;;160:25:8::0;;148:2;133:18;;14:177;5239:29:7::1;;;;;;;;4938:337:::0;;;:::o;1598:92:4:-;1012:7;1038:6;1178:23;1038:6;665:10:1;1178:23:4;1170:68;;;;;;;8785:2:8;1170:68:4;;;8767:21:8;;;8804:18;;;8797:30;8863:34;8843:18;;;8836:62;8915:18;;1170:68:4;8583:356:8;1170:68:4;1662:21:::1;1680:1;1662:9;:21::i;:::-;1598:92::o:0;4129:600:7:-;1012:7:4;1038:6;1178:23;1038:6;665:10:1;1178:23:4;1170:68;;;;;;;8785:2:8;1170:68:4;;;8767:21:8;;;8804:18;;;8797:30;8863:34;8843:18;;;8836:62;8915:18;;1170:68:4;8583:356:8;1170:68:4;4238:23:7::1;::::0;::::1;;::::0;;;:13:::1;:23;::::0;;;;;::::1;;4237:24;4229:61;;;::::0;::::1;::::0;;9992:2:8;4229:61:7::1;::::0;::::1;9974:21:8::0;10031:2;10011:18;;;10004:30;10070:26;10050:18;;;10043:54;10114:18;;4229:61:7::1;9790:348:8::0;4229:61:7::1;4304:11;4300:59;;;4331:17;:15;:17::i;:::-;4404:11;4386:15;;:29;;;;:::i;:::-;4368:15;:47:::0;4426:23:::1;::::0;;::::1;;::::0;;;:13:::1;:23;::::0;;;;;;;:30;;4452:4:::1;4426:30:::0;;;::::1;::::0;::::1;::::0;;;4480:166;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;;4589:12:::1;4480:166:::0;;;;;;;;;;;;4466:8:::1;:181:::0;;;;::::1;::::0;;;;;;;;;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;::::1;;::::0;;;;;;;;;;;;;;;;;;;;;;;;4679:15;4426:23;;4679:19:::1;::::0;::::1;:::i;:::-;4663:59;::::0;160:25:8;;;4663:59:7::1;::::0;148:2:8;133:18;4663:59:7::1;;;;;;;4129:600:::0;;;:::o;3220:105::-;1012:7:4;1038:6;1178:23;1038:6;665:10:1;1178:23:4;1170:68;;;;;;;8785:2:8;1170:68:4;;;8767:21:8;;;8804:18;;;8797:30;8863:34;8843:18;;;8836:62;8915:18;;1170:68:4;8583:356:8;1170:68:4;3292:11:7::1;:26:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;3220:105::o;7804:824::-;1680:1:5;2259:7;;:19;;2251:63;;;;;;;7058:2:8;2251:63:5;;;7040:21:8;7097:2;7077:18;;;7070:30;7136:33;7116:18;;;7109:61;7187:18;;2251:63:5;6856:355:8;2251:63:5;1680:1;2389:7;:18;7892:15:7::1;7903:3:::0;7892:10:::1;:15::i;:::-;7917:20;7940:8;7949:3;7940:13;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;7917:36:::1;::::0;;::::1;::::0;::::1;::::0;;7940:13:::1;::::0;;::::1;::::0;;::::1;7917:36:::0;;::::1;;::::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;;;;;7987:13;;;:8:::1;:13:::0;;;;;8001:10:::1;7987:25:::0;;;;;;;8085:22;;8071:11;;7917:36;;-1:-1:-1;7987:25:7;;7940:13;2235:4:::1;::::0;8071:36:::1;::::0;::::1;:::i;:::-;8070:54;;;;:::i;:::-;8042:82;;8134:21;8178:4;:17;;;8158;:37;;;;:::i;:::-;8134:61:::0;-1:-1:-1;8210:17:7;;8206:108:::1;;8272:11;::::0;8243::::1;::::0;:60:::1;::::0;8272:11:::1;8243::::0;;::::1;::::0;8272::::1;8285:2:::0;8289:13;8243:28:::1;:60::i;:::-;8328:10:::0;;8324:162:::1;;8354:12:::0;;:73:::1;::::0;:29:::1;;8392:10;8413:4;8420:6:::0;8354:29:::1;:73::i;:::-;8455:11:::0;;:20:::1;::::0;8469:6;;8455:20:::1;:::i;:::-;8441:34:::0;;8324:162:::1;8530:22;::::0;::::1;::::0;8516:11;;2235:4:::1;::::0;8516:36:::1;::::0;::::1;:::i;:::-;8515:54;;;;:::i;:::-;8495:17;::::0;::::1;:74:::0;8585:36:::1;::::0;160:25:8;;;8585:36:7::1;::::0;::::1;::::0;8605:3;;8593:10:::1;::::0;8585:36:::1;::::0;148:2:8;133:18;8585:36:7::1;14:177:8::0;3528:119:7;1012:7:4;1038:6;1178:23;1038:6;665:10:1;1178:23:4;1170:68;;;;;;;8785:2:8;1170:68:4;;;8767:21:8;;;8804:18;;;8797:30;8863:34;8843:18;;;8836:62;8915:18;;1170:68:4;8583:356:8;1170:68:4;3608:14:7::1;:32:::0;3528:119::o;337:300:3:-;397:22;453:4;441:24;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;431:34;;480:9;475:132;495:15;;;475:132;;;544:52;581:4;588;;593:1;588:7;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;544:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;544:28:3;;-1:-1:-1;;;544:52:3:i;:::-;531:7;539:1;531:10;;;;;;;;:::i;:::-;;;;;;:65;;;;512:3;;;;;:::i;:::-;;;;475:132;;;;337:300;;;;:::o;5504:787:7:-;5580:7;5599:20;5622:8;5631:4;5622:14;;;;;;;;:::i;:::-;;;;;;;;;5599:37;;;;;;;;5622:14;;;;;;;5599:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5669:14;;;:8;:14;;;;;:21;;;;;;;;;;5646:44;;;;;;;;;;;;;;;;;;;;;5728:22;;5779:12;;:37;;;;;5810:4;5779:37;;;3079:74:8;;;;5599:37:7;;-1:-1:-1;5646:44:7;;5728:22;;5622:14;;5779:22;;;;3052:18:8;;5779:37:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5760:56;;5845:4;:20;;;5830:12;:35;:52;;;;-1:-1:-1;5869:13:7;;;5830:52;5826:318;;;5898:14;5930:4;:20;;;5915:12;:35;;;;:::i;:::-;5898:52;;5964:14;6027:15;;6008:4;:15;;;5991:14;;5982:6;:23;;;;:::i;:::-;:41;;;;:::i;:::-;5981:61;;;;:::i;:::-;5964:78;-1:-1:-1;6124:8:7;6098:22;2235:4;5964:78;6098:22;:::i;:::-;6097:35;;;;:::i;:::-;6076:57;;:17;:57;:::i;:::-;6056:77;;5884:260;;5826:318;6153:25;2235:4;6196:17;6182:4;:11;;;:31;;;;:::i;:::-;6181:49;;;;:::i;:::-;6153:77;;6267:4;:17;;;6247;:37;;;;:::i;:::-;6240:44;5504:787;-1:-1:-1;;;;;;;;5504:787:7:o;6511:166::-;6590:9;6585:86;6605:15;;;6585:86;;;6641:19;6652:4;;6657:1;6652:7;;;;;;;:::i;:::-;;;;;;;6641:10;:19::i;:::-;6622:3;;;:::i;:::-;;;6585:86;;;;6511:166;;:::o;1839:189:4:-;1012:7;1038:6;1178:23;1038:6;665:10:1;1178:23:4;1170:68;;;;;;;8785:2:8;1170:68:4;;;8767:21:8;;;8804:18;;;8797:30;8863:34;8843:18;;;8836:62;8915:18;;1170:68:4;8583:356:8;1170:68:4;1927:22:::1;::::0;::::1;1919:73;;;::::0;::::1;::::0;;11119:2:8;1919:73:4::1;::::0;::::1;11101:21:8::0;11158:2;11138:18;;;11131:30;11197:34;11177:18;;;11170:62;11268:8;11248:18;;;11241:36;11294:19;;1919:73:4::1;10917:402:8::0;1919:73:4::1;2002:19;2012:8;2002:9;:19::i;831:241:6:-:0;996:68;;11536:42:8;11605:15;;;996:68:6;;;11587:34:8;11657:15;;11637:18;;;11630:43;11689:18;;;11682:34;;;969:96:6;;989:5;;1019:27;;11499:18:8;;996:68:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;969:19;:96::i;:::-;831:241;;;;:::o;620:205::-;759:58;;11931:42:8;11919:55;;759:58:6;;;11901:74:8;11991:18;;;11984:34;;;732:86:6;;752:5;;782:23;;11874:18:8;;759:58:6;11727:297:8;2034:169:4;2089:16;2108:6;;;2124:17;;;;;;;;;;2156:40;;2108:6;;;;;;;2156:40;;2089:16;2156:40;2079:124;2034:169;:::o;6172:198:0:-;6255:12;6286:77;6307:6;6315:4;6286:77;;;;;;;;;;;;;;;;;:20;:77::i;:::-;6279:84;6172:198;-1:-1:-1;;;6172:198:0:o;3126:706:6:-;3545:23;3571:69;3599:4;3571:69;;;;;;;;;;;;;;;;;3579:5;3571:27;;;;:69;;;;;:::i;:::-;3654:17;;3545:95;;-1:-1:-1;3654:21:6;3650:176;;3749:10;3738:30;;;;;;;;;;;;:::i;:::-;3730:85;;;;;;;12481:2:8;3730:85:6;;;12463:21:8;12520:2;12500:18;;;12493:30;12559:34;12539:18;;;12532:62;12630:12;12610:18;;;12603:40;12660:19;;3730:85:6;12279:406:8;6556:388:0;6697:12;1034:20;;6721:69;;;;;;;12892:2:8;6721:69:0;;;12874:21:8;12931:2;12911:18;;;12904:30;12970:34;12950:18;;;12943:62;13041:8;13021:18;;;13014:36;13067:19;;6721:69:0;12690:402:8;6721:69:0;6802:12;6816:23;6843:6;:19;;6863:4;6843:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6801:67;;;;6885:52;6903:7;6912:10;6924:12;6885:17;:52::i;:::-;6878:59;6556:388;-1:-1:-1;;;;;;6556:388:0:o;3461:223::-;3594:12;3625:52;3647:6;3655:4;3661:1;3664:12;3625:21;:52::i;:::-;3618:59;3461:223;-1:-1:-1;;;;3461:223:0:o;6950:692::-;7096:12;7124:7;7120:516;;;-1:-1:-1;7154:10:0;7147:17;;7120:516;7265:17;;:21;7261:365;;7459:10;7453:17;7519:15;7506:10;7502:2;7498:19;7491:44;7261:365;7598:12;7591:20;;;;;;;;;;;:::i;4548:500::-;4713:12;4770:5;4745:21;:30;;4737:81;;;;;;;13802:2:8;4737:81:0;;;13784:21:8;13841:2;13821:18;;;13814:30;13880:34;13860:18;;;13853:62;13951:8;13931:18;;;13924:36;13977:19;;4737:81:0;13600:402:8;4737:81:0;1034:20;;4828:60;;;;;;;14209:2:8;4828:60:0;;;14191:21:8;14248:2;14228:18;;;14221:30;14287:31;14267:18;;;14260:59;14336:18;;4828:60:0;14007:353:8;4828:60:0;4900:12;4914:23;4941:6;:11;;4960:5;4967:4;4941:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4899:73;;;;4989:52;5007:7;5016:10;5028:12;4989:17;:52::i;:::-;4982:59;4548:500;-1:-1:-1;;;;;;;4548:500:0:o;196:154:8:-;282:42;275:5;271:54;264:5;261:65;251:93;;340:1;337;330:12;355:383;432:6;440;448;501:2;489:9;480:7;476:23;472:32;469:52;;;517:1;514;507:12;469:52;553:9;540:23;530:33;;610:2;599:9;595:18;582:32;572:42;;664:2;653:9;649:18;636:32;677:31;702:5;677:31;:::i;:::-;727:5;717:15;;;355:383;;;;;:::o;743:180::-;802:6;855:2;843:9;834:7;830:23;826:32;823:52;;;871:1;868;861:12;823:52;-1:-1:-1;894:23:8;;743:180;-1:-1:-1;743:180:8:o;1387:315::-;1455:6;1463;1516:2;1504:9;1495:7;1491:23;1487:32;1484:52;;;1532:1;1529;1522:12;1484:52;1568:9;1555:23;1545:33;;1628:2;1617:9;1613:18;1600:32;1641:31;1666:5;1641:31;:::i;:::-;1691:5;1681:15;;;1387:315;;;;;:::o;1707:247::-;1766:6;1819:2;1807:9;1798:7;1794:23;1790:32;1787:52;;;1835:1;1832;1825:12;1787:52;1874:9;1861:23;1893:31;1918:5;1893:31;:::i;1959:118::-;2045:5;2038:13;2031:21;2024:5;2021:32;2011:60;;2067:1;2064;2057:12;2082:377;2156:6;2164;2172;2225:2;2213:9;2204:7;2200:23;2196:32;2193:52;;;2241:1;2238;2231:12;2193:52;2277:9;2264:23;2254:33;;2334:2;2323:9;2319:18;2306:32;2296:42;;2388:2;2377:9;2373:18;2360:32;2401:28;2423:5;2401:28;:::i;2464:464::-;2552:6;2560;2568;2621:2;2609:9;2600:7;2596:23;2592:32;2589:52;;;2637:1;2634;2627:12;2589:52;2673:9;2660:23;2650:33;;2733:2;2722:9;2718:18;2705:32;2746:31;2771:5;2746:31;:::i;:::-;2796:5;-1:-1:-1;2853:2:8;2838:18;;2825:32;2866:30;2825:32;2866:30;:::i;3683:374::-;3753:8;3763:6;3817:3;3810:4;3802:6;3798:17;3794:27;3784:55;;3835:1;3832;3825:12;3784:55;-1:-1:-1;3858:20:8;;3901:18;3890:30;;3887:50;;;3933:1;3930;3923:12;3887:50;3970:4;3962:6;3958:17;3946:29;;4030:3;4023:4;4013:6;4010:1;4006:14;3998:6;3994:27;3990:38;3987:47;3984:67;;;4047:1;4044;4037:12;3984:67;3683:374;;;;;:::o;4062:455::-;4159:6;4167;4220:2;4208:9;4199:7;4195:23;4191:32;4188:52;;;4236:1;4233;4226:12;4188:52;4276:9;4263:23;4309:18;4301:6;4298:30;4295:50;;;4341:1;4338;4331:12;4295:50;4380:77;4449:7;4440:6;4429:9;4425:22;4380:77;:::i;:::-;4476:8;;4354:103;;-1:-1:-1;4062:455:8;-1:-1:-1;;;;4062:455:8:o;4522:258::-;4594:1;4604:113;4618:6;4615:1;4612:13;4604:113;;;4694:11;;;4688:18;4675:11;;;4668:39;4640:2;4633:10;4604:113;;;4735:6;4732:1;4729:13;4726:48;;;-1:-1:-1;;4770:1:8;4752:16;;4745:27;4522:258::o;4785:316::-;4826:3;4864:5;4858:12;4891:6;4886:3;4879:19;4907:63;4963:6;4956:4;4951:3;4947:14;4940:4;4933:5;4929:16;4907:63;:::i;:::-;5015:2;5003:15;5020:66;4999:88;4990:98;;;;5090:4;4986:109;;4785:316;-1:-1:-1;;4785:316:8:o;5106:859::-;5266:4;5295:2;5335;5324:9;5320:18;5365:2;5354:9;5347:21;5388:6;5423;5417:13;5454:6;5446;5439:22;5492:2;5481:9;5477:18;5470:25;;5554:2;5544:6;5541:1;5537:14;5526:9;5522:30;5518:39;5504:53;;5592:2;5584:6;5580:15;5613:1;5623:313;5637:6;5634:1;5631:13;5623:313;;;5726:66;5714:9;5706:6;5702:22;5698:95;5693:3;5686:108;5817:39;5849:6;5840;5834:13;5817:39;:::i;:::-;5807:49;-1:-1:-1;5914:12:8;;;;5879:15;;;;5659:1;5652:9;5623:313;;;-1:-1:-1;5953:6:8;;5106:859;-1:-1:-1;;;;;;;5106:859:8:o;7216:184::-;7268:77;7265:1;7258:88;7365:4;7362:1;7355:15;7389:4;7386:1;7379:15;7752:184;7804:77;7801:1;7794:88;7901:4;7898:1;7891:15;7925:4;7922:1;7915:15;7941:228;7981:7;8107:1;8039:66;8035:74;8032:1;8029:81;8024:1;8017:9;8010:17;8006:105;8003:131;;;8114:18;;:::i;:::-;-1:-1:-1;8154:9:8;;7941:228::o;8174:274::-;8214:1;8240;8230:189;;8275:77;8272:1;8265:88;8376:4;8373:1;8366:15;8404:4;8401:1;8394:15;8230:189;-1:-1:-1;8433:9:8;;8174:274::o;8453:125::-;8493:4;8521:1;8518;8515:8;8512:34;;;8526:18;;:::i;:::-;-1:-1:-1;8563:9:8;;8453:125::o;8944:184::-;9014:6;9067:2;9055:9;9046:7;9042:23;9038:32;9035:52;;;9083:1;9080;9073:12;9035:52;-1:-1:-1;9106:16:8;;8944:184;-1:-1:-1;8944:184:8:o;9133:128::-;9173:3;9204:1;9200:6;9197:1;9194:13;9191:39;;;9210:18;;:::i;:::-;-1:-1:-1;9246:9:8;;9133:128::o;9590:195::-;9629:3;9660:66;9653:5;9650:77;9647:103;;;9730:18;;:::i;:::-;-1:-1:-1;9777:1:8;9766:13;;9590:195::o;10143:184::-;10195:77;10192:1;10185:88;10292:4;10289:1;10282:15;10316:4;10313:1;10306:15;10332:580;10409:4;10415:6;10475:11;10462:25;10565:66;10554:8;10538:14;10534:29;10530:102;10510:18;10506:127;10496:155;;10647:1;10644;10637:12;10496:155;10674:33;;10726:20;;;-1:-1:-1;10769:18:8;10758:30;;10755:50;;;10801:1;10798;10791:12;10755:50;10834:4;10822:17;;-1:-1:-1;10865:14:8;10861:27;;;10851:38;;10848:58;;;10902:1;10899;10892:12;12029:245;12096:6;12149:2;12137:9;12128:7;12124:23;12120:32;12117:52;;;12165:1;12162;12155:12;12117:52;12197:9;12191:16;12216:28;12238:5;12216:28;:::i;13097:274::-;13226:3;13264:6;13258:13;13280:53;13326:6;13321:3;13314:4;13306:6;13302:17;13280:53;:::i;:::-;13349:16;;;;;13097:274;-1:-1:-1;;13097:274:8:o;13376:219::-;13525:2;13514:9;13507:21;13488:4;13545:44;13585:2;13574:9;13570:18;13562:6;13545:44;:::i

Swarm Source

ipfs://4f8418a82ac100b5fbe22c7dc5a6ca94a976ed60f74b426cd7f28c5eae97c070

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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