Contract 0x2b1b0231ea607b59357c46fb5369a260fa1eac94

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x4e21b966a0f5ed96623c4c8c3fa26532bfc67be984848a1b37c4f6c175e23934Withdraw101206942022-01-27 10:33:271 day 17 hrs ago0xaf1382e4427655e39f474a5fad4340998894a376 IN  0x2b1b0231ea607b59357c46fb5369a260fa1eac940 AVAX0.001275580747 25.417063482
0x947ded1ba84675dec739402619e71960004fdf6372eae0ef4988c1a770c9853aWithdraw100807022022-01-26 12:52:302 days 15 hrs ago0x5e8ade1ef4058240ac24a30a769ecde96e0e56e9 IN  0x2b1b0231ea607b59357c46fb5369a260fa1eac940 AVAX0.001258075 25
0x80efdc8d8c549f570861e955ddd6de1d353f9c3b21ce891276159089eb8e710dWithdraw99674242022-01-23 22:31:075 days 5 hrs ago0xc9feea1aaa08b78a1fbb621594107749658c6b2f IN  0x2b1b0231ea607b59357c46fb5369a260fa1eac940 AVAX0.002683375 25
0xe94df55b08a1f31d4e19164264937b9e9bb6432e4e3e5d70660fddab1b42a243Withdraw98895102022-01-22 3:31:157 days 58 mins ago0x16e0e411c44667674b4db37ec30e6d053c436f98 IN  0x2b1b0231ea607b59357c46fb5369a260fa1eac940 AVAX0.0031118525
0xbe422298429b2af340cfaba85f5cdc9854a0cc352791407eb523316b360142caWithdraw98880092022-01-22 2:40:557 days 1 hr ago0xe8234fe01139d921a4aa23164ba5e60eb9d1267b IN  0x2b1b0231ea607b59357c46fb5369a260fa1eac940 AVAX0.001258075 25
0x6c128cd0f074f82bf510368bbf9a6918a35a032dc3e9fecf43d1aa8a00e0ca3eWithdraw98717622022-01-21 17:35:497 days 10 hrs ago0x0608183e95600ce0629dbe85ab968769ea1c5595 IN  0x2b1b0231ea607b59357c46fb5369a260fa1eac940 AVAX0.003110575 25
0xc9d0b3fa303822e1256943aedff84beb53c0c825a0b2a70171f7e79a2fc196d0Withdraw98711872022-01-21 17:16:397 days 11 hrs ago0x4245c65e9b5f1fc16a76ca6c31c0d34c736dc4d9 IN  0x2b1b0231ea607b59357c46fb5369a260fa1eac940 AVAX0.002255875 25
0xc00d600b6171a3705c381b4d722f55d5d9aa08f5e671667d0e54816a4cb590b9Withdraw98525522022-01-21 6:55:427 days 21 hrs ago0xcba1a275e2d858ecffaf7a87f606f74b719a8a93 IN  0x2b1b0231ea607b59357c46fb5369a260fa1eac940 AVAX0.002683675 25
0xb074fa831e4227f71dc0908d6e10d7e495a9a564b300ce11dfad6fdc81cfaa95Withdraw98441072022-01-21 2:15:288 days 2 hrs ago0xde24f421e58063f16b7ccdfaf337d673c6030fb2 IN  0x2b1b0231ea607b59357c46fb5369a260fa1eac940 AVAX0.001255552517 25.017983448
0xc368bb996bcb186e51bba09c87f513b0dd6dd4ce366282ff7fcde8555a93e8e7Withdraw98434892022-01-21 1:55:468 days 2 hrs ago0xde24f421e58063f16b7ccdfaf337d673c6030fb2 IN  0x2b1b0231ea607b59357c46fb5369a260fa1eac940 AVAX0.000688004971 26.13305622
0x76cf5d7ee58055967a82a5196b5f55e766e7e92017e2876420fe83936ddaca53Withdraw98434652022-01-21 1:54:588 days 2 hrs ago0xde24f421e58063f16b7ccdfaf337d673c6030fb2 IN  0x2b1b0231ea607b59357c46fb5369a260fa1eac940 AVAX0.002920229318 27.199840895
0x9b858860e33db8494d9a84fe90b294af8a207552e939d0b748489eee4219de72Withdraw98432082022-01-21 1:47:028 days 2 hrs ago0xde24f421e58063f16b7ccdfaf337d673c6030fb2 IN  0x2b1b0231ea607b59357c46fb5369a260fa1eac940 AVAX0.002694040037 25.096556382
0xf2259b3ee0e18b2dfc86000352e19cd4de24b771958fd6aa076c7cd4e9ee045bWithdraw98427412022-01-21 1:31:358 days 2 hrs ago0x162a7acb136972067f420c5bdf5b6b3ca1322d0e IN  0x2b1b0231ea607b59357c46fb5369a260fa1eac940 AVAX0.00311575 25
0x448a1748174b81ed3c09a6ef9cf03a6b93a3b111ebef0f43d0746ccc612d9d88Withdraw98360382022-01-20 21:48:478 days 6 hrs ago0x7738c2a2495f7d2363abcb669dbc5a99cbc447a8 IN  0x2b1b0231ea607b59357c46fb5369a260fa1eac940 AVAX0.001273131378 25.368257648
0xb3e302998eb88f37dccce6b139900b3d8e17c67eae9a61b8863a056d110f85d2Withdraw98355992022-01-20 21:34:188 days 6 hrs ago0x17312c56545ddd351f538ab635e267f827b9a6be IN  0x2b1b0231ea607b59357c46fb5369a260fa1eac940 AVAX0.002256175 25
0x08bb1093a196afc24e183c2e82d7846cc06d9623fd041581a258bdbdf3dc2909Withdraw98352072022-01-20 21:21:078 days 7 hrs ago0xeea6b4f43195520ed9d0e86635bb9c194fcd25e5 IN  0x2b1b0231ea607b59357c46fb5369a260fa1eac940 AVAX0.00225715 25
0xb1ad9c4e119baa02a58b5c458749a68c11a13bf131ec278e36664ecd20164143Withdraw98274782022-01-20 16:59:098 days 11 hrs ago0x9660fccdb11e70493858109a02019e9478886f30 IN  0x2b1b0231ea607b59357c46fb5369a260fa1eac940 AVAX0.001714625 25
0x9bec61f5266f3f54552931dfc0c9eefbff3d8f2d5640858278c491f6e714ba3fDeposit98240672022-01-20 15:03:518 days 13 hrs ago0x9660fccdb11e70493858109a02019e9478886f30 IN  0x2b1b0231ea607b59357c46fb5369a260fa1eac940 AVAX0.002616125 25
0x529697cdf59a6882f665cdc162eea193d081d19472bbf6a218a4ade417d9626eWithdraw98230532022-01-20 14:29:448 days 13 hrs ago0x88d2111ea32f1a81a02332ac65722bc4ff2118c7 IN  0x2b1b0231ea607b59357c46fb5369a260fa1eac940 AVAX0.00225655 25
0xf64abe530e6d9e5a077ea7fed0c6f816a4b8174fbedd13948db0f60348077e98Withdraw98213492022-01-20 13:32:148 days 14 hrs ago0x5e7765d3585058c7ad2bd69008cc551fbcd0ec20 IN  0x2b1b0231ea607b59357c46fb5369a260fa1eac940 AVAX0.002255875 25
0xf54617b1121d2d972d53d7a937fd3ac961d5ebd44f892e62987e104d8ccac377Withdraw98205702022-01-20 13:06:068 days 15 hrs ago0x45832ad90682a3056450a0f4eeb649503f961f5c IN  0x2b1b0231ea607b59357c46fb5369a260fa1eac940 AVAX0.00226075 25
0x43fa298779027eac061e5a5c2fb5eb08f40240cb15a9d513da812a94eefdbba4Withdraw98145832022-01-20 9:43:018 days 18 hrs ago0x003b2816d976cebbf0cadec981ff59286b6d7f2f IN  0x2b1b0231ea607b59357c46fb5369a260fa1eac940 AVAX0.0017192 25
0x47f4f77a3ab5c4ab2617af461de7296af74f276a589f112c3729a74054974dbcWithdraw98136672022-01-20 9:12:138 days 19 hrs ago0xdbefde3c612b909f38ae9f4265afb009597d9999 IN  0x2b1b0231ea607b59357c46fb5369a260fa1eac940 AVAX0.002255875 25
0x055af984d82c738e8262306b2c9d0b70bf9daf0dda867a365ad1a82aa606b420Deposit98114122022-01-20 7:55:538 days 20 hrs ago0x003b2816d976cebbf0cadec981ff59286b6d7f2f IN  0x2b1b0231ea607b59357c46fb5369a260fa1eac940 AVAX0.00262695 25
0x4c86571309b4a28a4fda2ce9748d107d43e70d3a9560829fb09c5be3d197ea39Withdraw98071492022-01-20 5:33:168 days 22 hrs ago0x0a3c32769fe391b1d9742f6ce05fbcf07000075d IN  0x2b1b0231ea607b59357c46fb5369a260fa1eac940 AVAX0.00268307525
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
GrapeRewardPool

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 snowtrace.io on 2022-01-12
*/

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/math/[email protected]



pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

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

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

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

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

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        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) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        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, reverting 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) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

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

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

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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);
        return a / b;
    }

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


// File @openzeppelin/contracts/utils/[email protected]



pragma solidity >=0.6.2 <0.8.0;

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

        uint256 size;
        // 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);
    }

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

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

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

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

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


// File @openzeppelin/contracts/token/ERC20/[email protected]



pragma solidity >=0.6.0 <0.8.0;



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

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

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

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

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

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

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

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


// File contracts/distribution/GrapeRewardPool.sol



pragma solidity 0.6.12;

// Note that this pool has no minter key of GRAPE (rewards).
// Instead, the governance will call GRAPE distributeReward method and send reward to this pool at the beginning.
contract GrapeRewardPool {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    // governance
    address public operator;

    // Info of each user.
    struct UserInfo {
        uint256 amount; // How many LP tokens the user has provided.
        uint256 rewardDebt; // Reward debt. See explanation below.
    }

    // Info of each pool.
    struct PoolInfo {
        IERC20 token; // Address of LP token contract.
        uint256 allocPoint; // How many allocation points assigned to this pool. Grapes to distribute in the pool.
        uint256 lastRewardTime; // Last time that Grapes distribution occurred.
        uint256 accGrapePerShare; // Accumulated Grapes per share, times 1e18. See below.
        bool isStarted; // if lastRewardTime has passed
    }

    IERC20 public grape;

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

    // Info of each user that stakes LP tokens.
    mapping(uint256 => mapping(address => UserInfo)) public userInfo;

    // Total allocation points. Must be the sum of all allocation points in all pools.
    uint256 public totalAllocPoint = 0;

    // The time when GRAPE mining starts.
    uint256 public poolStartTime;

    uint256[] public epochTotalRewards = [10800 ether, 10800 ether];

    // Time when each epoch ends.
    uint256[3] public epochEndTimes;

    // Reward per second for each of 2 epochs (last item is equal to 0 - for sanity).
    uint256[3] public epochGrapePerSecond;

    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);
    event RewardPaid(address indexed user, uint256 amount);

    constructor(address _grape, uint256 _poolStartTime) public {
        require(block.timestamp < _poolStartTime, "late");
        if (_grape != address(0)) grape = IERC20(_grape);

        poolStartTime = _poolStartTime;

        epochEndTimes[0] = poolStartTime + 4 days; // Day 2-5
        epochEndTimes[1] = epochEndTimes[0] + 5 days; // Day 6-10

        epochGrapePerSecond[0] = epochTotalRewards[0].div(4 days);
        epochGrapePerSecond[1] = epochTotalRewards[1].div(5 days);

        epochGrapePerSecond[2] = 0;
        operator = msg.sender;
    }

    modifier onlyOperator() {
        require(operator == msg.sender, "GrapeRewardPool: caller is not the operator");
        _;
    }

    function checkPoolDuplicate(IERC20 _token) internal view {
        uint256 length = poolInfo.length;
        for (uint256 pid = 0; pid < length; ++pid) {
            require(poolInfo[pid].token != _token, "GrapeRewardPool: existing pool?");
        }
    }

    // Add a new token to the pool. Can only be called by the owner.
    function add(
        uint256 _allocPoint,
        IERC20 _token,
        bool _withUpdate,
        uint256 _lastRewardTime
    ) public onlyOperator {
        checkPoolDuplicate(_token);
        if (_withUpdate) {
            massUpdatePools();
        }
        if (block.timestamp < poolStartTime) {
            // chef is sleeping
            if (_lastRewardTime == 0) {
                _lastRewardTime = poolStartTime;
            } else {
                if (_lastRewardTime < poolStartTime) {
                    _lastRewardTime = poolStartTime;
                }
            }
        } else {
            // chef is cooking
            if (_lastRewardTime == 0 || _lastRewardTime < block.timestamp) {
                _lastRewardTime = block.timestamp;
            }
        }
        bool _isStarted = (_lastRewardTime <= poolStartTime) || (_lastRewardTime <= block.timestamp);
        poolInfo.push(PoolInfo({token: _token, allocPoint: _allocPoint, lastRewardTime: _lastRewardTime, accGrapePerShare: 0, isStarted: _isStarted}));
        if (_isStarted) {
            totalAllocPoint = totalAllocPoint.add(_allocPoint);
        }
    }

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

    // Return accumulate rewards over the given _fromTime to _toTime.
    function getGeneratedReward(uint256 _fromTime, uint256 _toTime) public view returns (uint256) {
        for (uint8 epochId = 2; epochId >= 1; --epochId) {
            if (_toTime >= epochEndTimes[epochId - 1]) {
                if (_fromTime >= epochEndTimes[epochId - 1]) {
                    return _toTime.sub(_fromTime).mul(epochGrapePerSecond[epochId]);
                }

                uint256 _generatedReward = _toTime.sub(epochEndTimes[epochId - 1]).mul(epochGrapePerSecond[epochId]);
                if (epochId == 1) {
                    return _generatedReward.add(epochEndTimes[0].sub(_fromTime).mul(epochGrapePerSecond[0]));
                }
                for (epochId = epochId - 1; epochId >= 1; --epochId) {
                    if (_fromTime >= epochEndTimes[epochId - 1]) {
                        return _generatedReward.add(epochEndTimes[epochId].sub(_fromTime).mul(epochGrapePerSecond[epochId]));
                    }
                    _generatedReward = _generatedReward.add(epochEndTimes[epochId].sub(epochEndTimes[epochId - 1]).mul(epochGrapePerSecond[epochId]));
                }
                return _generatedReward.add(epochEndTimes[0].sub(_fromTime).mul(epochGrapePerSecond[0]));
            }
        }
        return _toTime.sub(_fromTime).mul(epochGrapePerSecond[0]);
    }

    // View function to see pending GRAPEs on frontend.
    function pendingGRAPE(uint256 _pid, address _user) external view returns (uint256) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accGrapePerShare = pool.accGrapePerShare;
        uint256 tokenSupply = pool.token.balanceOf(address(this));
        if (block.timestamp > pool.lastRewardTime && tokenSupply != 0) {
            uint256 _generatedReward = getGeneratedReward(pool.lastRewardTime, block.timestamp);
            uint256 _grapeReward = _generatedReward.mul(pool.allocPoint).div(totalAllocPoint);
            accGrapePerShare = accGrapePerShare.add(_grapeReward.mul(1e18).div(tokenSupply));
        }
        return user.amount.mul(accGrapePerShare).div(1e18).sub(user.rewardDebt);
    }

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

    // Update reward variables of the given pool to be up-to-date.
    function updatePool(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.timestamp <= pool.lastRewardTime) {
            return;
        }
        uint256 tokenSupply = pool.token.balanceOf(address(this));
        if (tokenSupply == 0) {
            pool.lastRewardTime = block.timestamp;
            return;
        }
        if (!pool.isStarted) {
            pool.isStarted = true;
            totalAllocPoint = totalAllocPoint.add(pool.allocPoint);
        }
        if (totalAllocPoint > 0) {
            uint256 _generatedReward = getGeneratedReward(pool.lastRewardTime, block.timestamp);
            uint256 _grapeReward = _generatedReward.mul(pool.allocPoint).div(totalAllocPoint);
            pool.accGrapePerShare = pool.accGrapePerShare.add(_grapeReward.mul(1e18).div(tokenSupply));
        }
        pool.lastRewardTime = block.timestamp;
    }

    // Deposit LP tokens.
    function deposit(uint256 _pid, uint256 _amount) public {
        address _sender = msg.sender;
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_sender];
        updatePool(_pid);
        if (user.amount > 0) {
            uint256 _pending = user.amount.mul(pool.accGrapePerShare).div(1e18).sub(user.rewardDebt);
            if (_pending > 0) {
                safeGrapeTransfer(_sender, _pending);
                emit RewardPaid(_sender, _pending);
            }
        }
        if (_amount > 0) {
            pool.token.safeTransferFrom(_sender, address(this), _amount);
            user.amount = user.amount.add(_amount);
        }
        user.rewardDebt = user.amount.mul(pool.accGrapePerShare).div(1e18);
        emit Deposit(_sender, _pid, _amount);
    }

    // Withdraw LP tokens.
    function withdraw(uint256 _pid, uint256 _amount) public {
        address _sender = msg.sender;
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_sender];
        require(user.amount >= _amount, "withdraw: not good");
        updatePool(_pid);
        uint256 _pending = user.amount.mul(pool.accGrapePerShare).div(1e18).sub(user.rewardDebt);
        if (_pending > 0) {
            safeGrapeTransfer(_sender, _pending);
            emit RewardPaid(_sender, _pending);
        }
        if (_amount > 0) {
            user.amount = user.amount.sub(_amount);
            pool.token.safeTransfer(_sender, _amount);
        }
        user.rewardDebt = user.amount.mul(pool.accGrapePerShare).div(1e18);
        emit Withdraw(_sender, _pid, _amount);
    }

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

    // Safe grape transfer function, just in case if rounding error causes pool to not have enough Grapes.
    function safeGrapeTransfer(address _to, uint256 _amount) internal {
        uint256 _grapeBal = grape.balanceOf(address(this));
        if (_grapeBal > 0) {
            if (_amount > _grapeBal) {
                grape.safeTransfer(_to, _grapeBal);
            } else {
                grape.safeTransfer(_to, _amount);
            }
        }
    }

    function setOperator(address _operator) external onlyOperator {
        operator = _operator;
    }

    function governanceRecoverUnsupported(
        IERC20 _token,
        uint256 amount,
        address to
    ) external onlyOperator {
        if (block.timestamp < epochEndTimes[1] + 30 days) {
            // do not allow to drain token if less than 30 days after farming
            require(_token != grape, "!grape");
            uint256 length = poolInfo.length;
            for (uint256 pid = 0; pid < length; ++pid) {
                PoolInfo storage pool = poolInfo[pid];
                require(_token != pool.token, "!pool.token");
            }
        }
        _token.safeTransfer(to, amount);
    }
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_grape","type":"address"},{"internalType":"uint256","name":"_poolStartTime","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"},{"internalType":"uint256","name":"_lastRewardTime","type":"uint256"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"epochEndTimes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"epochGrapePerSecond","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"epochTotalRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fromTime","type":"uint256"},{"internalType":"uint256","name":"_toTime","type":"uint256"}],"name":"getGeneratedReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"governanceRecoverUnsupported","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"grape","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingGRAPE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardTime","type":"uint256"},{"internalType":"uint256","name":"accGrapePerShare","type":"uint256"},{"internalType":"bool","name":"isStarted","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"}],"name":"setOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

