Contract 0xd039bc46650a7b099f92bbf76b2b365e17a55693

 
Txn Hash
Block
From
To
Value [Txn Fee]
0x399d69b1c9a0464ef4dc1af4f667d5a582fc654e2bef656c9df95ee09611e01384660732021-06-20 16:39:445 hrs 38 mins ago0x76bf63849e46d5232eefaf348ef3cde43d266ca2 IN  0xd039bc46650a7b099f92bbf76b2b365e17a556930 BNB0.00038095
0x7096d5d2ee8e3a0cb4e170db2fb7756d899a32ee22388524065d5ba9e89eb7f184659332021-06-20 16:32:445 hrs 45 mins ago0x09badc2fc499b6cfb47214da697d7be31517da92 IN  0xd039bc46650a7b099f92bbf76b2b365e17a556930 BNB0.00049343
0x80b24aa3260a57d0f320ca1b6798d8ed1193118caaf5b1510e37b58a9f3cb3fd84656392021-06-20 16:18:026 hrs ago0x76bf63849e46d5232eefaf348ef3cde43d266ca2 IN  0xd039bc46650a7b099f92bbf76b2b365e17a556930 BNB0.000377775
0x130c608f4c3ee20fb16cc12be6083318e3a7f6d0be84b77daf0ecb161bdd096784538912021-06-20 6:29:3815 hrs 49 mins ago0xbbaff9c46dfb9f5ac5be78080df50a6e3eab2d15 IN  0xd039bc46650a7b099f92bbf76b2b365e17a556930 BNB0.000465865
0x2c483f1269d0430e4614a24ecf6a6ca73943f37bb0056913936b27922f0baf4f84526022021-06-20 5:25:1116 hrs 53 mins ago0xc5d0b61394f1e37e2af135e7091a056f818b64b6 IN  0xd039bc46650a7b099f92bbf76b2b365e17a556930 BNB0.00044989
0xbaadcd538f44ac4c92e8db001a01973ffd0bb45ddf19078f71099f9767cc793d84520772021-06-20 4:58:3717 hrs 20 mins ago0xc5d0b61394f1e37e2af135e7091a056f818b64b6 IN  0xd039bc46650a7b099f92bbf76b2b365e17a556930 BNB0.000390865
0xc107437b066e22015f42fa2368441e1710aecfc8080e787e6b070d74b585a6da84495892021-06-20 2:54:1319 hrs 24 mins ago0xd51c6a064177ce2c2c339846bba6242d15c5c0ac IN  0xd039bc46650a7b099f92bbf76b2b365e17a556930 BNB0.00044995
0xd591ff881e3b0534d24182e90d26add12cbdcdf28c3ff23653e259c9b4b6217484495812021-06-20 2:53:4919 hrs 24 mins ago0xd51c6a064177ce2c2c339846bba6242d15c5c0ac IN  0xd039bc46650a7b099f92bbf76b2b365e17a556930 BNB0.000277285
0x9e61a4347b271a5bf95c060f1930eea2cca9a6ffd0a5c645eed1780e81a5eca684394012021-06-19 18:24:271 day 3 hrs ago0xcaaaa6b95013cd534996be91384cd6aaea3570ec IN  0xd039bc46650a7b099f92bbf76b2b365e17a556930 BNB0.000207435
0xcebe446ff3e63a07dd3cb10fd2304590da357ee55accccc47e4c7c277fd5786b84394012021-06-19 18:24:271 day 3 hrs ago0xcaaaa6b95013cd534996be91384cd6aaea3570ec IN  0xd039bc46650a7b099f92bbf76b2b365e17a556930 BNB0.000352285
0xc8f8cc7de7afc2c4e7eb4dae47175dbc9369504247ae43326f448d0b3779158484380372021-06-19 17:15:571 day 5 hrs ago0x0849a57e3694416b9f5928bde929aeb8a176eb49 IN  0xd039bc46650a7b099f92bbf76b2b365e17a556930 BNB0.000277285
0xf02298c237c69baf4d27c0096712698b042f4d9e67ea4855cc80dfd1fe326b9084284782021-06-19 9:09:281 day 13 hrs ago0x722e320ef4aa12ec562b807a79cf3d2cdec6b424 IN  0xd039bc46650a7b099f92bbf76b2b365e17a556930 BNB0.00028093
0x2f8b5b51737ee63d398b27c1c89f67a4fda91694ebe7dbbc0981a717c60424e384284652021-06-19 9:08:491 day 13 hrs ago0x722e320ef4aa12ec562b807a79cf3d2cdec6b424 IN  0xd039bc46650a7b099f92bbf76b2b365e17a556930 BNB0.000352285
0xbe802fa90a28fb0e764f8dc61047fd14dfd310267e03a9269e94270e2a26cd4c84152932021-06-18 22:05:412 days 13 mins ago0x76bf63849e46d5232eefaf348ef3cde43d266ca2 IN  0xd039bc46650a7b099f92bbf76b2b365e17a556930 BNB0.00044989
0x50d7997f1d57dc8cd4b9517b891a79b55e4871efd54360d9621cf9e91346ada184152782021-06-18 22:04:562 days 13 mins ago0x76bf63849e46d5232eefaf348ef3cde43d266ca2 IN  0xd039bc46650a7b099f92bbf76b2b365e17a556930 BNB0.00040807
0xaa2b24a98142e0af923e35283fb02ca369de75dddadebaf084f0f2d9808c2ddc84149312021-06-18 21:46:492 days 31 mins ago0xee2e806b2adb48cebea5ccc3cb0dc110c2a1c768 IN  0xd039bc46650a7b099f92bbf76b2b365e17a556930 BNB0.00056843
0xf9ea3aadb7ea25a3dca271eaff52cd02f584943f0c4ead19d64a689fa526329784148762021-06-18 21:44:042 days 34 mins ago0xee2e806b2adb48cebea5ccc3cb0dc110c2a1c768 IN  0xd039bc46650a7b099f92bbf76b2b365e17a556930 BNB0.00053083
0x9f1033272a46f7042b8d67b91f2b695481c761cee9981f9be46fb667c2cb421e84102822021-06-18 17:52:102 days 4 hrs ago0xc21f25834e8c15d26a0a4e08b227c082dfb1693e IN  0xd039bc46650a7b099f92bbf76b2b365e17a556930 BNB0.00030577
0xb39afdc36ab21e151e2f34aaf21d48078d1d4e6e24154a756c7a1c4d439ec86b84099592021-06-18 17:36:012 days 4 hrs ago0xc21f25834e8c15d26a0a4e08b227c082dfb1693e IN  0xd039bc46650a7b099f92bbf76b2b365e17a556930 BNB0.00051039
0x5d78886026a9b2d6da6fc6bee82c0e2ba11930b8ad1edf39230690469c27ab9984040042021-06-18 12:36:122 days 9 hrs ago0x947a9158714c1cfc20c92b72e1fa9f181b6c9a21 IN  0xd039bc46650a7b099f92bbf76b2b365e17a556930 BNB0.00044989
0xb062122ae9b4b41e4ab2c4433335800e024f74b250bbb031a2014d295afb69c884039942021-06-18 12:35:422 days 9 hrs ago0x947a9158714c1cfc20c92b72e1fa9f181b6c9a21 IN  0xd039bc46650a7b099f92bbf76b2b365e17a556930 BNB0.000277285
0xdb1557d17ca935f06777829d7bf1d1403311a942249cdefbaf6269ccd821bdb184038732021-06-18 12:29:392 days 9 hrs ago0xbbaff9c46dfb9f5ac5be78080df50a6e3eab2d15 IN  0xd039bc46650a7b099f92bbf76b2b365e17a556930 BNB0.000465865
0x45f803f429886377faf6c13c8ebfb3eae492d48f9a73f516edd40be27e8ed03884028572021-06-18 11:38:052 days 10 hrs ago0x280f646a492e2e9a89c06a1f834353a1ed34cc32 IN  0xd039bc46650a7b099f92bbf76b2b365e17a556930 BNB0.00044995
0xd84f5f9b992b1a01f8af50b11af89fa593f7fce6972f387f1768d53a550f037c84028452021-06-18 11:37:292 days 10 hrs ago0x280f646a492e2e9a89c06a1f834353a1ed34cc32 IN  0xd039bc46650a7b099f92bbf76b2b365e17a556930 BNB0.000277285
0x9d36c5de1bdd4723151b1b7d8bc16351c9a3b7aa8b5a998b8136f1c1dad3deb483995742021-06-18 8:53:352 days 13 hrs ago0x480562c63ea771805e6f4b264292d65f4de23d3b IN  0xd039bc46650a7b099f92bbf76b2b365e17a556930 BNB0.00044989
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TimestampedMasterChef

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute
        return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
    }
}


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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

    function min(uint256 x, uint256 y) internal pure returns (uint256 z) {
        z = x < y ? x : y;
    }

    // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method)
    function sqrt(uint256 y) internal pure returns (uint256 z) {
        if (y > 3) {
            z = y;
            uint256 x = y / 2 + 1;
            while (x < z) {
                z = x;
                x = (y / x + x) / 2;
            }
        } else if (y != 0) {
            z = 1;
        }
    }
}

