Contract 0xe56aae84f003764d8004b5fea4771d439762b71c

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x7a63bcfb2bb6064559c80cb9e30a8b19489ae2bdd698b78dfa53df353440550fDeposit431312392022-12-03 1:55:241 day 9 hrs ago0xee64f5c3947f9dada8600f71b4f0e79d6e1aa6e5 IN  0xe56aae84f003764d8004b5fea4771d439762b71c0 ETH0.0006325
0x7d0fa43398d270e6b787aeff2f5722296f29a3fbb5fd6bebb3628a0dda3f0dafDeposit430778542022-12-02 20:20:261 day 14 hrs ago0x5126e8b893955f62a8c27d83c5367f651855e806 IN  0xe56aae84f003764d8004b5fea4771d439762b71c0 ETH0.00070782
0x815fd92e4f5d82a88dfcace2ff8c538e5aa2a48a1184d9703b3dc0c38f11d478Deposit429183682022-12-02 7:47:512 days 3 hrs ago0x9d886a3fbcad4c57487eac5667b402c6104d191c IN  0xe56aae84f003764d8004b5fea4771d439762b71c0 ETH0.00060256
0x597e092b04ec1e973229bd7969ddea091dbba547eb32d8b5429dca435b2d8cd2Deposit425960912022-12-01 2:58:423 days 8 hrs ago0x2829354fab6a8c7915377a15e3d7209d28de4246 IN  0xe56aae84f003764d8004b5fea4771d439762b71c0 ETH0.00002427
0x9975b8241bb234ea8fe773a7a7c1cba91fd10700d2ace233a090fc4a78d0a110Deposit425230102022-11-30 19:22:113 days 15 hrs ago0x2b29833a831207a3b92102b0708b32d624aa0f65 IN  0xe56aae84f003764d8004b5fea4771d439762b71c0 ETH0.00082481
0x6e5e505f395c953a48d908e304c14c45636d7686d24e42676362bd00b95f6ee0Deposit425196272022-11-30 19:06:133 days 16 hrs ago0x1a247288c2c33701ec69d6e61db10f1d17f7a1a1 IN  0xe56aae84f003764d8004b5fea4771d439762b71c0 ETH0.00090353
0x503a3690237cc26b55c859004f9dc0cedb50e97a0f8e8ccbaa8d122a2da09020Withdraw424608192022-11-30 14:30:323 days 20 hrs ago0x3d4d24285f551d998f452098e99b1ee2fd3df69f IN  0xe56aae84f003764d8004b5fea4771d439762b71c0 ETH0.0006415
0xf220d0917fbb61e3cfb4dd42f84771dbe34da2c29a53e6c4fd94f737fb1c2c14Deposit423666062022-11-30 6:59:154 days 4 hrs ago0xfb62eefd26fe8e655e6e7cb9bbcb4f388cf21bca IN  0xe56aae84f003764d8004b5fea4771d439762b71c0 ETH0.00058188
0xfb5053f562c09dbdcb09ff96a46317b5b0c64391c2b65441b74c1d6f41cfa230Deposit420108602022-11-28 23:51:315 days 11 hrs ago0x7ac37f4e2f5120765505d5ba9674b5953d0f8699 IN  0xe56aae84f003764d8004b5fea4771d439762b71c0 ETH0.00057713
0xf383ac2683934f828b8d5f8735a6b23cd4166164ca963095b258ac40df33a158Deposit416671822022-11-27 16:25:416 days 18 hrs ago0xfd54b5a610e55749b262e6145042e90ab8317550 IN  0xe56aae84f003764d8004b5fea4771d439762b71c0 ETH0.00063659
0x43f35dcea64172b9d2aec110bc4e5323bc2134c3132350f04703f6eed90b07cdDeposit416652142022-11-27 16:16:396 days 18 hrs ago0x3d460f28d48061b3bf1353b96c4ba56011ad1fdc IN  0xe56aae84f003764d8004b5fea4771d439762b71c0 ETH0.00063815
0xd11bcdd1aeb75d430c601e7c54bff374d80a5d746af0f61be9a02aa98b53048bDeposit416592472022-11-27 15:49:016 days 19 hrs ago0x506d0199ec8f7c0b698a9a92c1a40eea89344f9d IN  0xe56aae84f003764d8004b5fea4771d439762b71c0 ETH0.00056924
0xc87e892b20cb8a2678d9715640b8ecb3a3d301bfee7af18d70bcb15f45a273feDeposit416107772022-11-27 12:03:216 days 23 hrs ago0x462fad8fef1c0ac7419e9d279cb3f115c22bb0a3 IN  0xe56aae84f003764d8004b5fea4771d439762b71c0 ETH0.00051677
0x8fe269f4ece8febd6cf6de12661af3935152efc743e31c2244fb39f53b8d0988Deposit415896222022-11-27 10:19:487 days 51 mins ago0x5987dce4c20eb875913083620f175bb417289e43 IN  0xe56aae84f003764d8004b5fea4771d439762b71c0 ETH0.00057076
0xee35ea98cdebdb493a1a83e2524831422ad2fdfd845425aee743f6f32bd9aff9Deposit414336872022-11-26 18:13:317 days 16 hrs ago0xa70a4da61ed6ff85f29854196f8c01d24e333610 IN  0xe56aae84f003764d8004b5fea4771d439762b71c0 ETH0.00068395
0xba63ea5281ca56e95d3a63ff9f5026c75e00ecb4b4e6ad4abaccb86c1dfa1102Deposit413261942022-11-26 9:32:378 days 1 hr ago0x2f856ca89c7e16f828d0f7bacd3d0684e58f9cbb IN  0xe56aae84f003764d8004b5fea4771d439762b71c0 ETH0.00059043
0x0deb1737e3bfeedfcfc10c3a7505c2ba69f4d4e3d9b0fbfe778206dc01984789Deposit410888052022-11-25 12:28:208 days 22 hrs ago0x312191196ee79e01c38dc3c83f5dfd4bf42fb440 IN  0xe56aae84f003764d8004b5fea4771d439762b71c0 ETH0.00057839
0x0247a09e077eb244fc00a1af64afc5d004e71b8a10f6bfe23cfe5a39f3915220Deposit410792802022-11-25 11:43:168 days 23 hrs ago0xb706986ce1e4728ea5897bb3dd34fd2df8820c7f IN  0xe56aae84f003764d8004b5fea4771d439762b71c0 ETH0.00059559
0x15409b7317ba8e5858d56b01441fdb9aa770e4095e898e4761a967550b20a5fdDeposit408692812022-11-24 16:07:149 days 19 hrs ago0xafc7829a0b89bad22d519a414f9a3aa2c23f8c84 IN  0xe56aae84f003764d8004b5fea4771d439762b71c0 ETH0.0007954
0xeef7c400d97687b54e86610a4dcc65aadc7f7be42192106765cdfe45c5340783Deposit406262742022-11-23 18:53:0410 days 16 hrs ago0x8e5d526639a5e80ff7ad1d664c421325e4c0a9bf IN  0xe56aae84f003764d8004b5fea4771d439762b71c0 ETH0.00091096
0xd34456446c051ca05db2b8b036a0361b0e102f7e6439d5dc9d789a70f9aa641eDeposit405410232022-11-23 12:19:1210 days 22 hrs ago0x98ef6aa0aa91d609310d273623fa74ab2cf2a54d IN  0xe56aae84f003764d8004b5fea4771d439762b71c0 ETH0.00063414
0x0ba238f1f67a34aeaf751371e1211c4f3734df659e479e0a9ed0bca6884b80c6Deposit404206122022-11-23 2:42:0311 days 8 hrs ago0x5a1e3cefcce84c0f1a039bbdf19d3d26421e40ba IN  0xe56aae84f003764d8004b5fea4771d439762b71c0 ETH0.00055347
0xc1b1ab9f15d2827a1fe61af3efaa5025ef8505d996d4498d4d6a8f23d5414ebcDeposit402666172022-11-22 14:09:0411 days 21 hrs ago0x657dd0c36cab330d5df1bd45d327d0e6c3f7e2d5 IN  0xe56aae84f003764d8004b5fea4771d439762b71c0 ETH0.00131749
0xd54d9842599d6a71dbdb18846972235df5eedd40f95b27fb8003af995442acc0Deposit402573592022-11-22 13:29:2611 days 21 hrs ago0x9ca0e4e34bc2438dc286abaa0f0be7160bb70599 IN  0xe56aae84f003764d8004b5fea4771d439762b71c0 ETH0.00074853
0xd6caff0b71112e07370f6be647ca6b8e1ea5a5119d163367e6b1b7209d3c979cDeposit402525782022-11-22 13:09:1611 days 22 hrs ago0xa79b67d1567bf818846758bf923908a054950d9c IN  0xe56aae84f003764d8004b5fea4771d439762b71c0 ETH0.00067772
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x7a63bcfb2bb6064559c80cb9e30a8b19489ae2bdd698b78dfa53df353440550f431312392022-12-03 1:55:241 day 9 hrs ago 0xe56aae84f003764d8004b5fea4771d439762b71c0x16cb5dcdd67675326d950111cff0d45ebfc793ea0 ETH
0x7d0fa43398d270e6b787aeff2f5722296f29a3fbb5fd6bebb3628a0dda3f0daf430778542022-12-02 20:20:261 day 14 hrs ago 0xe56aae84f003764d8004b5fea4771d439762b71c0x16cb5dcdd67675326d950111cff0d45ebfc793ea0 ETH
0x815fd92e4f5d82a88dfcace2ff8c538e5aa2a48a1184d9703b3dc0c38f11d478429183682022-12-02 7:47:512 days 3 hrs ago 0xe56aae84f003764d8004b5fea4771d439762b71c0x16cb5dcdd67675326d950111cff0d45ebfc793ea0 ETH
0x597e092b04ec1e973229bd7969ddea091dbba547eb32d8b5429dca435b2d8cd2425960912022-12-01 2:58:423 days 8 hrs ago 0xe56aae84f003764d8004b5fea4771d439762b71c0x16cb5dcdd67675326d950111cff0d45ebfc793ea0 ETH
0x9975b8241bb234ea8fe773a7a7c1cba91fd10700d2ace233a090fc4a78d0a110425230102022-11-30 19:22:113 days 15 hrs ago 0xe56aae84f003764d8004b5fea4771d439762b71c0x16cb5dcdd67675326d950111cff0d45ebfc793ea0 ETH
0x6e5e505f395c953a48d908e304c14c45636d7686d24e42676362bd00b95f6ee0425196272022-11-30 19:06:133 days 16 hrs ago 0xe56aae84f003764d8004b5fea4771d439762b71c0x16cb5dcdd67675326d950111cff0d45ebfc793ea0 ETH
0x503a3690237cc26b55c859004f9dc0cedb50e97a0f8e8ccbaa8d122a2da09020424608192022-11-30 14:30:323 days 20 hrs ago 0xe56aae84f003764d8004b5fea4771d439762b71c0x16cb5dcdd67675326d950111cff0d45ebfc793ea0 ETH
0x503a3690237cc26b55c859004f9dc0cedb50e97a0f8e8ccbaa8d122a2da09020424608192022-11-30 14:30:323 days 20 hrs ago 0xe56aae84f003764d8004b5fea4771d439762b71c Layer2DAO: L2DAO Token0 ETH
0xf220d0917fbb61e3cfb4dd42f84771dbe34da2c29a53e6c4fd94f737fb1c2c14423666062022-11-30 6:59:154 days 4 hrs ago 0xe56aae84f003764d8004b5fea4771d439762b71c0x16cb5dcdd67675326d950111cff0d45ebfc793ea0 ETH
0xfb5053f562c09dbdcb09ff96a46317b5b0c64391c2b65441b74c1d6f41cfa230420108602022-11-28 23:51:315 days 11 hrs ago 0xe56aae84f003764d8004b5fea4771d439762b71c0x16cb5dcdd67675326d950111cff0d45ebfc793ea0 ETH
0xf383ac2683934f828b8d5f8735a6b23cd4166164ca963095b258ac40df33a158416671822022-11-27 16:25:416 days 18 hrs ago 0xe56aae84f003764d8004b5fea4771d439762b71c0x16cb5dcdd67675326d950111cff0d45ebfc793ea0 ETH
0x43f35dcea64172b9d2aec110bc4e5323bc2134c3132350f04703f6eed90b07cd416652142022-11-27 16:16:396 days 18 hrs ago 0xe56aae84f003764d8004b5fea4771d439762b71c0x16cb5dcdd67675326d950111cff0d45ebfc793ea0 ETH
0xd11bcdd1aeb75d430c601e7c54bff374d80a5d746af0f61be9a02aa98b53048b416592472022-11-27 15:49:016 days 19 hrs ago 0xe56aae84f003764d8004b5fea4771d439762b71c0x16cb5dcdd67675326d950111cff0d45ebfc793ea0 ETH
0xc87e892b20cb8a2678d9715640b8ecb3a3d301bfee7af18d70bcb15f45a273fe416107772022-11-27 12:03:216 days 23 hrs ago 0xe56aae84f003764d8004b5fea4771d439762b71c0x16cb5dcdd67675326d950111cff0d45ebfc793ea0 ETH
0xc87e892b20cb8a2678d9715640b8ecb3a3d301bfee7af18d70bcb15f45a273fe416107772022-11-27 12:03:216 days 23 hrs ago 0xe56aae84f003764d8004b5fea4771d439762b71c Layer2DAO: L2DAO Token0 ETH
0x8fe269f4ece8febd6cf6de12661af3935152efc743e31c2244fb39f53b8d0988415896222022-11-27 10:19:487 days 51 mins ago 0xe56aae84f003764d8004b5fea4771d439762b71c0x16cb5dcdd67675326d950111cff0d45ebfc793ea0 ETH
0xee35ea98cdebdb493a1a83e2524831422ad2fdfd845425aee743f6f32bd9aff9414336872022-11-26 18:13:317 days 16 hrs ago 0xe56aae84f003764d8004b5fea4771d439762b71c0x16cb5dcdd67675326d950111cff0d45ebfc793ea0 ETH
0xba63ea5281ca56e95d3a63ff9f5026c75e00ecb4b4e6ad4abaccb86c1dfa1102413261942022-11-26 9:32:378 days 1 hr ago 0xe56aae84f003764d8004b5fea4771d439762b71c0x16cb5dcdd67675326d950111cff0d45ebfc793ea0 ETH
0x0deb1737e3bfeedfcfc10c3a7505c2ba69f4d4e3d9b0fbfe778206dc01984789410888052022-11-25 12:28:208 days 22 hrs ago 0xe56aae84f003764d8004b5fea4771d439762b71c0x16cb5dcdd67675326d950111cff0d45ebfc793ea0 ETH
0x0247a09e077eb244fc00a1af64afc5d004e71b8a10f6bfe23cfe5a39f3915220410792802022-11-25 11:43:168 days 23 hrs ago 0xe56aae84f003764d8004b5fea4771d439762b71c0x16cb5dcdd67675326d950111cff0d45ebfc793ea0 ETH
0x15409b7317ba8e5858d56b01441fdb9aa770e4095e898e4761a967550b20a5fd408692812022-11-24 16:07:149 days 19 hrs ago 0xe56aae84f003764d8004b5fea4771d439762b71c0x16cb5dcdd67675326d950111cff0d45ebfc793ea0 ETH
0xeef7c400d97687b54e86610a4dcc65aadc7f7be42192106765cdfe45c5340783406262742022-11-23 18:53:0410 days 16 hrs ago 0xe56aae84f003764d8004b5fea4771d439762b71c0x16cb5dcdd67675326d950111cff0d45ebfc793ea0 ETH
0xd34456446c051ca05db2b8b036a0361b0e102f7e6439d5dc9d789a70f9aa641e405410232022-11-23 12:19:1210 days 22 hrs ago 0xe56aae84f003764d8004b5fea4771d439762b71c0x16cb5dcdd67675326d950111cff0d45ebfc793ea0 ETH
0x0ba238f1f67a34aeaf751371e1211c4f3734df659e479e0a9ed0bca6884b80c6404206122022-11-23 2:42:0311 days 8 hrs ago 0xe56aae84f003764d8004b5fea4771d439762b71c0x16cb5dcdd67675326d950111cff0d45ebfc793ea0 ETH
0xc1b1ab9f15d2827a1fe61af3efaa5025ef8505d996d4498d4d6a8f23d5414ebc402666172022-11-22 14:09:0411 days 21 hrs ago 0xe56aae84f003764d8004b5fea4771d439762b71c0x16cb5dcdd67675326d950111cff0d45ebfc793ea0 ETH
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Farm

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Arbiscan on 2022-02-12
*/