600060045560c0604052690249781bbb25cac00000608081815260a0919091526200002f906006906002620001ca565b503480156200003d57600080fd5b5060405162001af938038062001af9833981810160405260408110156200006357600080fd5b508051602090910151428111620000aa576040805162461bcd60e51b815260206004808301919091526024820152636c61746560e01b604482015290519081900360640190fd5b6001600160a01b03821615620000d657600180546001600160a01b0319166001600160a01b0384161790555b600581905562054600808201600755620bdd80820160085560068054620001229291906000906200010357fe5b90600052602060002001546200016160201b6200119d1790919060201c565b600a55600680546200013f91620697809160019081106200010357fe5b600b5550506000600c81905580546001600160a01b031916331790556200023c565b6000808211620001b8576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381620001c257fe5b049392505050565b82805482825590600052602060002090810192821562000213579160200282015b828111156200021357825182906001600160501b0316905591602001919060010190620001eb565b506200022192915062000225565b5090565b5b8082111562000221576000815560010162000226565b6118ad806200024c6000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c80635f96dc11116100ad57806396805e541161007157806396805e54146103445780639a25cefc1461037e578063b3ab15fb1461039b578063b89e73c1146103c1578063e2bbb158146103de5761012c565b80635f96dc11146102a6578063630b5ba1146102ae57806364186fdb146102b6578063851f5a4c146102d357806393f1a40b146102ff5761012c565b80634c927789116100f45780634c9277891461020a57806351eb05a61461022e5780635312ea8e1461024b57806354575af414610268578063570ca7351461029e5761012c565b80631526fe271461013157806317caf6f1146101855780631ab06ee51461019f578063231f0c6a146101c4578063441a3e70146101e7575b600080fd5b61014e6004803603602081101561014757600080fd5b5035610401565b604080516001600160a01b039096168652602086019490945284840192909252606084015215156080830152519081900360a00190f35b61018d61044c565b60408051918252519081900360200190f35b6101c2600480360360408110156101b557600080fd5b5080359060200135610452565b005b61018d600480360360408110156101da57600080fd5b5080359060200135610500565b6101c2600480360360408110156101fd57600080fd5b50803590602001356106bf565b61021261087c565b604080516001600160a01b039092168252519081900360200190f35b6101c26004803603602081101561024457600080fd5b503561088b565b6101c26004803603602081101561026157600080fd5b50356109e9565b6101c26004803603606081101561027e57600080fd5b506001600160a01b03813581169160208101359160409091013516610a85565b610212610bce565b61018d610bdd565b6101c2610be3565b61018d600480360360208110156102cc57600080fd5b5035610c06565b61018d600480360360408110156102e957600080fd5b50803590602001356001600160a01b0316610c1a565b61032b6004803603604081101561031557600080fd5b50803590602001356001600160a01b0316610d76565b6040805192835260208301919091528051918290030190f35b6101c26004803603608081101561035a57600080fd5b508035906001600160a01b0360208201351690604081013515159060600135610d9a565b61018d6004803603602081101561039457600080fd5b5035610f97565b6101c2600480360360208110156103b157600080fd5b50356001600160a01b0316610fb5565b61018d600480360360208110156103d757600080fd5b5035611020565b6101c2600480360360408110156103f457600080fd5b508035906020013561102d565b6002818154811061040e57fe5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0390931694509092909160ff1685565b60045481565b6000546001600160a01b0316331461049b5760405162461bcd60e51b815260040180806020018281038252602b815260200180611802602b913960400191505060405180910390fd5b6104a3610be3565b6000600283815481106104b257fe5b60009182526020909120600590910201600481015490915060ff16156104f9576104f5826104ef836001015460045461120490919063ffffffff16565b90611261565b6004555b6001015550565b600060025b60018160ff16106106a45760076001820360ff166003811061052357fe5b0154831061069b5760076001820360ff166003811061053e57fe5b015484106105735761056b600a8260ff166003811061055957fe5b01546105658587611204565b906112bb565b9150506106b9565b60006105a9600a8360ff166003811061058857fe5b015461056560076001860360ff16600381106105a057fe5b01548790611204565b90508160ff16600114156105e5576105dc6105d5600a60005b015461056588600760005b015490611204565b8290611261565b925050506106b9565b6001820391505b60018260ff161061068c5760076001830360ff166003811061060a57fe5b0154851061063e576105dc6105d5600a8460ff166003811061062857fe5b01546105658860078760ff16600381106105cd57fe5b61067e6105d5600a8460ff166003811061065457fe5b015461056560076001870360ff166003811061066c57fe5b015460078760ff16600381106105cd57fe5b6000199092019190506105ec565b6105dc6105d5600a60006105c2565b60001901610505565b50600a546106b6906105658486611204565b90505b92915050565b60003390506000600284815481106106d357fe5b600091825260208083208784526003825260408085206001600160a01b0388168652909252922080546005909202909201925084111561074f576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b6107588561088b565b6000610795826001015461078f670de0b6b3a7640000610789876003015487600001546112bb90919063ffffffff16565b9061119d565b90611204565b905080156107e7576107a78482611314565b6040805182815290516001600160a01b038616917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b84156108115781546107f99086611204565b82558254610811906001600160a01b031685876113ca565b6003830154825461082f91670de0b6b3a764000091610789916112bb565b600183015560408051868152905187916001600160a01b038716917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a3505050505050565b6001546001600160a01b031681565b60006002828154811061089a57fe5b90600052602060002090600502019050806002015442116108bb57506109e6565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561090557600080fd5b505afa158015610919573d6000803e3d6000fd5b505050506040513d602081101561092f57600080fd5b50519050806109455750426002909101556109e6565b600482015460ff16610976576004808301805460ff19166001908117909155830154905461097291611261565b6004555b600454156109dd57600061098e836002015442610500565b905060006109af6004546107898660010154856112bb90919063ffffffff16565b90506109d56109ca8461078984670de0b6b3a76400006112bb565b600386015490611261565b600385015550505b50426002909101555b50565b6000600282815481106109f857fe5b600091825260208083208584526003825260408085203380875293528420805485825560018201959095556005909302018054909450919291610a48916001600160a01b039190911690836113ca565b604080518281529051859133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a350505050565b6000546001600160a01b03163314610ace5760405162461bcd60e51b815260040180806020018281038252602b815260200180611802602b913960400191505060405180910390fd5b60085462278d0001421015610bb5576001546001600160a01b0384811691161415610b29576040805162461bcd60e51b815260206004820152600660248201526521677261706560d01b604482015290519081900360640190fd5b60025460005b81811015610bb257600060028281548110610b4657fe5b6000918252602090912060059091020180549091506001600160a01b0387811691161415610ba9576040805162461bcd60e51b815260206004820152600b60248201526a10b837b7b6173a37b5b2b760a91b604482015290519081900360640190fd5b50600101610b2f565b50505b610bc96001600160a01b03841682846113ca565b505050565b6000546001600160a01b031681565b60055481565b60025460005b81811015610c0257610bfa8161088b565b600101610be9565b5050565b600a8160038110610c1357fe5b0154905081565b60008060028481548110610c2a57fe5b60009182526020808320878452600380835260408086206001600160a01b03808b168852908552818720600590960290930191820154825482516370a0823160e01b815230600482015292519398509596909590949316926370a0823192602480840193829003018186803b158015610ca257600080fd5b505afa158015610cb6573d6000803e3d6000fd5b505050506040513d6020811015610ccc57600080fd5b5051600285015490915042118015610ce357508015155b15610d40576000610cf8856002015442610500565b90506000610d196004546107898860010154856112bb90919063ffffffff16565b9050610d3b610d348461078984670de0b6b3a76400006112bb565b8590611261565b935050505b610d6b836001015461078f670de0b6b3a76400006107898688600001546112bb90919063ffffffff16565b979650505050505050565b60036020908152600092835260408084209091529082529020805460019091015482565b6000546001600160a01b03163314610de35760405162461bcd60e51b815260040180806020018281038252602b815260200180611802602b913960400191505060405180910390fd5b610dec8361141c565b8115610dfa57610dfa610be3565b600554421015610e265780610e125750600554610e21565b600554811015610e2157506005545b610e3a565b801580610e3257504281105b15610e3a5750425b600060055482111580610e4d5750428211155b6040805160a0810182526001600160a01b03878116825260208201898152928201868152600060608401818152861580156080870190815260028054600181018255945295517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace600590940293840180546001600160a01b031916919096161790945594517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5acf82015590517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad082015592517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad184015590517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad2909201805460ff191692151592909217909155909150610f9057600454610f8c9086611261565b6004555b5050505050565b60068181548110610fa457fe5b600091825260209091200154905081565b6000546001600160a01b03163314610ffe5760405162461bcd60e51b815260040180806020018281038252602b815260200180611802602b913960400191505060405180910390fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b60078160038110610c1357fe5b600033905060006002848154811061104157fe5b600091825260208083208784526003825260408085206001600160a01b038816865290925292206005909102909101915061107b8561088b565b8054156111075760006110b3826001015461078f670de0b6b3a7640000610789876003015487600001546112bb90919063ffffffff16565b90508015611105576110c58482611314565b6040805182815290516001600160a01b038616917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b505b8315611133578154611124906001600160a01b03168430876114b6565b80546111309085611261565b81555b6003820154815461115191670de0b6b3a764000091610789916112bb565b600182015560408051858152905186916001600160a01b038616917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a35050505050565b60008082116111f3576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816111fc57fe5b049392505050565b60008282111561125b576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000828201838110156106b6576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000826112ca575060006106b9565b828202828482816112d757fe5b04146106b65760405162461bcd60e51b815260040180806020018281038252602181526020018061182d6021913960400191505060405180910390fd5b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561135f57600080fd5b505afa158015611373573d6000803e3d6000fd5b505050506040513d602081101561138957600080fd5b505190508015610bc957808211156113b7576001546113b2906001600160a01b031684836113ca565b610bc9565b600154610bc9906001600160a01b031684845b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610bc9908490611516565b60025460005b81811015610bc957826001600160a01b03166002828154811061144157fe5b60009182526020909120600590910201546001600160a01b031614156114ae576040805162461bcd60e51b815260206004820152601f60248201527f4772617065526577617264506f6f6c3a206578697374696e6720706f6f6c3f00604482015290519081900360640190fd5b600101611422565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611510908590611516565b50505050565b606061156b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166115c79092919063ffffffff16565b805190915015610bc95780806020019051602081101561158a57600080fd5b5051610bc95760405162461bcd60e51b815260040180806020018281038252602a81526020018061184e602a913960400191505060405180910390fd5b60606115d684846000856115e0565b90505b9392505050565b6060824710156116215760405162461bcd60e51b81526004018080602001828103825260268152602001806117dc6026913960400191505060405180910390fd5b61162a85611731565b61167b576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106116ba5780518252601f19909201916020918201910161169b565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461171c576040519150601f19603f3d011682016040523d82523d6000602084013e611721565b606091505b5091509150610d6b828286611737565b3b151590565b606083156117465750816115d9565b8251156117565782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156117a0578181015183820152602001611788565b50505050905090810190601f1680156117cd5780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4772617065526577617264506f6f6c3a2063616c6c6572206973206e6f7420746865206f70657261746f72536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220dbb3c277aff2782449be8909cb34322af5a569a8e17511ee61f931f024d7f90c64736f6c634300060c00330000000000000000000000005541d83efad1f281571b343977648b75d95cdac20000000000000000000000000000000000000000000000000000000061e1ac10

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

