Contract 0xb9c951c85c8646dafcdc0ad99d326c621abbadce 7

 

Contract Overview

Balance:
0 MATIC

MATIC Value:
$0.00

Token:
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xad9e4945cc6f1ca93734bbd6b899f158c8c60eccc599bfa7edff29dec2b428f5Deposit317275672022-08-10 9:44:3441 mins ago0xa84fe466486223fa9bba2dd3ecfb5c1100311711 IN  0xb9c951c85c8646dafcdc0ad99d326c621abbadce0 MATIC0.002650035 31
0xda8b9ca66dcf26e9150563ce508172bea62685b1b93192695c81eea88e2ac035Deposit317257052022-08-10 8:33:321 hr 52 mins ago0x215f05963c3cfbdd4c03b61a71fbda1d04bda188 IN  0xb9c951c85c8646dafcdc0ad99d326c621abbadce0 MATIC0.0026756805 31.3
0x8cefa28fb9ee90003e12e4f7d48ed58315b9bee3e919cc59584a8b162b77931eDeposit317242682022-08-10 7:34:132 hrs 52 mins ago0x3159bfbb1f89b363c24ead3aa5aaafe400269e69 IN  0xb9c951c85c8646dafcdc0ad99d326c621abbadce0 MATIC0.0035392049 34.1
0x141c4e699f5a964c3ac2e86bb2f23dea0d542aa86a79880b0773f28939cf56ceDeposit317207062022-08-10 5:03:075 hrs 23 mins ago0x972b0f9cde1266e860e546ac92e783741769400f IN  0xb9c951c85c8646dafcdc0ad99d326c621abbadce0 MATIC0.004932408397 44.197999943
0x0741fda60b4b69ae2fe4b5a762e42c5adec1d95cea721f79cf18c1704a6dc9a7Deposit317143582022-08-10 0:31:199 hrs 55 mins ago0xb96eae5ec9b149f99d02ea9c60767f9573c6d4c3 IN  0xb9c951c85c8646dafcdc0ad99d326c621abbadce0 MATIC0.0034194 40
0xec3b2c438e3d7faa9eb9bb2568cca5bcec6842ccb264b67a39e6aaf06c4636efDeposit317096312022-08-09 21:22:0813 hrs 4 mins ago0x6c2693f5a936f37ed03cfa8465bf2d8beff19a0f IN  0xb9c951c85c8646dafcdc0ad99d326c621abbadce0 MATIC0.0027355232
0xb54ee8b4072318002ba58e71f8bea6574733f2a6edce6d34e30396dde20ffd6fDeposit317054722022-08-09 18:50:4115 hrs 35 mins ago0x7e0c082868af8f06a4aadab34af36984b8ea0c38 IN  0xb9c951c85c8646dafcdc0ad99d326c621abbadce0 MATIC0.0031240489 30.1
0x8e48cd4efef47094c051873656b654333e89459a7e2570a66a607e22004e8d4dDeposit317052662022-08-09 18:43:0715 hrs 43 mins ago0x7e0c082868af8f06a4aadab34af36984b8ea0c38 IN  0xb9c951c85c8646dafcdc0ad99d326c621abbadce0 MATIC0.002701326 31.6
0x01228aa8b24ef6feea843b11ea15dc2e73020b17b6b170f1632d6752da8eb58fDeposit317024382022-08-09 17:01:5817 hrs 24 mins ago0xcdd208840c6c8b9a78ac866118710fd2b3652cb9 IN  0xb9c951c85c8646dafcdc0ad99d326c621abbadce0 MATIC0.0025730985 30.1
0xca96b2a7301eeb354f974866ef20096ea29742c0b9133590dc7346d38c4c674dDeposit317024182022-08-09 17:01:1817 hrs 25 mins ago0xcdd208840c6c8b9a78ac866118710fd2b3652cb9 IN  0xb9c951c85c8646dafcdc0ad99d326c621abbadce0 MATIC0.0025730985 30.1
0xc75c23f3fa1f3a2ed3916d3417a8e8b6545c0283d8a8d3f2b880abf665310164Deposit317024082022-08-09 17:00:5817 hrs 25 mins ago0xcdd208840c6c8b9a78ac866118710fd2b3652cb9 IN  0xb9c951c85c8646dafcdc0ad99d326c621abbadce0 MATIC0.0025730985 30.1
0xdbcaa00e6f3d60293b9275847f0892bbb63f803d6305069eef9d191e96c51966Deposit317024002022-08-09 17:00:4217 hrs 25 mins ago0xcdd208840c6c8b9a78ac866118710fd2b3652cb9 IN  0xb9c951c85c8646dafcdc0ad99d326c621abbadce0 MATIC0.0025730985 30.1
0x900d45539197f42af8b80fd378dc95066941b3b2b202879e3d3692139dc0ebbbDeposit317018932022-08-09 16:43:0917 hrs 43 mins ago0x643700b0703c013a66d20f85538006fe3d497669 IN  0xb9c951c85c8646dafcdc0ad99d326c621abbadce0 MATIC0.002607292501 30.500000016
0xb3fcabebf5642af154b243cccea01e7467d795154c0cd92ad015a1c3ec8f0d91Deposit317018872022-08-09 16:42:5317 hrs 43 mins ago0x643700b0703c013a66d20f85538006fe3d497669 IN  0xb9c951c85c8646dafcdc0ad99d326c621abbadce0 MATIC0.002607292501 30.500000017
0xc8df03d211a1e016b855196acdf0597f6e4ad0dff71c950770e974d3c88216adDeposit317018802022-08-09 16:42:3917 hrs 43 mins ago0x643700b0703c013a66d20f85538006fe3d497669 IN  0xb9c951c85c8646dafcdc0ad99d326c621abbadce0 MATIC0.002607292501 30.500000017
0x1dcce52211478509b20ddcd58b88859d9c44958d92d4f73aff9f6092e8a49279Deposit317004642022-08-09 15:53:5918 hrs 32 mins ago0xe258f4e40904bfbf864200f284d83db8b492df52 IN  0xb9c951c85c8646dafcdc0ad99d326c621abbadce0 MATIC0.002974878 34.8
0x599bf9db81bc2143edab4b7b6f51d32e6b72ece2844d805c056dcb7f4fcf117cWithdraw316988742022-08-09 14:57:0919 hrs 29 mins ago0x7eb594b58defec43254a4fd6659f122be376eb12 IN  0xb9c951c85c8646dafcdc0ad99d326c621abbadce0 MATIC0.0033108032 30.4
0x1547b5ea44d0b9ce376f1d26253c5563be1822a38e1aa93d881c54e1294f46efDeposit316983102022-08-09 14:35:4119 hrs 50 mins ago0x4e0985e556069b3d69f4e76db3e2b8d2b5047956 IN  0xb9c951c85c8646dafcdc0ad99d326c621abbadce0 MATIC0.0047444175 55.5
0x35ae090e8a20c68e51dc42ab2ec3474f8d161bc6ddce713b1fe9df7046dbced2Deposit316950412022-08-09 12:24:0722 hrs 2 mins ago0x080bc8fa0582b4fc8a95af2f720528e501bb09e2 IN  0xb9c951c85c8646dafcdc0ad99d326c621abbadce0 MATIC0.004716352774 55.1717
0xb09bd12f06a36a6b85524c72e0706056514eb46397201e6a3f2ee448c5852df9Deposit316950412022-08-09 12:24:0722 hrs 2 mins ago0x080bc8fa0582b4fc8a95af2f720528e501bb09e2 IN  0xb9c951c85c8646dafcdc0ad99d326c621abbadce0 MATIC0.003316818 38.8
0x1948ed33d8edd5913fb340ae46d6bfaedd54ad6e1c42c82c2b9d130b616f9353Deposit316940732022-08-09 11:42:1522 hrs 44 mins ago0x9812a13bc9d00777821f65adedf7068f1dc00082 IN  0xb9c951c85c8646dafcdc0ad99d326c621abbadce0 MATIC0.0025730985 30.1
0x97c16c39f70358b2b182781053005241f28c5a6861022d1eb410f3e46acc812fDeposit316929682022-08-09 10:57:5323 hrs 28 mins ago0x4e988d2493201d8984a20d43ad195f8a3c1f953a IN  0xb9c951c85c8646dafcdc0ad99d326c621abbadce0 MATIC0.0031240489 30.1
0x58f097316e627ca231cf42bf20951d3828f98394dc70d9f855dd46dacb1060efDeposit316927292022-08-09 10:49:3923 hrs 36 mins ago0x91a4815d131c194c9138970245ed96be2cb8c01c IN  0xb9c951c85c8646dafcdc0ad99d326c621abbadce0 MATIC0.0025730985 30.1
0x70fac5a5a3f74925bc1d48db41c1cd05ec1cfbd7607714c6b6366982d159b1edDeposit316925472022-08-09 10:41:2723 hrs 44 mins ago0x0dc344a90a4908be5a365aae042a95c27a8266de IN  0xb9c951c85c8646dafcdc0ad99d326c621abbadce0 MATIC0.0031698765 30.9
0xde1b0bb66d32c68d66ddd99efce5a67399f2d788f05a301d5db200b3e9ff6627Withdraw316925082022-08-09 10:39:5723 hrs 46 mins ago0x4e988d2493201d8984a20d43ad195f8a3c1f953a IN  0xb9c951c85c8646dafcdc0ad99d326c621abbadce0 MATIC0.003912381 33
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
IDEXFarm

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 999999 runs