// File: @openzeppelin/contracts/utils/Context.sol


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/math/SafeMath.sol


// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/structs/EnumerableSet.sol


// OpenZeppelin Contracts v4.4.1 (utils/structs/EnumerableSet.sol)

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastvalue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastvalue;
                // Update the index for the moved value
                set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        return _values(set._inner);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        assembly {
            result := store
        }

        return result;
    }
}

// File: @openzeppelin/contracts/utils/Address.sol


// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;



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

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

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

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

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

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

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

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

// File: Farm.sol


pragma solidity ^0.8.2;






// Farm distributes the ERC20 rewards based on staked LP to each user.
//
// Cloned from https://github.com/SashimiProject/sashimiswap/blob/master/contracts/MasterChef.sol
// Modified by LTO Network to work for non-mintable ERC20.
contract Farm 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 ERC20s
        // entitled to a user but is pending to be distributed is:
        //
        //   pending reward = (user.amount * pool.accERC20PerShare) - user.rewardDebt
        //
        // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens:
        //   1. The pool's `accERC20PerShare` (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. ERC20s to distribute per block.
        uint256 lastRewardBlock;    // Last block number that ERC20s distribution occurs.
        uint256 accERC20PerShare;   // Accumulated ERC20s per share, times 1e36.
    }

    // Address of the ERC20 Token contract.
    IERC20 public erc20;
    // The total amount of ERC20 that's paid out as reward.
    uint256 public paidOut = 0;
    // ERC20 tokens rewarded per block.
    uint256 public rewardPerBlock;

    // 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;

    // The block number when farming starts.
    uint256 public startBlock;
    // The block number when farming ends.
    uint256 public endBlock;

    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 _erc20, uint256 _rewardPerBlock, uint256 _startBlock) {
        erc20 = _erc20;
        rewardPerBlock = _rewardPerBlock;
        startBlock = _startBlock;
        endBlock = _startBlock;
    }

    // Number of LP pools
    function poolLength() external view returns (uint256) {
        return poolInfo.length;
    }

    // Fund the farm, increase the end block
    function fund(uint256 _amount) public {
        require(block.number < endBlock, "fund: too late, the farm is closed");

        erc20.safeTransferFrom(address(msg.sender), address(this), _amount);
        endBlock += _amount.div(rewardPerBlock);
    }

    // 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.
    function add(uint256 _allocPoint, IERC20 _lpToken, bool _withUpdate) public onlyOwner {
        if (_withUpdate) {
            massUpdatePools();
        }
        uint256 lastRewardBlock = block.number > startBlock ? block.number : startBlock;
        totalAllocPoint = totalAllocPoint.add(_allocPoint);
        poolInfo.push(PoolInfo({
            lpToken: _lpToken,
            allocPoint: _allocPoint,
            lastRewardBlock: lastRewardBlock,
            accERC20PerShare: 0
        }));
    }

    // Update the given pool's ERC20 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;
    }

    // View function to see deposited LP for a user.
    function deposited(uint256 _pid, address _user) external view returns (uint256) {
        UserInfo storage user = userInfo[_pid][_user];
        return user.amount;
    }

    // View function to see pending ERC20s for a user.
    function pending(uint256 _pid, address _user) external view returns (uint256) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accERC20PerShare = pool.accERC20PerShare;
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        uint256 lastBlock = block.number < endBlock ? block.number : endBlock;

        if (lastBlock > pool.lastRewardBlock && block.number > pool.lastRewardBlock && lpSupply != 0) {
            uint256 nrOfBlocks = lastBlock.sub(pool.lastRewardBlock);
            uint256 erc20Reward = nrOfBlocks.mul(rewardPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
            accERC20PerShare = accERC20PerShare.add(erc20Reward.mul(1e36).div(lpSupply));
        }

        return user.amount.mul(accERC20PerShare).div(1e36).sub(user.rewardDebt);
    }

    // View function for total reward the farm has yet to pay out.
    function totalPending() external view returns (uint256) {
        if (block.number <= startBlock) {
            return 0;
        }

        uint256 lastBlock = block.number < endBlock ? block.number : endBlock;
        return rewardPerBlock.mul(lastBlock - startBlock).sub(paidOut);
    }

    // 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];
        uint256 lastBlock = block.number < endBlock ? block.number : endBlock;

        if (lastBlock <= pool.lastRewardBlock) {
            return;
        }
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (lpSupply == 0) {
            pool.lastRewardBlock = lastBlock;
            return;
        }

        uint256 nrOfBlocks = lastBlock.sub(pool.lastRewardBlock);
        uint256 erc20Reward = nrOfBlocks.mul(rewardPerBlock).mul(pool.allocPoint).div(totalAllocPoint);

        pool.accERC20PerShare = pool.accERC20PerShare.add(erc20Reward.mul(1e36).div(lpSupply));
        pool.lastRewardBlock = block.number;
    }

    // Deposit LP tokens to Farm for ERC20 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 pendingAmount = user.amount.mul(pool.accERC20PerShare).div(1e36).sub(user.rewardDebt);
            erc20Transfer(msg.sender, pendingAmount);
        }
        pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount);
        user.amount = user.amount.add(_amount);
        user.rewardDebt = user.amount.mul(pool.accERC20PerShare).div(1e36);
        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: can't withdraw more than deposit");
        updatePool(_pid);
        uint256 pendingAmount = user.amount.mul(pool.accERC20PerShare).div(1e36).sub(user.rewardDebt);
        erc20Transfer(msg.sender, pendingAmount);
        user.amount = user.amount.sub(_amount);
        user.rewardDebt = user.amount.mul(pool.accERC20PerShare).div(1e36);
        pool.lpToken.safeTransfer(address(msg.sender), _amount);
        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;
    }

    // Transfer ERC20 and update the required ERC20 to payout all rewards
    function erc20Transfer(address _to, uint256 _amount) internal {
        erc20.transfer(_to, _amount);
        paidOut += _amount;
    }
}

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_erc20","type":"address"},{"internalType":"uint256","name":"_rewardPerBlock","type":"uint256"},{"internalType":"uint256","name":"_startBlock","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"},{"internalType":"address","name":"_user","type":"address"}],"name":"deposited","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"erc20","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"fund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paidOut","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pending","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":"accERC20PerShare","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":"rewardPerBlock","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":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalPending","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"}]

