ETH Price: $2,157.72 (-1.63%)

Contract

0x67B93E51633e6c19D6bd09f19a68e684F5a94DfB
 

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw153502272022-08-16 4:26:011311 days ago1660623961IN
0x67B93E51...4F5a94DfB
0 ETH0.0012235510.73787726
Withdraw152422342022-07-30 6:37:461328 days ago1659163066IN
0x67B93E51...4F5a94DfB
0 ETH0.000597125.72240712
Withdraw151635132022-07-18 0:58:571341 days ago1658105937IN
0x67B93E51...4F5a94DfB
0 ETH0.0016440613.53588489
Withdraw150666162022-07-03 1:35:491356 days ago1656812149IN
0x67B93E51...4F5a94DfB
0 ETH0.0009587.88743564
Withdraw148302442022-05-23 14:58:391396 days ago1653317919IN
0x67B93E51...4F5a94DfB
0 ETH0.0017227913.1462559
Withdraw147841912022-05-16 4:31:561403 days ago1652675516IN
0x67B93E51...4F5a94DfB
0 ETH0.0018222217.14208901
Withdraw147157892022-05-05 6:51:001414 days ago1651733460IN
0x67B93E51...4F5a94DfB
0 ETH0.0030537131.53102645
Withdraw146865852022-04-30 16:11:451419 days ago1651335105IN
0x67B93E51...4F5a94DfB
0 ETH0.0016499862.57985129
Withdraw146865822022-04-30 16:11:021419 days ago1651335062IN
0x67B93E51...4F5a94DfB
0 ETH0.0078190963.3330527
Withdraw146517622022-04-25 4:44:391424 days ago1650861879IN
0x67B93E51...4F5a94DfB
0 ETH0.0030971929.68138485
Withdraw146467632022-04-24 9:48:341425 days ago1650793714IN
0x67B93E51...4F5a94DfB
0 ETH0.0028493132.65617521
Withdraw146030732022-04-17 13:26:061432 days ago1650201966IN
0x67B93E51...4F5a94DfB
0 ETH0.0036446127.80877752
Withdraw145865702022-04-14 23:48:341435 days ago1649980114IN
0x67B93E51...4F5a94DfB
0 ETH0.0041720440
Withdraw145749872022-04-13 4:06:091437 days ago1649822769IN
0x67B93E51...4F5a94DfB
0 ETH0.0033566927.63625047
Withdraw145725952022-04-12 19:15:521437 days ago1649790952IN
0x67B93E51...4F5a94DfB
0 ETH0.0042782152.00214327
Withdraw145725892022-04-12 19:14:311437 days ago1649790871IN
0x67B93E51...4F5a94DfB
0 ETH0.0041516651.22852716
Withdraw145694932022-04-12 7:51:561437 days ago1649749916IN
0x67B93E51...4F5a94DfB
0 ETH0.0037436930.59420471
Withdraw145690672022-04-12 6:18:441437 days ago1649744324IN
0x67B93E51...4F5a94DfB
0 ETH0.0038138831.40342741
Withdraw145603772022-04-10 21:30:411439 days ago1649626241IN
0x67B93E51...4F5a94DfB
0 ETH0.0038873937.24988426
Withdraw145518662022-04-09 13:46:091440 days ago1649511969IN
0x67B93E51...4F5a94DfB
0 ETH0.0026076624.9871692
Withdraw145500072022-04-09 6:46:331440 days ago1649486793IN
0x67B93E51...4F5a94DfB
0 ETH0.0033989627.98422825
Withdraw145470842022-04-08 19:45:151441 days ago1649447115IN
0x67B93E51...4F5a94DfB
0 ETH0.0054681245.0444315
Withdraw145377562022-04-07 8:46:381442 days ago1649321198IN
0x67B93E51...4F5a94DfB
0 ETH0.0045744643.83349169
Withdraw145298092022-04-06 2:59:161444 days ago1649213956IN
0x67B93E51...4F5a94DfB
0 ETH0.0034862461.90509473
Withdraw145298052022-04-06 2:57:241444 days ago1649213844IN
0x67B93E51...4F5a94DfB
0 ETH0.0064461350.808189
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ApeGenesisRewardPool

Compiler Version
v0.8.1+commit.df193b15

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2022-03-27
*/

// SPDX-License-Identifier: MIT

