Contract 0xa50E4817D3d2cC0D90b0d48A6b4F59f2A79608B6

 
Txn Hash
Block
From
To
Value [Txn Fee]
0xb7ff36432682060b4da5d6ad72408b171b89db73c3539ca8d31474d06815aadd97694532021-08-05 12:51:469 hrs 11 mins ago0x6cdda64a27ec0c848c6505619214dd24f6a56774 IN  0xa50e4817d3d2cc0d90b0d48a6b4f59f2a79608b60 BNB0.00048517
0x852137bd30cb7c28862d513a45c5271561969dcdee0692479d5e2736764e310e97635612021-08-05 7:49:4314 hrs 13 mins ago0x60583249251d3872c319fa52a5f8587fa474ba2a IN  0xa50e4817d3d2cc0d90b0d48a6b4f59f2a79608b60 BNB0.00056023
0xfba038f29b6b92eaf2af4bbd56b17a6615365fb1097c43b8f03a16ed7c5962c697631882021-08-05 7:31:0414 hrs 32 mins ago0x60583249251d3872c319fa52a5f8587fa474ba2a IN  0xa50e4817d3d2cc0d90b0d48a6b4f59f2a79608b60 BNB0.000401605
0xaa1b23fe580eedb763e90e3a7f5a9a6c2a8e501c3de2d652c5935a08cd224ca397598822021-08-05 4:39:3017 hrs 23 mins ago0x8a92ba4b66738e431ed9dbca26c946d219e89979 IN  0xa50e4817d3d2cc0d90b0d48a6b4f59f2a79608b60 BNB0.00056011
0x93876aadcc8ef7589f4b89f818b9edaa2ae1c8e56d9452bd16e8df49a5ad2c2697597982021-08-05 4:34:5617 hrs 28 mins ago0x8a92ba4b66738e431ed9dbca26c946d219e89979 IN  0xa50e4817d3d2cc0d90b0d48a6b4f59f2a79608b60 BNB0.000401605
0xeaa658006c3bd4c3674aed6da01d3d621942835e73c86202da7b22e07f216f3497551552021-08-05 0:35:2621 hrs 27 mins ago0x99ed3f17331952ec9b30389920c7d97387376116 IN  0xa50e4817d3d2cc0d90b0d48a6b4f59f2a79608b60 BNB0.000401605
0x3484b65da4bbb8373bca74f882ddd40967a4d6cd5a22f8d0c3e204320559791497428512021-08-04 14:01:021 day 8 hrs ago0x0bf02b5c7c5b53148dba7b0835cbabf37dc9b870 IN  0xa50e4817d3d2cc0d90b0d48a6b4f59f2a79608b60 BNB0.00034731
0x44278ddba1fadd9506357819064e32d7150a397761e5c606a2b51631b5b39d3497428442021-08-04 14:00:411 day 8 hrs ago0x0bf02b5c7c5b53148dba7b0835cbabf37dc9b870 IN  0xa50e4817d3d2cc0d90b0d48a6b4f59f2a79608b60 BNB0.000476515
0x7474049db1788bbb82a4c39c8e825d30016f8a6f853f1cfe9e34d5a25751c7aa97409952021-08-04 12:26:011 day 9 hrs ago0xe8b4321cf1e9b5807e71151279dbb46de9a89be8 IN  0xa50e4817d3d2cc0d90b0d48a6b4f59f2a79608b60 BNB0.00056023
0x9ff1cda4803a21803839fd98c88bc0ce3d5d472cab166e40cfca86ce885f8cd697395612021-08-04 11:12:041 day 10 hrs ago0x31e41224c062994e893926f8ed503267cbbd4ac3 IN  0xa50e4817d3d2cc0d90b0d48a6b4f59f2a79608b60 BNB0.000422605
0x7d0310cd515bc9c76092ab06c96684dd2bc316668d69461bc94db94b12bb985697392732021-08-04 10:57:081 day 11 hrs ago0xb58ef22e543d705cb1b7d21f1cc0c228ad434412 IN  0xa50e4817d3d2cc0d90b0d48a6b4f59f2a79608b60 BNB0.000401605
0xecde209f336fbf2dee0f3635b6f4cbf09b3d1f8cabbd54b49027ae7f9548b57c97377642021-08-04 9:40:111 day 12 hrs ago0x0bf02b5c7c5b53148dba7b0835cbabf37dc9b870 IN  0xa50e4817d3d2cc0d90b0d48a6b4f59f2a79608b60 BNB0.000347605
0xb9f55f7d42bb1a5b1006c2370fb092861f6a5b698c250fdb0cb3f7dcefeb4c0097377122021-08-04 9:37:351 day 12 hrs ago0x0bf02b5c7c5b53148dba7b0835cbabf37dc9b870 IN  0xa50e4817d3d2cc0d90b0d48a6b4f59f2a79608b60 BNB0.00048523
0xa201d9fb499fe5bea2dea21a4695ff1945a025bd4399ca1efbf7b23c3e79711497368062021-08-04 8:50:571 day 13 hrs ago0xcd07c54b67adcd0332b48fdf5e1559050965d35b IN  0xa50e4817d3d2cc0d90b0d48a6b4f59f2a79608b60 BNB0.000401605
0xc753625c97b22407b67aa6c3081c922c8558835920422deb10aa18bcc54522a397348522021-08-04 7:01:501 day 15 hrs ago0xf229e308f017038d1e76d8c33d92bba324d39183 IN  0xa50e4817d3d2cc0d90b0d48a6b4f59f2a79608b60 BNB0.000347605
0xe7c32ba8056ed551159d2683bff1728230d0f0ab5afd66315d86dbfb306142ec97321822021-08-04 4:44:411 day 17 hrs ago0xe8b4321cf1e9b5807e71151279dbb46de9a89be8 IN  0xa50e4817d3d2cc0d90b0d48a6b4f59f2a79608b60 BNB0.000476605
0x92b794a40cfb92420dfd4b382b5da62bb71dd42fe5e79b1f143c7822203b62f197261052021-08-03 23:33:141 day 22 hrs ago0x0bf02b5c7c5b53148dba7b0835cbabf37dc9b870 IN  0xa50e4817d3d2cc0d90b0d48a6b4f59f2a79608b60 BNB0.00056023
0xbc43503cd6b1770885b031c0fd2acfbf1fc146f7bbe52c64de20dabcf3b5718f97258112021-08-03 23:18:011 day 22 hrs ago0x0bf02b5c7c5b53148dba7b0835cbabf37dc9b870 IN  0xa50e4817d3d2cc0d90b0d48a6b4f59f2a79608b60 BNB0.000347605
0xe45b17db190521dde09a9717c0d509d982cc68e5d571a6c1625c5e8433a3d3e497211802021-08-03 19:21:422 days 2 hrs ago0xdb88e5b843fe9c543cf8096402a34fd336d17965 IN  0xa50e4817d3d2cc0d90b0d48a6b4f59f2a79608b60 BNB0.000476605
0xfb6361c971b87384a43a9a750cebe07b1e6d1e9ee518dbcd6ad243a65a0fc4db97045842021-08-03 4:34:212 days 17 hrs ago0xb58ef22e543d705cb1b7d21f1cc0c228ad434412 IN  0xa50e4817d3d2cc0d90b0d48a6b4f59f2a79608b60 BNB0.000613935
0x8e4ba39abcc94595bc92dd171eb1be81623ae173e59c1914e403072f7582818497036912021-08-03 3:41:162 days 18 hrs ago0x45baf54feda53b879762725f632097dd7a825ddc IN  0xa50e4817d3d2cc0d90b0d48a6b4f59f2a79608b60 BNB0.000476605
0xa602d6168a90754718bef3d7b64e5d5332daa7e5d69ff03dc53d6bfdd321525096943532021-08-02 19:38:083 days 2 hrs ago0x60583249251d3872c319fa52a5f8587fa474ba2a IN  0xa50e4817d3d2cc0d90b0d48a6b4f59f2a79608b60 BNB0.000401605
0x02145a1c7ee1bca35e72679557e11d8e275e6983aa7d67aa0a1a06955a8e16ab96753752021-08-02 3:14:283 days 18 hrs ago0xf229e308f017038d1e76d8c33d92bba324d39183 IN  0xa50e4817d3d2cc0d90b0d48a6b4f59f2a79608b60 BNB0.00056017
0x7d8c56ba4d0db847c63330deed7362b50d65a438fdb51686a39404fa908a0c6996741242021-08-02 2:09:573 days 19 hrs ago0xcc26238acf01828607ef9e33f2325509b377b234 IN  0xa50e4817d3d2cc0d90b0d48a6b4f59f2a79608b60 BNB0.000476605
0x56abbfc1e90ff14c5f23fb8ab7d6663db9929224d4feb087ebf5ead39c32d77b96693622021-08-01 22:05:363 days 23 hrs ago0x0bf02b5c7c5b53148dba7b0835cbabf37dc9b870 IN  0xa50e4817d3d2cc0d90b0d48a6b4f59f2a79608b60 BNB0.000551395
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Similar Match)
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x3382B1dF75Bf7D3e87d7Af988Be235E4163316f1