Other Settings:
default evmVersion, GNU LGPLv3 license

Contract Source Code (Solidity Multiple files format)

File 1 of 9: IDEXFarm.sol
// SPDX-License-Identifier: LGPL-3.0-only

pragma solidity 0.6.12;

import './SafeMath.sol';
import './IERC20.sol';
import './SafeERC20.sol';
import './Ownable.sol';

// import "@nomiclabs/buidler/console.sol";

interface IIDEXMigrator {
  // Perform LP token migration from legacy.
  // Take the current LP token address and return the new LP token address.
  // Migrator should have full access to the caller's LP token.
  // Return the new LP token address.
  //
  // XXX Migrator must have allowance access to original LP tokens and must
  // mint EXACTLY the same amount of new LP tokens.
  function migrate(IERC20 token, bool isToken1Quote, address WETH) external returns (IERC20);
}

contract IDEXFarm is Ownable {
  using SafeMath for uint256;
  using SafeERC20 for IERC20;

  // Info of each user.
  struct UserInfo {
    uint256 amount; // How many LP tokens the user has provided.
    uint256 rewardDebt; // Reward debt. See explanation below.
    //
    // We do some fancy math here. Basically, any point in time, the amount of reward tokens
    // entitled to a user but is pending to be distributed is:
    //
    //   pending reward = (user.amount * pool.accRewardPerShare) - user.rewardDebt
    //
    // 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 `rewardDebt` gets updated.
  }

  // Info of each pool.
  struct PoolInfo {
    IERC20 lpToken; // Address of LP token contract.
    uint256 allocPoint; // How many allocation points assigned to this pool. Reward to distribute per block.
    uint256 lastRewardBlock; // Last block number that reward distribution occurs.
    uint256 accRewardPerShare; // Accumulated rewards per share, times 1e12. See below.
  }

  // The reward token
  IERC20 public rewardToken;
  // Reward tokens created per block.
  uint256 public rewardTokenPerBlock;
  // The migrator contract. It has a lot of power. Can only be set through governance (owner).
  IIDEXMigrator public migrator;

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

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

  constructor(IERC20 _rewardToken, uint256 _rewardTokenPerBlock) public {
    rewardToken = _rewardToken;
    rewardTokenPerBlock = _rewardTokenPerBlock;
  }

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

  // Add a new lp to the pool. Can only be called by the owner.
  // XXX DO NOT add the same LP token more than once. Rewards will be messed up if you do.
  function add(
    uint256 _allocPoint,
    IERC20 _lpToken,
    bool _withUpdate
  ) public onlyOwner {
    if (_withUpdate) {
      massUpdatePools();
    }
    totalAllocPoint = totalAllocPoint.add(_allocPoint);
    poolInfo.push(
      PoolInfo({
        lpToken: _lpToken,
        allocPoint: _allocPoint,
        lastRewardBlock: block.number,
        accRewardPerShare: 0
      })
    );
  }

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

  // Set the migrator contract. Can only be called by the owner.
  function setMigrator(IIDEXMigrator _migrator) public onlyOwner {
    require(address(migrator) == address(0), 'setMigrator: already set');
    migrator = _migrator;
  }

  // Migrate lp token to another lp contract. We trust that migrator contract is good.
  function migrate(uint256 _pid, bool isToken1Quote, address WETH) public onlyOwner {
    require(address(migrator) != address(0), 'migrate: no migrator');
    PoolInfo storage pool = poolInfo[_pid];
    IERC20 lpToken = pool.lpToken;
    uint256 bal = lpToken.balanceOf(address(this));
    lpToken.safeApprove(address(migrator), bal);
    IERC20 newLpToken = migrator.migrate(lpToken, isToken1Quote, WETH);
    require(bal == newLpToken.balanceOf(address(this)), 'migrate: bad');
    pool.lpToken = newLpToken;
  }

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

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

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

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

  // Deposit LP tokens to Farm for reward allocation.
  function deposit(uint256 _pid, uint256 _amount) public {
    PoolInfo storage pool = poolInfo[_pid];
    UserInfo storage user = userInfo[_pid][msg.sender];
    updatePool(_pid);
    if (user.amount > 0) {
      uint256 pending =
        user.amount.mul(pool.accRewardPerShare).div(1e12).sub(user.rewardDebt);
      if (pending > 0) {
        safeRewardTokenTransfer(msg.sender, pending);
      }
    }
    if (_amount > 0) {
      pool.lpToken.safeTransferFrom(
        address(msg.sender),
        address(this),
        _amount
      );
      user.amount = user.amount.add(_amount);
    }
    user.rewardDebt = user.amount.mul(pool.accRewardPerShare).div(1e12);
    emit Deposit(msg.sender, _pid, _amount);
  }

  // Withdraw LP tokens from Farm.
  function withdraw(uint256 _pid, uint256 _amount) public {
    PoolInfo storage pool = poolInfo[_pid];
    UserInfo storage user = userInfo[_pid][msg.sender];
    require(user.amount >= _amount, 'withdraw: not good');
    updatePool(_pid);
    uint256 pending =
      user.amount.mul(pool.accRewardPerShare).div(1e12).sub(user.rewardDebt);
    if (pending > 0) {
      safeRewardTokenTransfer(msg.sender, pending);
    }
    if (_amount > 0) {
      user.amount = user.amount.sub(_amount);
      pool.lpToken.safeTransfer(address(msg.sender), _amount);
    }
    user.rewardDebt = user.amount.mul(pool.accRewardPerShare).div(1e12);
    emit Withdraw(msg.sender, _pid, _amount);
  }

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

  // Safe token transfer function, just in case pool does not have enough rewards.
  function safeRewardTokenTransfer(address _to, uint256 _amount) private {
    uint256 rewardBalance = rewardToken.balanceOf(address(this));
    require(rewardBalance >= _amount, 'safeRewardTokenTransfer: insufficient balance');

    rewardToken.transfer(_to, _amount);
  }

  // Admin controls //

  // Assert _withUpdate or new emission rate will be retroactive to last update for all pools
  function setRewardPerBlock(uint256 _rewardTokenPerBlock, bool _withUpdate)
    external
    onlyOwner
  {
    if (_withUpdate) {
      massUpdatePools();
    }
    rewardTokenPerBlock = _rewardTokenPerBlock;
  }

  function withdrawRewardToken(uint256 _amount) external onlyOwner {
    rewardToken.transfer(msg.sender, _amount);
  }
}

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