// File @openzeppelin/contracts/token/ERC20/IERC20.sol@v4.5.0
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/utils/Address.sol@v4.5.0

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol@v4.5.0

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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/utils/math/SafeMath.sol@v4.5.0

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// File contracts/rewardPools/GenesisRewardPool.sol

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

    // governance
    address public operator;
    address public devFund;

    // Info of each user.
    struct UserInfo {
        uint256 amount; // How many tokens the user has provided.
        uint256 rewardDebt; // Rewards already claimed by the user.
    }

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

    IERC20 public ape;

    // 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 Ape mining starts.
    uint256 public poolStartTime;

    // The time when Ape mining ends.
    uint256 public poolEndTime;

    // Token distribution
    uint256 public apePerSecond = 0.0424382716 ether; // 11000 Ape / (3days * 24hr * 60min * 60s)
    uint256 public runningTime = 3 days; // 3 days
    uint256 public constant TOTAL_REWARDS = 11000 ether;

    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 _ape,
        address _devFund,
        uint256 _poolStartTime
    ) {
        require(block.timestamp < _poolStartTime, "late");
        if (_ape != address(0)) ape = IERC20(_ape);
        poolStartTime = _poolStartTime;
        poolEndTime = poolStartTime + runningTime;
        operator = msg.sender;
        devFund = _devFund;
    }

    modifier onlyOperator() {
        require(operator == msg.sender, "ApeGenesisPool: 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, "ApeGenesisPool: 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,
            accApePerShare : 0,
            isStarted : _isStarted
            }));
        if (_isStarted) {
            totalAllocPoint = totalAllocPoint.add(_allocPoint);
        }
    }

    // Update the given pool's Ape 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 _from to _to block.
    function getGeneratedReward(uint256 _fromTime, uint256 _toTime) public view returns (uint256) {
        if (_fromTime >= _toTime) return 0;
        if (_toTime >= poolEndTime) {
            if (_fromTime >= poolEndTime) return 0;
            if (_fromTime <= poolStartTime) return poolEndTime.sub(poolStartTime).mul(apePerSecond);
            return poolEndTime.sub(_fromTime).mul(apePerSecond);
        } else {
            if (_toTime <= poolStartTime) return 0;
            if (_fromTime <= poolStartTime) return _toTime.sub(poolStartTime).mul(apePerSecond);
            return _toTime.sub(_fromTime).mul(apePerSecond);
        }
    }

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

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

    // Update reward variables of the given pool to be up-to-date.
    function updatePool(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.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 _apeReward = _generatedReward.mul(pool.allocPoint).div(totalAllocPoint);
            pool.accApePerShare = pool.accApePerShare.add(_apeReward.mul(1e18).div(tokenSupply));
        }
        pool.lastRewardTime = block.timestamp;
    }

    // Deposit 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.accApePerShare).div(1e18).sub(user.rewardDebt);
            if (_pending > 0) {
                safeApeTransfer(_sender, _pending);
                emit RewardPaid(_sender, _pending);
            }
        }
        if (_amount > 0) {
            uint256 depositFee = _amount.mul(25).div(10000); // 0.25% fee
            pool.token.safeTransferFrom(_sender, devFund, depositFee);

            uint256 remaining = _amount-depositFee;
            pool.token.safeTransferFrom(_sender, address(this), remaining);
            user.amount = user.amount.add(remaining);
        }
        user.rewardDebt = user.amount.mul(pool.accApePerShare).div(1e18);
        emit Deposit(_sender, _pid, _amount);
    }

    // Withdraw 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.accApePerShare).div(1e18).sub(user.rewardDebt);
        if (_pending > 0) {
            safeApeTransfer(_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.accApePerShare).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 Ape transfer function, just in case if rounding error causes pool to not have enough Apes.
    function safeApeTransfer(address _to, uint256 _amount) internal {
        uint256 _apeBalance = ape.balanceOf(address(this));
        if (_apeBalance > 0) {
            if (_amount > _apeBalance) {
                ape.safeTransfer(_to, _apeBalance);
            } else {
                ape.safeTransfer(_to, _amount);
            }
        }
    }

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

    function governanceRecoverUnsupported(IERC20 _token, uint256 amount, address to) external onlyOperator {
        if (block.timestamp < poolEndTime + 30 days) {
            // do not allow to drain core token (Ape or lps) if less than 30 days after pool ends
            require(_token != ape, "ape");
            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 Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_ape","type":"address"},{"internalType":"address","name":"_devFund","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":[],"name":"TOTAL_REWARDS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"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":[],"name":"ape","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"apePerSecond","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devFund","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","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":"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":"pendingAPE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolEndTime","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":"accApePerShare","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":[],"name":"runningTime","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"}]

608060405260006005556696c56217997c006008556203f4806009553480156200002857600080fd5b50604051620019c6380380620019c68339810160408190526200004b916200010c565b804210620000765760405162461bcd60e51b81526004016200006d906200014c565b60405180910390fd5b6001600160a01b03831615620000a257600280546001600160a01b0319166001600160a01b0385161790555b6006819055600954620000b690826200016a565b6007555060008054336001600160a01b031991821617909155600180549091166001600160a01b0392909216919091179055506200018f565b80516001600160a01b03811681146200010757600080fd5b919050565b60008060006060848603121562000121578283fd5b6200012c84620000ef565b92506200013c60208501620000ef565b9150604084015190509250925092565b6020808252600490820152636c61746560e01b604082015260600190565b600082198211156200018a57634e487b7160e01b81526011600452602481fd5b500190565b611827806200019f6000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c80635f96dc11116100b857806393f1a40b1161007c57806393f1a40b14610255578063943f013d1461027657806396805e541461027e578063a2ea6d7314610291578063b3ab15fb14610299578063e2bbb158146102ac57610142565b80635f96dc1114610222578063630b5ba11461022a5780636e271dd5146102325780637868142a1461023a57806379babd2c1461024d57610142565b80634390d2a81161010a5780634390d2a8146101b9578063441a3e70146101ce57806351eb05a6146101e15780635312ea8e146101f457806354575af414610207578063570ca7351461021a57610142565b806309cf6091146101475780631526fe271461016557806317caf6f1146101895780631ab06ee514610191578063231f0c6a146101a6575b600080fd5b61014f6102bf565b60405161015c91906116ec565b60405180910390f35b6101786101733660046113a0565b6102cd565b60405161015c9594939291906114d4565b61014f61031b565b6101a461019f366004611446565b610321565b005b61014f6101b4366004611446565b6103cd565b6101c1610492565b60405161015c9190611483565b6101a46101dc366004611446565b6104a1565b6101a46101ef3660046113a0565b61064f565b6101a46102023660046113a0565b6107cb565b6101a461021536600461135f565b610886565b6101c1610993565b61014f6109a2565b6101a46109a8565b61014f6109d3565b61014f6102483660046113d0565b6109d9565b6101c1610b56565b6102686102633660046113d0565b610b65565b60405161015c9291906116f5565b61014f610b89565b6101a461028c3660046113ff565b610b8f565b61014f610d6d565b6101a46102a7366004611327565b610d73565b6101a46102ba366004611446565b610dbf565b6902544faa778090e0000081565b600381815481106102dd57600080fd5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0390931694509092909160ff1685565b60055481565b6000546001600160a01b031633146103545760405162461bcd60e51b815260040161034b906115d8565b60405180910390fd5b61035c6109a8565b60006003838154811061037f57634e487b7160e01b600052603260045260246000fd5b60009182526020909120600590910201600481015490915060ff16156103c6576103c2826103bc8360010154600554610f8f90919063ffffffff16565b90610fa2565b6005555b6001015550565b60008183106103de5750600061048c565b60075482106104465760075483106103f85750600061048c565b600654831161042b5761042460085461041e600654600754610f8f90919063ffffffff16565b90610fae565b905061048c565b61042460085461041e85600754610f8f90919063ffffffff16565b60065482116104575750600061048c565b600654831161047b5761042460085461041e60065485610f8f90919063ffffffff16565b6008546104249061041e8486610f8f565b92915050565b6001546001600160a01b031681565b60003390506000600384815481106104c957634e487b7160e01b600052603260045260246000fd5b600091825260208083208784526004825260408085206001600160a01b0388168652909252922080546005909202909201925084111561051b5760405162461bcd60e51b815260040161034b90611659565b6105248561064f565b6000610561826001015461055b670de0b6b3a764000061055587600301548760000154610fae90919063ffffffff16565b90610fba565b90610f8f565b905080156105b5576105738482610fc6565b836001600160a01b03167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040516105ac91906116ec565b60405180910390a25b84156105df5781546105c79086610f8f565b825582546105df906001600160a01b03168587611086565b600383015482546105fd91670de0b6b3a76400009161055591610fae565b826001018190555085846001600160a01b03167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5688760405161063f91906116ec565b60405180910390a3505050505050565b60006003828154811061067257634e487b7160e01b600052603260045260246000fd5b906000526020600020906005020190508060020154421161069357506107c8565b80546040516370a0823160e01b81526000916001600160a01b0316906370a08231906106c3903090600401611483565b60206040518083038186803b1580156106db57600080fd5b505afa1580156106ef573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071391906113b8565b9050806107275750426002909101556107c8565b600482015460ff166107585760048201805460ff1916600190811790915582015460055461075491610fa2565b6005555b600554156107bf5760006107708360020154426103cd565b90506000610791600554610555866001015485610fae90919063ffffffff16565b90506107b76107ac8461055584670de0b6b3a7640000610fae565b600386015490610fa2565b600385015550505b50426002909101555b50565b6000600382815481106107ee57634e487b7160e01b600052603260045260246000fd5b60009182526020808320858452600482526040808520338087529352842080548582556001820195909555600590930201805490945091929161083e916001600160a01b03919091169083611086565b83336001600160a01b03167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05958360405161087891906116ec565b60405180910390a350505050565b6000546001600160a01b031633146108b05760405162461bcd60e51b815260040161034b906115d8565b6007546108c09062278d00611703565b42101561097a576002546001600160a01b03848116911614156108f55760405162461bcd60e51b815260040161034b906116cf565b60035460005b818110156109775760006003828154811061092657634e487b7160e01b600052603260045260246000fd5b6000918252602090912060059091020180549091506001600160a01b03878116911614156109665760405162461bcd60e51b815260040161034b906115b4565b506109708161179d565b90506108fb565b50505b61098e6001600160a01b0384168284611086565b505050565b6000546001600160a01b031681565b60065481565b60035460005b818110156109cf576109bf8161064f565b6109c88161179d565b90506109ae565b5050565b60075481565b600080600384815481106109fd57634e487b7160e01b600052603260045260246000fd5b60009182526020808320878452600480835260408086206001600160a01b03808b16885294528086206003600590960290930194850154855491516370a0823160e01b815295975092959294929316916370a0823191610a5f91309101611483565b60206040518083038186803b158015610a7757600080fd5b505afa158015610a8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aaf91906113b8565b9050836002015442118015610ac357508015155b15610b20576000610ad88560020154426103cd565b90506000610af9600554610555886001015485610fae90919063ffffffff16565b9050610b1b610b148461055584670de0b6b3a7640000610fae565b8590610fa2565b935050505b610b4b836001015461055b670de0b6b3a7640000610555868860000154610fae90919063ffffffff16565b979650505050505050565b6002546001600160a01b031681565b60046020908152600092835260408084209091529082529020805460019091015482565b60095481565b6000546001600160a01b03163314610bb95760405162461bcd60e51b815260040161034b906115d8565b610bc2836110dc565b8115610bd057610bd06109a8565b600654421015610bfc5780610be85750600654610bf7565b600654811015610bf757506006545b610c10565b801580610c0857504281105b15610c105750425b600060065482111580610c235750428211155b6040805160a0810182526001600160a01b03878116825260208201898152928201868152600060608401818152861580156080870190815260038054600181018255945295517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b600590940293840180546001600160a01b031916919096161790945594517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85c82015590517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85d82015592517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85e84015590517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85f909201805460ff191692151592909217909155909150610d6657600554610d629086610fa2565b6005555b5050505050565b60085481565b6000546001600160a01b03163314610d9d5760405162461bcd60e51b815260040161034b906115d8565b600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000339050600060038481548110610de757634e487b7160e01b600052603260045260246000fd5b600091825260208083208784526004825260408085206001600160a01b0388168652909252922060059091029091019150610e218561064f565b805415610eaf576000610e59826001015461055b670de0b6b3a764000061055587600301548760000154610fae90919063ffffffff16565b90508015610ead57610e6b8482610fc6565b836001600160a01b03167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e048682604051610ea491906116ec565b60405180910390a25b505b8315610f20576000610ec8612710610555876019610fae565b6001548454919250610ee9916001600160a01b03908116918791168461115d565b6000610ef5828761175a565b8454909150610f0f906001600160a01b031686308461115d565b8254610f1b9082610fa2565b835550505b60038201548154610f3e91670de0b6b3a76400009161055591610fae565b816001018190555084836001600160a01b03167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a1586604051610f8091906116ec565b60405180910390a35050505050565b6000610f9b828461175a565b9392505050565b6000610f9b8284611703565b6000610f9b828461173b565b6000610f9b828461171b565b6002546040516370a0823160e01b81526000916001600160a01b0316906370a0823190610ff7903090600401611483565b60206040518083038186803b15801561100f57600080fd5b505afa158015611023573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061104791906113b8565b9050801561098e57808211156110735760025461106e906001600160a01b03168483611086565b61098e565b60025461098e906001600160a01b031684845b61098e8363a9059cbb60e01b84846040516024016110a59291906114bb565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611184565b60035460005b8181101561098e57826001600160a01b03166003828154811061111557634e487b7160e01b600052603260045260246000fd5b60009182526020909120600590910201546001600160a01b0316141561114d5760405162461bcd60e51b815260040161034b90611537565b6111568161179d565b90506110e2565b61117e846323b872dd60e01b8585856040516024016110a593929190611497565b50505050565b60006111d9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166112139092919063ffffffff16565b80519091501561098e57808060200190518101906111f79190611343565b61098e5760405162461bcd60e51b815260040161034b90611685565b6060611222848460008561122a565b949350505050565b60608247101561124c5760405162461bcd60e51b815260040161034b9061156e565b611255856112df565b6112715760405162461bcd60e51b815260040161034b90611622565b600080866001600160a01b0316858760405161128d9190611467565b60006040518083038185875af1925050503d80600081146112ca576040519150601f19603f3d011682016040523d82523d6000602084013e6112cf565b606091505b5091509150610b4b8282866112ee565b6001600160a01b03163b151590565b606083156112fd575081610f9b565b82511561130d5782518084602001fd5b8160405162461bcd60e51b815260040161034b9190611504565b600060208284031215611338578081fd5b8135610f9b816117ce565b600060208284031215611354578081fd5b8151610f9b816117e3565b600080600060608486031215611373578182fd5b833561137e816117ce565b9250602084013591506040840135611395816117ce565b809150509250925092565b6000602082840312156113b1578081fd5b5035919050565b6000602082840312156113c9578081fd5b5051919050565b600080604083850312156113e2578182fd5b8235915060208301356113f4816117ce565b809150509250929050565b60008060008060808587031215611414578081fd5b843593506020850135611426816117ce565b92506040850135611436816117e3565b9396929550929360600135925050565b60008060408385031215611458578182fd5b50508035926020909101359150565b60008251611479818460208701611771565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b039590951685526020850193909352604084019190915260608301521515608082015260a00190565b6000602082528251806020840152611523816040850160208701611771565b601f01601f19169190910160400192915050565b6020808252601e908201527f41706547656e65736973506f6f6c3a206578697374696e6720706f6f6c3f0000604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252600a90820152693837b7b6173a37b5b2b760b11b604082015260600190565b6020808252602a908201527f41706547656e65736973506f6f6c3a2063616c6c6572206973206e6f74207468604082015269329037b832b930ba37b960b11b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252601290820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b60208082526003908201526261706560e81b604082015260600190565b90815260200190565b918252602082015260400190565b60008219821115611716576117166117b8565b500190565b60008261173657634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611755576117556117b8565b500290565b60008282101561176c5761176c6117b8565b500390565b60005b8381101561178c578181015183820152602001611774565b8381111561117e5750506000910152565b60006000198214156117b1576117b16117b8565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03811681146107c857600080fd5b80151581146107c857600080fdfea2646970667358221220bc5ee3c92f903b8d854dbcc0702e9a2e079f94d3d789c9f21c33136ac0e560a164736f6c63430008010033000000000000000000000000917b78b76ca7fd68e9b6e4b1ebfcb13cc0fb4650000000000000000000000000fe16fb55aca52422f769823728127025a389b6f9000000000000000000000000000000000000000000000000000000006240fa80

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101425760003560e01c80635f96dc11116100b857806393f1a40b1161007c57806393f1a40b14610255578063943f013d1461027657806396805e541461027e578063a2ea6d7314610291578063b3ab15fb14610299578063e2bbb158146102ac57610142565b80635f96dc1114610222578063630b5ba11461022a5780636e271dd5146102325780637868142a1461023a57806379babd2c1461024d57610142565b80634390d2a81161010a5780634390d2a8146101b9578063441a3e70146101ce57806351eb05a6146101e15780635312ea8e146101f457806354575af414610207578063570ca7351461021a57610142565b806309cf6091146101475780631526fe271461016557806317caf6f1146101895780631ab06ee514610191578063231f0c6a146101a6575b600080fd5b61014f6102bf565b60405161015c91906116ec565b60405180910390f35b6101786101733660046113a0565b6102cd565b60405161015c9594939291906114d4565b61014f61031b565b6101a461019f366004611446565b610321565b005b61014f6101b4366004611446565b6103cd565b6101c1610492565b60405161015c9190611483565b6101a46101dc366004611446565b6104a1565b6101a46101ef3660046113a0565b61064f565b6101a46102023660046113a0565b6107cb565b6101a461021536600461135f565b610886565b6101c1610993565b61014f6109a2565b6101a46109a8565b61014f6109d3565b61014f6102483660046113d0565b6109d9565b6101c1610b56565b6102686102633660046113d0565b610b65565b60405161015c9291906116f5565b61014f610b89565b6101a461028c3660046113ff565b610b8f565b61014f610d6d565b6101a46102a7366004611327565b610d73565b6101a46102ba366004611446565b610dbf565b6902544faa778090e0000081565b600381815481106102dd57600080fd5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0390931694509092909160ff1685565b60055481565b6000546001600160a01b031633146103545760405162461bcd60e51b815260040161034b906115d8565b60405180910390fd5b61035c6109a8565b60006003838154811061037f57634e487b7160e01b600052603260045260246000fd5b60009182526020909120600590910201600481015490915060ff16156103c6576103c2826103bc8360010154600554610f8f90919063ffffffff16565b90610fa2565b6005555b6001015550565b60008183106103de5750600061048c565b60075482106104465760075483106103f85750600061048c565b600654831161042b5761042460085461041e600654600754610f8f90919063ffffffff16565b90610fae565b905061048c565b61042460085461041e85600754610f8f90919063ffffffff16565b60065482116104575750600061048c565b600654831161047b5761042460085461041e60065485610f8f90919063ffffffff16565b6008546104249061041e8486610f8f565b92915050565b6001546001600160a01b031681565b60003390506000600384815481106104c957634e487b7160e01b600052603260045260246000fd5b600091825260208083208784526004825260408085206001600160a01b0388168652909252922080546005909202909201925084111561051b5760405162461bcd60e51b815260040161034b90611659565b6105248561064f565b6000610561826001015461055b670de0b6b3a764000061055587600301548760000154610fae90919063ffffffff16565b90610fba565b90610f8f565b905080156105b5576105738482610fc6565b836001600160a01b03167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040516105ac91906116ec565b60405180910390a25b84156105df5781546105c79086610f8f565b825582546105df906001600160a01b03168587611086565b600383015482546105fd91670de0b6b3a76400009161055591610fae565b826001018190555085846001600160a01b03167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5688760405161063f91906116ec565b60405180910390a3505050505050565b60006003828154811061067257634e487b7160e01b600052603260045260246000fd5b906000526020600020906005020190508060020154421161069357506107c8565b80546040516370a0823160e01b81526000916001600160a01b0316906370a08231906106c3903090600401611483565b60206040518083038186803b1580156106db57600080fd5b505afa1580156106ef573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071391906113b8565b9050806107275750426002909101556107c8565b600482015460ff166107585760048201805460ff1916600190811790915582015460055461075491610fa2565b6005555b600554156107bf5760006107708360020154426103cd565b90506000610791600554610555866001015485610fae90919063ffffffff16565b90506107b76107ac8461055584670de0b6b3a7640000610fae565b600386015490610fa2565b600385015550505b50426002909101555b50565b6000600382815481106107ee57634e487b7160e01b600052603260045260246000fd5b60009182526020808320858452600482526040808520338087529352842080548582556001820195909555600590930201805490945091929161083e916001600160a01b03919091169083611086565b83336001600160a01b03167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05958360405161087891906116ec565b60405180910390a350505050565b6000546001600160a01b031633146108b05760405162461bcd60e51b815260040161034b906115d8565b6007546108c09062278d00611703565b42101561097a576002546001600160a01b03848116911614156108f55760405162461bcd60e51b815260040161034b906116cf565b60035460005b818110156109775760006003828154811061092657634e487b7160e01b600052603260045260246000fd5b6000918252602090912060059091020180549091506001600160a01b03878116911614156109665760405162461bcd60e51b815260040161034b906115b4565b506109708161179d565b90506108fb565b50505b61098e6001600160a01b0384168284611086565b505050565b6000546001600160a01b031681565b60065481565b60035460005b818110156109cf576109bf8161064f565b6109c88161179d565b90506109ae565b5050565b60075481565b600080600384815481106109fd57634e487b7160e01b600052603260045260246000fd5b60009182526020808320878452600480835260408086206001600160a01b03808b16885294528086206003600590960290930194850154855491516370a0823160e01b815295975092959294929316916370a0823191610a5f91309101611483565b60206040518083038186803b158015610a7757600080fd5b505afa158015610a8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aaf91906113b8565b9050836002015442118015610ac357508015155b15610b20576000610ad88560020154426103cd565b90506000610af9600554610555886001015485610fae90919063ffffffff16565b9050610b1b610b148461055584670de0b6b3a7640000610fae565b8590610fa2565b935050505b610b4b836001015461055b670de0b6b3a7640000610555868860000154610fae90919063ffffffff16565b979650505050505050565b6002546001600160a01b031681565b60046020908152600092835260408084209091529082529020805460019091015482565b60095481565b6000546001600160a01b03163314610bb95760405162461bcd60e51b815260040161034b906115d8565b610bc2836110dc565b8115610bd057610bd06109a8565b600654421015610bfc5780610be85750600654610bf7565b600654811015610bf757506006545b610c10565b801580610c0857504281105b15610c105750425b600060065482111580610c235750428211155b6040805160a0810182526001600160a01b03878116825260208201898152928201868152600060608401818152861580156080870190815260038054600181018255945295517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b600590940293840180546001600160a01b031916919096161790945594517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85c82015590517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85d82015592517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85e84015590517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85f909201805460ff191692151592909217909155909150610d6657600554610d629086610fa2565b6005555b5050505050565b60085481565b6000546001600160a01b03163314610d9d5760405162461bcd60e51b815260040161034b906115d8565b600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000339050600060038481548110610de757634e487b7160e01b600052603260045260246000fd5b600091825260208083208784526004825260408085206001600160a01b0388168652909252922060059091029091019150610e218561064f565b805415610eaf576000610e59826001015461055b670de0b6b3a764000061055587600301548760000154610fae90919063ffffffff16565b90508015610ead57610e6b8482610fc6565b836001600160a01b03167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e048682604051610ea491906116ec565b60405180910390a25b505b8315610f20576000610ec8612710610555876019610fae565b6001548454919250610ee9916001600160a01b03908116918791168461115d565b6000610ef5828761175a565b8454909150610f0f906001600160a01b031686308461115d565b8254610f1b9082610fa2565b835550505b60038201548154610f3e91670de0b6b3a76400009161055591610fae565b816001018190555084836001600160a01b03167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a1586604051610f8091906116ec565b60405180910390a35050505050565b6000610f9b828461175a565b9392505050565b6000610f9b8284611703565b6000610f9b828461173b565b6000610f9b828461171b565b6002546040516370a0823160e01b81526000916001600160a01b0316906370a0823190610ff7903090600401611483565b60206040518083038186803b15801561100f57600080fd5b505afa158015611023573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061104791906113b8565b9050801561098e57808211156110735760025461106e906001600160a01b03168483611086565b61098e565b60025461098e906001600160a01b031684845b61098e8363a9059cbb60e01b84846040516024016110a59291906114bb565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611184565b60035460005b8181101561098e57826001600160a01b03166003828154811061111557634e487b7160e01b600052603260045260246000fd5b60009182526020909120600590910201546001600160a01b0316141561114d5760405162461bcd60e51b815260040161034b90611537565b6111568161179d565b90506110e2565b61117e846323b872dd60e01b8585856040516024016110a593929190611497565b50505050565b60006111d9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166112139092919063ffffffff16565b80519091501561098e57808060200190518101906111f79190611343565b61098e5760405162461bcd60e51b815260040161034b90611685565b6060611222848460008561122a565b949350505050565b60608247101561124c5760405162461bcd60e51b815260040161034b9061156e565b611255856112df565b6112715760405162461bcd60e51b815260040161034b90611622565b600080866001600160a01b0316858760405161128d9190611467565b60006040518083038185875af1925050503d80600081146112ca576040519150601f19603f3d011682016040523d82523d6000602084013e6112cf565b606091505b5091509150610b4b8282866112ee565b6001600160a01b03163b151590565b606083156112fd575081610f9b565b82511561130d5782518084602001fd5b8160405162461bcd60e51b815260040161034b9190611504565b600060208284031215611338578081fd5b8135610f9b816117ce565b600060208284031215611354578081fd5b8151610f9b816117e3565b600080600060608486031215611373578182fd5b833561137e816117ce565b9250602084013591506040840135611395816117ce565b809150509250925092565b6000602082840312156113b1578081fd5b5035919050565b6000602082840312156113c9578081fd5b5051919050565b600080604083850312156113e2578182fd5b8235915060208301356113f4816117ce565b809150509250929050565b60008060008060808587031215611414578081fd5b843593506020850135611426816117ce565b92506040850135611436816117e3565b9396929550929360600135925050565b60008060408385031215611458578182fd5b50508035926020909101359150565b60008251611479818460208701611771565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b039590951685526020850193909352604084019190915260608301521515608082015260a00190565b6000602082528251806020840152611523816040850160208701611771565b601f01601f19169190910160400192915050565b6020808252601e908201527f41706547656e65736973506f6f6c3a206578697374696e6720706f6f6c3f0000604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252600a90820152693837b7b6173a37b5b2b760b11b604082015260600190565b6020808252602a908201527f41706547656e65736973506f6f6c3a2063616c6c6572206973206e6f74207468604082015269329037b832b930ba37b960b11b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252601290820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b60208082526003908201526261706560e81b604082015260600190565b90815260200190565b918252602082015260400190565b60008219821115611716576117166117b8565b500190565b60008261173657634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611755576117556117b8565b500290565b60008282101561176c5761176c6117b8565b500390565b60005b8381101561178c578181015183820152602001611774565b8381111561117e5750506000910152565b60006000198214156117b1576117b16117b8565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03811681146107c857600080fd5b80151581146107c857600080fdfea2646970667358221220bc5ee3c92f903b8d854dbcc0702e9a2e079f94d3d789c9f21c33136ac0e560a164736f6c63430008010033

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

000000000000000000000000917b78b76ca7fd68e9b6e4b1ebfcb13cc0fb4650000000000000000000000000fe16fb55aca52422f769823728127025a389b6f9000000000000000000000000000000000000000000000000000000006240fa80

-----Decoded View---------------
Arg [0] : _ape (address): 0x917B78b76CA7fD68e9B6E4b1EBFCb13Cc0FB4650
Arg [1] : _devFund (address): 0xFe16fb55aCA52422F769823728127025A389B6F9
Arg [2] : _poolStartTime (uint256): 1648425600

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000917b78b76ca7fd68e9b6e4b1ebfcb13cc0fb4650
Arg [1] : 000000000000000000000000fe16fb55aca52422f769823728127025a389b6f9
Arg [2] : 000000000000000000000000000000000000000000000000000000006240fa80


Deployed Bytecode Sourcemap

22711:10777:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24198:51;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;23580:26;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;:::i;23825:34::-;;;:::i;26802:353::-;;;;;;:::i;:::-;;:::i;:::-;;27232:649;;;;;;:::i;:::-;;:::i;22865:22::-;;;:::i;:::-;;;;;;;:::i;31043:807::-;;;;;;:::i;:::-;;:::i;29045:904::-;;;;;;:::i;:::-;;:::i;31921:377::-;;;;;;:::i;:::-;;:::i;32884:601::-;;;;;;:::i;:::-;;:::i;22835:23::-;;;:::i;23909:28::-;;;:::i;28789:180::-;;;:::i;23985:26::-;;;:::i;27943:763::-;;;;;;:::i;:::-;;:::i;23527:17::-;;;:::i;23664:64::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;24146:35::-;;;:::i;25432:1275::-;;;;;;:::i;:::-;;:::i;24047:48::-;;;:::i;32775:101::-;;;;;;:::i;:::-;;:::i;29981:1029::-;;;;;;:::i;:::-;;:::i;24198:51::-;24238:11;24198:51;:::o;23580:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23580:26:0;;;;-1:-1:-1;23580:26:0;;;;;;;:::o;23825:34::-;;;;:::o;26802:353::-;24997:8;;-1:-1:-1;;;;;24997:8:0;25009:10;24997:22;24989:77;;;;-1:-1:-1;;;24989:77:0;;;;;;;:::i;:::-;;;;;;;;;26881:17:::1;:15;:17::i;:::-;26909:21;26933:8;26942:4;26933:14;;;;;;-1:-1:-1::0;;;26933:14:0::1;;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;26962;::::0;::::1;::::0;26933;;-1:-1:-1;26962:14:0::1;;26958:150;;;27011:85;27070:11;27011:36;27031:4;:15;;;27011;;:19;;:36;;;;:::i;:::-;:40:::0;::::1;:85::i;:::-;26993:15;:103:::0;26958:150:::1;27118:15;;:29:::0;-1:-1:-1;26802:353:0:o;27232:649::-;27317:7;27354;27341:9;:20;27337:34;;-1:-1:-1;27370:1:0;27363:8;;27337:34;27397:11;;27386:7;:22;27382:492;;27442:11;;27429:9;:24;27425:38;;-1:-1:-1;27462:1:0;27455:8;;27425:38;27495:13;;27482:9;:26;27478:87;;27517:48;27552:12;;27517:30;27533:13;;27517:11;;:15;;:30;;;;:::i;:::-;:34;;:48::i;:::-;27510:55;;;;27478:87;27587:44;27618:12;;27587:26;27603:9;27587:11;;:15;;:26;;;;:::i;27382:492::-;27679:13;;27668:7;:24;27664:38;;-1:-1:-1;27701:1:0;27694:8;;27664:38;27734:13;;27721:9;:26;27717:83;;27756:44;27787:12;;27756:26;27768:13;;27756:7;:11;;:26;;;;:::i;27717:83::-;27849:12;;27822:40;;:22;:7;27834:9;27822:11;:22::i;27382:492::-;27232:649;;;;:::o;22865:22::-;;;-1:-1:-1;;;;;22865:22:0;;:::o;31043:807::-;31110:15;31128:10;31110:28;;31149:21;31173:8;31182:4;31173:14;;;;;;-1:-1:-1;;;31173:14:0;;;;;;;;;;;;;;;;;31222;;;:8;:14;;;;;;-1:-1:-1;;;;;31222:23:0;;;;;;;;;31264:11;;31173:14;;;;;;;;-1:-1:-1;31264:22:0;-1:-1:-1;31264:22:0;31256:53;;;;-1:-1:-1;;;31256:53:0;;;;;;;:::i;:::-;31320:16;31331:4;31320:10;:16::i;:::-;31347;31366:67;31417:4;:15;;;31366:46;31407:4;31366:36;31382:4;:19;;;31366:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46::i;:::-;:50;;:67::i;:::-;31347:86;-1:-1:-1;31448:12:0;;31444:128;;31477:34;31493:7;31502:8;31477:15;:34::i;:::-;31542:7;-1:-1:-1;;;;;31531:29:0;;31551:8;31531:29;;;;;;:::i;:::-;;;;;;;;31444:128;31586:11;;31582:138;;31628:11;;:24;;31644:7;31628:15;:24::i;:::-;31614:38;;31667:10;;:41;;-1:-1:-1;;;;;31667:10:0;31691:7;31700;31667:23;:41::i;:::-;31764:19;;;;31748:11;;:46;;31789:4;;31748:36;;:15;:36::i;:46::-;31730:4;:15;;:64;;;;31828:4;31819:7;-1:-1:-1;;;;;31810:32:0;;31834:7;31810:32;;;;;;:::i;:::-;;;;;;;;31043:807;;;;;;:::o;29045:904::-;29097:21;29121:8;29130:4;29121:14;;;;;;-1:-1:-1;;;29121:14:0;;;;;;;;;;;;;;;;;;;29097:38;;29169:4;:19;;;29150:15;:38;29146:77;;29205:7;;;29146:77;29255:10;;:35;;-1:-1:-1;;;29255:35:0;;29233:19;;-1:-1:-1;;;;;29255:10:0;;:20;;:35;;29284:4;;29255:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;29233:57;-1:-1:-1;29305:16:0;29301:107;;-1:-1:-1;29360:15:0;29338:19;;;;:37;29390:7;;29301:107;29423:14;;;;;;29418:138;;29454:14;;;:21;;-1:-1:-1;;29454:21:0;29471:4;29454:21;;;;;;29528:15;;;29508;;:36;;:19;:36::i;:::-;29490:15;:54;29418:138;29570:15;;:19;29566:328;;29606:24;29633:56;29652:4;:19;;;29673:15;29633:18;:56::i;:::-;29606:83;;29704:18;29725:58;29767:15;;29725:37;29746:4;:15;;;29725:16;:20;;:37;;;;:::i;:58::-;29704:79;-1:-1:-1;29820:62:0;29844:37;29869:11;29844:20;29704:79;29859:4;29844:14;:20::i;:37::-;29820:19;;;;;:23;:62::i;:::-;29798:19;;;:84;-1:-1:-1;;29566:328:0;-1:-1:-1;29926:15:0;29904:19;;;;:37;29045:904;;:::o;31921:377::-;31980:21;32004:8;32013:4;32004:14;;;;;;-1:-1:-1;;;32004:14:0;;;;;;;;;;;;;;;;;32053;;;:8;:14;;;;;;32068:10;32053:26;;;;;;;32108:11;;32130:15;;;-1:-1:-1;32156:15:0;;:19;;;;32004:14;;;;;32186:10;;32004:14;;-1:-1:-1;32053:26:0;;32108:11;32186:44;;-1:-1:-1;;;;;32186:10:0;;;;;32108:11;32186:23;:44::i;:::-;32276:4;32264:10;-1:-1:-1;;;;;32246:44:0;;32282:7;32246:44;;;;;;:::i;:::-;;;;;;;;31921:377;;;;:::o;32884:601::-;24997:8;;-1:-1:-1;;;;;24997:8:0;25009:10;24997:22;24989:77;;;;-1:-1:-1;;;24989:77:0;;;;;;;:::i;:::-;33020:11:::1;::::0;:21:::1;::::0;33034:7:::1;33020:21;:::i;:::-;33002:15;:39;32998:438;;;33175:3;::::0;-1:-1:-1;;;;;33165:13:0;;::::1;33175:3:::0;::::1;33165:13;;33157:29;;;;-1:-1:-1::0;;;33157:29:0::1;;;;;;;:::i;:::-;33218:8;:15:::0;33201:14:::1;33248:177;33276:6;33270:3;:12;33248:177;;;33310:21;33334:8;33343:3;33334:13;;;;;;-1:-1:-1::0;;;33334:13:0::1;;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;33384:10:::0;;33334:13;;-1:-1:-1;;;;;;33374:20:0;;::::1;33384:10:::0;::::1;33374:20;;33366:43;;;;-1:-1:-1::0;;;33366:43:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;33284:5:0::1;::::0;::::1;:::i;:::-;;;33248:177;;;;32998:438;;33446:31;-1:-1:-1::0;;;;;33446:19:0;::::1;33466:2:::0;33470:6;33446:19:::1;:31::i;:::-;32884:601:::0;;;:::o;22835:23::-;;;-1:-1:-1;;;;;22835:23:0;;:::o;23909:28::-;;;;:::o;28789:180::-;28851:8;:15;28834:14;28877:85;28905:6;28899:3;:12;28877:85;;;28935:15;28946:3;28935:10;:15::i;:::-;28913:5;;;:::i;:::-;;;28877:85;;;;28789:180;:::o;23985:26::-;;;;:::o;27943:763::-;28015:7;28035:21;28059:8;28068:4;28059:14;;;;;;-1:-1:-1;;;28059:14:0;;;;;;;;;;;;;;;;;28108;;;:8;:14;;;;;;;-1:-1:-1;;;;;28108:21:0;;;;;;;;;;28165:19;28059:14;;;;;;;28165:19;;;;28217:10;;:35;;-1:-1:-1;;;28217:35:0;;28059:14;;-1:-1:-1;28108:21:0;;28165:19;;28059:14;;28217:10;;:20;;:35;;28246:4;;28217:35;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;28195:57;;28285:4;:19;;;28267:15;:37;:57;;;;-1:-1:-1;28308:16:0;;;28267:57;28263:356;;;28341:24;28368:56;28387:4;:19;;;28408:15;28368:18;:56::i;:::-;28341:83;;28439:18;28460:58;28502:15;;28460:37;28481:4;:15;;;28460:16;:20;;:37;;;;:::i;:58::-;28439:79;-1:-1:-1;28550:57:0;28569:37;28594:11;28569:20;28439:79;28584:4;28569:14;:20::i;:37::-;28550:14;;:18;:57::i;:::-;28533:74;;28263:356;;;28636:62;28682:4;:15;;;28636:41;28672:4;28636:31;28652:14;28636:4;:11;;;:15;;:31;;;;:::i;:62::-;28629:69;27943:763;-1:-1:-1;;;;;;;27943:763:0:o;23527:17::-;;;-1:-1:-1;;;;;23527:17:0;;:::o;23664:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;24146:35::-;;;;:::o;25432:1275::-;24997:8;;-1:-1:-1;;;;;24997:8:0;25009:10;24997:22;24989:77;;;;-1:-1:-1;;;24989:77:0;;;;;;;:::i;:::-;25598:26:::1;25617:6;25598:18;:26::i;:::-;25639:11;25635:61;;;25667:17;:15;:17::i;:::-;25728:13;;25710:15;:31;25706:534;;;25795:20:::0;25791:243:::1;;-1:-1:-1::0;25854:13:0::1;::::0;25791:243:::1;;;25930:13;;25912:15;:31;25908:111;;;-1:-1:-1::0;25986:13:0::1;::::0;25908:111:::1;25706:534;;;26102:20:::0;;;:57:::1;;;26144:15;26126;:33;26102:57;26098:131;;;-1:-1:-1::0;26198:15:0::1;26098:131;26250:15;26297:13;;26278:15;:32;;26277:83;;;;26344:15;26325;:34;;26277:83;26385:210;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;26385:210:0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;26385:210:0;;;;;;;::::1;::::0;::::1;::::0;;;;;;26371:8:::1;:225:::0;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;26371:225:0::1;::::0;;;::::1;;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;26371:225:0::1;::::0;::::1;;::::0;;;::::1;::::0;;;26385:210;;-1:-1:-1;26607:93:0::1;;26656:15;::::0;:32:::1;::::0;26676:11;26656:19:::1;:32::i;:::-;26638:15;:50:::0;26607:93:::1;25077:1;25432:1275:::0;;;;:::o;24047:48::-;;;;:::o;32775:101::-;24997:8;;-1:-1:-1;;;;;24997:8:0;25009:10;24997:22;24989:77;;;;-1:-1:-1;;;24989:77:0;;;;;;;:::i;:::-;32848:8:::1;:20:::0;;-1:-1:-1;;;;;;32848:20:0::1;-1:-1:-1::0;;;;;32848:20:0;;;::::1;::::0;;;::::1;::::0;;32775:101::o;29981:1029::-;30047:15;30065:10;30047:28;;30086:21;30110:8;30119:4;30110:14;;;;;;-1:-1:-1;;;30110:14:0;;;;;;;;;;;;;;;;;30159;;;:8;:14;;;;;;-1:-1:-1;;;;;30159:23:0;;;;;;;;;30110:14;;;;;;;;-1:-1:-1;30193:16:0;30168:4;30193:10;:16::i;:::-;30224:11;;:15;30220:288;;30256:16;30275:67;30326:4;:15;;;30275:46;30316:4;30275:36;30291:4;:19;;;30275:4;:11;;;:15;;:36;;;;:::i;:67::-;30256:86;-1:-1:-1;30361:12:0;;30357:140;;30394:34;30410:7;30419:8;30394:15;:34::i;:::-;30463:7;-1:-1:-1;;;;;30452:29:0;;30472:8;30452:29;;;;;;:::i;:::-;;;;;;;;30357:140;30220:288;;30522:11;;30518:363;;30550:18;30571:26;30591:5;30571:15;:7;30583:2;30571:11;:15::i;:26::-;30662:7;;30625:10;;30550:47;;-1:-1:-1;30625:57:0;;-1:-1:-1;;;;;30625:10:0;;;;30653:7;;30662;30550:47;30625:27;:57::i;:::-;30699:17;30719:18;30727:10;30719:7;:18;:::i;:::-;30752:10;;30699:38;;-1:-1:-1;30752:62:0;;-1:-1:-1;;;;;30752:10:0;30780:7;30797:4;30699:38;30752:27;:62::i;:::-;30843:11;;:26;;30859:9;30843:15;:26::i;:::-;30829:40;;-1:-1:-1;;30518:363:0;30925:19;;;;30909:11;;:46;;30950:4;;30909:36;;:15;:36::i;:46::-;30891:4;:15;;:64;;;;30988:4;30979:7;-1:-1:-1;;;;;30971:31:0;;30994:7;30971:31;;;;;;:::i;:::-;;;;;;;;29981:1029;;;;;:::o;18671:98::-;18729:7;18756:5;18760:1;18756;:5;:::i;:::-;18749:12;18671:98;-1:-1:-1;;;18671:98:0:o;18290:::-;18348:7;18375:5;18379:1;18375;:5;:::i;19028:98::-;19086:7;19113:5;19117:1;19113;:5;:::i;19427:98::-;19485:7;19512:5;19516:1;19512;:5;:::i;32410:357::-;32507:3;;:28;;-1:-1:-1;;;32507:28:0;;32485:19;;-1:-1:-1;;;;;32507:3:0;;:13;;:28;;32529:4;;32507:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;32485:50;-1:-1:-1;32550:15:0;;32546:214;;32596:11;32586:7;:21;32582:167;;;32628:3;;:34;;-1:-1:-1;;;;;32628:3:0;32645;32650:11;32628:16;:34::i;:::-;32582:167;;;32703:3;;:30;;-1:-1:-1;;;;;32703:3:0;32720;32725:7;12126:211;12243:86;12263:5;12293:23;;;12318:2;12322:5;12270:58;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;12270:58:0;;;;;;;;;;;;;;-1:-1:-1;;;;;12270:58:0;-1:-1:-1;;;;;;12270:58:0;;;;;;;;;;12243:19;:86::i;25094:260::-;25179:8;:15;25162:14;25205:142;25233:6;25227:3;:12;25205:142;;;25294:6;-1:-1:-1;;;;;25271:29:0;:8;25280:3;25271:13;;;;;;-1:-1:-1;;;25271:13:0;;;;;;;;;;;;;;;;;;;;;;:19;-1:-1:-1;;;;;25271:19:0;:29;;25263:72;;;;-1:-1:-1;;;25263:72:0;;;;;;;:::i;:::-;25241:5;;;:::i;:::-;;;25205:142;;12345:248;12489:96;12509:5;12539:27;;;12568:4;12574:2;12578:5;12516:68;;;;;;;;;;:::i;12489:96::-;12345:248;;;;:::o;14699:716::-;15123:23;15149:69;15177:4;15149:69;;;;;;;;;;;;;;;;;15157:5;-1:-1:-1;;;;;15149:27:0;;;:69;;;;;:::i;:::-;15233:17;;15123:95;;-1:-1:-1;15233:21:0;15229:179;;15330:10;15319:30;;;;;;;;;;;;:::i;:::-;15311:85;;;;-1:-1:-1;;;15311:85:0;;;;;;;:::i;6900:229::-;7037:12;7069:52;7091:6;7099:4;7105:1;7108:12;7069:21;:52::i;:::-;7062:59;6900:229;-1:-1:-1;;;;6900:229:0:o;8020:510::-;8190:12;8248:5;8223:21;:30;;8215:81;;;;-1:-1:-1;;;8215:81:0;;;;;;;:::i;:::-;8315:18;8326:6;8315:10;:18::i;:::-;8307:60;;;;-1:-1:-1;;;8307:60:0;;;;;;;:::i;:::-;8381:12;8395:23;8422:6;-1:-1:-1;;;;;8422:11:0;8441:5;8448:4;8422:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8380:73;;;;8471:51;8488:7;8497:10;8509:12;8471:16;:51::i;4155:326::-;-1:-1:-1;;;;;4450:19:0;;:23;;;4155:326::o;10706:712::-;10856:12;10885:7;10881:530;;;-1:-1:-1;10916:10:0;10909:17;;10881:530;11030:17;;:21;11026:374;;11228:10;11222:17;11289:15;11276:10;11272:2;11268:19;11261:44;11176:148;11371:12;11364:20;;-1:-1:-1;;;11364:20:0;;;;;;;;:::i;14:259:1:-;;126:2;114:9;105:7;101:23;97:32;94:2;;;147:6;139;132:22;94:2;191:9;178:23;210:33;237:5;210:33;:::i;278:257::-;;398:2;386:9;377:7;373:23;369:32;366:2;;;419:6;411;404:22;366:2;456:9;450:16;475:30;499:5;475:30;:::i;540:483::-;;;;699:2;687:9;678:7;674:23;670:32;667:2;;;720:6;712;705:22;667:2;764:9;751:23;783:33;810:5;783:33;:::i;:::-;835:5;-1:-1:-1;887:2:1;872:18;;859:32;;-1:-1:-1;943:2:1;928:18;;915:32;956:35;915:32;956:35;:::i;:::-;1010:7;1000:17;;;657:366;;;;;:::o;1028:190::-;;1140:2;1128:9;1119:7;1115:23;1111:32;1108:2;;;1161:6;1153;1146:22;1108:2;-1:-1:-1;1189:23:1;;1098:120;-1:-1:-1;1098:120:1:o;1223:194::-;;1346:2;1334:9;1325:7;1321:23;1317:32;1314:2;;;1367:6;1359;1352:22;1314:2;-1:-1:-1;1395:16:1;;1304:113;-1:-1:-1;1304:113:1:o;1422:327::-;;;1551:2;1539:9;1530:7;1526:23;1522:32;1519:2;;;1572:6;1564;1557:22;1519:2;1613:9;1600:23;1590:33;;1673:2;1662:9;1658:18;1645:32;1686:33;1713:5;1686:33;:::i;:::-;1738:5;1728:15;;;1509:240;;;;;:::o;1754:546::-;;;;;1927:3;1915:9;1906:7;1902:23;1898:33;1895:2;;;1949:6;1941;1934:22;1895:2;1990:9;1977:23;1967:33;;2050:2;2039:9;2035:18;2022:32;2063:33;2090:5;2063:33;:::i;:::-;2115:5;-1:-1:-1;2172:2:1;2157:18;;2144:32;2185;2144;2185;:::i;:::-;1885:415;;;;-1:-1:-1;2236:7:1;;2290:2;2275:18;2262:32;;-1:-1:-1;;1885:415:1:o;2305:258::-;;;2434:2;2422:9;2413:7;2409:23;2405:32;2402:2;;;2455:6;2447;2440:22;2402:2;-1:-1:-1;;2483:23:1;;;2553:2;2538:18;;;2525:32;;-1:-1:-1;2392:171:1:o;2568:274::-;;2735:6;2729:13;2751:53;2797:6;2792:3;2785:4;2777:6;2773:17;2751:53;:::i;:::-;2820:16;;;;;2705:137;-1:-1:-1;;2705:137:1:o;2847:203::-;-1:-1:-1;;;;;3011:32:1;;;;2993:51;;2981:2;2966:18;;2948:102::o;3055:375::-;-1:-1:-1;;;;;3313:15:1;;;3295:34;;3365:15;;;;3360:2;3345:18;;3338:43;3412:2;3397:18;;3390:34;;;;3245:2;3230:18;;3212:218::o;3435:274::-;-1:-1:-1;;;;;3627:32:1;;;;3609:51;;3691:2;3676:18;;3669:34;3597:2;3582:18;;3564:145::o;3935:512::-;-1:-1:-1;;;;;4219:32:1;;;;4201:51;;4283:2;4268:18;;4261:34;;;;4326:2;4311:18;;4304:34;;;;4369:2;4354:18;;4347:34;4425:14;4418:22;4412:3;4397:19;;4390:51;4188:3;4173:19;;4155:292::o;4452:383::-;;4601:2;4590:9;4583:21;4633:6;4627:13;4676:6;4671:2;4660:9;4656:18;4649:34;4692:66;4751:6;4746:2;4735:9;4731:18;4726:2;4718:6;4714:15;4692:66;:::i;:::-;4819:2;4798:15;-1:-1:-1;;4794:29:1;4779:45;;;;4826:2;4775:54;;4573:262;-1:-1:-1;;4573:262:1:o;4840:354::-;5042:2;5024:21;;;5081:2;5061:18;;;5054:30;5120:32;5115:2;5100:18;;5093:60;5185:2;5170:18;;5014:180::o;5199:402::-;5401:2;5383:21;;;5440:2;5420:18;;;5413:30;5479:34;5474:2;5459:18;;5452:62;-1:-1:-1;;;5545:2:1;5530:18;;5523:36;5591:3;5576:19;;5373:228::o;5606:334::-;5808:2;5790:21;;;5847:2;5827:18;;;5820:30;-1:-1:-1;;;5881:2:1;5866:18;;5859:40;5931:2;5916:18;;5780:160::o;5945:406::-;6147:2;6129:21;;;6186:2;6166:18;;;6159:30;6225:34;6220:2;6205:18;;6198:62;-1:-1:-1;;;6291:2:1;6276:18;;6269:40;6341:3;6326:19;;6119:232::o;6356:353::-;6558:2;6540:21;;;6597:2;6577:18;;;6570:30;6636:31;6631:2;6616:18;;6609:59;6700:2;6685:18;;6530:179::o;6714:342::-;6916:2;6898:21;;;6955:2;6935:18;;;6928:30;-1:-1:-1;;;6989:2:1;6974:18;;6967:48;7047:2;7032:18;;6888:168::o;7061:406::-;7263:2;7245:21;;;7302:2;7282:18;;;7275:30;7341:34;7336:2;7321:18;;7314:62;-1:-1:-1;;;7407:2:1;7392:18;;7385:40;7457:3;7442:19;;7235:232::o;7472:326::-;7674:2;7656:21;;;7713:1;7693:18;;;7686:29;-1:-1:-1;;;7746:2:1;7731:18;;7724:33;7789:2;7774:18;;7646:152::o;7803:177::-;7949:25;;;7937:2;7922:18;;7904:76::o;7985:248::-;8159:25;;;8215:2;8200:18;;8193:34;8147:2;8132:18;;8114:119::o;8238:128::-;;8309:1;8305:6;8302:1;8299:13;8296:2;;;8315:18;;:::i;:::-;-1:-1:-1;8351:9:1;;8286:80::o;8371:217::-;;8437:1;8427:2;;-1:-1:-1;;;8462:31:1;;8516:4;8513:1;8506:15;8544:4;8469:1;8534:15;8427:2;-1:-1:-1;8573:9:1;;8417:171::o;8593:168::-;;8699:1;8695;8691:6;8687:14;8684:1;8681:21;8676:1;8669:9;8662:17;8658:45;8655:2;;;8706:18;;:::i;:::-;-1:-1:-1;8746:9:1;;8645:116::o;8766:125::-;;8834:1;8831;8828:8;8825:2;;;8839:18;;:::i;:::-;-1:-1:-1;8876:9:1;;8815:76::o;8896:258::-;8968:1;8978:113;8992:6;8989:1;8986:13;8978:113;;;9068:11;;;9062:18;9049:11;;;9042:39;9014:2;9007:10;8978:113;;;9109:6;9106:1;9103:13;9100:2;;;-1:-1:-1;;9144:1:1;9126:16;;9119:27;8949:205::o;9159:135::-;;-1:-1:-1;;9219:17:1;;9216:2;;;9239:18;;:::i;:::-;-1:-1:-1;9286:1:1;9275:13;;9206:88::o;9299:127::-;9360:10;9355:3;9351:20;9348:1;9341:31;9391:4;9388:1;9381:15;9415:4;9412:1;9405:15;9431:133;-1:-1:-1;;;;;9508:31:1;;9498:42;;9488:2;;9554:1;9551;9544:12;9569:120;9657:5;9650:13;9643:21;9636:5;9633:32;9623:2;;9679:1;9676;9669:12

Swarm Source

ipfs://bc5ee3c92f903b8d854dbcc0702e9a2e079f94d3d789c9f21c33136ac0e560a1

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
0x67B93E51633e6c19D6bd09f19a68e684F5a94DfB
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.