Contract Name:
Farm

Compiler Version
v0.6.8+commit.0bbfe453

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-03-17
*/

pragma solidity ^0.6.8;


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

        uint256 size;
        // 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");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

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


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

abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor () internal {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!_paused, "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(_paused, "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

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

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

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

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

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

contract Farm is ReentrancyGuard, Pausable, Ownable {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    /* ========== STATE VARIABLES ========== */

    IERC20 public rewardsToken;
    IERC20 public stakingToken;
    uint256 public periodFinish = 0;
    uint256 public rewardRate = 0;
    uint256 public rewardsDuration;
    uint256 public lastUpdateTime;
    uint256 public rewardPerTokenStored;
    uint256 public stakingTokensDecimalRate;
    bool private initialised;

    mapping(address => uint256) public userRewardPerTokenPaid;
    mapping(address => uint256) public rewards;

    uint256 private _totalSupply;
    mapping(address => uint256) private _balances;

    /* ========== CONSTRUCTOR ========== */

    constructor (
        address _rewardsToken,
        address _stakingToken,
        uint _rewardsDuration,
        uint _stakingTokensDecimal
    ) public  {
        stakingTokensDecimalRate = pow(10, _stakingTokensDecimal);
        rewardsToken = IERC20(_rewardsToken);
        stakingToken = IERC20(_stakingToken);
        rewardsDuration = _rewardsDuration;
    }



    /* ========== VIEWS ========== */

    function totalSupply() external view returns (uint256) {
        return _totalSupply;
    }

    function pow(uint n, uint e) public pure returns (uint) {

        if (e == 0) {
            return 1;
        } else if (e == 1) {
            return n;
        } else {
            uint p = pow(n, e.div(2));
            p = p.mul(p);
            if (e.mod(2) == 1) {
                p = p.mul(n);
            }
            return p;
        }
    }

    function balanceOf(address account) external view returns (uint256) {
        return _balances[account];
    }

    function lastTimeRewardApplicable() public view returns (uint256) {
        return min(block.timestamp, periodFinish);
    }

    function rewardPerToken() public view returns (uint256) {
        if (_totalSupply == 0) {
            return rewardPerTokenStored;
        }
        return
        rewardPerTokenStored.add(
            lastTimeRewardApplicable()
            .sub(lastUpdateTime)
            .mul(rewardRate)
            .mul(stakingTokensDecimalRate)
            .div(_totalSupply)
        );
    }

    function earned(address account) public view returns (uint256) {
        return
        _balances[account]
        .mul(rewardPerToken().sub(userRewardPerTokenPaid[account]))
        .div(stakingTokensDecimalRate)
        .add(rewards[account]);
    }

    function getRewardForDuration() external view returns (uint256) {
        return rewardRate.mul(rewardsDuration);
    }

    function min(uint256 a, uint256 b) public pure returns (uint256) {
        return a < b ? a : b;
    }

    /* ========== MUTATIVE FUNCTIONS ========== */

    function stake(uint256 amount)
    external
    nonReentrant
    whenNotPaused
    updateReward(msg.sender)
    {
        require(amount > 0, "Cannot stake 0");
        _totalSupply = _totalSupply.add(amount);
        _balances[msg.sender] = _balances[msg.sender].add(amount);
        stakingToken.safeTransferFrom(msg.sender, address(this), amount);
        emit Staked(msg.sender, amount);
    }

    function withdraw(uint256 amount)
    public
    nonReentrant
    updateReward(msg.sender)
    {
        require(amount > 0, "Cannot withdraw 0");

        _totalSupply = _totalSupply.sub(amount);
        _balances[msg.sender] = _balances[msg.sender].sub(amount);
        stakingToken.safeTransfer(msg.sender, amount);
        emit Withdrawn(msg.sender, amount);
    }

    function getReward() public nonReentrant updateReward(msg.sender) {
        uint256 reward = rewards[msg.sender];
        if (reward > 0) {
            rewards[msg.sender] = 0;
            rewardsToken.safeTransfer(msg.sender, reward);
            emit RewardPaid(msg.sender, reward);
        }
    }

    function exit() external {
        withdraw(_balances[msg.sender]);
        getReward();
    }

    /* ========== RESTRICTED FUNCTIONS ========== */

    function notifyRewardAmount(uint256 reward)
    external
    onlyOwner
    updateReward(address(0))
    {
        if (block.timestamp >= periodFinish) {
            rewardRate = reward.div(rewardsDuration);
        } else {
            uint256 remaining = periodFinish.sub(block.timestamp);
            uint256 leftover = remaining.mul(rewardRate);
            rewardRate = reward.add(leftover).div(rewardsDuration);
        }

        // Ensure the provided reward amount is not more than the balance in the contract.
        // This keeps the reward rate in the right range, preventing overflows due to
        // very high values of rewardRate in the earned and rewardsPerToken functions;
        // Reward + leftover must be less than 2^256 / 10^18 to avoid overflow.
        uint256 balance = rewardsToken.balanceOf(address(this));
        require(
            rewardRate <= balance.div(rewardsDuration),
            "Provided reward too high"
        );

        lastUpdateTime = block.timestamp;
        periodFinish = block.timestamp.add(rewardsDuration);
        emit RewardAdded(reward);
    }

    // Added to support recovering LP Rewards from other systems such as BAL to be distributed to holders
    function recoverERC20(address tokenAddress, uint256 tokenAmount)
    external
    onlyOwner
    {
        // Cannot recover the staking token or the rewards token
        require(
            tokenAddress != address(rewardsToken),
            "Cannot withdraw the rewards tokens"
        );
        if (_totalSupply != 0) {
            require(
                tokenAddress != address(stakingToken),
                "Cannot withdraw the staking tokens"
            );
        }
        IERC20(tokenAddress).safeTransfer(msg.sender, tokenAmount);
        emit Recovered(tokenAddress, tokenAmount);
    }

    function setRewardsDuration(uint256 _rewardsDuration) external onlyOwner {
        require(
            block.timestamp > periodFinish,
            "Previous rewards period must be complete before changing the duration for the new period"
        );
        rewardsDuration = _rewardsDuration;
        emit RewardsDurationUpdated(rewardsDuration);
    }

    /* ========== MODIFIERS ========== */

    modifier updateReward(address account) {
        rewardPerTokenStored = rewardPerToken();
        lastUpdateTime = lastTimeRewardApplicable();
        if (account != address(0)) {
            rewards[account] = earned(account);
            userRewardPerTokenPaid[account] = rewardPerTokenStored;
        }
        _;
    }

    /* ========== EVENTS ========== */

    event RewardAdded(uint256 reward);
    event Staked(address indexed user, uint256 amount);
    event Withdrawn(address indexed user, uint256 amount);
    event RewardPaid(address indexed user, uint256 reward);
    event RewardsDurationUpdated(uint256 newDuration);
    event Recovered(address token, uint256 amount);
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_rewardsToken","type":"address"},{"internalType":"address","name":"_stakingToken","type":"address"},{"internalType":"uint256","name":"_rewardsDuration","type":"uint256"},{"internalType":"uint256","name":"_stakingTokensDecimal","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Recovered","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newDuration","type":"uint256"}],"name":"RewardsDurationUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getRewardForDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"a","type":"uint256"},{"internalType":"uint256","name":"b","type":"uint256"}],"name":"min","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"reward","type":"uint256"}],"name":"notifyRewardAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"n","type":"uint256"},{"internalType":"uint256","name":"e","type":"uint256"}],"name":"pow","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardsDuration","type":"uint256"}],"name":"setRewardsDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakingTokensDecimalRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","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":"address","name":"","type":"address"}],"name":"userRewardPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600060045560006005553480156200001b57600080fd5b506040516200312538038062003125833981810160405260808110156200004157600080fd5b810190808051906020019092919080519060200190929190805190602001909291908051906020019092919050505060016000819055506000600160006101000a81548160ff0219169083151502179055506000620000a5620001ef60201b60201c565b9050806001806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35062000156600a82620001f760201b60201c565b60098190555083600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550816006819055505050505062000577565b600033905090565b6000808214156200020c5760019050620002b1565b60018214156200021f57829050620002b1565b60006200024d8462000241600286620002b760201b620020a51790919060201c565b620001f760201b60201c565b90506200026981826200030960201b620020ef1790919060201c565b90506001620002886002856200039460201b620021751790919060201c565b1415620002ac57620002a984826200030960201b620020ef1790919060201c565b90505b809150505b92915050565b60006200030183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250620003e660201b60201c565b905092915050565b6000808314156200031e57600090506200038e565b60008284029050828482816200033057fe5b041462000389576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180620031046021913960400191505060405180910390fd5b809150505b92915050565b6000620003de83836040518060400160405280601881526020017f536166654d6174683a206d6f64756c6f206279207a65726f0000000000000000815250620004b160201b60201c565b905092915050565b6000808311829062000496576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156200045a5780820151818401526020810190506200043d565b50505050905090810190601f168015620004885780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581620004a357fe5b049050809150509392505050565b600080831415829062000562576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156200052657808201518184015260208101905062000509565b50505050905090810190601f168015620005545780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b508284816200056d57fe5b0690509392505050565b612b7d80620005876000396000f3fe608060405234801561001057600080fd5b50600436106101ce5760003560e01c80637b0a47ee11610104578063c8f33c91116100a2578063df136d6511610071578063df136d65146106d5578063e9fad8ee146106f3578063ebe2b12b146106fd578063f2fde38b1461071b576101ce565b8063c8f33c9114610621578063cc1a378f1461063f578063cd3daf9d1461066d578063d1af0c7d1461068b576101ce565b80638b876347116100de5780638b876347146105335780638da5cb5b1461058b578063a694fc3a146105d5578063a85fe3b714610603576101ce565b80637b0a47ee146104a957806380faa57d146104c75780638980f11f146104e5576101ce565b80633c6b16ab1161017157806370a082311161014b57806370a08231146103b1578063715018a61461040957806372f702f3146104135780637ae2b5c71461045d576101ce565b80633c6b16ab146103575780633d18b912146103855780635c975abb1461038f576101ce565b80631c1f78eb116101ad5780631c1f78eb146102a15780632e1a7d4d146102bf5780632e4c697f146102ed578063386a952514610339576101ce565b80628cc262146101d35780630700037d1461022b57806318160ddd14610283575b600080fd5b610215600480360360208110156101e957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061075f565b6040518082815260200191505060405180910390f35b61026d6004803603602081101561024157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610877565b6040518082815260200191505060405180910390f35b61028b61088f565b6040518082815260200191505060405180910390f35b6102a9610899565b6040518082815260200191505060405180910390f35b6102eb600480360360208110156102d557600080fd5b81019080803590602001909291905050506108b7565b005b6103236004803603604081101561030357600080fd5b810190808035906020019092919080359060200190929190505050610be9565b6040518082815260200191505060405180910390f35b610341610c80565b6040518082815260200191505060405180910390f35b6103836004803603602081101561036d57600080fd5b8101908080359060200190929190505050610c86565b005b61038d611087565b005b610397611326565b604051808215151515815260200191505060405180910390f35b6103f3600480360360208110156103c757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061133d565b6040518082815260200191505060405180910390f35b610411611386565b005b61041b61150e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104936004803603604081101561047357600080fd5b810190808035906020019092919080359060200190929190505050611534565b6040518082815260200191505060405180910390f35b6104b161154d565b6040518082815260200191505060405180910390f35b6104cf611553565b6040518082815260200191505060405180910390f35b610531600480360360408110156104fb57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611566565b005b6105756004803603602081101561054957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611822565b6040518082815260200191505060405180910390f35b61059361183a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610601600480360360208110156105eb57600080fd5b8101908080359060200190929190505050611863565b005b61060b611c1a565b6040518082815260200191505060405180910390f35b610629611c20565b6040518082815260200191505060405180910390f35b61066b6004803603602081101561065557600080fd5b8101908080359060200190929190505050611c26565b005b610675611d8c565b6040518082815260200191505060405180910390f35b610693611e14565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106dd611e3a565b6040518082815260200191505060405180910390f35b6106fb611e40565b005b610705611e92565b6040518082815260200191505060405180910390f35b61075d6004803603602081101561073157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611e98565b005b6000610870600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610862600954610854610806600b60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546107f8611d8c565b6121bf90919063ffffffff16565b600e60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120ef90919063ffffffff16565b6120a590919063ffffffff16565b61220990919063ffffffff16565b9050919050565b600c6020528060005260406000206000915090505481565b6000600d54905090565b60006108b26006546005546120ef90919063ffffffff16565b905090565b60026000541415610930576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260008190555033610941611d8c565b60088190555061094f611553565b600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a1c576109928161075f565b600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60008211610a92576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e6e6f74207769746864726177203000000000000000000000000000000081525060200191505060405180910390fd5b610aa782600d546121bf90919063ffffffff16565b600d81905550610aff82600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546121bf90919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610b8f3383600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166122919092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5836040518082815260200191505060405180910390a250600160008190555050565b600080821415610bfc5760019050610c7a565b6001821415610c0d57829050610c7a565b6000610c2c84610c276002866120a590919063ffffffff16565b610be9565b9050610c4181826120ef90919063ffffffff16565b90506001610c5960028561217590919063ffffffff16565b1415610c7557610c7284826120ef90919063ffffffff16565b90505b809150505b92915050565b60065481565b610c8e612349565b73ffffffffffffffffffffffffffffffffffffffff166001809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610d4f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6000610d59611d8c565b600881905550610d67611553565b600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e3457610daa8161075f565b600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6004544210610e5d57610e52600654836120a590919063ffffffff16565b600581905550610ebf565b6000610e74426004546121bf90919063ffffffff16565b90506000610e8d600554836120ef90919063ffffffff16565b9050610eb6600654610ea8838761220990919063ffffffff16565b6120a590919063ffffffff16565b60058190555050505b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610f6057600080fd5b505afa158015610f74573d6000803e3d6000fd5b505050506040513d6020811015610f8a57600080fd5b81019080805190602001909291905050509050610fb2600654826120a590919063ffffffff16565b6005541115611029576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f50726f76696465642072657761726420746f6f2068696768000000000000000081525060200191505060405180910390fd5b426007819055506110456006544261220990919063ffffffff16565b6004819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d836040518082815260200191505060405180910390a1505050565b60026000541415611100576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260008190555033611111611d8c565b60088190555061111f611553565b600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146111ec576111628161075f565b600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600081111561131a576000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506112cb3382600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166122919092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b50506001600081905550565b6000600160009054906101000a900460ff16905090565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61138e612349565b73ffffffffffffffffffffffffffffffffffffffff166001809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461144f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166001809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360006001806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008183106115435781611545565b825b905092915050565b60055481565b600061156142600454611534565b905090565b61156e612349565b73ffffffffffffffffffffffffffffffffffffffff166001809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461162f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116d6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180612a936022913960400191505060405180910390fd5b6000600d541461178857600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611787576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180612afc6022913960400191505060405180910390fd5b5b6117b333828473ffffffffffffffffffffffffffffffffffffffff166122919092919063ffffffff16565b7f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa288282604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a15050565b600b6020528060005260406000206000915090505481565b60006001809054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600260005414156118dc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600081905550600160009054906101000a900460ff1615611967576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b33611970611d8c565b60088190555061197e611553565b600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611a4b576119c18161075f565b600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60008211611ac1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e6e6f74207374616b65203000000000000000000000000000000000000081525060200191505060405180910390fd5b611ad682600d5461220990919063ffffffff16565b600d81905550611b2e82600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461220990919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611bc0333084600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612351909392919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d836040518082815260200191505060405180910390a250600160008190555050565b60095481565b60075481565b611c2e612349565b73ffffffffffffffffffffffffffffffffffffffff166001809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611cef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6004544211611d49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526058815260200180612a156058913960600191505060405180910390fd5b806006819055507ffb46ca5a5e06d4540d6387b930a7c978bce0db5f449ec6b3f5d07c6e1d44f2d36006546040518082815260200191505060405180910390a150565b600080600d541415611da2576008549050611e11565b611e0e611dfd600d54611def600954611de1600554611dd3600754611dc5611553565b6121bf90919063ffffffff16565b6120ef90919063ffffffff16565b6120ef90919063ffffffff16565b6120a590919063ffffffff16565b60085461220990919063ffffffff16565b90505b90565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60085481565b611e88600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546108b7565b611e90611087565b565b60045481565b611ea0612349565b73ffffffffffffffffffffffffffffffffffffffff166001809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611f61576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611fe7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612a6d6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166001809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806001806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006120e783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061243e565b905092915050565b600080831415612102576000905061216f565b600082840290508284828161211357fe5b041461216a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612adb6021913960400191505060405180910390fd5b809150505b92915050565b60006121b783836040518060400160405280601881526020017f536166654d6174683a206d6f64756c6f206279207a65726f0000000000000000815250612504565b905092915050565b600061220183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506125c5565b905092915050565b600080828401905083811015612287576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6123448363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612685565b505050565b600033905090565b612438846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612685565b50505050565b600080831182906124ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156124af578082015181840152602081019050612494565b50505050905090810190601f1680156124dc5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816124f657fe5b049050809150509392505050565b60008083141582906125b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561257657808201518184015260208101905061255b565b50505050905090810190601f1680156125a35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b508284816125bb57fe5b0690509392505050565b6000838311158290612672576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561263757808201518184015260208101905061261c565b50505050905090810190601f1680156126645780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60606126e7826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166127749092919063ffffffff16565b905060008151111561276f5780806020019051602081101561270857600080fd5b810190808051906020019092919050505061276e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612b1e602a913960400191505060405180910390fd5b5b505050565b6060612783848460008561278c565b90509392505050565b6060824710156127e7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612ab56026913960400191505060405180910390fd5b6127f085612935565b612862576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106128b2578051825260208201915060208101905060208303925061288f565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612914576040519150601f19603f3d011682016040523d82523d6000602084013e612919565b606091505b5091509150612929828286612948565b92505050949350505050565b600080823b905060008111915050919050565b6060831561295857829050612a0d565b60008351111561296b5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156129d25780820151818401526020810190506129b7565b50505050905090810190601f1680156129ff5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe50726576696f7573207265776172647320706572696f64206d75737420626520636f6d706c657465206265666f7265206368616e67696e6720746865206475726174696f6e20666f7220746865206e657720706572696f644f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737343616e6e6f7420776974686472617720746865207265776172647320746f6b656e73416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616e6e6f7420776974686472617720746865207374616b696e6720746f6b656e735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220b991d1a4c18aa81e299416d7de9b62c01a30b1a216d344a4a19d0d19dbd27d2964736f6c63430006080033536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77000000000000000000000000f86eeb2a6e1e8315b37b025df51a7603e4ece57a000000000000000000000000578f90636f0402219e177edfb77f8a1734b081180000000000000000000000000000000000000000000000000000000001e133800000000000000000000000000000000000000000000000000000000000000009