interface IBEP20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the token decimals.
     */
    function decimals() external view returns (uint8);

    /**
     * @dev Returns the token symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the token name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the bep token owner.
     */
    function getOwner() external view returns (address);

    /**
     * @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);
}

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            codehash := extcodehash(account)
        }
        return (codehash != accountHash && codehash != 0x0);
    }

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

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

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

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

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

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

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

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

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

/**
 * @title SafeBEP20
 * @dev Wrappers around BEP20 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 SafeBEP20 for IBEP20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeBEP20 {
    using SafeMath for uint256;
    using Address for address;

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

    function safeTransferFrom(
        IBEP20 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
     * {IBEP20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IBEP20 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),
            'SafeBEP20: approve from non-zero to non-zero allowance'
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IBEP20 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(
        IBEP20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(
            value,
            'SafeBEP20: 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(IBEP20 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, 'SafeBEP20: low-level call failed');
        if (returndata.length > 0) {
            // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), 'SafeBEP20: BEP20 operation did not succeed');
        }
    }
}

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor() internal {}

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

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

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

contract Ownable is Context {
    address private _owner;

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

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

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

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

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), 'Ownable: new owner is the zero address');
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

interface PriceFeedRouter {
    function WETH() external pure returns (address);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
}

// Note that MasterChef ownable and the owner wields tremendous power. The ownership
// will be transferred to a governance smart contract once reward token is sufficiently
// distributed and the community can show to govern itself.
//
// Have fun reading it. Hopefully it's bug-free. God bless.

contract TimestampedMasterChef is Ownable {
    using SafeMath for uint256;
    using SafeBEP20 for IBEP20;

    uint256 constant private DIVISOR = 10 ** 10;
    uint256 constant private YEAR_IN_SECONDS = 31540000;

    // Info of each user.
    struct UserInfo {
      uint256 createdAt;
      uint256 amount;
      uint256 lastWithdrawal;
    }
    // Info of each pool.
    struct PoolInfo {
        bool active;
        IBEP20 rewardToken; // must be liquid
        IBEP20 lpToken;       // Address of LP token contract.
        IBEP20 lpQuoteToken; // Quote token address of lpToken
        uint256 rewardRate;   // Reward given per seconds
        PriceFeedRouter router; // must implement PriceFeedRouter interface
    }
    // Info of each pool.
    PoolInfo[] public poolInfo;
    // Info of each user that stakes LP tokens.
    mapping (uint256 => mapping (address => UserInfo)) public userInfo;

    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() public {

    }

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

    // Add a new lp to the pool. Can only be called by the owner.
    function add(uint256 _rewardRate, IBEP20 _rewardToken, IBEP20 _lpToken, IBEP20 _lpQuoteToken, PriceFeedRouter _router) public onlyOwner {
        require(_lpToken != _lpQuoteToken, "lp token equals quote token");

        poolInfo.push(PoolInfo({
            rewardToken: _rewardToken,
            lpToken: _lpToken,
            rewardRate: _rewardRate,
            lpQuoteToken: _lpQuoteToken,
            router: _router,
            active: true
        }));
    }

    // Update the given pool's reward rate. Can only be called by the owner.
    function setRewardRate(uint256 _pid, uint256 _rewardRate) public onlyOwner {
        poolInfo[_pid].rewardRate = _rewardRate;
    }

    function setRewardToken(uint256 _pid, IBEP20 _rewardToken) public onlyOwner {
        poolInfo[_pid].rewardToken = _rewardToken;
    }

    function setQuoteToken(uint256 _pid, IBEP20 _lpQuoteToken) public onlyOwner {
        poolInfo[_pid].lpQuoteToken = _lpQuoteToken;
    }

    function setRouter(uint256 _pid, PriceFeedRouter _router) public onlyOwner {
        poolInfo[_pid].router = _router;
    }

    function togglePoolStatus(uint256 _pid) public onlyOwner {
        poolInfo[_pid].active = !poolInfo[_pid].active;
    }

    function lpTokenToQuoteToken(uint256 _lpAmount, IBEP20 _lpAddress, IBEP20 _quoteToken) public view returns(uint256) {
        uint256 lpTotalSupply = _lpAddress.totalSupply();

        if (lpTotalSupply > 0) {
          uint256 lpQuoteTokenBalance = _quoteToken.balanceOf(address(_lpAddress));
          return _lpAmount.mul(lpQuoteTokenBalance).div(lpTotalSupply);
        }
    }

    function quoteTokenToRewardToken(uint256 _quoteTokenAmount, address _quoteTokenAddress, address _rewardToken, PriceFeedRouter _router) public view returns(uint256) {
        if (_quoteTokenAddress == _rewardToken) return _quoteTokenAmount; // already in reward token;

        address weth = _router.WETH();
        address[] memory path1 = new address [](2);
        address[] memory path2 = new address [](3);
        uint256[] memory amounts;

        if (weth == _quoteTokenAddress) {
            path1[0] = weth;
            path1[1] = _rewardToken;
            amounts = _router.getAmountsOut(_quoteTokenAmount, path1);

        } else if (weth == _rewardToken) {
            path1[0] = _quoteTokenAddress;
            path1[1] = weth;
            amounts = _router.getAmountsOut(_quoteTokenAmount, path1);

        } else {
            path2[0] = _quoteTokenAddress;
            path2[1] = weth;
            path2[2] = _rewardToken;
            amounts = _router.getAmountsOut(_quoteTokenAmount, path2);
        }

        if (amounts.length > 0) {
            return amounts[amounts.length - 1];
        }
    }

    function _roi(uint256 _amount, uint256 _createdAt, uint256 _lastWithdrawal, uint256 _rewardRate) internal view returns(uint256) {
        uint256 period = Math.min(block.timestamp, _createdAt.add(YEAR_IN_SECONDS)); // Yearly max reward;
        uint256 thisRewardPeriod = period.sub(_lastWithdrawal);
        return _amount.mul(thisRewardPeriod).mul(_rewardRate).div(DIVISOR);
    }

    function pendingReward(uint256 _pid, address _user) public view returns (uint256 pending) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];

        if (pool.lpToken == pool.rewardToken) {
            // staking type
            pending = _roi(user.amount, user.createdAt, user.lastWithdrawal, pool.rewardRate);

        } else if (address(pool.lpQuoteToken) == address(0)) {
            // not lp token
            // use direct conversion through the router
            // no quoting needed

            uint256 quoteRoi = _roi(user.amount, user.createdAt, user.lastWithdrawal, pool.rewardRate);

            if (quoteRoi > 0) {
                pending = quoteTokenToRewardToken(quoteRoi, address(pool.lpToken), address(pool.rewardToken), pool.router);
            }

        } else {
            // it's an lp token
            uint256 quoteValue = lpTokenToQuoteToken(user.amount, pool.lpToken, pool.lpQuoteToken);
            uint256 quoteRoi = _roi(quoteValue.mul(2), user.createdAt, user.lastWithdrawal, pool.rewardRate); // 2x of quoteValue is the user lpAmount;

            if (quoteRoi > 0) {
                pending = quoteTokenToRewardToken(quoteRoi, address(pool.lpQuoteToken), address(pool.rewardToken), pool.router);
            }
        }

    }

    // Deposit LP tokens to MasterChef for reward token.
    function deposit(uint256 _pid, uint256 _amount) public {
        require(_amount > 0, "Zero deposit amount");

        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_msgSender()];

        require(pool.active, "Pool inactive");

        if (user.amount > 0) {
            withdraw(_pid, 0);
        }

        pool.lpToken.safeTransferFrom(_msgSender(), address(this), _amount);
        user.amount = user.amount.add(_amount);
        user.createdAt = block.timestamp;
        user.lastWithdrawal = block.timestamp;

        emit Deposit(_msgSender(), _pid, _amount);
    }

    // Withdraw LP tokens from MasterChef.
    function withdraw(uint256 _pid, uint256 _amount) public {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_msgSender()];
        require(user.amount >= _amount, "withdraw: not good");

        uint256 pending = pendingReward(_pid, _msgSender());

        if (pending > 0) {
            pool.rewardToken.safeTransfer(_msgSender(), pending);
            user.lastWithdrawal = block.timestamp;
        }

        if (_amount > 0) {
            user.amount = user.amount.sub(_amount);
            pool.lpToken.safeTransfer(_msgSender(), _amount);
        }
        emit Withdraw(_msgSender(), _pid, _amount);
    }

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

    // Withdraw reward token from MasterChef
    function emergencyRewardTokenWithdraw(uint256 _pid, uint256 _amount) public onlyOwner {
        PoolInfo storage pool = poolInfo[_pid];
        uint256 rewardTokenBalance = pool.rewardToken.balanceOf(address(this));
        require(rewardTokenBalance >= _amount, "Not enough balance");
        pool.rewardToken.safeTransfer(owner(), _amount);
    }
}

Contract ABI

[{"inputs":[],"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":"_rewardRate","type":"uint256"},{"internalType":"contract IBEP20","name":"_rewardToken","type":"address"},{"internalType":"contract IBEP20","name":"_lpToken","type":"address"},{"internalType":"contract IBEP20","name":"_lpQuoteToken","type":"address"},{"internalType":"contract PriceFeedRouter","name":"_router","type":"address"}],"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":"uint256","name":"_amount","type":"uint256"}],"name":"emergencyRewardTokenWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_lpAmount","type":"uint256"},{"internalType":"contract IBEP20","name":"_lpAddress","type":"address"},{"internalType":"contract IBEP20","name":"_quoteToken","type":"address"}],"name":"lpTokenToQuoteToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingReward","outputs":[{"internalType":"uint256","name":"pending","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"bool","name":"active","type":"bool"},{"internalType":"contract IBEP20","name":"rewardToken","type":"address"},{"internalType":"contract IBEP20","name":"lpToken","type":"address"},{"internalType":"contract IBEP20","name":"lpQuoteToken","type":"address"},{"internalType":"uint256","name":"rewardRate","type":"uint256"},{"internalType":"contract PriceFeedRouter","name":"router","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quoteTokenAmount","type":"uint256"},{"internalType":"address","name":"_quoteTokenAddress","type":"address"},{"internalType":"address","name":"_rewardToken","type":"address"},{"internalType":"contract PriceFeedRouter","name":"_router","type":"address"}],"name":"quoteTokenToRewardToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"contract IBEP20","name":"_lpQuoteToken","type":"address"}],"name":"setQuoteToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_rewardRate","type":"uint256"}],"name":"setRewardRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"contract IBEP20","name":"_rewardToken","type":"address"}],"name":"setRewardToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"contract PriceFeedRouter","name":"_router","type":"address"}],"name":"setRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"togglePoolStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"createdAt","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"lastWithdrawal","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"}]

608060405234801561001057600080fd5b50600061001b61006a565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35061006e565b3390565b611f2d8061007d6000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c8063715018a6116100ad578063a7c1131f11610071578063a7c1131f1461039b578063a84759a6146103cf578063bdd13d4a146103f2578063e2bbb1581461041e578063f2fde38b1461044157610121565b8063715018a6146102b55780638acd35ce146102bd5780638da5cb5b1461030157806393f1a40b1461032557806398969e821461036f57610121565b8063216b31c1116100f4578063216b31c1146101f75780632de9ffc4146102145780633462e0a814610252578063441a3e70146102755780635312ea8e1461029857610121565b8063081e3eda14610126578063087de6f7146101405780631526fe271461016e5780631d9f28e6146101cb575b600080fd5b61012e610467565b60408051918252519081900360200190f35b61016c6004803603604081101561015657600080fd5b50803590602001356001600160a01b031661046d565b005b61018b6004803603602081101561018457600080fd5b503561050c565b6040805196151587526001600160a01b039586166020880152938516868501529184166060860152608085015290911660a0830152519081900360c00190f35b61016c600480360360408110156101e157600080fd5b50803590602001356001600160a01b0316610564565b61016c6004803603602081101561020d57600080fd5b5035610603565b61012e6004803603608081101561022a57600080fd5b508035906001600160a01b0360208201358116916040810135821691606090910135166106b0565b61016c6004803603604081101561026857600080fd5b5080359060200135610bc0565b61016c6004803603604081101561028b57600080fd5b5080359060200135610c3f565b61016c600480360360208110156102ae57600080fd5b5035610db3565b61016c610e89565b61016c600480360360a08110156102d357600080fd5b508035906001600160a01b036020820135811691604081013582169160608201358116916080013516610f2b565b610309611158565b604080516001600160a01b039092168252519081900360200190f35b6103516004803603604081101561033b57600080fd5b50803590602001356001600160a01b0316611167565b60408051938452602084019290925282820152519081900360600190f35b61012e6004803603604081101561038557600080fd5b50803590602001356001600160a01b031661118f565b61012e600480360360608110156103b157600080fd5b508035906001600160a01b036020820135811691604001351661130c565b61016c600480360360408110156103e557600080fd5b508035906020013561141f565b61016c6004803603604081101561040857600080fd5b50803590602001356001600160a01b0316611584565b61016c6004803603604081101561043457600080fd5b5080359060200135611623565b61016c6004803603602081101561045757600080fd5b50356001600160a01b03166117a8565b60015490565b61047561180c565b6000546001600160a01b039081169116146104c5576040805162461bcd60e51b81526020600482018190526024820152600080516020611ed8833981519152604482015290519081900360640190fd5b80600183815481106104d357fe5b906000526020600020906005020160040160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505050565b6001818154811061051957fe5b60009182526020909120600590910201805460018201546002830154600384015460049094015460ff841695506001600160a01b036101009094048416949284169391821692911686565b61056c61180c565b6000546001600160a01b039081169116146105bc576040805162461bcd60e51b81526020600482018190526024820152600080516020611ed8833981519152604482015290519081900360640190fd5b80600183815481106105ca57fe5b906000526020600020906005020160020160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505050565b61060b61180c565b6000546001600160a01b0390811691161461065b576040805162461bcd60e51b81526020600482018190526024820152600080516020611ed8833981519152604482015290519081900360640190fd5b6001818154811061066857fe5b60009182526020909120600590910201546001805460ff90921615918390811061068e57fe5b60009182526020909120600590910201805460ff191691151591909117905550565b6000826001600160a01b0316846001600160a01b031614156106d3575083610bb8565b6000826001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561070e57600080fd5b505afa158015610722573d6000803e3d6000fd5b505050506040513d602081101561073857600080fd5b505160408051600280825260608083018452939450909160208301908036833750506040805160038082526080820190925292935060609291506020820183803683370190505090506060876001600160a01b0316846001600160a01b031614156109535783836000815181106107ab57fe5b60200260200101906001600160a01b031690816001600160a01b03168152505086836001815181106107d957fe5b60200260200101906001600160a01b031690816001600160a01b031681525050856001600160a01b031663d06ca61f8a856040518363ffffffff1660e01b81526004018083815260200180602001828103825283818151815260200191508051906020019060200280838360005b8381101561085f578181015183820152602001610847565b50505050905001935050505060006040518083038186803b15801561088357600080fd5b505afa158015610897573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156108c057600080fd5b81019080805160405193929190846401000000008211156108e057600080fd5b9083019060208201858111156108f557600080fd5b825186602082028301116401000000008211171561091257600080fd5b82525081516020918201928201910280838360005b8381101561093f578181015183820152602001610927565b505050509050016040525050509050610b89565b866001600160a01b0316846001600160a01b031614156109a957878360008151811061097b57fe5b60200260200101906001600160a01b031690816001600160a01b03168152505083836001815181106107d957fe5b87826000815181106109b757fe5b60200260200101906001600160a01b031690816001600160a01b03168152505083826001815181106109e557fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508682600281518110610a1357fe5b60200260200101906001600160a01b031690816001600160a01b031681525050856001600160a01b031663d06ca61f8a846040518363ffffffff1660e01b81526004018083815260200180602001828103825283818151815260200191508051906020019060200280838360005b83811015610a99578181015183820152602001610a81565b50505050905001935050505060006040518083038186803b158015610abd57600080fd5b505afa158015610ad1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015610afa57600080fd5b8101908080516040519392919084640100000000821115610b1a57600080fd5b908301906020820185811115610b2f57600080fd5b8251866020820283011164010000000082111715610b4c57600080fd5b82525081516020918201928201910280838360005b83811015610b79578181015183820152602001610b61565b5050505090500160405250505090505b805115610bb35780600182510381518110610ba057fe5b6020026020010151945050505050610bb8565b505050505b949350505050565b610bc861180c565b6000546001600160a01b03908116911614610c18576040805162461bcd60e51b81526020600482018190526024820152600080516020611ed8833981519152604482015290519081900360640190fd5b8060018381548110610c2657fe5b9060005260206000209060050201600301819055505050565b600060018381548110610c4e57fe5b60009182526020808320868452600290915260408320600590920201925081610c7561180c565b6001600160a01b03166001600160a01b0316815260200190815260200160002090508281600101541015610ce5576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b6000610cf885610cf361180c565b61118f565b90508015610d2957610d22610d0b61180c565b845461010090046001600160a01b03169083611810565b4260028301555b8315610d63576001820154610d3e9085611867565b6001830155610d63610d4e61180c565b60018501546001600160a01b03169086611810565b84610d6c61180c565b6001600160a01b03167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568866040518082815260200191505060405180910390a35050505050565b600060018281548110610dc257fe5b60009182526020808320858452600290915260408320600590920201925081610de961180c565b6001600160a01b03166001600160a01b031681526020019081526020016000209050610e30610e1661180c565b600180840154908501546001600160a01b03169190611810565b82610e3961180c565b6001600160a01b03167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae059583600101546040518082815260200191505060405180910390a360006001909101555050565b610e9161180c565b6000546001600160a01b03908116911614610ee1576040805162461bcd60e51b81526020600482018190526024820152600080516020611ed8833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b610f3361180c565b6000546001600160a01b03908116911614610f83576040805162461bcd60e51b81526020600482018190526024820152600080516020611ed8833981519152604482015290519081900360640190fd5b816001600160a01b0316836001600160a01b03161415610fea576040805162461bcd60e51b815260206004820152601b60248201527f6c7020746f6b656e20657175616c732071756f746520746f6b656e0000000000604482015290519081900360640190fd5b6040805160c08101825260018082526001600160a01b0396871660208301908152958716928201928352938616606082019081526080820197885292861660a0820190815284548086018655600095909552905160059094027fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6810180549651881661010002610100600160a81b031996151560ff19909816979097179590951695909517909355517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf7840180549186166001600160a01b031992831617905590517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf88401805491861691831691909117905593517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf9830155517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cfa9091018054919092169216919091179055565b6000546001600160a01b031690565b6002602081815260009384526040808520909152918352912080546001820154919092015483565b6000806001848154811061119f57fe5b600091825260208083208784526002825260408085206001600160a01b03808a1687529352909320600590920290920180546001820154919450919290811661010090920416141561120e5761120781600101548260000154836002015485600301546118b2565b9250611304565b60028201546001600160a01b031661127c57600061123e82600101548360000154846002015486600301546118b2565b90508015611276576001830154835460048501546112739284926001600160a01b0391821692610100909104821691166106b0565b93505b50611304565b6001808201549083015460028401546000926112a69290916001600160a01b03918216911661130c565b905060006112c96112b8836002611904565b8454600286015460038801546118b2565b90508015611301576002840154845460048601546112fe9284926001600160a01b0391821692610100909104821691166106b0565b94505b50505b505092915050565b600080836001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561134857600080fd5b505afa15801561135c573d6000803e3d6000fd5b505050506040513d602081101561137257600080fd5b505190508015611416576000836001600160a01b03166370a08231866040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156113cb57600080fd5b505afa1580156113df573d6000803e3d6000fd5b505050506040513d60208110156113f557600080fd5b5051905061140d826114078884611904565b9061195d565b92505050611418565b505b9392505050565b61142761180c565b6000546001600160a01b03908116911614611477576040805162461bcd60e51b81526020600482018190526024820152600080516020611ed8833981519152604482015290519081900360640190fd5b60006001838154811061148657fe5b600091825260208083206005929092029091018054604080516370a0823160e01b815230600482015290519295506101009091046001600160a01b0316926370a0823192602480840193829003018186803b1580156114e457600080fd5b505afa1580156114f8573d6000803e3d6000fd5b505050506040513d602081101561150e57600080fd5b505190508281101561155c576040805162461bcd60e51b81526020600482015260126024820152714e6f7420656e6f7567682062616c616e636560701b604482015290519081900360640190fd5b61157e611567611158565b835461010090046001600160a01b03169085611810565b50505050565b61158c61180c565b6000546001600160a01b039081169116146115dc576040805162461bcd60e51b81526020600482018190526024820152600080516020611ed8833981519152604482015290519081900360640190fd5b80600183815481106115ea57fe5b906000526020600020906005020160000160016101000a8154816001600160a01b0302191690836001600160a01b031602179055505050565b6000811161166e576040805162461bcd60e51b815260206004820152601360248201527216995c9bc819195c1bdcda5d08185b5bdd5b9d606a1b604482015290519081900360640190fd5b60006001838154811061167d57fe5b600091825260208083208684526002909152604083206005909202019250816116a461180c565b6001600160a01b031681526020810191909152604001600020825490915060ff16611706576040805162461bcd60e51b815260206004820152600d60248201526c506f6f6c20696e61637469766560981b604482015290519081900360640190fd5b60018101541561171b5761171b846000610c3f565b61173c61172661180c565b60018401546001600160a01b031690308661199f565b600181015461174b90846119f9565b60018201554280825560028201558361176261180c565b6001600160a01b03167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15856040518082815260200191505060405180910390a350505050565b6117b061180c565b6000546001600160a01b03908116911614611800576040805162461bcd60e51b81526020600482018190526024820152600080516020611ed8833981519152604482015290519081900360640190fd5b61180981611a53565b50565b3390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611862908490611af3565b505050565b60006118a983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611ba4565b90505b92915050565b6000806118cc426118c7876301e143206119f9565b611c3b565b905060006118da8286611867565b90506118f96402540be400611407866118f38b86611904565b90611904565b979650505050505050565b600082611913575060006118ac565b8282028284828161192057fe5b04146118a95760405162461bcd60e51b8152600401808060200182810382526021815260200180611eb76021913960400191505060405180910390fd5b60006118a983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611c51565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261157e908590611af3565b6000828201838110156118a9576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b038116611a985760405162461bcd60e51b8152600401808060200182810382526026815260200180611e916026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6060611b48826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611cb69092919063ffffffff16565b80519091501561186257808060200190516020811015611b6757600080fd5b50516118625760405162461bcd60e51b815260040180806020018281038252602a815260200180611e67602a913960400191505060405180910390fd5b60008184841115611c335760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611bf8578181015183820152602001611be0565b50505050905090810190601f168015611c255780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000818310611c4a57816118a9565b5090919050565b60008183611ca05760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611bf8578181015183820152602001611be0565b506000838581611cac57fe5b0495945050505050565b6060610bb884846000856060611ccb85611e2d565b611d1c576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611d5b5780518252601f199092019160209182019101611d3c565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611dbd576040519150601f19603f3d011682016040523d82523d6000602084013e611dc2565b606091505b50915091508115611dd6579150610bb89050565b805115611de65780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315611bf8578181015183820152602001611be0565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590610bb857505015159291505056fe5361666542455032303a204245503230206f7065726174696f6e20646964206e6f7420737563636565644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220f807dca9012b991557db7e0dd2808f93fcccd32ac8c1420173f08ee2b5cd0d2364736f6c634300060c0033

Deployed ByteCode Sourcemap

24100:8175:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25327:95;;;:::i;:::-;;;;;;;;;;;;;;;;26492:125;;;;;;;;;;;;;;;;-1:-1:-1;26492:125:0;;;;;;-1:-1:-1;;;;;26492:125:0;;:::i;:::-;;24881:26;;;;;;;;;;;;;;;;-1:-1:-1;24881:26:0;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;24881:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26346:138;;;;;;;;;;;;;;;;-1:-1:-1;26346:138:0;;;;;;-1:-1:-1;;;;;26346:138:0;;:::i;26625:122::-;;;;;;;;;;;;;;;;-1:-1:-1;26625:122:0;;:::i;27151:1147::-;;;;;;;;;;;;;;;;-1:-1:-1;27151:1147:0;;;-1:-1:-1;;;;;27151:1147:0;;;;;;;;;;;;;;;;;;;;;:::i;26061:133::-;;;;;;;;;;;;;;;;-1:-1:-1;26061:133:0;;;;;;;:::i;30797:674::-;;;;;;;;;;;;;;;;-1:-1:-1;30797:674:0;;;;;;;:::i;31542:323::-;;;;;;;;;;;;;;;;-1:-1:-1;31542:323:0;;:::i;22848:140::-;;;:::i;25497:478::-;;;;;;;;;;;;;;;;-1:-1:-1;25497:478:0;;;-1:-1:-1;;;;;25497:478:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;22206:79::-;;;:::i;:::-;;;;-1:-1:-1;;;;;22206:79:0;;;;;;;;;;;;;;24963:66;;;;;;;;;;;;;;;;-1:-1:-1;24963:66:0;;;;;;-1:-1:-1;;;;;24963:66:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;28700:1347;;;;;;;;;;;;;;;;-1:-1:-1;28700:1347:0;;;;;;-1:-1:-1;;;;;28700:1347:0;;:::i;26755:388::-;;;;;;;;;;;;;;;;-1:-1:-1;26755:388:0;;;-1:-1:-1;;;;;26755:388:0;;;;;;;;;;;;:::i;31919:353::-;;;;;;;;;;;;;;;;-1:-1:-1;31919:353:0;;;;;;;:::i;26202:136::-;;;;;;;;;;;;;;;;-1:-1:-1;26202:136:0;;;;;;-1:-1:-1;;;;;26202:136:0;;:::i;30113:632::-;;;;;;;;;;;;;;;;-1:-1:-1;30113:632:0;;;;;;;:::i;23143:109::-;;;;;;;;;;;;;;;;-1:-1:-1;23143:109:0;-1:-1:-1;;;;;23143:109:0;;:::i;25327:95::-;25399:8;:15;25327:95;:::o;26492:125::-;22428:12;:10;:12::i;:::-;22418:6;;-1:-1:-1;;;;;22418:6:0;;;:22;;;22410:67;;;;;-1:-1:-1;;;22410:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22410:67:0;;;;;;;;;;;;;;;26602:7:::1;26578:8;26587:4;26578:14;;;;;;;;;;;;;;;;;;:21;;;:31;;;;;-1:-1:-1::0;;;;;26578:31:0::1;;;;;-1:-1:-1::0;;;;;26578:31:0::1;;;;;;26492:125:::0;;:::o;24881:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;24881:26:0;;;;;;;;;;;;;;;;;;:::o;26346:138::-;22428:12;:10;:12::i;:::-;22418:6;;-1:-1:-1;;;;;22418:6:0;;;:22;;;22410:67;;;;;-1:-1:-1;;;22410:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22410:67:0;;;;;;;;;;;;;;;26463:13:::1;26433:8;26442:4;26433:14;;;;;;;;;;;;;;;;;;:27;;;:43;;;;;-1:-1:-1::0;;;;;26433:43:0::1;;;;;-1:-1:-1::0;;;;;26433:43:0::1;;;;;;26346:138:::0;;:::o;26625:122::-;22428:12;:10;:12::i;:::-;22418:6;;-1:-1:-1;;;;;22418:6:0;;;:22;;;22410:67;;;;;-1:-1:-1;;;22410:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22410:67:0;;;;;;;;;;;;;;;26718:8:::1;26727:4;26718:14;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;:21:::0;;26693:14;;26718:21:::1;::::0;;::::1;26717:22;::::0;26702:4;;26693:14;::::1;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;:46:::0;;-1:-1:-1;;26693:46:0::1;::::0;::::1;;::::0;;;::::1;::::0;;-1:-1:-1;26625:122:0:o;27151:1147::-;27306:7;27352:12;-1:-1:-1;;;;;27330:34:0;:18;-1:-1:-1;;;;;27330:34:0;;27326:64;;;-1:-1:-1;27373:17:0;27366:24;;27326:64;27431:12;27446:7;-1:-1:-1;;;;;27446:12:0;;:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27446:14:0;27496:17;;;27511:1;27496:17;;;27471:22;27496:17;;;;;27446:14;;-1:-1:-1;27496:17:0;;;;;;;;;;-1:-1:-1;;27549:17:0;;;27564:1;27549:17;;;;;;;;;27471:42;;-1:-1:-1;27524:22:0;;27549:17;-1:-1:-1;27549:17:0;;;27524:22;;27549:17;;;;;-1:-1:-1;27549:17:0;27524:42;;27577:24;27626:18;-1:-1:-1;;;;;27618:26:0;:4;-1:-1:-1;;;;;27618:26:0;;27614:580;;;27672:4;27661:5;27667:1;27661:8;;;;;;;;;;;;;:15;-1:-1:-1;;;;;27661:15:0;;;-1:-1:-1;;;;;27661:15:0;;;;;27702:12;27691:5;27697:1;27691:8;;;;;;;;;;;;;:23;-1:-1:-1;;;;;27691:23:0;;;-1:-1:-1;;;;;27691:23:0;;;;;27739:7;-1:-1:-1;;;;;27739:21:0;;27761:17;27780:5;27739:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;27739:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27739:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27729:57;;27614:580;;;27818:12;-1:-1:-1;;;;;27810:20:0;:4;-1:-1:-1;;;;;27810:20:0;;27806:388;;;27858:18;27847:5;27853:1;27847:8;;;;;;;;;;;;;:29;-1:-1:-1;;;;;27847:29:0;;;-1:-1:-1;;;;;27847:29:0;;;;;27902:4;27891:5;27897:1;27891:8;;;;;;;27806:388;28024:18;28013:5;28019:1;28013:8;;;;;;;;;;;;;:29;-1:-1:-1;;;;;28013:29:0;;;-1:-1:-1;;;;;28013:29:0;;;;;28068:4;28057:5;28063:1;28057:8;;;;;;;;;;;;;:15;-1:-1:-1;;;;;28057:15:0;;;-1:-1:-1;;;;;28057:15:0;;;;;28098:12;28087:5;28093:1;28087:8;;;;;;;;;;;;;:23;-1:-1:-1;;;;;28087:23:0;;;-1:-1:-1;;;;;28087:23:0;;;;;28135:7;-1:-1:-1;;;;;28135:21:0;;28157:17;28176:5;28135:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;28135:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28135:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28125:57;;27806:388;28210:14;;:18;28206:85;;28252:7;28277:1;28260:7;:14;:18;28252:27;;;;;;;;;;;;;;28245:34;;;;;;;;28206:85;27151:1147;;;;;;;;;;;:::o;26061:133::-;22428:12;:10;:12::i;:::-;22418:6;;-1:-1:-1;;;;;22418:6:0;;;:22;;;22410:67;;;;;-1:-1:-1;;;22410:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22410:67:0;;;;;;;;;;;;;;;26175:11:::1;26147:8;26156:4;26147:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;26061:133:::0;;:::o;30797:674::-;30864:21;30888:8;30897:4;30888:14;;;;;;;;;;;;;;;;30937;;;:8;:14;;;;;;30888;;;;;;-1:-1:-1;30888:14:0;30952:12;:10;:12::i;:::-;-1:-1:-1;;;;;30937:28:0;-1:-1:-1;;;;;30937:28:0;;;;;;;;;;;;30913:52;;30999:7;30984:4;:11;;;:22;;30976:53;;;;;-1:-1:-1;;;30976:53:0;;;;;;;;;;;;-1:-1:-1;;;30976:53:0;;;;;;;;;;;;;;;31042:15;31060:33;31074:4;31080:12;:10;:12::i;:::-;31060:13;:33::i;:::-;31042:51;-1:-1:-1;31110:11:0;;31106:148;;31138:52;31168:12;:10;:12::i;:::-;31138:16;;;;;-1:-1:-1;;;;;31138:16:0;;31182:7;31138:29;:52::i;:::-;31227:15;31205:19;;;:37;31106:148;31270:11;;31266:145;;31312:11;;;;:24;;31328:7;31312:15;:24::i;:::-;31298:11;;;:38;31351:48;31377:12;:10;:12::i;:::-;31351;;;;-1:-1:-1;;;;;31351:12:0;;31391:7;31351:25;:48::i;:::-;31449:4;31435:12;:10;:12::i;:::-;-1:-1:-1;;;;;31426:37:0;;31455:7;31426:37;;;;;;;;;;;;;;;;;;30797:674;;;;;:::o;31542:323::-;31601:21;31625:8;31634:4;31625:14;;;;;;;;;;;;;;;;31674;;;:8;:14;;;;;;31625;;;;;;-1:-1:-1;31625:14:0;31689:12;:10;:12::i;:::-;-1:-1:-1;;;;;31674:28:0;-1:-1:-1;;;;;31674:28:0;;;;;;;;;;;;31650:52;;31713;31739:12;:10;:12::i;:::-;31753:11;;;;;31713:12;;;;-1:-1:-1;;;;;31713:12:0;;:52;:25;:52::i;:::-;31813:4;31799:12;:10;:12::i;:::-;-1:-1:-1;;;;;31781:50:0;;31819:4;:11;;;31781:50;;;;;;;;;;;;;;;;;;31856:1;31842:11;;;;:15;-1:-1:-1;;31542:323:0:o;22848:140::-;22428:12;:10;:12::i;:::-;22418:6;;-1:-1:-1;;;;;22418:6:0;;;:22;;;22410:67;;;;;-1:-1:-1;;;22410:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22410:67:0;;;;;;;;;;;;;;;22947:1:::1;22931:6:::0;;22910:40:::1;::::0;-1:-1:-1;;;;;22931:6:0;;::::1;::::0;22910:40:::1;::::0;22947:1;;22910:40:::1;22978:1;22961:19:::0;;-1:-1:-1;;;;;;22961:19:0::1;::::0;;22848:140::o;25497:478::-;22428:12;:10;:12::i;:::-;22418:6;;-1:-1:-1;;;;;22418:6:0;;;:22;;;22410:67;;;;;-1:-1:-1;;;22410:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22410:67:0;;;;;;;;;;;;;;;25664:13:::1;-1:-1:-1::0;;;;;25652:25:0::1;:8;-1:-1:-1::0;;;;;25652:25:0::1;;;25644:65;;;::::0;;-1:-1:-1;;;25644:65:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;25736:230;::::0;;::::1;::::0;::::1;::::0;;25722:8:::1;25736:230:::0;;;-1:-1:-1;;;;;25736:230:0;;::::1;;::::0;::::1;::::0;;;;;::::1;::::0;;;;;;;;::::1;::::0;;;;;;;;;;;;;;::::1;::::0;;;;;;25722:245;;;;::::1;::::0;;-1:-1:-1;25722:245:0;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;::::1;;;-1:-1:-1::0;;;;;;25722:245:0;::::1;;-1:-1:-1::0;;25722:245:0;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;;;;;;;;;;::::1;-1:-1:-1::0;;;;;;25722:245:0;;::::1;;::::0;;;;;;;;;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;;;;;;;;;;;;;;;;::::1;::::0;::::1;::::0;;;::::1;::::0;;25497:478::o;22206:79::-;22244:7;22271:6;-1:-1:-1;;;;;22271:6:0;22206:79;:::o;24963:66::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;28700:1347::-;28773:15;28801:21;28825:8;28834:4;28825:14;;;;;;;;;;;;;;;;28874;;;:8;:14;;;;;;-1:-1:-1;;;;;28874:21:0;;;;;;;;;;28825:14;;;;;;;28928:16;;;28912:12;;;28825:14;;-1:-1:-1;28874:21:0;;28912:12;;;28928:16;;;;;28912:32;28908:1130;;;29000:71;29005:4;:11;;;29018:4;:14;;;29034:4;:19;;;29055:4;:15;;;29000:4;:71::i;:::-;28990:81;;28908:1130;;;29103:17;;;;-1:-1:-1;;;;;29103:17:0;29091:947;;29274:16;29293:71;29298:4;:11;;;29311:4;:14;;;29327:4;:19;;;29348:4;:15;;;29293:4;:71::i;:::-;29274:90;-1:-1:-1;29385:12:0;;29381:159;;29470:12;;;;29493:16;;29512:11;;;;29428:96;;29452:8;;-1:-1:-1;;;;;29470:12:0;;;;;29493:16;;;;;;29512:11;29428:23;:96::i;:::-;29418:106;;29381:159;29091:947;;;;29648:11;;;;;29661:12;;;;29675:17;;;;29607:18;;29628:65;;29648:11;;-1:-1:-1;;;;;29661:12:0;;;;29675:17;29628:19;:65::i;:::-;29607:86;-1:-1:-1;29708:16:0;29727:77;29732:17;29607:86;29747:1;29732:14;:17::i;:::-;29751:14;;29767:19;;;;29788:15;;;;29727:4;:77::i;:::-;29708:96;-1:-1:-1;29867:12:0;;29863:164;;29952:17;;;;29980:16;;29999:11;;;;29910:101;;29934:8;;-1:-1:-1;;;;;29952:17:0;;;;;29980:16;;;;;;29999:11;29910:23;:101::i;:::-;29900:111;;29863:164;29091:947;;;28700:1347;;;;;;:::o;26755:388::-;26862:7;26882:21;26906:10;-1:-1:-1;;;;;26906:22:0;;:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26906:24:0;;-1:-1:-1;26947:17:0;;26943:193;;26979:27;27009:11;-1:-1:-1;;;;;27009:21:0;;27039:10;27009:42;;;;;;;;;;;;;-1:-1:-1;;;;;27009:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27009:42:0;;-1:-1:-1;27071:53:0;27110:13;27071:34;:9;27009:42;27071:13;:34::i;:::-;:38;;:53::i;:::-;27064:60;;;;;;26943:193;26755:388;;;;;;;:::o;31919:353::-;22428:12;:10;:12::i;:::-;22418:6;;-1:-1:-1;;;;;22418:6:0;;;:22;;;22410:67;;;;;-1:-1:-1;;;22410:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22410:67:0;;;;;;;;;;;;;;;32016:21:::1;32040:8;32049:4;32040:14;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;32094:16:::0;;:41:::1;::::0;;-1:-1:-1;;;32094:41:0;;32129:4:::1;32094:41;::::0;::::1;::::0;;;32040:14;;-1:-1:-1;32094:16:0::1;::::0;;::::1;-1:-1:-1::0;;;;;32094:16:0::1;::::0;:26:::1;::::0;:41;;;;;;;;;;:16;:41;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;32094:41:0;;-1:-1:-1;32154:29:0;;::::1;;32146:60;;;::::0;;-1:-1:-1;;;32146:60:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;32146:60:0;;;;;;;;;;;;;::::1;;32217:47;32247:7;:5;:7::i;:::-;32217:16:::0;;::::1;::::0;::::1;-1:-1:-1::0;;;;;32217:16:0::1;::::0;32256:7;32217:29:::1;:47::i;:::-;22488:1;;31919:353:::0;;:::o;26202:136::-;22428:12;:10;:12::i;:::-;22418:6;;-1:-1:-1;;;;;22418:6:0;;;:22;;;22410:67;;;;;-1:-1:-1;;;22410:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22410:67:0;;;;;;;;;;;;;;;26318:12:::1;26289:8;26298:4;26289:14;;;;;;;;;;;;;;;;;;:26;;;:41;;;;;-1:-1:-1::0;;;;;26289:41:0::1;;;;;-1:-1:-1::0;;;;;26289:41:0::1;;;;;;26202:136:::0;;:::o;30113:632::-;30197:1;30187:7;:11;30179:43;;;;;-1:-1:-1;;;30179:43:0;;;;;;;;;;;;-1:-1:-1;;;30179:43:0;;;;;;;;;;;;;;;30235:21;30259:8;30268:4;30259:14;;;;;;;;;;;;;;;;30308;;;:8;:14;;;;;;30259;;;;;;-1:-1:-1;30259:14:0;30323:12;:10;:12::i;:::-;-1:-1:-1;;;;;30308:28:0;;;;;;;;;;;;-1:-1:-1;30308:28:0;30357:11;;30308:28;;-1:-1:-1;30357:11:0;;30349:37;;;;;-1:-1:-1;;;30349:37:0;;;;;;;;;;;;-1:-1:-1;;;30349:37:0;;;;;;;;;;;;;;;30403:11;;;;:15;30399:65;;30435:17;30444:4;30450:1;30435:8;:17::i;:::-;30476:67;30506:12;:10;:12::i;:::-;30476;;;;-1:-1:-1;;;;;30476:12:0;;30528:4;30535:7;30476:29;:67::i;:::-;30568:11;;;;:24;;30584:7;30568:15;:24::i;:::-;30554:11;;;:38;30620:15;30603:32;;;30646:19;;;:37;30723:4;30709:12;:10;:12::i;:::-;-1:-1:-1;;;;;30701:36:0;;30729:7;30701:36;;;;;;;;;;;;;;;;;;30113:632;;;;:::o;23143:109::-;22428:12;:10;:12::i;:::-;22418:6;;-1:-1:-1;;;;;22418:6:0;;;:22;;;22410:67;;;;;-1:-1:-1;;;22410:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22410:67:0;;;;;;;;;;;;;;;23216:28:::1;23235:8;23216:18;:28::i;:::-;23143:109:::0;:::o;20859:98::-;20939:10;20859:98;:::o;16820:211::-;16964:58;;;-1:-1:-1;;;;;16964:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16964:58:0;-1:-1:-1;;;16964:58:0;;;16937:86;;16957:5;;16937:19;:86::i;:::-;16820:211;;;:::o;2138:136::-;2196:7;2223:43;2227:1;2230;2223:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;2216:50;;2138:136;;;;;:::o;28306:386::-;28425:7;;28462:58;28471:15;28488:31;:10;24310:8;28488:14;:31::i;:::-;28462:8;:58::i;:::-;28445:75;-1:-1:-1;28553:24:0;28580:27;28445:75;28591:15;28580:10;:27::i;:::-;28553:54;-1:-1:-1;28625:59:0;24252:8;28625:46;28659:11;28625:29;:7;28553:54;28625:11;:29::i;:::-;:33;;:46::i;:59::-;28618:66;28306:386;-1:-1:-1;;;;;;;28306:386:0:o;3062:471::-;3120:7;3365:6;3361:47;;-1:-1:-1;3395:1:0;3388:8;;3361:47;3432:5;;;3436:1;3432;:5;:1;3456:5;;;;;:10;3448:56;;;;-1:-1:-1;;;3448:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4009:132;4067:7;4094:39;4098:1;4101;4094:39;;;;;;;;;;;;;;;;;:3;:39::i;17039:248::-;17210:68;;;-1:-1:-1;;;;;17210:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17210:68:0;-1:-1:-1;;;17210:68:0;;;17183:96;;17203:5;;17183:19;:96::i;1674:181::-;1732:7;1764:5;;;1788:6;;;;1780:46;;;;;-1:-1:-1;;;1780:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;23358:229;-1:-1:-1;;;;;23432:22:0;;23424:73;;;;-1:-1:-1;;;23424:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23534:6;;;23513:38;;-1:-1:-1;;;;;23513:38:0;;;;23534:6;;;23513:38;;;23562:6;:17;;-1:-1:-1;;;;;;23562:17:0;-1:-1:-1;;;;;23562:17:0;;;;;;;;;;23358:229::o;19355:774::-;19779:23;19805:69;19833:4;19805:69;;;;;;;;;;;;;;;;;19813:5;-1:-1:-1;;;;;19805:27:0;;;:69;;;;;:::i;:::-;19889:17;;19779:95;;-1:-1:-1;19889:21:0;19885:237;;20044:10;20033:30;;;;;;;;;;;;;;;-1:-1:-1;20033:30:0;20025:85;;;;-1:-1:-1;;;20025:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2577:226;2697:7;2733:12;2725:6;;;;2717:29;;;;-1:-1:-1;;;2717:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2769:5:0;;;2577:226::o;407:106::-;465:7;496:1;492;:5;:13;;504:1;492:13;;;-1:-1:-1;500:1:0;;407:106;-1:-1:-1;407:106:0:o;4637:312::-;4757:7;4792:12;4785:5;4777:28;;;;-1:-1:-1;;;4777:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4816:9;4832:1;4828;:5;;;;;;;4637:312;-1:-1:-1;;;;;4637:312:0:o;13746:230::-;13883:12;13915:53;13938:6;13946:4;13952:1;13955:12;15407;15440:18;15451:6;15440:10;:18::i;:::-;15432:60;;;;;-1:-1:-1;;;15432:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15566:12;15580:23;15607:6;-1:-1:-1;;;;;15607:11:0;15626:8;15636:4;15607:34;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;15607:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15565:76;;;;15656:7;15652:595;;;15687:10;-1:-1:-1;15680:17:0;;-1:-1:-1;15680:17:0;15652:595;15801:17;;:21;15797:439;;16064:10;16058:17;16125:15;16112:10;16108:2;16104:19;16097:44;16012:148;16200:20;;-1:-1:-1;;;16200:20:0;;;;;;;;;;;;;;;;;16207:12;;16200:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10609:641;10669:4;11150:20;;10980:66;11199:23;;;;;;:42;;-1:-1:-1;;11226:15:0;;;11191:51;-1:-1:-1;;10609:641:0:o

Swarm Source

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