60806040526000600255600060065534801561001a57600080fd5b506040516115f93803806115f9833981016040819052610039916100c3565b61004233610073565b600180546001600160a01b0319166001600160a01b0394909416939093179092556003556007819055600855610106565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000806000606084860312156100d857600080fd5b83516001600160a01b03811681146100ef57600080fd5b602085015160409095015190969495509392505050565b6114e4806101156000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c8063630b5ba1116100c357806393f1a40b1161007c57806393f1a40b14610288578063a2383106146102cf578063ca1d209d14610305578063e2bbb15814610318578063e4c75c271461032b578063f2fde38b1461033e57600080fd5b8063630b5ba11461022057806364482f7914610228578063715018a61461023b578063785e9e86146102435780638ae39cac1461026e5780638da5cb5b1461027757600080fd5b80633f90916a116101155780633f90916a146101cd578063441a3e70146101d557806348cd4cb1146101e857806351eb05a6146101f15780635312ea8e146102045780635c76ca2d1461021757600080fd5b8063081e3eda14610152578063083c6323146101695780631526fe271461017257806317caf6f1146101af5780631eaaa045146101b8575b600080fd5b6004545b6040519081526020015b60405180910390f35b61015660085481565b610185610180366004611230565b610351565b604080516001600160a01b0390951685526020850193909352918301526060820152608001610160565b61015660065481565b6101cb6101c6366004611292565b610395565b005b6101566104ef565b6101cb6101e33660046112d4565b610543565b61015660075481565b6101cb6101ff366004611230565b6106c1565b6101cb610212366004611230565b610821565b61015660025481565b6101cb6108c3565b6101cb6102363660046112f6565b6108ee565b6101cb61099d565b600154610256906001600160a01b031681565b6040516001600160a01b039091168152602001610160565b61015660035481565b6000546001600160a01b0316610256565b6102ba610296366004611262565b60056020908152600092835260408084209091529082529020805460019091015482565b60408051928352602083019190915201610160565b6101566102dd366004611262565b60009182526005602090815260408084206001600160a01b0393909316845291905290205490565b6101cb610313366004611230565b6109d3565b6101cb6103263660046112d4565b610a6e565b610156610339366004611262565b610b8b565b6101cb61034c3660046111f6565b610d39565b6004818154811061036157600080fd5b600091825260209091206004909102018054600182015460028301546003909301546001600160a01b039092169350919084565b6000546001600160a01b031633146103c85760405162461bcd60e51b81526004016103bf90611373565b60405180910390fd5b80156103d6576103d66108c3565b600060075443116103e9576007546103eb565b435b6006549091506103fb9085610dd4565b600655604080516080810182526001600160a01b03948516815260208101958652908101918252600060608201818152600480546001810182559281905292517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b9290930291820180546001600160a01b031916939096169290921790945593517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c840155517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19d8301555090517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19e90910155565b600060075443116105005750600090565b6000600854431061051357600854610515565b435b905061053d6002546105376007548461052e9190611401565b60035490610de7565b90610df3565b91505090565b60006004838154811061055857610558611475565b6000918252602080832086845260058252604080852033865290925292208054600490920290920192508311156105e45760405162461bcd60e51b815260206004820152602a60248201527f77697468647261773a2063616e2774207769746864726177206d6f7265207468604482015269185b8819195c1bdcda5d60b21b60648201526084016103bf565b6105ed846106c1565b600061062a82600101546105376a0c097ce7bc90715b34b9f160241b61062487600301548760000154610de790919063ffffffff16565b90610dff565b90506106363382610e0b565b81546106429085610df3565b8083556003840154610668916a0c097ce7bc90715b34b9f160241b916106249190610de7565b60018301558254610683906001600160a01b03163386610ead565b604051848152859033907ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689060200160405180910390a35050505050565b6000600482815481106106d6576106d6611475565b90600052602060002090600402019050600060085443106106f9576008546106fb565b435b90508160020154811161070d57505050565b81546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b15801561075057600080fd5b505afa158015610764573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107889190611249565b905080610799575060029091015550565b60006107b2846002015484610df390919063ffffffff16565b905060006107df60065461062487600101546107d960035487610de790919063ffffffff16565b90610de7565b905061080b61080084610624846a0c097ce7bc90715b34b9f160241b610de7565b600387015490610dd4565b6003860155505043600290930192909255505050565b60006004828154811061083657610836611475565b6000918252602080832085845260058252604080852033808752935290932080546004909302909301805490945061087b926001600160a01b03919091169190610ead565b8054604051908152839033907fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959060200160405180910390a360008082556001909101555050565b60045460005b818110156108ea576108da816106c1565b6108e381611444565b90506108c9565b5050565b6000546001600160a01b031633146109185760405162461bcd60e51b81526004016103bf90611373565b8015610926576109266108c3565b610969826109636004868154811061094057610940611475565b906000526020600020906004020160010154600654610df390919063ffffffff16565b90610dd4565b600681905550816004848154811061098357610983611475565b906000526020600020906004020160010181905550505050565b6000546001600160a01b031633146109c75760405162461bcd60e51b81526004016103bf90611373565b6109d16000610f15565b565b6008544310610a2f5760405162461bcd60e51b815260206004820152602260248201527f66756e643a20746f6f206c6174652c20746865206661726d20697320636c6f73604482015261195960f21b60648201526084016103bf565b600154610a47906001600160a01b0316333084610f65565b600354610a55908290610dff565b60086000828254610a6691906113a8565b909155505050565b600060048381548110610a8357610a83611475565b60009182526020808320868452600582526040808520338652909252922060049091029091019150610ab4846106c1565b805415610b00576000610af282600101546105376a0c097ce7bc90715b34b9f160241b61062487600301548760000154610de790919063ffffffff16565b9050610afe3382610e0b565b505b8154610b17906001600160a01b0316333086610f65565b8054610b239084610dd4565b8082556003830154610b49916a0c097ce7bc90715b34b9f160241b916106249190610de7565b6001820155604051838152849033907f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159060200160405180910390a350505050565b60008060048481548110610ba157610ba1611475565b600091825260208083208784526005825260408085206001600160a01b038981168752935280852060049485029092016003810154815492516370a0823160e01b8152309681019690965290965091949193919216906370a082319060240160206040518083038186803b158015610c1857600080fd5b505afa158015610c2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c509190611249565b905060006008544310610c6557600854610c67565b435b9050846002015481118015610c7f5750846002015443115b8015610c8a57508115155b15610cfc576000610ca8866002015483610df390919063ffffffff16565b90506000610ccf60065461062489600101546107d960035487610de790919063ffffffff16565b9050610cf7610cf085610624846a0c097ce7bc90715b34b9f160241b610de7565b8690610dd4565b945050505b610d2d84600101546105376a0c097ce7bc90715b34b9f160241b610624878960000154610de790919063ffffffff16565b98975050505050505050565b6000546001600160a01b03163314610d635760405162461bcd60e51b81526004016103bf90611373565b6001600160a01b038116610dc85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103bf565b610dd181610f15565b50565b6000610de082846113a8565b9392505050565b6000610de082846113e2565b6000610de08284611401565b6000610de082846113c0565b60015460405163a9059cbb60e01b81526001600160a01b038481166004830152602482018490529091169063a9059cbb90604401602060405180830381600087803b158015610e5957600080fd5b505af1158015610e6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e919190611213565b508060026000828254610ea491906113a8565b90915550505050565b6040516001600160a01b038316602482015260448101829052610f1090849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610fa3565b505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b0380851660248301528316604482015260648101829052610f9d9085906323b872dd60e01b90608401610ed9565b50505050565b6000610ff8826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166110759092919063ffffffff16565b805190915015610f1057808060200190518101906110169190611213565b610f105760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016103bf565b6060611084848460008561108c565b949350505050565b6060824710156110ed5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016103bf565b6001600160a01b0385163b6111445760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016103bf565b600080866001600160a01b031685876040516111609190611324565b60006040518083038185875af1925050503d806000811461119d576040519150601f19603f3d011682016040523d82523d6000602084013e6111a2565b606091505b50915091506111b28282866111bd565b979650505050505050565b606083156111cc575081610de0565b8251156111dc5782518084602001fd5b8160405162461bcd60e51b81526004016103bf9190611340565b60006020828403121561120857600080fd5b8135610de08161148b565b60006020828403121561122557600080fd5b8151610de0816114a0565b60006020828403121561124257600080fd5b5035919050565b60006020828403121561125b57600080fd5b5051919050565b6000806040838503121561127557600080fd5b8235915060208301356112878161148b565b809150509250929050565b6000806000606084860312156112a757600080fd5b8335925060208401356112b98161148b565b915060408401356112c9816114a0565b809150509250925092565b600080604083850312156112e757600080fd5b50508035926020909101359150565b60008060006060848603121561130b57600080fd5b833592506020840135915060408401356112c9816114a0565b60008251611336818460208701611418565b9190910192915050565b602081526000825180602084015261135f816040850160208701611418565b601f01601f19169190910160400192915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156113bb576113bb61145f565b500190565b6000826113dd57634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156113fc576113fc61145f565b500290565b6000828210156114135761141361145f565b500390565b60005b8381101561143357818101518382015260200161141b565b83811115610f9d5750506000910152565b60006000198214156114585761145861145f565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b0381168114610dd157600080fd5b8015158114610dd157600080fdfea264697066735822122079489456cbd36df21fd47646735e9141a381a08d879790726447cf1cc86060e764736f6c634300080700330000000000000000000000002cab3abfc1670d1a452df502e216a66883cdf079000000000000000000000000000000000000000000000000283edea298a200000000000000000000000000000000000000000000000000000000000000d87d7c

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

