Contract 0xd7e98ca54e6202fb6237b98c881817ed3e54d2ed

 
 
Txn Hash
Block
From
To
Value [Txn Fee]
0x1120122216812cac69a724c38e479f34e23f3ef419559cb6c601cc15a12014e684009242021-06-18 10:01:1839 days 19 hrs ago0x2d3deeab446bb6b974e9509985286bd8b8290cbe IN  0xd7e98ca54e6202fb6237b98c881817ed3e54d2ed0 BNB0.000144495
0x579f19b6b8b76baf3933feba3c38fb5c76f77ce749c41ebe2e3c42ba75b8909665100382021-04-12 20:09:22106 days 9 hrs ago0x27b968f509f54fe6b9b247044c69e6634010d5a8 IN  0xd7e98ca54e6202fb6237b98c881817ed3e54d2ed0 BNB0.002246975
0x540180fe5c185c519f3bc5440751143ab332bbc9b2333796b4ceda4646b7518d65070472021-04-12 17:39:49106 days 12 hrs ago0xf797ea2a78f5b86a143db6a4cddd566064d0c50c IN  0xd7e98ca54e6202fb6237b98c881817ed3e54d2ed0 BNB0.000148995
0x4dc812ba763d1eeb3814c85a43b7396feaf263c017932791906766f11ed4601565070472021-04-12 17:39:49106 days 12 hrs ago0xf797ea2a78f5b86a143db6a4cddd566064d0c50c IN  0xd7e98ca54e6202fb6237b98c881817ed3e54d2ed0 BNB0.002246975
0xdfbcd4a735e858d5fd33bec940e9ed245e6572f0039989a09c05c02de52efec664914212021-04-12 4:36:00107 days 1 hr ago0x27b968f509f54fe6b9b247044c69e6634010d5a8 IN  0xd7e98ca54e6202fb6237b98c881817ed3e54d2ed0 BNB0.002010185
0xa2f4a01d456d204be530f69e98af5093f258ba874fd3863c405b67c69db1722664868702021-04-12 0:48:02107 days 4 hrs ago0x9771c5856aa4e863971021556902ec2bfaf10e77 IN  0xd7e98ca54e6202fb6237b98c881817ed3e54d2ed0 BNB0.000144495
0xe01c95a6826ac7a9d363dc3fd9d09953c5c0c0ddedf8aafc5e9b2989eac8863964868552021-04-12 0:47:17107 days 5 hrs ago0x9771c5856aa4e863971021556902ec2bfaf10e77 IN  0xd7e98ca54e6202fb6237b98c881817ed3e54d2ed0 BNB0.000144495
0x0b4af020b4892976c210333f5efd5046a664ede6493efe96ff75b6680febed5864608042021-04-11 3:02:34108 days 2 hrs ago0x27b968f509f54fe6b9b247044c69e6634010d5a8 IN  0xd7e98ca54e6202fb6237b98c881817ed3e54d2ed0 BNB0.002412222
0xe0fcddb4d5c790e482a726ad94ec5357c5c528c03bf0c5beada657718679b9eb61845272021-04-01 8:53:03117 days 20 hrs ago0x27b968f509f54fe6b9b247044c69e6634010d5a8 IN  0xd7e98ca54e6202fb6237b98c881817ed3e54d2ed0 BNB0.003654508
0xd182f3ce403f0894649e99e261609e1713e4944cf02cd0a63bcfb322e665b98d61838732021-04-01 8:20:21117 days 21 hrs ago0x27b968f509f54fe6b9b247044c69e6634010d5a8 IN  0xd7e98ca54e6202fb6237b98c881817ed3e54d2ed0 BNB0.00332228
0xa0b54dd3dcf76a8b52e544076060bfa2754acc919728450bc9974ed1a4da08be60468692021-03-27 13:44:30122 days 16 hrs ago0x8521f5c29d25be613b0975b8916cdc85b26d72a5 IN  0xd7e98ca54e6202fb6237b98c881817ed3e54d2ed0 BNB0.00029799
0x68cbca1ffad248868f0e8783b9b40e690ba277a93d4b44c9470d2c8747eb549b60358792021-03-27 4:33:07123 days 1 hr ago0x27b968f509f54fe6b9b247044c69e6634010d5a8 IN  0xd7e98ca54e6202fb6237b98c881817ed3e54d2ed0 BNB0.00332228
0x293c455e53d2722aa32ea7e1eeb30aadfe6fe8518be78972aba4365a8ac095fd60247002021-03-26 18:36:52123 days 11 hrs ago0x27b968f509f54fe6b9b247044c69e6634010d5a8 IN  0xd7e98ca54e6202fb6237b98c881817ed3e54d2ed0 BNB0.00332228
0xb9dd041c086d8c4f8db2a217f1e2f1b11e9b39932f4431e11ce875352eae38cd60245762021-03-26 18:30:40123 days 11 hrs ago0x27b968f509f54fe6b9b247044c69e6634010d5a8 IN  0xd7e98ca54e6202fb6237b98c881817ed3e54d2ed0 BNB0.00332228
0x151c3060a2dfc7b3f87ee0a8d1a47ba8f2f6632c934a62a3460f432475b1e54c60242832021-03-26 18:16:01123 days 11 hrs ago0x27b968f509f54fe6b9b247044c69e6634010d5a8 IN  0xd7e98ca54e6202fb6237b98c881817ed3e54d2ed0 BNB0.00332228
0x0d8675efebf12dd0c95db4209c5861841ccce96e690a10b10f0dd26ca40a8fae59061832021-03-22 15:08:44127 days 14 hrs ago0xeba79b7d04894617bd2e0913dce27e79a19d44d0 IN  0xd7e98ca54e6202fb6237b98c881817ed3e54d2ed0 BNB0.00028899
0x1e6e323ed12d479bfbefa93da548778b81af2aa484ad61533714953342432dfb58811202021-03-21 17:57:31128 days 11 hrs ago0xf797ea2a78f5b86a143db6a4cddd566064d0c50c IN  0xd7e98ca54e6202fb6237b98c881817ed3e54d2ed0 BNB0.099512
0x7d2e2a72a104071a506d6f99e97f42c40a82535c1b480a0e78ab86706c48ede457889352021-03-18 13:02:50131 days 16 hrs ago0xeba79b7d04894617bd2e0913dce27e79a19d44d0 IN  0xd7e98ca54e6202fb6237b98c881817ed3e54d2ed0 BNB0.00028899
0x973e1526e3ce81b17a06e8ac7cb8a8e243a79a42e42b8a7a972140617e73b22457889142021-03-18 13:01:47131 days 16 hrs ago0xeba79b7d04894617bd2e0913dce27e79a19d44d0 IN  0xd7e98ca54e6202fb6237b98c881817ed3e54d2ed0 BNB0.00028899
0x3ae5a17fc3b43f1154eb9e1a1820231a5d7e196d9613a1ece94aaf1ea7fb38b357618352021-03-17 14:25:56132 days 15 hrs ago0x8691a5b82cd46011f456ae4897351b2b97d99dfa IN  0xd7e98ca54e6202fb6237b98c881817ed3e54d2ed0 BNB0.00029799
0xbbed4dc8e1a73c3a914dbeaabfb371a90639b12c1761206dd019af20bf60cec357444342021-03-16 23:55:46133 days 5 hrs ago0xedd75080bff56a35b6de7f9f4dfacb13b5bfc198 IN  0xd7e98ca54e6202fb6237b98c881817ed3e54d2ed0 BNB0.00170171
0x96d1a5ac0768197adb686eef6ad21043ffb99083abfa21b8dd50cb785400e3e857435172021-03-16 23:09:55133 days 6 hrs ago0x17317bd69b803c870c1279234aae9091e836bfd5 IN  0xd7e98ca54e6202fb6237b98c881817ed3e54d2ed0 BNB0.00170171
0x12ed5d9aaf66bfeb07d758b74c966696677080f550c1b49926a5d8b3238f134057432462021-03-16 22:56:22133 days 6 hrs ago0x1460d9ee4da3d9bb7e0d91f587b1d77f60247c52 IN  0xd7e98ca54e6202fb6237b98c881817ed3e54d2ed0 BNB0.00170171
0x3149a72738b1fedd96bf2b9e88d4c15a174c0c05caa3ac4e02454eaf657ca51a57411122021-03-16 21:09:40133 days 8 hrs ago0xe1cd9048d7ca8b1db05a43dc79e5172a9b6f2120 IN  0xd7e98ca54e6202fb6237b98c881817ed3e54d2ed0 BNB0.00170171
0x8c04545618e1b502d5fc0a6389df2f8a5e16a08a8c91f50b9ae81b65e3f09c5f57387672021-03-16 19:12:25133 days 10 hrs ago0xfa8b6bfe90cfc74efd14def9fdab1b4fa3955166 IN  0xd7e98ca54e6202fb6237b98c881817ed3e54d2ed0 BNB0.00170171
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
IFO

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license