0000000000000000000000005541d83efad1f281571b343977648b75d95cdac20000000000000000000000000000000000000000000000000000000061e1ac10

-----Decoded View---------------
Arg [0] : _grape (address): 0x5541d83efad1f281571b343977648b75d95cdac2
Arg [1] : _poolStartTime (uint256): 1642179600

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000005541d83efad1f281571b343977648b75d95cdac2
Arg [1] : 0000000000000000000000000000000000000000000000000000000061e1ac10


Deployed ByteCode Sourcemap

22305:11348:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23168:26;;;;;;;;;;;;;;;;-1:-1:-1;23168:26:0;;:::i;:::-;;;;-1:-1:-1;;;;;23168:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23413:34;;;:::i;:::-;;;;;;;;;;;;;;;;26456:321;;;;;;;;;;;;;;;;-1:-1:-1;26456:321:0;;;;;;;:::i;:::-;;26856:1339;;;;;;;;;;;;;;;;-1:-1:-1;26856:1339:0;;;;;;;:::i;31173:813::-;;;;;;;;;;;;;;;;-1:-1:-1;31173:813:0;;;;;;;:::i;23113:19::-;;;:::i;:::-;;;;-1:-1:-1;;;;;23113:19:0;;;;;;;;;;;;;;29361:912;;;;;;;;;;;;;;;;-1:-1:-1;29361:912:0;;:::i;32057:377::-;;;;;;;;;;;;;;;;-1:-1:-1;32057:377:0;;:::i;33024:626::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;33024:626:0;;;;;;;;;;;;;;;;;:::i;22424:23::-;;;:::i;23499:28::-;;;:::i;29105:180::-;;;:::i;23770:37::-;;;;;;;;;;;;;;;;-1:-1:-1;23770:37:0;;:::i;28260:779::-;;;;;;;;;;;;;;;;-1:-1:-1;28260:779:0;;;;;;-1:-1:-1;;;;;28260:779:0;;:::i;23252:64::-;;;;;;;;;;;;;;;;-1:-1:-1;23252:64:0;;;;;;-1:-1:-1;;;;;23252:64:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;25185:1174;;;;;;;;;;;;;;;;-1:-1:-1;25185:1174:0;;;-1:-1:-1;;;;;25185:1174:0;;;;;;;;;;;;;;;;;:::i;23536:63::-;;;;;;;;;;;;;;;;-1:-1:-1;23536:63:0;;:::i;32915:101::-;;;;;;;;;;;;;;;;-1:-1:-1;32915:101:0;-1:-1:-1;;;;;32915:101:0;;:::i;23643:31::-;;;;;;;;;;;;;;;;-1:-1:-1;23643:31:0;;:::i;30308:829::-;;;;;;;;;;;;;;;;-1:-1:-1;30308:829:0;;;;;;;:::i;23168:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23168:26:0;;;;-1:-1:-1;23168:26:0;;;;;;;:::o;23413:34::-;;;;:::o;26456:321::-;24748:8;;-1:-1:-1;;;;;24748:8:0;24760:10;24748:22;24740:78;;;;-1:-1:-1;;;24740:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26535:17:::1;:15;:17::i;:::-;26563:21;26587:8;26596:4;26587:14;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;26616;::::0;::::1;::::0;26587;;-1:-1:-1;26616:14:0::1;;26612:118;;;26665:53;26706:11;26665:36;26685:4;:15;;;26665;;:19;;:36;;;;:::i;:::-;:40:::0;::::1;:53::i;:::-;26647:15;:71:::0;26612:118:::1;26740:15;;:29:::0;-1:-1:-1;26456:321:0:o;26856:1339::-;26941:7;26982:1;26961:1159;26996:1;26985:7;:12;;;26961:1159;;27040:13;27064:1;27054:7;:11;27040:26;;;;;;;;;;;27029:7;:37;27025:1084;;27104:13;27128:1;27118:7;:11;27104:26;;;;;;;;;;;27091:9;:39;27087:151;;27162:56;27189:19;27209:7;27189:28;;;;;;;;;;;27162:22;:7;27174:9;27162:11;:22::i;:::-;:26;;:56::i;:::-;27155:63;;;;;27087:151;27258:24;27285:73;27329:19;27349:7;27329:28;;;;;;;;;;;27285:39;27297:13;27321:1;27311:7;:11;27297:26;;;;;;;;;;;27285:7;;:11;:39::i;:73::-;27258:100;;27381:7;:12;;27392:1;27381:12;27377:149;;;27425:81;27446:59;27482:19;27502:1;27482:22;;;27446:31;27467:9;27446:13;27460:1;27446:16;;;;:20;:31::i;:59::-;27425:16;;:20;:81::i;:::-;27418:88;;;;;;27377:149;27569:1;27559:7;:11;27549:21;;27544:443;27583:1;27572:7;:12;;;27544:443;;27637:13;27661:1;27651:7;:11;27637:26;;;;;;;;;;;27624:9;:39;27620:196;;27699:93;27720:71;27762:19;27782:7;27762:28;;;;;;;;;;;27720:37;27747:9;27720:13;27734:7;27720:22;;;;;;;;27620:196;27857:110;27878:88;27937:19;27957:7;27937:28;;;;;;;;;;;27878:54;27905:13;27929:1;27919:7;:11;27905:26;;;;;;;;;;;27878:13;27892:7;27878:22;;;;;;;;27857:110;-1:-1:-1;;27586:9:0;;;;27838:129;-1:-1:-1;27544:443:0;;;28012:81;28033:59;28069:19;28089:1;28069:22;;27025:1084;-1:-1:-1;;26999:9:0;26961:1159;;;-1:-1:-1;28164:19:0;:22;28137:50;;:22;:7;28149:9;28137:11;:22::i;:50::-;28130:57;;26856:1339;;;;;:::o;31173:813::-;31240:15;31258:10;31240:28;;31279:21;31303:8;31312:4;31303:14;;;;;;;;;;;;;;;;31352;;;:8;:14;;;;;;-1:-1:-1;;;;;31352:23:0;;;;;;;;;31394:11;;31303:14;;;;;;;;-1:-1:-1;31394:22:0;-1:-1:-1;31394:22:0;31386:53;;;;;-1:-1:-1;;;31386:53:0;;;;;;;;;;;;-1:-1:-1;;;31386:53:0;;;;;;;;;;;;;;;31450:16;31461:4;31450:10;:16::i;:::-;31477;31496:69;31549:4;:15;;;31496:48;31539:4;31496:38;31512:4;:21;;;31496:4;:11;;;:15;;:38;;;;:::i;:::-;:42;;:48::i;:::-;:52;;:69::i;:::-;31477:88;-1:-1:-1;31580:12:0;;31576:130;;31609:36;31627:7;31636:8;31609:17;:36::i;:::-;31665:29;;;;;;;;-1:-1:-1;;;;;31665:29:0;;;;;;;;;;;;;31576:130;31720:11;;31716:138;;31762:11;;:24;;31778:7;31762:15;:24::i;:::-;31748:38;;31801:10;;:41;;-1:-1:-1;;;;;31801:10:0;31825:7;31834;31801:23;:41::i;:::-;31898:21;;;;31882:11;;:48;;31925:4;;31882:38;;:15;:38::i;:48::-;31864:15;;;:66;31946:32;;;;;;;;31964:4;;-1:-1:-1;;;;;31946:32:0;;;;;;;;;;;;31173:813;;;;;;:::o;23113:19::-;;;-1:-1:-1;;;;;23113:19:0;;:::o;29361:912::-;29413:21;29437:8;29446:4;29437:14;;;;;;;;;;;;;;;;;;29413:38;;29485:4;:19;;;29466:15;:38;29462:77;;29521:7;;;29462:77;29571:10;;:35;;;-1:-1:-1;;;29571:35:0;;29600:4;29571:35;;;;;;29549:19;;-1:-1:-1;;;;;29571:10:0;;:20;;:35;;;;;;;;;;;;;;:10;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29571:35:0;;-1:-1:-1;29621:16:0;29617:107;;-1:-1:-1;29676:15:0;29654:19;;;;:37;29706:7;;29617:107;29739:14;;;;;;29734:138;;29770:14;;;;:21;;-1:-1:-1;;29770:21:0;29787:4;29770:21;;;;;;29844:15;;;29824;;:36;;:19;:36::i;:::-;29806:15;:54;29734:138;29886:15;;:19;29882:336;;29922:24;29949:56;29968:4;:19;;;29989:15;29949:18;:56::i;:::-;29922:83;;30020:20;30043:58;30085:15;;30043:37;30064:4;:15;;;30043:16;:20;;:37;;;;:::i;:58::-;30020:81;-1:-1:-1;30140:66:0;30166:39;30193:11;30166:22;30020:81;30183:4;30166:16;:22::i;:39::-;30140:21;;;;;:25;:66::i;:::-;30116:21;;;:90;-1:-1:-1;;29882:336:0;-1:-1:-1;30250:15:0;30228:19;;;;:37;29361:912;;:::o;32057:377::-;32116:21;32140:8;32149:4;32140:14;;;;;;;;;;;;;;;;32189;;;:8;:14;;;;;;32204:10;32189:26;;;;;;;32244:11;;32266:15;;;-1:-1:-1;32292:15:0;;:19;;;;32140:14;;;;;32322:10;;32140:14;;-1:-1:-1;32189:26:0;;32244:11;32322:44;;-1:-1:-1;;;;;32322:10:0;;;;;32244:11;32322:23;:44::i;:::-;32382;;;;;;;;32412:4;;32400:10;;32382:44;;;;;;;;;32057:377;;;;:::o;33024:626::-;24748:8;;-1:-1:-1;;;;;24748:8:0;24760:10;24748:22;24740:78;;;;-1:-1:-1;;;24740:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33194:16;;33213:7:::1;33194:26;33176:15;:44;33172:429;;;33334:5;::::0;-1:-1:-1;;;;;33324:15:0;;::::1;33334:5:::0;::::1;33324:15;;33316:34;;;::::0;;-1:-1:-1;;;33316:34:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;33316:34:0;;;;;;;;;;;;;::::1;;33382:8;:15:::0;33365:14:::1;33412:178;33440:6;33434:3;:12;33412:178;;;33474:21;33498:8;33507:3;33498:13;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;33548:10:::0;;33498:13;;-1:-1:-1;;;;;;33538:20:0;;::::1;33548:10:::0;::::1;33538:20;;33530:44;;;::::0;;-1:-1:-1;;;33530:44:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;33530:44:0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;33448:5:0::1;;33412:178;;;;33172:429;;33611:31;-1:-1:-1::0;;;;;33611:19:0;::::1;33631:2:::0;33635:6;33611:19:::1;:31::i;:::-;33024:626:::0;;;:::o;22424:23::-;;;-1:-1:-1;;;;;22424:23:0;;:::o;23499:28::-;;;;:::o;29105:180::-;29167:8;:15;29150:14;29193:85;29221:6;29215:3;:12;29193:85;;;29251:15;29262:3;29251:10;:15::i;:::-;29229:5;;29193:85;;;;29105:180;:::o;23770:37::-;;;;;;;;;;;;;-1:-1:-1;23770:37:0;:::o;28260:779::-;28334:7;28354:21;28378:8;28387:4;28378:14;;;;;;;;;;;;;;;;28427;;;:8;:14;;;;;;;-1:-1:-1;;;;;28427:21:0;;;;;;;;;;;28378:14;;;;;;;28486:21;;;;28540:10;;:35;;-1:-1:-1;;;28540:35:0;;28569:4;28540:35;;;;;;28378:14;;-1:-1:-1;28427:21:0;;28486;;28378:14;;28540:10;;;:20;;:35;;;;;;;;;;:10;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28540:35:0;28608:19;;;;28540:35;;-1:-1:-1;28590:15:0;:37;:57;;;;-1:-1:-1;28631:16:0;;;28590:57;28586:364;;;28664:24;28691:56;28710:4;:19;;;28731:15;28691:18;:56::i;:::-;28664:83;;28762:20;28785:58;28827:15;;28785:37;28806:4;:15;;;28785:16;:20;;:37;;;;:::i;:58::-;28762:81;-1:-1:-1;28877:61:0;28898:39;28925:11;28898:22;28762:81;28915:4;28898:16;:22::i;:39::-;28877:16;;:20;:61::i;:::-;28858:80;;28586:364;;;28967:64;29015:4;:15;;;28967:43;29005:4;28967:33;28983:16;28967:4;:11;;;:15;;:33;;;;:::i;:64::-;28960:71;28260:779;-1:-1:-1;;;;;;;28260:779:0:o;23252:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;25185:1174::-;24748:8;;-1:-1:-1;;;;;24748:8:0;24760:10;24748:22;24740:78;;;;-1:-1:-1;;;24740:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25351:26:::1;25370:6;25351:18;:26::i;:::-;25392:11;25388:61;;;25420:17;:15;:17::i;:::-;25481:13;;25463:15;:31;25459:534;;;25548:20:::0;25544:243:::1;;-1:-1:-1::0;25607:13:0::1;::::0;25544:243:::1;;;25683:13;;25665:15;:31;25661:111;;;-1:-1:-1::0;25739:13:0::1;::::0;25661:111:::1;25459:534;;;25855:20:::0;;;:57:::1;;;25897:15;25879;:33;25855:57;25851:131;;;-1:-1:-1::0;25951:15:0::1;25851:131;26003:15;26041:13;;26022:15;:32;;26021:74;;;;26079:15;26060;:34;;26021:74;26120:127;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;26120:127:0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;26120:127:0;;;;;;;::::1;::::0;::::1;::::0;;;;;;26106:8:::1;:142:::0;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;26106:142:0::1;::::0;;;::::1;;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;26106:142:0::1;::::0;::::1;;::::0;;;::::1;::::0;;;26120:127;;-1:-1:-1;26259:93:0::1;;26308:15;::::0;:32:::1;::::0;26328:11;26308:19:::1;:32::i;:::-;26290:15;:50:::0;26259:93:::1;24829:1;25185:1174:::0;;;;:::o;23536:63::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23536:63:0;:::o;32915:101::-;24748:8;;-1:-1:-1;;;;;24748:8:0;24760:10;24748:22;24740:78;;;;-1:-1:-1;;;24740:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32988:8:::1;:20:::0;;-1:-1:-1;;;;;;32988:20:0::1;-1:-1:-1::0;;;;;32988:20:0;;;::::1;::::0;;;::::1;::::0;;32915:101::o;23643:31::-;;;;;;;;;30308:829;30374:15;30392:10;30374:28;;30413:21;30437:8;30446:4;30437:14;;;;;;;;;;;;;;;;30486;;;:8;:14;;;;;;-1:-1:-1;;;;;30486:23:0;;;;;;;;;30437:14;;;;;;;;-1:-1:-1;30520:16:0;30495:4;30520:10;:16::i;:::-;30551:11;;:15;30547:292;;30583:16;30602:69;30655:4;:15;;;30602:48;30645:4;30602:38;30618:4;:21;;;30602:4;:11;;;:15;;:38;;;;:::i;:69::-;30583:88;-1:-1:-1;30690:12:0;;30686:142;;30723:36;30741:7;30750:8;30723:17;:36::i;:::-;30783:29;;;;;;;;-1:-1:-1;;;;;30783:29:0;;;;;;;;;;;;;30686:142;30547:292;;30853:11;;30849:157;;30881:10;;:60;;-1:-1:-1;;;;;30881:10:0;30909:7;30926:4;30933:7;30881:27;:60::i;:::-;30970:11;;:24;;30986:7;30970:15;:24::i;:::-;30956:38;;30849:157;31050:21;;;;31034:11;;:48;;31077:4;;31034:38;;:15;:38::i;:48::-;31016:15;;;:66;31098:31;;;;;;;;31115:4;;-1:-1:-1;;;;;31098:31:0;;;;;;;;;;;;30308:829;;;;;:::o;7165:153::-;7223:7;7255:1;7251;:5;7243:44;;;;;-1:-1:-1;;;7243:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;7309:1;7305;:5;;;;;;;7165:153;-1:-1:-1;;;7165:153:0:o;6050:158::-;6108:7;6141:1;6136;:6;;6128:49;;;;;-1:-1:-1;;;6128:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6195:5:0;;;6050:158::o;5588:179::-;5646:7;5678:5;;;5702:6;;;;5694:46;;;;;-1:-1:-1;;;5694:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;6467:220;6525:7;6549:6;6545:20;;-1:-1:-1;6564:1:0;6557:8;;6545:20;6588:5;;;6592:1;6588;:5;:1;6612:5;;;;;:10;6604:56;;;;-1:-1:-1;;;6604:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32550:357;32647:5;;:30;;;-1:-1:-1;;;32647:30:0;;32671:4;32647:30;;;;;;32627:17;;-1:-1:-1;;;;;32647:5:0;;:15;;:30;;;;;;;;;;;;;;:5;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32647:30:0;;-1:-1:-1;32692:13:0;;32688:212;;32736:9;32726:7;:19;32722:167;;;32766:5;;:34;;-1:-1:-1;;;;;32766:5:0;32785:3;32790:9;32766:18;:34::i;:::-;32722:167;;;32841:5;;:32;;-1:-1:-1;;;;;32841:5:0;32860:3;32865:7;18968:177;19078:58;;;-1:-1:-1;;;;;19078:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19078:58:0;-1:-1:-1;;;19078:58:0;;;19051:86;;19071:5;;19051:19;:86::i;24846:261::-;24931:8;:15;24914:14;24957:143;24985:6;24979:3;:12;24957:143;;;25046:6;-1:-1:-1;;;;;25023:29:0;:8;25032:3;25023:13;;;;;;;;;;;;;;;;;;;;;:19;-1:-1:-1;;;;;25023:19:0;:29;;25015:73;;;;;-1:-1:-1;;;25015:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;24993:5;;24957:143;;19153:205;19281:68;;;-1:-1:-1;;;;;19281:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19281:68:0;-1:-1:-1;;;19281:68:0;;;19254:96;;19274:5;;19254:19;:96::i;:::-;19153:205;;;;:::o;21273:761::-;21697:23;21723:69;21751:4;21723:69;;;;;;;;;;;;;;;;;21731:5;-1:-1:-1;;;;;21723:27:0;;;:69;;;;;:::i;:::-;21807:17;;21697:95;;-1:-1:-1;21807:21:0;21803:224;;21949:10;21938:30;;;;;;;;;;;;;;;-1:-1:-1;21938:30:0;21930:85;;;;-1:-1:-1;;;21930:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13955:195;14058:12;14090:52;14112:6;14120:4;14126:1;14129:12;14090:21;:52::i;:::-;14083:59;;13955:195;;;;;;:::o;15007:530::-;15134:12;15192:5;15167:21;:30;;15159:81;;;;-1:-1:-1;;;15159:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15259:18;15270:6;15259:10;:18::i;:::-;15251:60;;;;;-1:-1:-1;;;15251:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15385:12;15399:23;15426:6;-1:-1:-1;;;;;15426:11:0;15446:5;15454:4;15426:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;15426:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15384:75;;;;15477:52;15495:7;15504:10;15516:12;15477:17;:52::i;11037:422::-;11404:20;11443:8;;;11037:422::o;17547:742::-;17662:12;17691:7;17687:595;;;-1:-1:-1;17722:10:0;17715:17;;17687:595;17836:17;;:21;17832:439;;18099:10;18093:17;18160:15;18147:10;18143:2;18139:19;18132:44;18047:148;18242:12;18235:20;;-1:-1:-1;;;18235:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

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