pragma solidity ^0.6.2;

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

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

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

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

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

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

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

pragma solidity ^0.6.0;

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

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

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

pragma solidity 0.6.12;

import { IUniswapV2Pair } from "./IUniswapV2Pair.sol";

interface ICustodian {
    function loadExchange() external view returns (IExchange exchange);
}

interface IExchange {
    function migrateLiquidityPool(address token0, address token1, bool isToken1Quote, uint256 desiredLiquidity, address to, address WETH) external returns (address liquidityProviderToken);
}

contract IDEXMigrator {
    address public farm;
    ICustodian public custodian;
    uint256 public notBeforeBlock;

    constructor(
        address _farm,
        ICustodian _custodian,
        uint256 _notBeforeBlock
    ) public {
        farm = _farm;
        custodian = _custodian;
        notBeforeBlock = _notBeforeBlock;
    }

    // Can only be called by the farm contract set in the constructor
    function migrate(IUniswapV2Pair orig, bool isToken1Quote, address WETH) public returns (address liquidityProviderToken) {
        require(msg.sender == farm, "not from farm");
        require(block.number >= notBeforeBlock, "too early to migrate");
        address token0 = orig.token0();
        address token1 = orig.token1();
        uint256 desiredLiquidity = orig.balanceOf(msg.sender);
        if (desiredLiquidity == 0) return address(0x0);
        orig.transferFrom(msg.sender, address(orig), desiredLiquidity);

        IExchange exchange = custodian.loadExchange();
        orig.burn(address(exchange));
        liquidityProviderToken = exchange.migrateLiquidityPool(token0, token1, isToken1Quote, desiredLiquidity, msg.sender, WETH);
    }
}

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

pragma solidity ^0.6.0;

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

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

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

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

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

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

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

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

File 6 of 9: IUniswapV2Pair.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity >=0.5.0;

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

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

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

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

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

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

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

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

    function initialize(address, address) external;
}

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

