Contract 0x319ce6b189efd79fa8ce742183b643269e3060ac

 
 
Txn Hash
Block
From
To
Value [Txn Fee]
0x2dfba7451dd094bee198c09ac0b98d1b61820824fc0f5cf1f6531884fc8cd86a93592582021-07-21 19:33:522 days 10 hrs ago0x78e44fcb1e420c0cf72017f629a0a877baf73e5d IN  0x319ce6b189efd79fa8ce742183b643269e3060ac0 BNB0.000347455
0x2ae3f0f70694fe0ae8658b6ac8273a0e3f1bc4ac2d260705d09d162d21945bbf89086012021-07-06 3:45:5018 days 1 hr ago0xc541129edeafea5c67d2c935eea43ddd3adebb41 IN  0x319ce6b189efd79fa8ce742183b643269e3060ac0 BNB0.000422455
0x9e6a993419f2e1b674b17b108bc04601b8815c35b55e7fbd8098772e15e2fe7e89076072021-07-06 2:56:0718 days 2 hrs ago0xd1d1193ce637908e678d4bd11655e57a3847f6ff IN  0x319ce6b189efd79fa8ce742183b643269e3060ac0 BNB0.000347455
0x4dbdd6a04801df1aa9c2604d1f54ee775e2cf251eb0e9f20dea070b38eff54d188734252021-07-04 22:08:5019 days 7 hrs ago0xe3c601b1fc6564ebf5603fcad7956697761e39db IN  0x319ce6b189efd79fa8ce742183b643269e3060ac0 BNB0.000347455
0x70088b374946f8549c2751a772158a06a87d420ebea632a697279781225f2b7088355642021-07-03 14:23:0020 days 15 hrs ago0xbca619205e6130f577c2c8f498728f09370abb2a IN  0x319ce6b189efd79fa8ce742183b643269e3060ac0 BNB0.000347455
0x1bab727078e8761b8e3a09b5092d1c2df75a687f68f95d84a12f1b10be6499c784910922021-06-21 13:32:0432 days 16 hrs ago0xd1d1193ce637908e678d4bd11655e57a3847f6ff IN  0x319ce6b189efd79fa8ce742183b643269e3060ac0 BNB0.00053735
0xb729a0c3c4076c744036c978a6fbad18beab62490a82b83273a1723cb411984984907932021-06-21 13:17:0732 days 16 hrs ago0xc541129edeafea5c67d2c935eea43ddd3adebb41 IN  0x319ce6b189efd79fa8ce742183b643269e3060ac0 BNB0.00046235
0x231ded0c7722272522637ecf6ad0cecb921893d96d9ac20da31eef0c99a4a72884013042021-06-18 10:20:1835 days 19 hrs ago0xbca619205e6130f577c2c8f498728f09370abb2a IN  0x319ce6b189efd79fa8ce742183b643269e3060ac0 BNB0.00046253
0x6b56324d9ff1f423fd9f1e200e2a183b8a7587a8be7cd878e1d01f5beb4612e482443842021-06-12 22:09:2841 days 7 hrs ago0x78e44fcb1e420c0cf72017f629a0a877baf73e5d IN  0x319ce6b189efd79fa8ce742183b643269e3060ac0 BNB0.000328995
0xef2b2d5a72809cbe5b6925760491e1b9c73d42c94061bbf14442d3063fc589f381799222021-06-10 16:12:4843 days 13 hrs ago0x32e47f9474b7d8df63c3c93190a54648881541c8 IN  0x319ce6b189efd79fa8ce742183b643269e3060ac0 BNB0.00046253
0x9406728af9f2faa4b0d160322bdf65ce936cb662416f54fd5d25f41b2b34f28380992112021-06-07 20:44:5246 days 8 hrs ago0x7ce152036b4e50144b0e012248c642fad4a11a06 IN  0x319ce6b189efd79fa8ce742183b643269e3060ac0 BNB0.00053741
0x5f1deb4c3ff219509371d53228f7ae30d0955d5f11dca85c40a19e056552608479792462021-06-03 16:33:3850 days 13 hrs ago0x78e44fcb1e420c0cf72017f629a0a877baf73e5d IN  0x319ce6b189efd79fa8ce742183b643269e3060ac0 BNB0.000329055
0xaf9c590ec1d07cee41c1e3ef0773320da6d7e288a3eafe70375d440a443aac5179738262021-06-03 12:02:2850 days 17 hrs ago0x78e44fcb1e420c0cf72017f629a0a877baf73e5d IN  0x319ce6b189efd79fa8ce742183b643269e3060ac0 BNB0.00053741
0x6748863e2add4edb4c0df5065201b237f602c3371451802f21636866c6885b3179725892021-06-03 10:59:3550 days 18 hrs ago0xb0d4c9d89ba76678532d3fce46dd02e04009cdd4 IN  0x319ce6b189efd79fa8ce742183b643269e3060ac0 BNB0.00053735
0x85b33bd5d1020157ee6a13b9f260f31187a7700e9096c1166c2034f09fc402b679710302021-06-03 9:41:3850 days 19 hrs ago0xe3c601b1fc6564ebf5603fcad7956697761e39db IN  0x319ce6b189efd79fa8ce742183b643269e3060ac0 BNB0.00076241
0x2e3a9be92b402077958d2fc7786daf06881556d3fdfc302387bfca85013caa7979208692021-06-01 15:46:0252 days 13 hrs ago0xe3c601b1fc6564ebf5603fcad7956697761e39db IN  0x319ce6b189efd79fa8ce742183b643269e3060ac0 BNB0.00086726
0xfc175ee9e58f84d63b9bf2fff97691c1d8d3a5f37e60fa5600ac1f58c11e81e979207952021-06-01 15:42:2052 days 13 hrs ago0xe3c601b1fc6564ebf5603fcad7956697761e39db IN  Contract Creation0 BNB0.005991265
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
IFOByProxy

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 1 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

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