Contract Source Code (Solidity)

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

// File: @pancakeswap/pancake-swap-lib/contracts/math/SafeMath.sol

// SPDX-License-Identifier: MIT

pragma solidity >=0.4.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, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, 'SafeMath: addition overflow');

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

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

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

// File: @pancakeswap/pancake-swap-lib/contracts/token/BEP20/IBEP20.sol

// GPL-3.0-or-later

pragma solidity >=0.4.0;

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

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

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

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

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

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

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

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

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

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

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

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

// File: @pancakeswap/pancake-swap-lib/contracts/utils/Address.sol

// MIT

pragma solidity ^0.6.2;

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

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

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

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

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

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

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

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

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

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

// File: @pancakeswap/pancake-swap-lib/contracts/token/BEP20/SafeBEP20.sol

// MIT

pragma solidity ^0.6.0;




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

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

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

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

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

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

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

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

// File: @pancakeswap/pancake-swap-lib/contracts/utils/ReentrancyGuard.sol

// MIT

pragma solidity ^0.6.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

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

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

// File: contracts/IFO.sol

pragma solidity 0.6.12;





contract IFO is ReentrancyGuard {
  using SafeMath for uint256;
  using SafeBEP20 for IBEP20;

  // Info of each user.
  struct UserInfo {
      uint256 amount;   // How many tokens the user has provided.
      bool claimed;  // default false
  }

  // admin address
  address public adminAddress;
  // The raising token
  IBEP20 public lpToken;
  // The offering token
  IBEP20 public offeringToken;
  // The block number when IFO starts
  uint256 public startBlock;
  // The block number when IFO ends
  uint256 public endBlock;
  // total amount of raising tokens need to be raised
  uint256 public raisingAmount;
  // total amount of offeringToken that will offer
  uint256 public offeringAmount;
  // total amount of raising tokens that have already raised
  uint256 public totalAmount;
  // address => amount
  mapping (address => UserInfo) public userInfo;
  // participators
  address[] public addressList;


  event Deposit(address indexed user, uint256 amount);
  event Harvest(address indexed user, uint256 offeringAmount, uint256 excessAmount);

  constructor(
      IBEP20 _lpToken,
      IBEP20 _offeringToken,
      uint256 _startBlock,
      uint256 _endBlock,
      uint256 _offeringAmount,
      uint256 _raisingAmount,
      address _adminAddress
  ) public {
      lpToken = _lpToken;
      offeringToken = _offeringToken;
      startBlock = _startBlock;
      endBlock = _endBlock;
      offeringAmount = _offeringAmount;
      raisingAmount= _raisingAmount;
      totalAmount = 0;
      adminAddress = _adminAddress;
  }

  modifier onlyAdmin() {
    require(msg.sender == adminAddress, "admin: wut?");
    _;
  }

  function setOfferingAmount(uint256 _offerAmount) public onlyAdmin {
    require (block.number < startBlock, 'no');
    offeringAmount = _offerAmount;
  }

  function setRaisingAmount(uint256 _raisingAmount) public onlyAdmin {
    require (block.number < startBlock, 'no');
    raisingAmount= _raisingAmount;
  }

  function deposit(uint256 _amount) public {
    require (block.number > startBlock && block.number < endBlock, 'not ifo time');
    require (_amount > 0, 'need _amount > 0');
    lpToken.safeTransferFrom(address(msg.sender), address(this), _amount);
    if (userInfo[msg.sender].amount == 0) {
      addressList.push(address(msg.sender));
    }
    userInfo[msg.sender].amount = userInfo[msg.sender].amount.add(_amount);
    totalAmount = totalAmount.add(_amount);
    emit Deposit(msg.sender, _amount);
  }

  function harvest() public nonReentrant {
    require (block.number > endBlock, 'not harvest time');
    require (userInfo[msg.sender].amount > 0, 'have you participated?');
    require (!userInfo[msg.sender].claimed, 'nothing to harvest');
    uint256 offeringTokenAmount = getOfferingAmount(msg.sender);
    uint256 refundingTokenAmount = getRefundingAmount(msg.sender);
    offeringToken.safeTransfer(address(msg.sender), offeringTokenAmount);
    if (refundingTokenAmount > 0) {
      lpToken.safeTransfer(address(msg.sender), refundingTokenAmount);
    }
    userInfo[msg.sender].claimed = true;
    emit Harvest(msg.sender, offeringTokenAmount, refundingTokenAmount);
  }

  function hasHarvest(address _user) external view returns(bool) {
      return userInfo[_user].claimed;
  }

  // allocation 100000 means 0.1(10%), 1 meanss 0.000001(0.0001%), 1000000 means 1(100%)
  function getUserAllocation(address _user) public view returns(uint256) {
    return userInfo[_user].amount.mul(1e12).div(totalAmount).div(1e6);
  }

  // get the amount of IFO token you will get
  function getOfferingAmount(address _user) public view returns(uint256) {
    if (totalAmount > raisingAmount) {
      uint256 allocation = getUserAllocation(_user);
      return offeringAmount.mul(allocation).div(1e6);
    }
    else {
      // userInfo[_user] / (raisingAmount / offeringAmount)
      return userInfo[_user].amount.mul(offeringAmount).div(raisingAmount);
    }
  }

  // get the amount of lp token you will be refunded
  function getRefundingAmount(address _user) public view returns(uint256) {
    if (totalAmount <= raisingAmount) {
      return 0;
    }
    uint256 allocation = getUserAllocation(_user);
    uint256 payAmount = raisingAmount.mul(allocation).div(1e6);
    return userInfo[_user].amount.sub(payAmount);
  }

  function getAddressListLength() external view returns(uint256) {
    return addressList.length;
  }

  function finalWithdraw(uint256 _lpAmount, uint256 _offerAmount) public onlyAdmin {
    require (_lpAmount < lpToken.balanceOf(address(this)), 'not enough token 0');
    require (_offerAmount < offeringToken.balanceOf(address(this)), 'not enough token 1');
    lpToken.safeTransfer(address(msg.sender), _lpAmount);
    offeringToken.safeTransfer(address(msg.sender), _offerAmount);
  }
}