pragma solidity ^0.6.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.
 */
contract Ownable is Context {
    address private _owner;

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

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

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

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

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

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

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

pragma solidity ^0.6.0;

import "./IERC20.sol";
import "./SafeMath.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 SafeMath for uint256;
    using Address for address;

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

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

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

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

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

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

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

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

pragma solidity ^0.6.0;

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_rewardToken","type":"address"},{"internalType":"uint256","name":"_rewardTokenPerBlock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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"}],"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":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"bool","name":"isToken1Quote","type":"bool"},{"internalType":"address","name":"WETH","type":"address"}],"name":"migrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"migrator","outputs":[{"internalType":"contract IIDEXMigrator","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accRewardPerShare","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardTokenPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"contract IIDEXMigrator","name":"_migrator","type":"address"}],"name":"setMigrator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardTokenPerBlock","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"setRewardPerBlock","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":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawRewardToken","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600060065534801561001557600080fd5b5060405161245c38038061245c8339818101604052604081101561003857600080fd5b508051602090910151600061004b6100be565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b0319166001600160a01b0393909316929092179091556002556100c2565b3390565b61238b806100d16000396000f3fe608060405234801561001057600080fd5b506004361061018d5760003560e01c806364482f79116100e35780638dbb1e3a1161008c578063e2bbb15811610066578063e2bbb1581461048e578063f2fde38b146104b1578063f7c618c1146104e45761018d565b80638dbb1e3a146103e057806393f1a40b1461040357806398969e82146104555761018d565b80637cd07e47116100bd5780637cd07e471461038257806381505c05146103b35780638da5cb5b146103d85761018d565b806364482f791461030e578063715018a614610339578063762fbc2d146103415761018d565b806324d51424116101455780635312ea8e1161011f5780635312ea8e146102e1578063554c798a146102fe578063630b5ba1146103065761018d565b806324d5142414610284578063441a3e70146102a157806351eb05a6146102c45761018d565b806317caf6f11161017657806317caf6f1146102065780631eaaa0451461020e57806323cf3118146102515761018d565b8063081e3eda146101925780631526fe27146101ac575b600080fd5b61019a6104ec565b60408051918252519081900360200190f35b6101c9600480360360208110156101c257600080fd5b50356104f2565b6040805173ffffffffffffffffffffffffffffffffffffffff90951685526020850193909352838301919091526060830152519081900360800190f35b61019a610540565b61024f6004803603606081101561022457600080fd5b5080359073ffffffffffffffffffffffffffffffffffffffff60208201351690604001351515610546565b005b61024f6004803603602081101561026757600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661070c565b61024f6004803603602081101561029a57600080fd5b5035610869565b61024f600480360360408110156102b757600080fd5b50803590602001356109a3565b61024f600480360360208110156102da57600080fd5b5035610b34565b61024f600480360360208110156102f757600080fd5b5035610c8a565b61019a610d32565b61024f610d38565b61024f6004803603606081101561032457600080fd5b50803590602081013590604001351515610d5b565b61024f610e65565b61024f6004803603606081101561035757600080fd5b5080359060208101351515906040013573ffffffffffffffffffffffffffffffffffffffff16610f65565b61038a611363565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b61024f600480360360408110156103c957600080fd5b5080359060200135151561137f565b61038a611424565b61019a600480360360408110156103f657600080fd5b5080359060200135611440565b61043c6004803603604081101561041957600080fd5b508035906020013573ffffffffffffffffffffffffffffffffffffffff16611455565b6040805192835260208301919091528051918290030190f35b61019a6004803603604081101561046b57600080fd5b508035906020013573ffffffffffffffffffffffffffffffffffffffff16611479565b61024f600480360360408110156104a457600080fd5b5080359060200135611601565b61024f600480360360208110156104c757600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611720565b61038a6118aa565b60045490565b600481815481106104ff57fe5b6000918252602090912060049091020180546001820154600283015460039093015473ffffffffffffffffffffffffffffffffffffffff9092169350919084565b60065481565b61054e6118c6565b60005473ffffffffffffffffffffffffffffffffffffffff9081169116146105d757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b80156105e5576105e5610d38565b6006546105f290846118ca565b600655506040805160808101825273ffffffffffffffffffffffffffffffffffffffff92831681526020810193845243918101918252600060608201818152600480546001810182559281905292517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b9290930291820180547fffffffffffffffffffffffff000000000000000000000000000000000000000016939095169290921790935592517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c830155517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19d82015590517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19e90910155565b6107146118c6565b60005473ffffffffffffffffffffffffffffffffffffffff90811691161461079d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60035473ffffffffffffffffffffffffffffffffffffffff161561082257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f7365744d69677261746f723a20616c7265616479207365740000000000000000604482015290519081900360640190fd5b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6108716118c6565b60005473ffffffffffffffffffffffffffffffffffffffff9081169116146108fa57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600154604080517fa9059cbb00000000000000000000000000000000000000000000000000000000815233600482015260248101849052905173ffffffffffffffffffffffffffffffffffffffff9092169163a9059cbb916044808201926020929091908290030181600087803b15801561097457600080fd5b505af1158015610988573d6000803e3d6000fd5b505050506040513d602081101561099e57600080fd5b505050565b6000600483815481106109b257fe5b600091825260208083208684526005825260408085203386529092529220805460049092029092019250831115610a4a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f77697468647261773a206e6f7420676f6f640000000000000000000000000000604482015290519081900360640190fd5b610a5384610b34565b6000610a8d8260010154610a8764e8d4a51000610a818760030154876000015461193e90919063ffffffff16565b906119b1565b906119f3565b90508015610a9f57610a9f3382611a35565b8315610ad6578154610ab190856119f3565b82558254610ad69073ffffffffffffffffffffffffffffffffffffffff163386611bda565b60038301548254610af19164e8d4a5100091610a819161193e565b6001830155604080518581529051869133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050505050565b600060048281548110610b4357fe5b9060005260206000209060040201905080600201544311610b645750610c87565b8054604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905160009273ffffffffffffffffffffffffffffffffffffffff16916370a08231916024808301926020929190829003018186803b158015610bd457600080fd5b505afa158015610be8573d6000803e3d6000fd5b505050506040513d6020811015610bfe57600080fd5b5051905080610c14575043600290910155610c87565b6000610c24836002015443611440565b90506000610c51600654610a818660010154610c4b6002548761193e90919063ffffffff16565b9061193e565b9050610c74610c6984610a818464e8d4a5100061193e565b6003860154906118ca565b6003850155505043600290920191909155505b50565b600060048281548110610c9957fe5b60009182526020808320858452600582526040808520338087529352909320805460049093029093018054909450610ceb9273ffffffffffffffffffffffffffffffffffffffff919091169190611bda565b80546040805191825251849133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a360008082556001909101555050565b60025481565b60045460005b81811015610d5757610d4f81610b34565b600101610d3e565b5050565b610d636118c6565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614610dec57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b8015610dfa57610dfa610d38565b610e3782610e3160048681548110610e0e57fe5b9060005260206000209060040201600101546006546119f390919063ffffffff16565b906118ca565b6006819055508160048481548110610e4b57fe5b906000526020600020906004020160010181905550505050565b610e6d6118c6565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614610ef657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b610f6d6118c6565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614610ff657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60035473ffffffffffffffffffffffffffffffffffffffff1661107a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f6d6967726174653a206e6f206d69677261746f72000000000000000000000000604482015290519081900360640190fd5b60006004848154811061108957fe5b600091825260208083206004928302018054604080517f70a0823100000000000000000000000000000000000000000000000000000000815230958101959095525191955073ffffffffffffffffffffffffffffffffffffffff16939284926370a0823192602480840193829003018186803b15801561110857600080fd5b505afa15801561111c573d6000803e3d6000fd5b505050506040513d602081101561113257600080fd5b505160035490915061115e9073ffffffffffffffffffffffffffffffffffffffff848116911683611c67565b600354604080517ff693e8c800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8581166004830152881515602483015287811660448301529151600093929092169163f693e8c89160648082019260209290919082900301818787803b1580156111e657600080fd5b505af11580156111fa573d6000803e3d6000fd5b505050506040513d602081101561121057600080fd5b5051604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905191925073ffffffffffffffffffffffffffffffffffffffff8316916370a0823191602480820192602092909190829003018186803b15801561128257600080fd5b505afa158015611296573d6000803e3d6000fd5b505050506040513d60208110156112ac57600080fd5b5051821461131b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f6d6967726174653a206261640000000000000000000000000000000000000000604482015290519081900360640190fd5b83547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff91909116179092555050505050565b60035473ffffffffffffffffffffffffffffffffffffffff1681565b6113876118c6565b60005473ffffffffffffffffffffffffffffffffffffffff90811691161461141057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b801561141e5761141e610d38565b50600255565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b600061144c82846119f3565b90505b92915050565b60056020908152600092835260408084209091529082529020805460019091015482565b6000806004848154811061148957fe5b6000918252602080832087845260058252604080852073ffffffffffffffffffffffffffffffffffffffff898116875290845281862060049586029093016003810154815484517f70a082310000000000000000000000000000000000000000000000000000000081523098810198909852935191985093969395939492909116926370a08231926024808301939192829003018186803b15801561152d57600080fd5b505afa158015611541573d6000803e3d6000fd5b505050506040513d602081101561155757600080fd5b505160028501549091504311801561156e57508015155b156115ce576000611583856002015443611440565b905060006115aa600654610a818860010154610c4b6002548761193e90919063ffffffff16565b90506115c96115c284610a818464e8d4a5100061193e565b85906118ca565b935050505b6115f68360010154610a8764e8d4a51000610a8186886000015461193e90919063ffffffff16565b979650505050505050565b60006004838154811061161057fe5b6000918252602080832086845260058252604080852033865290925292206004909102909101915061164184610b34565b80541561168a5760006116768260010154610a8764e8d4a51000610a818760030154876000015461193e90919063ffffffff16565b90508015611688576116883382611a35565b505b82156116c35781546116b49073ffffffffffffffffffffffffffffffffffffffff16333086611df5565b80546116c090846118ca565b81555b600382015481546116de9164e8d4a5100091610a819161193e565b6001820155604080518481529051859133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a350505050565b6117286118c6565b60005473ffffffffffffffffffffffffffffffffffffffff9081169116146117b157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff811661181d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806122826026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b3390565b60008282018381101561144c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60008261194d5750600061144f565b8282028284828161195a57fe5b041461144c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806122a86021913960400191505060405180910390fd5b600061144c83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611e90565b600061144c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611f4c565b600154604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905160009273ffffffffffffffffffffffffffffffffffffffff16916370a08231916024808301926020929190829003018186803b158015611aa657600080fd5b505afa158015611aba573d6000803e3d6000fd5b505050506040513d6020811015611ad057600080fd5b5051905081811015611b2d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d8152602001806122c9602d913960400191505060405180910390fd5b600154604080517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015611ba957600080fd5b505af1158015611bbd573d6000803e3d6000fd5b505050506040513d6020811015611bd357600080fd5b5050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905261099e908490611fc0565b801580611d135750604080517fdd62ed3e00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015611ce557600080fd5b505afa158015611cf9573d6000803e3d6000fd5b505050506040513d6020811015611d0f57600080fd5b5051155b611d68576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260368152602001806123206036913960400191505060405180910390fd5b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f095ea7b30000000000000000000000000000000000000000000000000000000017905261099e908490611fc0565b6040805173ffffffffffffffffffffffffffffffffffffffff80861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000179052611e8a908590611fc0565b50505050565b60008183611f36576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611efb578181015183820152602001611ee3565b50505050905090810190601f168015611f285780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581611f4257fe5b0495945050505050565b60008184841115611fb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201818152835160248401528351909283926044909101919085019080838360008315611efb578181015183820152602001611ee3565b505050900390565b6060612022826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166120989092919063ffffffff16565b80519091501561099e5780806020019051602081101561204157600080fd5b505161099e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806122f6602a913960400191505060405180910390fd5b60606120a784846000856120af565b949350505050565b60606120ba8561227b565b61212557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831061218f57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101612152565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146121f1576040519150601f19603f3d011682016040523d82523d6000602084013e6121f6565b606091505b5091509150811561220a5791506120a79050565b80511561221a5780518082602001fd5b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201818152865160248401528651879391928392604401919085019080838360008315611efb578181015183820152602001611ee3565b3b15159056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7773616665526577617264546f6b656e5472616e736665723a20696e73756666696369656e742062616c616e63655361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a26469706673582212201c133669e17d4e724986818c0110ff35eee33c7653594f897297080483bcdcc564736f6c634300060c00330000000000000000000000009cb74c8032b007466865f060ad2c46145d45553d0000000000000000000000000000000000000000000000000000000000000000

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

0000000000000000000000009cb74c8032b007466865f060ad2c46145d45553d0000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _rewardToken (address): 0x9cb74c8032b007466865f060ad2c46145d45553d
Arg [1] : _rewardTokenPerBlock (uint256): 0

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000009cb74c8032b007466865f060ad2c46145d45553d
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000


Deployed ByteCode Sourcemap

691:8774:2:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2893:87;;;:::i;:::-;;;;;;;;;;;;;;;;2210:26;;;;;;;;;;;;;;;;-1:-1:-1;2210:26:2;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2439:34;;;:::i;3139:397::-;;;;;;;;;;;;;;;;-1:-1:-1;3139:397:2;;;;;;;;;;;;;;;;:::i;:::-;;3998:168;;;;;;;;;;;;;;;;-1:-1:-1;3998:168:2;;;;:::i;9346:117::-;;;;;;;;;;;;;;;;-1:-1:-1;9346:117:2;;:::i;7584:680::-;;;;;;;;;;;;;;;;-1:-1:-1;7584:680:2;;;;;;;:::i;6110:664::-;;;;;;;;;;;;;;;;-1:-1:-1;6110:664:2;;:::i;8328:323::-;;;;;;;;;;;;;;;;-1:-1:-1;8328:323:2;;:::i;2019:34::-;;;:::i;5886:155::-;;;:::i;3627:302::-;;;;;;;;;;;;;;;;-1:-1:-1;3627:302:2;;;;;;;;;;;;;;:::i;1684:145:6:-;;;:::i;4257:513:2:-;;;;;;;;;;;;;;;;-1:-1:-1;4257:513:2;;;;;;;;;;;;;;;;:::i;2152:29::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9131:211;;;;;;;;;;;;;;;;-1:-1:-1;9131:211:2;;;;;;;;;:::i;1061:77:6:-;;;:::i;4839:127:2:-;;;;;;;;;;;;;;;;-1:-1:-1;4839:127:2;;;;;;;:::i;2286:64::-;;;;;;;;;;;;;;;;-1:-1:-1;2286:64:2;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;5025:785;;;;;;;;;;;;;;;;-1:-1:-1;5025:785:2;;;;;;;;;:::i;6832:713::-;;;;;;;;;;;;;;;;-1:-1:-1;6832:713:2;;;;;;;:::i;1978:240:6:-;;;;;;;;;;;;;;;;-1:-1:-1;1978:240:6;;;;:::i;1952:25:2:-;;;:::i;2893:87::-;2960:8;:15;2893:87;:::o;2210:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2210:26:2;;;:::o;2439:34::-;;;;:::o;3139:397::-;1275:12:6;:10;:12::i;:::-;1265:6;;:22;:6;;;:22;;;1257:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3251:11:2::1;3247:49;;;3272:17;:15;:17::i;:::-;3319:15;::::0;:32:::1;::::0;3339:11;3319:19:::1;:32::i;:::-;3301:15;:50:::0;-1:-1:-1;3378:147:2::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;3474:12:::1;3378:147:::0;;;;;;-1:-1:-1;3378:147:2;;;;;;3357:8:::1;:174:::0;;::::1;::::0;::::1;::::0;;;;;;;;;;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;;;;;;;;;;;;;;;;;;;;3139:397::o;3998:168::-;1275:12:6;:10;:12::i;:::-;1265:6;;:22;:6;;;:22;;;1257:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4083:8:2::1;::::0;4075:31:::1;4083:8;4075:31:::0;4067:68:::1;;;::::0;;::::1;::::0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;4141:8;:20:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;3998:168::o;9346:117::-;1275:12:6;:10;:12::i;:::-;1265:6;;:22;:6;;;:22;;;1257:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9417:11:2::1;::::0;:41:::1;::::0;;;;;9438:10:::1;9417:41;::::0;::::1;::::0;;;;;;;;;:11:::1;::::0;;::::1;::::0;:20:::1;::::0;:41;;;;;::::1;::::0;;;;;;;;;:11:::1;::::0;:41;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;;;9346:117:2:o;7584:680::-;7646:21;7670:8;7679:4;7670:14;;;;;;;;;;;;;;;;7714;;;:8;:14;;;;;;7729:10;7714:26;;;;;;;7754:11;;7670:14;;;;;;;;-1:-1:-1;7754:22:2;-1:-1:-1;7754:22:2;7746:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7805:16;7816:4;7805:10;:16::i;:::-;7827:15;7851:70;7905:4;:15;;;7851:49;7895:4;7851:39;7867:4;:22;;;7851:4;:11;;;:15;;:39;;;;:::i;:::-;:43;;:49::i;:::-;:53;;:70::i;:::-;7827:94;-1:-1:-1;7931:11:2;;7927:76;;7952:44;7976:10;7988:7;7952:23;:44::i;:::-;8012:11;;8008:133;;8047:11;;:24;;8063:7;8047:15;:24::i;:::-;8033:38;;8079:12;;:55;;:12;;8113:10;8126:7;8079:25;:55::i;:::-;8180:22;;;;8164:11;;:49;;8208:4;;8164:39;;:15;:39::i;:49::-;8146:15;;;:67;8224:35;;;;;;;;8245:4;;8233:10;;8224:35;;;;;;;;;7584:680;;;;;:::o;6110:664::-;6157:21;6181:8;6190:4;6181:14;;;;;;;;;;;;;;;;;;6157:38;;6221:4;:20;;;6205:12;:36;6201:63;;6251:7;;;6201:63;6288:12;;:37;;;;;;6319:4;6288:37;;;;;;6269:16;;6288:12;;;:22;;:37;;;;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6288:37:2;;-1:-1:-1;6335:13:2;6331:83;;-1:-1:-1;6381:12:2;6358:20;;;;:35;6401:7;;6331:83;6419:18;6440:49;6454:4;:20;;;6476:12;6440:13;:49::i;:::-;6419:70;;6495:22;6526:93;6596:15;;6526:56;6566:4;:15;;;6526:35;6541:19;;6526:10;:14;;:35;;;;:::i;:::-;:39;;:56::i;:93::-;6495:124;-1:-1:-1;6650:78:2;6684:38;6713:8;6684:24;6495:124;6703:4;6684:18;:24::i;:38::-;6650:22;;;;;:26;:78::i;:::-;6625:22;;;:103;-1:-1:-1;;6757:12:2;6734:20;;;;:35;;;;-1:-1:-1;6110:664:2;;:::o;8328:323::-;8382:21;8406:8;8415:4;8406:14;;;;;;;;;;;;;;;;8450;;;:8;:14;;;;;;8465:10;8450:26;;;;;;;;8529:11;;8406:14;;;;;;;8482:12;;8406:14;;-1:-1:-1;8482:59:2;;8450:26;8482:12;;;;;8465:10;8482:25;:59::i;:::-;8588:11;;8552:48;;;;;;;8582:4;;8570:10;;8552:48;;;;;;;;;8620:1;8606:15;;;8627;;;;:19;-1:-1:-1;;8328:323:2:o;2019:34::-;;;;:::o;5886:155::-;5943:8;:15;5926:14;5964:73;5992:6;5986:3;:12;5964:73;;;6015:15;6026:3;6015:10;:15::i;:::-;6000:5;;5964:73;;;;5886:155;:::o;3627:302::-;1275:12:6;:10;:12::i;:::-;1265:6;;:22;:6;;;:22;;;1257:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3736:11:2::1;3732:49;;;3757:17;:15;:17::i;:::-;3804:75;3862:11;3804:46;3824:8;3833:4;3824:14;;;;;;;;;;;;;;;;;;:25;;;3804:15;;:19;;:46;;;;:::i;:::-;:50:::0;::::1;:75::i;:::-;3786:15;:93;;;;3913:11;3885:8;3894:4;3885:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;3627:302:::0;;;:::o;1684:145:6:-;1275:12;:10;:12::i;:::-;1265:6;;:22;:6;;;:22;;;1257:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1790:1:::1;1774:6:::0;;1753:40:::1;::::0;::::1;1774:6:::0;;::::1;::::0;1753:40:::1;::::0;1790:1;;1753:40:::1;1820:1;1803:19:::0;;;::::1;::::0;;1684:145::o;4257:513:2:-;1275:12:6;:10;:12::i;:::-;1265:6;;:22;:6;;;:22;;;1257:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4361:8:2::1;::::0;4353:31:::1;4361:8;4345:64;;;::::0;;::::1;::::0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;4415:21;4439:8;4448:4;4439:14;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;4476:12:::0;;4508:32:::1;::::0;;;;;4534:4:::1;4508:32:::0;;::::1;::::0;;;;;4439:14;;-1:-1:-1;4476:12:2::1;;::::0;4439:14;4476:12;;4508:17:::1;::::0;:32;;;;;;;;;;4476:12;4508:32;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;4508:32:2;4574:8:::1;::::0;4508:32;;-1:-1:-1;4546:43:2::1;::::0;4574:8:::1;4546:19:::0;;::::1;::::0;4574:8:::1;4508:32:::0;4546:19:::1;:43::i;:::-;4615:8;::::0;:46:::1;::::0;;;;;:8:::1;:46:::0;;::::1;;::::0;::::1;::::0;;::::1;;::::0;;;;;;::::1;::::0;;;;;;4595:17:::1;::::0;4615:8;;;::::1;::::0;:16:::1;::::0;:46;;;;;::::1;::::0;;;;;;;;;4595:17;4615:8;:46;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;4615:46:2;4682:35:::1;::::0;;;;;4711:4:::1;4682:35;::::0;::::1;::::0;;;4615:46;;-1:-1:-1;4682:20:2::1;::::0;::::1;::::0;::::1;::::0;:35;;;;;4615:46:::1;::::0;4682:35;;;;;;;;:20;:35;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;4682:35:2;4675:42;::::1;4667:67;;;::::0;;::::1;::::0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;4740:25:::0;;;::::1;;::::0;;;::::1;;::::0;;;-1:-1:-1;;;;;4257:513:2:o;2152:29::-;;;;;;:::o;9131:211::-;1275:12:6;:10;:12::i;:::-;1265:6;;:22;:6;;;:22;;;1257:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9245:11:2::1;9241:49;;;9266:17;:15;:17::i;:::-;-1:-1:-1::0;9295:19:2::1;:42:::0;9131:211::o;1061:77:6:-;1099:7;1125:6;;;1061:77;:::o;4839:127:2:-;4923:7;4947:14;:3;4955:5;4947:7;:14::i;:::-;4940:21;;4839:127;;;;;:::o;2286:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;5025:785::-;5112:7;5129:21;5153:8;5162:4;5153:14;;;;;;;;;;;;;;;;5197;;;:8;:14;;;;;;:21;;;;;;;;;;;;5153:14;;;;;;;5252:22;;;;5299:12;;:37;;;;;5330:4;5299:37;;;;;;;;;5153:14;;-1:-1:-1;5197:21:2;;5252:22;;5153:14;;5299:12;;;;;:22;;:37;;;;;5153:14;;5299:37;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5299:37:2;5361:20;;;;5299:37;;-1:-1:-1;5346:12:2;:35;:52;;;;-1:-1:-1;5385:13:2;;;5346:52;5342:386;;;5408:18;5429:49;5443:4;:20;;;5465:12;5429:13;:49::i;:::-;5408:70;;5486:22;5519:97;5591:15;;5519:56;5559:4;:15;;;5519:35;5534:19;;5519:10;:14;;:35;;;;:::i;:97::-;5486:130;-1:-1:-1;5644:77:2;5675:38;5704:8;5675:24;5486:130;5694:4;5675:18;:24::i;:38::-;5644:17;;:21;:77::i;:::-;5624:97;;5342:386;;;5740:65;5789:4;:15;;;5740:44;5779:4;5740:34;5756:17;5740:4;:11;;;:15;;:34;;;;:::i;:65::-;5733:72;5025:785;-1:-1:-1;;;;;;;5025:785:2:o;6832:713::-;6893:21;6917:8;6926:4;6917:14;;;;;;;;;;;;;;;;6961;;;:8;:14;;;;;;6976:10;6961:26;;;;;;;6917:14;;;;;;;;-1:-1:-1;6993:16:2;6970:4;6993:10;:16::i;:::-;7019:11;;:15;7015:219;;7044:15;7070:70;7124:4;:15;;;7070:49;7114:4;7070:39;7086:4;:22;;;7070:4;:11;;;:15;;:39;;;;:::i;:70::-;7044:96;-1:-1:-1;7152:11:2;;7148:80;;7175:44;7199:10;7211:7;7175:23;:44::i;:::-;7015:219;;7243:11;;7239:184;;7264:12;;:106;;:12;;7311:10;7340:4;7355:7;7264:29;:106::i;:::-;7392:11;;:24;;7408:7;7392:15;:24::i;:::-;7378:38;;7239:184;7462:22;;;;7446:11;;:49;;7490:4;;7446:39;;:15;:39::i;:49::-;7428:15;;;:67;7506:34;;;;;;;;7526:4;;7514:10;;7506:34;;;;;;;;;6832:713;;;;:::o;1978:240:6:-;1275:12;:10;:12::i;:::-;1265:6;;:22;:6;;;:22;;;1257:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2066:22:::1;::::0;::::1;2058:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2167:6;::::0;;2146:38:::1;::::0;::::1;::::0;;::::1;::::0;2167:6;::::1;::::0;2146:38:::1;::::0;::::1;2194:6;:17:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;1978:240::o;1952:25:2:-;;;;;;:::o;590:104:1:-;677:10;590:104;:::o;874:176:8:-;932:7;963:5;;;986:6;;;;978:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2180:459;2238:7;2479:6;2475:45;;-1:-1:-1;2508:1:8;2501:8;;2475:45;2542:5;;;2546:1;2542;:5;:1;2565:5;;;;;:10;2557:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3101:130;3159:7;3185:39;3189:1;3192;3185:39;;;;;;;;;;;;;;;;;:3;:39::i;1321:134::-;1379:7;1405:43;1409:1;1412;1405:43;;;;;;;;;;;;;;;;;:3;:43::i;8738:271:2:-;8839:11;;:36;;;;;;8869:4;8839:36;;;;;;8815:21;;8839:11;;;:21;;:36;;;;;;;;;;;;;;:11;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8839:36:2;;-1:-1:-1;8889:24:2;;;;8881:82;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8970:11;;:34;;;;;;:11;:34;;;;;;;;;;;;;;;:11;;;;;:20;;:34;;;;;;;;;;;;;;:11;;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8738:271:2:o;677:175:7:-;786:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;809:23;786:58;;;759:86;;779:5;;759:19;:86::i;1321:613::-;1686:10;;;1685:62;;-1:-1:-1;1702:39:7;;;;;;1726:4;1702:39;;;;:15;:39;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1702:39:7;:44;1685:62;1677:150;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1864:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1887:22;1864:62;;;1837:90;;1857:5;;1837:19;:90::i;858:203::-;985:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1008:27;985:68;;;958:96;;978:5;;958:19;:96::i;:::-;858:203;;;;:::o;3713:272:8:-;3799:7;3833:12;3826:5;3818:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3856:9;3872:1;3868;:5;;;;;;;3713:272;-1:-1:-1;;;;;3713:272:8:o;1746:187::-;1832:7;1867:12;1859:6;;;;1851:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1902:5:8;;;1746:187::o;2940:751:7:-;3359:23;3385:69;3413:4;3385:69;;;;;;;;;;;;;;;;;3393:5;3385:27;;;;:69;;;;;:::i;:::-;3468:17;;3359:95;;-1:-1:-1;3468:21:7;3464:221;;3608:10;3597:30;;;;;;;;;;;;;;;-1:-1:-1;3597:30:7;3589:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3573:194:0;3676:12;3707:53;3730:6;3738:4;3744:1;3747:12;3707:22;:53::i;:::-;3700:60;3573:194;-1:-1:-1;;;;3573:194:0:o;4920:958::-;5050:12;5082:18;5093:6;5082:10;:18::i;:::-;5074:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5205:12;5219:23;5246:6;:11;;5266:8;5277:4;5246:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5204:78;;;;5296:7;5292:580;;;5326:10;-1:-1:-1;5319:17:0;;-1:-1:-1;5319:17:0;5292:580;5437:17;;:21;5433:429;;5695:10;5689:17;5755:15;5742:10;5738:2;5734:19;5727:44;5644:145;5827:20;;;;;;;;;;;;;;;;;;;;5834:12;;5827:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;718:413;1078:20;1116:8;;;718:413::o

Swarm Source

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