/**
 * EasyDEX IFO at dwebox.com
 * 
 * IFO fully refundable if min cap is not reached. IFO details:
 * 
 * Price per coin = $0.18/EDX
 * Min Cap: 500,000 EDX => $80,000 BUSD  
 * Max Cap: 1,000,000 EDX => $180,000  BUSD
 * 
 * Start Date: 3rd June 2021, 8:00 UTC
 * End Date:   3rd July 2021, 8:00 UTC or when MaxCap is reached 
 * 
 * Condition: if min cap is not reached by end date, provide refund. 
*/

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


pragma solidity >=0.4.24 <0.7.0;


/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 * 
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {UpgradeableProxy-constructor}.
 * 
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 */
abstract contract Initializable {

    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        require(_initializing || _isConstructor() || !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }

    /// @dev Returns true if and only if the function is running in the constructor
    function _isConstructor() private view returns (bool) {
        // extcodesize checks the size of the code stored in an address, and
        // address returns the current address. Since the code is still not
        // deployed when running a constructor, any checks on its code size will
        // yield zero, making it an effective way to detect if a contract is
        // under construction or not.
        address self = address(this);
        uint256 cs;
        // solhint-disable-next-line no-inline-assembly
        assembly { cs := extcodesize(self) }
        return cs == 0;
    }
}



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




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



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



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


pragma solidity 0.6.12;


contract IFOByProxy is ReentrancyGuard, Initializable {
  using SafeMath for uint256;
  using SafeBEP20 for IBEP20;

  // Info of each user.
  struct UserInfo {
      uint256 amount;
      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;
// max amount of raising tokens  to be raised
  uint256 public maxCap = 180000000000000000000000;    // 180k BUSD
  // 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() public {
  }

  function initialize(
      IBEP20 _lpToken,
      IBEP20 _offeringToken,
      uint256 _startBlock,
      uint256 _endBlock,
      uint256 _offeringAmount,
      uint256 _raisingAmount,
      address _adminAddress
  ) public initializer {
      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');
    // require(userInfo[msg.sender].amount.add(_amount) <= 2500000000000000000, 'maximum contribution reached');
    require(totalAmount.add(_amount) <= maxCap);
    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 to be called by admin if max cap is reached earlier 
  function modifyEndBlock(uint256 theEndBlock) public onlyAdmin {
      endBlock = theEndBlock;
  }
  

  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 = userInfo[msg.sender].amount;
    uint256 refundingTokenAmount = userInfo[msg.sender].amount;
    if(totalAmount >= raisingAmount ){
        offeringToken.safeTransfer(address(msg.sender), offeringTokenAmount.mul(5555).div(1000));
    }
    else {
        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 userInfo[msg.sender].amount.mul(5555).div(1000);
    }
    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;
  }

 // withdraw BUSD
  function finalWithdraw(uint256 amount) public onlyAdmin {
    require (block.number > endBlock, 'not withdrawal time');
    require (totalAmount >= raisingAmount, 'min cap not reached');
    lpToken.safeTransfer(address(msg.sender), amount);

  }
  
  // to be called if max cap not reached, after people withdrew their tokens 
  function withdrawTokens(uint256 amount) public onlyAdmin{
    require (block.number > endBlock, 'not withdrawal time');
    require (totalAmount >= raisingAmount, 'min cap not reached');
    offeringToken.safeTransfer(msg.sender, amount);
    
    
  }
}