Contract ABI

[{"inputs":[{"internalType":"contract IBEP20","name":"_lpToken","type":"address"},{"internalType":"contract IBEP20","name":"_offeringToken","type":"address"},{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_endBlock","type":"uint256"},{"internalType":"uint256","name":"_offeringAmount","type":"uint256"},{"internalType":"uint256","name":"_raisingAmount","type":"uint256"},{"internalType":"address","name":"_adminAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"offeringAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"excessAmount","type":"uint256"}],"name":"Harvest","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"addressList","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"adminAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_lpAmount","type":"uint256"},{"internalType":"uint256","name":"_offerAmount","type":"uint256"}],"name":"finalWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAddressListLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"getOfferingAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"getRefundingAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"getUserAllocation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"hasHarvest","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpToken","outputs":[{"internalType":"contract IBEP20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"offeringAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"offeringToken","outputs":[{"internalType":"contract IBEP20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"raisingAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_offerAmount","type":"uint256"}],"name":"setOfferingAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_raisingAmount","type":"uint256"}],"name":"setRaisingAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bool","name":"claimed","type":"bool"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b50604051611257380380611257833981810160405260e081101561003357600080fd5b508051602082015160408301516060840151608085015160a086015160c09096015160016000818155600280546001600160a01b03998a166001600160a01b03199182161790915560038054988a16988216989098179097556004959095556005939093556007919091556006959095556008919091558054929093169116179055611193806100c46000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c806387e97bc6116100ad578063b810fb4311610071578063b810fb43146102d8578063b920ade2146102f5578063e1af9a951461031b578063fc00358e14610323578063fc6f94681461032b5761012c565b806387e97bc6146102625780639c0a7669146102885780639f1b524814610290578063b6b55f25146102b3578063b7813607146102d05761012c565b80634225c32f116100f45780634225c32f146101d75780634641257d146101f457806348cd4cb1146101fc5780635fcbd2851461020457806364ce9fff146102285761012c565b8063083c6323146101315780631959a0021461014b5780631a39d8ef1461018a57806327d1b1a2146101925780632f5105f8146101b1575b600080fd5b610139610333565b60408051918252519081900360200190f35b6101716004803603602081101561016157600080fd5b50356001600160a01b0316610339565b6040805192835290151560208301528051918290030190f35b610139610355565b6101af600480360360208110156101a857600080fd5b503561035b565b005b610139600480360360208110156101c757600080fd5b50356001600160a01b03166103e8565b6101af600480360360208110156101ed57600080fd5b503561045e565b6101af6104eb565b6101396106fb565b61020c610701565b604080516001600160a01b039092168252519081900360200190f35b61024e6004803603602081101561023e57600080fd5b50356001600160a01b0316610710565b604080519115158252519081900360200190f35b6101396004803603602081101561027857600080fd5b50356001600160a01b0316610731565b6101396107a5565b6101af600480360360408110156102a657600080fd5b50803590602001356107ab565b6101af600480360360208110156102c957600080fd5b50356109a8565b61020c610b24565b61020c600480360360208110156102ee57600080fd5b5035610b33565b6101396004803603602081101561030b57600080fd5b50356001600160a01b0316610b5a565b610139610b98565b610139610b9e565b61020c610ba4565b60055481565b6009602052600090815260409020805460019091015460ff1682565b60085481565b6001546001600160a01b031633146103a8576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b60045443106103e3576040805162461bcd60e51b81526020600482015260026024820152616e6f60f01b604482015290519081900360640190fd5b600755565b6000600654600854116103fd57506000610459565b600061040883610b5a565b9050600061042e620f424061042884600654610bb390919063ffffffff16565b90610c13565b6001600160a01b0385166000908152600960205260409020549091506104549082610c55565b925050505b919050565b6001546001600160a01b031633146104ab576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b60045443106104e6576040805162461bcd60e51b81526020600482015260026024820152616e6f60f01b604482015290519081900360640190fd5b600655565b60026000541415610543576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026000556005544311610591576040805162461bcd60e51b815260206004820152601060248201526f6e6f7420686172766573742074696d6560801b604482015290519081900360640190fd5b336000908152600960205260409020546105eb576040805162461bcd60e51b81526020600482015260166024820152756861766520796f75207061727469636970617465643f60501b604482015290519081900360640190fd5b3360009081526009602052604090206001015460ff1615610648576040805162461bcd60e51b81526020600482015260126024820152711b9bdd1a1a5b99c81d1bc81a185c9d995cdd60721b604482015290519081900360640190fd5b600061065333610731565b90506000610660336103e8565b60035490915061067a906001600160a01b03163384610c97565b801561069757600254610697906001600160a01b03163383610c97565b336000818152600960209081526040918290206001908101805460ff19169091179055815185815290810184905281517f71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae0660924954929181900390910190a250506001600055565b60045481565b6002546001600160a01b031681565b6001600160a01b031660009081526009602052604090206001015460ff1690565b6000600654600854111561077057600061074a83610b5a565b9050610768620f424061042883600754610bb390919063ffffffff16565b915050610459565b6006546007546001600160a01b03841660009081526009602052604090205461079e92916104289190610bb3565b9050610459565b60065481565b6001546001600160a01b031633146107f8576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b600254604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561084357600080fd5b505afa158015610857573d6000803e3d6000fd5b505050506040513d602081101561086d57600080fd5b505182106108b7576040805162461bcd60e51b815260206004820152601260248201527106e6f7420656e6f75676820746f6b656e20360741b604482015290519081900360640190fd5b600354604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561090257600080fd5b505afa158015610916573d6000803e3d6000fd5b505050506040513d602081101561092c57600080fd5b50518110610976576040805162461bcd60e51b81526020600482015260126024820152716e6f7420656e6f75676820746f6b656e203160701b604482015290519081900360640190fd5b60025461098d906001600160a01b03163384610c97565b6003546109a4906001600160a01b03163383610c97565b5050565b600454431180156109ba575060055443105b6109fa576040805162461bcd60e51b815260206004820152600c60248201526b6e6f742069666f2074696d6560a01b604482015290519081900360640190fd5b60008111610a42576040805162461bcd60e51b815260206004820152601060248201526f06e656564205f616d6f756e74203e20360841b604482015290519081900360640190fd5b600254610a5a906001600160a01b0316333084610cee565b33600090815260096020526040902054610ab157600a80546001810182556000919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80180546001600160a01b031916331790555b33600090815260096020526040902054610acb9082610d4e565b33600090815260096020526040902055600854610ae89082610d4e565b60085560408051828152905133917fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c919081900360200190a250565b6003546001600160a01b031681565b600a8181548110610b4057fe5b6000918252602090912001546001600160a01b0316905081565b6008546001600160a01b0382166000908152600960205260408120549091610b9291620f42409161042891829064e8d4a51000610bb3565b92915050565b60075481565b600a5490565b6001546001600160a01b031681565b600082610bc257506000610b92565b82820282848281610bcf57fe5b0414610c0c5760405162461bcd60e51b815260040180806020018281038252602181526020018061113d6021913960400191505060405180910390fd5b9392505050565b6000610c0c83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610da8565b6000610c0c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610e4a565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610ce9908490610ea4565b505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610d48908590610ea4565b50505050565b600082820183811015610c0c576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60008183610e345760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610df9578181015183820152602001610de1565b50505050905090810190601f168015610e265780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581610e4057fe5b0495945050505050565b60008184841115610e9c5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610df9578181015183820152602001610de1565b505050900390565b6060610ef9826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610f559092919063ffffffff16565b805190915015610ce957808060200190516020811015610f1857600080fd5b5051610ce95760405162461bcd60e51b815260040180806020018281038252602a815260200180611113602a913960400191505060405180910390fd5b6060610f648484600085610f6c565b949350505050565b6060610f77856110d9565b610fc8576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106110075780518252601f199092019160209182019101610fe8565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611069576040519150601f19603f3d011682016040523d82523d6000602084013e61106e565b606091505b50915091508115611082579150610f649050565b8051156110925780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315610df9578181015183820152602001610de1565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061045457505015159291505056fe5361666542455032303a204245503230206f7065726174696f6e20646964206e6f742073756363656564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a26469706673582212209cce3c8360e0febd065ec16579f28b26e8ce544572fdcaac65a545a36237888164736f6c634300060c0033000000000000000000000000f65c1c0478efde3c19b49ecbe7acc57bb6b1d71300000000000000000000000005b339b0a346bf01f851dde47a5d485c34fe220c000000000000000000000000000000000000000000000000000000000057450e00000000000000000000000000000000000000000000000000000000005749be0000000000000000000000000000000000000000000000000000b5e620f4800000000000000000000000000000000000000000000000021e19e0c9bab24000000000000000000000000000006c905b4108a87499ced1e0498721f2b831c6ab13

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