Deployed ByteCode Sourcemap

23075:7148:0:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;23075:7148:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;25396:257:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;25396:257:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23651:42;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;23651:42:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24267:93;;;:::i;:::-;;;;;;;;;;;;;;;;;;;25661:121;;;:::i;:::-;;;;;;;;;;;;;;;;;;;26372:379;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;26372:379:0;;;;;;;;;;;;;;;;;:::i;:::-;;24368:364;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;24368:364:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23393:30;;;:::i;:::-;;;;;;;;;;;;;;;;;;;27235:1129;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;27235:1129:0;;;;;;;;;;;;;;;;;:::i;:::-;;26759:307;;;:::i;:::-;;10466:78;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;24740:112;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;24740:112:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22521:148;;;:::i;:::-;;23286:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;25790:104;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;25790:104:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23357:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24860:126;;;:::i;:::-;;;;;;;;;;;;;;;;;;;28479:619;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;28479:619:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;23587:57;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;23587:57:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21879:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;25956:408;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;25956:408:0;;;;;;;;;;;;;;;;;:::i;:::-;;23508:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23430:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29106:360;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;29106:360:0;;;;;;;;;;;;;;;;;:::i;:::-;;24994:394;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23253:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;23466:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;27074:97;;;:::i;:::-;;23319:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22824:244;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;22824:244:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;25396:257;25450:7;25486:159;25628:7;:16;25636:7;25628:16;;;;;;;;;;;;;;;;25486:127;25588:24;;25486:87;25519:53;25540:22;:31;25563:7;25540:31;;;;;;;;;;;;;;;;25519:16;:14;:16::i;:::-;:20;;:53;;;;:::i;:::-;25486:9;:18;25496:7;25486:18;;;;;;;;;;;;;;;;:32;;:87;;;;:::i;:::-;:101;;:127;;;;:::i;:::-;:141;;:159;;;;:::i;:::-;25470:175;;25396:257;;;:::o;23651:42::-;;;;;;;;;;;;;;;;;:::o;24267:93::-;24313:7;24340:12;;24333:19;;24267:93;:::o;25661:121::-;25716:7;25743:31;25758:15;;25743:10;;:14;;:31;;;;:::i;:::-;25736:38;;25661:121;:::o;26372:379::-;12526:1;13132:7;;:19;;13124:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12526:1;13265:7;:18;;;;26454:10:::1;29592:16;:14;:16::i;:::-;29569:20;:39;;;;29636:26;:24;:26::i;:::-;29619:14;:43;;;;29696:1;29677:21;;:7;:21;;;29673:157;;29734:15;29741:7;29734:6;:15::i;:::-;29715:7;:16;29723:7;29715:16;;;;;;;;;;;;;;;:34;;;;29798:20;;29764:22;:31;29787:7;29764:31;;;;;;;;;;;;;;;:54;;;;29673:157;26499:1:::2;26490:6;:10;26482:40;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;26550:24;26567:6;26550:12;;:16;;:24;;;;:::i;:::-;26535:12;:39;;;;26609:33;26635:6;26609:9;:21;26619:10;26609:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;26585:9;:21;26595:10;26585:21;;;;;;;;;;;;;;;:57;;;;26653:45;26679:10;26691:6;26653:12;;;;;;;;;;;:25;;;;:45;;;;;:::i;:::-;26724:10;26714:29;;;26736:6;26714:29;;;;;;;;;;;;;;;;;;13296:1:::1;12482::::0;13444:7;:22;;;;26372:379;:::o;24368:364::-;24418:4;24446:1;24441;:6;24437:288;;;24471:1;24464:8;;;;24437:288;24499:1;24494;:6;24490:235;;;24524:1;24517:8;;;;24490:235;24558:6;24567:16;24571:1;24574:8;24580:1;24574;:5;;:8;;;;:::i;:::-;24567:3;:16::i;:::-;24558:25;;24602:8;24608:1;24602;:5;;:8;;;;:::i;:::-;24598:12;;24641:1;24629:8;24635:1;24629;:5;;:8;;;;:::i;:::-;:13;24625:66;;;24667:8;24673:1;24667;:5;;:8;;;;:::i;:::-;24663:12;;24625:66;24712:1;24705:8;;;24368:364;;;;;:::o;23393:30::-;;;;:::o;27235:1129::-;22101:12;:10;:12::i;:::-;22091:22;;:6;;;;;;;;;;;:22;;;22083:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27334:1:::1;29592:16;:14;:16::i;:::-;29569:20;:39;;;;29636:26;:24;:26::i;:::-;29619:14;:43;;;;29696:1;29677:21;;:7;:21;;;29673:157;;29734:15;29741:7;29734:6;:15::i;:::-;29715:7;:16;29723:7;29715:16;;;;;;;;;;;;;;;:34;;;;29798:20;;29764:22;:31;29787:7;29764:31;;;;;;;;;;;;;;;:54;;;;29673:157;27377:12:::2;;27358:15;:31;27354:318;;27419:27;27430:15;;27419:6;:10;;:27;;;;:::i;:::-;27406:10;:40;;;;27354:318;;;27479:17;27499:33;27516:15;27499:12;;:16;;:33;;;;:::i;:::-;27479:53;;27547:16;27566:25;27580:10;;27566:9;:13;;:25;;;;:::i;:::-;27547:44;;27619:41;27644:15;;27619:20;27630:8;27619:6;:10;;:20;;;;:::i;:::-;:24;;:41;;;;:::i;:::-;27606:10;:54;;;;27354:318;;;28032:15;28050:12;;;;;;;;;;;:22;;;28081:4;28050:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::2;2:2;28050:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::2;77:16;74:1;67:27;5:2;28050:37:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28::::0;21:12:::2;4:2;28050:37:0;;;;;;;;;;;;;;;;28032:55;;28134:28;28146:15;;28134:7;:11;;:28;;;;:::i;:::-;28120:10;;:42;;28098:116;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;28244:15;28227:14;:32;;;;28285:36;28305:15;;28285;:19;;:36;;;;:::i;:::-;28270:12;:51;;;;28337:19;28349:6;28337:19;;;;;;;;;;;;;;;;;;29840:1;22161::::1;27235:1129:::0;:::o;26759:307::-;12526:1;13132:7;;:19;;13124:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12526:1;13265:7;:18;;;;26813:10:::1;29592:16;:14;:16::i;:::-;29569:20;:39;;;;29636:26;:24;:26::i;:::-;29619:14;:43;;;;29696:1;29677:21;;:7;:21;;;29673:157;;29734:15;29741:7;29734:6;:15::i;:::-;29715:7;:16;29723:7;29715:16;;;;;;;;;;;;;;;:34;;;;29798:20;;29764:22;:31;29787:7;29764:31;;;;;;;;;;;;;;;:54;;;;29673:157;26836:14:::2;26853:7;:19;26861:10;26853:19;;;;;;;;;;;;;;;;26836:36;;26896:1;26887:6;:10;26883:176;;;26936:1;26914:7;:19;26922:10;26914:19;;;;;;;;;;;;;;;:23;;;;26952:45;26978:10;26990:6;26952:12;;;;;;;;;;;:25;;;;:45;;;;;:::i;:::-;27028:10;27017:30;;;27040:6;27017:30;;;;;;;;;;;;;;;;;;26883:176;29840:1;13296::::1;12482::::0;13444:7;:22;;;;26759:307::o;10466:78::-;10505:4;10529:7;;;;;;;;;;;10522:14;;10466:78;:::o;24740:112::-;24799:7;24826:9;:18;24836:7;24826:18;;;;;;;;;;;;;;;;24819:25;;24740:112;;;:::o;22521:148::-;22101:12;:10;:12::i;:::-;22091:22;;:6;;;;;;;;;;;:22;;;22083:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22628:1:::1;22591:40;;22612:6;::::0;::::1;;;;;;;;;22591:40;;;;;;;;;;;;22659:1;22642:6;::::0;:19:::1;;;;;;;;;;;;;;;;;;22521:148::o:0;23286:26::-;;;;;;;;;;;;;:::o;25790:104::-;25846:7;25877:1;25873;:5;:13;;25885:1;25873:13;;;25881:1;25873:13;25866:20;;25790:104;;;;:::o;23357:29::-;;;;:::o;24860:126::-;24917:7;24944:34;24948:15;24965:12;;24944:3;:34::i;:::-;24937:41;;24860:126;:::o;28479:619::-;22101:12;:10;:12::i;:::-;22091:22;;:6;;;;;;;;;;;:22;;;22083:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28701:12:::1;;;;;;;;;;;28677:37;;:12;:37;;;;28655:121;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28807:1;28791:12;;:17;28787:183;;28875:12;;;;;;;;;;;28851:37;;:12;:37;;;;28825:133;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28787:183;28980:58;29014:10;29026:11;28987:12;28980:33;;;;:58;;;;;:::i;:::-;29054:36;29064:12;29078:11;29054:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;28479:619:::0;;:::o;23587:57::-;;;;;;;;;;;;;;;;;:::o;21879:79::-;21917:7;21944:6;;;;;;;;;;;21937:13;;21879:79;:::o;25956:408::-;12526:1;13132:7;;:19;;13124:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12526:1;13265:7;:18;;;;10784:7:::1;;;;;;;;;;;10783:8;10775:37;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;26056:10:::2;29592:16;:14;:16::i;:::-;29569:20;:39;;;;29636:26;:24;:26::i;:::-;29619:14;:43;;;;29696:1;29677:21;;:7;:21;;;29673:157;;29734:15;29741:7;29734:6;:15::i;:::-;29715:7;:16;29723:7;29715:16;;;;;;;;;;;;;;;:34;;;;29798:20;;29764:22;:31;29787:7;29764:31;;;;;;;;;;;;;;;:54;;;;29673:157;26101:1:::3;26092:6;:10;26084:37;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;26147:24;26164:6;26147:12;;:16;;:24;;;;:::i;:::-;26132:12;:39;;;;26206:33;26232:6;26206:9;:21;26216:10;26206:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;26182:9;:21;26192:10;26182:21;;;;;;;;;;;;;;;:57;;;;26250:64;26280:10;26300:4;26307:6;26250:12;;;;;;;;;;;:29;;;;:64;;;;;;:::i;:::-;26337:10;26330:26;;;26349:6;26330:26;;;;;;;;;;;;;;;;;;10823:1:::2;12482::::0;13444:7;:22;;;;25956:408;:::o;23508:39::-;;;;:::o;23430:29::-;;;;:::o;29106:360::-;22101:12;:10;:12::i;:::-;22091:22;;:6;;;;;;;;;;;:22;;;22083:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29230:12:::1;;29212:15;:30;29190:168;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29387:16;29369:15;:34;;;;29419:39;29442:15;;29419:39;;;;;;;;;;;;;;;;;;29106:360:::0;:::o;24994:394::-;25041:7;25081:1;25065:12;;:17;25061:77;;;25106:20;;25099:27;;;;25061:77;25164:216;25203:166;25356:12;;25203:134;25312:24;;25203:90;25282:10;;25203:60;25248:14;;25203:26;:24;:26::i;:::-;:44;;:60;;;;:::i;:::-;:78;;:90;;;;:::i;:::-;:108;;:134;;;;:::i;:::-;:152;;:166;;;;:::i;:::-;25164:20;;:24;;:216;;;;:::i;:::-;25148:232;;24994:394;;:::o;23253:26::-;;;;;;;;;;;;;:::o;23466:35::-;;;;:::o;27074:97::-;27110:31;27119:9;:21;27129:10;27119:21;;;;;;;;;;;;;;;;27110:8;:31::i;:::-;27152:11;:9;:11::i;:::-;27074:97::o;23319:31::-;;;;:::o;22824:244::-;22101:12;:10;:12::i;:::-;22091:22;;:6;;;;;;;;;;;:22;;;22083:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22933:1:::1;22913:22;;:8;:22;;;;22905:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23023:8;22994:38;;23015:6;::::0;::::1;;;;;;;;;22994:38;;;;;;;;;;;;23052:8;23043:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;22824:244:::0;:::o;16045:132::-;16103:7;16130:39;16134:1;16137;16130:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;16123:46;;16045:132;;;;:::o;15098:471::-;15156:7;15406:1;15401;:6;15397:47;;;15431:1;15424:8;;;;15397:47;15456:9;15472:1;15468;:5;15456:17;;15501:1;15496;15492;:5;;;;;;:10;15484:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15560:1;15553:8;;;15098:471;;;;;:::o;17416:130::-;17474:7;17501:37;17505:1;17508;17501:37;;;;;;;;;;;;;;;;;:3;:37::i;:::-;17494:44;;17416:130;;;;:::o;14208:136::-;14266:7;14293:43;14297:1;14300;14293:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;14286:50;;14208:136;;;;:::o;13744:181::-;13802:7;13822:9;13838:1;13834;:5;13822:17;;13863:1;13858;:6;;13850:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13916:1;13909:8;;;13744:181;;;;:::o;18296:177::-;18379:86;18399:5;18429:23;;;18454:2;18458:5;18406:58;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;18406:58:0;;;;;;;38:4:-1;29:7;25:18;67:10;61:17;96:58;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;18406:58:0;18379:19;:86::i;:::-;18296:177;;;:::o;9568:106::-;9621:15;9656:10;9649:17;;9568:106;:::o;18481:205::-;18582:96;18602:5;18632:27;;;18661:4;18667:2;18671:5;18609:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;18609:68:0;;;;;;;38:4:-1;29:7;25:18;67:10;61:17;96:58;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;18609:68:0;18582:19;:96::i;:::-;18481:205;;;;:::o;16673:278::-;16759:7;16791:1;16787;:5;16794:12;16779:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;16779:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16818:9;16834:1;16830;:5;;;;;;16818:17;;16942:1;16935:8;;;16673:278;;;;;:::o;18031:166::-;18117:7;18150:1;18145;:6;;18153:12;18137:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;18137:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18188:1;18184;:5;;;;;;18177:12;;18031:166;;;;;:::o;14647:192::-;14733:7;14766:1;14761;:6;;14769:12;14753:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;14753:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14793:9;14809:1;14805;:5;14793:17;;14830:1;14823:8;;;14647:192;;;;;:::o;20601:761::-;21025:23;21051:69;21079:4;21051:69;;;;;;;;;;;;;;;;;21059:5;21051:27;;;;:69;;;;;:::i;:::-;21025:95;;21155:1;21135:10;:17;:21;21131:224;;;21277:10;21266:30;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;21266:30:0;;;;;;;;;;;;;;;;21258:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21131:224;20601:761;;;:::o;3557:195::-;3660:12;3692:52;3714:6;3722:4;3728:1;3731:12;3692:21;:52::i;:::-;3685:59;;3557:195;;;;;:::o;4609:530::-;4736:12;4794:5;4769:21;:30;;4761:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4861:18;4872:6;4861:10;:18::i;:::-;4853:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4987:12;5001:23;5028:6;:11;;5048:5;5056:4;5028:33;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;5028:33:0;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;4986:75:0;;;;5079:52;5097:7;5106:10;5118:12;5079:17;:52::i;:::-;5072:59;;;;4609:530;;;;;;:::o;639:422::-;699:4;907:12;1018:7;1006:20;998:28;;1052:1;1045:4;:8;1038:15;;;639:422;;;:::o;6145:742::-;6260:12;6289:7;6285:595;;;6320:10;6313:17;;;;6285:595;6454:1;6434:10;:17;:21;6430:439;;;6697:10;6691:17;6758:15;6745:10;6741:2;6737:19;6730:44;6645:148;6840:12;6833:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;6833:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6145:742;;;;;;:::o

Swarm Source

ipfs://b991d1a4c18aa81e299416d7de9b62c01a30b1a216d344a4a19d0d19dbd27d29
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.