0000000000000000000000002cab3abfc1670d1a452df502e216a66883cdf079000000000000000000000000000000000000000000000000283edea298a200000000000000000000000000000000000000000000000000000000000000d87d7c

-----Decoded View---------------
Arg [0] : _erc20 (address): 0x2cab3abfc1670d1a452df502e216a66883cdf079
Arg [1] : _rewardPerBlock (uint256): 2900000000000000000
Arg [2] : _startBlock (uint256): 14187900

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000002cab3abfc1670d1a452df502e216a66883cdf079
Arg [1] : 000000000000000000000000000000000000000000000000283edea298a20000
Arg [2] : 0000000000000000000000000000000000000000000000000000000000d87d7c


Deployed ByteCode Sourcemap

38697:8808:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41267:95;41339:8;:15;41267:95;;;7413:25:1;;;7401:2;7386:18;41267:95:0;;;;;;;;40733:23;;;;;;40325:26;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3948:32:1;;;3930:51;;4012:2;3997:18;;3990:34;;;;4040:18;;;4033:34;4098:2;4083:18;;4076:34;3917:3;3902:19;40325:26:0;3684:432:1;40568:34:0;;;;;;41838:514;;;;;;:::i;:::-;;:::i;:::-;;43998:296;;;:::i;46167:687::-;;;;;;:::i;:::-;;:::i;40657:25::-;;;;;;44633:757;;;;;;:::i;:::-;;:::i;46925:356::-;;;;;;:::i;:::-;;:::i;40186:26::-;;;;;;44377:180;;;:::i;42449:304::-;;;;;;:::i;:::-;;:::i;2606:103::-;;;:::i;40099:19::-;;;;;-1:-1:-1;;;;;40099:19:0;;;;;;-1:-1:-1;;;;;2758:32:1;;;2740:51;;2728:2;2713:18;40099:19:0;2594:203:1;40260:29:0;;;;;;1955:87;2001:7;2028:6;-1:-1:-1;;;;;2028:6:0;1955:87;;40407:66;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7623:25:1;;;7679:2;7664:18;;7657:34;;;;7596:18;40407:66:0;7449:248:1;42815:173:0;;;;;;:::i;:::-;42886:7;42930:14;;;:8;:14;;;;;;;;-1:-1:-1;;;;;42930:21:0;;;;;;;;;;;42969:11;;42815:173;41416:257;;;;;;:::i;:::-;;:::i;45454:667::-;;;;;;:::i;:::-;;:::i;43052:870::-;;;;;;:::i;:::-;;:::i;2864:201::-;;;;;;:::i;:::-;;:::i;40325:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;40325:26:0;;;;-1:-1:-1;40325:26:0;;;:::o;41838:514::-;2001:7;2028:6;-1:-1:-1;;;;;2028:6:0;759:10;2175:23;2167:68;;;;-1:-1:-1;;;2167:68:0;;;;;;;:::i;:::-;;;;;;;;;41939:11:::1;41935:61;;;41967:17;:15;:17::i;:::-;42006:23;42047:10;;42032:12;:25;:53;;42075:10;;42032:53;;;42060:12;42032:53;42114:15;::::0;42006:79;;-1:-1:-1;42114:32:0::1;::::0;42134:11;42114:19:::1;:32::i;:::-;42096:15;:50:::0;42171:172:::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;42171:172:0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;42171:172:0;;;;;;42157:8:::1;:187:::0;;::::1;::::0;::::1;::::0;;;;;;;;;;;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;42157:187:0::1;::::0;;;::::1;::::0;;;::::1;::::0;;;;;;;;;;;;;;-1:-1:-1;42157:187:0;;;;;;;41838:514::o;43998:296::-;44045:7;44085:10;;44069:12;:26;44065:67;;-1:-1:-1;44119:1:0;;43998:296::o;44065:67::-;44144:17;44179:8;;44164:12;:23;:49;;44205:8;;44164:49;;;44190:12;44164:49;44144:69;;44231:55;44278:7;;44231:42;44262:10;;44250:9;:22;;;;:::i;:::-;44231:14;;;:18;:42::i;:::-;:46;;:55::i;:::-;44224:62;;;43998:296;:::o;46167:687::-;46234:21;46258:8;46267:4;46258:14;;;;;;;;:::i;:::-;;;;;;;;;46307;;;:8;:14;;;;;;46322:10;46307:26;;;;;;;46352:11;;46258:14;;;;;;;;-1:-1:-1;46352:22:0;-1:-1:-1;46352:22:0;46344:77;;;;-1:-1:-1;;;46344:77:0;;6289:2:1;46344:77:0;;;6271:21:1;6328:2;6308:18;;;6301:30;6367:34;6347:18;;;6340:62;-1:-1:-1;;;6418:18:1;;;6411:40;6468:19;;46344:77:0;6087:406:1;46344:77:0;46432:16;46443:4;46432:10;:16::i;:::-;46459:21;46483:69;46536:4;:15;;;46483:48;-1:-1:-1;;;46483:38:0;46499:4;:21;;;46483:4;:11;;;:15;;:38;;;;:::i;:::-;:42;;:48::i;:69::-;46459:93;;46563:40;46577:10;46589:13;46563;:40::i;:::-;46628:11;;:24;;46644:7;46628:15;:24::i;:::-;46614:38;;;46697:21;;;;46681:48;;-1:-1:-1;;;46724:4:0;46681:38;;46614;46681:15;:38::i;:48::-;46663:15;;;:66;46740:12;;:55;;-1:-1:-1;;;;;46740:12:0;46774:10;46787:7;46740:25;:55::i;:::-;46811:35;;7413:25:1;;;46832:4:0;;46820:10;;46811:35;;7401:2:1;7386:18;46811:35:0;;;;;;;46223:631;;;46167:687;;:::o;44633:757::-;44685:21;44709:8;44718:4;44709:14;;;;;;;;:::i;:::-;;;;;;;;;;;44685:38;;44734:17;44769:8;;44754:12;:23;:49;;44795:8;;44754:49;;;44780:12;44754:49;44734:69;;44833:4;:20;;;44820:9;:33;44816:72;;44870:7;;44633:757;:::o;44816:72::-;44917:12;;:37;;-1:-1:-1;;;44917:37:0;;44948:4;44917:37;;;2740:51:1;44898:16:0;;-1:-1:-1;;;;;44917:12:0;;:22;;2713:18:1;;44917:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;44898:56;-1:-1:-1;44969:13:0;44965:99;;-1:-1:-1;44999:20:0;;;;:32;-1:-1:-1;44633:757:0:o;44965:99::-;45076:18;45097:35;45111:4;:20;;;45097:9;:13;;:35;;;;:::i;:::-;45076:56;;45143:19;45165:72;45221:15;;45165:51;45200:4;:15;;;45165:30;45180:14;;45165:10;:14;;:30;;;;:::i;:::-;:34;;:51::i;:72::-;45143:94;-1:-1:-1;45274:62:0;45300:35;45326:8;45300:21;45143:94;-1:-1:-1;;;45300:15:0;:21::i;:35::-;45274:21;;;;;:25;:62::i;:::-;45250:21;;;:86;-1:-1:-1;;45370:12:0;45347:20;;;;:35;;;;-1:-1:-1;;;44633:757:0:o;46925:356::-;46984:21;47008:8;47017:4;47008:14;;;;;;;;:::i;:::-;;;;;;;;;47057;;;:8;:14;;;;;;47072:10;47057:26;;;;;;;;47141:11;;47008:14;;;;;;;47094:12;;47008:14;;-1:-1:-1;47094:59:0;;-1:-1:-1;;;;;47094:12:0;;;;;47072:10;47094:25;:59::i;:::-;47205:11;;47169:48;;7413:25:1;;;47199:4:0;;47187:10;;47169:48;;7401:2:1;7386:18;47169:48:0;;;;;;;47242:1;47228:15;;;47254;;;;:19;-1:-1:-1;;46925:356:0:o;44377:180::-;44439:8;:15;44422:14;44465:85;44493:6;44487:3;:12;44465:85;;;44523:15;44534:3;44523:10;:15::i;:::-;44501:5;;;:::i;:::-;;;44465:85;;;;44411:146;44377:180::o;42449:304::-;2001:7;2028:6;-1:-1:-1;;;;;2028:6:0;759:10;2175:23;2167:68;;;;-1:-1:-1;;;2167:68:0;;;;;;;:::i;:::-;42547:11:::1;42543:61;;;42575:17;:15;:17::i;:::-;42632:63;42683:11;42632:46;42652:8;42661:4;42652:14;;;;;;;;:::i;:::-;;;;;;;;;;;:25;;;42632:15;;:19;;:46;;;;:::i;:::-;:50:::0;::::1;:63::i;:::-;42614:15;:81;;;;42734:11;42706:8;42715:4;42706:14;;;;;;;;:::i;:::-;;;;;;;;;;;:25;;:39;;;;42449:304:::0;;;:::o;2606:103::-;2001:7;2028:6;-1:-1:-1;;;;;2028:6:0;759:10;2175:23;2167:68;;;;-1:-1:-1;;;2167:68:0;;;;;;;:::i;:::-;2671:30:::1;2698:1;2671:18;:30::i;:::-;2606:103::o:0;41416:257::-;41488:8;;41473:12;:23;41465:70;;;;-1:-1:-1;;;41465:70:0;;5886:2:1;41465:70:0;;;5868:21:1;5925:2;5905:18;;;5898:30;5964:34;5944:18;;;5937:62;-1:-1:-1;;;6015:18:1;;;6008:32;6057:19;;41465:70:0;5684:398:1;41465:70:0;41548:5;;:67;;-1:-1:-1;;;;;41548:5:0;41579:10;41600:4;41607:7;41548:22;:67::i;:::-;41650:14;;41638:27;;:7;;:11;:27::i;:::-;41626:8;;:39;;;;;;;:::i;:::-;;;;-1:-1:-1;;;41416:257:0:o;45454:667::-;45520:21;45544:8;45553:4;45544:14;;;;;;;;:::i;:::-;;;;;;;;;45593;;;:8;:14;;;;;;45608:10;45593:26;;;;;;;45544:14;;;;;;;;-1:-1:-1;45630:16:0;45602:4;45630:10;:16::i;:::-;45661:11;;:15;45657:196;;45693:21;45717:69;45770:4;:15;;;45717:48;-1:-1:-1;;;45717:38:0;45733:4;:21;;;45717:4;:11;;;:15;;:38;;;;:::i;:69::-;45693:93;;45801:40;45815:10;45827:13;45801;:40::i;:::-;45678:175;45657:196;45863:12;;:74;;-1:-1:-1;;;;;45863:12:0;45901:10;45922:4;45929:7;45863:29;:74::i;:::-;45962:11;;:24;;45978:7;45962:15;:24::i;:::-;45948:38;;;46031:21;;;;46015:48;;-1:-1:-1;;;46058:4:0;46015:38;;45948;46015:15;:38::i;:48::-;45997:15;;;:66;46079:34;;7413:25:1;;;46099:4:0;;46087:10;;46079:34;;7401:2:1;7386:18;46079:34:0;;;;;;;45509:612;;45454:667;;:::o;43052:870::-;43121:7;43141:21;43165:8;43174:4;43165:14;;;;;;;;:::i;:::-;;;;;;;;;43214;;;:8;:14;;;;;;-1:-1:-1;;;;;43214:21:0;;;;;;;;;;43165:14;;;;;;;43273:21;;;;43324:12;;:37;;-1:-1:-1;;;43324:37:0;;43355:4;43324:37;;;2740:51:1;;;;43165:14:0;;-1:-1:-1;43214:21:0;;43273;;43165:14;;43324:12;;:22;;2713:18:1;;43324:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;43305:56;;43372:17;43407:8;;43392:12;:23;:49;;43433:8;;43392:49;;;43418:12;43392:49;43372:69;;43470:4;:20;;;43458:9;:32;:71;;;;;43509:4;:20;;;43494:12;:35;43458:71;:88;;;;-1:-1:-1;43533:13:0;;;43458:88;43454:377;;;43563:18;43584:35;43598:4;:20;;;43584:9;:13;;:35;;;;:::i;:::-;43563:56;;43634:19;43656:72;43712:15;;43656:51;43691:4;:15;;;43656:30;43671:14;;43656:10;:14;;:30;;;;:::i;:72::-;43634:94;-1:-1:-1;43762:57:0;43783:35;43809:8;43783:21;43634:94;-1:-1:-1;;;43783:15:0;:21::i;:35::-;43762:16;;:20;:57::i;:::-;43743:76;;43548:283;;43454:377;43850:64;43898:4;:15;;;43850:43;-1:-1:-1;;;43850:33:0;43866:16;43850:4;:11;;;:15;;:33;;;;:::i;:64::-;43843:71;43052:870;-1:-1:-1;;;;;;;;43052:870:0:o;2864:201::-;2001:7;2028:6;-1:-1:-1;;;;;2028:6:0;759:10;2175:23;2167:68;;;;-1:-1:-1;;;2167:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;2953:22:0;::::1;2945:73;;;::::0;-1:-1:-1;;;2945:73:0;;4711:2:1;2945:73:0::1;::::0;::::1;4693:21:1::0;4750:2;4730:18;;;4723:30;4789:34;4769:18;;;4762:62;-1:-1:-1;;;4840:18:1;;;4833:36;4886:19;;2945:73:0::1;4509:402:1::0;2945:73:0::1;3029:28;3048:8;3029:18;:28::i;:::-;2864:201:::0;:::o;6285:98::-;6343:7;6370:5;6374:1;6370;:5;:::i;:::-;6363:12;6285:98;-1:-1:-1;;;6285:98:0:o;7023:::-;7081:7;7108:5;7112:1;7108;:5;:::i;6666:98::-;6724:7;6751:5;6755:1;6751;:5;:::i;7422:98::-;7480:7;7507:5;7511:1;7507;:5;:::i;47364:138::-;47437:5;;:28;;-1:-1:-1;;;47437:28:0;;-1:-1:-1;;;;;3374:32:1;;;47437:28:0;;;3356:51:1;3423:18;;;3416:34;;;47437:5:0;;;;:14;;3329:18:1;;47437:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;47487:7;47476;;:18;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;47364:138:0:o;35106:211::-;35250:58;;-1:-1:-1;;;;;3374:32:1;;35250:58:0;;;3356:51:1;3423:18;;;3416:34;;;35223:86:0;;35243:5;;-1:-1:-1;;;35273:23:0;3329:18:1;;35250:58:0;;;;-1:-1:-1;;35250:58:0;;;;;;;;;;;;;;-1:-1:-1;;;;;35250:58:0;-1:-1:-1;;;;;;35250:58:0;;;;;;;;;;35223:19;:86::i;:::-;35106:211;;;:::o;3225:191::-;3299:16;3318:6;;-1:-1:-1;;;;;3335:17:0;;;-1:-1:-1;;;;;;3335:17:0;;;;;;3368:40;;3318:6;;;;;;;3368:40;;3299:16;3368:40;3288:128;3225:191;:::o;35325:248::-;35496:68;;-1:-1:-1;;;;;3060:15:1;;;35496:68:0;;;3042:34:1;3112:15;;3092:18;;;3085:43;3144:18;;;3137:34;;;35469:96:0;;35489:5;;-1:-1:-1;;;35519:27:0;2977:18:1;;35496:68:0;2802:375:1;35469:96:0;35325:248;;;;:::o;37679:716::-;38103:23;38129:69;38157:4;38129:69;;;;;;;;;;;;;;;;;38137:5;-1:-1:-1;;;;;38129:27:0;;;:69;;;;;:::i;:::-;38213:17;;38103:95;;-1:-1:-1;38213:21:0;38209:179;;38310:10;38299:30;;;;;;;;;;;;:::i;:::-;38291:85;;;;-1:-1:-1;;;38291:85:0;;7058:2:1;38291:85:0;;;7040:21:1;7097:2;7077:18;;;7070:30;7136:34;7116:18;;;7109:62;-1:-1:-1;;;7187:18:1;;;7180:40;7237:19;;38291:85:0;6856:406:1;27005:229:0;27142:12;27174:52;27196:6;27204:4;27210:1;27213:12;27174:21;:52::i;:::-;27167:59;27005:229;-1:-1:-1;;;;27005:229:0:o;28125:510::-;28295:12;28353:5;28328:21;:30;;28320:81;;;;-1:-1:-1;;;28320:81:0;;5118:2:1;28320:81:0;;;5100:21:1;5157:2;5137:18;;;5130:30;5196:34;5176:18;;;5169:62;-1:-1:-1;;;5247:18:1;;;5240:36;5293:19;;28320:81:0;4916:402:1;28320:81:0;-1:-1:-1;;;;;24555:19:0;;;28412:60;;;;-1:-1:-1;;;28412:60:0;;6700:2:1;28412:60:0;;;6682:21:1;6739:2;6719:18;;;6712:30;6778:31;6758:18;;;6751:59;6827:18;;28412:60:0;6498:353:1;28412:60:0;28486:12;28500:23;28527:6;-1:-1:-1;;;;;28527:11:0;28546:5;28553:4;28527:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28485:73;;;;28576:51;28593:7;28602:10;28614:12;28576:16;:51::i;:::-;28569:58;28125:510;-1:-1:-1;;;;;;;28125:510:0:o;30811:712::-;30961:12;30990:7;30986:530;;;-1:-1:-1;31021:10:0;31014:17;;30986:530;31135:17;;:21;31131:374;;31333:10;31327:17;31394:15;31381:10;31377:2;31373:19;31366:44;31131:374;31476:12;31469:20;;-1:-1:-1;;;31469:20:0;;;;;;;;:::i;14:247:1:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;181:9;168:23;200:31;225:5;200:31;:::i;266:245::-;333:6;386:2;374:9;365:7;361:23;357:32;354:52;;;402:1;399;392:12;354:52;434:9;428:16;453:28;475:5;453:28;:::i;516:180::-;575:6;628:2;616:9;607:7;603:23;599:32;596:52;;;644:1;641;634:12;596:52;-1:-1:-1;667:23:1;;516:180;-1:-1:-1;516:180:1:o;701:184::-;771:6;824:2;812:9;803:7;799:23;795:32;792:52;;;840:1;837;830:12;792:52;-1:-1:-1;863:16:1;;701:184;-1:-1:-1;701:184:1:o;890:315::-;958:6;966;1019:2;1007:9;998:7;994:23;990:32;987:52;;;1035:1;1032;1025:12;987:52;1071:9;1058:23;1048:33;;1131:2;1120:9;1116:18;1103:32;1144:31;1169:5;1144:31;:::i;:::-;1194:5;1184:15;;;890:315;;;;;:::o;1210:465::-;1299:6;1307;1315;1368:2;1356:9;1347:7;1343:23;1339:32;1336:52;;;1384:1;1381;1374:12;1336:52;1420:9;1407:23;1397:33;;1480:2;1469:9;1465:18;1452:32;1493:31;1518:5;1493:31;:::i;:::-;1543:5;-1:-1:-1;1600:2:1;1585:18;;1572:32;1613:30;1572:32;1613:30;:::i;:::-;1662:7;1652:17;;;1210:465;;;;;:::o;1680:248::-;1748:6;1756;1809:2;1797:9;1788:7;1784:23;1780:32;1777:52;;;1825:1;1822;1815:12;1777:52;-1:-1:-1;;1848:23:1;;;1918:2;1903:18;;;1890:32;;-1:-1:-1;1680:248:1:o;1933:377::-;2007:6;2015;2023;2076:2;2064:9;2055:7;2051:23;2047:32;2044:52;;;2092:1;2089;2082:12;2044:52;2128:9;2115:23;2105:33;;2185:2;2174:9;2170:18;2157:32;2147:42;;2239:2;2228:9;2224:18;2211:32;2252:28;2274:5;2252:28;:::i;2315:274::-;2444:3;2482:6;2476:13;2498:53;2544:6;2539:3;2532:4;2524:6;2520:17;2498:53;:::i;:::-;2567:16;;;;;2315:274;-1:-1:-1;;2315:274:1:o;4121:383::-;4270:2;4259:9;4252:21;4233:4;4302:6;4296:13;4345:6;4340:2;4329:9;4325:18;4318:34;4361:66;4420:6;4415:2;4404:9;4400:18;4395:2;4387:6;4383:15;4361:66;:::i;:::-;4488:2;4467:15;-1:-1:-1;;4463:29:1;4448:45;;;;4495:2;4444:54;;4121:383;-1:-1:-1;;4121:383:1:o;5323:356::-;5525:2;5507:21;;;5544:18;;;5537:30;5603:34;5598:2;5583:18;;5576:62;5670:2;5655:18;;5323:356::o;7702:128::-;7742:3;7773:1;7769:6;7766:1;7763:13;7760:39;;;7779:18;;:::i;:::-;-1:-1:-1;7815:9:1;;7702:128::o;7835:217::-;7875:1;7901;7891:132;;7945:10;7940:3;7936:20;7933:1;7926:31;7980:4;7977:1;7970:15;8008:4;8005:1;7998:15;7891:132;-1:-1:-1;8037:9:1;;7835:217::o;8057:168::-;8097:7;8163:1;8159;8155:6;8151:14;8148:1;8145:21;8140:1;8133:9;8126:17;8122:45;8119:71;;;8170:18;;:::i;:::-;-1:-1:-1;8210:9:1;;8057:168::o;8230:125::-;8270:4;8298:1;8295;8292:8;8289:34;;;8303:18;;:::i;:::-;-1:-1:-1;8340:9:1;;8230:125::o;8360:258::-;8432:1;8442:113;8456:6;8453:1;8450:13;8442:113;;;8532:11;;;8526:18;8513:11;;;8506:39;8478:2;8471:10;8442:113;;;8573:6;8570:1;8567:13;8564:48;;;-1:-1:-1;;8608:1:1;8590:16;;8583:27;8360:258::o;8623:135::-;8662:3;-1:-1:-1;;8683:17:1;;8680:43;;;8703:18;;:::i;:::-;-1:-1:-1;8750:1:1;8739:13;;8623:135::o;8763:127::-;8824:10;8819:3;8815:20;8812:1;8805:31;8855:4;8852:1;8845:15;8879:4;8876:1;8869:15;8895:127;8956:10;8951:3;8947:20;8944:1;8937:31;8987:4;8984:1;8977:15;9011:4;9008:1;9001:15;9027:131;-1:-1:-1;;;;;9102:31:1;;9092:42;;9082:70;;9148:1;9145;9138:12;9163:118;9249:5;9242:13;9235:21;9228:5;9225:32;9215:60;;9271:1;9268;9261:12

Metadata Hash

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