Contract ABI

[{"inputs":[],"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":"amount","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":[{"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"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lpToken","outputs":[{"internalType":"contract IBEP20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"theEndBlock","type":"uint256"}],"name":"modifyEndBlock","outputs":[],"stateMutability":"nonpayable","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"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405269261dd1ce2f208880000060075534801561001e57600080fd5b5060016000556113fa806100336000396000f3fe608060405234801561001057600080fd5b50600436106101285760003560e01c8063083c63231461012d5780631959a002146101475780631a39d8ef1461018657806323548b8b1461018e57806327d1b1a2146101965780632f5105f8146101b5578063315a095d146101db5780634225c32f146101f85780634641257d1461021557806348cd4cb11461021d5780635fcbd2851461022557806364ce9fff1461024957806383a5041c1461028357806387e97bc6146102d35780639c0a7669146102f9578063b6b55f2514610301578063b78136071461031e578063b810fb4314610326578063b920ade214610343578063bbecce1314610369578063d62dd3a614610386578063e1af9a95146103a3578063fc00358e146103ab578063fc6f9468146103b3575b600080fd5b6101356103bb565b60408051918252519081900360200190f35b61016d6004803603602081101561015d57600080fd5b50356001600160a01b03166103c1565b6040805192835290151560208301528051918290030190f35b6101356103dd565b6101356103e3565b6101b3600480360360208110156101ac57600080fd5b50356103e9565b005b610135600480360360208110156101cb57600080fd5b50356001600160a01b031661047c565b6101b3600480360360208110156101f157600080fd5b50356104f2565b6101b36004803603602081101561020e57600080fd5b50356105fa565b6101b361068d565b6101356108b0565b61022d6108b6565b604080516001600160a01b039092168252519081900360200190f35b61026f6004803603602081101561025f57600080fd5b50356001600160a01b03166108c5565b604080519115158252519081900360200190f35b6101b3600480360360e081101561029957600080fd5b506001600160a01b038135811691602081013582169160408201359160608101359160808201359160a08101359160c090910135166108e6565b610135600480360360208110156102e957600080fd5b50356001600160a01b03166109f5565b610135610a5c565b6101b36004803603602081101561031757600080fd5b5035610a62565b61022d610bf9565b61022d6004803603602081101561033c57600080fd5b5035610c08565b6101356004803603602081101561035957600080fd5b50356001600160a01b0316610c2f565b6101b36004803603602081101561037f57600080fd5b5035610c6d565b6101b36004803603602081101561039c57600080fd5b5035610d72565b610135610dca565b610135610dd0565b61022d610dd6565b60055481565b600a602052600090815260409020805460019091015460ff1682565b60095481565b60075481565b6001546201000090046001600160a01b0316331461043c576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b6004544310610477576040805162461bcd60e51b81526020600482015260026024820152616e6f60f01b604482015290519081900360640190fd5b600855565b600060065460095411610491575060006104ed565b600061049c83610c2f565b905060006104c2620f42406104bc84600654610deb90919063ffffffff16565b90610e4b565b6001600160a01b0385166000908152600a60205260409020549091506104e89082610e8a565b925050505b919050565b6001546201000090046001600160a01b03163314610545576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b6005544311610591576040805162461bcd60e51b81526020600482015260136024820152726e6f74207769746864726177616c2074696d6560681b604482015290519081900360640190fd5b60065460095410156105e0576040805162461bcd60e51b81526020600482015260136024820152721b5a5b8818d85c081b9bdd081c995858da1959606a1b604482015290519081900360640190fd5b6003546105f7906001600160a01b03163383610ecc565b50565b6001546201000090046001600160a01b0316331461064d576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b6004544310610688576040805162461bcd60e51b81526020600482015260026024820152616e6f60f01b604482015290519081900360640190fd5b600655565b600260005414156106e5576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026000556005544311610733576040805162461bcd60e51b815260206004820152601060248201526f6e6f7420686172766573742074696d6560801b604482015290519081900360640190fd5b336000908152600a602052604090205461078d576040805162461bcd60e51b81526020600482015260166024820152756861766520796f75207061727469636970617465643f60501b604482015290519081900360640190fd5b336000908152600a602052604090206001015460ff16156107ea576040805162461bcd60e51b81526020600482015260126024820152711b9bdd1a1a5b99c81d1bc81a185c9d995cdd60721b604482015290519081900360640190fd5b336000908152600a6020526040902054600654600954829111610835576108303361081d6103e86104bc866115b3610deb565b6003546001600160a01b03169190610ecc565b61084c565b60025461084c906001600160a01b03163383610ecc565b336000818152600a60209081526040918290206001908101805460ff19169091179055815185815290810184905281517f71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae0660924954929181900390910190a250506001600055565b60045481565b6002546001600160a01b031681565b6001600160a01b03166000908152600a602052604090206001015460ff1690565b600154610100900460ff16806108ff57506108ff610f23565b8061090d575060015460ff16155b6109485760405162461bcd60e51b815260040180806020018281038252602e815260200180611376602e913960400191505060405180910390fd5b600154610100900460ff16158015610972576001805460ff1961ff00199091166101001716811790555b600280546001600160a01b03808b166001600160a01b031992831617909255600380548a841692169190911790556004879055600586905560088590556006849055600060095560018054918416620100000262010000600160b01b031990921691909117905580156109eb576001805461ff00191690555b5050505050505050565b60006006546009541115610a2e57336000908152600a6020526040902054610a27906103e8906104bc906115b3610deb565b90506104ed565b6006546008546001600160a01b0384166000908152600a6020526040902054610a2792916104bc9190610deb565b60065481565b60045443118015610a74575060055443105b610ab4576040805162461bcd60e51b815260206004820152600c60248201526b6e6f742069666f2074696d6560a01b604482015290519081900360640190fd5b60008111610afc576040805162461bcd60e51b815260206004820152601060248201526f06e656564205f616d6f756e74203e20360841b604482015290519081900360640190fd5b600754600954610b0c9083610f29565b1115610b1757600080fd5b600254610b2f906001600160a01b0316333084610f81565b336000908152600a6020526040902054610b8657600b80546001810182556000919091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90180546001600160a01b031916331790555b336000908152600a6020526040902054610ba09082610f29565b336000908152600a6020526040902055600954610bbd9082610f29565b60095560408051828152905133917fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c919081900360200190a250565b6003546001600160a01b031681565b600b8181548110610c1557fe5b6000918252602090912001546001600160a01b0316905081565b6009546001600160a01b0382166000908152600a60205260408120549091610c6791620f4240916104bc91829064e8d4a51000610deb565b92915050565b6001546201000090046001600160a01b03163314610cc0576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b6005544311610d0c576040805162461bcd60e51b81526020600482015260136024820152726e6f74207769746864726177616c2074696d6560681b604482015290519081900360640190fd5b6006546009541015610d5b576040805162461bcd60e51b81526020600482015260136024820152721b5a5b8818d85c081b9bdd081c995858da1959606a1b604482015290519081900360640190fd5b6002546105f7906001600160a01b03163383610ecc565b6001546201000090046001600160a01b03163314610dc5576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b600555565b60085481565b600b5490565b6001546201000090046001600160a01b031681565b600082610dfa57506000610c67565b82820282848281610e0757fe5b0414610e445760405162461bcd60e51b81526004018080602001828103825260218152602001806113a46021913960400191505060405180910390fd5b9392505050565b6000610e4483836040518060400160405280601a815260200179536166654d6174683a206469766973696f6e206279207a65726f60301b815250610fe1565b6000610e4483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611083565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610f1e9084906110dd565b505050565b303b1590565b600082820183811015610e44576040805162461bcd60e51b815260206004820152601b60248201527a536166654d6174683a206164646974696f6e206f766572666c6f7760281b604482015290519081900360640190fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610fdb9085906110dd565b50505050565b6000818361106d5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561103257818101518382015260200161101a565b50505050905090810190601f16801561105f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161107957fe5b0495945050505050565b600081848411156110d55760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561103257818101518382015260200161101a565b505050900390565b6060611132826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661118e9092919063ffffffff16565b805190915015610f1e5780806020019051602081101561115157600080fd5b5051610f1e5760405162461bcd60e51b815260040180806020018281038252602a81526020018061134c602a913960400191505060405180910390fd5b606061119d84846000856111a5565b949350505050565b60606111b085611312565b611201576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106112405780518252601f199092019160209182019101611221565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146112a2576040519150601f19603f3d011682016040523d82523d6000602084013e6112a7565b606091505b509150915081156112bb57915061119d9050565b8051156112cb5780518082602001fd5b60405162461bcd60e51b815260206004820181815286516024840152865187939192839260440191908501908083836000831561103257818101518382015260200161101a565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906104e857505015159291505056fe5361666542455032303a204245503230206f7065726174696f6e20646964206e6f742073756363656564496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a6564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a2646970667358221220142732c18a92f4404fecb7adaaf946e956a6435c72ee4b10c62022cf7dd0d54c64736f6c634300060c0033

Deployed ByteCode Sourcemap

25038:5688:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25541:23;;;:::i;:::-;;;;;;;;;;;;;;;;25976:45;;;;;;;;;;;;;;;;-1:-1:-1;25976:45:0;-1:-1:-1;;;;;25976:45:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;25921:26;;;:::i;25704:48::-;;;:::i;26885:156::-;;;;;;;;;;;;;;;;-1:-1:-1;26885:156:0;;:::i;:::-;;29684:311;;;;;;;;;;;;;;;;-1:-1:-1;29684:311:0;-1:-1:-1;;;;;29684:311:0;;:::i;30465:258::-;;;;;;;;;;;;;;;;-1:-1:-1;30465:258:0;;:::i;27047:158::-;;;;;;;;;;;;;;;;-1:-1:-1;27047:158:0;;:::i;28080:731::-;;;:::i;25474:25::-;;;:::i;25352:21::-;;;:::i;:::-;;;;-1:-1:-1;;;;;25352:21:0;;;;;;;;;;;;;;28817:108;;;;;;;;;;;;;;;;-1:-1:-1;28817:108:0;-1:-1:-1;;;;;28817:108:0;;:::i;:::-;;;;;;;;;;;;;;;;;;26262:519;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;26262:519:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;29223:401::-;;;;;;;;;;;;;;;;-1:-1:-1;29223:401:0;-1:-1:-1;;;;;29223:401:0;;:::i;25624:28::-;;;:::i;27211:680::-;;;;;;;;;;;;;;;;-1:-1:-1;27211:680:0;;:::i;25403:27::-;;;:::i;26046:28::-;;;;;;;;;;;;;;;;-1:-1:-1;26046:28:0;;:::i;29021:149::-;;;;;;;;;;;;;;;;-1:-1:-1;29021:149:0;-1:-1:-1;;;;;29021:149:0;;:::i;30127:251::-;;;;;;;;;;;;;;;;-1:-1:-1;30127:251:0;;:::i;27971:99::-;;;;;;;;;;;;;;;;-1:-1:-1;27971:99:0;;:::i;25825:29::-;;;:::i;30001:101::-;;;:::i;25296:27::-;;;:::i;25541:23::-;;;;:::o;25976:45::-;;;;;;;;;;;;;;;;;;;;;:::o;25921:26::-;;;;:::o;25704:48::-;;;;:::o;26885:156::-;26837:12;;;;;-1:-1:-1;;;;;26837:12:0;26823:10;:26;26815:50;;;;;-1:-1:-1;;;26815:50:0;;;;;;;;;;;;-1:-1:-1;;;26815:50:0;;;;;;;;;;;;;;;26982:10:::1;;26967:12;:25;26958:41;;;::::0;;-1:-1:-1;;;26958:41:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;26958:41:0;;;;;;;;;;;;;::::1;;27006:14;:29:::0;26885:156::o;29684:311::-;29747:7;29782:13;;29767:11;;:28;29763:59;;-1:-1:-1;29813:1:0;29806:8;;29763:59;29828:18;29849:24;29867:5;29849:17;:24::i;:::-;29828:45;;29880:17;29900:38;29934:3;29900:29;29918:10;29900:13;;:17;;:29;;;;:::i;:::-;:33;;:38::i;:::-;-1:-1:-1;;;;;29952:15:0;;;;;;:8;:15;;;;;:22;29880:58;;-1:-1:-1;29952:37:0;;29880:58;29952:26;:37::i;:::-;29945:44;;;;29684:311;;;;:::o;30465:258::-;26837:12;;;;;-1:-1:-1;;;;;26837:12:0;26823:10;:26;26815:50;;;;;-1:-1:-1;;;26815:50:0;;;;;;;;;;;;-1:-1:-1;;;26815:50:0;;;;;;;;;;;;;;;30552:8:::1;;30537:12;:23;30528:56;;;::::0;;-1:-1:-1;;;30528:56:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;30528:56:0;;;;;;;;;;;;;::::1;;30615:13;;30600:11;;:28;;30591:61;;;::::0;;-1:-1:-1;;;30591:61:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;30591:61:0;;;;;;;;;;;;;::::1;;30659:13;::::0;:46:::1;::::0;-1:-1:-1;;;;;30659:13:0::1;30686:10;30698:6:::0;30659:26:::1;:46::i;:::-;30465:258:::0;:::o;27047:158::-;26837:12;;;;;-1:-1:-1;;;;;26837:12:0;26823:10;:26;26815:50;;;;;-1:-1:-1;;;26815:50:0;;;;;;;;;;;;-1:-1:-1;;;26815:50:0;;;;;;;;;;;;;;;27145:10:::1;;27130:12;:25;27121:41;;;::::0;;-1:-1:-1;;;27121:41:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;27121:41:0;;;;;;;;;;;;;::::1;;27169:13;:30:::0;27047:158::o;28080:731::-;24052:1;24658:7;;:19;;24650:63;;;;;-1:-1:-1;;;24650:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;24052:1;24791:7;:18;28150:8:::1;::::0;28135:12:::1;:23;28126:53;;;::::0;;-1:-1:-1;;;28126:53:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;28126:53:0;;;;;;;;;;;;;::::1;;28204:10;28225:1;28195:20:::0;;;:8:::1;:20;::::0;;;;:27;28186:67:::1;;;::::0;;-1:-1:-1;;;28186:67:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;28186:67:0;;;;;;;;;;;;;::::1;;28279:10;28270:20;::::0;;;:8:::1;:20;::::0;;;;:28:::1;;::::0;::::1;;28269:29;28260:61;;;::::0;;-1:-1:-1;;;28260:61:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;28260:61:0;;;;;;;;;;;;;::::1;;28367:10;28328:27;28358:20:::0;;;:8:::1;:20;::::0;;;;:27;28475:13:::1;::::0;28460:11:::1;::::0;28358:27;;-1:-1:-1;28457:233:0::1;;28501:88;28536:10;28549:39;28583:4;28549:29;:19:::0;28573:4:::1;28549:23;:29::i;:39::-;28501:13;::::0;-1:-1:-1;;;;;28501:13:0::1;::::0;:88;:26:::1;:88::i;:::-;28457:233;;;28619:7;::::0;:63:::1;::::0;-1:-1:-1;;;;;28619:7:0::1;28648:10;28661:20:::0;28619::::1;:63::i;:::-;28705:10;28696:20;::::0;;;:8:::1;:20;::::0;;;;;;;;28727:4:::1;28696:28:::0;;::::1;:35:::0;;-1:-1:-1;;28696:35:0::1;::::0;;::::1;::::0;;28743:62;;;;;;;::::1;::::0;;;;;::::1;::::0;;;;;;;;;::::1;-1:-1:-1::0;;24008:1:0;24970:7;:22;28080:731::o;25474:25::-;;;;:::o;25352:21::-;;;-1:-1:-1;;;;;25352:21:0;;:::o;28817:108::-;-1:-1:-1;;;;;28896:15:0;28874:4;28896:15;;;:8;:15;;;;;:23;;;;;;28817:108::o;26262:519::-;7857:13;;;;;;;;:33;;;7874:16;:14;:16::i;:::-;7857:50;;;-1:-1:-1;7895:12:0;;;;7894:13;7857:50;7849:109;;;;-1:-1:-1;;;7849:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7994:13;;;;;;;7993:14;8018:101;;;;8069:4;8053:20;;-1:-1:-1;;;;8053:20:0;;;;;8088:19;;;;;8018:101;26516:7:::1;:18:::0;;-1:-1:-1;;;;;26516:18:0;;::::1;-1:-1:-1::0;;;;;;26516:18:0;;::::1;;::::0;;;26543:13:::1;:30:::0;;;;::::1;::::0;::::1;::::0;;;::::1;::::0;;26582:10:::1;:24:::0;;;26615:8:::1;:20:::0;;;26644:14:::1;:32:::0;;;26685:13:::1;:29:::0;;;26516:7:::1;26723:11;:15:::0;26516:18;26747:28;;;;::::1;::::0;::::1;-1:-1:-1::0;;;;;;26747:28:0;;::::1;::::0;;;::::1;::::0;;8145:68;;;;8180:13;:21;;-1:-1:-1;;8180:21:0;;;8145:68;26262:519;;;;;;;;:::o;29223:401::-;29285:7;29319:13;;29305:11;;:27;29301:318;;;29416:10;29407:20;;;;:8;:20;;;;;:27;:47;;29449:4;;29407:37;;29439:4;29407:31;:37::i;:47::-;29400:54;;;;29301:318;29597:13;;29577:14;;-1:-1:-1;;;;;29550:15:0;;;;;;:8;:15;;;;;:22;:61;;29597:13;29550:42;;:22;:26;:42::i;25624:28::-;;;;:::o;27211:680::-;27283:10;;27268:12;:25;:52;;;;;27312:8;;27297:12;:23;27268:52;27259:78;;;;;-1:-1:-1;;;27259:78:0;;;;;;;;;;;;-1:-1:-1;;;27259:78:0;;;;;;;;;;;;;;;27363:1;27353:7;:11;27344:41;;;;;-1:-1:-1;;;27344:41:0;;;;;;;;;;;;-1:-1:-1;;;27344:41:0;;;;;;;;;;;;;;;27542:6;;27514:11;;:24;;27530:7;27514:15;:24::i;:::-;:34;;27506:43;;;;;;27556:7;;:69;;-1:-1:-1;;;;;27556:7:0;27589:10;27610:4;27617:7;27556:24;:69::i;:::-;27645:10;27636:20;;;;:8;:20;;;;;:27;27632:92;;27679:11;:37;;;;;;;-1:-1:-1;27679:37:0;;;;;;;;-1:-1:-1;;;;;;27679:37:0;27704:10;27679:37;;;27632:92;27769:10;27760:20;;;;:8;:20;;;;;:27;:40;;27792:7;27760:31;:40::i;:::-;27739:10;27730:20;;;;:8;:20;;;;;:70;27821:11;;:24;;27837:7;27821:15;:24::i;:::-;27807:11;:38;27857:28;;;;;;;;27865:10;;27857:28;;;;;;;;;;27211:680;:::o;25403:27::-;;;-1:-1:-1;;;;;25403:27:0;;:::o;26046:28::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;26046:28:0;;-1:-1:-1;26046:28:0;:::o;29021:149::-;29143:11;;-1:-1:-1;;;;;29106:15:0;;29083:7;29106:15;;;:8;:15;;;;;:22;29083:7;;29106:58;;29160:3;;29106:49;;;;29133:4;29106:26;:32::i;:58::-;29099:65;29021:149;-1:-1:-1;;29021:149:0:o;30127:251::-;26837:12;;;;;-1:-1:-1;;;;;26837:12:0;26823:10;:26;26815:50;;;;;-1:-1:-1;;;26815:50:0;;;;;;;;;;;;-1:-1:-1;;;26815:50:0;;;;;;;;;;;;;;;30214:8:::1;;30199:12;:23;30190:56;;;::::0;;-1:-1:-1;;;30190:56:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;30190:56:0;;;;;;;;;;;;;::::1;;30277:13;;30262:11;;:28;;30253:61;;;::::0;;-1:-1:-1;;;30253:61:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;30253:61:0;;;;;;;;;;;;;::::1;;30321:7;::::0;:49:::1;::::0;-1:-1:-1;;;;;30321:7:0::1;30350:10;30363:6:::0;30321:20:::1;:49::i;27971:99::-:0;26837:12;;;;;-1:-1:-1;;;;;26837:12:0;26823:10;:26;26815:50;;;;;-1:-1:-1;;;26815:50:0;;;;;;;;;;;;-1:-1:-1;;;26815:50:0;;;;;;;;;;;;;;;28042:8:::1;:22:::0;27971:99::o;25825:29::-;;;;:::o;30001:101::-;30078:11;:18;30001:101;:::o;25296:27::-;;;;;;-1:-1:-1;;;;;25296:27:0;;:::o;2714:471::-;2772:7;3017:6;3013:47;;-1:-1:-1;3047:1:0;3040:8;;3013:47;3084:5;;;3088:1;3084;:5;:1;3108:5;;;;;:10;3100:56;;;;-1:-1:-1;;;3100:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3176:1;2714:471;-1:-1:-1;;;2714:471:0:o;3661:132::-;3719:7;3746:39;3750:1;3753;3746:39;;;;;;;;;;;;;-1:-1:-1;;;3746:39:0;;;:3;:39::i;1790:136::-;1848:7;1875:43;1879:1;1882;1875:43;;;;;;;;;;;;;;;;;:3;:43::i;12699:211::-;12843:58;;;-1:-1:-1;;;;;12843:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;12843:58:0;-1:-1:-1;;;12843:58:0;;;12816:86;;12836:5;;12816:19;:86::i;:::-;12699:211;;;:::o;8313:604::-;8755:4;8866:17;8902:7;8313:604;:::o;1326:181::-;1384:7;1416:5;;;1440:6;;;;1432:46;;;;;-1:-1:-1;;;1432:46:0;;;;;;;;;;;;-1:-1:-1;;;1432:46:0;;;;;;;;;;;;;;12918:248;13089:68;;;-1:-1:-1;;;;;13089:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;13089:68:0;-1:-1:-1;;;13089:68:0;;;13062:96;;13082:5;;13062:19;:96::i;:::-;12918:248;;;;:::o;4289:312::-;4409:7;4444:12;4437:5;4429:28;;;;-1:-1:-1;;;4429:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4468:9;4484:1;4480;:5;;;;;;;4289:312;-1:-1:-1;;;;;4289:312:0:o;2229:226::-;2349:7;2385:12;2377:6;;;;2369:29;;;;-1:-1:-1;;;2369:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2421:5:0;;;2229:226::o;15234:774::-;15658:23;15684:69;15712:4;15684:69;;;;;;;;;;;;;;;;;15692:5;-1:-1:-1;;;;;15684:27:0;;;:69;;;;;:::i;:::-;15768:17;;15658:95;;-1:-1:-1;15768:21:0;15764:237;;15923:10;15912:30;;;;;;;;;;;;;;;-1:-1:-1;15912:30:0;15904:85;;;;-1:-1:-1;;;15904:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19864:230;20001:12;20033:53;20056:6;20064:4;20070:1;20073:12;20033:22;:53::i;:::-;20026:60;19864:230;-1:-1:-1;;;;19864:230:0:o;21352:1020::-;21525:12;21558:18;21569:6;21558:10;:18::i;:::-;21550:60;;;;;-1:-1:-1;;;21550:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;21684:12;21698:23;21725:6;-1:-1:-1;;;;;21725:11:0;21744:8;21754:4;21725:34;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;21725:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21683:76;;;;21774:7;21770:595;;;21805:10;-1:-1:-1;21798:17:0;;-1:-1:-1;21798:17:0;21770:595;21919:17;;:21;21915:439;;22182:10;22176:17;22243:15;22230:10;22226:2;22222:19;22215:44;22130:148;22318:20;;-1:-1:-1;;;22318:20:0;;;;;;;;;;;;;;;;;22325:12;;22318:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16727:641;16787:4;17268:20;;17098:66;17317:23;;;;;;:42;;-1:-1:-1;;17344:15:0;;;16727:641;-1:-1:-1;;16727:641:0:o

Swarm Source

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