000000000000000000000000f65c1c0478efde3c19b49ecbe7acc57bb6b1d71300000000000000000000000005b339b0a346bf01f851dde47a5d485c34fe220c000000000000000000000000000000000000000000000000000000000057450e00000000000000000000000000000000000000000000000000000000005749be0000000000000000000000000000000000000000000000000000b5e620f4800000000000000000000000000000000000000000000000021e19e0c9bab24000000000000000000000000000006c905b4108a87499ced1e0498721f2b831c6ab13

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 000000000000000000000000f65c1c0478efde3c19b49ecbe7acc57bb6b1d713
Arg [1] : 00000000000000000000000005b339b0a346bf01f851dde47a5d485c34fe220c
Arg [2] : 000000000000000000000000000000000000000000000000000000000057450e
Arg [3] : 00000000000000000000000000000000000000000000000000000000005749be
Arg [4] : 0000000000000000000000000000000000000000000000000000b5e620f48000
Arg [5] : 00000000000000000000000000000000000000000000021e19e0c9bab2400000
Arg [6] : 0000000000000000000000006c905b4108a87499ced1e0498721f2b831c6ab13


Deployed ByteCode Sourcemap

22566:4911:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23091:23;;;:::i;:::-;;;;;;;;;;;;;;;;23410:45;;;;;;;;;;;;;;;;-1:-1:-1;23410:45:0;-1:-1:-1;;;;;23410:45:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;23355:26;;;:::i;24264:156::-;;;;;;;;;;;;;;;;-1:-1:-1;24264:156:0;;:::i;:::-;;26661:311;;;;;;;;;;;;;;;;-1:-1:-1;26661:311:0;-1:-1:-1;;;;;26661:311:0;;:::i;24426:157::-;;;;;;;;;;;;;;;;-1:-1:-1;24426:157:0;;:::i;25111:688::-;;;:::i;23024:25::-;;;:::i;22902:21::-;;;:::i;:::-;;;;-1:-1:-1;;;;;22902:21:0;;;;;;;;;;;;;;25805:108;;;;;;;;;;;;;;;;-1:-1:-1;25805:108:0;-1:-1:-1;;;;;25805:108:0;;:::i;:::-;;;;;;;;;;;;;;;;;;26211:390;;;;;;;;;;;;;;;;-1:-1:-1;26211:390:0;-1:-1:-1;;;;;26211:390:0;;:::i;23174:28::-;;;:::i;27085:389::-;;;;;;;;;;;;;;;;-1:-1:-1;27085:389:0;;;;;;;:::i;24589:516::-;;;;;;;;;;;;;;;;-1:-1:-1;24589:516:0;;:::i;22953:27::-;;;:::i;23480:28::-;;;;;;;;;;;;;;;;-1:-1:-1;23480:28:0;;:::i;26009:149::-;;;;;;;;;;;;;;;;-1:-1:-1;26009:149:0;-1:-1:-1;;;;;26009:149:0;;:::i;23259:29::-;;;:::i;26978:101::-;;;:::i;22846:27::-;;;:::i;23091:23::-;;;;:::o;23410:45::-;;;;;;;;;;;;;;;;;;;;;:::o;23355:26::-;;;;:::o;24264:156::-;24216:12;;-1:-1:-1;;;;;24216:12:0;24202:10;:26;24194:50;;;;;-1:-1:-1;;;24194:50:0;;;;;;;;;;;;-1:-1:-1;;;24194:50:0;;;;;;;;;;;;;;;24361:10:::1;;24346:12;:25;24337:41;;;::::0;;-1:-1:-1;;;24337:41:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;24337:41:0;;;;;;;;;;;;;::::1;;24385:14;:29:::0;24264:156::o;26661:311::-;26724:7;26759:13;;26744:11;;:28;26740:59;;-1:-1:-1;26790:1:0;26783:8;;26740:59;26805:18;26826:24;26844:5;26826:17;:24::i;:::-;26805:45;;26857:17;26877:38;26911:3;26877:29;26895:10;26877:13;;:17;;:29;;;;:::i;:::-;:33;;:38::i;:::-;-1:-1:-1;;;;;26929:15:0;;;;;;:8;:15;;;;;:22;26857:58;;-1:-1:-1;26929:37:0;;26857:58;26929:26;:37::i;:::-;26922:44;;;;26661:311;;;;:::o;24426:157::-;24216:12;;-1:-1:-1;;;;;24216:12:0;24202:10;:26;24194:50;;;;;-1:-1:-1;;;24194:50:0;;;;;;;;;;;;-1:-1:-1;;;24194:50:0;;;;;;;;;;;;;;;24524:10:::1;;24509:12;:25;24500:41;;;::::0;;-1:-1:-1;;;24500:41:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;24500:41:0;;;;;;;;;;;;;::::1;;24548:13;:29:::0;24426:157::o;25111:688::-;21546:1;22152:7;;:19;;22144:63;;;;;-1:-1:-1;;;22144:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;21546:1;22285:7;:18;25181:8:::1;::::0;25166:12:::1;:23;25157:53;;;::::0;;-1:-1:-1;;;25157:53:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;25157:53:0;;;;;;;;;;;;;::::1;;25235:10;25256:1;25226:20:::0;;;:8:::1;:20;::::0;;;;:27;25217:67:::1;;;::::0;;-1:-1:-1;;;25217:67:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;25217:67:0;;;;;;;;;;;;;::::1;;25310:10;25301:20;::::0;;;:8:::1;:20;::::0;;;;:28:::1;;::::0;::::1;;25300:29;25291:61;;;::::0;;-1:-1:-1;;;25291:61:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;25291:61:0;;;;;;;;;;;;;::::1;;25359:27;25389:29;25407:10;25389:17;:29::i;:::-;25359:59;;25425:28;25456:30;25475:10;25456:18;:30::i;:::-;25493:13;::::0;25425:61;;-1:-1:-1;25493:68:0::1;::::0;-1:-1:-1;;;;;25493:13:0::1;25528:10;25541:19:::0;25493:26:::1;:68::i;:::-;25572:24:::0;;25568:110:::1;;25607:7;::::0;:63:::1;::::0;-1:-1:-1;;;;;25607:7:0::1;25636:10;25649:20:::0;25607::::1;:63::i;:::-;25693:10;25684:20;::::0;;;:8:::1;:20;::::0;;;;;;;;25715:4:::1;25684:28:::0;;::::1;:35:::0;;-1:-1:-1;;25684:35:0::1;::::0;;::::1;::::0;;25731:62;;;;;;;::::1;::::0;;;;;::::1;::::0;;;;;;;;;::::1;-1:-1:-1::0;;21502:1:0;22464:7;:22;25111:688::o;23024:25::-;;;;:::o;22902:21::-;;;-1:-1:-1;;;;;22902:21:0;;:::o;25805:108::-;-1:-1:-1;;;;;25884:15:0;25862:4;25884:15;;;:8;:15;;;;;:23;;;;;;25805:108::o;26211:390::-;26273:7;26307:13;;26293:11;;:27;26289:307;;;26331:18;26352:24;26370:5;26352:17;:24::i;:::-;26331:45;;26392:39;26427:3;26392:30;26411:10;26392:14;;:18;;:30;;;;:::i;:39::-;26385:46;;;;;26289:307;26574:13;;26554:14;;-1:-1:-1;;;;;26527:15:0;;;;;;:8;:15;;;;;:22;:61;;26574:13;26527:42;;:22;:26;:42::i;:61::-;26520:68;;;;23174:28;;;;:::o;27085:389::-;24216:12;;-1:-1:-1;;;;;24216:12:0;24202:10;:26;24194:50;;;;;-1:-1:-1;;;24194:50:0;;;;;;;;;;;;-1:-1:-1;;;24194:50:0;;;;;;;;;;;;;;;27194:7:::1;::::0;:32:::1;::::0;;-1:-1:-1;;;27194:32:0;;27220:4:::1;27194:32;::::0;::::1;::::0;;;-1:-1:-1;;;;;27194:7:0;;::::1;::::0;:17:::1;::::0;:32;;;;;::::1;::::0;;;;;;;;;:7;:32;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;27194:32:0;27182:44;::::1;27173:76;;;::::0;;-1:-1:-1;;;27173:76:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;27173:76:0;;;;;;;;;;;;;::::1;;27280:13;::::0;:38:::1;::::0;;-1:-1:-1;;;27280:38:0;;27312:4:::1;27280:38;::::0;::::1;::::0;;;-1:-1:-1;;;;;27280:13:0;;::::1;::::0;:23:::1;::::0;:38;;;;;::::1;::::0;;;;;;;;;:13;:38;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;27280:38:0;27265:53;::::1;27256:85;;;::::0;;-1:-1:-1;;;27256:85:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;27256:85:0;;;;;;;;;;;;;::::1;;27348:7;::::0;:52:::1;::::0;-1:-1:-1;;;;;27348:7:0::1;27377:10;27390:9:::0;27348:20:::1;:52::i;:::-;27407:13;::::0;:61:::1;::::0;-1:-1:-1;;;;;27407:13:0::1;27442:10;27455:12:::0;27407:26:::1;:61::i;:::-;27085:389:::0;;:::o;24589:516::-;24661:10;;24646:12;:25;:52;;;;;24690:8;;24675:12;:23;24646:52;24637:78;;;;;-1:-1:-1;;;24637:78:0;;;;;;;;;;;;-1:-1:-1;;;24637:78:0;;;;;;;;;;;;;;;24741:1;24731:7;:11;24722:41;;;;;-1:-1:-1;;;24722:41:0;;;;;;;;;;;;-1:-1:-1;;;24722:41:0;;;;;;;;;;;;;;;24770:7;;:69;;-1:-1:-1;;;;;24770:7:0;24803:10;24824:4;24831:7;24770:24;:69::i;:::-;24859:10;24850:20;;;;:8;:20;;;;;:27;24846:92;;24893:11;:37;;;;;;;-1:-1:-1;24893:37:0;;;;;;;;-1:-1:-1;;;;;;24893:37:0;24918:10;24893:37;;;24846:92;24983:10;24974:20;;;;:8;:20;;;;;:27;:40;;25006:7;24974:31;:40::i;:::-;24953:10;24944:20;;;;:8;:20;;;;;:70;25035:11;;:24;;25051:7;25035:15;:24::i;:::-;25021:11;:38;25071:28;;;;;;;;25079:10;;25071:28;;;;;;;;;;24589:516;:::o;22953:27::-;;;-1:-1:-1;;;;;22953:27:0;;:::o;23480:28::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23480:28:0;;-1:-1:-1;23480:28:0;:::o;26009:149::-;26131:11;;-1:-1:-1;;;;;26094:15:0;;26071:7;26094:15;;;:8;:15;;;;;:22;26071:7;;26094:58;;26148:3;;26094:49;;;;26121:4;26094:26;:32::i;:58::-;26087:65;26009:149;-1:-1:-1;;26009:149:0:o;23259:29::-;;;;:::o;26978:101::-;27055:11;:18;26978:101;:::o;22846:27::-;;;-1:-1:-1;;;;;22846:27:0;;:::o;2361:471::-;2419:7;2664:6;2660:47;;-1:-1:-1;2694:1:0;2687:8;;2660:47;2731:5;;;2735:1;2731;:5;:1;2755:5;;;;;:10;2747:56;;;;-1:-1:-1;;;2747:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2823:1;2361:471;-1:-1:-1;;;2361:471:0:o;3308:132::-;3366:7;3393:39;3397:1;3400;3393:39;;;;;;;;;;;;;;;;;:3;:39::i;1437:136::-;1495:7;1522:43;1526:1;1529;1522:43;;;;;;;;;;;;;;;;;:3;:43::i;16473:211::-;16617:58;;;-1:-1:-1;;;;;16617:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16617:58:0;-1:-1:-1;;;16617:58:0;;;16590:86;;16610:5;;16590:19;:86::i;:::-;16473:211;;;:::o;16692:248::-;16863:68;;;-1:-1:-1;;;;;16863:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16863:68:0;-1:-1:-1;;;16863:68:0;;;16836:96;;16856:5;;16836:19;:96::i;:::-;16692:248;;;;:::o;973:181::-;1031:7;1063:5;;;1087:6;;;;1079:46;;;;;-1:-1:-1;;;1079:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;3936:312;4056:7;4091:12;4084:5;4076:28;;;;-1:-1:-1;;;4076:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4115:9;4131:1;4127;:5;;;;;;;3936:312;-1:-1:-1;;;;;3936:312:0:o;1876:226::-;1996:7;2032:12;2024:6;;;;2016:29;;;;-1:-1:-1;;;2016:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2068:5:0;;;1876:226::o;19008:774::-;19432:23;19458:69;19486:4;19458:69;;;;;;;;;;;;;;;;;19466:5;-1:-1:-1;;;;;19458:27:0;;;:69;;;;;:::i;:::-;19542:17;;19432:95;;-1:-1:-1;19542:21:0;19538:237;;19697:10;19686:30;;;;;;;;;;;;;;;-1:-1:-1;19686:30:0;19678:85;;;;-1:-1:-1;;;19678:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13278:230;13415:12;13447:53;13470:6;13478:4;13484:1;13487:12;13447:22;:53::i;:::-;13440:60;13278:230;-1:-1:-1;;;;13278:230:0:o;14766:1020::-;14939:12;14972:18;14983:6;14972:10;:18::i;:::-;14964:60;;;;;-1:-1:-1;;;14964:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15098:12;15112:23;15139:6;-1:-1:-1;;;;;15139:11:0;15158:8;15168:4;15139:34;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;15139:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15097:76;;;;15188:7;15184:595;;;15219:10;-1:-1:-1;15212:17:0;;-1:-1:-1;15212:17:0;15184:595;15333:17;;:21;15329:439;;15596:10;15590:17;15657:15;15644:10;15640:2;15636:19;15629:44;15544:148;15732:20;;-1:-1:-1;;;15732:20:0;;;;;;;;;;;;;;;;;15739:12;;15732:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10141:641;10201:4;10682:20;;10512:66;10731:23;;;;;;:42;;-1:-1:-1;;10758:15:0;;;10141:641;-1:-1:-1;;10141:641:0:o

Swarm Source

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